@spark-hire/bootstrap-themes 0.6.8 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-hire/bootstrap-themes",
3
- "version": "0.6.8",
3
+ "version": "0.7.0",
4
4
  "description": "Custom Bootstrap 4 Themes",
5
5
  "repository": {
6
6
  "type": "git",
@@ -98,3 +98,8 @@ $input-btn-padding-y-lg: .55rem;
98
98
  $input-btn-padding-x-lg: 1.1rem;
99
99
 
100
100
  $component-active-bg: $primary;
101
+
102
+ $modal-md: 600px;
103
+ $modal-sm: 350px;
104
+ $modal-content-box-shadow-xs: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.4);
105
+ $modal-content-box-shadow-sm-up: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.4);
package/scss/button.scss CHANGED
@@ -7,6 +7,22 @@
7
7
  text-decoration: none !important;
8
8
  }
9
9
 
10
+ .btn-lg {
11
+ @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
12
+ }
13
+
10
14
  .btn svg {
11
15
  fill: $body-color;
12
- }
16
+ }
17
+
18
+ @each $color, $value in $colors {
19
+ .btn-#{$color} {
20
+ @include button-variant($value, $value);
21
+ }
22
+ }
23
+
24
+ @each $color, $value in $colors {
25
+ .btn-outline-#{$color} {
26
+ @include button-outline-variant($value);
27
+ }
28
+ }
@@ -0,0 +1,36 @@
1
+ @each $color, $value in $colors {
2
+ .custom-control-input-#{$color} {
3
+ &:checked ~ .custom-control-label::before {
4
+ color: $custom-control-indicator-checked-color;
5
+ border-color: $value;
6
+ @include gradient-bg($value);
7
+ @include box-shadow($custom-control-indicator-checked-box-shadow);
8
+ }
9
+
10
+ &:focus ~ .custom-control-label::before {
11
+ box-shadow: 0 0 0 $input-btn-focus-width rgba($value, .25);
12
+ }
13
+
14
+
15
+ &:focus:not(:checked) ~ .custom-control-label::before {
16
+ border-color: lighten($value, 25%);
17
+ }
18
+
19
+ &:not(:disabled):active ~ .custom-control-label::before {
20
+ color: $custom-control-indicator-active-color;
21
+ background-color: lighten($value, 35%);
22
+ border-color: lighten($value, 35%);
23
+ @include box-shadow($custom-control-indicator-active-box-shadow);
24
+ }
25
+
26
+ &:disabled {
27
+ ~ .custom-control-label {
28
+ color: $custom-control-label-disabled-color;
29
+
30
+ &::before {
31
+ background-color: $custom-control-indicator-disabled-bg;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
package/scss/shared.scss CHANGED
@@ -9,3 +9,4 @@
9
9
  @import "dropdowns";
10
10
  @import "utilities";
11
11
  @import "bootstrap-grid";
12
+ @import "custom-forms";