2017-08-23 10:07:14 +00:00
|
|
|
@import "mixins/mixins";
|
|
|
|
@import "checkbox";
|
|
|
|
@import "tag";
|
|
|
|
@import "common/var";
|
|
|
|
|
|
|
|
@include b(table-column) {
|
|
|
|
@include m(selection) {
|
|
|
|
.cell {
|
|
|
|
padding-left: 14px;
|
|
|
|
padding-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include b(table-filter) {
|
2017-09-22 06:30:44 +00:00
|
|
|
border: solid 1px $--border-color-lighter;
|
2017-08-23 10:07:14 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
background-color: $--color-white;
|
|
|
|
box-shadow: $--dropdown-menu-box-shadow;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 2px 0;
|
|
|
|
|
|
|
|
/** used for dropdown mode */
|
|
|
|
@include e(list) {
|
|
|
|
padding: 5px 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include e(list-item) {
|
|
|
|
line-height: 36px;
|
|
|
|
padding: 0 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: $--font-size-base;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $--dropdown-menuItem-hover-fill;
|
|
|
|
color: $--dropdown-menuItem-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include when(active) {
|
|
|
|
background-color: $--color-primary;
|
|
|
|
color: $--color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include e(content) {
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include e(bottom) {
|
2017-09-22 06:30:44 +00:00
|
|
|
border-top: 1px solid $--border-color-lighter;
|
2017-08-23 10:07:14 +00:00
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
2017-09-22 06:30:44 +00:00
|
|
|
color: $--color-text-regular;
|
2017-08-23 10:07:14 +00:00
|
|
|
cursor: pointer;
|
2017-09-22 06:30:44 +00:00
|
|
|
font-size: $--font-size-small;
|
2017-08-23 10:07:14 +00:00
|
|
|
padding: 0 3px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $--color-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
2017-09-22 06:30:44 +00:00
|
|
|
color: $--disabled-color-base;
|
2017-08-23 10:07:14 +00:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include e(checkbox-group) {
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
label.el-checkbox {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-checkbox:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|