Skip to content

Commit a474b27

Browse files
committedJul 16, 2020
Remove !important on border-color and background-color
1 parent 0625b29 commit a474b27

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed
 

‎src/librustdoc/html/static/rustdoc.css

+1-4
Original file line numberDiff line numberDiff line change
@@ -1116,10 +1116,7 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
11161116
font-size: 16px;
11171117
cursor: default;
11181118
position: absolute;
1119-
/* Themes will override the color here,
1120-
but it's necessary to make it opaque */
1121-
background-color: #eee;
1122-
border: 1px solid #999;
1119+
border: 1px solid;
11231120
}
11241121

11251122
.important-traits-tooltip::after {

‎src/librustdoc/html/static/themes/ayu.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
395395
}
396396

397397
.important-traits-tooltiptext {
398-
background-color: #314559 !important;
399-
border-color: #5c6773 !important;
398+
background-color: #314559;
399+
border-color: #5c6773;
400400
}
401401

402402
#titles > div.selected {

‎src/librustdoc/html/static/themes/dark.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
338338
}
339339

340340
.important-traits-tooltiptext {
341-
background-color: #111 !important;
342-
border-color: #777 !important;
341+
background-color: #111;
342+
border-color: #777;
343343
}
344344

345345
#titles > div:not(.selected) {

‎src/librustdoc/html/static/themes/light.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ pre.ignore:hover, .information:hover + pre.ignore {
332332
}
333333

334334
.important-traits-tooltiptext {
335-
background-color: #eee !important;
336-
border-color: #999 !important;
335+
background-color: #eee;
336+
border-color: #999;
337337
}
338338

339339
#titles > div:not(.selected) {

0 commit comments

Comments
 (0)