activeadmin_blaze_theme 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +33 -0
- data/.gitignore +12 -2
- data/.rspec +3 -0
- data/.rubocop.yml +27 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +1 -1
- data/README.md +78 -66
- data/Rakefile +2 -1
- data/activeadmin_blaze_theme.gemspec +22 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/_base.scss +197 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +42 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_footer.scss +15 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +381 -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/_components.addresses.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.alerts.scss +78 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.avatars.scss +38 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.back-to-top.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.badges.scss +71 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.breadcrumbs.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.buttons.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.calendars.scss +80 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.cards.scss +195 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.divider.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.file-upload.scss +24 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.github-buttons.scss +131 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.headings.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.hints.scss +21 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.input-groups.scss +164 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.inputs.scss +128 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.links.scss +72 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.lists.scss +64 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.navs.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.overlays.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.pagination.scss +31 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.progress.scss +83 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.ranges.scss +176 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tables.scss +86 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tabs.scss +68 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tags.scss +39 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.timelines.scss +113 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.toggles.scss +89 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{components.tooltips.scss → _components.tooltips.scss} +28 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.trees.scss +48 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_generics.global.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.containers.scss +37 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.drawers.scss +91 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.forms.scss +25 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.responsive.scss → _objects.grid.responsive.scss} +14 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.grid.scss → _objects.grid.scss} +2 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.images.scss → _objects.images.scss} +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.media.scss → _objects.media.scss} +3 -3
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss +70 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{objects.panels.scss → _objects.panels.scss} +1 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{utilities.alignment.scss → _utilities.alignment.scss} +13 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.boxing.scss +111 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.elevation.scss +17 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.radius.scss +11 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.sizes.scss +23 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.typography.scss +160 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss +54 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_variables.scss +93 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +49 -41
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +82 -43
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +2 -40
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +35 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +13 -34
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.alignment.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.states.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +10 -938
- data/bin/rails +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/lib/activeadmin/views/activeadmin_form.rb +6 -2
- data/lib/activeadmin_blaze_theme.rb +5 -2
- data/lib/activeadmin_blaze_theme/version.rb +3 -1
- data/lib/formtastic/inputs/blaze_toggle_input.rb +12 -8
- data/spec/dummy/.ruby-version +1 -0
- data/spec/dummy/.tool-versions +1 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/admin/authors.rb +57 -0
- data/spec/dummy/app/admin/dashboard.rb +32 -0
- data/spec/dummy/app/admin/posts.rb +50 -0
- data/spec/dummy/app/admin/tags.rb +4 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
- data/spec/dummy/app/assets/stylesheets/active_admin.scss +4 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/javascript/packs/application.js +15 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +7 -0
- data/spec/dummy/app/models/author.rb +26 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/post.rb +25 -0
- data/spec/dummy/app/models/post_tag.rb +9 -0
- data/spec/dummy/app/models/profile.rb +9 -0
- data/spec/dummy/app/models/tag.rb +6 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +18 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +8 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +62 -0
- data/spec/dummy/config/environments/production.rb +112 -0
- data/spec/dummy/config/environments/test.rb +49 -0
- data/spec/dummy/config/initializers/active_admin.rb +335 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +38 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +7 -0
- data/spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb +16 -0
- data/spec/dummy/db/migrate/20180607053251_create_authors.rb +13 -0
- data/spec/dummy/db/migrate/20180607053254_create_profiles.rb +12 -0
- data/spec/dummy/db/migrate/20180607053255_create_tags.rb +11 -0
- data/spec/dummy/db/migrate/20180607053257_create_post_tags.rb +12 -0
- data/spec/dummy/db/migrate/20180607053739_create_posts.rb +17 -0
- data/spec/dummy/db/schema.rb +99 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- 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 +36 -0
- data/spec/spec_helper.rb +20 -0
- data/spec/support/capybara.rb +3 -0
- data/spec/support/drivers.rb +7 -0
- data/spec/system/theme_spec.rb +15 -0
- metadata +360 -66
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +0 -30
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +0 -12
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +0 -59
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +0 -36
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +0 -20
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +0 -49
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +0 -77
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +0 -69
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +0 -213
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +0 -14
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +0 -27
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +0 -163
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +0 -144
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +0 -60
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +0 -126
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +0 -26
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +0 -51
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +0 -114
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +0 -72
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +0 -42
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +0 -74
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +0 -47
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +0 -94
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +0 -13
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +0 -8
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +0 -22
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +0 -29
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +0 -89
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +0 -5
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +0 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +0 -10
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +0 -864
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +0 -125
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +0 -88
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.forms.scss +0 -25
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +0 -58
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +0 -7
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +0 -101
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +0 -19
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +0 -25
@@ -1,14 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-heading,
|
4
|
-
.c-heading__sub {
|
5
|
-
margin: $heading-margin;
|
6
|
-
padding: $heading-padding;
|
7
|
-
font-weight: $heading-font-weight;
|
8
|
-
}
|
9
|
-
|
10
|
-
.c-heading__sub {
|
11
|
-
padding: $heading-subheading-padding;
|
12
|
-
font-size: $heading-subheading-font-size;
|
13
|
-
opacity: $heading-subheading-opacity;
|
14
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-hint {
|
4
|
-
position: absolute;
|
5
|
-
padding: $hint-padding;
|
6
|
-
transform: scale(.8);
|
7
|
-
transform-origin: top left;
|
8
|
-
color: $hint-color;
|
9
|
-
font-size: $hint-font-size;
|
10
|
-
opacity: 0;
|
11
|
-
pointer-events: none;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-hint--static,
|
15
|
-
.c-field:focus ~ .c-hint,
|
16
|
-
.c-label__field:focus ~ .c-hint {
|
17
|
-
transform: scale(.9);
|
18
|
-
opacity: 1;
|
19
|
-
}
|
20
|
-
|
21
|
-
.c-hint--success {
|
22
|
-
color: $hint-success-color;
|
23
|
-
}
|
24
|
-
|
25
|
-
.c-hint--error {
|
26
|
-
color: $hint-error-color;
|
27
|
-
}
|
@@ -1,163 +0,0 @@
|
|
1
|
-
@import "mixins/objects.grid";
|
2
|
-
@import "mixins/components.inputs";
|
3
|
-
|
4
|
-
// INPUT GROUP
|
5
|
-
.c-input-group {
|
6
|
-
@include grid;
|
7
|
-
|
8
|
-
.c-button {
|
9
|
-
border-radius: 0;
|
10
|
-
|
11
|
-
&:not(:first-child) {
|
12
|
-
border-left-width: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
&:first-child {
|
16
|
-
border-top-left-radius: $border-radius;
|
17
|
-
border-bottom-left-radius: $border-radius;
|
18
|
-
}
|
19
|
-
|
20
|
-
&:last-child {
|
21
|
-
border-top-right-radius: $border-radius;
|
22
|
-
border-bottom-right-radius: $border-radius;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
.o-field {
|
27
|
-
@include grid__cell--fit;
|
28
|
-
|
29
|
-
.c-field {
|
30
|
-
border-radius: 0;
|
31
|
-
}
|
32
|
-
|
33
|
-
&:not(:first-child) .c-field {
|
34
|
-
border-left-width: 0;
|
35
|
-
}
|
36
|
-
|
37
|
-
&:first-child .c-field {
|
38
|
-
border-top-left-radius: $border-radius;
|
39
|
-
border-bottom-left-radius: $border-radius;
|
40
|
-
}
|
41
|
-
|
42
|
-
&:last-child .c-field {
|
43
|
-
border-top-right-radius: $border-radius;
|
44
|
-
border-bottom-right-radius: $border-radius;
|
45
|
-
}
|
46
|
-
|
47
|
-
&--fixed {
|
48
|
-
@include grid__cell--width-fixed;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-input-group--rounded {
|
54
|
-
.c-button {
|
55
|
-
&:first-child {
|
56
|
-
border-top-left-radius: $border-radius-rounded;
|
57
|
-
border-bottom-left-radius: $border-radius-rounded;
|
58
|
-
}
|
59
|
-
|
60
|
-
&:last-child {
|
61
|
-
border-top-right-radius: $border-radius-rounded;
|
62
|
-
border-bottom-right-radius: $border-radius-rounded;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
.o-field {
|
67
|
-
&:first-child .c-field {
|
68
|
-
border-top-left-radius: $border-radius-rounded;
|
69
|
-
border-bottom-left-radius: $border-radius-rounded;
|
70
|
-
}
|
71
|
-
|
72
|
-
&:last-child .c-field {
|
73
|
-
border-top-right-radius: $border-radius-rounded;
|
74
|
-
border-bottom-right-radius: $border-radius-rounded;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
.c-input-group--rounded-left {
|
80
|
-
.c-button {
|
81
|
-
&:first-child {
|
82
|
-
border-top-left-radius: $border-radius-rounded;
|
83
|
-
border-bottom-left-radius: $border-radius-rounded;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
.o-field {
|
88
|
-
&:first-child .c-field {
|
89
|
-
border-top-left-radius: $border-radius-rounded;
|
90
|
-
border-bottom-left-radius: $border-radius-rounded;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
.c-input-group--rounded-right {
|
96
|
-
.c-button {
|
97
|
-
&:last-child {
|
98
|
-
border-top-right-radius: $border-radius-rounded;
|
99
|
-
border-bottom-right-radius: $border-radius-rounded;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
.o-field {
|
104
|
-
&:last-child .c-field {
|
105
|
-
border-top-right-radius: $border-radius-rounded;
|
106
|
-
border-bottom-right-radius: $border-radius-rounded;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
.c-input-group--stacked {
|
112
|
-
@include grid;
|
113
|
-
@include grid--wrap;
|
114
|
-
|
115
|
-
.o-field:not(:first-child) .c-field {
|
116
|
-
border-left-width: $field-border-width;
|
117
|
-
}
|
118
|
-
|
119
|
-
.c-button:not(:first-child) {
|
120
|
-
border-left-width: $button-border-width;
|
121
|
-
}
|
122
|
-
|
123
|
-
.o-field,
|
124
|
-
.c-button {
|
125
|
-
@include grid__cell--full;
|
126
|
-
}
|
127
|
-
|
128
|
-
.c-button {
|
129
|
-
&:not(:first-child) {
|
130
|
-
border-top: 0;
|
131
|
-
}
|
132
|
-
|
133
|
-
&:not(:first-child):not(:last-child) {
|
134
|
-
border-radius: 0;
|
135
|
-
}
|
136
|
-
|
137
|
-
&:first-child {
|
138
|
-
border-radius: $field-border-radius $field-border-radius 0 0;
|
139
|
-
}
|
140
|
-
|
141
|
-
&:last-child {
|
142
|
-
border-radius: 0 0 $field-border-radius $field-border-radius;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
.o-field {
|
147
|
-
&:not(:first-child) .c-field {
|
148
|
-
border-top: 0;
|
149
|
-
}
|
150
|
-
|
151
|
-
&:not(:first-child):not(:last-child) .c-field {
|
152
|
-
border-radius: 0;
|
153
|
-
}
|
154
|
-
|
155
|
-
&:first-child .c-field {
|
156
|
-
border-radius: $field-border-radius $field-border-radius 0 0;
|
157
|
-
}
|
158
|
-
|
159
|
-
&:last-child .c-field {
|
160
|
-
border-radius: 0 0 $field-border-radius $field-border-radius;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
}
|
@@ -1,144 +0,0 @@
|
|
1
|
-
@import "mixins/components.inputs";
|
2
|
-
|
3
|
-
.o-field {
|
4
|
-
position: relative;
|
5
|
-
|
6
|
-
.c-field--success ~ .c-icon {
|
7
|
-
color: $field-success-border-color;
|
8
|
-
}
|
9
|
-
|
10
|
-
.c-field--error ~ .c-icon {
|
11
|
-
color: $field-error-border-color;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-field:disabled ~ .c-icon {
|
15
|
-
color: $field-disabled-border-color;
|
16
|
-
}
|
17
|
-
|
18
|
-
.c-icon {
|
19
|
-
position: absolute;
|
20
|
-
top: 50%;
|
21
|
-
transform: translateY(-50%);
|
22
|
-
color: $field-border-color;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
.o-field--icon-right {
|
27
|
-
.c-field + .c-icon {
|
28
|
-
right: $field-padding;
|
29
|
-
}
|
30
|
-
|
31
|
-
.c-field {
|
32
|
-
padding-right: $field-padding * 4;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.o-field--icon-left {
|
37
|
-
.c-icon:first-child {
|
38
|
-
left: $field-padding;
|
39
|
-
}
|
40
|
-
|
41
|
-
.c-field {
|
42
|
-
padding-left: $field-padding * 4;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.c-fieldset,
|
47
|
-
.c-fieldset.c-list {
|
48
|
-
display: block;
|
49
|
-
width: $fieldset-width;
|
50
|
-
margin: $fieldset-margin;
|
51
|
-
padding: $fieldset-padding;
|
52
|
-
border: $fieldset-border;
|
53
|
-
}
|
54
|
-
|
55
|
-
.c-fieldset__legend {
|
56
|
-
@include label;
|
57
|
-
padding: $legend-padding;
|
58
|
-
}
|
59
|
-
|
60
|
-
// LABELS
|
61
|
-
.c-label {
|
62
|
-
@include label;
|
63
|
-
}
|
64
|
-
|
65
|
-
// TEXT FIELDS
|
66
|
-
.c-field {
|
67
|
-
display: block;
|
68
|
-
width: 100%;
|
69
|
-
margin: $field-margin;
|
70
|
-
padding: $field-padding;
|
71
|
-
border: $field-border;
|
72
|
-
border-radius: $field-border-radius;
|
73
|
-
outline: 0;
|
74
|
-
background-color: $field-background-color;
|
75
|
-
font-family: inherit;
|
76
|
-
font-size: $field-font-size;
|
77
|
-
font-weight: $field-font-weight;
|
78
|
-
resize: vertical;
|
79
|
-
appearance: none;
|
80
|
-
|
81
|
-
&:focus {
|
82
|
-
border-color: $field-focus-border-color;
|
83
|
-
box-shadow: $field-focus-box-shadow;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
// SELECTS, CHECKBOXES AND RADIOS
|
88
|
-
select.c-field {
|
89
|
-
cursor: pointer;
|
90
|
-
|
91
|
-
&::-ms-expand {
|
92
|
-
display: none;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
// SELECTS
|
97
|
-
select.c-field:not([multiple]) {
|
98
|
-
padding-right: 1em;
|
99
|
-
background-image: url("data:image/png;base64,R0lGODlhDwAUAIABAAAAAP///yH5BAEAAAEALAAAAAAPABQAAAIXjI+py+0Po5wH2HsXzmw//lHiSJZmUAAAOw==");
|
100
|
-
background-repeat: no-repeat;
|
101
|
-
background-position: 99% 50%;
|
102
|
-
}
|
103
|
-
|
104
|
-
// CHECKBOXES and RADIOs
|
105
|
-
.c-field input {
|
106
|
-
margin-right: $checkbox-margin;
|
107
|
-
outline: 0;
|
108
|
-
font-size: $checkbox-font-size;
|
109
|
-
}
|
110
|
-
|
111
|
-
.c-field--label {
|
112
|
-
margin: $label-field-margin;
|
113
|
-
}
|
114
|
-
|
115
|
-
.c-field--error {
|
116
|
-
border-color: $field-error-border-color;
|
117
|
-
color: $field-error-color;
|
118
|
-
}
|
119
|
-
|
120
|
-
.c-field--success {
|
121
|
-
border-color: $field-success-border-color;
|
122
|
-
color: $field-success-color;
|
123
|
-
}
|
124
|
-
|
125
|
-
.c-field--choice {
|
126
|
-
border: $checkbox-border;
|
127
|
-
border-radius: 0;
|
128
|
-
background-color: $checkbox-background-color;
|
129
|
-
}
|
130
|
-
|
131
|
-
.c-fieldset--disabled .c-field,
|
132
|
-
.c-fieldset:disabled .c-field,
|
133
|
-
.c-field--disabled,
|
134
|
-
.c-field:disabled {
|
135
|
-
@include field--disabled;
|
136
|
-
|
137
|
-
&.c-field--choice {
|
138
|
-
background-color: $checkbox-background-color;
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
.c-field input:disabled {
|
143
|
-
@include disabled;
|
144
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
@import "mixins/components.links";
|
2
|
-
|
3
|
-
.c-link {
|
4
|
-
@include link--color;
|
5
|
-
text-decoration: $link-text-decoration;
|
6
|
-
cursor: pointer;
|
7
|
-
|
8
|
-
&:hover {
|
9
|
-
text-decoration: $link-hover-text-decoration;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.c-link--brand {
|
14
|
-
@include link--color($link-brand-color);
|
15
|
-
}
|
16
|
-
|
17
|
-
.c-link--info {
|
18
|
-
@include link--color($link-info-color);
|
19
|
-
}
|
20
|
-
|
21
|
-
.c-link--warning {
|
22
|
-
@include link--color($link-warning-color);
|
23
|
-
}
|
24
|
-
|
25
|
-
.c-link--success {
|
26
|
-
@include link--color($link-success-color);
|
27
|
-
}
|
28
|
-
|
29
|
-
.c-link--error {
|
30
|
-
@include link--color($link-error-color);
|
31
|
-
}
|
@@ -1,60 +0,0 @@
|
|
1
|
-
@import "mixins/components.lists";
|
2
|
-
|
3
|
-
.c-list {
|
4
|
-
display: block;
|
5
|
-
margin: $list-margin;
|
6
|
-
padding: $list-padding;
|
7
|
-
list-style-position: outside;
|
8
|
-
}
|
9
|
-
|
10
|
-
.c-list .c-list {
|
11
|
-
padding: $list-nested-padding;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-list__item {
|
15
|
-
padding: $list-item-padding;
|
16
|
-
}
|
17
|
-
|
18
|
-
.c-list__item--unstyled {
|
19
|
-
list-style: $list-item-unstyled-list-style;
|
20
|
-
}
|
21
|
-
|
22
|
-
.c-list--unstyled {
|
23
|
-
@include list--unstyled;
|
24
|
-
}
|
25
|
-
|
26
|
-
.c-list--ordered {
|
27
|
-
@include list--unstyled;
|
28
|
-
counter-reset: ordered;
|
29
|
-
|
30
|
-
.c-list__item {
|
31
|
-
&:before {
|
32
|
-
padding: $list-ordered-item-padding;
|
33
|
-
content: counters(ordered, ".") " ";
|
34
|
-
counter-increment: ordered;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-list--inline {
|
40
|
-
@include list--inline;
|
41
|
-
|
42
|
-
.c-list--inline {
|
43
|
-
@include list--inline;
|
44
|
-
}
|
45
|
-
|
46
|
-
.c-list__item {
|
47
|
-
display: inline-block;
|
48
|
-
width: auto;
|
49
|
-
padding-right: $list-inline-item-padding-right;
|
50
|
-
}
|
51
|
-
|
52
|
-
&:not(.c-list--unstyled) {
|
53
|
-
.c-list__item {
|
54
|
-
&:before {
|
55
|
-
padding: $list-inline-item-bullet-padding;
|
56
|
-
content: $list-inline-item-bullet-content;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
@@ -1,126 +0,0 @@
|
|
1
|
-
@import "mixins/components.navs";
|
2
|
-
|
3
|
-
.c-nav {
|
4
|
-
@include nav--color;
|
5
|
-
width: $nav-width;
|
6
|
-
margin: $nav-margin;
|
7
|
-
padding: $nav-padding;
|
8
|
-
z-index: $nav-z-index;
|
9
|
-
}
|
10
|
-
|
11
|
-
.c-nav__item,
|
12
|
-
.c-nav__content {
|
13
|
-
display: block;
|
14
|
-
height: $nav-height;
|
15
|
-
padding: 0 $nav-item-padding;
|
16
|
-
color: inherit;
|
17
|
-
line-height: $nav-height;
|
18
|
-
vertical-align: middle;
|
19
|
-
|
20
|
-
.o-image {
|
21
|
-
height: 100%;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
.c-nav__item {
|
26
|
-
@include nav__item--color;
|
27
|
-
text-decoration: none;
|
28
|
-
cursor: pointer;
|
29
|
-
}
|
30
|
-
|
31
|
-
.c-nav--inline {
|
32
|
-
.c-nav__item,
|
33
|
-
.c-nav__content {
|
34
|
-
display: inline-block;
|
35
|
-
}
|
36
|
-
|
37
|
-
.c-nav__item--right,
|
38
|
-
.c-nav__content--right {
|
39
|
-
float: right;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.c-nav--light {
|
44
|
-
@include nav--color($nav-light-background-color, $nav-light-color);
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-nav--top {
|
48
|
-
position: absolute;
|
49
|
-
top: 0;
|
50
|
-
right: 0;
|
51
|
-
bottom: auto;
|
52
|
-
left: 0;
|
53
|
-
|
54
|
-
}
|
55
|
-
|
56
|
-
.c-nav--bottom {
|
57
|
-
position: absolute;
|
58
|
-
top: auto;
|
59
|
-
right: 0;
|
60
|
-
bottom: 0;
|
61
|
-
left: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
.c-nav--left {
|
65
|
-
position: absolute;
|
66
|
-
top: 0;
|
67
|
-
right: auto;
|
68
|
-
bottom: 0;
|
69
|
-
left: 0;
|
70
|
-
}
|
71
|
-
|
72
|
-
.c-nav--right {
|
73
|
-
position: absolute;
|
74
|
-
top: 0;
|
75
|
-
right: 0;
|
76
|
-
bottom: 0;
|
77
|
-
left: auto;
|
78
|
-
}
|
79
|
-
|
80
|
-
.c-nav--fixed {
|
81
|
-
position: fixed;
|
82
|
-
}
|
83
|
-
|
84
|
-
.c-nav__item--active {
|
85
|
-
@include nav__item--active;
|
86
|
-
}
|
87
|
-
|
88
|
-
.c-nav__item--brand {
|
89
|
-
@include nav__item--color($nav-item-brand-hover-background-color, $nav-item-brand-hover-color);
|
90
|
-
|
91
|
-
&.c-nav__item--active {
|
92
|
-
@include nav__item--active($nav-item-brand-active-background-color, $nav-item-brand-active-color);
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
.c-nav__item--info {
|
97
|
-
@include nav__item--color($nav-item-info-hover-background-color, $nav-item-info-hover-color);
|
98
|
-
|
99
|
-
&.c-nav__item--active {
|
100
|
-
@include nav__item--active($nav-item-info-active-background-color, $nav-item-info-active-color);
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
.c-nav__item--warning {
|
105
|
-
@include nav__item--color($color-warning);
|
106
|
-
|
107
|
-
&.c-nav__item--active {
|
108
|
-
@include nav__item--active($nav-item-warning-active-background-color, $nav-item-warning-active-color);
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
.c-nav__item--success {
|
113
|
-
@include nav__item--color($color-success);
|
114
|
-
|
115
|
-
&.c-nav__item--active {
|
116
|
-
@include nav__item--active($nav-item-success-active-background-color, $nav-item-success-active-color);
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.c-nav__item--error {
|
121
|
-
@include nav__item--color($color-error);
|
122
|
-
|
123
|
-
&.c-nav__item--active {
|
124
|
-
@include nav__item--active($nav-item-error-active-background-color, $nav-item-error-active-color);
|
125
|
-
}
|
126
|
-
}
|