@qrsln/lootstrap 22.3.2-beta.0 → 22.4.2-beta.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": "@qrsln/lootstrap",
3
- "version": "22.3.2-beta.0",
3
+ "version": "22.4.2-beta.0",
4
4
  "description": "LootStrap is a scss library and is still in beta! There is much to improve!",
5
5
  "style": "dist/css/lootstrap.css",
6
6
  "sass": "scss/lootstrap.scss",
@@ -9,6 +9,7 @@
9
9
  "url": "git+https://github.com/krsln/LootStrap.git"
10
10
  },
11
11
  "keywords": [
12
+ "Lootstrap",
12
13
  "css",
13
14
  "sass",
14
15
  "scss",
@@ -40,19 +41,18 @@
40
41
  "sass:Watch": "sass --watch scss/:dist/css/",
41
42
  "css-compile-TEST": "sass --style expanded --source-map --embed-sources --no-error-css Tests:dist/Tests",
42
43
  "css-clean-main-TEST:SassDoesnt": "cleancss -O1 --format beautify --output dist/Tests/lootstrap-test.css dist/Tests/lootstrap-test.css",
43
-
44
44
  "/************ / ************/": " --- End --- ",
45
45
  "p:live": "npm run css && npm publish --access public",
46
46
  "p:beta": "npm run css && npm publish --tag beta --access public"
47
47
  },
48
48
  "devDependencies": {
49
- "autoprefixer": "^10.4.2",
49
+ "autoprefixer": "^10.4.4",
50
50
  "clean-css-cli": "^5.5.2",
51
51
  "nodemon": "^2.0.15",
52
52
  "npm-run-all": "^4.1.5",
53
- "postcss": "^8.4.5",
53
+ "postcss": "^8.4.12",
54
54
  "postcss-cli": "^9.1.0",
55
55
  "rimraf": "^3.0.2",
56
- "sass": "^1.49.0"
56
+ "sass": "^1.49.9"
57
57
  }
58
58
  }
@@ -120,8 +120,8 @@ $Black: hsl(0, 0%, 0%) !default;
120
120
 
121
121
  /// Set Text Color Entirely based on bg color (Black or White)
122
122
  /// Usage => @include Text-color($Warning);
