Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/***
2
Page Header
3
***/
4
 
5
.page-header.navbar {
6
	width: 100%;
7
	padding: 0 20px 0 20px;
8
	margin: 0;
9
	border: 0px;
10
	padding: 0px;
11
	box-shadow: none;
12
	height: $header-height;
13
	min-height: $header-height;
14
	filter: none;
15
	background-image: none;
16
 
17
	/* Fixed header */
18
	&.navbar-fixed-top {
19
		z-index: $zindex-header-fixed;
20
	}
21
 
22
	&.navbar-static-top {
23
		z-index: $zindex-header-static;
24
	}
25
 
26
	/* Header logo */
27
	.page-logo {
28
		float: left;
29
		display: block;
30
		width: $sidebar-logo-container-width;
31
		height: $header-height;
32
		padding-left: 20px;
33
		padding-right: 20px;
34
 
35
		> .logo-image,
36
		> a {
37
			display: block;
38
			float: left;
39
		}
40
 
41
		.logo-default {
42
			margin: $header-logo-margin;
43
		}
44
 
45
		.logo-mini {
46
			display: none;
47
			margin-left: 5px;
48
		}
49
 
50
		.text-logo {
51
			padding-left: 20px;
52
			padding-top: 12px;
53
		}
54
	}
55
 
56
	/* header top */
57
	.page-top {
58
		height: $header-height;
59
		background: #BAC0B6;
60
	}
61
 
62
	/* Search box */
63
	.search-form {
64
		margin-left: 10px;
65
		display: inline-block;
66
		width: $header-height;
67
		position: relative;
68
		float: left !important;
69
		transition: all 0.6s;
70
 
71
		.input-group {
72
			.form-control {
73
				height: $header-height;
74
				border: 0;
75
				background: transparent !important;
76
				font-size: 14px;
77
				padding-left: 0;
78
				margin-left: 12px;
79
				text-indent: -150000px;
80
 
81
				&:hover {
82
					cursor: pointer;
83
				}
84
			}
85
 
86
			.input-group-btn {
87
				height: $header-height;
88
 
89
				.btn.submit {
90
					margin-left: -24px;
91
					padding:0;
92
					width: $header-height;
93
					background: none;
94
					margin-top: 4px;
95
					display: block;
96
 
97
					> i {
98
						font-size: 15px;
99
					}
100
				}
101
			}
102
		}
103
 
104
		&.open {
105
			transition: all 0.6s;
106
			width: 300px !important;
107
 
108
			.input-group {
109
				.form-control {
110
					text-indent: 0;
111
 
112
					&:hover {
113
						cursor:text;
114
					}
115
				}
116
 
117
				.input-group-btn {
118
					.btn.submit {
119
						margin-left: 0;
120
					}
121
				}
122
			}
123
		}
124
	}
125
 
126
	/* Menu Toggler */
127
	.menu-toggler {
128
		display: block;
129
		cursor: pointer;
130
		opacity: 0.6;
131
		filter: alpha(opacity=60);
132
		width: $header-menu-toggler-width;
133
		height: $header-menu-toggler-height;
134
		background-repeat: no-repeat;
135
		background-position: center center;
136
		background-image: url(../img/sidebar-toggler.png);
137
 
138
		&:hover {
139
			filter: alpha(opacity=100);
140
			opacity: 1;
141
		}
142
 
143
		&.sidebar-toggler {
144
			float: right;
145
			margin: $header-sidebar-toggler-margin;
146
 
147
			.page-sidebar-closed.page-sidebar-closed-hide-logo & {
148
				margin-right: ($sidebar-collapsed-width - $header-menu-toggler-width ) / 2 ;
149
			}
150
		}
151
 
152
		&.responsive-toggler {
153
			display: none;
154
			float: right;
155
			margin: $header-responsive-toggler-margin;
156
			background-image: url(../img/sidebar-toggler-inverse.png);
157
		}
158
	}
159
 
160
	.page-actions {
161
		margin: $header-page-actions-margin;
162
		padding: 0;
163
		float: left;
164
 
165
		.btn-group {
166
			.dropdown-menu {
167
				&:before {
168
	                left: 9px;
169
	                right: auto;
170
	            }
171
 
172
	            &:after {
173
	                left: 10px;
174
	                right: auto;
175
	            }
176
			}
177
		}
178
	}
179
 
180
	/* Top menu */
181
	.top-menu {
182
		margin: 0;
183
		padding: 0;
184
		float: right;
185
 
186
		.navbar-nav {
187
			padding: 0;
188
			margin-right: 20px;
189
			display: block;
190
 
191
			> li.dropdown {
192
				margin: 0px;
193
				padding: 0px;
194
				height: $header-height;
195
				display: inline-block;
196
 
197
				&:last-child {
198
					padding-right: 0px;
199
				}
200
 
201
				> .dropdown-toggle {
202
					margin: 0px;
203
					padding: $header-top-menu-general-item-padding;
204
 
205
					&:last-child {
206
						padding-right: 0;
207
					}
208
 
209
					> i {
210
						font-size: $header-top-menu-icon-font-size;
211
 
212
						&.glyphicon {
213
							top: 0;
214
							font-size: $header-top-menu-icon-font-size - 2;
215
						}
216
					}
217
 
218
					> .badge {
219
						font-family: $font-family-primary;
220
						position: absolute;
221
						top: $header-top-menu-general-item-badge-top;
222
						right: 9px;
223
						font-weight: 300;
224
						padding: 3px 6px;
225
					}
226
 
227
					&:focus {
228
						background: none;
229
					}
230
				}
231
 
232
				.dropdown-menu {
233
					margin-top: 9px;
234
 
235
					@include border-radius(4px);
236
 
237
					&:before {
238
						position: absolute;
239
						top: -7px;
240
						right: 9px;
241
						display: inline-block !important;
242
						border-right: 7px solid transparent;
243
						border-bottom: 7px solid #eee;
244
						border-left: 7px solid transparent;
245
						border-bottom-color: rgba(0, 0, 0, 0.2);
246
						content: '';
247
					}
248
 
249
					&:after {
250
						position: absolute;
251
						top: -6px;
252
						right: 10px;
253
						display: inline-block !important;
254
						border-right: 6px solid transparent;
255
						border-bottom: 6px solid #fff;
256
						border-left: 6px solid transparent;
257
						content: '';
258
					}
259
 
260
					> li {
261
						> a {
262
							color: #555;
263
						}
264
					}
265
				}
266
			}
267
 
268
			/* Extended Dropdowns */
269
                > li.dropdown-extended {
270
 
271
                    .dropdown-menu {
272
                        min-width: 160px;
273
                        max-width: 275px;
274
                        width: 275px;
275
                        z-index: $zindex-header-fixed;
276
 
277
                        > li.external {
278
                            display: block;
279
                            overflow: hidden;
280
                            padding: 15px 15px;
281
                            letter-spacing: 0.5px;
282
 
283
                            @include border-radius(4px 4px 0 0);
284
 
285
                            > h3 {
286
                                margin: 0;
287
                                padding: 0;
288
                                float: left;
289
                                font-size: 13px;
290
                                display: inline-block;
291
                            }
292
 
293
                            > a {
294
                                display: inline-block;
295
                                padding: 0;
296
                                background: none;
297
                                clear: inherit;
298
                                font-size: 13px;
299
                                font-weight: 300;
300
                                position: absolute;
301
                                right: 10px;
302
                                border: 0;
303
                                margin-top: -1px;
304
 
305
                                &:hover {
306
                                    text-decoration: underline;
307
                                }
308
                            }
309
                        }
310
 
311
                        /* header notifications dropdowns */
312
                        .dropdown-menu-list {
313
                            padding-right: 0 !important;
314
                            padding-left: 0;
315
                            list-style: none;
316
 
317
                            > li {
318
                                > a {
319
                                    display: block;
320
                                    clear: both;
321
                                    font-weight: 300;
322
                                    line-height: 20px;
323
                                    white-space: normal;
324
                                    font-size: 13px;
325
                                    padding: 16px 15px 18px;
326
                                    text-shadow: none;
327
 
328
                                    &:hover {
329
                                      @include opacity(1);
330
                                    }
331
                                }
332
 
333
                                &:first-child a {
334
                                    border-top: none;
335
                                }
336
                            }
337
                        }
338
                    }
339
                }
340
 
341
                /* Notification */
342
                > li.dropdown-notification {
343
                    .dropdown-menu {
344
                        .dropdown-menu-list {
345
                            > li {
346
                                a {
347
                                    .details {
348
                                        overflow:hidden;
349
 
350
                                        .label-icon {
351
                                            margin-right: 10px;
352
                                            @include border-radius(50%);
353
 
354
                                            i {
355
                                                margin-right: 2px;
356
                                                margin-left: 1px;
357
                                            }
358
 
359
                                            .badge {
360
                                               right: 15px;
361
                                            }
362
                                        }
363
                                    }
364
 
365
                                    .time {
366
                                        float:right;
367
                                        max-width:75px;
368
 
369
                                        font-size: 11px;
370
                                        font-weight: 400;
371
                                        @include opacity(0.7);
372
 
373
                                        text-align: right;
374
                                        padding: 1px 5px;
375
                                    }
376
                                }
377
                            }
378
                        }
379
                    }
380
                }
381
 
382
                /* Inbox */
383
                > li.dropdown-inbox {
384
 
385
                    > .dropdown-menu {
386
                        .dropdown-menu-list {
387
                            > li {
388
                                .photo {
389
                                    float: left;
390
                                    margin: 0 6px 6px 0;
391
 
392
                                    img {
393
                                        height: 40px;
394
                                        width: 40px;
395
                                        @include border-radius(50% !important);
396
                                    }
397
                                }
398
 
399
                                .subject {
400
                                    display: block;
401
                                    margin-left: 46px;
402
 
403
                                    .from {
404
                                        font-size: 13px;
405
                                        font-weight: 600;
406
                                    }
407
 
408
                                    .time {
409
                                        font-size: 12px;
410
                                        font-weight: 400;
411
                                        @include opacity(0.5);
412
                                        float: right;
413
                                    }
414
                                }
415
 
416
                                .message {
417
                                    display: block !important;
418
                                    font-size: 12px;
419
                                    line-height: 1.3;
420
                                    margin-left: 46px;
421
                                }
422
                            }
423
                        }
424
                    }
425
                }
426
 
427
                /* Tasks */
428
                > li.dropdown-tasks {
429
                    .dropdown-menu {
430
                        .dropdown-menu-list {
431
                            > li {
432
                                .task {
433
                                    margin-bottom: 5px;
434
 
435
                                    .desc {
436
                                        font-size: 13px;
437
                                        font-weight: 300;
438
                                    }
439
 
440
                                    .percent {
441
                                        float: right;
442
                                        font-weight: 600;
443
                                        display: inline-block;
444
                                    }
445
                                }
446
 
447
                                .progress {
448
                                    display: block;
449
                                    height: 8px;
450
                                    margin: 8px 0 2px;
451
 
452
                                    .progress-bar {
453
                                        box-shadow: none;
454
                                    }
455
                                }
456
                            }
457
                        }
458
                    }
459
                }
460
 
461
                /* User */
462
                > li.dropdown-user {
463
	                padding: 0 0 0 10px;
464
 
465
					.dropdown-toggle {
466
						padding: $header-top-menu-user-item-padding;
467
 
468
						> .username {
469
							display: inline-block;
470
							font-size: $header-top-menu-user-font-size;
471
	                        font-weight: $header-top-menu-user-font-weight;
472
						}
473
 
474
						> img {
475
							float: left;
476
							margin-top: -8px;
477
							margin-right: 7px;
478
							height: 39px;
479
							display: inline-block;
480
						}
481
 
482
						> i {
483
							display: inline-block;
484
							margin-top: 5px;
485
							margin: 0;
486
							font-size: $header-top-menu-user-font-size;
487
	                        font-weight: $header-top-menu-user-font-weight;
488
						}
489
					}
490
 
491
                    .dropdown-menu {
492
                        width: 175px;
493
                        > li {
494
                            > a {
495
                                font-size: $header-top-menu-user-dropdown-link-font-size;
496
                                font-weight: $header-top-menu-user-dropdown-link-font-weight;
497
 
498
                                i {
499
                                    width: 15px;
500
                                    display: inline-block;
501
                                    margin-right: 9px;
502
                                }
503
 
504
                                .badge {
505
                                    margin-right: 10px;
506
                                }
507
                            }
508
                        }
509
                    }
510
                }
511
 
512
                /* Language */
513
                > li.dropdown-language {
514
                    padding-left: 0;
515
					padding-right: 0;
516
					margin: 0;
517
 
518
					> .dropdown-toggle {
519
						font-size: 13px;
520
						padding: $header-top-menu-language-item-padding;
521
 
522
						> img {
523
							margin-bottom: 2px;
524
						}
525
 
526
						> i {
527
							font-size: 14px;
528
						}
529
					}
530
 
531
                    > .dropdown-menu {
532
                        > li {
533
                            > a {
534
                                font-size: 13px;
535
 
536
                                > img {
537
                                    margin-bottom: 2px;
538
                                    margin-right: 5px;
539
                                }
540
                            }
541
                        }
542
                    }
543
                }
544
 
545
                /* Dark version */
546
                li.dropdown-dark {
547
                    .dropdown-menu {
548
                        border: 0;
549
 
550
                        &:before {
551
                            border-left: none;
552
                            border-right: none;
553
                        }
554
 
555
                        .dropdown-menu-list {
556
                            > li.external {
557
                                a {
558
                                    background: none !important;
559
                                    border: none !important;
560
                                }
561
                            }
562
                        }
563
                    }
564
                }
565
		}
566
	}
567
}
568
 
