activeadmin_blaze_theme 0.5.10 → 0.6.2
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 +2 -0
- data/.rubocop.yml +27 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +1 -1
- data/README.md +72 -73
- data/Rakefile +15 -1
- data/activeadmin_blaze_theme.gemspec +24 -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 -974
- data/bin/rails +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/extra/edit.png +0 -0
- data/extra/index.png +0 -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 +390 -70
- 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
- data/extra/screenshot1.jpg +0 -0
- data/extra/screenshot2.jpg +0 -0
- data/extra/screenshot3.jpg +0 -0
- data/extra/screenshot4.jpg +0 -0
@@ -1,26 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-overlay {
|
4
|
-
display: block;
|
5
|
-
position: absolute;
|
6
|
-
top: 0;
|
7
|
-
right: 0;
|
8
|
-
bottom: 0;
|
9
|
-
left: 0;
|
10
|
-
width: 100%;
|
11
|
-
height: 100%;
|
12
|
-
background-color: transparentize($overlay-background-color, .6);
|
13
|
-
z-index: $overlay-z-index;
|
14
|
-
}
|
15
|
-
|
16
|
-
.c-overlay--fullpage {
|
17
|
-
position: fixed;
|
18
|
-
}
|
19
|
-
|
20
|
-
.c-overlay--transparent {
|
21
|
-
background-color: $overlay-transparent-background-color;
|
22
|
-
}
|
23
|
-
|
24
|
-
.c-overlay--dismissable {
|
25
|
-
cursor: pointer;
|
26
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
@import "mixins/components.buttons";
|
3
|
-
|
4
|
-
.c-pagination {
|
5
|
-
display: block;
|
6
|
-
width: $pagination-width;
|
7
|
-
padding: $pagination-padding;
|
8
|
-
font-size: $pagination-font-size;
|
9
|
-
text-align: center;
|
10
|
-
}
|
11
|
-
|
12
|
-
.c-pagination__controls {
|
13
|
-
display: inline-block;
|
14
|
-
text-align: center;
|
15
|
-
}
|
16
|
-
|
17
|
-
.c-pagination__controls--backward {
|
18
|
-
float: left;
|
19
|
-
text-align: left;
|
20
|
-
}
|
21
|
-
|
22
|
-
.c-pagination__controls--forward {
|
23
|
-
float: right;
|
24
|
-
text-align: right;
|
25
|
-
}
|
26
|
-
|
27
|
-
.c-pagination__control,
|
28
|
-
.c-pagination__page {
|
29
|
-
@include button;
|
30
|
-
@include button-ghost($pagination-control-color);
|
31
|
-
min-width: 2.4em;
|
32
|
-
border-radius: $pagination-control-border-radius;
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-pagination__page--current {
|
36
|
-
background-color: $pagination-page-current-background-color;
|
37
|
-
color: $pagination-page-current-color;
|
38
|
-
}
|
39
|
-
|
40
|
-
.c-pagination__ellipsis {
|
41
|
-
padding: $pagination-ellipsis-padding;
|
42
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-progress {
|
4
|
-
display: block;
|
5
|
-
border: $progress-border;
|
6
|
-
border-radius: $progress-border-radius;
|
7
|
-
background-color: $progress-background-color;
|
8
|
-
color: $progress-color;
|
9
|
-
text-align: center;
|
10
|
-
overflow: hidden;
|
11
|
-
}
|
12
|
-
|
13
|
-
.c-progress--rounded {
|
14
|
-
border-radius: $progress-rounded-border-radius;
|
15
|
-
}
|
16
|
-
|
17
|
-
.c-progress__bar {
|
18
|
-
display: block;
|
19
|
-
height: 100%;
|
20
|
-
float: left;
|
21
|
-
border-radius: 0;
|
22
|
-
background-color: $progress-bar-background-color;
|
23
|
-
text-overflow: ellipsis;
|
24
|
-
white-space: nowrap;
|
25
|
-
overflow: hidden;
|
26
|
-
}
|
27
|
-
|
28
|
-
.c-progress__bar:after {
|
29
|
-
color: transparent !important;
|
30
|
-
content: "-";
|
31
|
-
}
|
32
|
-
|
33
|
-
.c-progress__bar--brand {
|
34
|
-
background-color: $color-brand;
|
35
|
-
}
|
36
|
-
|
37
|
-
.c-progress__bar--info {
|
38
|
-
background-color: $color-info;
|
39
|
-
}
|
40
|
-
|
41
|
-
.c-progress__bar--warning {
|
42
|
-
background-color: $color-warning;
|
43
|
-
}
|
44
|
-
|
45
|
-
.c-progress__bar--success {
|
46
|
-
background-color: $color-success;
|
47
|
-
}
|
48
|
-
|
49
|
-
.c-progress__bar--error {
|
50
|
-
background-color: $color-error;
|
51
|
-
}
|
@@ -1,114 +0,0 @@
|
|
1
|
-
@import "mixins/components.ranges";
|
2
|
-
|
3
|
-
.c-range {
|
4
|
-
@include range--color;
|
5
|
-
width: $range-width;
|
6
|
-
padding: $range-padding;
|
7
|
-
outline: 0;
|
8
|
-
-webkit-appearance: none;
|
9
|
-
}
|
10
|
-
|
11
|
-
.c-range--brand {
|
12
|
-
@include range--color($range-brand-background-color);
|
13
|
-
}
|
14
|
-
|
15
|
-
.c-range--info {
|
16
|
-
@include range--color($range-info-background-color);
|
17
|
-
}
|
18
|
-
|
19
|
-
.c-range--warning {
|
20
|
-
@include range--color($range-warning-background-color);
|
21
|
-
}
|
22
|
-
|
23
|
-
.c-range--success {
|
24
|
-
@include range--color($range-success-background-color);
|
25
|
-
}
|
26
|
-
|
27
|
-
.c-range--error {
|
28
|
-
@include range--color($range-error-background-color);
|
29
|
-
}
|
30
|
-
|
31
|
-
.c-range::-webkit-slider-runnable-track {
|
32
|
-
@include range__track;
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-range::-webkit-slider-thumb {
|
36
|
-
@include range__thumb;
|
37
|
-
@include range__thumb--webkit;
|
38
|
-
}
|
39
|
-
|
40
|
-
.c-range::-moz-range-track {
|
41
|
-
@include range__track;
|
42
|
-
}
|
43
|
-
|
44
|
-
.c-range::-moz-range-thumb {
|
45
|
-
@include range__thumb;
|
46
|
-
}
|
47
|
-
|
48
|
-
.c-range::-ms-track {
|
49
|
-
@include range__track;
|
50
|
-
@include range__track--ms;
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-range::-ms-fill-lower,
|
54
|
-
.c-range::-ms-fill-upper {
|
55
|
-
@include range__fill--ms;
|
56
|
-
}
|
57
|
-
|
58
|
-
.c-range::-ms-thumb {
|
59
|
-
@include range__thumb;
|
60
|
-
}
|
61
|
-
|
62
|
-
.c-range:not(:disabled):active {
|
63
|
-
&::-webkit-slider-thumb {
|
64
|
-
@include range__thumb--active;
|
65
|
-
}
|
66
|
-
|
67
|
-
&::-moz-range-thumb {
|
68
|
-
@include range__thumb--active;
|
69
|
-
}
|
70
|
-
|
71
|
-
&::-ms-thumb {
|
72
|
-
@include range__thumb--active;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
.c-range:focus {
|
77
|
-
&::-webkit-slider-thumb {
|
78
|
-
@include range__thumb--focus;
|
79
|
-
}
|
80
|
-
|
81
|
-
&::-moz-range-thumb {
|
82
|
-
@include range__thumb--focus;
|
83
|
-
}
|
84
|
-
|
85
|
-
&::-ms-thumb {
|
86
|
-
@include range__thumb--focus;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
.c-range:disabled {
|
91
|
-
&::-webkit-slider-thumb {
|
92
|
-
@include range--disabled;
|
93
|
-
}
|
94
|
-
|
95
|
-
&::-webkit-slider-runnable-track {
|
96
|
-
@include range--disabled;
|
97
|
-
}
|
98
|
-
|
99
|
-
&::-moz-range-thumb {
|
100
|
-
@include range--disabled;
|
101
|
-
}
|
102
|
-
|
103
|
-
&::-moz-range-track {
|
104
|
-
@include range--disabled;
|
105
|
-
}
|
106
|
-
|
107
|
-
&::-ms-thumb {
|
108
|
-
@include range--disabled;
|
109
|
-
}
|
110
|
-
|
111
|
-
&::-ms-track {
|
112
|
-
@include range--disabled;
|
113
|
-
}
|
114
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
@import "mixins/objects.grid";
|
3
|
-
|
4
|
-
.c-table {
|
5
|
-
@include grid;
|
6
|
-
@include grid--wrap;
|
7
|
-
width: $table-width;
|
8
|
-
margin: $table-margin;
|
9
|
-
padding: $table-padding;
|
10
|
-
border: $table-border;
|
11
|
-
border-collapse: collapse;
|
12
|
-
border-spacing: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.c-table__caption {
|
16
|
-
@include grid;
|
17
|
-
@include grid__cell--full;
|
18
|
-
max-width: $table-caption-max-width;
|
19
|
-
padding: $table-caption-padding;
|
20
|
-
color: $table-caption-color;
|
21
|
-
font-size: $table-caption-font-size;
|
22
|
-
text-align: $table-caption-text-align;
|
23
|
-
}
|
24
|
-
|
25
|
-
.c-table__row,
|
26
|
-
.c-table__head,
|
27
|
-
.c-table__body {
|
28
|
-
display: flex;
|
29
|
-
flex: 0 0 100%;
|
30
|
-
flex-wrap: wrap;
|
31
|
-
max-width: 100%;
|
32
|
-
}
|
33
|
-
|
34
|
-
.c-table--striped :not(.c-table__row--heading).c-table__row:nth-of-type(odd) {
|
35
|
-
background-color: $table-row-striped-background-color;
|
36
|
-
color: $table-row-striped-color;
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-table__cell {
|
40
|
-
display: flex;
|
41
|
-
flex: 1;
|
42
|
-
padding: $table-cell-padding;
|
43
|
-
text-align: $table-cell-text-align;
|
44
|
-
overflow: auto;
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-table__row--heading .c-table__cell {
|
48
|
-
display: flex;
|
49
|
-
flex: 1;
|
50
|
-
border-bottom: $table-heading-border;
|
51
|
-
background-color: $table-heading-background-color;
|
52
|
-
color: $table-heading-color;
|
53
|
-
font-size: $text-font-size-medium;
|
54
|
-
font-weight: $table-heading-font-weight;
|
55
|
-
}
|
56
|
-
|
57
|
-
.c-table--striped .c-table__row--heading .c-table__cell {
|
58
|
-
background-color: $table-heading-striped-background-color;
|
59
|
-
color: $table-heading-striped-color;
|
60
|
-
}
|
61
|
-
|
62
|
-
.c-table--clickable :not(.c-table__row--heading).c-table__row:hover .c-table__cell,
|
63
|
-
.c-table__row--clickable:hover .c-table__cell {
|
64
|
-
background-color: $table-row-clickable-background-color;
|
65
|
-
color: $table-row-clickable-color;
|
66
|
-
cursor: pointer;
|
67
|
-
}
|
68
|
-
|
69
|
-
.c-table__row--disabled {
|
70
|
-
background-color: $table-row-disabled-background-color;
|
71
|
-
color: $table-row-disabled-color;
|
72
|
-
cursor: default;
|
73
|
-
}
|
74
|
-
|
75
|
-
.c-table--clickable :not(.c-table__row--heading).c-table__row--disabled:hover .c-table__cell,
|
76
|
-
.c-table__row--disabled:hover .c-table__cell {
|
77
|
-
background-color: $table-row-disabled-background-color;
|
78
|
-
color: $table-row-disabled-color;
|
79
|
-
cursor: not-allowed;
|
80
|
-
}
|
81
|
-
|
82
|
-
.c-table--condensed {
|
83
|
-
font-size: $table-condensed-font-size;
|
84
|
-
|
85
|
-
.c-table__cell {
|
86
|
-
padding: $table-condensed-cell-padding;
|
87
|
-
}
|
88
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
@import "mixins/components.tabs";
|
2
|
-
|
3
|
-
.c-tabs {
|
4
|
-
display: block;
|
5
|
-
}
|
6
|
-
|
7
|
-
.c-tabs__headings {
|
8
|
-
display: flex;
|
9
|
-
text-align: $tab-headings-text-align;
|
10
|
-
cursor: pointer;
|
11
|
-
}
|
12
|
-
|
13
|
-
.c-tab-heading {
|
14
|
-
flex: 1;
|
15
|
-
margin: $tab-heading-margin;
|
16
|
-
padding: $tab-heading-padding;
|
17
|
-
box-shadow: 0 -.2em 0 0 $tab-heading-box-shadow-color inset;
|
18
|
-
}
|
19
|
-
|
20
|
-
.c-tabs__nav {
|
21
|
-
overflow: hidden;
|
22
|
-
|
23
|
-
.c-tabs__headings {
|
24
|
-
margin-bottom: -1em;
|
25
|
-
padding-bottom: 1em;
|
26
|
-
overflow-y: hidden;
|
27
|
-
overflow-x: auto;
|
28
|
-
}
|
29
|
-
|
30
|
-
.c-tab-heading {
|
31
|
-
white-space: nowrap;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-tab-heading--active {
|
36
|
-
@include tab-heading--color;
|
37
|
-
}
|
38
|
-
|
39
|
-
.c-tabs--brand .c-tab-heading--active {
|
40
|
-
@include tab-heading--color($tab-heading-brand-active-box-shadow-color);
|
41
|
-
}
|
42
|
-
|
43
|
-
.c-tabs--info .c-tab-heading--active {
|
44
|
-
@include tab-heading--color($tab-heading-info-active-box-shadow-color);
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-tabs--warning .c-tab-heading--active {
|
48
|
-
@include tab-heading--color($tab-heading-warning-active-box-shadow-color);
|
49
|
-
}
|
50
|
-
|
51
|
-
.c-tabs--success .c-tab-heading--active {
|
52
|
-
@include tab-heading--color($tab-heading-success-active-box-shadow-color);
|
53
|
-
}
|
54
|
-
|
55
|
-
.c-tabs--error .c-tab-heading--active {
|
56
|
-
@include tab-heading--color($tab-heading-error-active-box-shadow-color);
|
57
|
-
}
|
58
|
-
|
59
|
-
.c-tab-heading--disabled {
|
60
|
-
background-color: $tab-heading-disabled-background-color;
|
61
|
-
color: $tab-heading-disabled-color;
|
62
|
-
cursor: not-allowed;
|
63
|
-
}
|
64
|
-
|
65
|
-
.c-tabs__tab {
|
66
|
-
display: none;
|
67
|
-
padding: $tab-padding;
|
68
|
-
}
|
69
|
-
|
70
|
-
.c-tabs__tab--active {
|
71
|
-
display: block;
|
72
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
@import "mixins/settings.global";
|
2
|
-
|
3
|
-
.c-tags {
|
4
|
-
position: relative;
|
5
|
-
width: $tags-width;
|
6
|
-
text-align: $tags-text-align;
|
7
|
-
}
|
8
|
-
|
9
|
-
.c-tags .c-card--menu {
|
10
|
-
position: absolute;
|
11
|
-
width: 100%;
|
12
|
-
}
|
13
|
-
|
14
|
-
.c-tags__container {
|
15
|
-
display: inline-block;
|
16
|
-
max-width: $tags-container-width;
|
17
|
-
padding-right: $spacing-xsmall;
|
18
|
-
}
|
19
|
-
|
20
|
-
.c-tag {
|
21
|
-
display: inline-block;
|
22
|
-
position: relative;
|
23
|
-
max-width: $tags-container-width;
|
24
|
-
margin: $tag-margin;
|
25
|
-
padding: $tag-padding;
|
26
|
-
}
|
27
|
-
|
28
|
-
.c-tag__close {
|
29
|
-
position: absolute;
|
30
|
-
top: 7px;
|
31
|
-
right: 5px;
|
32
|
-
color: $tag-close-color;
|
33
|
-
font-weight: $tag-close-font-weight;
|
34
|
-
}
|
35
|
-
|
36
|
-
.c-tags__field-container {
|
37
|
-
display: inline-block;
|
38
|
-
position: absolute;
|
39
|
-
width: $tags-field-container-width;
|
40
|
-
margin: $tags-field-container-margin;
|
41
|
-
cursor: pointer;
|
42
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
@import "mixins/components.toggles";
|
2
|
-
|
3
|
-
.c-toggle {
|
4
|
-
@include grid;
|
5
|
-
@include grid--center;
|
6
|
-
width: auto;
|
7
|
-
cursor: pointer;
|
8
|
-
user-select: none;
|
9
|
-
|
10
|
-
input:not(:checked) + .c-toggle__track {
|
11
|
-
background-color: $toggle-track-unchecked-background-color;
|
12
|
-
|
13
|
-
.c-toggle__handle {
|
14
|
-
transform: translateZ(0);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
input:disabled + .c-toggle__track {
|
19
|
-
background-color: $toggle-track-disabled-background-color;
|
20
|
-
cursor: not-allowed;
|
21
|
-
|
22
|
-
.c-toggle__handle {
|
23
|
-
background-color: $toggle-handle-disabled-background-color;
|
24
|
-
cursor: not-allowed;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
.c-toggle--brand .c-toggle__track {
|
30
|
-
@include toggle__track--background-color($toggle-track-brand-background-color);
|
31
|
-
}
|
32
|
-
|
33
|
-
.c-toggle--info .c-toggle__track {
|
34
|
-
@include toggle__track--background-color($toggle-track-info-background-color);
|
35
|
-
}
|
36
|
-
|
37
|
-
.c-toggle--warning .c-toggle__track {
|
38
|
-
@include toggle__track--background-color($toggle-track-warning-background-color);
|
39
|
-
}
|
40
|
-
|
41
|
-
.c-toggle--success .c-toggle__track {
|
42
|
-
@include toggle__track--background-color($toggle-track-success-background-color);
|
43
|
-
}
|
44
|
-
|
45
|
-
.c-toggle--error .c-toggle__track {
|
46
|
-
@include toggle__track--background-color($toggle-track-error-background-color);
|
47
|
-
}
|
48
|
-
|
49
|
-
.c-toggle input {
|
50
|
-
display: none;
|
51
|
-
}
|
52
|
-
|
53
|
-
.c-toggle__track {
|
54
|
-
@include grid__cell;
|
55
|
-
@include grid__cell--width-fixed;
|
56
|
-
@include toggle__track--background-color;
|
57
|
-
position: relative;
|
58
|
-
width: 1em;
|
59
|
-
height: .5em;
|
60
|
-
margin: $toggle-margin;
|
61
|
-
border-radius: $toggle-track-border-radius;
|
62
|
-
}
|
63
|
-
|
64
|
-
.c-toggle__handle {
|
65
|
-
position: absolute;
|
66
|
-
top: -.25em;
|
67
|
-
left: 0;
|
68
|
-
width: 1em;
|
69
|
-
height: 1em;
|
70
|
-
transform: translateX(100%);
|
71
|
-
border-radius: $toggle-handle-border-radius;
|
72
|
-
background-color: $toggle-handle-background-color;
|
73
|
-
box-shadow: $toggle-handle-box-shadow;
|
74
|
-
}
|