File tree Expand file tree Collapse file tree 7 files changed +13
-11
lines changed
DocumentationTopic/DocumentationNav Expand file tree Collapse file tree 7 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ $nav-menu-toggle-label-margin: 6px;
316
316
display : inline-block ;
317
317
318
318
& :not (:first-child ) {
319
- border-left : 1 px solid var ( --color-grid ) ;
319
+ border-left : $generic-border-style ;
320
320
margin-left : $nav-menu-toggle-label-margin ;
321
321
padding-left : $nav-menu-toggle-label-margin ;
322
322
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default {
30
30
@import ' docc-render/styles/_core.scss' ;
31
31
32
32
.footer {
33
- border-top : 1 px solid var ( --color-grid ) ;
33
+ border-top : $generic-border-style ;
34
34
}
35
35
36
36
.row {
Original file line number Diff line number Diff line change @@ -977,7 +977,7 @@ export default {
977
977
978
978
// unfortunately we need to hard-code the filter height
979
979
$filter-height : 71px ;
980
- $filter-height-small : 50 px ;
980
+ $filter-height-small : 60 px ;
981
981
$close-icon-size : 19px ;
982
982
$technology-title-background : var (--color-fill ) !default ;
983
983
$technology-title-background-active : var (--color-fill-gray-quaternary ) !default ;
@@ -1044,7 +1044,7 @@ $navigator-card-vertical-spacing: 8px !default;
1044
1044
.navigator-filter {
1045
1045
box-sizing : border-box ;
1046
1046
padding : 15px var (--nav-filter-horizontal-padding );
1047
- border-top : 1 px solid var ( --color-grid ) ;
1047
+ border-top : $generic-border-style ;
1048
1048
height : $filter-height ;
1049
1049
display : flex ;
1050
1050
align-items : flex-end ;
@@ -1060,7 +1060,7 @@ $navigator-card-vertical-spacing: 8px !default;
1060
1060
@include breakpoint (medium , nav ) {
1061
1061
--nav-filter-horizontal-padding : 20px ;
1062
1062
border : none ;
1063
- padding-top : 0 px ;
1063
+ padding-top : 10 px ;
1064
1064
padding-bottom : 10px ;
1065
1065
height : $filter-height-small ;
1066
1066
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default { name: 'QuickNavigationButton' };
30
30
align-items : center ;
31
31
justify-content : center ;
32
32
width : $icon-size-default ;
33
- border : 1 px solid var ( --color-grid ) ;
33
+ border : $generic-border-style ;
34
34
height : 100% ;
35
35
border-radius : $small-border-radius ;
36
36
transition : background-color .15s ;
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ $banner-icon-padding: $nav-padding-small * 0.25;
82
82
color : light-color (fill );
83
83
display : flex ;
84
84
justify-content : center ;
85
- border-bottom : 1 px solid var ( --color-grid ) ;
85
+ border-bottom : $generic-border-style ;
86
86
87
87
& __wrapper {
88
88
display : flex ;
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ $globalnav-height: 44px;
13
13
14
14
$form-focus-size : 4px ;
15
15
16
+ $generic-border-style : 1px solid var (--color-grid );
17
+
16
18
// Border radius
17
19
$border-radius : var (--border-radius , 4px ) !default ;
18
20
$nano-border-radius : $border-radius !default ;
Original file line number Diff line number Diff line change @@ -469,14 +469,14 @@ export default {
469
469
.doc-topic-aside {
470
470
height : 100% ;
471
471
box-sizing : border-box ;
472
- border-right : 1 px solid var ( --color-grid ) ;
472
+ border-right : $generic-border-style ;
473
473
474
474
@include breakpoint (medium , nav ) {
475
475
background : var (--color-fill );
476
476
border-right : none ;
477
477
478
478
.sidebar-transitioning & {
479
- border-right : 1 px solid var ( --color-grid ) ;
479
+ border-right : $generic-border-style ;
480
480
}
481
481
}
482
482
}
@@ -494,8 +494,8 @@ export default {
494
494
@include inTargetWeb {
495
495
@include breakpoint-full-width-container ();
496
496
@include breakpoints-from (xlarge) {
497
- border-left : 1 px solid var ( --color-grid ) ;
498
- border-right : 1 px solid var ( --color-grid ) ;
497
+ border-left : $generic-border-style ;
498
+ border-right : $generic-border-style ;
499
499
box-sizing : border-box ;
500
500
}
501
501
}
You can’t perform that action at this time.
0 commit comments