We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1603a70 commit 20cc5f9Copy full SHA for 20cc5f9
4 files changed
src/librustdoc/html/static/css/themes/ayu.css
@@ -203,20 +203,9 @@ details.rustdoc-toggle > summary::before {
203
color: #000;
204
}
205
206
-/* Created this empty rule to satisfy the theme checks. */
207
-.stab.empty-impl {}
208
-.stab.must_implement {}
209
-
210
-.stab.unstable,
211
-.stab.deprecated,
212
-.stab.portability,
213
-.stab.empty-impl,
214
-.stab.must_implement {
+.stab {
215
color: #c5c5c5;
216
background: #314559 !important;
217
- border-style: none !important;
218
- border-radius: 4px;
219
- padding: 3px 6px 3px 6px;
220
221
222
.stab.portability > code {
src/librustdoc/html/static/css/themes/dark.css
@@ -173,12 +173,12 @@ details.rustdoc-toggle > summary::before {
173
border-color: #008dfd;
174
175
176
-.stab.empty-impl { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
177
-.stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
178
-.stab.deprecated { background: #ffc4c4; border-color: #db7b7b; color: #2f2f2f; }
179
-.stab.must_implement { background: #F3DFFF; border-color: #b07bdb; color: #2f2f2f; }
180
-.stab.portability { background: #F3DFFF; border-color: #b07bdb; color: #2f2f2f; }
181
-.stab.portability > code { background: none; }
+.stab { background: #314559; }
+
+.stab.portability > code {
+ color: #e6e1cf;
+ background: none;
+}
182
183
.rightside,
184
.out-of-band {
src/librustdoc/html/static/css/themes/light.css
@@ -160,11 +160,7 @@ details.rustdoc-toggle > summary::before {
160
border-color: #66afe9;
161
162
163
-.stab.empty-impl { background: #FFF5D6; border-color: #FFC600; }
164
-.stab.unstable { background: #FFF5D6; border-color: #FFC600; }
165
-.stab.deprecated { background: #ffc4c4; border-color: #db7b7b; }
166
-.stab.must_implement { background: #F3DFFF; border-color: #b07bdb; }
167
-.stab.portability { background: #F3DFFF; border-color: #b07bdb; }
+.stab { background: #FFF5D6; border-color: #FFC600; }
168
.stab.portability > code { background: none; }
169
170
src/test/rustdoc-gui/label-next-to-symbol.goml
@@ -7,14 +7,14 @@ size: (1080, 600)
7
assert: (".stab.deprecated")
8
assert: (".stab.portability")
9
10
-// make sure that deprecated and portability are different colours
+// make sure that deprecated and portability have the right colors
11
assert-css: (
12
".item-table .item-left .stab.deprecated",
13
- { "background-color": "rgb(255, 196, 196)" },
+ { "background-color": "rgb(255, 245, 214)" },
14
)
15
16
".item-table .item-left .stab.portability",
17
- { "background-color": "rgb(243, 223, 255)" },
18
19
20
// table like view
@@ -51,7 +51,7 @@ assert-css: (".item-right.docblock-short", { "padding-left": "32px" })
51
compare-elements-position-near: (
52
"//*[@class='item-left module-item']//a[text()='replaced_function']",
53
".item-left .stab.deprecated",
54
- {"y": 1},
+ {"y": 2},
55
56
compare-elements-position: (
57
0 commit comments