administrate-bootstrap-theme 1.0.4 → 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/README.md +1 -0
- data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap.bundle.js +2514 -2980
- 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 +15 -9
- 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 -21
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss +38 -22
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss +46 -26
- 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 +406 -284
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss +4 -7
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss +5 -10
- 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 +14 -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 +15 -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 +6 -2
- 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 +3 -2
- data/package.json +2 -2
- metadata +24 -3
@@ -2,30 +2,9 @@
|
|
2
2
|
|
3
3
|
// scss-docs-start pagination-mixin
|
4
4
|
@mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
.page-item {
|
11
|
-
@if $pagination-margin-start == (-$pagination-border-width) {
|
12
|
-
&:first-child {
|
13
|
-
.page-link {
|
14
|
-
@include border-start-radius($border-radius);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
&:last-child {
|
19
|
-
.page-link {
|
20
|
-
@include border-end-radius($border-radius);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
} @else {
|
24
|
-
//Add border-radius to all pageLinks in case they have left margin
|
25
|
-
.page-link {
|
26
|
-
@include border-radius($border-radius);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
5
|
+
--#{$prefix}pagination-padding-x: #{$padding-x};
|
6
|
+
--#{$prefix}pagination-padding-y: #{$padding-y};
|
7
|
+
@include rfs($font-size, --#{$prefix}pagination-font-size);
|
8
|
+
--#{$prefix}pagination-border-radius: #{$border-radius};
|
30
9
|
}
|
31
10
|
// scss-docs-end pagination-mixin
|
data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_table-variants.scss
CHANGED
@@ -5,17 +5,20 @@
|
|
5
5
|
$hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
|
6
6
|
$striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
|
7
7
|
$active-bg: mix($color, $background, percentage($table-active-bg-factor));
|
8
|
+
$table-border-color: mix($color, $background, percentage($table-border-factor));
|
8
9
|
|
9
|
-
--#{$
|
10
|
-
--#{$
|
11
|
-
--#{$
|
12
|
-
--#{$
|
13
|
-
--#{$
|
14
|
-
--#{$
|
15
|
-
--#{$
|
10
|
+
--#{$prefix}table-color: #{$color};
|
11
|
+
--#{$prefix}table-bg: #{$background};
|
12
|
+
--#{$prefix}table-border-color: #{$table-border-color};
|
13
|
+
--#{$prefix}table-striped-bg: #{$striped-bg};
|
14
|
+
--#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
|
15
|
+
--#{$prefix}table-active-bg: #{$active-bg};
|
16
|
+
--#{$prefix}table-active-color: #{color-contrast($active-bg)};
|
17
|
+
--#{$prefix}table-hover-bg: #{$hover-bg};
|
18
|
+
--#{$prefix}table-hover-color: #{color-contrast($hover-bg)};
|
16
19
|
|
17
|
-
color: $color;
|
18
|
-
border-color:
|
20
|
+
color: var(--#{$prefix}table-color);
|
21
|
+
border-color: var(--#{$prefix}table-border-color);
|
19
22
|
}
|
20
23
|
}
|
21
24
|
// scss-docs-end table-variant
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Utility generator
|
2
2
|
// Used to generate utilities & print utilities
|
3
|
-
@mixin generate-utility($utility, $infix, $is-rfs-media-query: false) {
|
3
|
+
@mixin generate-utility($utility, $infix: "", $is-rfs-media-query: false) {
|
4
4
|
$values: map-get($utility, values);
|
5
5
|
|
6
6
|
// If the values are a list or string, convert it into a map
|
@@ -20,12 +20,15 @@
|
|
20
20
|
$property-class: if(map-has-key($utility, class), map-get($utility, class), nth($properties, 1));
|
21
21
|
$property-class: if($property-class == null, "", $property-class);
|
22
22
|
|
23
|
+
// Use custom CSS variable name if present, otherwise default to `class`
|
24
|
+
$css-variable-name: if(map-has-key($utility, css-variable-name), map-get($utility, css-variable-name), map-get($utility, class));
|
25
|
+
|
23
26
|
// State params to generate pseudo-classes
|
24
27
|
$state: if(map-has-key($utility, state), map-get($utility, state), ());
|
25
28
|
|
26
29
|
$infix: if($property-class == "" and str-slice($infix, 1, 1) == "-", str-slice($infix, 2), $infix);
|
27
30
|
|
28
|
-
// Don't prefix if value key is null (
|
31
|
+
// Don't prefix if value key is null (e.g. with shadow class)
|
29
32
|
$property-class-modifier: if($key, if($property-class == "" and $infix == "", "", "-") + $key, "");
|
30
33
|
|
31
34
|
@if map-get($utility, rfs) {
|
@@ -52,20 +55,20 @@
|
|
52
55
|
|
53
56
|
@if $is-css-var {
|
54
57
|
.#{$property-class + $infix + $property-class-modifier} {
|
55
|
-
--#{$
|
58
|
+
--#{$prefix}#{$css-variable-name}: #{$value};
|
56
59
|
}
|
57
60
|
|
58
61
|
@each $pseudo in $state {
|
59
62
|
.#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
|
60
|
-
--#{$
|
63
|
+
--#{$prefix}#{$css-variable-name}: #{$value};
|
61
64
|
}
|
62
65
|
}
|
63
66
|
} @else {
|
64
67
|
.#{$property-class + $infix + $property-class-modifier} {
|
65
68
|
@each $property in $properties {
|
66
69
|
@if $is-local-vars {
|
67
|
-
@each $local-var, $
|
68
|
-
--#{$
|
70
|
+
@each $local-var, $variable in $is-local-vars {
|
71
|
+
--#{$prefix}#{$local-var}: #{$variable};
|
69
72
|
}
|
70
73
|
}
|
71
74
|
#{$property}: $value if($enable-important-utilities, !important, null);
|
@@ -75,6 +78,11 @@
|
|
75
78
|
@each $pseudo in $state {
|
76
79
|
.#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
|
77
80
|
@each $property in $properties {
|
81
|
+
@if $is-local-vars {
|
82
|
+
@each $local-var, $variable in $is-local-vars {
|
83
|
+
--#{$prefix}#{$local-var}: #{$variable};
|
84
|
+
}
|
85
|
+
}
|
78
86
|
#{$property}: $value if($enable-important-utilities, !important, null);
|
79
87
|
}
|
80
88
|
}
|
data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_visually-hidden.scss
CHANGED
@@ -3,10 +3,9 @@
|
|
3
3
|
// Hide content visually while keeping it accessible to assistive technologies
|
4
4
|
//
|
5
5
|
// See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
|
6
|
-
// See: https://
|
6
|
+
// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
|
7
7
|
|
8
8
|
@mixin visually-hidden() {
|
9
|
-
position: absolute !important;
|
10
9
|
width: 1px !important;
|
11
10
|
height: 1px !important;
|
12
11
|
padding: 0 !important;
|
@@ -15,6 +14,11 @@
|
|
15
14
|
clip: rect(0, 0, 0, 0) !important;
|
16
15
|
white-space: nowrap !important;
|
17
16
|
border: 0 !important;
|
17
|
+
|
18
|
+
// Fix for positioned table caption that could become anonymous cells
|
19
|
+
&:not(caption) {
|
20
|
+
position: absolute !important;
|
21
|
+
}
|
18
22
|
}
|
19
23
|
|
20
24
|
// Use to only display content when it's focused, or one of its child elements is focused
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// stylelint-disable
|
1
|
+
// stylelint-disable scss/dimension-no-non-numeric-values
|
2
2
|
|
3
3
|
// SCSS RFS mixin
|
4
4
|
//
|
@@ -154,8 +154,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
154
154
|
&.enable-rfs {
|
155
155
|
@content;
|
156
156
|
}
|
157
|
-
}
|
158
|
-
@else {
|
157
|
+
} @else {
|
159
158
|
@content;
|
160
159
|
}
|
161
160
|
}
|
@@ -168,7 +167,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
168
167
|
@content;
|
169
168
|
}
|
170
169
|
|
171
|
-
@include _rfs-media-query {
|
170
|
+
@include _rfs-media-query () {
|
172
171
|
.enable-rfs &,
|
173
172
|
&.enable-rfs {
|
174
173
|
@content;
|
@@ -182,7 +181,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
182
181
|
@content;
|
183
182
|
}
|
184
183
|
}
|
185
|
-
@include _rfs-media-query {
|
184
|
+
@include _rfs-media-query () {
|
186
185
|
@content;
|
187
186
|
}
|
188
187
|
}
|
@@ -193,12 +192,12 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
193
192
|
// Convert to list
|
194
193
|
$values: if(type-of($values) != list, ($values,), $values);
|
195
194
|
|
196
|
-
$val:
|
195
|
+
$val: "";
|
197
196
|
|
198
197
|
// Loop over each value and calculate value
|
199
198
|
@each $value in $values {
|
200
199
|
@if $value == 0 {
|
201
|
-
$val: $val +
|
200
|
+
$val: $val + " 0";
|
202
201
|
}
|
203
202
|
@else {
|
204
203
|
// Cache $value unit
|
@@ -206,15 +205,14 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
206
205
|
|
207
206
|
@if $unit == px {
|
208
207
|
// Convert to rem if needed
|
209
|
-
$val: $val +
|
208
|
+
$val: $val + " " + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);
|
210
209
|
}
|
211
210
|
@else if $unit == rem {
|
212
211
|
// Convert to px if needed
|
213
|
-
$val: $val +
|
214
|
-
}
|
215
|
-
@else {
|
212
|
+
$val: $val + " " + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);
|
213
|
+
} @else {
|
216
214
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
217
|
-
$val: $val +
|
215
|
+
$val: $val + " " + $value;
|
218
216
|
}
|
219
217
|
}
|
220
218
|
}
|
@@ -228,30 +226,26 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
228
226
|
// Convert to list
|
229
227
|
$values: if(type-of($values) != list, ($values,), $values);
|
230
228
|
|
231
|
-
$val:
|
229
|
+
$val: "";
|
232
230
|
|
233
231
|
// Loop over each value and calculate value
|
234
232
|
@each $value in $values {
|
235
233
|
@if $value == 0 {
|
236
|
-
$val: $val +
|
237
|
-
}
|
238
|
-
|
239
|
-
@else {
|
234
|
+
$val: $val + " 0";
|
235
|
+
} @else {
|
240
236
|
// Cache $value unit
|
241
237
|
$unit: if(type-of($value) == "number", unit($value), false);
|
242
238
|
|
243
239
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
244
240
|
@if not $unit or $unit != px and $unit != rem {
|
245
|
-
$val: $val +
|
246
|
-
}
|
247
|
-
|
248
|
-
@else {
|
241
|
+
$val: $val + " " + $value;
|
242
|
+
} @else {
|
249
243
|
// Remove unit from $value for calculations
|
250
244
|
$value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));
|
251
245
|
|
252
246
|
// Only add the media query if the value is greater than the minimum value
|
253
247
|
@if abs($value) <= $rfs-base-value or not $enable-rfs {
|
254
|
-
$val: $val +
|
248
|
+
$val: $val + " " + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);
|
255
249
|
}
|
256
250
|
@else {
|
257
251
|
// Calculate the minimum value
|
@@ -273,7 +267,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
273
267
|
$variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};
|
274
268
|
|
275
269
|
// Return the calculated value
|
276
|
-
$val: $val +
|
270
|
+
$val: $val + " calc(" + $min-width + if($value < 0, " - ", " + ") + $variable-width + ")";
|
277
271
|
}
|
278
272
|
}
|
279
273
|
}
|
@@ -287,22 +281,22 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
287
281
|
@mixin rfs($values, $property: font-size) {
|
288
282
|
@if $values != null {
|
289
283
|
$val: rfs-value($values);
|
290
|
-
$
|
284
|
+
$fluid-val: rfs-fluid-value($values);
|
291
285
|
|
292
286
|
// Do not print the media query if responsive & non-responsive values are the same
|
293
|
-
@if $val == $
|
287
|
+
@if $val == $fluid-val {
|
294
288
|
#{$property}: $val;
|
295
289
|
}
|
296
290
|
@else {
|
297
|
-
@include _rfs-rule {
|
298
|
-
#{$property}: if($rfs-mode == max-media-query, $val, $
|
291
|
+
@include _rfs-rule () {
|
292
|
+
#{$property}: if($rfs-mode == max-media-query, $val, $fluid-val);
|
299
293
|
|
300
294
|
// Include safari iframe resize fix if needed
|
301
295
|
min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);
|
302
296
|
}
|
303
297
|
|
304
|
-
@include _rfs-media-query-rule {
|
305
|
-
#{$property}: if($rfs-mode == max-media-query, $
|
298
|
+
@include _rfs-media-query-rule () {
|
299
|
+
#{$property}: if($rfs-mode == max-media-query, $fluid-val, $val);
|
306
300
|
}
|
307
301
|
}
|
308
302
|
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
@extend .table-striped;
|
6
6
|
}
|
7
7
|
|
8
|
-
>
|
8
|
+
>dl {
|
9
9
|
@extend .row;
|
10
10
|
|
11
11
|
dt {
|
@@ -17,6 +17,20 @@
|
|
17
17
|
dd {
|
18
18
|
@extend .col-10;
|
19
19
|
}
|
20
|
+
|
21
|
+
>fieldset {
|
22
|
+
display: flex;
|
23
|
+
flex-wrap: wrap;
|
24
|
+
margin-left: calc(-.5 * var(--bs-gutter-x));
|
25
|
+
}
|
26
|
+
|
27
|
+
.attribute-data {
|
28
|
+
padding-left: var(--bs-gutter-x);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
th[scope="col"] {
|
33
|
+
border-bottom: 1px solid $dark;
|
20
34
|
}
|
21
35
|
|
22
36
|
a {
|
@@ -27,12 +41,12 @@
|
|
27
41
|
@extend .table;
|
28
42
|
}
|
29
43
|
|
30
|
-
.attribute-data
|
44
|
+
.attribute-data>table {
|
31
45
|
@extend .table-bordered;
|
32
46
|
}
|
33
47
|
|
34
48
|
.attribute--nested {
|
35
|
-
>
|
49
|
+
>div {
|
36
50
|
@extend .d-flex;
|
37
51
|
}
|
38
52
|
|
@@ -45,21 +59,21 @@
|
|
45
59
|
}
|
46
60
|
}
|
47
61
|
|
48
|
-
.cell-label__sort-indicator
|
62
|
+
.cell-label__sort-indicator>svg {
|
49
63
|
height: 1.2rem;
|
50
64
|
width: 1.2rem;
|
51
65
|
}
|
52
66
|
|
53
|
-
.cell-label__sort-indicator--desc
|
67
|
+
.cell-label__sort-indicator--desc>svg {
|
54
68
|
transform: rotate(180deg);
|
55
69
|
}
|
56
70
|
|
57
|
-
.form-actions
|
71
|
+
.form-actions>input {
|
58
72
|
@extend .btn-primary;
|
59
73
|
}
|
60
74
|
|
61
75
|
.js-table-row {
|
62
|
-
>
|
76
|
+
>td {
|
63
77
|
@extend .text-center, .p-1;
|
64
78
|
|
65
79
|
&.cell-data {
|
@@ -1,7 +1,15 @@
|
|
1
1
|
nav.pagination {
|
2
|
-
@extend .
|
2
|
+
@extend .justify-content-center, .mb-3;
|
3
3
|
|
4
|
-
>
|
5
|
-
@extend .
|
4
|
+
>span {
|
5
|
+
@extend .page-item;
|
6
|
+
|
7
|
+
>a {
|
8
|
+
@extend .page-link;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
>span.current {
|
13
|
+
@extend .disabled, .page-link;
|
6
14
|
}
|
7
15
|
}
|
data/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "administrate-bootstrap-theme",
|
3
|
-
"version": "1.0
|
3
|
+
"version": "1.1.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"author": "Mattia Roccoberton <mat@blocknot.es>",
|
6
6
|
"license": "MIT",
|
7
7
|
"dependencies": {
|
8
|
-
"bootstrap": "^5.
|
8
|
+
"bootstrap": "^5.3.3"
|
9
9
|
}
|
10
10
|
}
|
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: 1.0
|
4
|
+
version: 1.1.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:
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: appraisal
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.4'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.4'
|
27
41
|
description: 'A Bootstrap theme for Administrate: clean design, easy to install, customizable'
|
28
42
|
email:
|
29
43
|
- mat@blocknot.es
|
@@ -54,6 +68,7 @@ files:
|
|
54
68
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss
|
55
69
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_images.scss
|
56
70
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss
|
71
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_maps.scss
|
57
72
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss
|
58
73
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss
|
59
74
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss
|
@@ -72,6 +87,7 @@ files:
|
|
72
87
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_transitions.scss
|
73
88
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss
|
74
89
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss
|
90
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables-dark.scss
|
75
91
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss
|
76
92
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss
|
77
93
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss
|
@@ -87,7 +103,10 @@ files:
|
|
87
103
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_labels.scss
|
88
104
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_validation.scss
|
89
105
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_clearfix.scss
|
106
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_color-bg.scss
|
90
107
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss
|
108
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_focus-ring.scss
|
109
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_icon-link.scss
|
91
110
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss
|
92
111
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss
|
93
112
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_stacks.scss
|
@@ -97,12 +116,14 @@ files:
|
|
97
116
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_vr.scss
|
98
117
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss
|
99
118
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_backdrop.scss
|
119
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_banner.scss
|
100
120
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_border-radius.scss
|
101
121
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_box-shadow.scss
|
102
122
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss
|
103
123
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss
|
104
124
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss
|
105
125
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_clearfix.scss
|
126
|
+
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-mode.scss
|
106
127
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-scheme.scss
|
107
128
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_container.scss
|
108
129
|
- app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_deprecate.scss
|
@@ -166,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
187
|
- !ruby/object:Gem::Version
|
167
188
|
version: '0'
|
168
189
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
190
|
+
rubygems_version: 3.4.19
|
170
191
|
signing_key:
|
171
192
|
specification_version: 4
|
172
193
|
summary: Administrate Bootstrap Theme
|