feat: 初始化
This commit is contained in:
60
pages/components/menuLanguageSelector/index.scss
Normal file
60
pages/components/menuLanguageSelector/index.scss
Normal file
@ -0,0 +1,60 @@
|
||||
.menuItem {
|
||||
min-height: 50px;
|
||||
margin: 0px 28px 0px 16px;
|
||||
padding: 0px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 10px;
|
||||
&.active {
|
||||
color: #fff;
|
||||
background-color: #29bbe4;
|
||||
}
|
||||
}
|
||||
.selectorWrapper {
|
||||
position: relative;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
// align-items: center;
|
||||
.selector {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 10px;
|
||||
margin: 0px 10px 0px 16px;
|
||||
padding: 0px 10px;
|
||||
.selectorLabel {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.optionsWrapper {
|
||||
flex-shrink: 0;
|
||||
height: 0px;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease-out;
|
||||
&.visible {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 320px;
|
||||
opacity: 1;
|
||||
}
|
||||
.option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 100px;
|
||||
height: 32px;
|
||||
padding: 4px 20px 4px 50px;
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
&.active {
|
||||
color: #fff;
|
||||
background-color: #29bbe4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user