trumbowyg
Version:
A lightweight WYSIWYG editor
119 lines (112 loc) • 2.57 kB
CSS
/**
* Trumbowyg v2.31.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link https://alex-d.github.io/Trumbowyg/
* @license MIT
* @author Alexandre Demode (Alex-D)
* Twitter : @AlexandreDemode
* Website : alex-d.fr
*/
.trumbowyg-tenor-button svg {
-webkit-transform: scale(1.22);
transform: scale(1.22);
}
.trumbowyg-tenor-search {
display: block;
width: 80%;
margin: 5%;
padding-left: 10px;
padding-right: 150px;
}
.trumbowyg-tenor-close {
position: absolute;
top: calc(5% + 8px);
right: calc(5% - 2px);
width: 30px;
height: 30px;
background: none;
border: 1px solid transparent;
}
.trumbowyg-tenor-close:hover, .trumbowyg-tenor-close:focus {
outline: none;
background: #ecf0f1;
}
.trumbowyg-tenor-close:focus {
border-color: rgba(0, 0, 0, 0.3);
}
.trumbowyg-powered-by-tenor {
position: absolute;
top: calc(5% + 11px);
right: calc(15% + 5px);
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.trumbowyg-powered-by-tenor span {
text-transform: uppercase;
font-weight: bold;
font-size: 10px;
opacity: 0.6;
}
.trumbowyg-powered-by-tenor svg {
width: 66px;
height: 15px;
vertical-align: middle;
margin-left: 6px;
opacity: 0.45;
}
.trumbowyg-tenor-modal-scroll {
overflow: auto;
overflow-x: hidden;
height: 240px;
}
.trumbowyg-tenor-modal-scroll .trumbowyg-tenor-loading {
display: none;
padding: 20px;
}
.trumbowyg-tenor-modal-scroll .trumbowyg-tenor-loading img {
height: 25px;
}
.trumbowyg-tenor-modal {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin: 0 3%;
}
.trumbowyg-tenor-modal .trumbowyg-tenor-no-result {
width: 100%;
margin: 0 3%;
}
.trumbowyg-tenor-modal .trumbowyg-tenor-offline {
font-size: 18px;
width: 305%;
height: 600px;
margin-top: 95px;
text-align: center;
}
.trumbowyg-tenor-modal .img-container {
margin-bottom: 10px;
background-color: #ecf0f1;
}
.trumbowyg-tenor-modal .img-container img {
width: 100%;
cursor: pointer;
opacity: 0;
-webkit-transition: opacity 150ms;
transition: opacity 150ms;
display: block;
}
.trumbowyg-tenor-modal .img-container img:hover, .trumbowyg-tenor-modal .img-container img:focus {
border: #2ecc71 solid 3px;
}
.trumbowyg-tenor-modal .img-container img.tbw-loaded {
opacity: 1;
}