administrate-bootstrap-theme 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap.bundle.js +2503 -3001
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_accordion.scss +73 -33
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_alert.scss +25 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_badge.scss +14 -5
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_breadcrumb.scss +22 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_button-group.scss +6 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_buttons.scss +133 -28
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_card.scss +60 -37
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_carousel.scss +22 -15
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss +33 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_containers.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_dropdown.scss +86 -76
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_functions.scss +10 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss +9 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss +3 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss +60 -37
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_maps.scss +174 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss +1 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss +71 -44
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss +86 -28
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_navbar.scss +101 -147
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_offcanvas.scss +121 -61
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_pagination.scss +66 -21
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_placeholders.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_popover.scss +90 -52
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_progress.scss +30 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_reboot.scss +31 -45
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss +155 -22
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss +38 -22
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss +40 -24
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_toasts.scss +38 -16
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tooltip.scss +60 -56
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss +2 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss +209 -33
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables-dark.scss +87 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss +404 -294
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss +4 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss +4 -7
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-utilities.scss +7 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap.scss +5 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_floating-labels.scss +37 -5
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-check.scss +51 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-control.scss +36 -41
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-range.scss +3 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-select.scss +12 -4
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_input-group.scss +20 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_color-bg.scss +7 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss +20 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_focus-ring.scss +5 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_icon-link.scss +25 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss +7 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss +2 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_vr.scss +2 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss +11 -4
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_banner.scss +7 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss +8 -8
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss +32 -95
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss +30 -25
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-mode.scss +21 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_container.scss +4 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_forms.scss +38 -19
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_gradients.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_grid.scss +14 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_list-group.scss +2 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_pagination.scss +4 -25
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_reset-text.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_table-variants.scss +12 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_utilities.scss +14 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_visually-hidden.scss +5 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/vendor/_rfs.scss +23 -29
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +21 -7
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +4 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss +11 -3
- data/lib/administrate-bootstrap-theme/version.rb +2 -2
- data/package.json +2 -2
- metadata +24 -3
@@ -0,0 +1,87 @@
|
|
1
|
+
// Dark color mode variables
|
2
|
+
//
|
3
|
+
// Custom variables for the `[data-bs-theme="dark"]` theme. Use this as a starting point for your own custom color modes by creating a new theme-specific file like `_variables-dark.scss` and adding the variables you need.
|
4
|
+
|
5
|
+
//
|
6
|
+
// Global colors
|
7
|
+
//
|
8
|
+
|
9
|
+
// scss-docs-start sass-dark-mode-vars
|
10
|
+
// scss-docs-start theme-text-dark-variables
|
11
|
+
$primary-text-emphasis-dark: tint-color($primary, 40%) !default;
|
12
|
+
$secondary-text-emphasis-dark: tint-color($secondary, 40%) !default;
|
13
|
+
$success-text-emphasis-dark: tint-color($success, 40%) !default;
|
14
|
+
$info-text-emphasis-dark: tint-color($info, 40%) !default;
|
15
|
+
$warning-text-emphasis-dark: tint-color($warning, 40%) !default;
|
16
|
+
$danger-text-emphasis-dark: tint-color($danger, 40%) !default;
|
17
|
+
$light-text-emphasis-dark: $gray-100 !default;
|
18
|
+
$dark-text-emphasis-dark: $gray-300 !default;
|
19
|
+
// scss-docs-end theme-text-dark-variables
|
20
|
+
|
21
|
+
// scss-docs-start theme-bg-subtle-dark-variables
|
22
|
+
$primary-bg-subtle-dark: shade-color($primary, 80%) !default;
|
23
|
+
$secondary-bg-subtle-dark: shade-color($secondary, 80%) !default;
|
24
|
+
$success-bg-subtle-dark: shade-color($success, 80%) !default;
|
25
|
+
$info-bg-subtle-dark: shade-color($info, 80%) !default;
|
26
|
+
$warning-bg-subtle-dark: shade-color($warning, 80%) !default;
|
27
|
+
$danger-bg-subtle-dark: shade-color($danger, 80%) !default;
|
28
|
+
$light-bg-subtle-dark: $gray-800 !default;
|
29
|
+
$dark-bg-subtle-dark: mix($gray-800, $black) !default;
|
30
|
+
// scss-docs-end theme-bg-subtle-dark-variables
|
31
|
+
|
32
|
+
// scss-docs-start theme-border-subtle-dark-variables
|
33
|
+
$primary-border-subtle-dark: shade-color($primary, 40%) !default;
|
34
|
+
$secondary-border-subtle-dark: shade-color($secondary, 40%) !default;
|
35
|
+
$success-border-subtle-dark: shade-color($success, 40%) !default;
|
36
|
+
$info-border-subtle-dark: shade-color($info, 40%) !default;
|
37
|
+
$warning-border-subtle-dark: shade-color($warning, 40%) !default;
|
38
|
+
$danger-border-subtle-dark: shade-color($danger, 40%) !default;
|
39
|
+
$light-border-subtle-dark: $gray-700 !default;
|
40
|
+
$dark-border-subtle-dark: $gray-800 !default;
|
41
|
+
// scss-docs-end theme-border-subtle-dark-variables
|
42
|
+
|
43
|
+
$body-color-dark: $gray-300 !default;
|
44
|
+
$body-bg-dark: $gray-900 !default;
|
45
|
+
$body-secondary-color-dark: rgba($body-color-dark, .75) !default;
|
46
|
+
$body-secondary-bg-dark: $gray-800 !default;
|
47
|
+
$body-tertiary-color-dark: rgba($body-color-dark, .5) !default;
|
48
|
+
$body-tertiary-bg-dark: mix($gray-800, $gray-900, 50%) !default;
|
49
|
+
$body-emphasis-color-dark: $white !default;
|
50
|
+
$border-color-dark: $gray-700 !default;
|
51
|
+
$border-color-translucent-dark: rgba($white, .15) !default;
|
52
|
+
$headings-color-dark: inherit !default;
|
53
|
+
$link-color-dark: tint-color($primary, 40%) !default;
|
54
|
+
$link-hover-color-dark: shift-color($link-color-dark, -$link-shade-percentage) !default;
|
55
|
+
$code-color-dark: tint-color($code-color, 40%) !default;
|
56
|
+
$mark-color-dark: $body-color-dark !default;
|
57
|
+
$mark-bg-dark: $yellow-800 !default;
|
58
|
+
|
59
|
+
|
60
|
+
//
|
61
|
+
// Forms
|
62
|
+
//
|
63
|
+
|
64
|
+
$form-select-indicator-color-dark: $body-color-dark !default;
|
65
|
+
$form-select-indicator-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color-dark}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") !default;
|
66
|
+
|
67
|
+
$form-switch-color-dark: rgba($white, .25) !default;
|
68
|
+
$form-switch-bg-image-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color-dark}'/></svg>") !default;
|
69
|
+
|
70
|
+
// scss-docs-start form-validation-colors-dark
|
71
|
+
$form-valid-color-dark: $green-300 !default;
|
72
|
+
$form-valid-border-color-dark: $green-300 !default;
|
73
|
+
$form-invalid-color-dark: $red-300 !default;
|
74
|
+
$form-invalid-border-color-dark: $red-300 !default;
|
75
|
+
// scss-docs-end form-validation-colors-dark
|
76
|
+
|
77
|
+
|
78
|
+
//
|
79
|
+
// Accordion
|
80
|
+
//
|
81
|
+
|
82
|
+
$accordion-icon-color-dark: $primary-text-emphasis-dark !default;
|
83
|
+
$accordion-icon-active-color-dark: $primary-text-emphasis-dark !default;
|
84
|
+
|
85
|
+
$accordion-button-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
86
|
+
$accordion-button-active-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
87
|
+
// scss-docs-end sass-dark-mode-vars
|