elixir-toolkit-theme 1.22.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contributor-minitiles-page.html +1 -1
  3. data/_includes/footer.html +25 -2
  4. data/_includes/github-buttons.html +6 -2
  5. data/_includes/head.html +16 -0
  6. data/_includes/resource-table-all.html +2 -2
  7. data/_includes/resource-table-page.html +2 -2
  8. data/_includes/section-navigation-tiles-simple.html +3 -0
  9. data/_includes/section-navigation-tiles.html +2 -2
  10. data/_includes/sidebar.html +1 -1
  11. data/_includes/topnav.html +9 -1
  12. data/_layouts/default.html +2 -2
  13. data/_sass/_variables.scss +1 -0
  14. data/_sass/bootstrap/_accordion.scss +56 -25
  15. data/_sass/bootstrap/_alert.scss +18 -4
  16. data/_sass/bootstrap/_badge.scss +14 -5
  17. data/_sass/bootstrap/_breadcrumb.scss +22 -10
  18. data/_sass/bootstrap/_button-group.scss +4 -1
  19. data/_sass/bootstrap/_buttons.scss +125 -29
  20. data/_sass/bootstrap/_card.scss +55 -37
  21. data/_sass/bootstrap/_carousel.scss +0 -3
  22. data/_sass/bootstrap/_close.scss +1 -1
  23. data/_sass/bootstrap/_containers.scss +1 -1
  24. data/_sass/bootstrap/_dropdown.scss +85 -76
  25. data/_sass/bootstrap/_functions.scss +9 -9
  26. data/_sass/bootstrap/_grid.scss +3 -3
  27. data/_sass/bootstrap/_helpers.scss +1 -0
  28. data/_sass/bootstrap/_list-group.scss +48 -30
  29. data/_sass/bootstrap/_maps.scss +54 -0
  30. data/_sass/bootstrap/_modal.scss +71 -43
  31. data/_sass/bootstrap/_nav.scss +53 -20
  32. data/_sass/bootstrap/_navbar.scss +93 -150
  33. data/_sass/bootstrap/_offcanvas.scss +120 -59
  34. data/_sass/bootstrap/_pagination.scss +66 -21
  35. data/_sass/bootstrap/_placeholders.scss +1 -1
  36. data/_sass/bootstrap/_popover.scss +90 -52
  37. data/_sass/bootstrap/_progress.scss +20 -9
  38. data/_sass/bootstrap/_reboot.scss +25 -40
  39. data/_sass/bootstrap/_root.scss +40 -21
  40. data/_sass/bootstrap/_spinners.scss +38 -22
  41. data/_sass/bootstrap/_tables.scss +32 -23
  42. data/_sass/bootstrap/_toasts.scss +38 -16
  43. data/_sass/bootstrap/_tooltip.scss +61 -56
  44. data/_sass/bootstrap/_type.scss +2 -0
  45. data/_sass/bootstrap/_utilities.scss +43 -26
  46. data/_sass/bootstrap/_variables.scss +128 -135
  47. data/_sass/bootstrap/bootstrap-grid.scss +3 -6
  48. data/_sass/bootstrap/bootstrap-reboot.scss +3 -7
  49. data/_sass/bootstrap/bootstrap-utilities.scss +6 -6
  50. data/_sass/bootstrap/bootstrap.scss +4 -6
  51. data/_sass/bootstrap/forms/_floating-labels.scss +15 -3
  52. data/_sass/bootstrap/forms/_form-check.scss +28 -5
  53. data/_sass/bootstrap/forms/_form-control.scss +12 -37
  54. data/_sass/bootstrap/forms/_form-select.scss +0 -1
  55. data/_sass/bootstrap/forms/_input-group.scss +19 -8
  56. data/_sass/bootstrap/helpers/_color-bg.scss +10 -0
  57. data/_sass/bootstrap/helpers/_colored-links.scss +2 -2
  58. data/_sass/bootstrap/helpers/_position.scss +7 -1
  59. data/_sass/bootstrap/helpers/_ratio.scss +2 -2
  60. data/_sass/bootstrap/helpers/_vr.scss +1 -1
  61. data/_sass/bootstrap/mixins/_alert.scss +7 -3
  62. data/_sass/bootstrap/mixins/_banner.scss +9 -0
  63. data/_sass/bootstrap/mixins/_breakpoints.scss +8 -8
  64. data/_sass/bootstrap/mixins/_buttons.scss +32 -95
  65. data/_sass/bootstrap/mixins/_container.scss +4 -2
  66. data/_sass/bootstrap/mixins/_forms.scss +18 -10
  67. data/_sass/bootstrap/mixins/_gradients.scss +1 -1
  68. data/_sass/bootstrap/mixins/_grid.scss +12 -12
  69. data/_sass/bootstrap/mixins/_pagination.scss +4 -25
  70. data/_sass/bootstrap/mixins/_reset-text.scss +1 -1
  71. data/_sass/bootstrap/mixins/_table-variants.scss +12 -9
  72. data/_sass/bootstrap/mixins/_utilities.scss +13 -5
  73. data/assets/css/main.scss +22 -3
  74. data/assets/img/ett_compact_logo_bw.svg +22 -0
  75. data/assets/js/bootstrap.bundle.min.js +3 -3
  76. data/assets/js/bootstrap.bundle.min.js.map +1 -1
  77. data/assets/js/search-data.json +1 -1
  78. data/assets/js/search.js +2 -7
  79. metadata +6 -2
