administrate-bootstrap-theme 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap/bootstrap.bundle.js +6714 -0
  4. data/app/assets/javascripts/administrate-bootstrap-theme/flatpickr/flatpickr.js +2673 -0
  5. data/app/assets/javascripts/administrate-bootstrap-theme/theme.js +21 -1
  6. data/app/assets/stylesheets/administrate-bootstrap-theme/_base.scss +5 -1
  7. data/app/assets/stylesheets/administrate-bootstrap-theme/_variables.scss +4 -1
  8. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_accordion.scss +0 -0
  9. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_alert.scss +0 -0
  10. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_badge.scss +0 -0
  11. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_breadcrumb.scss +0 -0
  12. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_button-group.scss +0 -0
  13. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_buttons.scss +0 -0
  14. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_card.scss +0 -0
  15. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_carousel.scss +0 -0
  16. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_close.scss +0 -0
  17. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_containers.scss +0 -0
  18. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_dropdown.scss +0 -0
  19. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_forms.scss +0 -0
  20. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_functions.scss +0 -0
  21. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_grid.scss +0 -0
  22. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_helpers.scss +0 -0
  23. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_images.scss +0 -0
  24. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_list-group.scss +0 -0
  25. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_mixins.scss +0 -0
  26. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_modal.scss +0 -0
  27. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_nav.scss +0 -0
  28. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_navbar.scss +0 -0
  29. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_offcanvas.scss +0 -0
  30. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_pagination.scss +0 -0
  31. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_popover.scss +0 -0
  32. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_progress.scss +0 -0
  33. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_reboot.scss +0 -0
  34. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_root.scss +0 -0
  35. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_spinners.scss +0 -0
  36. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tables.scss +0 -0
  37. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_toasts.scss +0 -0
  38. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tooltip.scss +0 -0
  39. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_transitions.scss +0 -0
  40. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_type.scss +0 -0
  41. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_utilities.scss +0 -0
  42. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_variables.scss +0 -0
  43. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-grid.scss +0 -0
  44. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-reboot.scss +0 -0
  45. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-utilities.scss +0 -0
  46. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap.scss +0 -0
  47. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_floating-labels.scss +0 -0
  48. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-check.scss +0 -0
  49. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-control.scss +0 -0
  50. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-range.scss +0 -0
  51. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-select.scss +0 -0
  52. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-text.scss +0 -0
  53. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_input-group.scss +0 -0
  54. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_labels.scss +0 -0
  55. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_validation.scss +0 -0
  56. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_clearfix.scss +0 -0
  57. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_colored-links.scss +0 -0
  58. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_position.scss +0 -0
  59. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_ratio.scss +0 -0
  60. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_stretched-link.scss +0 -0
  61. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_text-truncation.scss +0 -0
  62. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_visually-hidden.scss +0 -0
  63. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_alert.scss +0 -0
  64. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_border-radius.scss +0 -0
  65. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_box-shadow.scss +0 -0
  66. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_breakpoints.scss +0 -0
  67. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_buttons.scss +0 -0
  68. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_caret.scss +0 -0
  69. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_clearfix.scss +0 -0
  70. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_container.scss +0 -0
  71. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_deprecate.scss +0 -0
  72. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_forms.scss +0 -0
  73. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_gradients.scss +0 -0
  74. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_grid.scss +0 -0
  75. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_image.scss +0 -0
  76. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_list-group.scss +0 -0
  77. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_lists.scss +0 -0
  78. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_pagination.scss +0 -0
  79. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_reset-text.scss +0 -0
  80. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_resize.scss +0 -0
  81. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_table-variants.scss +0 -0
  82. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_text-truncate.scss +0 -0
  83. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_transition.scss +0 -0
  84. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_utilities.scss +0 -0
  85. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_visually-hidden.scss +0 -0
  86. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/utilities/_api.scss +0 -0
  87. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/vendor/_rfs.scss +0 -0
  88. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +1 -5
  89. data/app/assets/stylesheets/administrate-bootstrap-theme/flatpickr/flatpickr.css +791 -0
  90. data/app/assets/stylesheets/administrate-bootstrap-theme/theme.scss +11 -1
  91. data/lib/administrate-bootstrap-theme/engine.rb +0 -2
  92. data/lib/administrate-bootstrap-theme/version.rb +1 -1
  93. metadata +88 -105
  94. data/node_modules/bootstrap/js/src/alert.js +0 -141
  95. data/node_modules/bootstrap/js/src/base-component.js +0 -46
  96. data/node_modules/bootstrap/js/src/button.js +0 -95
  97. data/node_modules/bootstrap/js/src/carousel.js +0 -624
  98. data/node_modules/bootstrap/js/src/collapse.js +0 -410
  99. data/node_modules/bootstrap/js/src/dom/data.js +0 -57
  100. data/node_modules/bootstrap/js/src/dom/event-handler.js +0 -331
  101. data/node_modules/bootstrap/js/src/dom/manipulator.js +0 -80
  102. data/node_modules/bootstrap/js/src/dom/selector-engine.js +0 -75
  103. data/node_modules/bootstrap/js/src/dropdown.js +0 -543
  104. data/node_modules/bootstrap/js/src/modal.js +0 -582
  105. data/node_modules/bootstrap/js/src/offcanvas.js +0 -279
  106. data/node_modules/bootstrap/js/src/popover.js +0 -171
  107. data/node_modules/bootstrap/js/src/scrollspy.js +0 -319
  108. data/node_modules/bootstrap/js/src/tab.js +0 -220
  109. data/node_modules/bootstrap/js/src/toast.js +0 -219
  110. data/node_modules/bootstrap/js/src/tooltip.js +0 -802
  111. data/node_modules/bootstrap/js/src/util/index.js +0 -253
  112. data/node_modules/bootstrap/js/src/util/sanitizer.js +0 -127
  113. data/node_modules/bootstrap/js/src/util/scrollbar.js +0 -70
