Reinit project
This commit is contained in:
43
src/components/AccountItem/style.less
Normal file
43
src/components/AccountItem/style.less
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
@import '../../global.less';
|
||||
|
||||
.item {
|
||||
background-color: #fff;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
transition: background-color .2s;
|
||||
user-select: none;
|
||||
|
||||
&:active {
|
||||
background-color: @bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
@titleWidth: 80px;
|
||||
// flex-basis: @titleWidth;
|
||||
min-width: @titleWidth;
|
||||
}
|
||||
|
||||
.message {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
margin: 0 10px;
|
||||
color: @primary-color;
|
||||
}
|
||||
|
||||
.preview {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
margin: 0 10px;
|
||||
color: @hint-color;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.go {
|
||||
flex-shrink: 0;
|
||||
color: lightgrey;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
Reference in New Issue
Block a user