ui: remove no more needed css code for ep_author_neat
This is the last change in PR #3957. Closes #3954.
This commit is contained in:
parent
9587c1c673
commit
88dccfe7ce
4 changed files with 9 additions and 52 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue