Files
vic-user-react/src/components/AccountItem/style.less
2019-09-02 17:56:03 +08:00

49 lines
757 B
Plaintext

@import '../../global.less';
.item {
background-color: #fff;
padding: 10px 20px;
border: 1px solid lighten(@primary-color, 40%);
display: flex;
flex-direction: row;
align-items: center;
transition: background-color .2s;
user-select: none;
border-radius: 8px;
&: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;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.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;
}