File tree Expand file tree Collapse file tree 1 file changed +30
-13
lines changed Expand file tree Collapse file tree 1 file changed +30
-13
lines changed Original file line number Diff line number Diff line change 2424 background : transparent ;
2525 border : none ;
2626 border-radius : 0 !important ;
27- line-height : initial ;
27+ line-height : unset ;
2828 font-size : 1.025em ;
2929 color : theme (' text-color' );
3030 padding : .935rem 1.4rem ;
5353 ///
5454 /// Bottom Tabnav
5555 ///
56- & .#{$tabnav-bottom } {
57- border-bottom : 0 ;
58- border-top : $tabnav-border-width theme (' border-style' ) theme (' color-secondary' );
59- @include tab-button-styles () {
60- margin-top : - $tabnav-border-width ;
61- border-top : $tabnav-border-width solid transparent ;
56+ @if $components-tabnav-bottom-position {
57+ & .#{$tabnav-bottom } {
6258 border-bottom : 0 ;
63- margin-bottom : 0 ;
64- & :hover {
65- border-top-color : theme (' color-grey' );
66- }
67- & .#{$tabnav-active } {
68- border-top-color : theme (' primary-color' );
59+ border-top : $tabnav-border-width theme (' border-style' ) theme (' color-secondary' );
60+ @include tab-button-styles () {
61+ margin-top : - $tabnav-border-width ;
62+ border-top : $tabnav-border-width solid transparent ;
63+ border-bottom : 0 ;
64+ margin-bottom : 0 ;
65+ & :hover {
66+ border-top-color : theme (' color-grey' );
67+ }
68+ & .#{$tabnav-active } {
69+ border-top-color : theme (' primary-color' );
70+ }
6971 }
7072 }
7173 }
8587 }
8688 }
8789 }
90+ ///
91+ /// Bottom Tabnav
92+ ///
93+ @if $components-tabnav-bottom-position {
94+ & .#{$type-name } .#{$tabnav-bottom } {
95+ .#{$button-class } ,
96+ a .#{$button-class } ,
97+ .#{$dropdown-name } .#{$button-class } ,
98+ .#{$dropdown-name } a .#{$button-class } {
99+ & .#{$tabnav-active } {
100+ border-top-color : $color ;
101+ }
102+ }
103+ }
104+ }
88105 }
89106 }
90107 & .#{$tabnav-centered } {
You can’t perform that action at this time.
0 commit comments