mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
9db971768b
* updated ui for settings page * lint fix * resolved errors * fixed search bar css * fixed css * lint fix * fixed tests * fixed indentation * updated settings aria label
96 lines
1.6 KiB
SCSS
96 lines
1.6 KiB
SCSS
.tab-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
|
|
&__tab {
|
|
@include Paragraph;
|
|
|
|
color: var(--color-text-default);
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
box-sizing: border-box;
|
|
transition: opacity 200ms ease-in-out;
|
|
background-color: unset;
|
|
text-align: start;
|
|
position: relative;
|
|
|
|
@include screen-sm-max {
|
|
@include H4;
|
|
|
|
opacity: 1;
|
|
}
|
|
|
|
&__selected-indicator {
|
|
width: 4px;
|
|
height: calc(100% - 8px);
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
}
|
|
|
|
&__content {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
&__title {
|
|
@include H4;
|
|
|
|
@include screen-sm-min {
|
|
@include H6;
|
|
}
|
|
}
|
|
|
|
&__description {
|
|
display: none;
|
|
|
|
@include screen-sm-max {
|
|
@include H6;
|
|
|
|
display: block;
|
|
font-weight: 300;
|
|
margin-top: 8px;
|
|
min-height: 14px;
|
|
}
|
|
}
|
|
|
|
&__icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-inline-end: 16px;
|
|
flex: 0 0 18px;
|
|
}
|
|
}
|
|
|
|
&__caret {
|
|
display: none;
|
|
|
|
@include screen-sm-max {
|
|
display: block;
|
|
margin-inline-start: auto;
|
|
margin-inline-end: 8px;
|
|
|
|
[dir='rtl'] & {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
&--active {
|
|
opacity: 1 !important;
|
|
|
|
@include screen-sm-min {
|
|
background-color: var(--color-primary-muted);
|
|
}
|
|
}
|
|
}
|
|
|
|
&__grow-tab {
|
|
flex-grow: 1;
|
|
}
|
|
}
|