Skip to content

Commit 52476f5

Browse files
authored
Rollup merge of #74504 - lzutao:ayu-border-selected-fn, r=GuillaumeGomez
Add right border bar to Dark and Light theme Demo: Light theme: #74504 (comment) Dark theme: #74504 (comment) Ayu theme: #74504 (comment)
2 parents 38b2956 + 7005ddb commit 52476f5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ a.test-arrow:hover {
326326

327327
:target > code, :target > .in-band {
328328
background: rgba(255, 236, 164, 0.06);
329-
border-right: 3px solid #ffb44c;
329+
border-right: 3px solid rgba(255, 180, 76, 0.85);
330330
}
331331

332332
pre.compile_fail {

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

+1
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ a.test-arrow:hover{
274274

275275
:target > code, :target > .in-band {
276276
background-color: #494a3d;
277+
border-right: 3px solid #bb7410;
277278
}
278279

279280
pre.compile_fail {

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

+1
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ a.test-arrow:hover{
269269

270270
:target > code, :target > .in-band {
271271
background: #FDFFD3;
272+
border-right: 3px solid #ffb44c;
272273
}
273274

274275
pre.compile_fail {

0 commit comments

Comments
 (0)