148 lines
3.2 KiB
SCSS
Executable File
148 lines
3.2 KiB
SCSS
Executable File
@import '../../../styles/mixin.scss';
|
|
|
|
.group-bar {
|
|
min-height: 5rem;
|
|
.curr-group {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
SimSun, sans-serif;
|
|
background-color: $color-bg-dark;
|
|
color: $color-white;
|
|
padding: .24rem .24rem 0;
|
|
.curr-group-name {
|
|
color: $color-white;
|
|
font-size: .22rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
.text {
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
max-width: 140px;
|
|
font-weight: 200;
|
|
vertical-align: bottom;
|
|
}
|
|
.name{
|
|
display: inline-block;
|
|
// width: 117px;
|
|
margin-right: 20px;
|
|
overflow: hidden;
|
|
text-overflow:ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.editSet{
|
|
color: rgba(255, 255, 255, 0.85);
|
|
&:hover{
|
|
color: #2395f1;
|
|
}
|
|
}
|
|
.ant-dropdown-link{
|
|
float: right;
|
|
display: block;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
&:hover{
|
|
color: #2395f1;
|
|
}
|
|
}
|
|
.operate {
|
|
font-size: 0;
|
|
width: 150px;
|
|
display: inline-block;
|
|
i{
|
|
margin-left: 4px;
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 0px;
|
|
}
|
|
}
|
|
}
|
|
.curr-group-desc {
|
|
color: $color-white-secondary;
|
|
font-size: 13px;
|
|
max-height: 54px;
|
|
margin-top: .16rem;
|
|
text-overflow:ellipsis;
|
|
overflow:hidden;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
display: -webkit-box;
|
|
}
|
|
.delete-group, .edit-group {
|
|
font-size: 14px;
|
|
margin-left: .08rem;
|
|
cursor: pointer;
|
|
border: 1px solid $color-white;
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
transition: all .2s;
|
|
}
|
|
.delete-group:hover, .edit-group:hover {
|
|
background-color: $color-blue;
|
|
border: 1px solid $color-blue;
|
|
}
|
|
}
|
|
.group-operate {
|
|
padding: 16px 24px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background-color: $color-bg-dark;
|
|
.search {
|
|
flex-grow: 1;
|
|
}
|
|
.ant-input {
|
|
color: $color-white;
|
|
background-color: $color-bg-dark;
|
|
}
|
|
.ant-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
|
color: $color-white-secondary;
|
|
}
|
|
.ant-input-suffix {
|
|
color: $color-white;
|
|
}
|
|
}
|
|
.group-list {
|
|
overflow-x: hidden;
|
|
border-bottom: 1px solid #e9e9e9;
|
|
padding-bottom: 24px;
|
|
border: none;
|
|
.group-item {
|
|
// height: 48px;
|
|
// line-height: 48px;
|
|
// padding: 0 24px;
|
|
font-size: 14px;
|
|
}
|
|
.group-item:hover {
|
|
// background: #34495E;
|
|
// color: $color-white;
|
|
}
|
|
.group-item.selected {
|
|
// background: #34495E;
|
|
}
|
|
.group-name {
|
|
float: left;
|
|
}
|
|
.group-edit {
|
|
float: right;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
.add-group-modal {
|
|
.modal-input {
|
|
margin: 24px;
|
|
}
|
|
.label {
|
|
text-align: right;
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
.user-menu{
|
|
a{
|
|
&:hover{
|
|
color: #ccc;
|
|
}
|
|
}
|
|
}
|