webseite-grav/plugins/admin/themes/grav/css/iconpicker.css

223 lines
4.1 KiB
CSS
Raw Permalink Normal View History

2021-04-30 11:23:26 +02:00
/* Icon Picker by QueryLoop
* Author: @eliorivero
* URL: http://queryloop.com/
* License: GPLv2
*/
.icon-set {
display: none;
overflow-y: auto;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}
.icon-set ul {
list-style: none;
padding: 0;
margin: 0;
}
.icon-set li {
display: inline-block;
cursor: pointer;
padding: 8px;
margin: 0 0 5px;
width: 48px;
height: 48px;
font-size: 24px;
text-align: center;
}
.icon-set li:hover:before, .icon-set .icon-selected:before {
font-size: 32px;
position: relative;
top: 5px;
line-height: 1px;
width: 32px;
display: inline-block;
}
.icon-set.large li {
width: 32px;
height: 32px;
font-size: 32px;
}
.icon-set.large li:hover:before, .icon-set.large .icon-selected:before {
font-size: 48px;
width: 48px;
line-height: 24px;
}
.icon-highlight {
background: #00a6cf;
color: #fff;
}
.dialog {
display: block;
margin: 20px 0 0;
position: fixed;
right: 30%;
bottom: 30%;
width: 40%;
height: 40%;
max-height: 315px;
z-index: 19998;
visibility:hidden;
opacity: 0;
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.25);
box-shadow: 0 2px 4px rgba(0,0,0,0.25);
-webkit-transform: scale(0.7) translateZ(0);
-ms-transform: scale(0.7) translateZ(0);
transform: scale(0.7) translateZ(0);
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.dialog-open {
padding: 10px;
visibility:visible;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
opacity: 1;
}
.icon-set-wrap {
position: relative;
}
.ip-inline {
display: block;
width: 276px;
height: 0;
opacity: 0;
visibility:hidden;
-webkit-transform: scaleX(0.5) rotateX(90deg);
-ms-transform: scaleX(0.5) rotateX(90deg);
transform: scaleX(0.5) rotateX(90deg);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transform-origin: 50% 0;
transform-origin: 50% 0;
-webkit-transition: transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
.ip-inline-open {
padding: 10px;
border: 1px solid #eee;
height: auto;
visibility:visible;
-webkit-transform: scaleX(1) rotateY(0deg);
-ms-transform: scaleX(1) rotateY(0deg);
transform: scaleX(1) rotateY(0deg);
opacity: 1;
}
.dialog, .icon-picker-close {
top: 30%;
left: 30%;
}
.icon-picker-close {
opacity: 0;
visibility: hidden;
display: block;
width: 20px;
height: 20px;
color: #fff;
background: #333;
font-size: 19px;
margin: 30px 0 0 20px;
position: fixed;
z-index: 19999;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.icon-picker-close:after {
content: "\00D7";
width: 20px;
display: block;
position: absolute;
text-align: center;
}
.icon-picker-overlay {
opacity: 0;
visibility: hidden;
background: #222;
background: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 19997;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.icon-picker-close.make-visible {
margin: 10px 0 0 -10px;
}
.ip-inline .icon-picker-close {
position: absolute;
z-index: 8;
top: 0;
right: 0;
left: auto;
opacity: 1;
visibility: visible;
margin: 0;
}
.make-visible {
visibility: visible;
opacity: 1;
}
.icon-selected {
background: #349886;
color: #fff;
}
.icon-preview {
display: none;
margin: 10px 0;
position: relative;
}
.icon-preview-on {
display: inline-block;
}
.icon-preview i {
width: 48px;
height: 48px;
text-align: center;
border: 1px solid #d5d5d5;
border-radius: 3px;
background: #fff;
}
.icon-preview i:before {
font-size: 32px;
line-height: 48px;
}
.remove-icon {
background-color: #00a6cf;
color: #fff !important;
border-radius: 3px;
transition: background .2s ease-out;
position: absolute;
top: -10px;
right: -10px;
}
.remove-icon:hover {
color: #fff !important;
background-color: #00a6cf;
cursor: pointer;
}
.remove-times {
width: 20px;
height: 20px;
font-size: 21px;
text-align: center;
line-height: 99%;
}
.remove-times:after {
content: "\00D7";
display: block;
line-height: 15px;
}
.launch-icons {
margin: 5px 3px 0 0;
}
.launch-icons:active {
margin: 5px 3px 0 0;
}