editor.js/plugins/raw/raw.css
George Berezhnoy c87eddc7c3 raw plugin added (#163)
* raw plugin added

* Try to paste raw html to raw plugin

* insert text/plain to native area instead of contenteditable element

* styles updated

* rename variable

* fixed raw backspace click handler

* paste code

* Replace mask with two svg icons

* Toolbox leaf fix

* Remove data in example.html

* Toolbar and caret behavior improvments

* upd

* Upd

* new bundle due the local merge
2017-02-27 14:44:22 +03:00

37 lines
844 B
CSS

.raw-plugin__input {
display: block;
width: 100%;
min-height: 200px;
border: 0;
background: #fdfdfd;
box-shadow: inset 0 2px 8px rgba(23, 32, 74, 0.06);
border-radius: 3px;
margin: 1em auto;
padding: 1em;
box-sizing: border-box;
white-space: pre;
outline: none;
resize: vertical;
font-family: 'monospace', 'monaco', 'consolas', 'courier';
line-height: 1.7em;
font-size: 12px;
color: #152b48;
overflow: auto;
letter-spacing: 0.015em;
}
.raw-plugin-icon {
display: inline-block;
width: 16px;
height: 32px;
background: url(raw-icon-black.svg) no-repeat center center;
background-size: contain;
}
li:hover .raw-plugin-icon,
.selected .raw-plugin-icon{
background: url(raw-icon-white.svg) no-repeat center center;
background-size: contain;
}