123
- @function Text-color($n) {
124
- $color-brightness: round((red($n)*299)+(green($n)*587)+ math.div(blue($n) * 114, 1000));
123
+ @function Text-color($color) {
124
+ $color-brightness: round((red($color)*299)+(green($color)*587)+ math.div(blue($color) * 114, 1000));
125
125
  $light-color: round((red(#ffffff)*299)+(green(#ffffff)*587)+ math.div(blue(#ffffff) * 114, 1000));
126
126
  @if abs($color-brightness) < math.div($light-color, 2) {
127
127
  @return $White;
@@ -25,7 +25,7 @@
25
25
  .Accent-#{$keyAccent} {
26
26
  --#{$var-Prefix}bg-accent-hsl: #{colorToHSL($valueAccent)};
27
27
  --#{$var-Prefix}bg-accent: #{$valueAccent};
28
- --#{$var-Prefix}fg-accent: #{Best-fg-color($valueAccent)};
28
+ --#{$var-Prefix}fg-accent: #{Text-color($valueAccent)};
29
29
  }
30
30
  }
31
31
 
@@ -126,14 +126,14 @@
126
126
 
127
127
  // Foreground colors
128
128
  --#{$Prefix}fg-muted: #{$C-disabled};
129
- --#{$Prefix}fg-hue: #{Best-fg-color($C-hue)};
130
- --#{$Prefix}fg-accent: #{Best-fg-color($C-hue)};
129
+ --#{$Prefix}fg-hue: #{Text-color($C-hue)};
130
+ --#{$Prefix}fg-accent: #{Text-color($C-hue)};
131
131
 
132
- --#{$Prefix}fg-body: #{Best-fg-color($C-body)};
133
- --#{$Prefix}fg-surface: #{Best-fg-color($C-surface)};
132
+ --#{$Prefix}fg-body: #{Text-color($C-body)};
133
+ --#{$Prefix}fg-surface: #{Text-color($C-surface)};
134
134
 
135
- --#{$Prefix}fg-lighter: #{Best-fg-color($C-lighter)};
136
- --#{$Prefix}fg-lightest: #{Best-fg-color($C-lightest)};
135
+ --#{$Prefix}fg-lighter: #{Text-color($C-lighter)};
136
+ --#{$Prefix}fg-lightest: #{Text-color($C-lightest)};
137
137
 
138
138
  --#{$Prefix}border-hsl: #{colorToHSL($C-border)};
139
139
  --#{$Prefix}shadow-hsl: #{colorToHSL($C-shadow)};
@@ -151,7 +151,7 @@
151
151
  --#{$var-Prefix}bg-accent-hsl: #{colorToHSL($C-accent)};
152
152
 
153
153
  --#{$var-Prefix}bg-accent: #{$C-accent};
154
- --#{$var-Prefix}fg-accent: #{Best-fg-color($C-accent)};
154
+ --#{$var-Prefix}fg-accent: #{Text-color($C-accent)};
155
155
 
156
156
  // Overlay with white background
157
157
  //@each $per in (0, 5, 7, 8, 9, 11, 12, 14, 15, 16) {
@@ -36,6 +36,16 @@ $Customized: 'alert-';
36
36
  }
37
37
  }
38
38
 
39
+ &.Alert-rounded {
40
+ border-radius: 50rem 0 50rem 50rem !important;
41
+ }
42
+
43
+ &.Alert-none {
44
+ .Alert-icon {
45
+ color: hsla($Bg-accent-hsl, .33);
46
+ }
47
+ }
48
+
39
49
  &.Alert-outline {
40
50
  color: $Fg-lightest;
41
51
  background-color: $Bg-lightest;
@@ -42,6 +42,7 @@ $Breadcrumb-divider-verticalLine: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0
42
42
  .Breadcrumb-item {
43
43
  display: inline-block;
44
44
  text-align: center;
45
+ color: $Fg-surface;
45
46
 
46
47
  .Breadcrumb-Link {
47
48
  padding: 0 .3rem;
@@ -6,11 +6,11 @@
6
6
  $Customized: 'card-';
7
7
  @import "../_color-scheme";
8
8
 
9
- $border-radius: .5rem;
9
+ $card-radius: .25rem;
10
10
 
11
11
  .Card {
12
- display: block;
13
12
  position: relative;
13
+ display: block;
14
14
  overflow: visible;
15
15
 
16
16
  color: $Fg-surface;
@@ -19,9 +19,10 @@ $border-radius: .5rem;
19
19
  border: $Border;
20
20
  box-shadow: $Shadow;
21
21
 
22
+
22
23
  padding: 0;
23
24
  margin-bottom: 1rem;
24
- border-radius: $border-radius;
25
+ border-radius: $card-radius;
25
26
  min-width: 0;
26
27
  background-clip: border-box;
27
28
 
@@ -29,8 +30,8 @@ $border-radius: .5rem;
29
30
  position: relative;
30
31
  overflow: hidden;
31
32
 
32
- border-top-left-radius: $border-radius;
33
- border-top-right-radius: $border-radius;
33
+ border-top-left-radius: $card-radius;
34
+ border-top-right-radius: $card-radius;
34
35
  }
35
36
 
36
37
  .Card-header, .Card-footer {
@@ -44,7 +45,7 @@ $border-radius: .5rem;
44
45
  border-bottom: $Border;
45
46
 
46
47
  :first-child {
47
- border-radius: calc(.5rem - 1px) calc(.5rem - 1px) 0 0;
48
+ border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
48
49
  }
49
50
  }
50
51
 
@@ -56,12 +57,10 @@ $border-radius: .5rem;
56
57
  }
57
58
 
58
59
  &.Card-body, .Card-body {
60
+ position: relative;
59
61
  flex: 1 1 auto;
60
62
  padding: 1rem 1.5rem;
61
63
 
62
- //color: $Component-fg-light;
63
- //background-color: $Component-bg-light;
64
-
65
64
  .Card-title {
66
65
  margin-bottom: .5rem;
67
66
 
@@ -78,3 +77,56 @@ $border-radius: .5rem;
78
77
  }
79
78
  }
80
79
  }
80
+
81
+ .Card-horizontal {
82
+ position: relative;
83
+ display: flex;
84
+ flex-wrap: wrap;
85
+
86
+ .Card-img {
87
+ &:not(:empty) {
88
+ width: 40%;
89
+ }
90
+
91
+ border-top-right-radius: 0;
92
+ border-bottom-left-radius: $card-radius;
93
+ }
94
+
95
+ &.Card-body, .Card-body {
96
+ width: 60%;
97
+
98
+ padding: 0.5rem 1rem;
99
+ }
100
+ }
101
+
102
+ // https://gist.github.com/gokulkrishh/242e68d1ee94ad05f488
103
+
104
+ /*
105
+ ##Device = Most of the Smartphones Mobiles (Portrait)
106
+ ##Screen = B/w 320px to 479px
107
+ */
108
+ @media (min-width: 320px) and (max-width: 480px) {
109
+
110
+ .Card {
111
+
112
+ .Card-header, .Card-footer {
113
+ padding: 0.5rem 1.25rem;
114
+ }
115
+
116
+ &.Card-body, .Card-body {
117
+ padding: 0.75rem 1.25rem;
118
+ font-size: 0.75em;
119
+ }
120
+ }
121
+
122
+ .Card-horizontal {
123
+ .Card-img {
124
+ border-bottom-left-radius: 0;
125
+ border-top-right-radius: $card-radius;
126
+
127
+ &:not(:empty) {
128
+ flex: 0 0 100%;
129
+ }
130
+ }
131
+ }
132
+ }
@@ -9,51 +9,46 @@
9
9
 
10
10
  .Loader {
11
11
  display: flex;
12
- --status: '0%';
13
- --loaded: 0;
12
+ --ls-loader-status: '0%';
13
+ --ls-loader-loaded: 0;
14
14
 
15
- .Square {
16
- .Square-inner {
15
+ .Status {
16
+ display: inline-block;
17
+ position: absolute;
17
18
 
18
- .Status {
19
- display: inline-block;
20
- position: absolute;
21
-
22
- &:before {
23
- content: var(--status, "0%");
24
- }
25
- }
19
+ &:before {
20
+ content: var(--ls-loader-status, "0%");
21
+ }
22
+ }
26
23
 
27
- svg {
28
- width: 100%;
29
- height: auto;
30
- top: 0;
31
- left: 0;
24
+ svg {
25
+ width: 100%;
26
+ height: auto;
27
+ top: 0;
28
+ left: 0;
32
29
 
33
- text {
34
- fill: currentColor;
35
- dominant-baseline: central;
36
- text-anchor: middle;
37
- }
30
+ text {
31
+ fill: currentColor;
32
+ dominant-baseline: central;
33
+ text-anchor: middle;
34
+ }
38
35
 
39
- g {
40
- //transform-box: fill-box;
41
- transform-origin: center;
42
- transform: rotate(-90deg);
43
- }
36
+ g {
37
+ //transform-box: fill-box;
38
+ transform-origin: center;
39
+ transform: rotate(-90deg);
40
+ }
44
41
 
45
- .circle {
46
- fill: none;
47
- stroke: currentColor;
48
- stroke-width: 3%;
49
- stroke-linecap: round;
50
- animation: loader-progress 1s ease-out forwards;
42
+ .circle {
43
+ fill: none;
44
+ stroke: currentColor;
45
+ stroke-width: 3%;
46
+ stroke-linecap: round;
47
+ animation: loader-progress 1s ease-out forwards;
51
48
 
52
- &:first-of-type {
53
- stroke-dasharray: var(--loaded, 0), 100;
54
- transition: stroke-dasharray 0.4s cubic-bezier(0.04, 0.24, 0.18, 1);
55
- }
56
- }
49
+ &:first-of-type {
50
+ stroke-dasharray: var(--ls-loader-loaded, 0), 100;
51
+ transition: stroke-dasharray 0.4s cubic-bezier(0.04, 0.24, 0.18, 1);
57
52
  }
58
53
  }
59
54
  }
@@ -46,6 +46,10 @@ $Customized: false;
46
46
  .Nav-tabs {
47
47
  border-bottom: 1px solid $Border-color;
48
48
 
49
+ .Nav-item {
50
+ padding-right: 2px;
51
+ }
52
+
49
53
  .Nav-link {
50
54
  margin-bottom: -1px;
51
55
  background: none;
@@ -88,4 +92,40 @@ $Customized: false;
88
92
  color: $Fg-accent;
89
93
  background-color: $Bg-accent;
90
94
  }
91
- }
95
+ }
96
+
97
+ .Nav-material {
98
+ .Nav-link {
99
+ background: none;
100
+ border: 0;
101
+
102
+ color: $Fg-hue;
103
+ border-bottom: 2px solid transparent;
104
+
105
+ &:hover,
106
+ &:focus {
107
+ color: $Fg-lighter;
108
+ background-color: $Bg-lighter;
109
+ }
110
+ }
111
+
112
+ .Nav-link.Active,
113
+ .Show > .Nav-link {
114
+ border-color: $Bg-accent;
115
+ color: $Bg-accent;
116
+ //background-color: orange;
117
+ }
118
+ }
119
+
120
+ // Tabbable tabs
121
+ // Hide tabbable panes to start, show them when `.active`
122
+
123
+ .Tab-content {
124
+ .Tab-pane {
125
+ display: none;
126
+
127
+ &.Active {
128
+ display: block;
129
+ }
130
+ }
131
+ }
@@ -9,7 +9,7 @@ $Customized: false;
9
9
  .Pagination {
10
10
  display: flex;
11
11
  position: relative;
12
- overflow: hidden;
12
+ //overflow: hidden;
13
13
 
14
14
  align-items: center;
15
15
  justify-content: center;
@@ -20,6 +20,8 @@ $Customized: false;
20
20
  .Square {
21
21
  user-select: none; /* Standard */
22
22
 
23
+ font-size: 1.25em;
24
+
23
25
  max-width: 42px;
24
26
  max-height: 42px;
25
27
  //color: $Component-fg-secondary;
@@ -28,10 +30,16 @@ $Customized: false;
28
30
  border: 1px solid transparent;
29
31
  border-radius: $Border-radius;
30
32
 
31
- transition: border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
33
+ transition: border-color 0.15s cubic-bezier(0.3, 0, 0.5, 1);
32
34
 
33
35
  &:nth-child(-n+2), &:nth-last-of-type(-n+2) {
34
- font-size: 1.3em;
36
+ color: $Bg-accent;
37
+ font-size: 1.5em;
38
+ margin: 0;
39
+
40
+ &.Disabled {
41
+ color: $Fg-muted;
42
+ }
35
43
  }
36
44
 
37
45
  &:not(.Disabled):not(.Active) {
@@ -43,21 +51,30 @@ $Customized: false;
43
51
  border-color: $Border-color;
44
52
 
45
53
  color: $Fg-lighter;
54
+ &:nth-child(-n+2), &:nth-last-of-type(-n+2){
55
+ color: $Bg-accent;
56
+ }
46
57
  background-color: $Bg-lighter;
47
58
  }
48
59
 
49
- &.Disabled {
50
- color: $Fg-muted;
51
- }
52
-
53
60
  &.Active {
54
61
  color: $Fg-accent;
55
62
  background-color: $Bg-accent;
56
63
 
57
64
  border-color: transparent;
58
65
 
66
+ font-weight: bolder;
67
+
59
68
  box-shadow: $Shadow;
60
- transition: all 0.2s linear;
69
+ transition: all 0.15s linear;
70
+ }
71
+
72
+ @media (max-width: 767px) {
73
+ font-size: .8em;
74
+
75
+ &:nth-child(-n+2), &:nth-last-of-type(-n+2) {
76
+ font-size: 1em;
77
+ }
61
78
  }
62
79
  }
63
80
  }
@@ -8,108 +8,43 @@
8
8
  $Customized: false;
9
9
  @import "../_color-scheme";
10
10
 
11
- //$svg-Heart: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 0 52 50'%3E%3Cg %3E%3Cpath d='M24.85,10.126c2.018-4.783,6.628-8.125,11.99-8.125c7.223,0,12.425,6.179,13.079,13.543 c0,0,0.353,1.828-0.424,5.119c-1.058,4.482-3.545,8.464-6.898,11.503L24.85,48L7.402,32.165c-3.353-3.038-5.84-7.021-6.898-11.503 c-0.777-3.291-0.424-5.119-0.424-5.119C0.734,8.179,5.936,2,13.159,2C18.522,2,22.832,5.343,24.85,10.126z'/%3E%3C/g%3E%3C/svg%3E%0A");
12
- //$svg-Star: url("data:image/svg+xml, %3Csvg viewBox='0 0 190 190' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,10 40,180 190,60 10,60 160,180' /%3E%3C/svg%3E%0A");
13
- $svg-Heart: url("data:image/svg+xml;base64,IDxzdmcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB2aWV3Qm94PSctMSAwIDUyIDUwJz48ZyA+PHBhdGggZD0nTTI0Ljg1LDEwLjEyNmMyLjAxOC00Ljc4Myw2LjYyOC04LjEyNSwxMS45OS04LjEyNWM3LjIyMywwLDEyLjQyNSw2LjE3OSwxMy4wNzksMTMuNTQzIGMwLDAsMC4zNTMsMS44MjgtMC40MjQsNS4xMTljLTEuMDU4LDQuNDgyLTMuNTQ1LDguNDY0LTYuODk4LDExLjUwM0wyNC44NSw0OEw3LjQwMiwzMi4xNjVjLTMuMzUzLTMuMDM4LTUuODQtNy4wMjEtNi44OTgtMTEuNTAzIGMtMC43NzctMy4yOTEtMC40MjQtNS4xMTktMC40MjQtNS4xMTlDMC43MzQsOC4xNzksNS45MzYsMiwxMy4xNTksMkMxOC41MjIsMiwyMi44MzIsNS4zNDMsMjQuODUsMTAuMTI2eicvPjwvZz48L3N2Zz4K");
14
- $svg-Star: url("data:image/svg+xml;base64,IDxzdmcgdmlld0JveD0nMCAwIDE5MCAxOTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBvbHlnb24gcG9pbnRzPScxMDAsMTAgNDAsMTgwIDE5MCw2MCAxMCw2MCAxNjAsMTgwJyAvPjwvc3ZnPgo=");
15
-
16
- $bg-Star: #dbab09;
17
- $bg-Heart: hsl(354, 66%, 54%);
18
-
19
11
  .Rating {
20
12
  display: flex;
21
13
  position: relative;
22
14
  overflow: visible;
23
15
  cursor: pointer;
24
16
 
25
- .Square {
17
+ //noinspection ALL
18
+ RatingItem, .Square {
19
+ margin: 0;
26
20
  border: none;
27
21
  background: transparent;
28
22
 
29
- $bg-color: var(--#{$var-Prefix}rating-bg-color);
30
- $color: var(--#{$var-Prefix}rating-color);
31
-
23
+ .Rating-inner,
32
24
  .Square-inner:not(.Rating-value) {
33
25
  color: $Fg-surface;
34
26
  background-color: $Bg-surface;
35
27
 
36
- &.IsFraction {
37
- background: linear-gradient(to right, $bg-color 0%, $Bg-lightest 100%);
38
- border-image: linear-gradient(to right, $bg-color 0%, $Bg-lightest 100%) 1;
39
- color: $color;
40
- }
41
-
42
- &.IsSelected, &.IsHovered {
43
- border-color: $bg-color;
44
- background: $bg-color;
45
- color: $color;
46
-
47
- &.IsFraction {
48
- background: linear-gradient(to right, $bg-color 0%, $Bg-lightest 100%);
49
- border-image: linear-gradient(to right, $bg-color 0%, $Bg-lightest 100%) 1;
50
- color: $color;
51
- }
52
- }
53
- }
54
- }
55
- }
56
-
57
- .Rating-star {
58
- --#{$var-Prefix}rating-mask: #{$svg-Star};
59
- --#{$var-Prefix}rating-bg-color: #{$bg-Star};
60
- --#{$var-Prefix}rating-color: #{$Fg-hue};
61
- }
62
-
63
- .Rating-heart {
64
- --#{$var-Prefix}rating-mask: #{$svg-Heart};
65
- --#{$var-Prefix}rating-bg-color: #{$bg-Heart};
66
- --#{$var-Prefix}rating-color: #{$Fg-hue};
67
- }
68
-
69
- .Rating-text {
70
- --#{$var-Prefix}rating-bg-color: #{$Bg-accent};
71
- --#{$var-Prefix}rating-color: #{$Fg-accent};
72
-
73
- .Square {
74
- .Square-inner:not(.Rating-value) {
75
28
  margin: 1px;
76
29
  border: 4px solid $Bg-lightest;
77
- //border: 4px solid $Border-color;
78
30
 
79
- //background-color: white;
80
- color: $Fg-surface;
81
- background-color: $Bg-surface;
82
- }
83
- }
84
- }
85
-
86
- // TODO: Rating-mask
87
- .Rating-mask {
88
- .Square {
89
- filter: drop-shadow(0 3px 1px rgba(0, 0, 0, 0.2));
90
-
91
- .Square-inner:not(.Rating-value) {
92
- //@extend .Svg-mask !optional;
93
- display: flex;
94
-
95
- mask: var(--svg-icon);
96
- mask-repeat: no-repeat;
97
- mask-position: center;
98
- mask-size: contain;
31
+ &.Fraction {
32
+ background: linear-gradient(to right, var(--#{$var-Prefix}rating-bg, $Bg-accent) 0%, $Bg-lightest 100%);
33
+ border-image: linear-gradient(to right, var(--#{$var-Prefix}rating-bg, $Bg-accent) 0%, $Bg-lightest 100%) 1;
34
+ color: $Fg-accent;
35
+ }
99
36
 
100
- mask-clip: inherit;
101
- }
102
- }
103
- }
37
+ &.Selected, &.Hovered {
38
+ border-color: var(--ls-rating-bg, $Bg-accent);
39
+ background: var(--ls-rating-bg, $Bg-accent);
40
+ color: $Fg-accent;
104
41
 
105
- .Rating-star, .Rating-heart {
106
- .Square {
107
- margin: 0;
108
- filter: drop-shadow(0 3px 1px rgba(0, 0, 0, 0.2));
109
-
110
- .Square-inner:not(.Rating-value) {
111
- mask: var(--#{$var-Prefix}rating-mask) center no-repeat;
112
- mask-size: auto;
42
+ &.Fraction {
43
+ background: linear-gradient(to right, var(--#{$var-Prefix}rating-bg, $Bg-accent) 0%, $Bg-lightest 100%);
44
+ border-image: linear-gradient(to right, var(--#{$var-Prefix}rating-bg, $Bg-accent) 0%, $Bg-lightest 100%) 1;
45
+ color: $Fg-accent;
46
+ }
47
+ }
113
48
  }
114
49
  }
115
50
  }
@@ -7,7 +7,7 @@ $Customized: false;
7
7
  @import "../_color-scheme";
8
8
 
9
9
  .Scrollbar {
10
- scrollbar-gutter: stable;
10
+ scrollbar-gutter: auto;
11
11
 
12
12
  $width: var(--#{$var-Prefix}scrollbar-width, .8rem);
13
13
  $radius: var(--#{$var-Prefix}scrollbar-radius, .2rem);
@@ -3,6 +3,9 @@
3
3
  // ???
4
4
  // ===========================================================================
5
5
 
6
+ $Customized: false;
7
+ @import "../_color-scheme";
8
+
6
9
  /*
7
10
  // Spinner from bootstrap
8
11
  */
@@ -19,6 +22,8 @@
19
22
  border-right-color: transparent;
20
23
  border-radius: 50%;
21
24
 
25
+ color: $Bg-accent;
26
+
22
27
  animation: .75s linear infinite spin-CW;
23
28
  }
24
29
 
@@ -28,6 +33,8 @@
28
33
  height: 2rem;
29
34
  margin: .25rem;
30
35
 
36
+ color: $Bg-accent;
37
+
31
38
  vertical-align: text-bottom;
32
39
  background-color: currentColor;
33
40
  border-radius: 50%;
@@ -41,9 +48,10 @@
41
48
 
42
49
  .Spinner-vortex {
43
50
  position: relative;
44
- display: block;
45
- width: 160px;
46
- height: 160px;
51
+ display: inline-block;
52
+
53
+ min-width: 120px;
54
+ min-height: 120px;
47
55
 
48
56
  span {
49
57
  position: absolute;
@@ -77,14 +85,12 @@
77
85
  }
78
86
  }
79
87
  }
80
- }
81
-
82
- .Spinner-vortex-square {
83
- @extend .Spinner-vortex;
84
88
 
85
- span {
86
- &:before {
87
- border-radius: 10px;
89
+ &.Spinner-vortex-square {
90
+ span {
91
+ &:before {
92
+ border-radius: 10px;
93
+ }
88
94
  }
89
95
  }
90
96
  }
@@ -6,9 +6,10 @@
6
6
 
7
7
  .Square {
8
8
  position: relative;
9
+ display: flex;
9
10
  flex: 1 0 auto;
10
11
  margin: 2px;
11
- font-weight: bold;
12
+ //font-weight: bold;
12
13
  user-select: none;
13
14
 
14
15
  &:after {