ace-nav.less
2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
//ace top nav/bar
@navbar-background: #438EB9;//navbar background color
@navbar-text-color: #FFF;
@ace-nav-border: rgba(255,255,255,0.4);
.navbar {
margin: 0;
padding-left: 0;
padding-right: 0;
border-width: 0;
border-radius : 0;
.box-shadow(none);
min-height: @navbar-min-height;
background: @navbar-background;
.navbar-text, .navbar-link {
color: @navbar-text-color;
}
.navbar-brand {
color: @navbar-text-color;
font-size: @font-size-brand;
text-shadow: none;
padding-top: 10px;
padding-bottom: 10px;
height: auto;
&:hover , &:focus {
color: @navbar-text-color;
}
}
}
/**
@media (min-width: @grid-float-breakpoint) {
.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
margin-left: 0;
margin-right: 0;
}
}
*/
@media only screen and (min-width: @grid-float-breakpoint) {
.navbar-container {
padding-left: 10px;
padding-right: 10px;
}
}
//inside .container
.navbar-container.container {
padding-left: 0;
padding-right: 0;
}
//ace-nav
@import "navbar/user-buttons.less";
@import "navbar/user-dropdown-position.less";
@import "navbar/user-buttons-move-down.less";//move down when screen size is below 460px (@screen-topbar-down)
@import "navbar/user-menu.less";//the menu and photo of logged in user
//collapsible (.navbar.navbar-collapse)
@import "navbar/collapsible.less";
@import "navbar/navbar-menu-form.less";
//some bs resetting!
.navbar-fixed-top , .navbar-static-top , .navbar-fixed-bottom {
.navbar-collapse {
padding-left: floor(@grid-gutter-width / 2);
padding-right: floor(@grid-gutter-width / 2);
}
}
////
//this is only because of "inside-container"
//we want the top blue section not to be more than 45px(inherit)
@media only screen and (min-width: @screen-sm-min) and (max-width: @grid-float-breakpoint-max) {
.navbar.navbar-collapse {
background-color: transparent;
&:before {
background: @navbar-background;
content: "";
display: block;
position: absolute;
min-height: inherit;
left: 0;
right: 0;
top: 0;
z-index: -1;
border-radius: inherit;
}
.navbar-container {
background-color: @navbar-background;
}
}
}
@import "navbar/toggle-button.less";