From a45d3c898fc710f0b61a5e177a6881b921c223c4 Mon Sep 17 00:00:00 2001 From: void Date: Sat, 13 Feb 2021 00:01:53 +0000 Subject: [PATCH] editor: mejorar estilos y agregar borde a todo --- app/assets/stylesheets/editor.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index d1125ab..03359f4 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;