2022-06-14 23:50:58 +08:00
|
|
|
@mixin minScrollBar {
|
2022-07-19 20:56:01 +08:00
|
|
|
// 火狐浏览器
|
|
|
|
scrollbar-width: thin;
|
|
|
|
scrollbar-color: #d4d6d9 transparent;
|
|
|
|
|
2022-06-14 23:50:58 +08:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
// display: none;
|
|
|
|
background-color: transparent;
|
|
|
|
width: 6px;
|
|
|
|
overflow: visible;
|
|
|
|
height: 10px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
width: 6px;
|
2022-07-19 20:56:01 +08:00
|
|
|
background-color: #d4d6d9; // #babac0;
|
2022-06-14 23:50:58 +08:00
|
|
|
border-radius: 6px;
|
|
|
|
border: 4px solid transparent;
|
|
|
|
|
|
|
|
&:hover {
|
2022-07-19 20:56:01 +08:00
|
|
|
background-color: rgb(92, 95, 102, 0.5);
|
2022-06-14 23:50:58 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin flexBox(
|
|
|
|
$direction: row,
|
|
|
|
$justify-content: space-between,
|
|
|
|
$align-items: center,
|
|
|
|
$wrap: nowrap
|
|
|
|
) {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: $direction $wrap;
|
|
|
|
justify-content: $justify-content;
|
|
|
|
align-items: $align-items;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin panel-icon {
|
|
|
|
fill: var(--primary);
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin panel-group-bg {
|
|
|
|
background: #fafafa;
|
|
|
|
padding: #{px2rem(10px)};
|
|
|
|
border-radius: #{$Editor-borderRadius};
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin collapse-header-text {
|
|
|
|
color: #070c14;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin extend-more {
|
|
|
|
position: relative;
|
|
|
|
background-color: #f7f7f9;
|
|
|
|
border-radius: px2rem(2px);
|
|
|
|
padding: px2rem(12px) px2rem(8px);
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
position: absolute;
|
|
|
|
top: -6px;
|
|
|
|
left: 12px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
background-color: #f7f7f9;
|
|
|
|
}
|
|
|
|
|
2024-01-05 17:50:40 +08:00
|
|
|
fieldset {
|
|
|
|
margin-bottom: var(--Form-item-gap);
|
|
|
|
|
|
|
|
.cxd-Collapse-content {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-14 23:50:58 +08:00
|
|
|
&.right::after {
|
|
|
|
right: 12px;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin panel-sm-content {
|
2023-09-21 16:15:42 +08:00
|
|
|
// @extend :root;
|
2023-05-26 14:24:03 +08:00
|
|
|
--fonts-size-7: #{$Editor-right-panel-font-size};
|
2022-06-14 23:50:58 +08:00
|
|
|
--Form-input-lineHeight: #{$Editor-right-panel-line-height};
|
|
|
|
--InputGroup-select-borderColor: #{$Editor-right-panel-border-color};
|
|
|
|
--Form-input-borderColor: #{$Editor-right-panel-border-color};
|
|
|
|
}
|