Skip to content

Commit a3844a4

Browse files
author
pkrasicki
committed
Improve visibility of some UI elements
Partially fixes #1441 Signed-off-by: pkrasicki <[omitted]>
1 parent 42ae89c commit a3844a4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

public/css/extra.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
}
109109

110110
.ui-toc-label {
111-
opacity: 0.3;
111+
opacity: 0.9;
112112
background-color: #ccc;
113113
border: none;
114114
-webkit-transition: opacity 0.2s; /* Safari */
@@ -117,13 +117,13 @@
117117

118118
.ui-toc .open .ui-toc-label {
119119
opacity: 1;
120-
color: white;
120+
color: #5f5f5f;
121121
-webkit-transition: opacity 0.2s; /* Safari */
122122
transition: opacity 0.2s;
123123
}
124124

125125
.ui-toc-label:focus {
126-
opacity: 0.3;
126+
opacity: 1;
127127
background-color: #ccc;
128128
color: black;
129129
}
@@ -326,7 +326,7 @@
326326
margin-left: 10px;
327327
font-size: 12px;
328328
font-weight: 500;
329-
color: #999;
329+
color: rgba(0, 0, 0, 0.85);
330330
}
331331

332332
.expand-toggle:hover, .expand-toggle:focus, .back-to-top:hover, .back-to-top:focus, .go-to-bottom:hover, .go-to-bottom:focus {

public/css/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ div[contenteditable]:empty:not(:focus):before{
570570
.ui-theme-toggle,
571571
.ui-linter-toggle,
572572
.ui-spellcheck-toggle {
573-
opacity: 0.2;
573+
opacity: 0.5;
574574
cursor: pointer;
575575
}
576576

0 commit comments

Comments
 (0)