569
/* Allow expanded search for above 768px */
570
@media (min-width: $screen-sm-min) {  /* 768px */
571
	.page-header.navbar {
572
 
573
		/* Search box */
574
		.search-form {
575
			&.search-form-expanded {
576
				width: 200px;
577
 
578
				.input-group {
579
					.form-control {
580
						text-indent: 0;
581
 
582
						&:hover {
583
							cursor:text;
584
						}
585
					}
586
 
587
					.input-group-btn {
588
						.btn.submit {
589
							margin-left: 0;
590
						}
591
					}
592
				}
593
			}
594
		}
595
	}
596
}
597
 
598
/* Form medium devices upto large devices */
599
 
600
@media (min-width: $screen-md-min) and (max-width: $screen-lg-min) {  /* 992px 1200px */
601
	/* Boxed layout */
602
	.page-boxed {
603
		.page-header.navbar {
604
			/* Top menu */
605
			.top-menu {
606
				.navbar-nav {
607
					> li.dropdown-user {
608
						.dropdown-toggle {
609
							.username.username-hide-on-mobile {
610
								display: none;
611
							}
612
						}
613
					}
614
 
615
					> li.dropdown-language {
616
						.dropdown-toggle {
617
							.langname {
618
								display: none;
619
							}
620
						}
621
					}
622
				}
623
			}
624
		}
625
	}
626
}
627
 