@@ -1,14 +1,24 @@
1
1
  @import "base";
2
2
 
3
3
  nav.navigation {
4
- @extend .text-white, .bg-dark;
4
+ @extend .text-white;
5
+
6
+ background: $navigation-bg;
5
7
 
6
8
  .button--alt {
7
9
  @extend .btn-outline-light;
10
+
11
+ color: $navigation-fg;
8
12
  }
9
13
 
10
14
  .navigation__link {
11
15
  @extend .btn-outline-light;
16
+
17
+ color: $navigation-fg;
18
+ }
19
+
20
+ .navigation__link--active {
21
+ background: $navigation-bg-active;
12
22
  }
13
23
  }
14
24
 
@@ -3,7 +3,5 @@
3
3
  module AdministrateBootstrapTheme
4
4
  class Engine < ::Rails::Engine
5
5
  isolate_namespace AdministrateBootstrapTheme
6
-
7
- config.assets.paths << File.expand_path('../../node_modules', __dir__)
8
6
  end
9
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdministrateBootstrapTheme
4
- VERSION = '0.1.9'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-bootstrap-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-24 00:00:00.000000000 Z
11
+ date: 2021-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.14'
27
- description: A Bootstrap theme for Administrate
27
+ description: 'A Bootstrap theme for Administrate: clean design, easy to install, customizable'
28
28
  email:
29
29
  - mat@blocknot.es
30
30
  executables: []
@@ -35,118 +35,101 @@ files:
35
35
  - README.md
36
36
  - Rakefile
37
37
  - app/assets/config/administrate-bootstrap-theme_manifest.js
38
+ - app/assets/javascripts/administrate-bootstrap-theme/bootstrap/bootstrap.bundle.js
39
+ - app/assets/javascripts/administrate-bootstrap-theme/flatpickr/flatpickr.js
38
40
  - app/assets/javascripts/administrate-bootstrap-theme/theme.js
39
41
  - app/assets/stylesheets/administrate-bootstrap-theme/_base.scss
40
42
  - app/assets/stylesheets/administrate-bootstrap-theme/_variables.scss
43
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_accordion.scss
44
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_alert.scss
45
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_badge.scss
46
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_breadcrumb.scss
47
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_button-group.scss
48
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_buttons.scss
49
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_card.scss
50
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_carousel.scss
51
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
52
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_containers.scss
53
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_dropdown.scss
54
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_forms.scss
55
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_functions.scss
56
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss
57
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss
58
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_images.scss
59
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss
60
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss
61
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss
62
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss
63
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_navbar.scss
64
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_offcanvas.scss
65
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_pagination.scss
66
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_popover.scss
67
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_progress.scss
68
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_reboot.scss
69
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss
70
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss
71
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss
72
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_toasts.scss
73
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tooltip.scss
74
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_transitions.scss
75
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss
76
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss
77
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss
78
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss
79
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss
80
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-utilities.scss
81
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap.scss
82
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_floating-labels.scss
83
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-check.scss
84
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-control.scss
85
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-range.scss
86
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-select.scss
87
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-text.scss
88
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_input-group.scss
89
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_labels.scss
90
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_validation.scss
91
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_clearfix.scss
92
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss
93
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss
94
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss
95
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_stretched-link.scss
96
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_text-truncation.scss
97
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_visually-hidden.scss
98
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss
99
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_border-radius.scss
100
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_box-shadow.scss
101
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss
102
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss
103
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss
104
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_clearfix.scss
105
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_container.scss
106
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_deprecate.scss
107
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_forms.scss
108
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_gradients.scss
109
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_grid.scss
110
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_image.scss
111
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_list-group.scss
112
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_lists.scss
113
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_pagination.scss
114
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_reset-text.scss
115
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_resize.scss
116
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_table-variants.scss
117
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_text-truncate.scss
118
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_transition.scss
119
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_utilities.scss
120
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_visually-hidden.scss
121
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/utilities/_api.scss
122
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/vendor/_rfs.scss
41
123
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss
42
124
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_content_header.scss
43
125
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss
44
126
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss
45
127
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss
128
+ - app/assets/stylesheets/administrate-bootstrap-theme/flatpickr/flatpickr.css
46
129
  - app/assets/stylesheets/administrate-bootstrap-theme/theme.scss
47
130
  - lib/administrate-bootstrap-theme.rb
48
131
  - lib/administrate-bootstrap-theme/engine.rb
49
132
  - lib/administrate-bootstrap-theme/version.rb