@@ -104,6 +104,14 @@
104
104
  }
105
105
  }
106
106
 
107
+ .form-control-color {
108
+ @include form-validation-state-selector($state) {
109
+ @if $enable-validation-icons {
110
+ width: add($form-color-width, $input-height-inner);
111
+ }
112
+ }
113
+ }
114
+
107
115
  .form-check-input {
108
116
  @include form-validation-state-selector($state) {
109
117
  border-color: $color;
@@ -127,16 +135,16 @@
127
135
  }
128
136
  }
129
137
 
130
- .input-group .form-control,
131
- .input-group .form-select {
132
- @include form-validation-state-selector($state) {
133
- @if $state == "valid" {
134
- z-index: 1;
135
- } @else if $state == "invalid" {
136
- z-index: 2;
137
- }
138
- &:focus {
139
- z-index: 3;
138
+ .input-group {
139
+ > .form-control:not(:focus),
140
+ > .form-select:not(:focus),
141
+ > .form-floating:not(:focus-within) {
142
+ @include form-validation-state-selector($state) {
143
+ @if $state == "valid" {
144
+ z-index: 3;
145
+ } @else if $state == "invalid" {
146
+ z-index: 4;
147
+ }
140
148
  }
141
149
  }
142
150
  }
@@ -5,7 +5,7 @@
5
5
  background-color: $color;
6
6
 
7
7
  @if $enable-gradients {
8
- background-image: var(--#{$variable-prefix}gradient);
8
+ background-image: var(--#{$prefix}gradient);
9
9
  }
10
10
  }
11
11
  // scss-docs-end gradient-bg-mixin
@@ -3,17 +3,17 @@
3
3
  // Generate semantic grid columns with these mixins.
4
4
 
5
5
  @mixin make-row($gutter: $grid-gutter-width) {
6
- --#{$variable-prefix}gutter-x: #{$gutter};
7
- --#{$variable-prefix}gutter-y: 0;
6
+ --#{$prefix}gutter-x: #{$gutter};
7
+ --#{$prefix}gutter-y: 0;
8
8
  display: flex;
9
9
  flex-wrap: wrap;
10
10
  // TODO: Revisit calc order after https://github.com/react-bootstrap/react-bootstrap/issues/6039 is fixed
11
- margin-top: calc(-1 * var(--#{$variable-prefix}gutter-y)); // stylelint-disable-line function-disallowed-list
12
- margin-right: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
13
- margin-left: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
11
+ margin-top: calc(-1 * var(--#{$prefix}gutter-y)); // stylelint-disable-line function-disallowed-list
12
+ margin-right: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
13
+ margin-left: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
14
14
  }
15
15
 
16
- @mixin make-col-ready($gutter: $grid-gutter-width) {
16
+ @mixin make-col-ready() {
17
17
  // Add box sizing if only the grid is loaded
18
18
  box-sizing: if(variable-exists(include-column-box-sizing) and $include-column-box-sizing, border-box, null);
19
19
  // Prevent columns from becoming too narrow when at smaller grid tiers by
@@ -22,9 +22,9 @@
22
22
  flex-shrink: 0;
23
23
  width: 100%;
24
24
  max-width: 100%; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid
25
- padding-right: calc(var(--#{$variable-prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
26
- padding-left: calc(var(--#{$variable-prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
27
- margin-top: var(--#{$variable-prefix}gutter-y);
25
+ padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
26
+ padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
27
+ margin-top: var(--#{$prefix}gutter-y);
28
28
  }
29
29
 
30
30
  @mixin make-col($size: false, $columns: $grid-columns) {
@@ -51,7 +51,7 @@
51
51
  // Row columns
52
52
  //
53
53
  // Specify on a parent element(e.g., .row) to force immediate children into NN
54
- // numberof columns. Supports wrapping to new lines, but does not do a Masonry
54
+ // number of columns. Supports wrapping to new lines, but does not do a Masonry
55
55
  // style grid.
56
56
  @mixin row-cols($count) {
57
57
  > * {
@@ -114,12 +114,12 @@
114
114
  @each $key, $value in $gutters {
115
115
  .g#{$infix}-#{$key},
116
116
  .gx#{$infix}-#{$key} {
117
- --#{$variable-prefix}gutter-x: #{$value};
117
+ --#{$prefix}gutter-x: #{$value};
118
118
  }
119
119
 
120
120
  .g#{$infix}-#{$key},
121
121
  .gy#{$infix}-#{$key} {
122
- --#{$variable-prefix}gutter-y: #{$value};
122
+ --#{$prefix}gutter-y: #{$value};
123
123
  }
124
124
  }
125
125
  }
@@ -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
- .page-link {
6
- padding: $padding-y $padding-x;
7
- @include font-size($font-size);
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
@@ -11,7 +11,7 @@
11
11
  text-transform: none;
12
12
  letter-spacing: normal;
13
13
  word-break: normal;
14
- word-spacing: normal;
15
14
  white-space: normal;
15
+ word-spacing: normal;
16
16
  line-break: auto;
17
17
  }
@@ -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
- --#{$variable-prefix}table-bg: #{$background};
10
- --#{$variable-prefix}table-striped-bg: #{$striped-bg};
11
- --#{$variable-prefix}table-striped-color: #{color-contrast($striped-bg)};
12
- --#{$variable-prefix}table-active-bg: #{$active-bg};
13
- --#{$variable-prefix}table-active-color: #{color-contrast($active-bg)};
14
- --#{$variable-prefix}table-hover-bg: #{$hover-bg};
15
- --#{$variable-prefix}table-hover-color: #{color-contrast($hover-bg)};
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: mix($color, $background, percentage($table-border-factor));
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
@@ -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 (eg. with shadow class)
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
- --#{$variable-prefix}#{$property-class}: #{$value};
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
- --#{$variable-prefix}#{$property-class}: #{$value};
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, $value in $is-local-vars {
68
- --#{$variable-prefix}#{$local-var}: #{$value};
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/assets/css/main.scss CHANGED
@@ -59,7 +59,7 @@ main {
59
59
 
60
60
  ol li,
61
61
  ul li {
62
- margin: $spacer * .5 0;
62
+ margin: $spacer * 0.5 0;
63
63
 
64
64
  &::marker {
65
65
  color: $primary;
@@ -163,7 +163,7 @@ header .navbar {
163
163
  transition: transform 0.2s ease-in-out;
164
164
  }
165
165
 
166
- .dropdown-toggle[aria-expanded=true]::after {
166
+ .dropdown-toggle[aria-expanded="true"]::after {
167
167
  transform: rotate(-180deg);
168
168
  }
169
169
 
@@ -288,6 +288,12 @@ header .navbar {
288
288
  }
289
289
  }
290
290
 
291
+ #side-nav .btn.sidebar-title {
292
+ color: $sidebar-color;
293
+ background-color: transparent;
294
+ border-color: transparent
295
+ }
296
+
291
297
  .sidebar-collapse {
292
298
  background-color: $sidebar-bg;
293
299
 
@@ -478,6 +484,18 @@ footer {
478
484
  .copyright {
479
485
  background-color: $footer-copyright-bg;
480
486
  }
487
+
488
+ #ett-logo {
489
+ .cls-1 {
490
+ fill: $footer-ett;
491
+ }
492
+ &:hover {
493
+ .cls-1 {
494
+ fill: #0d6efd;
495
+ }
496
+ color: #0d6efd !important;
497
+ }
498
+ }
481
499
  }
482
500
 
483
501
  /*-----Back to top-----*/
@@ -723,7 +741,8 @@ li.past_event,
723
741
  .card {
724
742
  background-color: $nav-card-bg;
725
743
 
726
- a:not(.stretched-link), button:not(.stretched-link) {
744
+ a:not(.stretched-link),
745
+ button:not(.stretched-link) {
727
746
  z-index: 2;
728
747
  position: relative;
729
748
  }
@@ -0,0 +1,22 @@
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="77.2" height="77.12" viewBox="0 0 77.2 77.12">
2
+ <defs>
3
+ <style>
4
+ .cls-1 {
5
+ fill: #111;
6
+ }
7
+
8
+ .cls-2, .cls-3 {
9
+ fill: #fff;
10
+ }
11
+
12
+ .cls-2 {
13
+ opacity: 0.18;
14
+ }
15
+ </style>
16
+ </defs>
17
+ <g>
18
+ <circle class="cls-1" cx="38.56" cy="38.56" r="38.56"/>
19
+ <path class="cls-2" d="M9,48.08a44.19,44.19,0,0,0,4.68,19.84A38.56,38.56,0,1,0,55.16,3.72c-.59,0-1.19-.05-1.79-.05A44.4,44.4,0,0,0,9,48.08Z"/>
20
+ <path class="cls-3" d="M54,20.52H13.64a.85.85,0,0,0-.84.85v34a.84.84,0,0,0,.84.84H30a.84.84,0,0,0,.85-.84V51.16a.85.85,0,0,0-.85-.85H20.07a.85.85,0,0,1-.85-.85V42a.85.85,0,0,1,.85-.84h8.66a.85.85,0,0,0,.85-.85V36.06a.85.85,0,0,0-.85-.85H20.07a.85.85,0,0,1-.85-.84V27.29a.85.85,0,0,1,.85-.85H38.26a.85.85,0,0,1,.85.85V55.38a.84.84,0,0,0,.85.84h4.73a.84.84,0,0,0,.85-.84V27.29a.85.85,0,0,1,.84-.85H61.27a.85.85,0,0,1,.84.85V55.38a.84.84,0,0,0,.85.84h4.73a.84.84,0,0,0,.85-.84V27.29a.85.85,0,0,1,.85-.85h6.77a.84.84,0,0,0,.84-.85V21.37a.84.84,0,0,0-.84-.85Z"/>
21
+ </g>
22
+ </svg>