diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index d1125abd..03359f44 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -11,8 +11,6 @@ padding: 0; } - .selected { outline: #f206f9 solid medium; } - iframe { border: 0; min-height: 480px; @@ -50,7 +48,7 @@ & > * { display: none; } - .editor-auxiliary-tool-active { + [data-editor-auxiliary-active] { display: block; } } @@ -60,9 +58,13 @@ div[data-align="center"] { text-align: center; } div[data-align="right"] { text-align: right; } - .editor-content { - min-height: 480px; - } + .editor-content { + min-height: 480px; + p, h1, h2, h3, h4, h5, h6, ul, li { outline: #ccc solid thin; } + strong, em, del, u, sub, sup { background: #0002; } + a { background: #13fefe50; } + [data-editor-selected] { outline: $magenta solid thick; } + } *[data-editor-loading] { opacity: 0.5;