mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
85 lines
1.5 KiB
SCSS
85 lines
1.5 KiB
SCSS
.tab-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
|
|
|
|
&__tab {
|
|
@include Paragraph;
|
|
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: flex-start;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
box-sizing: border-box;
|
|
padding: 16px 24px;
|
|
opacity: 0.5;
|
|
transition: opacity 200ms ease-in-out;
|
|
background-color: unset;
|
|
text-align: start;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
&:hover {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
&:active {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
@include H4;
|
|
|
|
padding: 24px;
|
|
border-bottom: 1px solid $alto;
|
|
opacity: 1;
|
|
}
|
|
|
|
&__content {
|
|
flex: 1 1 auto;
|
|
width: 0;
|
|
|
|
&__description {
|
|
display: none;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
@include H6;
|
|
|
|
display: block;
|
|
font-weight: 300;
|
|
margin-top: 8px;
|
|
min-height: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__caret {
|
|
display: none;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
display: block;
|
|
background-image: url('/images/caret-right.svg');
|
|
width: 8.27px;
|
|
height: 13.64px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
|
|
[dir='rtl'] & {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
&--active {
|
|
opacity: 1 !important;
|
|
}
|
|
}
|
|
|
|
&__grow-tab {
|
|
flex-grow: 1;
|
|
}
|
|
}
|