Fix horizontal line style (#120)

This commit is contained in:
Felix Häusler 2018-04-08 12:54:09 +02:00 committed by 冉四夕
parent 9e7b07b68d
commit a45bf48bb1
3 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,7 @@
transform: scale(1.2); transform: scale(1.2);
} /* ignored */ } /* ignored */
to { to {
transform: scale(1); transform: scale(1);
} }
} }
@ -288,6 +288,7 @@ li p .ag-hide:first-child {
p:not(.ag-active)[data-role="hr"] { p:not(.ag-active)[data-role="hr"] {
position: relative; position: relative;
color: transparent; color: transparent;
padding: 0.8em 0;
} }
p:not(.ag-active)[data-role="hr"]::before { p:not(.ag-active)[data-role="hr"]::before {
@ -296,7 +297,8 @@ p:not(.ag-active)[data-role="hr"]::before {
height: 5px; height: 5px;
background: gainsboro; background: gainsboro;
position: absolute; position: absolute;
bottom: -2px; top: 50%;
transform: translateY(-50%);
} }
p:not(.ag-active)[data-role="hr"] * { p:not(.ag-active)[data-role="hr"] * {
@ -456,4 +458,3 @@ span[data-role="link"], a[data-role="link"], span[data-role="link"] .ag-backlash
.ag-focus-mode pre.ag-active { .ag-focus-mode pre.ag-active {
opacity: 1; opacity: 1;
} }

View File

@ -370,6 +370,10 @@ code {
margin-top: 0; margin-top: 0;
} }
p:not(.ag-active)[data-role="hr"]::before {
background: #545454;
}
.fg-color-dark { .fg-color-dark {
color: #c6c6c6; color: #c6c6c6;
} }

View File

@ -351,6 +351,10 @@ code {
background: #F2F6FC; background: #F2F6FC;
} }
p:not(.ag-active)[data-role="hr"]::before {
background: gainsboro;
}
.fg-color-dark { .fg-color-dark {
color: #303133; color: #303133;
} }