628
@media (min-width: $screen-md-min) { /* 992px */
629
 
630
	/* Page header */
631
	.page-header.navbar {
632
		/* Header logo */
633
		.page-logo {
634
			.page-sidebar-closed.page-sidebar-closed-hide-logo & {
635
				padding: 0;
636
			}
637
 
638
			.page-sidebar-closed.page-sidebar-closed-hide-logo & {
639
				width: $sidebar-collapsed-width;
640
 
641
				.logo-default {
642
					display: none;
643
				}
644
			}
645
		}
646
	}
647
 
648
	/* Boxed Layout */
649
	.page-boxed	{
650
		.page-header.navbar {
651
			/* Page logo */
652
			.page-logo {
653
				width: ($sidebar-width);
654
			}
655
 
656
			/* Top menu */
657
			.top-menu {
658
				.navbar-nav {
659
					margin-right: 20px;
660
				}
661
			}
662
		}
663
	}
664
 
665
	/* Sidebar closed & logo hidden */
666
	.page-sidebar-closed.page-sidebar-closed-hide-logo.page-boxed {
667
		.page-header.navbar {
668
			/* Page logo */
669
			.page-logo {
670
				width: ($sidebar-collapsed-width);
671
			}
672
		}
673
	}
674
 
675
	/* Boxed layout & page sidebar fixed layout */
676
	.page-boxed.page-sidebar-fixed {
677
		.page-header.navbar {
678
			/* Page logo */
679
			.page-logo {
680
				width: $sidebar-width;
681
			}
682
		}
683
	}
684
}
685
 
