mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
103 lines
2.1 KiB
SCSS
103 lines
2.1 KiB
SCSS
/**Variable**/
|
|
@import './helpers/mixin.scss';
|
|
|
|
/*toolbar*/
|
|
.vxe-toolbar {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 0.6em 0;
|
|
color: $vxe-font-color;
|
|
font-family: $vxe-font-family;
|
|
background-color: $vxe-toolbar-background-color;
|
|
&:after {
|
|
content: "";
|
|
display: block;
|
|
clear: both;
|
|
height: 0;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
}
|
|
&.is--perfect {
|
|
border: 1px solid $vxe-table-border-color;
|
|
border-bottom-width: 0;
|
|
background-color: $vxe-table-header-background-color;
|
|
}
|
|
&.is--loading {
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: $vxe-loading-z-index;
|
|
user-select: none;
|
|
background-color: $vxe-loading-background-color;
|
|
}
|
|
}
|
|
.vxe-buttons--wrapper {
|
|
flex-grow: 1;
|
|
& > .vxe-button+.vxe-button--item,
|
|
& > .vxe-button--item+.vxe-button,
|
|
& > .vxe-button--item+.vxe-button--item {
|
|
margin-left: 0.8em;
|
|
}
|
|
& > .vxe-button--item {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.vxe-tools--wrapper {
|
|
& > .vxe-button+.vxe-tool--item,
|
|
& > .vxe-tool--item+.vxe-button,
|
|
& > .vxe-tool--item+.vxe-tool--item {
|
|
margin-left: 0.8em;
|
|
}
|
|
& > .vxe-tool--item {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.vxe-tools--wrapper {
|
|
& > .vxe-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.vxe-buttons--wrapper,
|
|
.vxe-tools--wrapper,
|
|
.vxe-tools--operate {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.vxe-buttons--wrapper,
|
|
.vxe-tools--wrapper {
|
|
flex-wrap: wrap;
|
|
}
|
|
.vxe-tools--operate {
|
|
flex-shrink: 0;
|
|
}
|
|
.vxe-custom--wrapper {
|
|
position: relative;
|
|
&.is--active {
|
|
& > .vxe-button {
|
|
background-color: $vxe-toolbar-custom-active-background-color;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.vxe-toolbar {
|
|
font-size: $vxe-font-size;
|
|
&.size--medium {
|
|
font-size: $vxe-font-size-medium;
|
|
}
|
|
&.size--small {
|
|
font-size: $vxe-font-size-small;
|
|
}
|
|
&.size--mini {
|
|
font-size: $vxe-font-size-mini;
|
|
}
|
|
} |