diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index cd1ca004..1368e092 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -92,13 +92,14 @@ body.doesWrap:not(.noprewrap) > div { /* ------------------------------------------ */ #sidediv { - font-size: 11px; - font-family: monospace; - padding-right: 5px; - padding-left: 12px; background-color: transparent; border-right: 1px solid #ccc; } +#sidediv .line-number { + font-size: 9px; + padding: 0 10px; + font-family: monospace; +} #sidedivinner { text-align: right; opacity: .9; @@ -109,10 +110,6 @@ body.doesWrap:not(.noprewrap) > div { .line-numbers-hidden #sidediv .line-number { display: none; } -#sidediv:not(.authorColors) #sidedivinner>div:before { - content: none !important; -} -} #linemetricsdiv { position: absolute; left: -1000px; diff --git a/src/static/skins/colibris/src/components/sidediv.css b/src/static/skins/colibris/src/components/sidediv.css index 63eee2dd..6f5556df 100644 --- a/src/static/skins/colibris/src/components/sidediv.css +++ b/src/static/skins/colibris/src/components/sidediv.css @@ -8,27 +8,12 @@ font-family: var(--main-font-family); /* the parent div have font-family monospace (line number) */ color: #485365; color: var(--text-color); - padding-right: 18px !important; - text-transform: capitalize; - font-size: 12px !important; font-weight: bold; } -#sidedivinner>div, -#sidedivinner.authorColors>div, -#sidedivinner.authorColors>div.primary-none { - padding-right: 5px !important; - border-right: 5px solid transparent; -} - -#sidedivinner>div { +#sidedivinner>div .line-number { line-height: 24px; - font-size: 9px !important; font-family: RobotoMono; color: #576273; color: var(--text-soft-color); -} - -#sidedivinner.authorColors>div, #sidedivinner.authorColors>div.primary-none, #sidedivinner>div { - padding-right: 8px !important; } \ No newline at end of file diff --git a/src/static/skins/colibris/src/layout.css b/src/static/skins/colibris/src/layout.css index e4fd0d2d..512b6b34 100644 --- a/src/static/skins/colibris/src/layout.css +++ b/src/static/skins/colibris/src/layout.css @@ -13,10 +13,6 @@ width: 250px; } -#outerdocbody.sidediv-hidden { - padding-left: 0; /* sidediv hidden */ -} - #outerdocbody iframe, #outerdocbody > #innerdocbody { max-width: 900px; padding: 40px 55px; @@ -40,17 +36,6 @@ padding-bottom: var(--editor-vertical-padding); } -/* Fixs author_hover does not take in account the document padding */ -.authortooltip { margin-top: 65px !important; margin-left: 60px; } -.caretindicator { margin-top: 61px!important; margin-left: 52px; } -#outerdocbody.plugin-ep_author_neat .authortooltip{ margin-left: 145px; } -#outerdocbody.plugin-ep_author_neat .caretindicator{ margin-left: 52px; margin-top: 65px!important;} -@media (max-width:1000px) { - #outerdocbody.plugin-ep_author_neat .authortooltip{ margin-left: 115px; } - .caretindicator{ margin-left: 13px; } - #outerdocbody.plugin-ep_author_neat .caretindicator{ margin-left: 17px; } -} - @media (max-width:1000px) { #outerdocbody { padding-top: 0; @@ -59,16 +44,6 @@ max-width: none; border-radius: 0; } - - .authortooltip { margin-top: 20px !important; } - .caretindicator { margin-top: 0px !important; } - #outerdocbody.plugin-ep_author_neat .caretindicator { margin-top: 10px !important; } - - #outerdocbody.plugin-ep_author_neat #sidedivinner>div:before { padding-right: 10px !important; } - #outerdocbody.plugin-ep_author_neat #sidedivinner.authorColors>div, - #outerdocbody.plugin-ep_author_neat #sidedivinner.authorColors>div.primary-none, - #outerdocbody.plugin-ep_author_neat #sidedivinner>div { padding-right: 6px!important; } - #outerdocbody.plugin-ep_author_neat #sidediv { padding-right: 0 !important; } } @media only screen and (max-width: 800px) { diff --git a/src/static/skins/colibris/src/pad-editor.css b/src/static/skins/colibris/src/pad-editor.css index f48db3b8..0c4b0b09 100644 --- a/src/static/skins/colibris/src/pad-editor.css +++ b/src/static/skins/colibris/src/pad-editor.css @@ -7,11 +7,11 @@ color: var(--text-color); } -#innerdocbody span, #innerdocbody span { - padding: 4px 0 !important; +#innerdocbody span { + padding: 3px 0 !important; } -#innerdocbody h1 span, #innerdocbody h1 span { +#innerdocbody h1 span { padding: 0; }