administrate-bootstrap-theme 0.1.4 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -12
  3. data/app/assets/config/administrate-bootstrap-theme_manifest.js +1 -0
  4. data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap/bootstrap.bundle.js +6727 -0
  5. data/app/assets/javascripts/administrate-bootstrap-theme/flatpickr/flatpickr.js +2673 -0
  6. data/app/assets/javascripts/administrate-bootstrap-theme/theme.js +22 -0
  7. data/app/assets/stylesheets/administrate-bootstrap-theme/_base.scss +7 -1
  8. data/app/assets/stylesheets/administrate-bootstrap-theme/_variables.scss +4 -1
  9. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_accordion.scss +4 -2
  10. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_alert.scss +0 -0
  11. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_badge.scss +0 -0
  12. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_breadcrumb.scss +0 -0
  13. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_button-group.scss +0 -0
  14. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_buttons.scss +0 -0
  15. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_card.scss +0 -0
  16. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_carousel.scss +0 -0
  17. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_close.scss +0 -0
  18. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_containers.scss +0 -0
  19. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_dropdown.scss +7 -13
  20. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_forms.scss +0 -0
  21. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_functions.scss +0 -0
  22. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_grid.scss +0 -0
  23. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_helpers.scss +0 -0
  24. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_images.scss +0 -0
  25. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_list-group.scss +5 -5
  26. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_mixins.scss +1 -0
  27. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_modal.scss +2 -20
  28. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_nav.scss +0 -0
  29. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_navbar.scss +0 -0
  30. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_offcanvas.scss +11 -11
  31. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_pagination.scss +0 -0
  32. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_popover.scss +0 -0
  33. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_progress.scss +0 -0
  34. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_reboot.scss +0 -0
  35. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_root.scss +0 -0
  36. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_spinners.scss +2 -2
  37. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tables.scss +1 -0
  38. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_toasts.scss +0 -0
  39. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tooltip.scss +0 -0
  40. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_transitions.scss +0 -0
  41. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_type.scss +0 -0
  42. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_utilities.scss +0 -0
  43. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_variables.scss +7 -7
  44. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-grid.scss +1 -1
  45. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-reboot.scss +1 -1
  46. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-utilities.scss +1 -1
  47. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap.scss +1 -1
  48. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_floating-labels.scss +0 -0
  49. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-check.scss +0 -0
  50. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-control.scss +0 -0
  51. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-range.scss +0 -0
  52. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-select.scss +0 -0
  53. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-text.scss +0 -0
  54. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_input-group.scss +0 -0
  55. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_labels.scss +0 -0
  56. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_validation.scss +0 -0
  57. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_clearfix.scss +0 -0
  58. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_colored-links.scss +0 -0
  59. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_position.scss +0 -0
  60. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_ratio.scss +0 -0
  61. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_stretched-link.scss +0 -0
  62. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_text-truncation.scss +0 -0
  63. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_visually-hidden.scss +0 -0
  64. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_alert.scss +0 -0
  65. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_border-radius.scss +0 -0
  66. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_box-shadow.scss +0 -0
  67. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_breakpoints.scss +0 -0
  68. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_buttons.scss +0 -0
  69. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_caret.scss +0 -0
  70. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_clearfix.scss +0 -0
  71. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-scheme.scss +7 -0
  72. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_container.scss +0 -0
  73. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_deprecate.scss +0 -0
  74. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_forms.scss +15 -5
  75. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_gradients.scss +0 -0
  76. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_grid.scss +8 -3
  77. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_image.scss +0 -0
  78. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_list-group.scss +0 -0
  79. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_lists.scss +0 -0
  80. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_pagination.scss +0 -0
  81. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_reset-text.scss +0 -0
  82. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_resize.scss +0 -0
  83. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_table-variants.scss +0 -0
  84. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_text-truncate.scss +0 -0
  85. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_transition.scss +0 -0
  86. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_utilities.scss +0 -0
  87. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_visually-hidden.scss +0 -0
  88. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/utilities/_api.scss +0 -0
  89. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/vendor/_rfs.scss +0 -0
  90. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +1 -3
  91. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss +46 -26
  92. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +1 -5
  93. data/app/assets/stylesheets/administrate-bootstrap-theme/flatpickr/flatpickr.scss +791 -0
  94. data/app/assets/stylesheets/administrate-bootstrap-theme/theme.scss +11 -1
  95. data/lib/administrate-bootstrap-theme/version.rb +1 -1
  96. data/package.json +11 -0
  97. metadata +91 -120
  98. data/Rakefile +0 -20
  99. data/node_modules/bootstrap/js/src/alert.js +0 -141
  100. data/node_modules/bootstrap/js/src/base-component.js +0 -46
  101. data/node_modules/bootstrap/js/src/button.js +0 -95
  102. data/node_modules/bootstrap/js/src/carousel.js +0 -624
  103. data/node_modules/bootstrap/js/src/collapse.js +0 -410
  104. data/node_modules/bootstrap/js/src/dom/data.js +0 -57
  105. data/node_modules/bootstrap/js/src/dom/event-handler.js +0 -331
  106. data/node_modules/bootstrap/js/src/dom/manipulator.js +0 -80
  107. data/node_modules/bootstrap/js/src/dom/selector-engine.js +0 -75
  108. data/node_modules/bootstrap/js/src/dropdown.js +0 -543
  109. data/node_modules/bootstrap/js/src/modal.js +0 -582
  110. data/node_modules/bootstrap/js/src/offcanvas.js +0 -279
  111. data/node_modules/bootstrap/js/src/popover.js +0 -171
  112. data/node_modules/bootstrap/js/src/scrollspy.js +0 -319
  113. data/node_modules/bootstrap/js/src/tab.js +0 -220
  114. data/node_modules/bootstrap/js/src/toast.js +0 -219
  115. data/node_modules/bootstrap/js/src/tooltip.js +0 -802
  116. data/node_modules/bootstrap/js/src/util/index.js +0 -253
  117. data/node_modules/bootstrap/js/src/util/sanitizer.js +0 -127
  118. 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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdministrateBootstrapTheme
