Skip to content

Commit f8c0aaf

Browse files
committed
Comments: Checked content/arhived comment styles in dark mode
Also added default non-clickable styles for scenarios for references which don't have an active content link.
1 parent a27df48 commit f8c0aaf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

resources/sass/_components.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,10 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
785785
top: 0;
786786
opacity: 0.15;
787787
}
788+
&[href="#"] {
789+
color: #444;
790+
pointer-events: none;
791+
}
788792
}
789793

790794
.comment-branch .comment-box {
@@ -836,7 +840,8 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
836840
font-size: 12px;
837841
}
838842
.avatar {
839-
width: 18px;
843+
width: 22px;
844+
height: 22px;
840845
margin-inline-end: 2px !important;
841846
}
842847
.content {
@@ -1206,6 +1211,7 @@ input.scroll-box-search, .scroll-box-header-item {
12061211

12071212
details.section-expander summary {
12081213
border-top: 1px solid #DDD;
1214+
@include mixins.lightDark(border-color, #DDD, #000);
12091215
font-weight: bold;
12101216
font-size: 12px;
12111217
color: #888;
@@ -1217,4 +1223,5 @@ details.section-expander:open summary {
12171223
}
12181224
details.section-expander {
12191225
border-bottom: 1px solid #DDD;
1226+
@include mixins.lightDark(border-color, #DDD, #000);
12201227
}

resources/sass/_pages.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
248248
z-index: 92;
249249
pointer-events: all;
250250
min-width: min(340px, 80vw);
251-
background-color: #FFF;
251+
@include mixins.lightDark(background-color, #FFF, #222);
252252
box-shadow: vars.$bs-hover;
253253
border-radius: 4px;
254254
overflow: hidden;

0 commit comments

Comments
 (0)