@spark-hire/bootstrap-themes 3.3.12 → 3.3.13

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": "3.3.12",
3
+ "version": "3.3.13",
4
4
  "description": "Custom Bootstrap 4 Themes",
5
5
  "repository": {
6
6
  "type": "git",
package/scss/buttons.scss CHANGED
@@ -229,14 +229,16 @@ fieldset[disabled] .btn {
229
229
  border-color: #ddd;
230
230
  color: $body-color;
231
231
 
232
- &:hover {
232
+ &:hover, &.hover {
233
233
  @include gradient-bg(darken($white, 7.5%));
234
234
  border-color: darken(#ddd, 10%);
235
235
  color: $body-color;
236
236
  }
237
237
 
238
- &.active {
239
- background-color: $gray-300;
238
+ &:active, &.active {
239
+ @include gradient-bg(darken($white, 7.5%));
240
+ border-color: darken(#ddd, 10%);
241
+ color: $body-color;
240
242
  }
241
243
  }
242
244
 
@@ -339,3 +341,7 @@ fieldset[disabled] .btn {
339
341
  outline: 5px auto Highlight;
340
342
  outline: 5px auto -webkit-focus-ring-color;
341
343
  }
344
+
345
+ .btn-group > .btn.hover {
346
+ z-index: 1;
347
+ }
@@ -5,3 +5,45 @@
5
5
  .visibility-collapse {
6
6
  visibility: collapse;
7
7
  }
8
+
9
+ @mixin shine-gradient {
10
+ background-image: linear-gradient(90deg, $gray-100 0px, $white 40px, $gray-100 80px);
11
+ background-size: 600px;
12
+ }
13
+
14
+ .skeleton-loader {
15
+ position: relative;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .skeleton-loader:before {
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ content: "";
24
+ width: 100%;
25
+ height: 100%;
26
+ z-index: 10;
27
+ display: block;
28
+ background-color: $gray-200;
29
+ }
30
+
31
+ .skeleton-loader:after {
32
+ position: absolute;
33
+ top: 0;
34
+ left: 0;
35
+ content: "";
36
+ display: block;
37
+ z-index: 11;
38
+ width: 100%;
39
+ height: 100%;
40
+ @include shine-gradient;
41
+ background: linear-gradient(90deg, transparent, $white, transparent);
42
+ transform: translateX(-100%);
43
+ animation: shimmer 1.6s infinite;
44
+ }
45
+
46
+ .btn-group.skeleton-loader {
47
+ border-radius: $border-radius;
48
+ border: $border-width solid $border-color;
49
+ }