4
- VERSION = '0.1.4'
4
+ VERSION = '0.2.2'
5
5
  end
data/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "administrate-bootstrap-theme",
3
+ "version": "0.2.2",
4
+ "main": "index.js",
5
+ "author": "Mattia Roccoberton <mat@blocknot.es>",
6
+ "license": "MIT",
7
+ "dependencies": {
8
+ "bootstrap": "^5.0.1",
9
+ "flatpickr": "^4.6.9"
10
+ }
11
+ }
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.4
4
+ version: 0.2.2
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-19 00:00:00.000000000 Z
11
+ date: 2021-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -24,21 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.14'
27
- - !ruby/object:Gem::Dependency
28
- name: rubocop
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.90'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.90'
41
- description: A Bootstrap theme for Administrate
27
+ description: 'A Bootstrap theme for Administrate: clean design, easy to install, customizable'
42
28
  email:
43
29
  - mat@blocknot.es
44
30
  executables: []
@@ -47,119 +33,104 @@ extra_rdoc_files: []
47
33
  files:
48
34
  - MIT-LICENSE
49
35
  - README.md
50
- - Rakefile
51
36
  - app/assets/config/administrate-bootstrap-theme_manifest.js
37
+ - app/assets/javascripts/administrate-bootstrap-theme/bootstrap/bootstrap.bundle.js
38
+ - app/assets/javascripts/administrate-bootstrap-theme/flatpickr/flatpickr.js
39
+ - app/assets/javascripts/administrate-bootstrap-theme/theme.js
52
40
  - app/assets/stylesheets/administrate-bootstrap-theme/_base.scss
53
41
  - app/assets/stylesheets/administrate-bootstrap-theme/_variables.scss
42
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_accordion.scss
43
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_alert.scss
44
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_badge.scss
45
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_breadcrumb.scss
46
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_button-group.scss
47
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_buttons.scss
48
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_card.scss
49
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_carousel.scss
50
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
51
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_containers.scss
52
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_dropdown.scss
53
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_forms.scss
54
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_functions.scss
55
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss
56
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss
57
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_images.scss
58
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss
59
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss
60
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss
61
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss
62
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_navbar.scss
63
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_offcanvas.scss
64
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_pagination.scss
65
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_popover.scss
66
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_progress.scss
67
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_reboot.scss
68
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss
69
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss
70
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss
71
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_toasts.scss
72
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tooltip.scss
73
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_transitions.scss
74
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss
75
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss
76
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss
77
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss
78
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss
79
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-utilities.scss
80
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap.scss
81
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_floating-labels.scss
82
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-check.scss
83
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-control.scss
84
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-range.scss
85
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-select.scss
86
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-text.scss
87
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_input-group.scss
88
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_labels.scss
89
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_validation.scss
90
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_clearfix.scss
91
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss
92
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss
93
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss
94
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_stretched-link.scss
95
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_text-truncation.scss
96
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_visually-hidden.scss
97
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss
98
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_border-radius.scss
99
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_box-shadow.scss
100
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss
101
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss
102
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss
103
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_clearfix.scss
104
+ - app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-scheme.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
54
123
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss
55
124
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_content_header.scss
56
125
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss
57
126
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss
58
127
  - app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss
