Improved image background overlay and tools

This commit is contained in:
Andy Miller
2019-03-01 12:40:03 -07:00
parent d3ffb5bba7
commit 8bb7114580
8 changed files with 10 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
# v1.9.0
## mm/dd/2019
1. [](#improved)
* Improved image background overlay and tools
1. [](#bugfix)
* Incorrect 2FA lang code [#1618](https://github.com/getgrav/grav-plugin-admin/issues/1618)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -1424,11 +1424,6 @@ form {
color: $critical-bg;
}
.dz-details {
background: lighten($content-bg,3%);
}
&:hover {
.dz-details {
box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.4);
@@ -1437,7 +1432,7 @@ form {
.dz-remove, .dz-unset, .dz-view, .dz-insert, .dz-metadata {
background: darken($content-bg,5%);
background: darken($content-bg,7%);
&:hover {
&:after {

View File

@@ -143,7 +143,7 @@ $preview-height: 150px;
position: absolute;
width: 25px;
height: 25px;
right: -25px;
right: -26px;
font-size: 0;
cursor: pointer;
@@ -232,7 +232,6 @@ $preview-height: 150px;
}
&:not(.file-thumbnail-remove) {
left: inherit;
border-left: 0;
}
}
@@ -270,6 +269,8 @@ $preview-height: 150px;
position: relative;
font-size: 0.8rem;
background-image: url('../images/transparent.png');
img {
position: absolute;
object-fit: contain;