Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/******************
2
Page Quick Sidebar
3
******************/
4
 
5
/***
6
Quick Sidebar Layout
7
***/
8
 
9
/* Quick sidebar toggler */
10
 
11
.page-header {
12
	.top-menu {
13
		.dropdown-quick-sidebar-toggler {
14
			> .dropdown-toggle {
15
				padding: $header-top-menu-general-item-padding !important;
16
				i {
17
					top: 0px;
18
 
19
					.page-quick-sidebar-open &:before {
20
						content: "\e066";
21
					}
22
				}
23
			}
24
		}
25
	}
26
}
27
 
28
/* Quick sidebar wrapper */
29
 
30
.page-quick-sidebar-wrapper {
31
	transition: right 0.3s;
32
	z-index: $zindex-quick-sidebar;
33
	position: fixed;
34
	top: $header-height;
35
	bottom: 0;
36
	right: -$quick-sidebar-width;
37
	width: $quick-sidebar-width;
38
 
39
	.page-footer-fixed & {
40
		bottom: $page-footer-height;
41
	}
42
 
43
	.page-quick-sidebar-full-height & {
44
		top: 0;
45
		bottom: 0;
46
	}
47
 
48
	.page-quick-sidebar-open & {
49
		transition: right 0.3s;
50
		right: 0;
51
	}
52
}
53
 
54
/***
55
Quick Sidebar Toggler
56
***/
57
 
58
.page-quick-sidebar-toggler {
59
	overflow: hidden;
60
	z-index: $zindex-quick-sidebar;
61
	display: none;
62
	width: 28px;
63
	height: 27px;
64
	position: fixed;
65
	top: $header-height - 27px;
66
	right: 15px;
67
	text-align: center;
68
	padding-top: 6px;
69
 
70
	.page-quick-sidebar-open & {
71
		display: inline-block;
72
	}
73
 
74
	> i {
75
		font-size: 17px;
76
	}
77
}
78
 
79
/* quick sidebar top position fix for mobile view */
80
@media (max-width: $screen-xs-min) { /* 480px */
81
	.page-quick-sidebar-wrapper {
82
		top: $header-height-xs;
83
	}
84
 
85
	.page-quick-sidebar-toggler {
86
		top: $header-height-xs - 27px;
87
	}
88
}
89
 
90
.page-header,
91
.page-sidebar-wrapper,
92
.page-content-wrapper,
93
.page-footer {
94
	transition: margin 0.3s;
95
}
96
 
97
/* Quick sidebar with push content */
98
 
99
.page-quick-sidebar-open.page-quick-sidebar-push-content {
100
	.page-sidebar-wrapper {
101
		transition: margin-left 0.3s;
102
		margin-left: -$quick-sidebar-width;
103
	}
104
 
105
	.page-content-wrapper {
106
		transition: margin-left 0.3s;
107
		margin-left: -$quick-sidebar-width;
108
	}
109
 
110
	.page-footer {
111
		transition: margin-right 0.3s;
112
		margin-right: $quick-sidebar-width;
113
		margin-left: - $quick-sidebar-width;
114
	}
115
}
116
 
117
 
118
/* Page sidebar reversed */
119
 
120
.page-sidebar-reversed.page-quick-sidebar-open.page-quick-sidebar-push-content {
121
	.page-sidebar-wrapper {
122
		transition: margin-right 0.3s;
123
		margin-right: $quick-sidebar-width;
124
	}
125
}
126
 
127
/* Quick sidebar with full height content */
128
 
129
.page-quick-sidebar-open.page-quick-sidebar-push-content.page-quick-sidebar-full-height {
130
	.page-header {
131
		transition: margin-left 0.3s;
132
		margin-left: - $quick-sidebar-width;
133
	}
134
}
135
 
136
.page-quick-sidebar-open.page-quick-sidebar-push-content.page-footer-fixed:not(.page-quick-sidebar-full-height) {
137
	.page-footer {
138
		margin-left: 0;
139
		margin-right: 0;
140
	}
141
}
142
 
143
/* Quick sidebar with transparent content */
144
 
145
.page-quick-sidebar-open.page-quick-sidebar-over-content-transparent {
146
	.page-quick-sidebar-wrapper {
147
		opacity: 0.9;
148
        filter: alpha(opacity=90);
149
	}
150
}
151
 
152
/* Hide the responsive menu if its shown while the quick sidebar opened on mobile  */
153
 
154
@media (max-width: $screen-sm-max) { /* 991px */
155
	.page-quick-sidebar-open.page-quick-sidebar-push-content {
156
		.page-sidebar-wrapper {
157
			display: none;
158
		}
159
	}
160
}
161
 
162
/***
163
Quick Sidebar Content
164
***/
165
 
