activeadmin_blaze_theme 0.5.16 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +77 -37
- data/app/assets/stylesheets/activeadmin_blaze_theme/_base.scss +197 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +43 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_footer.scss +15 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +384 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_header.scss +140 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_navigation.scss +69 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_sidebars.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_tables.scss +96 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_variables.scss +46 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +2 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +0 -9
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +8 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +1 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +4 -3
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.alignment.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +47 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +0 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +6 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.alignment.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.visibility.scss +45 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +11 -989
- data/index.js +2 -0
- data/lib/activeadmin/views/activeadmin_form.rb +1 -1
- data/lib/activeadmin_blaze_theme.rb +3 -3
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- data/lib/formtastic/inputs/blaze_toggle_input.rb +1 -1
- data/package.json +13 -0
- metadata +23 -295
- data/.circleci/config.yml +0 -33
- data/.gitignore +0 -13
- data/.rspec +0 -3
- data/.rubocop.yml +0 -27
- data/Gemfile +0 -5
- data/Rakefile +0 -3
- data/activeadmin_blaze_theme.gemspec +0 -33
- data/bin/rails +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/extra/screenshot1.jpg +0 -0
- data/extra/screenshot2.jpg +0 -0
- data/extra/screenshot3.jpg +0 -0
- data/extra/screenshot4.jpg +0 -0
- data/spec/dummy/.ruby-version +0 -1
- data/spec/dummy/.tool-versions +0 -1
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/admin/authors.rb +0 -57
- data/spec/dummy/app/admin/dashboard.rb +0 -32
- data/spec/dummy/app/admin/posts.rb +0 -50
- data/spec/dummy/app/admin/tags.rb +0 -4
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +0 -1
- data/spec/dummy/app/assets/stylesheets/active_admin.scss +0 -4
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/javascript/packs/application.js +0 -15
- data/spec/dummy/app/jobs/application_job.rb +0 -7
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -7
- data/spec/dummy/app/models/author.rb +0 -26
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/post.rb +0 -25
- data/spec/dummy/app/models/post_tag.rb +0 -9
- data/spec/dummy/app/models/profile.rb +0 -9
- data/spec/dummy/app/models/tag.rb +0 -6
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -33
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config/application.rb +0 -18
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/database.yml +0 -8
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -62
- data/spec/dummy/config/environments/production.rb +0 -112
- data/spec/dummy/config/environments/test.rb +0 -49
- data/spec/dummy/config/initializers/active_admin.rb +0 -335
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/assets.rb +0 -12
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -28
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/puma.rb +0 -38
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -7
- data/spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb +0 -27
- data/spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb +0 -16
- data/spec/dummy/db/migrate/20180607053251_create_authors.rb +0 -13
- data/spec/dummy/db/migrate/20180607053254_create_profiles.rb +0 -12
- data/spec/dummy/db/migrate/20180607053255_create_tags.rb +0 -11
- data/spec/dummy/db/migrate/20180607053257_create_post_tags.rb +0 -12
- data/spec/dummy/db/migrate/20180607053739_create_posts.rb +0 -17
- data/spec/dummy/db/schema.rb +0 -99
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/rails_helper.rb +0 -36
- data/spec/spec_helper.rb +0 -20
- data/spec/support/capybara.rb +0 -3
- data/spec/support/drivers.rb +0 -7
- data/spec/system/theme_spec.rb +0 -15
@@ -0,0 +1,384 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
form {
|
3
|
+
// inputs
|
4
|
+
input[type='datetime-local'],
|
5
|
+
input[type='email'],
|
6
|
+
input[type='number'],
|
7
|
+
input[type='password'],
|
8
|
+
input[type='search'],
|
9
|
+
input[type='tel'],
|
10
|
+
input[type='text'],
|
11
|
+
input[type='time'],
|
12
|
+
input[type='url'],
|
13
|
+
select,
|
14
|
+
textarea {
|
15
|
+
@extend .c-field;
|
16
|
+
background-color: $bg-inputs;
|
17
|
+
display: inline-block;
|
18
|
+
height: $height-inputs;
|
19
|
+
padding: 1px 6px;
|
20
|
+
}
|
21
|
+
input[type='radio'] {
|
22
|
+
margin-right: 0.4em;
|
23
|
+
}
|
24
|
+
input[type='range'] {
|
25
|
+
@extend .c-range;
|
26
|
+
background: transparent;
|
27
|
+
display: inline-block;
|
28
|
+
height: $height-inputs;
|
29
|
+
min-width: 200px;
|
30
|
+
width: 30%;
|
31
|
+
}
|
32
|
+
select {
|
33
|
+
padding: 1px 5px;
|
34
|
+
}
|
35
|
+
select[multiple], textarea {
|
36
|
+
height: auto;
|
37
|
+
}
|
38
|
+
select.c-field:not([multiple]), select:not([multiple]) {
|
39
|
+
background: transparent;
|
40
|
+
-webkit-appearance: menulist;
|
41
|
+
}
|
42
|
+
textarea {
|
43
|
+
padding: 6px;
|
44
|
+
}
|
45
|
+
abbr {
|
46
|
+
padding-left: 3px;
|
47
|
+
}
|
48
|
+
|
49
|
+
// buttons
|
50
|
+
a.button.has_many_add,
|
51
|
+
button,
|
52
|
+
input[type='button'],
|
53
|
+
input[type='submit'],
|
54
|
+
&.filter_form a.clear_filters_btn,
|
55
|
+
fieldset.buttons li.cancel a,
|
56
|
+
fieldset.actions li.cancel a {
|
57
|
+
@extend .button-base;
|
58
|
+
|
59
|
+
color: #f4f4f4;
|
60
|
+
}
|
61
|
+
.buttons, .actions {
|
62
|
+
button,
|
63
|
+
input[type='button'],
|
64
|
+
input[type='submit'] {
|
65
|
+
color: #f4f4f4;
|
66
|
+
margin-right: 10px;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
a.button.has_many_add:hover,
|
71
|
+
button:hover,
|
72
|
+
input[type='button']:hover,
|
73
|
+
input[type='submit']:hover,
|
74
|
+
&.filter_form a.clear_filters_btn:hover,
|
75
|
+
fieldset.buttons li.cancel a:hover,
|
76
|
+
fieldset.actions li.cancel a:hover {
|
77
|
+
background-color: #aaa;
|
78
|
+
background-image: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
> .actions {
|
82
|
+
margin: 5px 0 0 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
// submits
|
86
|
+
input[type='submit'] {
|
87
|
+
@extend .c-button--success;
|
88
|
+
|
89
|
+
color: #f4f4f4;
|
90
|
+
}
|
91
|
+
|
92
|
+
// custom fields
|
93
|
+
.blaze_toggle {
|
94
|
+
label {
|
95
|
+
display: inline-block;
|
96
|
+
}
|
97
|
+
.field_with_errors {
|
98
|
+
display: inline;
|
99
|
+
}
|
100
|
+
.inline-errors {
|
101
|
+
margin-top: 0;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
.readonly-field {
|
105
|
+
div {
|
106
|
+
display: inline-block;
|
107
|
+
line-height: $height-inputs;
|
108
|
+
min-width: 450px;
|
109
|
+
}
|
110
|
+
.field_label {
|
111
|
+
display: block;
|
112
|
+
float: left;
|
113
|
+
width: 20%;
|
114
|
+
}
|
115
|
+
.field_value {
|
116
|
+
border-bottom: 1px dashed #ccc;
|
117
|
+
display: inline-block;
|
118
|
+
width: 100%;
|
119
|
+
padding: 0 6px;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
// filter forms
|
124
|
+
&.filter_form {
|
125
|
+
.filter_form_field {
|
126
|
+
> input, > select, .separator, .seperator {
|
127
|
+
float: left;
|
128
|
+
}
|
129
|
+
> label {
|
130
|
+
padding-top: 8px;
|
131
|
+
}
|
132
|
+
.separator, .seperator {
|
133
|
+
line-height: $height-inputs;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
.filter_form_field.select_and_search {
|
137
|
+
>input, >select {
|
138
|
+
background-color: $bg-inputs;
|
139
|
+
width: 49%;
|
140
|
+
}
|
141
|
+
>input {
|
142
|
+
margin: 0 0 0 1%;
|
143
|
+
}
|
144
|
+
>select {
|
145
|
+
margin: 0 1% 0 0;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
.filter_form_field.filter_date_range {
|
149
|
+
>input {
|
150
|
+
background-color: $bg-inputs;
|
151
|
+
width: 49%;
|
152
|
+
margin: 0 1% 0 0;
|
153
|
+
}
|
154
|
+
>input:last-child {
|
155
|
+
margin: 0 0 0 1%;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
.buttons {
|
159
|
+
clear: both;
|
160
|
+
padding-top: 14px;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
// fieldsets
|
165
|
+
fieldset {
|
166
|
+
&.buttons li, &.actions li {
|
167
|
+
float: none;
|
168
|
+
display: inline-block;
|
169
|
+
}
|
170
|
+
&.inputs {
|
171
|
+
background-color: transparent;
|
172
|
+
box-shadow: none;
|
173
|
+
padding: 0;
|
174
|
+
input[type='datetime-local'],
|
175
|
+
input[type='email'],
|
176
|
+
input[type='number'],
|
177
|
+
input[type='password'],
|
178
|
+
input[type='search'],
|
179
|
+
input[type='tel'],
|
180
|
+
input[type='text'],
|
181
|
+
input[type='time'],
|
182
|
+
input[type='url'],
|
183
|
+
select,
|
184
|
+
textarea {
|
185
|
+
background-color: $bg-inputs;
|
186
|
+
min-width: 450px;
|
187
|
+
width: auto;
|
188
|
+
// width: calc(80% - 22px);
|
189
|
+
}
|
190
|
+
// select {
|
191
|
+
// background-image: none;
|
192
|
+
// }
|
193
|
+
label {
|
194
|
+
line-height: $height-inputs;
|
195
|
+
}
|
196
|
+
li.input.hidden {
|
197
|
+
padding: 0;
|
198
|
+
}
|
199
|
+
// .boolean > label { // not working
|
200
|
+
// @extend .c-field;
|
201
|
+
// @extend .c-field--choice;
|
202
|
+
// }
|
203
|
+
.button {
|
204
|
+
@extend .button-base;
|
205
|
+
display: inline-block;
|
206
|
+
margin-left: 10px;
|
207
|
+
margin-top: 10px;
|
208
|
+
&:hover {
|
209
|
+
background-color: #aaa;
|
210
|
+
background-image: none;
|
211
|
+
}
|
212
|
+
&.has_many_add {
|
213
|
+
@extend .c-button--info;
|
214
|
+
}
|
215
|
+
&.has_many_remove {
|
216
|
+
@extend .c-button--error;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
// .datepicker > input {
|
220
|
+
// -webkit-appearance: menulist;
|
221
|
+
// }
|
222
|
+
.fragment {
|
223
|
+
input[type='datetime-local'],
|
224
|
+
input[type='email'],
|
225
|
+
input[type='number'],
|
226
|
+
input[type='password'],
|
227
|
+
input[type='search'],
|
228
|
+
input[type='tel'],
|
229
|
+
input[type='text'],
|
230
|
+
input[type='time'],
|
231
|
+
input[type='url'],
|
232
|
+
select {
|
233
|
+
min-width: auto;
|
234
|
+
width: auto;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
.input.error select {
|
238
|
+
border: 1px solid $color-validation-error;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
> ol {
|
242
|
+
padding: 0;
|
243
|
+
> li {
|
244
|
+
padding: 0 0 $inputs-spacing 0;
|
245
|
+
&.boolean label, &.blaze_toggle label {
|
246
|
+
float: none;
|
247
|
+
}
|
248
|
+
&.has_many_container {
|
249
|
+
padding: $form-padding;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
254
|
+
> fieldset.inputs, div.c-card__item > fieldset.inputs, .ui-tabs-panel > fieldset.inputs {
|
255
|
+
> legend {
|
256
|
+
@extend .c-card__item;
|
257
|
+
@extend .c-card__item--brand;
|
258
|
+
border-radius: 5px 5px 0 0;
|
259
|
+
box-shadow: 0 0 1px rgba(17, 17, 17, 0.6), 0 5px 10px -3px rgba(17, 17, 17, 0.4);
|
260
|
+
color: $fg-box-title;
|
261
|
+
padding: 8px 11px;
|
262
|
+
text-shadow: $text-shadow 0 1px 0;
|
263
|
+
> span {
|
264
|
+
background-color: transparent;
|
265
|
+
background-image: none;
|
266
|
+
border: 0 none;
|
267
|
+
box-shadow: initial;
|
268
|
+
color: inherit;
|
269
|
+
margin: 0;
|
270
|
+
padding: 0;
|
271
|
+
text-shadow: inherit;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
> ol {
|
275
|
+
@extend .c-card;
|
276
|
+
@extend .u-high;
|
277
|
+
background-color: $bg-form1;
|
278
|
+
border-radius: 0 0 5px 5px;
|
279
|
+
overflow: visible;
|
280
|
+
padding: $form-padding;
|
281
|
+
> .has_many_container {
|
282
|
+
background-color: $bg-form2;
|
283
|
+
ol {
|
284
|
+
background-color: $bg-form2;
|
285
|
+
// padding: 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
// > .has_many_fields > ol {
|
289
|
+
// background-color: $bg-form3;
|
290
|
+
// > .has_many_container {
|
291
|
+
// background-color: $bg-form3;
|
292
|
+
// }
|
293
|
+
// }
|
294
|
+
|
295
|
+
// > fieldset > ol > .has_many_container {
|
296
|
+
// background-color: $bg-form3;
|
297
|
+
// > fieldset > ol > .has_many_container {
|
298
|
+
// background-color: $bg-form4;
|
299
|
+
// }
|
300
|
+
// }
|
301
|
+
}
|
302
|
+
}
|
303
|
+
.has_many_container {
|
304
|
+
@extend .c-card;
|
305
|
+
@extend .u-high;
|
306
|
+
// border-left: 2px solid lighten( $color-brand, 20% );
|
307
|
+
border-radius: 0;
|
308
|
+
box-shadow: none;
|
309
|
+
padding: 0;
|
310
|
+
> h3 {
|
311
|
+
@extend .c-card__item;
|
312
|
+
// @extend .c-card__item--info;
|
313
|
+
background: $bg-form-sub-headings;
|
314
|
+
margin-bottom: 2px;
|
315
|
+
margin-top: 0;
|
316
|
+
padding: 10px;
|
317
|
+
}
|
318
|
+
// ol {
|
319
|
+
// border-left: 2px solid lighten( $color-brand, 20% );
|
320
|
+
// padding: 10px 0 10px 10px;
|
321
|
+
// }
|
322
|
+
.input {
|
323
|
+
padding: 10px 0 0 10px;
|
324
|
+
}
|
325
|
+
.inputs {
|
326
|
+
border-bottom: 1px solid #ccc;
|
327
|
+
border-radius: 0;
|
328
|
+
margin: 0;
|
329
|
+
padding: 0 0 5px 0;
|
330
|
+
// padding: $form-padding;
|
331
|
+
}
|
332
|
+
// .has_many_fields {
|
333
|
+
// margin: 0;
|
334
|
+
// padding: 0;
|
335
|
+
// }
|
336
|
+
> .button {
|
337
|
+
margin-left: $form-padding;
|
338
|
+
margin-bottom: $form-padding;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
.choices-group li.choice {
|
342
|
+
display: inline-block;
|
343
|
+
margin-right: 10px;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
div.c-card__item > fieldset.inputs {
|
347
|
+
margin-bottom: 0;
|
348
|
+
}
|
349
|
+
|
350
|
+
// tabs
|
351
|
+
.ui-tabs > .tab-content {
|
352
|
+
padding-bottom: 0;
|
353
|
+
padding-top: 25px;
|
354
|
+
}
|
355
|
+
.ui-tabs-nav {
|
356
|
+
li {
|
357
|
+
a {
|
358
|
+
background: #eee;
|
359
|
+
color: #555;
|
360
|
+
}
|
361
|
+
&:first-child a {
|
362
|
+
border-top-left-radius: 6px;
|
363
|
+
border-bottom-left-radius: 6px;
|
364
|
+
}
|
365
|
+
&:last-child a {
|
366
|
+
border-top-right-radius: 6px;
|
367
|
+
border-bottom-right-radius: 6px;
|
368
|
+
}
|
369
|
+
&.ui-tabs-active a {
|
370
|
+
color: #222;
|
371
|
+
border-color: #AAA;
|
372
|
+
background-image: none;
|
373
|
+
background-color: #fff;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
}
|
377
|
+
|
378
|
+
// misc
|
379
|
+
a.c-button {
|
380
|
+
color: $fg-button-link;
|
381
|
+
text-decoration: none;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
body.active_admin {
|
2
|
+
#header {
|
3
|
+
background-color: $bg-header;
|
4
|
+
background-image: none;
|
5
|
+
border-bottom: 0 none;
|
6
|
+
padding: 0;
|
7
|
+
position: relative;
|
8
|
+
.header-item {
|
9
|
+
top: 0;
|
10
|
+
}
|
11
|
+
.site_title {
|
12
|
+
color: $fg-menu-items;
|
13
|
+
padding-top: 0;
|
14
|
+
padding-bottom: 0;
|
15
|
+
img {
|
16
|
+
max-height: $height-topbar;
|
17
|
+
max-width: 250px;
|
18
|
+
// top: -1px;
|
19
|
+
vertical-align: middle;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
ul.tabs {
|
23
|
+
>li {
|
24
|
+
margin-left: 1px;
|
25
|
+
padding: 0;
|
26
|
+
}
|
27
|
+
li {
|
28
|
+
height: $height-topbar;
|
29
|
+
line-height: $height-topbar;
|
30
|
+
}
|
31
|
+
li > a {
|
32
|
+
color: $fg-menu-items;
|
33
|
+
height: $height-topbar;
|
34
|
+
line-height: $height-topbar;
|
35
|
+
padding-left: 20px;
|
36
|
+
padding-right: 20px;
|
37
|
+
}
|
38
|
+
li:hover, li.current {
|
39
|
+
background: $bg-menu-active;
|
40
|
+
}
|
41
|
+
> li.has_nested {
|
42
|
+
> a {
|
43
|
+
background-color: transparent;
|
44
|
+
border-bottom: 0;
|
45
|
+
}
|
46
|
+
> ul {
|
47
|
+
background: lighten( $bg-header, 5% );
|
48
|
+
border-radius: 0;
|
49
|
+
padding: 0;
|
50
|
+
margin: 0;
|
51
|
+
a {
|
52
|
+
line-height: 2em;
|
53
|
+
}
|
54
|
+
li:hover {
|
55
|
+
background: $bg-menu-active;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
#tabs, #utility_nav {
|
63
|
+
@extend .c-nav;
|
64
|
+
// @extend .c-nav--inline;
|
65
|
+
background-color: $bg-header;
|
66
|
+
> li {
|
67
|
+
@extend .c-nav__item;
|
68
|
+
float: left;
|
69
|
+
margin: 0;
|
70
|
+
&.current {
|
71
|
+
@extend .c-nav__item--active;
|
72
|
+
> a {
|
73
|
+
background: transparent;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
> a {
|
77
|
+
display: block;
|
78
|
+
padding: 0;
|
79
|
+
}
|
80
|
+
> a:hover {
|
81
|
+
background: transparent;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
> li:hover > a {
|
85
|
+
background: transparent;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
#utility_nav {
|
90
|
+
position: absolute;
|
91
|
+
right: 0;
|
92
|
+
width: auto;
|
93
|
+
}
|
94
|
+
|
95
|
+
// title bar
|
96
|
+
#title_bar {
|
97
|
+
background-image: none;
|
98
|
+
box-shadow: none;
|
99
|
+
padding-top: 0;
|
100
|
+
padding-bottom: 0;
|
101
|
+
.breadcrumb {
|
102
|
+
float: left;
|
103
|
+
font-size: 1em;
|
104
|
+
line-height: initial;
|
105
|
+
margin: 0;
|
106
|
+
padding: 0;
|
107
|
+
> a, > a:link, > a:visited, > a:active {
|
108
|
+
opacity: 0.7;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.action_items span.action_item {
|
112
|
+
> a,
|
113
|
+
> .dropdown_menu > a {
|
114
|
+
@extend .button-base;
|
115
|
+
@extend .c-button--info;
|
116
|
+
|
117
|
+
color: #f4f4f4;
|
118
|
+
}
|
119
|
+
> a:hover,
|
120
|
+
> .dropdown_menu > a:hover {
|
121
|
+
background-color: #aaa;
|
122
|
+
background-image: none;
|
123
|
+
}
|
124
|
+
a[data-method='delete'] {
|
125
|
+
@extend .c-button--error;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
#page_title {
|
129
|
+
display: block;
|
130
|
+
float: left;
|
131
|
+
font-size: 1em;
|
132
|
+
// font-size: 2em;
|
133
|
+
line-height: initial;
|
134
|
+
margin-left: 5px;
|
135
|
+
}
|
136
|
+
#titlebar_left, #titlebar_right {
|
137
|
+
height: $height-titlebar;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|