first commit
This commit is contained in:
+88
@@ -0,0 +1,88 @@
|
||||
#gallery-metabox-list .attachment-preview {
|
||||
position: relative;
|
||||
padding: 4px;
|
||||
background: #f5f5f5;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .attachment-preview .thumb {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .remove-image {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
overflow: hidden;
|
||||
text-decoration: none;
|
||||
transition: all .3s ease;
|
||||
-webkit-transition: all .3s ease;
|
||||
-moz-transition: all .3s ease;
|
||||
-o-transition: all .3s ease;
|
||||
-ms-transition: all .3s ease;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .remove-image i {
|
||||
background-color: #ffffff;
|
||||
color: #fe5252;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
transition: all .3s ease;
|
||||
-webkit-transition: all .3s ease;
|
||||
-moz-transition: all .3s ease;
|
||||
-o-transition: all .3s ease;
|
||||
-ms-transition: all .3s ease;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .remove-image:hover i {
|
||||
background-color: #fe5252;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .attachment-preview:hover .remove-image {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#gallery-metabox-list:after, #oceanwp-gallery-images-wrap:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#oceanwp-gallery-images-wrap ul {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
#gallery-metabox-list > li {
|
||||
float: left;
|
||||
cursor: move;
|
||||
margin: 9px 9px 0 0;
|
||||
}
|
||||
|
||||
#gallery-metabox-list li.image img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
#gallery-metabox-list li.image .change-image {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#gallery-metabox-list .attachment-preview:before {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* RTL */
|
||||
body.rtl #gallery-metabox-list > li { float: right; margin: 9px 0 0 9px; }
|
||||
body.rtl #gallery-metabox-list .remove-image { left: 4px; right: auto; }
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
#gallery-metabox-list .attachment-preview{position:relative;padding:4px;background:#f5f5f5;-webkit-box-shadow:none;box-shadow:none}#gallery-metabox-list .attachment-preview .thumb{cursor:move}#gallery-metabox-list .remove-image{position:absolute;top:4px;right:4px;margin:0;opacity:0;visibility:hidden;overflow:hidden;text-decoration:none;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}#gallery-metabox-list .remove-image i{background-color:#fff;color:#fe5252;width:30px;height:30px;line-height:30px;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}#gallery-metabox-list .remove-image:hover i{background-color:#fe5252;color:#fff}#gallery-metabox-list .attachment-preview:hover .remove-image{opacity:1;visibility:visible}#gallery-metabox-list:after,#oceanwp-gallery-images-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}#oceanwp-gallery-images-wrap ul{margin:0!important}#gallery-metabox-list>li{float:left;cursor:move;margin:9px 9px 0 0}#gallery-metabox-list li.image img{width:150px;height:150px}#gallery-metabox-list li.image .change-image{width:100%;text-align:center;-webkit-box-shadow:none;box-shadow:none}#gallery-metabox-list .attachment-preview:before{display:none!important}body.rtl #gallery-metabox-list>li{float:right;margin:9px 0 0 9px}body.rtl #gallery-metabox-list .remove-image{left:4px;right:auto}
|
||||
Reference in New Issue
Block a user