mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
f5e86d0351
* fix error with color variable - fix rebase * clean list search & fuse threshold decreased * update search-icon , fix tests * nice to have highlighting text & cleaning * unit test on settings & search input ui up on expanded view * fix color variable in alert scss * setting search input padding right up * fix dom warning * util/search test added & Dom element warning fix * renaming files * fix color text in settings search * settings search highlight text refacto & fix ui * fix settings-search test & renaming * Fix styling on search field for edge cases, update components and e2e E2E tests update for search feature Update components from class to functional component # Fix storybook for search box Fix styling Fix unit tests fix: remove z-index Fix unit tests Co-authored-by: amerkadicE <amer.kadic@endava.com>
103 lines
1.8 KiB
SCSS
103 lines
1.8 KiB
SCSS
.tab-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
|
|
|
|
&__tab {
|
|
@include Paragraph;
|
|
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: baseline;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
box-sizing: border-box;
|
|
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;
|
|
|
|
border-bottom: 1px solid var(--alto);
|
|
opacity: 1;
|
|
}
|
|
|
|
&__content {
|
|
padding: 12px 18px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
&__title {
|
|
@include H4;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
@include H6;
|
|
}
|
|
}
|
|
|
|
&__description {
|
|
display: none;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
@include H6;
|
|
|
|
display: block;
|
|
font-weight: 300;
|
|
margin-top: 8px;
|
|
min-height: 14px;
|
|
}
|
|
}
|
|
|
|
|
|
&__icon {
|
|
margin-inline-end: 16px;
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
&__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;
|
|
margin-inline-start: auto;
|
|
margin-top: 16px;
|
|
margin-inline-end: 16px;
|
|
|
|
[dir='rtl'] & {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
&--active {
|
|
opacity: 1 !important;
|
|
}
|
|
}
|
|
|
|
&__grow-tab {
|
|
flex-grow: 1;
|
|
}
|
|
}
|