activeadmin_blaze_theme 0.6.2 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -5
- 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 +2 -2
- data/index.js +2 -0
- 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 +13 -0
- metadata +65 -367
- data/.circleci/config.yml +0 -33
- 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
data/.circleci/config.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
version: 2.1
|
2
|
-
orbs:
|
3
|
-
ruby: circleci/ruby@0.1.2
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
docker:
|
8
|
-
- image: circleci/ruby:2.6.6-stretch-node-browsers
|
9
|
-
executor: ruby/default
|
10
|
-
steps:
|
11
|
-
- checkout
|
12
|
-
- restore_cache:
|
13
|
-
key: gem-cache-{{ checksum "activeadmin_blaze_theme.gemspec" }}
|
14
|
-
- run:
|
15
|
-
name: Setup Bundler
|
16
|
-
command: gem install bundler
|
17
|
-
- run:
|
18
|
-
name: Bundle Install
|
19
|
-
command: bundle install --path vendor/bundle
|
20
|
-
- save_cache:
|
21
|
-
key: gem-cache-{{ checksum "activeadmin_blaze_theme.gemspec" }}
|
22
|
-
paths: vendor/bundle
|
23
|
-
- run:
|
24
|
-
name: Run Specs
|
25
|
-
command: |
|
26
|
-
bin/rspec \
|
27
|
-
--profile 10 \
|
28
|
-
--format RspecJunitFormatter \
|
29
|
-
--out test_results/rspec.xml \
|
30
|
-
--format progress \
|
31
|
-
$(circleci tests glob "spec/**/*_spec.rb")
|
32
|
-
- store_test_results:
|
33
|
-
path: test_results
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
inherit_from:
|
2
|
-
- https://relaxed.ruby.style/rubocop.yml
|
3
|
-
|
4
|
-
AllCops:
|
5
|
-
Exclude:
|
6
|
-
- bin/*
|
7
|
-
- spec/dummy/**/*
|
8
|
-
NewCops: enable
|
9
|
-
|
10
|
-
Gemspec/RequiredRubyVersion:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
Naming/FileName:
|
14
|
-
Enabled: false
|
15
|
-
|
16
|
-
Layout/LineLength:
|
17
|
-
Enabled: true
|
18
|
-
Max: 120
|
19
|
-
|
20
|
-
Style/HashEachMethods:
|
21
|
-
Enabled: true
|
22
|
-
|
23
|
-
Style/HashTransformKeys:
|
24
|
-
Enabled: true
|
25
|
-
|
26
|
-
Style/HashTransformValues:
|
27
|
-
Enabled: true
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'rspec/core/rake_task'
|
7
|
-
|
8
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
9
|
-
# t.ruby_opts = %w[-w]
|
10
|
-
t.rspec_opts = ['--color', '--format documentation']
|
11
|
-
end
|
12
|
-
|
13
|
-
task default: :spec
|
14
|
-
rescue LoadError
|
15
|
-
puts '! LoadError: no RSpec available'
|
16
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'activeadmin_blaze_theme/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'activeadmin_blaze_theme'
|
9
|
-
spec.version = ActiveAdminBlazeTheme::VERSION
|
10
|
-
spec.authors = ['Mattia Roccoberton']
|
11
|
-
spec.email = ['mat@blocknot.es']
|
12
|
-
spec.summary = 'ActiveAdmin Blaze Theme'
|
13
|
-
spec.description = 'An ActiveAdmin theme which use Blaze CSS UI toolkit'
|
14
|
-
spec.homepage = 'https://github.com/blocknotes/activeadmin_blaze_theme'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
-
spec.require_paths = ['lib']
|
21
|
-
|
22
|
-
spec.add_runtime_dependency 'activeadmin', '~> 2.0'
|
23
|
-
|
24
|
-
spec.add_development_dependency 'activestorage', '~> 6.0'
|
25
|
-
spec.add_development_dependency 'capybara', '~> 3.33'
|
26
|
-
spec.add_development_dependency 'pry', '~> 0.13'
|
27
|
-
spec.add_development_dependency 'puma', '~> 4.3'
|
28
|
-
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
|
29
|
-
spec.add_development_dependency 'rspec-rails', '~> 4.0'
|
30
|
-
spec.add_development_dependency 'rubocop', '~> 0.90'
|
31
|
-
spec.add_development_dependency 'sassc', '~> 2.4'
|
32
|
-
spec.add_development_dependency 'selenium-webdriver', '~> 3.142'
|
33
|
-
spec.add_development_dependency 'sprockets-rails', '~> 3.2'
|
34
|
-
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
35
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
.c-alerts[role='presentation'] {
|
2
|
-
--alerts-background-color: var(--color-transparent);
|
3
|
-
|
4
|
-
z-index: var(--z-over-page);
|
5
|
-
display: block;
|
6
|
-
max-height: 100%;
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
overflow-y: auto;
|
10
|
-
list-style: none;
|
11
|
-
background-color: var(--alerts-background-color);
|
12
|
-
-webkit-overflow-scrolling: touch;
|
13
|
-
}
|
14
|
-
|
15
|
-
.c-alerts--topleft,
|
16
|
-
.c-alerts--topright,
|
17
|
-
.c-alerts--bottomleft,
|
18
|
-
.c-alerts--bottomright {
|
19
|
-
position: fixed;
|
20
|
-
width: 250px;
|
21
|
-
}
|
22
|
-
|
23
|
-
.c-alerts--topleft {
|
24
|
-
top: var(--spacing-medium);
|
25
|
-
left: var(--spacing-medium);
|
26
|
-
}
|
27
|
-
|
28
|
-
.c-alerts--topright {
|
29
|
-
top: var(--spacing-medium);
|
30
|
-
right: var(--spacing-medium);
|
31
|
-
}
|
32
|
-
|
33
|
-
.c-alerts--bottomleft {
|
34
|
-
bottom: 0;
|
35
|
-
left: var(--spacing-medium);
|
36
|
-
}
|
37
|
-
|
38
|
-
.c-alerts--bottomright {
|
39
|
-
right: var(--spacing-medium);
|
40
|
-
bottom: 0;
|
41
|
-
}
|
42
|
-
|
43
|
-
.c-alert[role='alert'] {
|
44
|
-
--alert-color: white;
|
45
|
-
--alert-background-color: var(--color-default);
|
46
|
-
|
47
|
-
position: relative;
|
48
|
-
margin: var(--spacing-medium);
|
49
|
-
padding: var(--spacing-medium) var(--spacing-super) var(--spacing-medium) var(--spacing-medium);
|
50
|
-
color: var(--alert-color);
|
51
|
-
background-color: var(--alert-background-color);
|
52
|
-
border-radius: var(--border-radius);
|
53
|
-
|
54
|
-
.c-link {
|
55
|
-
color: var(--alert-color) !important;
|
56
|
-
}
|
57
|
-
|
58
|
-
&.c-alert--brand {
|
59
|
-
--alert-background-color: var(--color-brand);
|
60
|
-
}
|
61
|
-
|
62
|
-
&.c-alert--info {
|
63
|
-
--alert-background-color: var(--color-info);
|
64
|
-
}
|
65
|
-
|
66
|
-
&.c-alert--warning {
|
67
|
-
--alert-color: black;
|
68
|
-
--alert-background-color: var(--color-warning);
|
69
|
-
}
|
70
|
-
|
71
|
-
&.c-alert--success {
|
72
|
-
--alert-background-color: var(--color-success);
|
73
|
-
}
|
74
|
-
|
75
|
-
&.c-alert--error {
|
76
|
-
--alert-background-color: var(--color-error);
|
77
|
-
}
|
78
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
.c-avatar {
|
2
|
-
--avatar-color: white;
|
3
|
-
--avatar-background-color: var(--color-brand);
|
4
|
-
--avatar-border-radius: var(--border-radius-rounded);
|
5
|
-
|
6
|
-
position: relative;
|
7
|
-
display: inline-block;
|
8
|
-
width: 3em;
|
9
|
-
height: 3em;
|
10
|
-
margin: 0;
|
11
|
-
color: var(--avatar-color);
|
12
|
-
background-color: var(--avatar-background-color);
|
13
|
-
border-radius: var(--avatar-border-radius);
|
14
|
-
}
|
15
|
-
|
16
|
-
.c-avatar[data-text]::after {
|
17
|
-
position: absolute;
|
18
|
-
top: 50%;
|
19
|
-
left: 50%;
|
20
|
-
transform: translate(-50%, -50%);
|
21
|
-
content: attr(data-text);
|
22
|
-
}
|
23
|
-
|
24
|
-
.c-avatar__img[alt] {
|
25
|
-
display: block;
|
26
|
-
width: 100%;
|
27
|
-
height: 100%;
|
28
|
-
overflow: hidden;
|
29
|
-
border-radius: var(--avatar-border-radius);
|
30
|
-
}
|
31
|
-
|
32
|
-
.c-avatar__img[alt] + .c-avatar__img[alt] {
|
33
|
-
position: absolute;
|
34
|
-
right: 0;
|
35
|
-
bottom: 0;
|
36
|
-
width: 50%;
|
37
|
-
height: 50%;
|
38
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
.c-back-to-top {
|
2
|
-
position: fixed;
|
3
|
-
right: 2em;
|
4
|
-
bottom: 2em;
|
5
|
-
z-index: var(--z-over-page);
|
6
|
-
|
7
|
-
&.c-back-to-top--left {
|
8
|
-
right: auto;
|
9
|
-
left: 2em;
|
10
|
-
}
|
11
|
-
|
12
|
-
&.c-back-to-top--center {
|
13
|
-
right: auto;
|
14
|
-
left: 50%;
|
15
|
-
transform: translateX(-50%);
|
16
|
-
}
|
17
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
.c-badge {
|
2
|
-
--badge-color: white;
|
3
|
-
--badge-background-color: var(--color-default);
|
4
|
-
|
5
|
-
display: inline-block;
|
6
|
-
margin: 0;
|
7
|
-
padding: var(--spacing-xsmall) var(--spacing-small);
|
8
|
-
color: var(--badge-color);
|
9
|
-
font-weight: var(--text-font-weight-heavy);
|
10
|
-
font-size: 0.8em;
|
11
|
-
line-height: 1.2;
|
12
|
-
background-color: var(--badge-background-color);
|
13
|
-
border: var(--border-width) var(--border-style) transparent;
|
14
|
-
border-radius: var(--border-radius);
|
15
|
-
|
16
|
-
&.c-badge--ghost {
|
17
|
-
--badge-background-color: var(--color-transparent);
|
18
|
-
--badge-color: var(--color-default);
|
19
|
-
border-color: var(--badge-color);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
.c-badge--rounded {
|
24
|
-
border-radius: var(--border-radius-rounded);
|
25
|
-
}
|
26
|
-
|
27
|
-
.c-badge--brand {
|
28
|
-
--badge-background-color: var(--color-brand);
|
29
|
-
|
30
|
-
&.c-badge--ghost {
|
31
|
-
--badge-background-color: var(--color-transparent);
|
32
|
-
--badge-color: var(--color-brand);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.c-badge--info {
|
37
|
-
--badge-background-color: var(--color-info);
|
38
|
-
|
39
|
-
&.c-badge--ghost {
|
40
|
-
--badge-background-color: var(--color-transparent);
|
41
|
-
--badge-color: var(--color-info);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
.c-badge--warning {
|
46
|
-
--badge-background-color: var(--color-warning);
|
47
|
-
--badge-color: black;
|
48
|
-
|
49
|
-
&.c-badge--ghost {
|
50
|
-
--badge-background-color: var(--color-transparent);
|
51
|
-
--badge-color: var(--color-warning);
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.c-badge--success {
|
56
|
-
--badge-background-color: var(--color-success);
|
57
|
-
|
58
|
-
&.c-badge--ghost {
|
59
|
-
--badge-background-color: var(--color-transparent);
|
60
|
-
--badge-color: var(--color-success);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
.c-badge--error {
|
65
|
-
--badge-background-color: var(--color-error);
|
66
|
-
|
67
|
-
&.c-badge--ghost {
|
68
|
-
--badge-background-color: var(--color-transparent);
|
69
|
-
--badge-color: var(--color-error);
|
70
|
-
}
|
71
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
.c-breadcrumbs {
|
2
|
-
display: block;
|
3
|
-
margin: 0;
|
4
|
-
padding: 0;
|
5
|
-
list-style: none;
|
6
|
-
}
|
7
|
-
|
8
|
-
.c-breadcrumbs__crumb {
|
9
|
-
display: inline-block;
|
10
|
-
width: auto;
|
11
|
-
padding: 0;
|
12
|
-
|
13
|
-
&:not([aria-current]) {
|
14
|
-
::after {
|
15
|
-
padding: 0 var(--spacing-small);
|
16
|
-
color: var(--color-default);
|
17
|
-
content: '/';
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
&[aria-current] {
|
22
|
-
font-weight: var(--text-font-weight-heavy);
|
23
|
-
}
|
24
|
-
}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
@import 'mixins/components.buttons';
|
2
|
-
|
3
|
-
.c-button {
|
4
|
-
--button-color: #fff;
|
5
|
-
--button-background-color: var(--color-default);
|
6
|
-
|
7
|
-
@include button;
|
8
|
-
|
9
|
-
&.c-button--close {
|
10
|
-
--button-color: inherit;
|
11
|
-
--button-background-color: transparent;
|
12
|
-
|
13
|
-
@include button-color;
|
14
|
-
|
15
|
-
position: absolute;
|
16
|
-
right: var(--spacing-small);
|
17
|
-
padding: 0;
|
18
|
-
font-weight: var(--text-font-weight-heavy);
|
19
|
-
font-size: 1.4em;
|
20
|
-
line-height: 1;
|
21
|
-
outline: 0;
|
22
|
-
}
|
23
|
-
|
24
|
-
&.c-button--block {
|
25
|
-
display: inline-block;
|
26
|
-
width: 100%;
|
27
|
-
}
|
28
|
-
|
29
|
-
&.c-button--rounded {
|
30
|
-
border-radius: var(--border-radius-rounded);
|
31
|
-
}
|
32
|
-
|
33
|
-
&.c-button--brand {
|
34
|
-
--button-background-color: var(--color-brand);
|
35
|
-
}
|
36
|
-
|
37
|
-
&.c-button--info {
|
38
|
-
--button-background-color: var(--color-info);
|
39
|
-
}
|
40
|
-
|
41
|
-
&.c-button--warning {
|
42
|
-
--button-color: #000;
|
43
|
-
--button-background-color: var(--color-warning);
|
44
|
-
}
|
45
|
-
|
46
|
-
&.c-button--success {
|
47
|
-
--button-background-color: var(--color-success);
|
48
|
-
}
|
49
|
-
|
50
|
-
&.c-button--error {
|
51
|
-
--button-background-color: var(--color-error);
|
52
|
-
}
|
53
|
-
|
54
|
-
&.c-button--ghost {
|
55
|
-
--button-color: var(--color-default);
|
56
|
-
|
57
|
-
@include button-ghost;
|
58
|
-
|
59
|
-
&.c-button--brand {
|
60
|
-
--button-color: var(--color-brand);
|
61
|
-
}
|
62
|
-
|
63
|
-
&.c-button--info {
|
64
|
-
--button-color: var(--color-info);
|
65
|
-
}
|
66
|
-
|
67
|
-
&.c-button--warning {
|
68
|
-
--button-color: var(--color-warning);
|
69
|
-
}
|
70
|
-
|
71
|
-
&.c-button--success {
|
72
|
-
--button-color: var(--color-success);
|
73
|
-
}
|
74
|
-
|
75
|
-
&.c-button--error {
|
76
|
-
--button-color: var(--color-error);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
&.c-button--nude {
|
81
|
-
@include button-nude;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
.c-button__icon-left {
|
86
|
-
padding-right: var(--spacing-small);
|
87
|
-
}
|
88
|
-
|
89
|
-
.c-button__icon-right {
|
90
|
-
padding-left: var(--spacing-small);
|
91
|
-
}
|