50
- - node_modules/bootstrap/js/src/alert.js
51
- - node_modules/bootstrap/js/src/base-component.js
52
- - node_modules/bootstrap/js/src/button.js
53
- - node_modules/bootstrap/js/src/carousel.js
54
- - node_modules/bootstrap/js/src/collapse.js
55
- - node_modules/bootstrap/js/src/dom/data.js
56
- - node_modules/bootstrap/js/src/dom/event-handler.js
57
- - node_modules/bootstrap/js/src/dom/manipulator.js
58
- - node_modules/bootstrap/js/src/dom/selector-engine.js
59
- - node_modules/bootstrap/js/src/dropdown.js
60
- - node_modules/bootstrap/js/src/modal.js
61
- - node_modules/bootstrap/js/src/offcanvas.js
62
- - node_modules/bootstrap/js/src/popover.js
63
- - node_modules/bootstrap/js/src/scrollspy.js
64
- - node_modules/bootstrap/js/src/tab.js
65
- - node_modules/bootstrap/js/src/toast.js
66
- - node_modules/bootstrap/js/src/tooltip.js
67
- - node_modules/bootstrap/js/src/util/index.js
68
- - node_modules/bootstrap/js/src/util/sanitizer.js
69
- - node_modules/bootstrap/js/src/util/scrollbar.js
70
- - node_modules/bootstrap/scss/_accordion.scss
71
- - node_modules/bootstrap/scss/_alert.scss
72
- - node_modules/bootstrap/scss/_badge.scss
73
- - node_modules/bootstrap/scss/_breadcrumb.scss
74
- - node_modules/bootstrap/scss/_button-group.scss
75
- - node_modules/bootstrap/scss/_buttons.scss
76
- - node_modules/bootstrap/scss/_card.scss
77
- - node_modules/bootstrap/scss/_carousel.scss
78
- - node_modules/bootstrap/scss/_close.scss
79
- - node_modules/bootstrap/scss/_containers.scss
80
- - node_modules/bootstrap/scss/_dropdown.scss
81
- - node_modules/bootstrap/scss/_forms.scss
82
- - node_modules/bootstrap/scss/_functions.scss
83
- - node_modules/bootstrap/scss/_grid.scss
84
- - node_modules/bootstrap/scss/_helpers.scss
85
- - node_modules/bootstrap/scss/_images.scss
86
- - node_modules/bootstrap/scss/_list-group.scss
87
- - node_modules/bootstrap/scss/_mixins.scss
88
- - node_modules/bootstrap/scss/_modal.scss
89
- - node_modules/bootstrap/scss/_nav.scss
90
- - node_modules/bootstrap/scss/_navbar.scss
91
- - node_modules/bootstrap/scss/_offcanvas.scss
92
- - node_modules/bootstrap/scss/_pagination.scss
93
- - node_modules/bootstrap/scss/_popover.scss
94
- - node_modules/bootstrap/scss/_progress.scss
95
- - node_modules/bootstrap/scss/_reboot.scss
96
- - node_modules/bootstrap/scss/_root.scss
97
- - node_modules/bootstrap/scss/_spinners.scss
98
- - node_modules/bootstrap/scss/_tables.scss
99
- - node_modules/bootstrap/scss/_toasts.scss
100
- - node_modules/bootstrap/scss/_tooltip.scss
101
- - node_modules/bootstrap/scss/_transitions.scss
102
- - node_modules/bootstrap/scss/_type.scss
103
- - node_modules/bootstrap/scss/_utilities.scss
104
- - node_modules/bootstrap/scss/_variables.scss
105
- - node_modules/bootstrap/scss/bootstrap-grid.scss
106
- - node_modules/bootstrap/scss/bootstrap-reboot.scss
107
- - node_modules/bootstrap/scss/bootstrap-utilities.scss
108
- - node_modules/bootstrap/scss/bootstrap.scss
109
- - node_modules/bootstrap/scss/forms/_floating-labels.scss
110
- - node_modules/bootstrap/scss/forms/_form-check.scss
111
- - node_modules/bootstrap/scss/forms/_form-control.scss
112
- - node_modules/bootstrap/scss/forms/_form-range.scss
113
- - node_modules/bootstrap/scss/forms/_form-select.scss
114
- - node_modules/bootstrap/scss/forms/_form-text.scss
115
- - node_modules/bootstrap/scss/forms/_input-group.scss
116
- - node_modules/bootstrap/scss/forms/_labels.scss
117
- - node_modules/bootstrap/scss/forms/_validation.scss
118
- - node_modules/bootstrap/scss/helpers/_clearfix.scss
119
- - node_modules/bootstrap/scss/helpers/_colored-links.scss
120
- - node_modules/bootstrap/scss/helpers/_position.scss
121
- - node_modules/bootstrap/scss/helpers/_ratio.scss
122
- - node_modules/bootstrap/scss/helpers/_stretched-link.scss
123
- - node_modules/bootstrap/scss/helpers/_text-truncation.scss
124
- - node_modules/bootstrap/scss/helpers/_visually-hidden.scss
125
- - node_modules/bootstrap/scss/mixins/_alert.scss
126
- - node_modules/bootstrap/scss/mixins/_border-radius.scss
127
- - node_modules/bootstrap/scss/mixins/_box-shadow.scss
128
- - node_modules/bootstrap/scss/mixins/_breakpoints.scss
129
- - node_modules/bootstrap/scss/mixins/_buttons.scss
130
- - node_modules/bootstrap/scss/mixins/_caret.scss
131
- - node_modules/bootstrap/scss/mixins/_clearfix.scss
132
- - node_modules/bootstrap/scss/mixins/_container.scss
133
- - node_modules/bootstrap/scss/mixins/_deprecate.scss
134
- - node_modules/bootstrap/scss/mixins/_forms.scss
135
- - node_modules/bootstrap/scss/mixins/_gradients.scss
136
- - node_modules/bootstrap/scss/mixins/_grid.scss
137
- - node_modules/bootstrap/scss/mixins/_image.scss
138
- - node_modules/bootstrap/scss/mixins/_list-group.scss
139
- - node_modules/bootstrap/scss/mixins/_lists.scss
140
- - node_modules/bootstrap/scss/mixins/_pagination.scss
141
- - node_modules/bootstrap/scss/mixins/_reset-text.scss
142
- - node_modules/bootstrap/scss/mixins/_resize.scss
143
- - node_modules/bootstrap/scss/mixins/_table-variants.scss
144
- - node_modules/bootstrap/scss/mixins/_text-truncate.scss
145
- - node_modules/bootstrap/scss/mixins/_transition.scss
146
- - node_modules/bootstrap/scss/mixins/_utilities.scss
147
- - node_modules/bootstrap/scss/mixins/_visually-hidden.scss
148
- - node_modules/bootstrap/scss/utilities/_api.scss
149
- - node_modules/bootstrap/scss/vendor/_rfs.scss
150
133
  homepage: https://github.com/blocknotes/administrate-bootstrap-theme