166
.page-quick-sidebar-wrapper {
167
	overflow: hidden;
168
 
169
	.page-quick-sidebar {
170
 
171
		/* Quick sidebar tabs */
172
		.nav-justified {
173
			margin: 0;
174
			padding: 0;
175
 
176
			> li {
177
				display: table-cell !important;
178
				width: 1%  !important;
179
 
180
				> a {
181
					padding: $quick-sidebar-tab-item-padding;
182
					border: 0;
183
					height: $header-height;
184
					font-size: 13px;
185
					text-transform: uppercase;
186
 
187
                    @include border-radius(0);
188
 
189
					> .badge {
190
						position: absolute;
191
						top: 12px;
192
						right: 3px;
193
					}
194
 
195
					&:hover {
196
						border: 0;
197
					}
198
				}
199
 
200
				.dropdown-menu {
201
	               	margin-top: 8px;
202
	                margin-right: 20px;
203
 
204
	                &:before {
205
						position: absolute;
206
						top: -7px;
207
						right: 19px;
208
						display: inline-block !important;
209
						border-right: 7px solid transparent;
210
						border-left: 7px solid transparent;
211
						border-bottom-color: rgba(0, 0, 0, 0.2);
212
						content: '';
213
					}
214
 
215
					&:after {
216
						position: absolute;
217
						top: -6px;
218
						right: 20px;
219
						display: inline-block !important;
220
						border-right: 6px solid transparent;
221
						border-bottom: 6px solid #fff;
222
						border-left: 6px solid transparent;
223
						content: '';
224
					}
225
	            }
226
			}
227
		}
228
 
229
		/* Quick sidebar tabs content */
230
		.nav-justified {
231
			> .tab-content {
232
				margin: 0;
233
				padding: 0;
234
			}
235
		}
236
 
237
		/* Quick sidebar general list heading */
238
		.list-heading {
239
			font-size: 16px;
240
			margin: 10px 10px;
241
		}
242
 
243
		/* Quick sidebar general list-items */
244
		.list-items {
245
			margin: 0;
246
			padding: 0;
247
			list-style: none;
248
 
249
			> li {
250
				margin: 0;
251
		        padding: 10px;
252
		        background: none;
253
		        border-bottom-width: 1px;
254
		        border-bottom-style: solid;
255
 
256
	            &:last-child {
257
		            border-bottom: 0;
258
		        }
259
 
260
		        &:hover {
261
		        }
262
	    	}
263
 
264
	    	&.borderless {
265
	    		li {
266
	    			border: 0;
267
		        }
268
	    	}
269
		}
270
 
271
		/* Inner content */
272
		.inner-content {
273
			margin: 10px 10px;
274
		}
275
 
276
		/* Quick sidebar list */
277
		.page-quick-sidebar-list {
278
			position: absolute !important;
279
			width: $quick-sidebar-width !important;
280
			transition: margin 0.3s;
281
		}
282
 
283
		/* Quick sidebar list item */
284
		.page-quick-sidebar-item {
285
			position: absolute !important;
286
			width: $quick-sidebar-width  !important;
287
			transition: margin 0.3s;
288
			margin-left: $quick-sidebar-width;
289
 
290
			.page-quick-sidebar-nav {
291
				padding: 15px 10px 0px 10px;
292
 
293
				.page-quick-sidebar-back-to-list {
294
	                vertical-align: middle;
295
	                display: inline-block;
296
	                font-size: 14px;
297
 
298
	                > i {
299
	                    font-size: 17px;
300
	                    line-height: 17px;
301
	                    vertical-align: top;
302
	                    margin-right: 3px;
303
	                }
304
	            }
305
			}
306
		}
307
 
308
		/* Quick sidebar list item shown */
309
		.page-quick-sidebar-content-item-shown {
310
			.page-quick-sidebar-list {
311
				transition: margin 0.3s;
312
				margin-left: - $quick-sidebar-width;
313
 
314
				.slimScrollBar,
315
				.slimScrollRail {
316
					display: none !important;
317
				}
318
			}
319
 
320
			.page-quick-sidebar-item {
321
				transition: margin 0.3s;
322
				margin-left: 0;
323
			}
324
		}
325
 
326
		/* Quick sidebar chat */
327
		.page-quick-sidebar-chat {
328
			.page-quick-sidebar-chat-users {
329
				padding: 10px 0;
330
				position: relative;
331
 
332
				.media-list {
333
					.media {
334
						padding: 12px 10px 11px 10px;
335
 
336
						.media-object {
337
				            border-radius: 50% !important;
338
							width:  $quick-sidebar-width/7;
339
							opacity: 0.8;
340
	           				filter: alpha(opacity=80);
341
							float: left;
342
							margin-right: 10px;
343
 
344
							@include clearfix();
345
						}
346
 
347
						&:hover {
348
							cursor: pointer;
349
 
350
							.media-object {
351
								opacity: 1;
352
		                		filter: alpha(opacity=100);
353
							}
354
						}
355
 
356
						.media-body {
357
 
358
							.media-heading {
359
								margin: 5px 0 0 0;
360
								font-size: 14px;
361
							}
362
 
363
							.media-heading-sub {
364
								font-size: 11px;
365
								text-transform: uppercase;
366
							}
367
 
368
							.media-heading-small {
369
								font-size: 10px;
370
							}
371
						}
372
 
373
						.media-status {
374
							margin-top: 10px;
375
							right: 10px;
376
							position: absolute;
377
							display: inline-block;
378
						}
379
					}
380
				}
381
			}
382
 
383
			.page-quick-sidebar-chat-user {
384
 
385
				.page-quick-sidebar-chat-user-messages {
386
					padding: 0px 10px;
387
					position: relative;
388
 
389
					.post {
390
						transition: display 0.3s;
391
				        padding: 5px 0;
392
				        margin: 10px auto;
393
				        font-size: 12px;
394
 
395
				        .body {
396
				            display: block;
397
				        }
398
 
399
				        .avatar {
400
				            width:$quick-sidebar-width/7;
401
				            border-radius: 50% !important;
402
				        }
403
 
404
				        &.in .avatar {
405
				            float: left;
406
				            margin-right: 10px;
407
				        }
408
 
409
				        &.out .avatar {
410
				            float: right;
411
				            margin-left: 10px;
412
				        }
413
 
414
				        .name {
415
				            font-size: 12px;
416
				            font-weight: 300;
417
				        }
418
 
419
				        .datetime {
420
				            font-size: 12px;
421
				            font-weight: 300;
422
				            text-style: italic;
423
				        }
424
 
425
				        .message {
426
				            display: block;
427
				            padding: 5px;
428
				            position: relative;
429
				        }
430
 
431
				        &.in {
432
				        	.message {
433
				            	text-align: left;
434
				            	margin-left: 55px;
435
 
436
				            	.arrow {
437
				                	display: block;
438
				                	position: absolute;
439
				                	top: 9px;
440
				                	left: -6px;
441
				                	width: 0;
442
				                	height: 0;
443
				                	border-top: 6px solid transparent;
444
				                	border-bottom: 6px solid transparent;
445
				                	border-right-width: 6px;
446
				                	border-right-style: solid;
447
				                }
448
				            }
449
				        }
450
 
451
				        &.out {
452
				            .message {
453
				                margin-right: 55px;
454
				                text-align: right;
455
 
456
				                .arrow {
457
				                    display: block;
458
				                    position: absolute;
459
				                    top: 9px;
460
				                    right: -6px;
461
				                    border-top: 6px solid transparent;
462
				                    border-bottom: 6px solid transparent;
463
				                    border-left-width: 6px;
464
				                	border-left-style: solid;
465
				                }
466
				            }
467
 
468
				            .name,
469
				            .datetime {
470
				                text-align: right;
471
				            }
472
				        }
473
				    }
474
				}
475
 
476
				.page-quick-sidebar-chat-user-form {
477
					padding: 20px 10px 15px 10px;
478
 
479
					.input-group {
480
						.form-control {
481
							font-size: 13px;
482
						}
483
					}
484
				}
485
			}
486
		}
487
 
488
		/* Quick sidebar alerts */
489
		.page-quick-sidebar-alerts {
490
 
491
			.page-quick-sidebar-alerts-list {
492
				padding: 10px 0;
493
				position: relative;
494
 
495
	            .feeds {
496
	                li {
497
	                    .label {
498
	                        margin-top: 5px;
499
	                    }
500
 
501
	                    .desc {
502
	                        padding: 0;
503
	                    }
504
	                }
505
	            }
506
	        }
507
		}
508
 
509
		/* Quick sidebar settings */
510
		.page-quick-sidebar-settings {
511
 
512
			.page-quick-sidebar-settings-list {
513
				padding: 10px 0;
514
				position: relative;
515
 
516
				.list-items {
517
					li {
518
						.bootstrap-switch {
519
							margin-top: -3px;
520
							float: right;
521
							border: 0;
522
							min-width: 59px;
523
						}
524
 
525
						.form-control {
526
							width: 75px !important;
527
							padding: 4px 4px !important;
528
							float: right;
529
							border: 0;
530
							margin-top: -4px;
531
						}
532
 
533
						select.form-control {
534
							padding: 4px 0px !important;
535
						}
536
					}
537
				}
538
			}
539
		}
540
	}
541
}