686
@media (max-width: $screen-sm-max) { /* 991px */
687
 
688
	/* Page header */
689
	.page-header.navbar {
690
		padding: 0;
691
		margin: 0;
692
		position: relative;
693
		clear: both;
694
 
695
		/* Page logo */
696
		.page-logo {
697
			width: auto;
698
			padding: 0 15px 0 10px;
699
 
700
			img {
701
				margin-left: 4px !important;
702
			}
703
		}
704
 
705
		/* Menu Toggler */
706
		.menu-toggler {
707
			&.sidebar-toggler {
708
				display:none !important;
709
			}
710
 
711
			&.responsive-toggler {
712
				display: inline-block;
713
			}
714
		}
715
 
716
		/* Search form */
717
		.search-form {
718
			margin-left: 0;
719
 
720
			&.open {
721
				width: 245px !important;
722
			}
723
		}
724
 
725
		.page-header-inner.container {
726
			width: 100%;
727
 			max-width: none !important;
728
 			margin: 0 !important;
729
 			padding: 0 !important;
730
 		}
731
 
732
		/* Top Menu */
733
		.top-menu {
734
			.navbar-nav {
735
				display: inline-block;
736
				margin: 0 10px 0 0;
737
 
738
				> li {
739
					float: left;
740
				}
741
 
742
				.nav li.dropdown i {
743
					display: inline-block;
744
					position: relative;
745
					top:1px;
746
					right:0px;
747
				}
748
 
749
				.open .dropdown-menu  {
750
					position: absolute;
751
				}
752
			}
753
		}
754
	}
755
 
756
	/* Fixed header for mobile */
757
	.page-header-fixed.page-header-fixed-mobile {
758
		.navbar-fixed-top {
759
			position: fixed;
760
		}
761
	}
762
 
763
	/* Boxed Layout */
764
	.page-boxed .page-header.navbar {
765
		> .container {
766
			max-width: none !important;
767
			margin: 0 !important;
768
			padding: 0 !important;
769
		}
770
	}
771
}
772
 
