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