1- // * ===== LAYOUT & APPEARANCE =============== */
1+ // ===== LAYOUT & APPEARANCE ===============
22hx-tab {
33 border-radius : 2px 2px 0 0 ;
44 border : 1px solid transparent ;
5- color : @ gray-700 ;
5+ color : $ gray-700 ;
66 cursor : pointer ;
77 font-size : 0.875rem ;
88 font-weight : 500 ;
99
1010 & :hover {
11- color : @ cyan-500 ;
11+ color : $ cyan-500 ;
1212 }
1313
1414 & :focus {
15- color : @ cyan-700 ;
15+ color : $ cyan-700 ;
1616 z-index : 1 ; // keeps focus ring in front of adjacent tabs
1717 }
1818
1919 & [current ] {
2020 background-color : inherit ;
21- border-color : @ gray-300 @ gray-300 transparent ;
22- color : @ cyan-900 ;
21+ border-color : $ gray-300 $ gray-300 transparent ;
22+ color : $ cyan-900 ;
2323 }
2424
2525 > * + * {
@@ -31,7 +31,7 @@ hx-tabcontent {
3131 -ms-grid-columns : 1fr ;
3232 -ms-grid-rows : 1fr ;
3333 background-color : inherit ;
34- border-color : @ gray-300 transparent ;
34+ border-color : $ gray-300 transparent ;
3535 border-style : solid ;
3636 border-width : 1px ;
3737 display : -ms-grid ;
@@ -94,29 +94,29 @@ hx-tabset {
9494 }
9595}
9696
97- // * ===== UNDEFINED =============== */
97+ // ===== UNDEFINED ===============
9898
9999// Ensure that at least one tab/panel pair appears to be open,
100100// before <hx-tabset> upgrades.
101101hx-tabset :not ([hx-defined ]) {
102102 hx-tab :first-of-type {
103- & :extend(hx - tab[current]) ;
103+ background-color : $gray-0 ;
104104 }
105105
106106 hx-tabpanel :first-of-type {
107- & :extend(hx - tabpanel[ open ]) ;
107+ display : block ;
108108 }
109109}
110110
111- // * ===== OVERRIDES =============== */
111+ // ===== OVERRIDES ===============
112112
113113hx-tabset .beta-hxBound {
114114 hx-tab [current ] {
115- background-color : @ gray-0 ;
115+ background-color : $ gray-0 ;
116116 }
117117
118118 hx-tabcontent {
119- background-color : @ gray-0 ;
120- border-color : @ gray-300 ;
119+ background-color : $ gray-0 ;
120+ border-color : $ gray-300 ;
121121 }
122122}
0 commit comments