mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 07:46:31 +01:00
Improved image background overlay and tools
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
2
themes/grav/css-compiled/preset.css
vendored
2
themes/grav/css-compiled/preset.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
themes/grav/images/transparent.png
Normal file
BIN
themes/grav/images/transparent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user