Image upload process + right-click menu UI

This commit is contained in:
NGPixel
2016-10-03 00:12:29 -04:00
parent 90afe796ee
commit 819d4ad346
12 changed files with 501 additions and 50 deletions

View File

@@ -17,10 +17,12 @@
a {
color: #FFF !important;
border: none;
transition: background-color 0.4s ease;
&.active, &:hover {
&.active, &:hover, &:focus {
background-color: rgba(0,0,0,0.5);
border-color: #888;
outline: none;
}
}
@@ -63,6 +65,33 @@
opacity: 1;
}
}
#btn-editor-uploadimage {
position: relative;
overflow: hidden;
> label {
display: block;
opacity: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: pointer;
input[type=file] {
opacity: 0;
position: absolute;
top: -9999px;
left: -9999px;
}
}
}
.editor-modal-imagechoices {
@@ -127,6 +156,20 @@
}
&.is-contextopen {
background-color: $warning;
color: #FFF;
> img {
border-color: darken($warning, 10%);
}
> span > strong {
color: #FFF;
}
}
}
}