activeadmin_blaze_theme 0.7.0 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -7
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +1 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +3 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/_tables.scss +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +30 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +43 -49
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +12 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +59 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +36 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +60 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +20 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +49 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +77 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +69 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +213 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +14 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +27 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +163 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +135 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +31 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +60 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +126 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +33 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +42 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +51 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +114 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +88 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +72 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +42 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +74 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_components.tooltips.scss → components.tooltips.scss} +30 -28
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +47 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +95 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +13 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +6 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +8 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +43 -82
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +40 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +22 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +10 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +29 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +89 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +5 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +6 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +25 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +10 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +10 -38
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +864 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +34 -13
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +125 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +46 -6
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +29 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +88 -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 +58 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.panels.scss → objects.panels.scss} +11 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +7 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_utilities.alignment.scss → utilities.alignment.scss} +1 -1
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +101 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +19 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +25 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.visibility.scss +45 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +1 -1
- data/lib/activeadmin/views/activeadmin_form.rb +1 -1
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- data/lib/activeadmin_blaze_theme.rb +3 -3
- data/package.json +2 -2
- metadata +64 -381
- data/.github/workflows/specs.yml +0 -26
- data/.gitignore +0 -13
- data/.rspec +0 -2
- data/.rubocop.yml +0 -27
- data/Gemfile +0 -5
- data/Rakefile +0 -16
- data/activeadmin_blaze_theme.gemspec +0 -35
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.addresses.scss +0 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.alerts.scss +0 -78
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.avatars.scss +0 -38
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.back-to-top.scss +0 -17
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.badges.scss +0 -71
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.breadcrumbs.scss +0 -24
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.buttons.scss +0 -91
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.calendars.scss +0 -80
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.cards.scss +0 -195
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.divider.scss +0 -39
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.file-upload.scss +0 -24
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.github-buttons.scss +0 -131
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.headings.scss +0 -12
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.hints.scss +0 -21
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.input-groups.scss +0 -164
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.inputs.scss +0 -128
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.links.scss +0 -72
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.lists.scss +0 -64
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.navs.scss +0 -83
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.overlays.scss +0 -23
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.pagination.scss +0 -31
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.progress.scss +0 -83
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.ranges.scss +0 -176
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tables.scss +0 -86
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tabs.scss +0 -68
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tags.scss +0 -39
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.timelines.scss +0 -113
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.toggles.scss +0 -89
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.trees.scss +0 -48
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_generics.global.scss +0 -17
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.containers.scss +0 -37
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.drawers.scss +0 -91
- 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 -70
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.boxing.scss +0 -111
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.elevation.scss +0 -17
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.radius.scss +0 -11
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.sizes.scss +0 -23
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.typography.scss +0 -160
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss +0 -54
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_variables.scss +0 -93
- data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.states.scss +0 -7
- data/bin/rails +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/extra/edit.png +0 -0
- data/extra/index.png +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/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/config.ru +0 -5
- 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,126 @@
|
|
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
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
@import "mixins/settings.global";
|
2
|
+
|
3
|
+
.c-overlay {
|
4
|
+
display: block;
|
5
|
+
position: fixed;
|
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
|
+
opacity: 0;
|
14
|
+
visibility: hidden;
|
15
|
+
z-index: $overlay-z-index;
|
16
|
+
}
|
17
|
+
|
18
|
+
.c-overlay--visible {
|
19
|
+
opacity: 1;
|
20
|
+
visibility: visible;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-overlay--fullpage {
|
24
|
+
position: fixed;
|
25
|
+
}
|
26
|
+
|
27
|
+
.c-overlay--transparent {
|
28
|
+
background-color: $overlay-transparent-background-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
.c-overlay--dismissable {
|
32
|
+
cursor: pointer;
|
33
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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
|
+
}
|
@@ -0,0 +1,114 @@
|
|
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
|
+
}
|
@@ -0,0 +1,88 @@
|
|
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
|
+
}
|
@@ -0,0 +1,72 @@
|
|
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
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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
|
+
}
|
@@ -0,0 +1,74 @@
|
|
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
|
+
}
|