BetterDiscordApp-v2/client/src/styles/partials/generic/tabs.scss

83 lines
1.8 KiB
SCSS

.bd-tabbar {
flex: 0 0 auto;
margin-right: -15px;
display: flex;
.bd-button {
background: transparent;
border-bottom: 2px solid rgba(114, 118, 126, 0.3);
cursor: pointer;
margin-right: 15px;
padding: 15px 0;
color: #87909c;
font-size: 14px;
font-weight: 500;
transition: color 0.2s ease, border-bottom-color 0.2s ease;
flex: 0 0;
display: flex;
h3 {
flex: 0 0;
}
.bd-material-button {
width: 16px;
height: 16px;
flex: 0 0;
margin-left: 4px;
cursor: pointer;
.material-design-icon,
.bd-material-design-icon {
display: flex;
align-items: center;
fill: #87909c;
transition: fill 0.2s ease;
svg {
width: 16px;
height: 16px;
}
}
&:hover {
background-color: transparent;
.bd-material-design-icon {
fill: #fff;
}
}
}
&:hover,
&.bd-active {
background: transparent;
border-bottom-color: $colbdblue;
color: #fff;
.bd-material-design-icon {
fill: #fff;
}
}
&.bd-active {
cursor: default;
}
}
.bd-settingswrap-header & {
margin-top: -10px;
margin-bottom: -20px;
.bd-button {
font-size: 16px;
padding: 13px 0;
.bd-material-button {
width: 18px;
height: 18px;
}
}
}
}