openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

trumbowyg.colors.scss (1141B)


      1 /**
      2  * Trumbowyg v2.10.0 - A lightweight WYSIWYG editor
      3  * Default stylesheet for Trumbowyg editor plugin
      4  * ------------------------
      5  * @link http://alex-d.github.io/Trumbowyg
      6  * @license MIT
      7  * @author Alexandre Demode (Alex-D)
      8  *         Twitter : @AlexandreDemode
      9  *         Website : alex-d.fr
     10  */
     11 
     12 .trumbowyg-dropdown-foreColor,
     13 .trumbowyg-dropdown-backColor {
     14     width: 276px;
     15     padding: 7px 5px;
     16 
     17     svg {
     18         display: none !important;
     19     }
     20 
     21     button {
     22         display: block;
     23         position: relative;
     24         float: left;
     25         text-indent: -9999px;
     26         height: 20px;
     27         width: 20px;
     28         border: 1px solid #333;
     29         padding: 0;
     30         margin: 2px;
     31 
     32         &:hover,
     33         &:focus {
     34             &::after {
     35                 content: " ";
     36                 display: block;
     37                 position: absolute;
     38                 top: -5px;
     39                 left: -5px;
     40                 height: 27px;
     41                 width: 27px;
     42                 background: inherit;
     43                 border: 1px solid #FFF;
     44                 box-shadow: #000 0 0 2px;
     45                 z-index: 10;
     46             }
     47         }
     48     }
     49 }