mirror of
https://github.com/codex-team/editor.js
synced 2024-04-27 20:33:03 +02:00
bc8fb1aed9
* cover restoring fixed * upd * fetch fixed in safari * updated * plugins * plugins ready * code improved * fixed bug with backspace * improved architecture
42 lines
722 B
CSS
42 lines
722 B
CSS
/**
|
|
* Plugin styles
|
|
*/
|
|
.ce-header {
|
|
padding: .7em 0;
|
|
margin: 0;
|
|
line-height: 1.4em;
|
|
}
|
|
.ce-header p,
|
|
.ce-header div{
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/** H e a d e r - settings */
|
|
.ce_plugin_header--select_button{
|
|
display: block;
|
|
color: #306ac7;
|
|
cursor: pointer;
|
|
line-height: 1.3em;
|
|
}
|
|
.ce_plugin_header--select_button:not(:last-of-type){
|
|
margin-bottom: 1.5em;
|
|
}
|
|
.ce_plugin_header--select_button:hover{
|
|
color: #a1b4ec;
|
|
}
|
|
|
|
|
|
/**
|
|
* Empty header placeholder
|
|
*/
|
|
.ce-header:empty::before{
|
|
content : attr(data-placeholder);
|
|
color: #818BA1;
|
|
opacity: .7;
|
|
transition: opacity 200ms ease;
|
|
}
|
|
.ce-header:focus::before{
|
|
opacity: .1;
|
|
}
|