提交 | 用户 | 时间
|
58d006
|
1 |
@ace-settings-box-border: #FFB34B; |
A |
2 |
|
|
3 |
|
|
4 |
// other page sections |
|
5 |
|
|
6 |
//the button which scrolls page up |
|
7 |
.btn-scroll-up { |
|
8 |
border-width: 0; |
|
9 |
//position: absolute; |
|
10 |
position: fixed; |
|
11 |
right: 2px; |
|
12 |
z-index: 99; |
|
13 |
|
|
14 |
.transition-duration(0.3s); |
|
15 |
//.transition-property(opacity, bottom); |
|
16 |
|
|
17 |
.opacity(0); |
|
18 |
bottom: -24px; |
|
19 |
visibility: hidden; |
|
20 |
|
|
21 |
&.display { |
|
22 |
.opacity(0.7); |
|
23 |
bottom: 2px; |
|
24 |
visibility: visible; |
|
25 |
} |
|
26 |
&:hover { |
|
27 |
.opacity(1); |
|
28 |
} |
|
29 |
&:focus { |
|
30 |
outline: none; |
|
31 |
} |
|
32 |
} |
|
33 |
|
|
34 |
.enable_container_btn_scroll_up() when(@enable-container = true) { |
|
35 |
@media (min-width: @screen-sm-min) { |
|
36 |
.main-container.container > .btn-scroll-up { |
|
37 |
right: auto; |
|
38 |
margin-left: @container-sm - 30; |
|
39 |
} |
|
40 |
} |
|
41 |
@media (min-width: @screen-md-min) { |
|
42 |
.main-container.container > .btn-scroll-up { |
|
43 |
right: auto; |
|
44 |
margin-left: @container-md - 30; |
|
45 |
} |
|
46 |
} |
|
47 |
@media (min-width: @screen-lg-min) { |
|
48 |
.main-container.container > .btn-scroll-up { |
|
49 |
right: auto; |
|
50 |
margin-left: @container-lg - 30; |
|
51 |
} |
|
52 |
} |
|
53 |
} |
|
54 |
.enable_container_btn_scroll_up(); |
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
.enable_settings_box() when(@enable-settings-box = true) { |
|
61 |
.ace-settings-container { |
|
62 |
position: absolute; |
|
63 |
right: 0; |
|
64 |
top: auto; |
|
65 |
z-index: 12; |
|
66 |
} |
|
67 |
.btn.btn-app.ace-settings-btn { |
|
68 |
float: left; |
|
69 |
display: block; |
|
70 |
text-align: center; |
|
71 |
|
|
72 |
border-radius: 6px 0 0 6px; |
|
73 |
opacity: 0.55; |
|
74 |
|
|
75 |
vertical-align: top; |
|
76 |
margin: 0; |
|
77 |
|
|
78 |
&:hover , &.open { |
|
79 |
opacity: 1; |
|
80 |
} |
|
81 |
|
|
82 |
&.btn-xs { |
|
83 |
width: 42px; |
|
84 |
} |
|
85 |
|
|
86 |
} |
|
87 |
|
|
88 |
.ace-settings-box { |
|
89 |
display: block; |
|
90 |
float: left; |
|
91 |
|
|
92 |
max-width: 0; |
|
93 |
max-height: 0; |
|
94 |
overflow: hidden; |
|
95 |
padding: 0; |
|
96 |
.transform(~"translate(0,0)");//needed, don't know why! |
|
97 |
|
|
98 |
background-color: #FFF; |
|
99 |
border: 0 solid @ace-settings-box-border; |
|
100 |
|
|
101 |
|
|
102 |
.transition(~"max-width 0.25s linear 0s, max-height 0s linear 0.25s, padding 0s linear 0.25s, border-width 0s linear 0.25s"); |
|
103 |
|
|
104 |
&.open { |
|
105 |
max-width: 320px; |
|
106 |
max-height: 1000px; |
|
107 |
|
|
108 |
padding: 0 14px; |
|
109 |
border-width: 2px; |
|
110 |
|
|
111 |
-webkit-transition-delay: 0s; |
|
112 |
-moz-transition-delay: 0s; |
|
113 |
-o-transition-delay: 0s; |
|
114 |
transition-delay: 0s; |
|
115 |
|
|
116 |
.ace-settings-item { |
|
117 |
z-index: auto; |
|
118 |
min-width: 140px; |
|
119 |
} |
|
120 |
} |
|
121 |
|
|
122 |
.ace-settings-item { |
|
123 |
margin: 6px 0; |
|
124 |
color: #444; |
|
125 |
max-height: 24px; |
|
126 |
|
|
127 |
position: relative; |
|
128 |
z-index: -1; |
|
129 |
|
|
130 |
white-space: nowrap; |
|
131 |
|
|
132 |
> label.lbl { |
|
133 |
font-size: @base-font-size; |
|
134 |
} |
|
135 |
} |
|
136 |
} |
|
137 |
|
|
138 |
@media (max-width: @screen-xs) { |
|
139 |
.ace-settings-container { |
|
140 |
text-align: right; |
|
141 |
} |
|
142 |
.ace-settings-box { |
|
143 |
float: none !important;//to override .RTL's |
|
144 |
text-align: left; |
|
145 |
} |
|
146 |
.btn.ace-settings-btn { |
|
147 |
float: none !important;//to override .RTL's |
|
148 |
display: inline-block; |
|
149 |
} |
|
150 |
} |
|
151 |
@media (max-width: @screen-tiny) { |
|
152 |
.ace-settings-box > .clearfix > .pull-left, .ace-settings-box > .clearfix > .pull-right { |
|
153 |
float: none !important; |
|
154 |
} |
|
155 |
} |
|
156 |
|
|
157 |
} |
|
158 |
.enable_settings_box(); |
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
.grid2, .grid3, .grid4 { |
|
166 |
.box-sizing(border-box); |
|
167 |
display: block; |
|
168 |
margin: 0 1%; |
|
169 |
padding: 0 2%; |
|
170 |
float: left; |
|
171 |
|
|
172 |
border-left: 1px solid #E3E3E3; |
|
173 |
&:first-child { |
|
174 |
border-left: none; |
|
175 |
} |
|
176 |
} |
|
177 |
|
|
178 |
.grid2 { |
|
179 |
width: 48%; |
|
180 |
} |
|
181 |
.grid3 { |
|
182 |
width: 31.33%; |
|
183 |
} |
|
184 |
.grid4 { |
|
185 |
width: 23%; |
|
186 |
padding: 0 1%; |
|
187 |
} |
|
188 |
|
|
189 |
|
|
190 |
.draggable-placeholder { |
|
191 |
//for when dragging items around |
|
192 |
border: 2px dashed #D9D9D9 !important; |
|
193 |
background-color: #F7F7F7 !important; |
|
194 |
} |
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
// scrollbar |
|
199 |
//.slimScrollBar { .border-radius(0) !important; } |
|
200 |
//.slimScrollRail { .border-radius(0) !important; } |
|
201 |
|
|
202 |
|
|
203 |
// a few small third party css files put here to reduce http file requests |
|
204 |
// jquery.easy-pie-chart.css |
|
205 |
.easyPieChart, .easy-pie-chart { |
|
206 |
position: relative; |
|
207 |
text-align: center; |
|
208 |
|
|
209 |
canvas { |
|
210 |
position: absolute; |
|
211 |
top: 0; |
|
212 |
left: 0; |
|
213 |
} |
|
214 |
} |
|
215 |
|
|
216 |
.knob-container { |
|
217 |
direction: ltr; |
|
218 |
text-align: left; |
|
219 |
} |
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|