active_administration 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -1
- data/active_administration.gemspec +2 -1
- data/app/assets/javascripts/active_administration/README.md +0 -0
- data/app/assets/javascripts/active_administration/metro-accordion.js +70 -0
- data/app/assets/javascripts/active_administration/metro-button-set.js +88 -0
- data/app/assets/javascripts/active_administration/metro-calendar.js +437 -0
- data/app/assets/javascripts/active_administration/metro-carousel.js +304 -0
- data/app/assets/javascripts/active_administration/metro-core.js +39 -0
- data/app/assets/javascripts/active_administration/metro-countdown.js +200 -0
- data/app/assets/javascripts/active_administration/metro-date-format.js +137 -0
- data/app/assets/javascripts/active_administration/metro-datepicker.js +138 -0
- data/app/assets/javascripts/active_administration/metro-dialog.js +221 -0
- data/app/assets/javascripts/active_administration/metro-drag-tile.js +46 -0
- data/app/assets/javascripts/active_administration/metro-dropdown.js +112 -0
- data/app/assets/javascripts/active_administration/metro-fluentmenu.js +57 -0
- data/app/assets/javascripts/active_administration/metro-global.js +4 -0
- data/app/assets/javascripts/active_administration/metro-hint.js +104 -0
- data/app/assets/javascripts/active_administration/metro-initiator.js +271 -0
- data/app/assets/javascripts/active_administration/metro-input-control.js +318 -0
- data/app/assets/javascripts/active_administration/metro-listview.js +53 -0
- data/app/assets/javascripts/active_administration/metro-live-tile.js +162 -0
- data/app/assets/javascripts/active_administration/metro-loader.js +46 -0
- data/app/assets/javascripts/active_administration/metro-locale.js +132 -0
- data/app/assets/javascripts/active_administration/metro-notify.js +120 -0
- data/app/assets/javascripts/active_administration/metro-panel.js +41 -0
- data/app/assets/javascripts/active_administration/metro-plugin-template.js +21 -0
- data/app/assets/javascripts/active_administration/metro-progressbar.js +97 -0
- data/app/assets/javascripts/active_administration/metro-pull.js +38 -0
- data/app/assets/javascripts/active_administration/metro-rating.js +99 -0
- data/app/assets/javascripts/active_administration/metro-scroll.js +756 -0
- data/app/assets/javascripts/active_administration/metro-slider.js +304 -0
- data/app/assets/javascripts/active_administration/metro-stepper.js +105 -0
- data/app/assets/javascripts/active_administration/metro-streamer.js +214 -0
- data/app/assets/javascripts/active_administration/metro-tab-control.js +96 -0
- data/app/assets/javascripts/active_administration/metro-table.js +74 -0
- data/app/assets/javascripts/active_administration/metro-tile-transform.js +65 -0
- data/app/assets/javascripts/active_administration/metro-times.js +190 -0
- data/app/assets/javascripts/active_administration/metro-touch-handler.js +65 -0
- data/app/assets/javascripts/active_administration/metro-treeview.js +64 -0
- data/app/assets/javascripts/active_administration/metro-wizard.js +148 -0
- data/app/assets/stylesheets/active_administration/accordion.less +64 -0
- data/app/assets/stylesheets/active_administration/balloon.less +88 -0
- data/app/assets/stylesheets/active_administration/breadcrumbs.less +118 -0
- data/app/assets/stylesheets/active_administration/buttons.less +383 -0
- data/app/assets/stylesheets/active_administration/calendar.less +123 -0
- data/app/assets/stylesheets/active_administration/carousel.less +118 -0
- data/app/assets/stylesheets/active_administration/colors.less +589 -0
- data/app/assets/stylesheets/active_administration/countdown.less +57 -0
- data/app/assets/stylesheets/active_administration/dataTables.less +134 -0
- data/app/assets/stylesheets/active_administration/fluent-menu.less +231 -0
- data/app/assets/stylesheets/active_administration/forms.less +414 -0
- data/app/assets/stylesheets/active_administration/funcs.less +178 -0
- data/app/assets/stylesheets/active_administration/grid.less +91 -0
- data/app/assets/stylesheets/active_administration/hint.less +120 -0
- data/app/assets/stylesheets/active_administration/iconFont-content.less +1353 -0
- data/app/assets/stylesheets/active_administration/iconFont.less +47 -0
- data/app/assets/stylesheets/active_administration/icons.less +10 -0
- data/app/assets/stylesheets/active_administration/images.less +75 -0
- data/app/assets/stylesheets/active_administration/layout.less +137 -0
- data/app/assets/stylesheets/active_administration/lists.less +258 -0
- data/app/assets/stylesheets/active_administration/menus.less +469 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap-responsive.less +300 -0
- data/app/assets/stylesheets/active_administration/metro-bootstrap.less +68 -0
- data/app/assets/stylesheets/active_administration/misc.less +72 -0
- data/app/assets/stylesheets/active_administration/navigation-bar.less +317 -0
- data/app/assets/stylesheets/active_administration/notice.less +52 -0
- data/app/assets/stylesheets/active_administration/notify.less +43 -0
- data/app/assets/stylesheets/active_administration/pagination.less +83 -0
- data/app/assets/stylesheets/active_administration/panels.less +38 -0
- data/app/assets/stylesheets/active_administration/progress-bar.less +25 -0
- data/app/assets/stylesheets/active_administration/rating.less +103 -0
- data/app/assets/stylesheets/active_administration/reset.less +219 -0
- data/app/assets/stylesheets/active_administration/scroll.less +141 -0
- data/app/assets/stylesheets/active_administration/sidebar.less +158 -0
- data/app/assets/stylesheets/active_administration/slider.less +106 -0
- data/app/assets/stylesheets/active_administration/stepper.less +80 -0
- data/app/assets/stylesheets/active_administration/streamer.less +250 -0
- data/app/assets/stylesheets/active_administration/tab-control.less +79 -0
- data/app/assets/stylesheets/active_administration/tables.less +170 -0
- data/app/assets/stylesheets/active_administration/tiles.less +599 -0
- data/app/assets/stylesheets/active_administration/transform.less +23 -0
- data/app/assets/stylesheets/active_administration/treeview.less +96 -0
- data/app/assets/stylesheets/active_administration/typography.less +382 -0
- data/app/assets/stylesheets/active_administration/utils.less +180 -0
- data/app/assets/stylesheets/active_administration/variables.less +250 -0
- data/app/assets/stylesheets/active_administration/window.less +225 -0
- data/app/assets/stylesheets/active_administration/wizard.less +53 -0
- data/lib/active_admin/version.rb +1 -1
- metadata +103 -10
@@ -0,0 +1,300 @@
|
|
1
|
+
/*
|
2
|
+
* Devices
|
3
|
+
* min 1200
|
4
|
+
* min 1024
|
5
|
+
* max 1024
|
6
|
+
* max 768
|
7
|
+
* max 640
|
8
|
+
* max 480
|
9
|
+
* max 320
|
10
|
+
*/
|
11
|
+
|
12
|
+
@import "variables";
|
13
|
+
@import "funcs";
|
14
|
+
|
15
|
+
#responsive-utils {
|
16
|
+
.hide-element {
|
17
|
+
display: none !important;
|
18
|
+
visibility: hidden !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
.show-element {
|
22
|
+
display: block !important;
|
23
|
+
visibility: visible !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
.full-size {
|
27
|
+
float: none !important;
|
28
|
+
display: block !important;
|
29
|
+
width: 100% !important;
|
30
|
+
margin-left: 0 !important;
|
31
|
+
margin-right: 0 !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
.half-size {
|
35
|
+
width: 50% !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.container-desktop {width: @containerDesktopSize !important;}
|
39
|
+
.container-phone {width: @containerPhoneSize !important;}
|
40
|
+
.container-phone2 {width: @containerPhoneSize2 !important;}
|
41
|
+
.container-phone3 {width: @containerPhoneSize3 !important;}
|
42
|
+
.container-phone4 {width: @containerPhoneSize4 !important;}
|
43
|
+
.container-tablet {width: @containerTabletSize !important;}
|
44
|
+
.container-large {width: @containerLargeSize !important;}
|
45
|
+
|
46
|
+
.container-phone {
|
47
|
+
padding: 0 10px;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.no-phone, .no-tablet, .no-desktop, .no-large {}
|
52
|
+
.on-phone, .on-tablet, .on-desktop, .on-large {}
|
53
|
+
|
54
|
+
|
55
|
+
/* Desktop */
|
56
|
+
@media screen and (min-width: 800px) {
|
57
|
+
.no-desktop {
|
58
|
+
#responsive-utils > .hide-element;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
@media screen and (min-width: 1024px) {
|
63
|
+
.no-desktop {
|
64
|
+
#responsive-utils > .hide-element;
|
65
|
+
}
|
66
|
+
.on-desktop {
|
67
|
+
#responsive-utils > .show-element;
|
68
|
+
}
|
69
|
+
.container {
|
70
|
+
#responsive-utils > .container-desktop;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
/* Large desktop */
|
75
|
+
@media screen and (min-width: 1200px) {
|
76
|
+
html {font-size: 70%;}
|
77
|
+
.no-large {
|
78
|
+
#responsive-utils > .hide-element;
|
79
|
+
}
|
80
|
+
.on-large {
|
81
|
+
#responsive-utils > .show-element;
|
82
|
+
}
|
83
|
+
.container {
|
84
|
+
#responsive-utils > .container-large;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
/* tablet landscape*/
|
89
|
+
@media only screen and (max-width: 1024px) {
|
90
|
+
.no-tablet-landscape, .no-tablet {
|
91
|
+
#responsive-utils > .hide-element;
|
92
|
+
}
|
93
|
+
.on-tablet {
|
94
|
+
#responsive-utils > .show-element;
|
95
|
+
}
|
96
|
+
.container {
|
97
|
+
#responsive-utils > .container-desktop;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/* tablet portrait */
|
102
|
+
@media only screen and (max-width: 800px) {
|
103
|
+
html {font-size: 60%;}
|
104
|
+
.no-tablet-portrait, .no-tablet {
|
105
|
+
#responsive-utils > .hide-element;
|
106
|
+
}
|
107
|
+
.on-tablet {
|
108
|
+
#responsive-utils > .show-element;
|
109
|
+
}
|
110
|
+
.container {
|
111
|
+
#responsive-utils > .container-tablet;
|
112
|
+
}
|
113
|
+
|
114
|
+
// Grid
|
115
|
+
@gridSize: @containerTabletSize;
|
116
|
+
@gridColumnSize: (@gridSize - 20) / 2;
|
117
|
+
@gridGutterSize: @unitSize;
|
118
|
+
|
119
|
+
.grid:not(.fluid) > .row {
|
120
|
+
margin: 0;
|
121
|
+
& > [class*="span"] {
|
122
|
+
width: @gridColumnSize !important;
|
123
|
+
margin-left: 0 !important;
|
124
|
+
margin-bottom: @gridGutterSize;
|
125
|
+
&:nth-child(even) {
|
126
|
+
margin-left: @gridGutterSize !important;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
.span12, .span7, .span8, .span9, .span10, .span11 {
|
130
|
+
width: @gridSize !important;
|
131
|
+
&:nth-child(even) {
|
132
|
+
margin-left: 0 !important;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.row {
|
137
|
+
margin: 0;
|
138
|
+
[class*="span"] {
|
139
|
+
width: @gridColumnSize !important;
|
140
|
+
margin-left: 0 !important;
|
141
|
+
margin-bottom: @gridGutterSize;
|
142
|
+
&:nth-child(even) {
|
143
|
+
margin-left: @gridGutterSize !important;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
.span12, .span7, .span8, .span9, .span10, .span11 {
|
147
|
+
width: @gridSize !important;
|
148
|
+
&:nth-child(even) {
|
149
|
+
margin-left: 0 !important;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
.navigation-bar, .navbar {
|
156
|
+
.pull-menu {
|
157
|
+
display: block !important;
|
158
|
+
}
|
159
|
+
|
160
|
+
position: relative !important;
|
161
|
+
|
162
|
+
.element {
|
163
|
+
//display: inline-block !important;
|
164
|
+
float: none !important;
|
165
|
+
//width: 90%;
|
166
|
+
}
|
167
|
+
|
168
|
+
.element-divider {
|
169
|
+
display: none !important;
|
170
|
+
}
|
171
|
+
|
172
|
+
.element-menu {
|
173
|
+
position: relative;
|
174
|
+
float: none;
|
175
|
+
display: none;
|
176
|
+
width: 100% !important;
|
177
|
+
background-color: inherit;
|
178
|
+
z-index: @zindexDropdown;
|
179
|
+
|
180
|
+
li {
|
181
|
+
display: block !important;
|
182
|
+
float: none !important;
|
183
|
+
width: 100%;
|
184
|
+
|
185
|
+
a {
|
186
|
+
display: block !important;
|
187
|
+
float: none !important;
|
188
|
+
width: 100%;
|
189
|
+
}
|
190
|
+
|
191
|
+
.dropdown-menu {
|
192
|
+
position: relative !important;
|
193
|
+
left: 0;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
.dropdown-toggle {
|
197
|
+
color: inherit;
|
198
|
+
position: relative;
|
199
|
+
&:after {
|
200
|
+
position: absolute;
|
201
|
+
left: 100% !important;
|
202
|
+
margin-left: -15px;
|
203
|
+
//content: "";
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
.dropdown-menu {
|
208
|
+
.dropdown-toggle {
|
209
|
+
&:after {
|
210
|
+
//.rotate(90deg);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
@media only screen and (max-width: 800px) {
|
219
|
+
.navigation-bar, .navbar {
|
220
|
+
.pull-menu {
|
221
|
+
display: block !important;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
/* Phones landscape*/
|
227
|
+
@media only screen and (max-width: 640px) {
|
228
|
+
html {font-size: 60%;}
|
229
|
+
.no-phone-landscape, .no-phone {
|
230
|
+
#responsive-utils > .hide-element;
|
231
|
+
}
|
232
|
+
.on-phone {
|
233
|
+
#responsive-utils > .show-element;
|
234
|
+
}
|
235
|
+
.container {
|
236
|
+
#responsive-utils > .container-phone;
|
237
|
+
}
|
238
|
+
|
239
|
+
// Grid
|
240
|
+
.grid:not(.fluid) > .row {
|
241
|
+
margin: 0;
|
242
|
+
& > [class*="span"] {
|
243
|
+
width: 100% !important;
|
244
|
+
margin: 0 !important;
|
245
|
+
margin-bottom: 5px !important;
|
246
|
+
&:nth-child(even) {
|
247
|
+
margin-left: 0 !important;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
.span12 {
|
251
|
+
width: 100% !important;
|
252
|
+
}
|
253
|
+
.row {
|
254
|
+
margin: 0;
|
255
|
+
& > [class*="span"] {
|
256
|
+
width: 100% !important;
|
257
|
+
margin: 0 !important;
|
258
|
+
margin-bottom: 5px !important;
|
259
|
+
&:nth-child(even) {
|
260
|
+
margin-left: 0 !important;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
.span12 {
|
264
|
+
width: 100% !important;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
/* Phones portrait*/
|
271
|
+
@media only screen and (max-width: 480px) {
|
272
|
+
html {font-size: 45%;}
|
273
|
+
.no-phone-landscape, .no-phone {
|
274
|
+
#responsive-utils > .hide-element;
|
275
|
+
}
|
276
|
+
.container {
|
277
|
+
#responsive-utils > .container-phone2;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
|
281
|
+
@media only screen and (max-width: 360px) {
|
282
|
+
html {font-size: 40%;}
|
283
|
+
.no-phone-portrait, .no-phone {
|
284
|
+
#responsive-utils > .hide-element;
|
285
|
+
}
|
286
|
+
.container {
|
287
|
+
#responsive-utils > .container-phone3;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
|
291
|
+
@media only screen and (max-width: 320px) {
|
292
|
+
html {font-size: 40%;}
|
293
|
+
.no-phone-portrait, .no-phone {
|
294
|
+
#responsive-utils > .hide-element;
|
295
|
+
}
|
296
|
+
.container {
|
297
|
+
#responsive-utils > .container-phone4;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
@@ -0,0 +1,68 @@
|
|
1
|
+
// Core variables
|
2
|
+
@import "variables.less";
|
3
|
+
|
4
|
+
// CSS Reset
|
5
|
+
@import "reset.less";
|
6
|
+
|
7
|
+
.metro {
|
8
|
+
// Mixins
|
9
|
+
@import "funcs";
|
10
|
+
@import "utils";
|
11
|
+
|
12
|
+
// Effects
|
13
|
+
@import "transform";
|
14
|
+
|
15
|
+
// Typography
|
16
|
+
@import "typography";
|
17
|
+
|
18
|
+
// Grid system and page layouts
|
19
|
+
@import "layout";
|
20
|
+
@import "grid";
|
21
|
+
|
22
|
+
// Base CSS
|
23
|
+
@import "tables";
|
24
|
+
@import "buttons";
|
25
|
+
@import "breadcrumbs";
|
26
|
+
@import "forms";
|
27
|
+
@import "images";
|
28
|
+
|
29
|
+
// Components
|
30
|
+
@import "menus";
|
31
|
+
@import "navigation-bar";
|
32
|
+
@import "tiles";
|
33
|
+
@import "carousel";
|
34
|
+
@import "rating";
|
35
|
+
@import "pagination";
|
36
|
+
@import "countdown";
|
37
|
+
@import "tab-control";
|
38
|
+
@import "progress-bar";
|
39
|
+
@import "sidebar";
|
40
|
+
@import "accordion";
|
41
|
+
@import "calendar";
|
42
|
+
@import "slider";
|
43
|
+
@import "window";
|
44
|
+
@import "lists";
|
45
|
+
@import "treeview";
|
46
|
+
@import "fluent-menu";
|
47
|
+
@import "hint";
|
48
|
+
@import "balloon";
|
49
|
+
@import "stepper";
|
50
|
+
@import "streamer";
|
51
|
+
@import "scroll";
|
52
|
+
@import "notify";
|
53
|
+
@import "notice";
|
54
|
+
@import "dataTables";
|
55
|
+
@import "wizard";
|
56
|
+
@import "panels";
|
57
|
+
|
58
|
+
// Icons
|
59
|
+
//@import "icons";
|
60
|
+
//@import "icons-content";
|
61
|
+
@import "icons";
|
62
|
+
|
63
|
+
// Misc
|
64
|
+
@import "misc";
|
65
|
+
|
66
|
+
@import "colors";
|
67
|
+
|
68
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
.example {
|
2
|
+
.clearfix;
|
3
|
+
padding: 20px 40px 20px 60px;
|
4
|
+
border: 1px #ccc solid;
|
5
|
+
position: relative;
|
6
|
+
margin: 0 0 10px 0;
|
7
|
+
background-color: lighten(@gray, 66%) !important;
|
8
|
+
min-height: 100px;
|
9
|
+
|
10
|
+
&:before {
|
11
|
+
position: absolute;
|
12
|
+
content: "example";
|
13
|
+
left: -21px;
|
14
|
+
top: 30px;
|
15
|
+
//background: @grayLighter;
|
16
|
+
color: @grayLight !important;
|
17
|
+
//padding: 5px 10px;
|
18
|
+
margin: 5px 10px;
|
19
|
+
.item-title-secondary;
|
20
|
+
.rotate(-90deg);
|
21
|
+
}
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
code, .code {
|
26
|
+
.code-text;
|
27
|
+
display: inline-block;
|
28
|
+
padding: 3px 5px;
|
29
|
+
margin: 0;
|
30
|
+
background-color: @grayLighter;
|
31
|
+
color: @red;
|
32
|
+
border: 1px lighten(@gray, 50%) solid;
|
33
|
+
font-size: 90%;
|
34
|
+
line-height: 90%;
|
35
|
+
}
|
36
|
+
|
37
|
+
.label {
|
38
|
+
display: inline-block;
|
39
|
+
padding: 3px 5px;
|
40
|
+
margin: 0;
|
41
|
+
font-size: 90%;
|
42
|
+
font-weight: normal !important;
|
43
|
+
line-height: 90%;
|
44
|
+
background: @grayLighter;
|
45
|
+
color: @gray;
|
46
|
+
.text-bold;
|
47
|
+
|
48
|
+
&.alert, &.error {
|
49
|
+
background-color: @red;
|
50
|
+
color: @white
|
51
|
+
}
|
52
|
+
&.important, &.warning {
|
53
|
+
background-color: @orange;
|
54
|
+
color: @white
|
55
|
+
}
|
56
|
+
&.success {
|
57
|
+
background-color: @darkGreen;
|
58
|
+
color: @white
|
59
|
+
}
|
60
|
+
&.info {
|
61
|
+
background-color: @cyan;
|
62
|
+
color: @white;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
hr {
|
67
|
+
height: 1px;
|
68
|
+
margin: 20px 0;
|
69
|
+
border: 0;
|
70
|
+
color: @grayLighter;
|
71
|
+
background-color: @grayLighter;
|
72
|
+
}
|
@@ -0,0 +1,317 @@
|
|
1
|
+
.navigation-bar, .navbar {
|
2
|
+
width: 100%;
|
3
|
+
display: block;
|
4
|
+
background-color: @cyan;
|
5
|
+
color: @white;
|
6
|
+
//height: 45px;
|
7
|
+
|
8
|
+
.navigation-bar-content, .navbar-content {
|
9
|
+
background-color: inherit;
|
10
|
+
color: inherit;
|
11
|
+
display: block;
|
12
|
+
//height: 100%;
|
13
|
+
|
14
|
+
.element, .element-divider {
|
15
|
+
display: block;
|
16
|
+
float: left;
|
17
|
+
background-color: inherit;
|
18
|
+
position: relative;
|
19
|
+
height: 45px;
|
20
|
+
|
21
|
+
&.place-right {
|
22
|
+
float: right;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.element {
|
27
|
+
padding: @subunitSize*3;
|
28
|
+
line-height: @subunitSize * 3;
|
29
|
+
color: inherit;
|
30
|
+
font-family: @segoeLightFontFamily;
|
31
|
+
font-size: 14px;
|
32
|
+
//transition: background .3s ease;
|
33
|
+
|
34
|
+
&:hover {
|
35
|
+
background-color: saturate(@cyan, 30%);
|
36
|
+
}
|
37
|
+
|
38
|
+
}
|
39
|
+
|
40
|
+
.element > a.dropdown-toggle {
|
41
|
+
color: inherit;
|
42
|
+
position: relative;
|
43
|
+
&:after {
|
44
|
+
position: absolute;
|
45
|
+
left: 100%;
|
46
|
+
//content: "";
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
.element > .dropdown-menu {
|
51
|
+
top: 100%;
|
52
|
+
left: 0;
|
53
|
+
|
54
|
+
|
55
|
+
&.place-right {
|
56
|
+
right: 0;
|
57
|
+
left: auto;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.element-divider {
|
62
|
+
padding: @subunitSize*3 0;
|
63
|
+
line-height: @subunitSize * 3;
|
64
|
+
width: 1px !important;
|
65
|
+
border-left: 1px #ccc solid;
|
66
|
+
opacity: .3;
|
67
|
+
position: relative;
|
68
|
+
&:before {
|
69
|
+
content: "|";
|
70
|
+
visibility: hidden;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.navigation-bar-content, .navbar-content {
|
77
|
+
.brand {
|
78
|
+
font-size: 18px;
|
79
|
+
}
|
80
|
+
|
81
|
+
form {
|
82
|
+
margin: 0;
|
83
|
+
padding-bottom: 0 !important;
|
84
|
+
position: relative;
|
85
|
+
}
|
86
|
+
|
87
|
+
.element .input-control.text, .element .input-control.password {
|
88
|
+
width: auto;
|
89
|
+
height: auto;
|
90
|
+
position: relative;
|
91
|
+
margin: 0;
|
92
|
+
top: -6px;
|
93
|
+
|
94
|
+
[class*='btn-'] {
|
95
|
+
top: 2px;
|
96
|
+
right: 2px;
|
97
|
+
}
|
98
|
+
|
99
|
+
input[type='text'] {
|
100
|
+
font-size: 12px;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.input-control.checkbox, .input-control.radio{
|
105
|
+
position: relative;
|
106
|
+
margin: 0;
|
107
|
+
top: -6px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.button, .image-button {
|
111
|
+
background-color: transparent;
|
112
|
+
}
|
113
|
+
|
114
|
+
.button {
|
115
|
+
margin-top: -14px;
|
116
|
+
background-color: inherit;
|
117
|
+
&.small {
|
118
|
+
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.image-button {
|
123
|
+
padding-right: @subunitSize * 8 ;
|
124
|
+
padding-left: @subunitSize;
|
125
|
+
background-color: inherit;
|
126
|
+
|
127
|
+
&:active {
|
128
|
+
left: auto;
|
129
|
+
right: auto;
|
130
|
+
top: auto;
|
131
|
+
}
|
132
|
+
|
133
|
+
img {
|
134
|
+
width: @unitSize * 2;
|
135
|
+
height: @unitSize * 2;
|
136
|
+
margin-top: @subunitSize/2;
|
137
|
+
}
|
138
|
+
|
139
|
+
&.image-left {
|
140
|
+
padding-right: @subunitSize;
|
141
|
+
padding-left: @subunitSize * 8;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
[class*="icon-"] {
|
146
|
+
font-size: 16px !important;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
.input-element, .element-input {
|
151
|
+
padding-bottom: 0 !important;
|
152
|
+
&:hover {
|
153
|
+
background-color: inherit !important;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
.navigation-bar, .navbar {
|
158
|
+
.element-menu {
|
159
|
+
margin: 0;
|
160
|
+
padding: 0;
|
161
|
+
list-style: none;
|
162
|
+
color: inherit;
|
163
|
+
|
164
|
+
& > li {
|
165
|
+
display: block;
|
166
|
+
float: left;
|
167
|
+
position: relative;
|
168
|
+
color: inherit;
|
169
|
+
|
170
|
+
& > a {
|
171
|
+
display: block;
|
172
|
+
float: left;
|
173
|
+
width: 100%;
|
174
|
+
padding: @subunitSize*3;
|
175
|
+
line-height: @subunitSize * 3;
|
176
|
+
color: inherit;
|
177
|
+
font-family: @segoeLightFontFamily;
|
178
|
+
font-size: 14px;
|
179
|
+
|
180
|
+
&.dropdown-toggle {
|
181
|
+
//padding-right: 10px;
|
182
|
+
color: inherit;
|
183
|
+
position: relative;
|
184
|
+
&:after {
|
185
|
+
position: absolute;
|
186
|
+
left: 95%;
|
187
|
+
top: 50%;
|
188
|
+
margin-left: -7px;
|
189
|
+
margin-top: -5px;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
& > .dropdown-menu {
|
195
|
+
top: 100%;
|
196
|
+
left: 0;
|
197
|
+
//background-color: inherit;
|
198
|
+
//border: 0 !important;
|
199
|
+
|
200
|
+
&.place-right {
|
201
|
+
right: 0;
|
202
|
+
left: auto;
|
203
|
+
}
|
204
|
+
|
205
|
+
.dropdown-menu {
|
206
|
+
//background-color: inherit !important;
|
207
|
+
//border: 0 !important;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
&.responsive {}
|
213
|
+
}
|
214
|
+
|
215
|
+
.element-menu {
|
216
|
+
&.drop-up {
|
217
|
+
& li > .dropdown-menu {
|
218
|
+
top: auto;
|
219
|
+
bottom: 45px;
|
220
|
+
|
221
|
+
.dropdown-menu {
|
222
|
+
bottom: 0;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.pull-menu {
|
229
|
+
|
230
|
+
display: none;
|
231
|
+
float: right !important;
|
232
|
+
color: #fff;
|
233
|
+
cursor: pointer;
|
234
|
+
font: 1.8em sans-serif;
|
235
|
+
position: absolute;
|
236
|
+
top: 0;
|
237
|
+
right: 0;
|
238
|
+
height: 45px;
|
239
|
+
width: 40px;
|
240
|
+
line-height: 20px;
|
241
|
+
margin: 0;
|
242
|
+
|
243
|
+
&:before {
|
244
|
+
content: "\2261";
|
245
|
+
position: absolute;
|
246
|
+
font-size: 20pt;
|
247
|
+
top: 10px;
|
248
|
+
left: 10px;
|
249
|
+
}
|
250
|
+
|
251
|
+
input[type="checkbox"] {
|
252
|
+
width: 0;
|
253
|
+
height: 0;
|
254
|
+
opacity: 0;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
|
259
|
+
.navigation-bar-content, .navbar-content {
|
260
|
+
.clearfix;
|
261
|
+
}
|
262
|
+
|
263
|
+
.navigation-bar, .navbar {
|
264
|
+
&.fixed-top, &.fixed-bottom {
|
265
|
+
position: fixed;
|
266
|
+
z-index: @zindexFixedNavbar;
|
267
|
+
left: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
&.fixed-top {
|
271
|
+
top: 0;
|
272
|
+
bottom: auto;
|
273
|
+
}
|
274
|
+
&.fixed-bottom {
|
275
|
+
bottom: 0;
|
276
|
+
top: auto;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
|
281
|
+
.navigation-bar {
|
282
|
+
&.dark {
|
283
|
+
background-color: @grayDark;
|
284
|
+
.element-menu > li > a {
|
285
|
+
color: @white;
|
286
|
+
}
|
287
|
+
|
288
|
+
.element:hover, .element-menu > li:hover {
|
289
|
+
background-color: saturate(@dark, 10%);
|
290
|
+
}
|
291
|
+
}
|
292
|
+
&.light {
|
293
|
+
background-color: @grayLighter;
|
294
|
+
color: @gray;
|
295
|
+
|
296
|
+
.element:hover, .element-menu > li:hover {
|
297
|
+
background-color: @grayLight;
|
298
|
+
color: @white;
|
299
|
+
}
|
300
|
+
.pull-menu {
|
301
|
+
color: @dark;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
&.white {
|
305
|
+
background-color: @white;
|
306
|
+
color: @gray;
|
307
|
+
|
308
|
+
.element:hover, .element-menu > li:hover {
|
309
|
+
background-color: @blue;
|
310
|
+
color: @white;
|
311
|
+
}
|
312
|
+
|
313
|
+
.pull-menu {
|
314
|
+
color: @dark;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|