52 lines
915 B
Plaintext
Raw Normal View History

2019-08-30 07:51:18 +00:00
const tab-padding-x = 1rem
2017-07-03 13:34:50 +00:00
.tab
2019-08-30 07:04:28 +00:00
horizontal
align-items center
2017-07-23 03:51:00 +00:00
color text-color
2019-08-30 07:51:18 +00:00
padding 0.5rem tab-padding-x
2017-11-04 16:11:47 +00:00
background-color tab-background
2017-07-23 03:51:00 +00:00
border ui-border
border-left none
2017-07-22 14:31:25 +00:00
white-space nowrap
2017-07-03 13:34:50 +00:00
2017-07-23 03:51:00 +00:00
:hover
color text-color
2017-11-04 16:11:47 +00:00
background-color tab-hover-background
2017-11-05 19:39:19 +00:00
cursor pointer
2017-07-23 03:51:00 +00:00
:active
2017-07-22 13:04:54 +00:00
transform none
2017-07-23 03:51:00 +00:00
2017-07-22 14:31:25 +00:00
&.active
2017-11-04 16:11:47 +00:00
background-color tab-active-background
color tab-active-color
2017-07-22 14:31:25 +00:00
:first-child
border-left ui-border
2017-11-04 21:23:07 +00:00
border-top-left-radius ui-element-border-radius
border-bottom-left-radius ui-element-border-radius
:last-child
border-top-right-radius ui-element-border-radius
border-bottom-right-radius ui-element-border-radius
2017-07-03 13:34:50 +00:00
< 920px
.tab
2019-08-30 07:51:18 +00:00
padding 0.75rem tab-padding-x
2019-08-30 07:22:08 +00:00
.padded-icon
2017-07-03 13:34:50 +00:00
margin-right 0
2018-03-13 01:31:01 +00:00
2017-07-03 13:34:50 +00:00
.tab-text
display none
.tabs
2017-07-22 13:04:54 +00:00
horizontal
2017-07-22 14:31:25 +00:00
justify-content center
2018-03-13 01:31:01 +00:00
margin content-padding calc(content-padding / 4)
margin-top 0
.tab-groups
horizontal
justify-content center