773
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { /* 768px & 991px */
774
 
775
	/* Boxed Layout */
776
	.page-boxed {
777
		.page-header.navbar  {
778
			margin: auto !important;
779
			padding: 0;
780
 
781
			> .container {
782
				margin: auto !important;
783
			}
784
		}
785
	}
786
}
787
 
788
@media (max-width: $screen-xs-max) { /* 767px */
789
 
790
	/* Page header */
791
	.page-header.navbar {
792
		padding: 0;
793
 
794
		/* Header logo */
795
		.page-logo {
796
			width: auto;
797
		}
798
 
799
		/* Search box */
800
		.search-form {
801
			&.open {
802
				z-index: 3;
803
				left: 10px;
804
				right: 10px;
805
				position: absolute;
806
				width: auto !important;
807
				margin: 0 -10px !important;
808
			}
809
		}
810
 
811
		/* Top navigation menu*/
812
		.top-menu {
813
			.navbar-nav {
814
 
815
				> li.dropdown-extended {
816
                    > .dropdown-menu {
817
                        max-width: 245px;
818
                        width: 245px;
819
                    }
820
                }
821
 
822
				> li.dropdown-notification {
823
					.dropdown-menu {
824
						margin-right: -170px;
825
 
826
						&:after,
827
						&:before {
828
							margin-right: 170px;
829
						}
830
					}
831
				}
832
 
833
				> li.dropdown-inbox {
834
					.dropdown-menu {
835
						margin-right: -120px;
836
 
837
						&:after,
838
						&:before {
839
							margin-right: 120px;
840
						}
841
					}
842
				}
843
 
844
				> li.dropdown-tasks {
845
					.dropdown-menu {
846
						margin-right: -80px;
847
 
848
						&:after,
849
						&:before {
850
							margin-right: 80px;
851
						}
852
					}
853
				}
854
			}
855
		}
856
	}
857
}
858
 
