scratch
/bower_components/trumbowyg/dist/plugins/colors/ui/sass/trumbowyg.colors.scss |
@@ -0,0 +1,49 @@ |
/** |
* Trumbowyg v2.5.1 - A lightweight WYSIWYG editor |
* Colors plugin stylesheet for Trumbowyg editor |
* ------------------------ |
* @link http://alex-d.github.io/Trumbowyg |
* @license MIT |
* @author Alexandre Demode (Alex-D) |
* Twitter : @AlexandreDemode |
* Website : alex-d.fr |
*/ |
|
.trumbowyg-dropdown-foreColor, |
.trumbowyg-dropdown-backColor { |
width: 276px; |
padding: 7px 5px; |
|
svg { |
display: none !important; |
} |
|
button { |
display: block; |
position: relative; |
float: left; |
text-indent: -9999px; |
height: 20px; |
width: 20px; |
border: 1px solid #333; |
padding: 0; |
margin: 2px; |
|
&:hover, |
&:focus { |
&::after { |
content: " "; |
display: block; |
position: absolute; |
top: -5px; |
left: -5px; |
height: 27px; |
width: 27px; |
background: inherit; |
border: 1px solid #FFF; |
box-shadow: #000 0 0 2px; |
z-index: 10; |
} |
} |
} |
} |
/bower_components/trumbowyg/dist/plugins/colors/ui/trumbowyg.colors.css |
@@ -0,0 +1,43 @@ |
/** |
* Trumbowyg v2.5.1 - A lightweight WYSIWYG editor |
* Colors plugin stylesheet for Trumbowyg editor |
* ------------------------ |
* @link http://alex-d.github.io/Trumbowyg |
* @license MIT |
* @author Alexandre Demode (Alex-D) |
* Twitter : @AlexandreDemode |
* Website : alex-d.fr |
*/ |
|
.trumbowyg-dropdown-foreColor, |
.trumbowyg-dropdown-backColor { |
width: 276px; |
padding: 7px 5px; } |
.trumbowyg-dropdown-foreColor svg, |
.trumbowyg-dropdown-backColor svg { |
display: none !important; } |
.trumbowyg-dropdown-foreColor button, |
.trumbowyg-dropdown-backColor button { |
display: block; |
position: relative; |
float: left; |
text-indent: -9999px; |
height: 20px; |
width: 20px; |
border: 1px solid #333; |
padding: 0; |
margin: 2px; } |
.trumbowyg-dropdown-foreColor button:hover::after, .trumbowyg-dropdown-foreColor button:focus::after, |
.trumbowyg-dropdown-backColor button:hover::after, |
.trumbowyg-dropdown-backColor button:focus::after { |
content: " "; |
display: block; |
position: absolute; |
top: -5px; |
left: -5px; |
height: 27px; |
width: 27px; |
background: inherit; |
border: 1px solid #FFF; |
box-shadow: #000 0 0 2px; |
z-index: 10; } |
/bower_components/trumbowyg/dist/plugins/colors/ui/trumbowyg.colors.min.css |
@@ -0,0 +1,2 @@ |
/** Trumbowyg v2.5.1 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */ |
.trumbowyg-dropdown-backColor,.trumbowyg-dropdown-foreColor{width:276px;padding:7px 5px}.trumbowyg-dropdown-backColor svg,.trumbowyg-dropdown-foreColor svg{display:none!important}.trumbowyg-dropdown-backColor button,.trumbowyg-dropdown-foreColor button{display:block;position:relative;float:left;text-indent:-9999px;height:20px;width:20px;border:1px solid #333;padding:0;margin:2px}.trumbowyg-dropdown-backColor button:focus::after,.trumbowyg-dropdown-backColor button:hover::after,.trumbowyg-dropdown-foreColor button:focus::after,.trumbowyg-dropdown-foreColor button:hover::after{content:" ";display:block;position:absolute;top:-5px;left:-5px;height:27px;width:27px;background:inherit;border:1px solid #FFF;box-shadow:#000 0 0 2px;z-index:10} |