mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-14 02:05:05 +01:00
56 lines
955 B
SCSS
56 lines
955 B
SCSS
/*
|
|
Example:
|
|
<tab class="tab">
|
|
<div>Graphics</div>
|
|
<div class="tab__indicator"></div>
|
|
</tab>
|
|
*/
|
|
|
|
.tabs tabs {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.tab {
|
|
@extend %nav-all;
|
|
@extend %label-md;
|
|
display: block;
|
|
position: relative;
|
|
padding: space(20) space(24);
|
|
background-color: rgba(0,0,0,0);
|
|
margin: 0;
|
|
color: $color-text-inactive;
|
|
transition: color $transition-quick;
|
|
|
|
&:selected {
|
|
color: $color-text;
|
|
|
|
.tab__indicator {
|
|
background-color: $color-border-solid;
|
|
}
|
|
|
|
&:hover {
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:focus {
|
|
color: $color-text;
|
|
}
|
|
}
|
|
|
|
.tab__indicator {
|
|
position: absolute;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
right: 0;
|
|
bottom: 2dp;
|
|
left: 0;
|
|
height: 2dp;
|
|
}
|