提供主题文档 与 组件主题变量替换
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
}
|
||||
|
||||
.layui-avatar.layui-avatar-radius {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../theme/variable.less";
|
||||
|
||||
/** backtop **/
|
||||
@width: 50px;
|
||||
@height: @width;
|
||||
@@ -15,7 +17,7 @@
|
||||
font-size: 40px;
|
||||
background-color: #9f9f9f;
|
||||
color: #ffffff;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
opacity: 0.95;
|
||||
z-index: 999999;
|
||||
:hover {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../theme/variable.less";
|
||||
|
||||
.layui-badge,
|
||||
.layui-badge-dot,
|
||||
.layui-badge-rim {
|
||||
@@ -8,7 +10,7 @@
|
||||
text-align: center;
|
||||
background-color: #ff5722;
|
||||
color: #fff;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
}
|
||||
|
||||
.layui-badge {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
white-space: nowrap;
|
||||
border: 1px solid transparent;
|
||||
background-color: @global-primary-color;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../theme/variable.less";
|
||||
|
||||
.layui-btn-group {
|
||||
vertical-align: middle;
|
||||
font-size: 0;
|
||||
@@ -16,12 +18,12 @@
|
||||
|
||||
.layui-btn-group .layui-btn-primary:hover {
|
||||
border-color: #d2d2d2;
|
||||
color: #009688;
|
||||
color: @global-primary-color;
|
||||
}
|
||||
|
||||
.layui-btn-group .layui-btn:first-child {
|
||||
border-left: none;
|
||||
border-radius: 2px 0 0 2px;
|
||||
border-radius: @global-border-radius 0 0 @global-border-radius;
|
||||
}
|
||||
|
||||
.layui-btn-group .layui-btn-primary:first-child {
|
||||
@@ -29,7 +31,7 @@
|
||||
}
|
||||
|
||||
.layui-btn-group .layui-btn:last-child {
|
||||
border-radius: 0 2px 2px 0;
|
||||
border-radius: 0 @global-border-radius @global-border-radius 0;
|
||||
}
|
||||
|
||||
.layui-btn-group .layui-btn + .layui-btn {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
.layui-card {
|
||||
margin-bottom: 15px;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
.layui-card-header {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
@import "../../theme/variable.less";
|
||||
|
||||
@border-color: #eee;
|
||||
@hover-border-color: #5fb878;
|
||||
@hover-border-color: @global-primary-color;
|
||||
@lg: 40px;
|
||||
@lg-wdith: 200px;
|
||||
@lg-right: 20px;
|
||||
@@ -48,7 +50,7 @@
|
||||
box-sizing: border-box;
|
||||
border: 1px solid @border-color;
|
||||
border-color: @border-color;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
overflow: hidden;
|
||||
.set-size(@lg-wdith, @lg, @lg-right);
|
||||
margin-left: 5px;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
@import "../../theme/variable.less";
|
||||
|
||||
.layui-panel {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
background-color: #fff;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
@@ -704,7 +704,7 @@ a cite {
|
||||
border-style: solid;
|
||||
background-color: #fff;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
}
|
||||
|
||||
.layui-input::-webkit-input-placeholder,
|
||||
@@ -2031,7 +2031,7 @@ a cite {
|
||||
line-height: 38px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 2px;
|
||||
border-radius: @global-border-radius;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user