151
134
  licenses:
152
135
  - MIT
@@ -161,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
144
  requirements:
162
145
  - - ">="
163
146
  - !ruby/object:Gem::Version
164
- version: '0'
147
+ version: 2.5.0
165
148
  required_rubygems_version: !ruby/object:Gem::Requirement
166
149
  requirements:
167
150
  - - ">="
@@ -171,5 +154,5 @@ requirements: []
171
154
  rubygems_version: 3.0.3
172
155
  signing_key:
173
156
  specification_version: 4
174
- summary: Bootstrap Administrate Theme
157
+ summary: Administrate Bootstrap Theme
175
158
  test_files: []
@@ -1,141 +0,0 @@
1
- /**
2
- * --------------------------------------------------------------------------
3
- * Bootstrap (v5.0.0-beta3): alert.js
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
- * --------------------------------------------------------------------------
6
- */
7
-
8
- import {
9
- defineJQueryPlugin,
10
- emulateTransitionEnd,
11
- getElementFromSelector,
12
- getTransitionDurationFromElement
13
- } from './util/index'
14
- import Data from './dom/data'
15
- import EventHandler from './dom/event-handler'
16
- import BaseComponent from './base-component'
17
-
18
- /**
19
- * ------------------------------------------------------------------------
20
- * Constants
21
- * ------------------------------------------------------------------------
22
- */
23
-
24
- const NAME = 'alert'
25
- const DATA_KEY = 'bs.alert'
26
- const EVENT_KEY = `.${DATA_KEY}`
27
- const DATA_API_KEY = '.data-api'
28
-
29
- const SELECTOR_DISMISS = '[data-bs-dismiss="alert"]'
30
-
31
- const EVENT_CLOSE = `close${EVENT_KEY}`
32
- const EVENT_CLOSED = `closed${EVENT_KEY}`
33
- const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`
34
-
35
- const CLASS_NAME_ALERT = 'alert'
36
- const CLASS_NAME_FADE = 'fade'
37
- const CLASS_NAME_SHOW = 'show'
38
-
39
- /**
40
- * ------------------------------------------------------------------------
41
- * Class Definition
42
- * ------------------------------------------------------------------------
43
- */
44
-
45
- class Alert extends BaseComponent {
46
- // Getters
47
-
48
- static get DATA_KEY() {
49
- return DATA_KEY
50
- }
51
-
52
- // Public
53
-
54
- close(element) {
55
- const rootElement = element ? this._getRootElement(element) : this._element
56
- const customEvent = this._triggerCloseEvent(rootElement)
57
-
58
- if (customEvent === null || customEvent.defaultPrevented) {
59
- return
60
- }
61
-
62
- this._removeElement(rootElement)
63
- }
64
-
65
- // Private
66
-
67
- _getRootElement(element) {
68
- return getElementFromSelector(element) || element.closest(`.${CLASS_NAME_ALERT}`)
69
- }
70
-
71
- _triggerCloseEvent(element) {
72
- return EventHandler.trigger(element, EVENT_CLOSE)
73
- }
74
-
75
- _removeElement(element) {
76
- element.classList.remove(CLASS_NAME_SHOW)
77
-
78
- if (!element.classList.contains(CLASS_NAME_FADE)) {
79
- this._destroyElement(element)
80
- return
81
- }
82
-
83
- const transitionDuration = getTransitionDurationFromElement(element)
84
-
85
- EventHandler.one(element, 'transitionend', () => this._destroyElement(element))
86
- emulateTransitionEnd(element, transitionDuration)
87
- }
88
-
89
- _destroyElement(element) {
90
- if (element.parentNode) {
91
- element.parentNode.removeChild(element)
92
- }
93
-
94
- EventHandler.trigger(element, EVENT_CLOSED)
95
- }
96
-
97
- // Static
98
-
99
- static jQueryInterface(config) {
100
- return this.each(function () {
101
- let data = Data.get(this, DATA_KEY)
102
-
103
- if (!data) {
104
- data = new Alert(this)
105
- }
106
-
107
- if (config === 'close') {
108
- data[config](this)
109
- }
110
- })
111
- }
112
-
113
- static handleDismiss(alertInstance) {
114
- return function (event) {
115
- if (event) {
116
- event.preventDefault()
117
- }
118
-
119
- alertInstance.close(this)
120
- }
121
- }
122
- }
123
-
124
- /**
125
- * ------------------------------------------------------------------------
126
- * Data Api implementation
127
- * ------------------------------------------------------------------------
128
- */
129
-
130
- EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DISMISS, Alert.handleDismiss(new Alert()))
131
-
132
- /**
133
- * ------------------------------------------------------------------------
134
- * jQuery
135
- * ------------------------------------------------------------------------
136
- * add .Alert to jQuery only if jQuery is present
137
- */
138
-
139
- defineJQueryPlugin(NAME, Alert)
140
-
141
- export default Alert
@@ -1,46 +0,0 @@
1
- /**
2
- * --------------------------------------------------------------------------
3
- * Bootstrap (v5.0.0-beta3): base-component.js
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
- * --------------------------------------------------------------------------
6
- */
7
-
8
- import Data from './dom/data'
9
-
10
- /**
11
- * ------------------------------------------------------------------------
12
- * Constants
13
- * ------------------------------------------------------------------------
14
- */
15
-
16
- const VERSION = '5.0.0-beta3'
17
-
18
- class BaseComponent {
19
- constructor(element) {
20
- element = typeof element === 'string' ? document.querySelector(element) : element
21
-
22
- if (!element) {
23
- return
24
- }
25
-
26
- this._element = element
27
- Data.set(this._element, this.constructor.DATA_KEY, this)
28
- }
29
-
30
- dispose() {
31
- Data.remove(this._element, this.constructor.DATA_KEY)
32
- this._element = null
33
- }
34
-
35
- /** Static */
36
-
37
- static getInstance(element) {
38
- return Data.get(element, this.DATA_KEY)
39
- }
40
-
41
- static get VERSION() {
42
- return VERSION
43
- }
44
- }
45
-
46
- export default BaseComponent