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