859
@media (max-width: 580px) {
860
 
861
	/* Page header */
862
	.page-header.navbar {
863
		.top-menu {
864
			.navbar-nav {
865
				> li.dropdown-user {
866
					.dropdown-toggle {
867
						.username.username-hide-on-mobile {
868
							display: none;
869
						}
870
					}
871
				}
872
 
873
				> li.dropdown-language {
874
					.dropdown-toggle {
875
						.langname {
876
							display: none;
877
						}
878
					}
879
				}
880
			}
881
		}
882
	}
883
}
884
 
885
@media (max-width: $screen-xs-min) { /* 480px */
886
 
887
	.page-header.navbar {
888
		height: $header-height-xs;
889
 
890
		/* Top menu */
891
		.top-menu {
892
			.navbar-nav {
893
				margin-right: 0;
894
 
895
				> li.dropdown {
896
					.dropdown-toggle {
897
						padding: $header-top-menu-general-item-padding-on-mobile;
898
					}
899
				}
900
 
901
				> li.dropdown-language {
902
					.dropdown-toggle {
903
						padding: $header-top-menu-language-item-padding-on-mobile;
904
					}
905
				}
906
 
907
				> li.dropdown-user {
908
					margin-right: 10px;
909
					.dropdown-toggle {
910
						padding: $header-top-menu-user-item-padding-on-mobile;
911
					}
912
				}
913
			}
914
		}
915
 
916
		.menu-toggler.responsive-toggler {
917
			background-image: url(../img/sidebar-toggler.png);
918
		}
919
 
920
		.search-form {
921
			margin-left: -12px;
922
        }
923
 
924
		.page-top {
925
			display: block;
926
			clear: both;
927
		}
928
	}
929
}
930
 
931
/***
932
Pace - Page Progress
933
***/
934
 
935
.pace .pace-progress {
936
  z-index: 10000;
937
  top: $header-height - 2px;
938
  height: 2px;
939
}
940
 
941
.pace .pace-progress-inner {
942
  box-shadow: none;
943
}
944
 
945
.pace .pace-activity {
946
  top: $header-height + 2px;
947
  right: 22px;
948
  border-radius: 10px !important;
949
}
950
 
951
@media (max-width: $screen-xs-min) { /* 480px */
952
 
953
  .page-header-fixed .pace .pace-progress {
954
    top: ($header-height * 2);
955
  }
956
 
957
  .page-header-fixed .pace .pace-activity {
958
    top: ($header-height * 4) + 4px;
959
    right: 15px;
960
  }
961
 
962
}