128
+ - app/assets/stylesheets/administrate-bootstrap-theme/flatpickr/flatpickr.scss
59
129
  - app/assets/stylesheets/administrate-bootstrap-theme/theme.scss
60
130
  - lib/administrate-bootstrap-theme.rb
61
131
  - lib/administrate-bootstrap-theme/engine.rb
62
132
  - lib/administrate-bootstrap-theme/version.rb
63
- - node_modules/bootstrap/js/src/alert.js
64
- - node_modules/bootstrap/js/src/base-component.js
65
- - node_modules/bootstrap/js/src/button.js
66
- - node_modules/bootstrap/js/src/carousel.js
67
- - node_modules/bootstrap/js/src/collapse.js
68
- - node_modules/bootstrap/js/src/dom/data.js
69
- - node_modules/bootstrap/js/src/dom/event-handler.js
70
- - node_modules/bootstrap/js/src/dom/manipulator.js
71
- - node_modules/bootstrap/js/src/dom/selector-engine.js
72
- - node_modules/bootstrap/js/src/dropdown.js
73
- - node_modules/bootstrap/js/src/modal.js
74
- - node_modules/bootstrap/js/src/offcanvas.js
75
- - node_modules/bootstrap/js/src/popover.js
76
- - node_modules/bootstrap/js/src/scrollspy.js
77
- - node_modules/bootstrap/js/src/tab.js
78
- - node_modules/bootstrap/js/src/toast.js
79
- - node_modules/bootstrap/js/src/tooltip.js
80
- - node_modules/bootstrap/js/src/util/index.js
81
- - node_modules/bootstrap/js/src/util/sanitizer.js
82
- - node_modules/bootstrap/js/src/util/scrollbar.js
83
- - node_modules/bootstrap/scss/_accordion.scss
84
- - node_modules/bootstrap/scss/_alert.scss
85
- - node_modules/bootstrap/scss/_badge.scss
86
- - node_modules/bootstrap/scss/_breadcrumb.scss
87
- - node_modules/bootstrap/scss/_button-group.scss
88
- - node_modules/bootstrap/scss/_buttons.scss
89
- - node_modules/bootstrap/scss/_card.scss
90
- - node_modules/bootstrap/scss/_carousel.scss
91
- - node_modules/bootstrap/scss/_close.scss
92
- - node_modules/bootstrap/scss/_containers.scss
93
- - node_modules/bootstrap/scss/_dropdown.scss
94
- - node_modules/bootstrap/scss/_forms.scss
95
- - node_modules/bootstrap/scss/_functions.scss
96
- - node_modules/bootstrap/scss/_grid.scss
97
- - node_modules/bootstrap/scss/_helpers.scss
98
- - node_modules/bootstrap/scss/_images.scss
99
- - node_modules/bootstrap/scss/_list-group.scss
100
- - node_modules/bootstrap/scss/_mixins.scss
101
- - node_modules/bootstrap/scss/_modal.scss
102
- - node_modules/bootstrap/scss/_nav.scss
103
- - node_modules/bootstrap/scss/_navbar.scss
104
- - node_modules/bootstrap/scss/_offcanvas.scss
105
- - node_modules/bootstrap/scss/_pagination.scss
106
- - node_modules/bootstrap/scss/_popover.scss
107
- - node_modules/bootstrap/scss/_progress.scss
108
- - node_modules/bootstrap/scss/_reboot.scss
109
- - node_modules/bootstrap/scss/_root.scss
110
- - node_modules/bootstrap/scss/_spinners.scss
111
- - node_modules/bootstrap/scss/_tables.scss
112
- - node_modules/bootstrap/scss/_toasts.scss
113
- - node_modules/bootstrap/scss/_tooltip.scss
114
- - node_modules/bootstrap/scss/_transitions.scss
115
- - node_modules/bootstrap/scss/_type.scss
116
- - node_modules/bootstrap/scss/_utilities.scss
117
- - node_modules/bootstrap/scss/_variables.scss
118
- - node_modules/bootstrap/scss/bootstrap-grid.scss
119
- - node_modules/bootstrap/scss/bootstrap-reboot.scss
120
- - node_modules/bootstrap/scss/bootstrap-utilities.scss
121
- - node_modules/bootstrap/scss/bootstrap.scss
122
- - node_modules/bootstrap/scss/forms/_floating-labels.scss
123
- - node_modules/bootstrap/scss/forms/_form-check.scss
124
- - node_modules/bootstrap/scss/forms/_form-control.scss
125
- - node_modules/bootstrap/scss/forms/_form-range.scss
126
- - node_modules/bootstrap/scss/forms/_form-select.scss
127
- - node_modules/bootstrap/scss/forms/_form-text.scss
128
- - node_modules/bootstrap/scss/forms/_input-group.scss
129
- - node_modules/bootstrap/scss/forms/_labels.scss
130
- - node_modules/bootstrap/scss/forms/_validation.scss
131
- - node_modules/bootstrap/scss/helpers/_clearfix.scss
132
- - node_modules/bootstrap/scss/helpers/_colored-links.scss
133
- - node_modules/bootstrap/scss/helpers/_position.scss
134
- - node_modules/bootstrap/scss/helpers/_ratio.scss
135
- - node_modules/bootstrap/scss/helpers/_stretched-link.scss
136
- - node_modules/bootstrap/scss/helpers/_text-truncation.scss
137
- - node_modules/bootstrap/scss/helpers/_visually-hidden.scss
138
- - node_modules/bootstrap/scss/mixins/_alert.scss
139
- - node_modules/bootstrap/scss/mixins/_border-radius.scss
140
- - node_modules/bootstrap/scss/mixins/_box-shadow.scss
141
- - node_modules/bootstrap/scss/mixins/_breakpoints.scss
142
- - node_modules/bootstrap/scss/mixins/_buttons.scss
143
- - node_modules/bootstrap/scss/mixins/_caret.scss
144
- - node_modules/bootstrap/scss/mixins/_clearfix.scss
145
- - node_modules/bootstrap/scss/mixins/_container.scss
146
- - node_modules/bootstrap/scss/mixins/_deprecate.scss
147
- - node_modules/bootstrap/scss/mixins/_forms.scss
148
- - node_modules/bootstrap/scss/mixins/_gradients.scss
149
- - node_modules/bootstrap/scss/mixins/_grid.scss
150
- - node_modules/bootstrap/scss/mixins/_image.scss
151
- - node_modules/bootstrap/scss/mixins/_list-group.scss
152
- - node_modules/bootstrap/scss/mixins/_lists.scss
153
- - node_modules/bootstrap/scss/mixins/_pagination.scss
154
- - node_modules/bootstrap/scss/mixins/_reset-text.scss
155
- - node_modules/bootstrap/scss/mixins/_resize.scss
156
- - node_modules/bootstrap/scss/mixins/_table-variants.scss
157
- - node_modules/bootstrap/scss/mixins/_text-truncate.scss
158
- - node_modules/bootstrap/scss/mixins/_transition.scss
159
- - node_modules/bootstrap/scss/mixins/_utilities.scss
160
- - node_modules/bootstrap/scss/mixins/_visually-hidden.scss
161
- - node_modules/bootstrap/scss/utilities/_api.scss
162
- - node_modules/bootstrap/scss/vendor/_rfs.scss
133
+ - package.json
163
134
  homepage: https://github.com/blocknotes/administrate-bootstrap-theme
164
135
  licenses:
165
136
  - MIT
@@ -174,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
145
  requirements:
175
146
  - - ">="
176
147
  - !ruby/object:Gem::Version
177
- version: '0'
148
+ version: 2.5.0
178
149
  required_rubygems_version: !ruby/object:Gem::Requirement
179
150
  requirements:
180
151
  - - ">="
@@ -184,5 +155,5 @@ requirements: []
184
155
  rubygems_version: 3.1.4
185
156
  signing_key:
186
157
  specification_version: 4
187
- summary: Bootstrap Administrate Theme
158
+ summary: Administrate Bootstrap Theme
188
159
  test_files: []
data/Rakefile DELETED
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/setup"
4
-
5
- APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
6
- load "rails/tasks/engine.rake"
7
-
8
- load "rails/tasks/statistics.rake"
9
-
10
- require "bundler/gem_tasks"
11
-
12
- require "rake/testtask"
13
-
14
- Rake::TestTask.new(:test) do |t|
15
- t.libs << 'test'
16
- t.pattern = 'test/**/*_test.rb'
17
- t.verbose = false
18
- end
19
-
20
- task default: :test
@@ -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