openrat-cms

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

trumbowyg.mention.scss (933B)


      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-mention {
     13     height: calc(75%);
     14     width: 300px;
     15     max-width: 300px;
     16     overflow-y: scroll;
     17     overflow-x: hidden;
     18 
     19     svg {
     20         display: none !important;
     21     }
     22 
     23     button {
     24         position: relative;
     25         white-space: nowrap;
     26 
     27         &:after {
     28             content: "";
     29             position: absolute;
     30             top: 0;
     31             right: 0;
     32             width: 15%;
     33             height: 100%;
     34             background-size: 100%;
     35             background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%);
     36             pointer-events: none;
     37         }
     38     }
     39 }