Blame view

WebRoot/static/ace/css/less/sidebar/shortcuts-toggle.less 1.35 KB
ad5081d3   孙向锦   初始化项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
  //sidebar toggle
  .sidebar {
  
  .sidebar-toggle {
   border-style: solid;
   border-width: 0 0 1px;
  
   text-align: center;
   padding: 3px 0;
  
   position: relative;
  
   > .@{icon} {
  	 padding: 0 5px;
  	 line-height: 18px;
  	 
  	 cursor: pointer;
  	 font-size: @font-size-sidebar-minimize-icon;
  		 
  	 border-radius: 100%;
  	 border: 1px solid;
  
  	 position: relative;
   }
  
   &:before {
  	content: "";
  	display: block;
  
  	height: 0;
  	border-top: 1px solid; 
  	border-color: inherit;
  
  	position: absolute;
  	left: 15px;
  	right: 15px;
  	top: 13px;
   }
  }
  
  
  
  
  
  //sidebar shortcuts icon
  .sidebar-shortcuts {
  	text-align: center;
  
  	min-height: @breadcrumb-height - 1;
  	margin-bottom: 0;
  	overflow: hidden;
  
  	position: relative;
  	border: 0 solid;
  }
  .sidebar-shortcuts:empty {
  	display: none;
  }
  
  
  .sidebar-shortcuts-large {
  	line-height: @breadcrumb-height - 4;
  
  	> .btn {
  		text-align:center;
  		width: 41px;
  		line-height: 24px;
  
  		padding: 0;
  		border-width: 4px;
  
  		> .@{icon} {
  			margin: 0;
  		}
  	}
  }
  
  .sidebar-shortcuts-mini {
  	display: none;
  	font-size: 0;
  	width: 42px;
  
  	padding-top: 2px;
  	padding-bottom: 2px;
  
  
  	> .btn {
  		border-width: 0;// !important;
  		font-size: 0;
  		line-height: 0;
  		padding: 8px;
  		margin: 1px;
  
  		border-radius: 0;
  		.opacity(0.85);
  	}
  }
  @media screen and (-webkit-min-device-pixel-ratio:0) { 
      ::safari-only, .sidebar-shortcuts-mini > .btn {
  		//safari only
  		margin: 0;
      }
  }
  
  }