更新文档

This commit is contained in:
就眠儀式
2022-02-07 13:42:38 +08:00
parent e24297f912
commit 5c2fc10e95
13 changed files with 71 additions and 31 deletions

View File

@@ -1,5 +1,8 @@
@import "../../theme/variable.less";
@button-primary-color: @global-primary-color;
@button-border-radius: @global-border-radius;
.layui-btn {
height: 38px;
line-height: 36px;
@@ -9,8 +12,8 @@
text-align: center;
white-space: nowrap;
border: 1px solid transparent;
background-color: @global-primary-color;
border-radius: @global-border-radius;
background-color: @button-primary-color;
border-radius: @button-border-radius;
cursor: pointer;
}

View File

@@ -1,5 +1,8 @@
@import "../../theme/variable.less";
@button-primary-color: @global-primary-color;
@button-border-radius: @global-border-radius;
.layui-btn-group {
vertical-align: middle;
font-size: 0;
@@ -18,12 +21,12 @@
.layui-btn-group .layui-btn-primary:hover {
border-color: #d2d2d2;
color: @global-primary-color;
color: @button-primary-color;
}
.layui-btn-group .layui-btn:first-child {
border-left: none;
border-radius: @global-border-radius 0 0 @global-border-radius;
border-radius: @button-border-radius 0 0 @button-border-radius;
}
.layui-btn-group .layui-btn-primary:first-child {
@@ -31,7 +34,7 @@
}
.layui-btn-group .layui-btn:last-child {
border-radius: 0 @global-border-radius @global-border-radius 0;
border-radius: 0 @button-border-radius @button-border-radius 0;
}
.layui-btn-group .layui-btn + .layui-btn {

View File

@@ -18,7 +18,7 @@
.layui-slider-btn-v {
width: 12px;
height: 12px;
background-color: @global-fore-color;
background-color: @global-back-color;
position: absolute;
border: 2px solid @global-primary-color;
border-radius: 50%;
@@ -40,7 +40,7 @@
.layui-slider-line-v {
width: 100%;
height: 4px;
background-color: @global-fore-color;
background-color: #eee;
position: absolute;
top: 6px;
}
@@ -66,9 +66,8 @@
.layui-slider-vertical-btn {
width: 12px;
height: 12px;
background-color: @global-fore-color;
background-color: @global-back-color;
position: absolute;
// top: -7px;
border: 2px solid @global-primary-color;
border-radius: 50%;
cursor: pointer;
@@ -92,7 +91,7 @@
height: 100%;
position: absolute;
left: 7px;
background-color: @global-fore-color;
background-color: #eee;
}
.layui-slider-srange {

View File

@@ -8,7 +8,7 @@
@global-border-radius: 2px;
// 前景色
@global-fore-color: #ffffff;
@global-fore-color: #393D49;
// 背景色
@global-back-color: #393D49;
@global-back-color: #ffffff;