PluginProbe
FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager / 1.2.1
FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager v1.2.1
10.56 1.2.1 10 10.1 10.2 10.3 10.31 10.32 10.33 10.34 10.50 10.51 10.52 10.53 10.55 9.0 9.0.1 9.4 trunk 1.0.0 1.1 1.2
easy-code-manager / framework / css / bootstrap / style.less

style.less in FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager 1.2.1, at framework/css/bootstrap/style.less

469 lines 13.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 //bootstrap
2 @import "less/bootstrap.less";
3
4 //fonts
5 @import "fonts/fonts.css";
6
7 //fontawesome
8 @import "font-awesome/css/font-awesome.min.css";
9
10
11 /******* STYLES *******/
12
13
14 /*varialbles*/
15 @white: #FFF;
16 @black: #000;
17 @default: #636466;
18 @orange: #D48A48;
19 @red: #D14040;
20
21 /*fonts*/
22 @helve: 'Helvetica', sans-serif;
23
24
25 /*general*/
26 body{
27 color: @default;
28 font: 15px @helve;
29 }
30
31 a{
32 color: @default;
33 &:hover,
34 &:focus,
35 &:active,
36 &.active{
37 color: @orange;
38 text-decoration: none;
39 }
40 }
41
42 button{
43 display: inline-block;
44 border: 1px solid #D5D7D8;
45 padding: 10px;
46 background: @white;
47 margin: 0 11px 0 0;
48 text-align: center;
49 min-width: 40px;
50 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
51 padding: 5px 8px;
52 margin: 0 6px 0 0;
53 font: 14px @helve;
54 min-width: 30px;
55 }
56 @media(max-width: @screen-xs-max){
57 padding: 5px 8px;
58 margin: 0 10px 0 0;
59 font: 14px @helve;
60 min-width: 30px;
61 }
62 &:hover,
63 &.highlight{
64 color: @orange;
65 text-decoration: none;
66 }
67 &.active{
68 background: #C66D16;
69 color: @white;
70 }
71 &.red{
72 color: @red;
73 }
74 }
75
76 input[type="text"]{
77 &:extend(button);
78 text-align: left;
79 min-width: auto;
80 cursor: auto;
81 -webkit-appearance: none;
82 -webkit-border-radius: 0;
83 }
84
85 ::-webkit-input-placeholder{
86 opacity: 1;
87 color: @black;
88 }
89 \:-moz-placeholder{
90 opacity: 1;
91 color: @black;
92 }
93 ::-moz-placeholder{
94 opacity: 1;
95 color: @black;
96 }
97 \:-ms-input-placeholder{
98 opacity: 1;
99 color: @black;
100 }
101
102
103
104 /*header*/
105 .header{
106 margin: 30px 0;
107 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
108 margin: 20px 0;
109 }
110 @media(max-width: @screen-xs-max){
111 margin: 10px 0;
112 }
113 .logo{
114 img{
115 width: 175px;
116 @media(max-width: @screen-xs-max){
117 width: 125px;
118 }
119 }
120 }
121 }
122
123 /*main-nav*/
124 .main-nav{
125 margin: 0 0 15px;
126 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
127 margin: 0 0 10px;
128 }
129 .menu-wrap{
130 display: inline-block;
131 vertical-align: top;
132 float: right;
133 @media(max-width: @screen-xs-max){
134 float: none;
135 display: block;
136 padding: 0 40px 0 0;
137 position: relative;
138 overflow: hidden;
139 }
140 .main-menu{
141 display: inline-block;
142 float: right;
143 margin: 0 50px 0 0;
144 @media(min-width: @screen-md-min) and (max-width: @screen-md-max){
145 margin: 0 100px 0 0;
146 }
147 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
148 margin: 0 50px 0 0;
149 }
150 @media(max-width: @screen-xs-max){
151 float: none;
152 display: block;
153 margin: 10px 0;
154 }
155 ul{
156 .list-unstyled;
157 margin: 0;
158 > li{
159 float: left;
160 position: relative;
161 margin: 0 0 10px;
162 > a{
163 &:extend(button);
164 background: @white;
165 -webkit-appearance: none;
166 -webkit-border-radius: 0;
167 &:hover,
168 &.highlight{
169 color: @orange;
170 text-decoration: none;
171 }
172 }
173 > ul{
174 position: absolute;
175 z-index: 9;
176 left: 0;
177 visibility: hidden; /* hides sub-menu */
178 opacity: 0;
179 -webkit-transition: all 0.3s ease;
180 -moz-transition: all 0.3s ease;
181 -o-transition: all 0.3s ease;
182 transition: all 0.3s ease;
183 > li{
184 display: block;
185 margin: 0;
186 > a{
187 white-space: nowrap;
188 background: @white;
189 }
190 }
191 }
192 &:hover > ul{
193 visibility: visible; /* shows sub-menu */
194 opacity: 1;
195 }
196 }
197 }
198 }
199 a.collapse{
200 float: right;
201 display: inline-block;
202 border: 1px solid #D5D7D8;
203 border-bottom: 0;
204 min-width: 40px;
205 margin: 0 10px 0 0;
206 @media(max-width: @screen-sm-max){
207 min-width: 30px;
208 position: absolute;
209 right: 0;
210 bottom: 10px;
211 }
212 div{
213 border-bottom: 1px solid #D5D7D8;
214 height: 13px;
215 @media(max-width: @screen-sm-max){
216 height: 10px;
217 }
218 }
219 &.active{
220 div{
221 height: 20px;
222 @media(max-width: @screen-sm-max){
223 height: 15px;
224 }
225 &.target{
226 display: none;
227 }
228 }
229 }
230 }
231 }
232 }
233
234 /*content*/
235 .content{
236 margin: 0 0 35px;
237 .content-head{
238 background: #E2E3E4;
239 padding: 8px 10px 3px;
240 position: relative;
241 button{
242 margin: 0 5px 5px 0;
243 float: left;
244 &.add-template{
245 float: right;
246 @media(max-width: @screen-sm-max){
247 float: none;
248 }
249 }
250 }
251 input[type="text"]{
252 width: 250px;
253 float: left;
254 @media(min-width: @screen-md-min) and (max-width: @screen-md-max){
255 margin: 0 5px 5px 0;
256 }
257 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
258 margin: 0 5px 5px 0;
259 }
260 @media(max-width: @screen-xs-max){
261 margin: 0 5px 5px 0;
262 float: left;
263 }
264 }
265 .content-head-right{
266 clear: both;
267 @media(max-width: @screen-sm-max){
268 padding-right: 67px;
269 position: relative;
270 overflow: hidden;
271 }
272 .float-right{
273 display: inline-block;
274 float: right;
275 @media(max-width: @screen-sm-max){
276 position: absolute;
277 z-index: 2;
278 right: 0;
279 bottom: 5px;
280 }
281 }
282 }
283 a.triangle-btn{
284 display: inline-block;
285 background: #F5F5F6;
286 padding: 10px;
287 border: 1px solid #D5D7D8;
288 text-align: center;
289 min-width: 40px;
290 vertical-align: top;
291 @media(max-width: @screen-sm-max){
292 min-width: 30px;
293 padding: 5px;
294 }
295 span.glyphicon{
296 color: #D5D7D8;
297 font-size: 20px;
298 line-height: 18px;
299 -ms-transform: rotate(-90deg); /* IE 9 */
300 -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
301 transform: rotate(-90deg);
302 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
303 font-size: 16px;
304 }
305 &.active{
306 -ms-transform: rotate(90deg); /* IE 9 */
307 -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
308 transform: rotate(90deg);
309 }
310 }
311 &.triangle-2{
312 display: none;
313 @media(max-width: @screen-xs-max){
314 display: inline-block;
315 }
316 span.glyphicon{
317 -ms-transform: rotate(180deg); /* IE 9 */
318 -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
319 transform: rotate(180deg);
320 &.active{
321 -ms-transform: rotate(0deg); /* IE 9 */
322 -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
323 transform: rotate(0deg);
324 }
325 }
326 }
327 }
328 }
329 .content-body{
330 border: 1px solid #E2E3E4;
331 border-top: 0;
332 -webkit-transition: max-height 0.3s ease;
333 -moz-transition: max-height 0.3s ease;
334 -o-transition: max-height 0.3s ease;
335 transition: max-height 0.3s ease;
336 overflow: hidden;
337 max-height: 1000px;
338 position: relative;
339 .column-left{
340 padding-right: 0;
341 @media(max-width: @screen-xs-max){
342 padding-right: 15px;
343 }
344 article{
345 padding: 10px 10px 20px;
346 height: 450px;
347 }
348 }
349 .column-right{
350 padding-left: 0;
351 @media(max-width: @screen-xs-max){
352 padding-left: 15px;
353 position: static;
354 }
355 .sidebar{
356 background: #F2F2F3;
357 padding: 14px 10px 10px 16px;
358 @media(max-width: @screen-xs-max){
359 padding: 10px;
360 }
361 @media(max-width: @screen-xs-max){
362 position: absolute;
363 z-index: 999;
364 top: 0;
365 right: -455px;
366 -webkit-transition: right 0.3s ease;
367 -moz-transition: right 0.3s ease;
368 -o-transition: right 0.3s ease;
369 transition: right 0.3s ease;
370 }
371 &.active{
372 @media(max-width: @screen-xs-max){
373 right: 0;
374 }
375 }
376 .sidebar-head{
377 margin: 0 0 10px;
378 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
379 font: 14px @helve;
380 }
381 a{
382 display: inline-block;
383 float: right;
384 margin: 0 4px 0 0;
385 }
386 }
387 .sidebar-content{
388 margin: 0 0 10px;
389 @media(max-width: @screen-xs-max){
390 padding: 0;
391 }
392 ul.tabs{
393 .list-unstyled;
394 margin: 0;
395 overflow: hidden;
396 border-left: 1px solid #D5D7D8;
397 li{
398 float: left;
399 a{
400 display: inline-block;
401 padding: 10px;
402 border: 1px solid #D5D7D8;
403 border-bottom: 0;
404 border-left: 0;
405 background: @white;
406 @media(min-width: @screen-md-min) and (max-width: @screen-md-max){
407 padding: 10px 8px;
408 }
409 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
410 font: 14px @helve;
411 padding: 5px 8px;
412 }
413 @media(max-width: @screen-xs-max){
414 font: 14px @helve;
415 padding: 5px;
416 }
417 &:hover,
418 &:active,
419 &:focus,
420 &.active{
421 color: @orange;
422 }
423 }
424 }
425 }
426 .tab-contents{
427 border: 1px solid #D5D7D8;
428 background: @white;
429 overflow: auto;
430 height: 331px;
431 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
432 height: 341px;
433 }
434 @media(max-width: @screen-xs-max){
435 height: 350px;
436 }
437 div{
438 display: none;
439 padding: 10px;
440 &.active{
441 display: block;
442 }
443 }
444 }
445 }
446 .sidebar-feet{
447 @media(min-width: @screen-sm-min) and (max-width: @screen-sm-max){
448 font: 14px @helve;
449 }
450 a{
451 color: @orange;
452 }
453 .loaded{
454 display: inline-block;
455 float: right;
456 margin: 0 4px 0 0;
457 span{
458 color: @orange;
459 }
460 }
461 }
462 }
463 }
464 &.minimize{
465 max-height: 0;
466 }
467 }
468 }
469