mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-09-11 14:49:45 +08:00
less 全局变量化
This commit is contained in:
parent
4100d89ea9
commit
aec44dcde8
@ -6,7 +6,7 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
border-radius: 5px;
|
border-radius: @borderRadius;
|
||||||
letter-spacing: 6px;
|
letter-spacing: 6px;
|
||||||
border: 1px solid @borderColor;
|
border: 1px solid @borderColor;
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
@ -323,7 +323,7 @@
|
|||||||
padding: 15px 25px;
|
padding: 15px 25px;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 3em;
|
line-height: 3em;
|
||||||
border-radius: 5px;
|
border-radius: @borderRadius;
|
||||||
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
|
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
|
||||||
|
|
||||||
> div:nth-child(2) {
|
> div:nth-child(2) {
|
||||||
@ -449,7 +449,7 @@
|
|||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
border-radius: 0 0 5px 5px;
|
border-radius: 0 0 @borderRadius @borderRadius;
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -467,7 +467,7 @@
|
|||||||
padding-left: 43px;
|
padding-left: 43px;
|
||||||
background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
|
background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
border-radius: 0 0 5px 5px;
|
border-radius: 0 0 @borderRadius @borderRadius;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@minShadow: 0 2px 3px 0 rgba(0, 0, 0, .11);
|
|
||||||
@maxShadow: 0 2px 3px 0 rgba(0, 0, 0, .22);
|
|
||||||
@borderRadius: 5px;
|
@borderRadius: 5px;
|
||||||
@borderColor: #DCDCDC;
|
@borderColor: #DCDCDC;
|
||||||
|
@minShadow: 0 2px 3px 0 rgba(0, 0, 0, .11);
|
||||||
|
@maxShadow: 0 2px 3px 0 rgba(0, 0, 0, .22);
|
@ -352,11 +352,11 @@ label.think-radio, label.think-checkbox {
|
|||||||
border-top-color: @borderColor;
|
border-top-color: @borderColor;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: @borderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-top-left-radius: 5px;
|
border-top-left-radius: @borderRadius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -369,11 +369,11 @@ label.think-radio, label.think-checkbox {
|
|||||||
|
|
||||||
td {
|
td {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-bottom-right-radius: 5px;
|
border-bottom-right-radius: @borderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-bottom-left-radius: 5px;
|
border-bottom-left-radius: @borderRadius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
@import "console.dynamic.less";
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | ThinkAdmin
|
// | ThinkAdmin
|
||||||
@ -99,7 +100,7 @@ body {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
border-radius: 5px;
|
border-radius: @borderRadius;
|
||||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
|
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +119,7 @@ body {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
text-indent: 35px;
|
text-indent: 35px;
|
||||||
border-radius: 6px;
|
border-radius: @borderRadius;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
background: rgba(0, 0, 0, .12);
|
background: rgba(0, 0, 0, .12);
|
||||||
text-shadow: #000 .1em .1em .1em;
|
text-shadow: #000 .1em .1em .1em;
|
||||||
@ -146,7 +147,7 @@ body {
|
|||||||
height: 45px !important;
|
height: 45px !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
border-radius: 4px !important;
|
border-radius: @borderRadius !important;
|
||||||
letter-spacing: 1px !important;
|
letter-spacing: 1px !important;
|
||||||
box-shadow: 0 15px 30px 0 hsla(0, 0%, 100%, .25) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
|
box-shadow: 0 15px 30px 0 hsla(0, 0%, 100%, .25) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user