]> BookStack Code Mirror - bookstack/commitdiff
Comments: Checked content/arhived comment styles in dark mode
authorDan Brown <redacted>
Fri, 9 May 2025 13:17:04 +0000 (14:17 +0100)
committerDan Brown <redacted>
Fri, 9 May 2025 13:17:04 +0000 (14:17 +0100)
Also added default non-clickable styles for scenarios for references
which don't have an active content link.

resources/sass/_components.scss
resources/sass/_pages.scss

index faeb2e05141c7edb1cded9530f1cb0101fd528db..9e96b39fbb4834ef75e8b19f787268093513ec46 100644 (file)
@@ -785,6 +785,10 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
     top: 0;
     opacity: 0.15;
   }
+  &[href="#"] {
+    color: #444;
+    pointer-events: none;
+  }
 }
 
 .comment-branch .comment-box {
@@ -836,7 +840,8 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
     font-size: 12px;
   }
   .avatar {
-    width: 18px;
+    width: 22px;
+    height: 22px;
     margin-inline-end: 2px !important;
   }
   .content {
@@ -1206,6 +1211,7 @@ input.scroll-box-search, .scroll-box-header-item {
 
 details.section-expander summary {
   border-top: 1px solid #DDD;
+  @include mixins.lightDark(border-color, #DDD, #000);
   font-weight: bold;
   font-size: 12px;
   color: #888;
@@ -1217,4 +1223,5 @@ details.section-expander:open summary {
 }
 details.section-expander {
   border-bottom: 1px solid #DDD;
+  @include mixins.lightDark(border-color, #DDD, #000);
 }
\ No newline at end of file
index dbdcc06656da9869769e6b672666079e087db38f..621d08f45f2be4e844b80279dee17977f965c50b 100755 (executable)
@@ -248,7 +248,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
   z-index: 92;
   pointer-events: all;
   min-width: min(340px, 80vw);
-  background-color: #FFF;
+  @include mixins.lightDark(background-color, #FFF, #222);
   box-shadow: vars.$bs-hover;
   border-radius: 4px;
   overflow: hidden;
Morty Proxy This is a proxified and sanitized view of the page, visit original site.