activeadmin_blaze_theme 0.7.0 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +13 -0
- data/README.md +30 -8
- data/activeadmin_blaze_theme.gemspec +1 -13
- data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +1 -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/lib/activeadmin_blaze_theme.rb +3 -3
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- data/package.json +1 -1
- metadata +59 -206
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e4b53242af49f31d662d0c774b78cad40d87ad563c771ce174b8ca8866d1b539
|
|
4
|
+
data.tar.gz: f6b941ff7872c51db2d6c47e5117420d0e5f8e611ca897f7e4db88e61a398e97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cd32f3785b930a07522b2ee62bde86e3ce57e75b4e881ddd8c84ae2125871b0cc8d1a0f9ec76bc8549471296f2bb28ca9e489b19eae7bfa54c48eb89bdbf163
|
|
7
|
+
data.tar.gz: 6b79a90746b9365553acf87aa98735d8fe24243cd17385f041863ef767be6ea770bdc681c214e311cdf4a6c3977dd80059b7b600558bded86fff49e4174d4c0a
|
data/Gemfile
CHANGED
|
@@ -3,3 +3,16 @@
|
|
|
3
3
|
source 'https://rubygems.org'
|
|
4
4
|
|
|
5
5
|
gemspec
|
|
6
|
+
|
|
7
|
+
gem 'pry-rails'
|
|
8
|
+
|
|
9
|
+
gem 'activestorage', '~> 6.0'
|
|
10
|
+
gem 'capybara', '~> 3.33'
|
|
11
|
+
gem 'puma', '~> 4.3'
|
|
12
|
+
gem 'rspec-rails'
|
|
13
|
+
gem 'rspec_junit_formatter', '~> 0.4'
|
|
14
|
+
gem 'rubocop', '~> 1.0'
|
|
15
|
+
gem 'sassc', '~> 2.4'
|
|
16
|
+
gem 'selenium-webdriver', '~> 3.142'
|
|
17
|
+
gem 'sprockets-rails', '~> 3.2'
|
|
18
|
+
gem 'sqlite3', '~> 1.4'
|
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Active Admin Blaze Theme
|
|
2
|
-
[](https://badge.fury.io/rb/activeadmin_blaze_theme) [](https://circleci.com/gh/blocknotes/activeadmin_blaze_theme)
|
|
1
|
+
# Active Admin Blaze Theme [](https://badge.fury.io/rb/activeadmin_blaze_theme) [](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs.yml)
|
|
3
2
|
|
|
4
|
-
A theme for Active Admin using [Blaze CSS](http://blazecss.com
|
|
3
|
+
A theme for Active Admin using [Blaze CSS](http://blazecss.com) 3.x
|
|
5
4
|
|
|
6
5
|
Features:
|
|
6
|
+
|
|
7
7
|
- CSS only theme with clean UI
|
|
8
8
|
- compact nested forms
|
|
9
9
|
- [customizable](#customize) options: colors, sidebar position, squared style, scroll on cells
|
|
@@ -13,9 +13,10 @@ Features:
|
|
|
13
13
|
See some [screenshots](#screenshots).
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
|
-
- Add to your Gemfile: `gem 'activeadmin_blaze_theme'` (and execute `bundle`)
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
First, add to your Gemfile: `gem 'activeadmin_blaze_theme'` (and execute `bundle`)
|
|
18
|
+
|
|
19
|
+
Then, if you installed Active Admin **without Webpacker** support (so using Sprockets):
|
|
19
20
|
|
|
20
21
|
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
|
|
21
22
|
|
|
@@ -23,7 +24,7 @@ If you installed Active Admin **without** Webpacker support:
|
|
|
23
24
|
@import "activeadmin_blaze_theme/theme";
|
|
24
25
|
```
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
Otherwise, **with Webpacker**:
|
|
27
28
|
|
|
28
29
|
- Add the component to the _package.json_: `yarn add blocknotes/activeadmin_blaze_theme`
|
|
29
30
|
- Add at the end of your Active Admin javascript pack (_app/javascript/packs/active_admin.js_):
|
|
@@ -32,10 +33,21 @@ If you are using Webpacker:
|
|
|
32
33
|
require('activeadmin_blaze_theme');
|
|
33
34
|
```
|
|
34
35
|
|
|
35
|
-
-
|
|
36
|
+
- Another option is appending to _app/javascript/stylesheets/active_admin.scss_ (in this case the JS require line is not needed):
|
|
37
|
+
|
|
38
|
+
```scss
|
|
39
|
+
// ...
|
|
40
|
+
// optionally add custom colors variables here
|
|
41
|
+
@import "~activeadmin_blaze_theme/app/assets/stylesheets/activeadmin_blaze_theme/theme";
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
- Sometimes it could be necessary to remove the _node_modules_ path and recreate it (using `yarn install --check-files`) or to clean the tmp path: `bin/rails tmp:clear`
|
|
36
45
|
|
|
37
46
|
## Customize
|
|
38
|
-
|
|
47
|
+
|
|
48
|
+
- Colors customization is available using some Sass variables;
|
|
49
|
+
- With Sprockets: you need to update your Active Admin styles (before **activeadmin_blaze_theme/theme** import line);
|
|
50
|
+
- With Webpacker: you need to import the theme using the Sass/Scss option as described above.
|
|
39
51
|
|
|
40
52
|
```scss
|
|
41
53
|
// blaze colors
|
|
@@ -104,6 +116,7 @@ body.active_admin .cke {
|
|
|
104
116
|
## Custom fields / components
|
|
105
117
|
|
|
106
118
|
### Toggle
|
|
119
|
+
|
|
107
120
|
In *form* \ *inputs* block:
|
|
108
121
|
|
|
109
122
|
```ruby
|
|
@@ -125,6 +138,7 @@ f.input :boolean, as: :blaze_toggle, input_html: { simple_checkbox: true }
|
|
|
125
138
|
```
|
|
126
139
|
|
|
127
140
|
### Sidebar menu
|
|
141
|
+
|
|
128
142
|
A sidebar menu (*priority* option permit to put the sidebar above the filters):
|
|
129
143
|
|
|
130
144
|
```ruby
|
|
@@ -144,6 +158,7 @@ end
|
|
|
144
158
|
```
|
|
145
159
|
|
|
146
160
|
### Accordion
|
|
161
|
+
|
|
147
162
|
An accordion group in a form:
|
|
148
163
|
|
|
149
164
|
```ruby
|
|
@@ -164,6 +179,7 @@ end
|
|
|
164
179
|
```
|
|
165
180
|
|
|
166
181
|
### Readonly field
|
|
182
|
+
|
|
167
183
|
Some readonly fields in a form:
|
|
168
184
|
|
|
169
185
|
```ruby
|
|
@@ -192,6 +208,7 @@ end
|
|
|
192
208
|
```
|
|
193
209
|
|
|
194
210
|
## Blaze widgets
|
|
211
|
+
|
|
195
212
|
See components available in Blaze CSS [docs](http://blazecss.com/components/buttons/).
|
|
196
213
|
|
|
197
214
|
Badge example:
|
|
@@ -215,9 +232,11 @@ end
|
|
|
215
232
|
```
|
|
216
233
|
|
|
217
234
|
## Notes
|
|
235
|
+
|
|
218
236
|
- To use this plugins with Active Admin 1.x please use the version [0.5.12](https://github.com/blocknotes/activeadmin_blaze_theme/releases/tag/v0.5.12)
|
|
219
237
|
|
|
220
238
|
## Screenshots
|
|
239
|
+
|
|
221
240
|
Index:
|
|
222
241
|

|
|
223
242
|
|
|
@@ -225,12 +244,15 @@ Edit:
|
|
|
225
244
|

|
|
226
245
|
|
|
227
246
|
## Do you like it? Star it!
|
|
247
|
+
|
|
228
248
|
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
|
|
229
249
|
|
|
230
250
|
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
|
|
231
251
|
|
|
232
252
|
## Contributors
|
|
253
|
+
|
|
233
254
|
- [Mattia Roccoberton](http://blocknot.es): author
|
|
234
255
|
|
|
235
256
|
## License
|
|
257
|
+
|
|
236
258
|
The gem is available as open-source under the terms of the [MIT](LICENSE.txt).
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.authors = ['Mattia Roccoberton']
|
|
11
11
|
spec.email = ['mat@blocknot.es']
|
|
12
12
|
spec.summary = 'ActiveAdmin Blaze Theme'
|
|
13
|
-
spec.description = 'An ActiveAdmin theme
|
|
13
|
+
spec.description = 'An ActiveAdmin theme based on Blaze CSS UI toolkit'
|
|
14
14
|
spec.homepage = 'https://github.com/blocknotes/activeadmin_blaze_theme'
|
|
15
15
|
spec.license = 'MIT'
|
|
16
16
|
|
|
@@ -20,16 +20,4 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.require_paths = ['lib']
|
|
21
21
|
|
|
22
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
23
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@import "mixins/settings.global";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Colors
|
|
5
|
+
//
|
|
6
|
+
@each $name, $value in $colors {
|
|
7
|
+
.u-color-#{$name} {
|
|
8
|
+
color: $value;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.u-bg-#{$name} {
|
|
12
|
+
background-color: $value;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.u-fill-#{$name} {
|
|
16
|
+
fill: $value;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.u-stroke-#{$name} {
|
|
20
|
+
stroke: $value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.u-stroke-none {
|
|
25
|
+
stroke: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.u-fill-none {
|
|
29
|
+
fill: none;
|
|
30
|
+
}
|
|
@@ -1,49 +1,43 @@
|
|
|
1
|
-
//
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import
|
|
8
|
-
@import
|
|
9
|
-
@import
|
|
10
|
-
@import
|
|
11
|
-
@import
|
|
12
|
-
@import
|
|
13
|
-
@import
|
|
14
|
-
@import
|
|
15
|
-
@import
|
|
16
|
-
@import
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
@import
|
|
20
|
-
@import
|
|
21
|
-
@import
|
|
22
|
-
@import
|
|
23
|
-
@import
|
|
24
|
-
@import
|
|
25
|
-
@import
|
|
26
|
-
@import
|
|
27
|
-
@import
|
|
28
|
-
@import
|
|
29
|
-
@import
|
|
30
|
-
@import
|
|
31
|
-
@import
|
|
32
|
-
@import
|
|
33
|
-
@import
|
|
34
|
-
@import
|
|
35
|
-
@import
|
|
36
|
-
@import
|
|
37
|
-
@import
|
|
38
|
-
@import
|
|
39
|
-
@import
|
|
40
|
-
@import
|
|
41
|
-
@import
|
|
42
|
-
@import
|
|
43
|
-
@import
|
|
44
|
-
@import 'utilities.boxing';
|
|
45
|
-
@import 'utilities.elevation';
|
|
46
|
-
@import 'utilities.radius';
|
|
47
|
-
@import 'utilities.sizes';
|
|
48
|
-
@import 'utilities.typography';
|
|
49
|
-
@import 'utilities.visibility';
|
|
1
|
+
// v3.6.3
|
|
2
|
+
@import "generics.global";
|
|
3
|
+
@import "objects.containers";
|
|
4
|
+
@import "objects.grid";
|
|
5
|
+
@import "objects.grid.responsive";
|
|
6
|
+
@import "objects.images";
|
|
7
|
+
@import "objects.panels";
|
|
8
|
+
@import "objects.media";
|
|
9
|
+
@import "objects.forms";
|
|
10
|
+
@import "objects.modals";
|
|
11
|
+
@import "objects.drawers";
|
|
12
|
+
@import "components.typography";
|
|
13
|
+
@import "components.badges";
|
|
14
|
+
@import "components.headings";
|
|
15
|
+
@import "components.addresses";
|
|
16
|
+
@import "components.tables";
|
|
17
|
+
@import "components.cards";
|
|
18
|
+
@import "components.buttons";
|
|
19
|
+
@import "components.links";
|
|
20
|
+
@import "components.lists";
|
|
21
|
+
@import "components.breadcrumbs";
|
|
22
|
+
@import "components.trees";
|
|
23
|
+
@import "components.tabs";
|
|
24
|
+
@import "components.inputs";
|
|
25
|
+
@import "components.input-groups";
|
|
26
|
+
@import "components.hints";
|
|
27
|
+
@import "components.toggles";
|
|
28
|
+
@import "components.tags";
|
|
29
|
+
@import "components.ranges";
|
|
30
|
+
@import "components.pagination";
|
|
31
|
+
@import "components.overlays";
|
|
32
|
+
@import "components.bubbles";
|
|
33
|
+
@import "components.tooltips";
|
|
34
|
+
@import "components.alerts";
|
|
35
|
+
@import "components.calendars";
|
|
36
|
+
@import "components.navs";
|
|
37
|
+
@import "components.progress";
|
|
38
|
+
@import "components.avatars";
|
|
39
|
+
@import "utilities.alignment";
|
|
40
|
+
@import "utilities.boxing";
|
|
41
|
+
@import "utilities.elevation";
|
|
42
|
+
@import "utilities.sizes";
|
|
43
|
+
@import "utilities.visibility";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@import "mixins/components.alerts";
|
|
2
|
+
|
|
3
|
+
.c-alerts {
|
|
4
|
+
display: block;
|
|
5
|
+
position: absolute;
|
|
6
|
+
width: $alerts-width;
|
|
7
|
+
max-height: 100%;
|
|
8
|
+
background-color: $alerts-background-color;
|
|
9
|
+
z-index: $alerts-z-index;
|
|
10
|
+
overflow-y: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.c-alerts--topleft {
|
|
14
|
+
top: $alerts-margin;
|
|
15
|
+
left: $alerts-margin;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.c-alerts--topright {
|
|
19
|
+
top: $alerts-margin;
|
|
20
|
+
right: $alerts-margin;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.c-alerts--bottomleft {
|
|
24
|
+
bottom: 0;
|
|
25
|
+
left: $alerts-margin;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.c-alerts--bottomright {
|
|
29
|
+
right: $alerts-margin;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.c-alert {
|
|
34
|
+
@include alert-color;
|
|
35
|
+
position: relative;
|
|
36
|
+
margin: $alert-margin;
|
|
37
|
+
padding: $alert-padding;
|
|
38
|
+
border-radius: $alert-border-radius;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.c-alert--brand {
|
|
42
|
+
@include alert-color($alert-brand-background-color);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.c-alert--info {
|
|
46
|
+
@include alert-color($alert-info-background-color);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.c-alert--warning {
|
|
50
|
+
@include alert-color($alert-warning-background-color);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.c-alert--success {
|
|
54
|
+
@include alert-color($alert-success-background-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.c-alert--error {
|
|
58
|
+
@include alert-color($alert-error-background-color);
|
|
59
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "mixins/settings.global";
|
|
2
|
+
|
|
3
|
+
.c-avatar {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
position: relative;
|
|
6
|
+
width: $avatar-medium-size;
|
|
7
|
+
height: $avatar-medium-size;
|
|
8
|
+
margin: $avatar-margin;
|
|
9
|
+
border-radius: $avatar-img-border-radius;
|
|
10
|
+
background-color: $avatar-background-color;
|
|
11
|
+
color: $avatar-color;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.c-avatar[data-text]:after {
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 50%;
|
|
17
|
+
left: 50%;
|
|
18
|
+
transform: translate(-50%, -50%);
|
|
19
|
+
content: attr(data-text);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.c-avatar__img {
|
|
23
|
+
display: block;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
border-radius: $avatar-img-border-radius;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.c-avatar__img + .c-avatar__img {
|
|
31
|
+
position: absolute;
|
|
32
|
+
right: 0;
|
|
33
|
+
bottom: 0;
|
|
34
|
+
width: $avatar-inner-img-size;
|
|
35
|
+
height: $avatar-inner-img-size;
|
|
36
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import "mixins/components.badges";
|
|
2
|
+
|
|
3
|
+
.c-badge {
|
|
4
|
+
@include badge($badge-background-color, $badge-color, $badge-background-color);
|
|
5
|
+
display: inline-block;
|
|
6
|
+
margin: $badge-margin;
|
|
7
|
+
padding: $badge-padding;
|
|
8
|
+
border-radius: $badge-border-radius;
|
|
9
|
+
font-size: $badge-font-size;
|
|
10
|
+
font-weight: $badge-font-weight;
|
|
11
|
+
line-height: $badge-line-height;
|
|
12
|
+
|
|
13
|
+
&.c-badge--ghost {
|
|
14
|
+
@include badge($badge-ghost-background-color, $badge-ghost-color)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.c-badge--rounded {
|
|
19
|
+
border-radius: $badge-border-radius-rounded;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.c-badge--brand {
|
|
23
|
+
@include badge($badge-brand-background-color, $badge-brand-color, $badge-brand-background-color);
|
|
24
|
+
|
|
25
|
+
&.c-badge--ghost {
|
|
26
|
+
@include badge($badge-ghost-brand-background-color, $badge-ghost-brand-color)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.c-badge--info {
|
|
31
|
+
@include badge($badge-info-background-color, $badge-info-color, $badge-info-background-color);
|
|
32
|
+
|
|
33
|
+
&.c-badge--ghost {
|
|
34
|
+
@include badge($badge-ghost-info-background-color, $badge-ghost-info-color)
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.c-badge--warning {
|
|
39
|
+
@include badge($badge-warning-background-color, $badge-warning-color, $badge-warning-background-color);
|
|
40
|
+
|
|
41
|
+
&.c-badge--ghost {
|
|
42
|
+
@include badge($badge-ghost-warning-background-color, $badge-ghost-warning-color)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.c-badge--success {
|
|
47
|
+
@include badge($badge-success-background-color, $badge-success-color, $badge-success-background-color);
|
|
48
|
+
|
|
49
|
+
&.c-badge--ghost {
|
|
50
|
+
@include badge($badge-ghost-success-background-color, $badge-ghost-success-color)
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.c-badge--error {
|
|
55
|
+
@include badge($badge-error-background-color, $badge-error-color, $badge-error-background-color);
|
|
56
|
+
|
|
57
|
+
&.c-badge--ghost {
|
|
58
|
+
@include badge($badge-ghost-error-background-color, $badge-ghost-error-color)
|
|
59
|
+
}
|
|
60
|
+
}
|