Skip to content

Commit a6706cb

Browse files
authored
Make thinner border for focused links (#9277)
* Make thiner border for focused links * Change border size of package manager tabs * Delete comment line from base.less * Change nav-tabs color and make overflow-y visible for package-tags
1 parent 0d1b015 commit a6706cb

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/theme/base.less

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ body {
118118
.main-container {
119119
padding-bottom: 75px;
120120
height: auto;
121+
122+
a[href] {
123+
&:focus {
124+
outline: solid 2px;
125+
outline-offset: 1px;
126+
}
127+
}
121128
}
122129

123130
.navbar-logo {
@@ -343,6 +350,13 @@ img.reserved-indicator-icon {
343350
li {
344351
list-style: none;
345352
display: list-item;
353+
354+
a {
355+
&:focus {
356+
outline: solid 0.25px;
357+
outline-offset: 0;
358+
}
359+
}
346360
}
347361

348362
@media (min-width: @screen-sm-min) {
@@ -353,6 +367,10 @@ img.reserved-indicator-icon {
353367
overflow-y: hidden;
354368
padding-right: @padding-small-horizontal;
355369
}
370+
371+
li.package-tags {
372+
overflow-y: visible;
373+
}
356374
}
357375
}
358376

src/Bootstrap/less/theme/page-display-package.less

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@
357357
border: 0;
358358
padding: 5px 10px;
359359
margin: 0;
360+
361+
&:focus {
362+
outline: 3px solid #0078D4;
363+
outline-offset: 0;
364+
}
360365
}
361366
}
362367
}
@@ -371,7 +376,7 @@
371376

372377
.tab-content {
373378
.tab-pane {
374-
379+
375380
.install-script-row {
376381
display: flex;
377382
height: 100%;
@@ -426,6 +431,11 @@
426431
font-family: @font-family-base;
427432
color: #323130;
428433

434+
&:focus {
435+
outline: 3px solid #0078D4;
436+
outline-offset: 0;
437+
}
438+
429439
.ms-Icon {
430440
position: relative;
431441
top: 2px;

0 commit comments

Comments
 (0)