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

68 lines
1.4 KiB
SCSS
Raw Normal View History

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