@qrsln/lootstrap 22.4.2-beta.0 → 22.4.7-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/dist/css/lootstrap.css +1227 -858
- package/dist/css/lootstrap.css.map +1 -1
- package/dist/css/lootstrap.min.css +3 -3
- package/package.json +3 -3
- package/scss/Abstracts/_variables.scss +9 -2
- package/scss/Architecture/Components/_spinners.scss +192 -3
- package/scss/Architecture/Components/_tree-view.scss +132 -71
- package/scss/_header.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrsln/lootstrap",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.7-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",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"autoprefixer": "^10.4.4",
|
|
50
|
-
"clean-css-cli": "^5.
|
|
50
|
+
"clean-css-cli": "^5.6.0",
|
|
51
51
|
"nodemon": "^2.0.15",
|
|
52
52
|
"npm-run-all": "^4.1.5",
|
|
53
53
|
"postcss": "^8.4.12",
|
|
54
54
|
"postcss-cli": "^9.1.0",
|
|
55
55
|
"rimraf": "^3.0.2",
|
|
56
|
-
"sass": "^1.49.
|
|
56
|
+
"sass": "^1.49.11"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -14,14 +14,21 @@ $Yellow : hsl(45,100%,51%) !default;
|
|
|
14
14
|
$Cyan : hsl(180,100%,50%) !default;
|
|
15
15
|
$Magenta : hsl(300,100%, 50%) !default;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
//$Purple : hsl(261,51%,51%) !default;
|
|
18
|
+
|
|
19
|
+
$Purple : rgb(160,32,240) !default;
|
|
20
|
+
$Violet : rgb(143,0,255) !default;
|
|
21
|
+
|
|
18
22
|
$Green : hsl(134,61%,41%) !default;
|
|
19
23
|
$Maroon : hsl(331, 74%, 30%) !default;
|
|
20
24
|
$Navy : hsl(210, 100%, 12%) !default;
|
|
21
25
|
$Teal : hsl(162,73%,46%) !default;
|
|
22
26
|
$Olive : hsl(60,100%, 25%) !default;
|
|
23
27
|
$Orange : hsl(24,93%,50%) !default;
|
|
24
|
-
|
|
28
|
+
|
|
29
|
+
//$Pink : hsl(324,79%,60%) !default;
|
|
30
|
+
$Pink : rgb(255,192,203) !default;
|
|
31
|
+
|
|
25
32
|
$Brown : hsl(0, 33%, 38%) !default;
|
|
26
33
|
$Indigo : hsl(270, 100%, 25%) !default;
|
|
27
34
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Components - Spinners
|
|
3
3
|
// ???
|
|
4
4
|
// ===========================================================================
|
|
5
|
+
@use 'sass:math';
|
|
5
6
|
|
|
6
7
|
$Customized: false;
|
|
7
8
|
@import "../_color-scheme";
|
|
@@ -18,7 +19,7 @@ $Customized: false;
|
|
|
18
19
|
|
|
19
20
|
vertical-align: text-bottom;
|
|
20
21
|
|
|
21
|
-
border: .
|
|
22
|
+
border: .25rem solid currentColor;
|
|
22
23
|
border-right-color: transparent;
|
|
23
24
|
border-radius: 50%;
|
|
24
25
|
|
|
@@ -42,6 +43,23 @@ $Customized: false;
|
|
|
42
43
|
animation: 0.75s linear infinite grow;
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
.Spinner-group {
|
|
47
|
+
position: relative;
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
|
|
50
|
+
//border: 1px solid;
|
|
51
|
+
min-width: 100px;
|
|
52
|
+
min-height: 100px;
|
|
53
|
+
|
|
54
|
+
.Spinner-grow, .Spinner-border {
|
|
55
|
+
position: absolute;
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
45
63
|
/*
|
|
46
64
|
// Spinner-vortex
|
|
47
65
|
*/
|
|
@@ -50,8 +68,11 @@ $Customized: false;
|
|
|
50
68
|
position: relative;
|
|
51
69
|
display: inline-block;
|
|
52
70
|
|
|
53
|
-
min-width:
|
|
54
|
-
min-height:
|
|
71
|
+
min-width: 90px;
|
|
72
|
+
min-height: 90px;
|
|
73
|
+
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
55
76
|
|
|
56
77
|
span {
|
|
57
78
|
position: absolute;
|
|
@@ -94,3 +115,171 @@ $Customized: false;
|
|
|
94
115
|
}
|
|
95
116
|
}
|
|
96
117
|
}
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
// Spinner color
|
|
121
|
+
*/
|
|
122
|
+
// ROYGBIV or VIBGYOR Rainbow Color Codes: Red, orange, yellow, green, blue, indigo, violet
|
|
123
|
+
//$default-Colors: (1 : $Red, 2 : $Orange, 3 : $Yellow, 4 : $Lime, 5: $Blue, 6 : $Purple, 7 : $Magenta, 8 : $Pink,) !default;
|
|
124
|
+
$default-Colors: (
|
|
125
|
+
1 : #FF0000, 2 : #FF7F00, 3 : #FFFF00, 4 : #00FF00,
|
|
126
|
+
5: #0000FF, 6 : #4B0082, 7 : #9400D3, 8 : #FF00FF) !default;
|
|
127
|
+
|
|
128
|
+
$base-Rates: (1:8%, 2:24%, 3:40%);
|
|
129
|
+
$base-Index: (1:1, 2:2, 3:3, 4:4, 5:3, 6:2, 7:1);
|
|
130
|
+
|
|
131
|
+
.Spinner-group {
|
|
132
|
+
.Spinner-border {
|
|
133
|
+
margin: 0;
|
|
134
|
+
|
|
135
|
+
// Defaults
|
|
136
|
+
&.Spinner-colored, &.Spinner-adaptive {
|
|
137
|
+
@for $index from 1 through 7 {
|
|
138
|
+
&:nth-child(7n+#{$index}) {
|
|
139
|
+
@if ($index>4) {
|
|
140
|
+
border-left-color: transparent;
|
|
141
|
+
border-right-color: currentColor;
|
|
142
|
+
}
|
|
143
|
+
@if ($index==4) {
|
|
144
|
+
z-index: 1001;
|
|
145
|
+
|
|
146
|
+
border-width: .4rem;
|
|
147
|
+
|
|
148
|
+
} @else {
|
|
149
|
+
z-index: 1000;
|
|
150
|
+
|
|
151
|
+
animation-delay: -400ms + 50 * $index;
|
|
152
|
+
animation-duration: 800ms + 50 * $index;
|
|
153
|
+
|
|
154
|
+
&.Separated {
|
|
155
|
+
margin-left: 2 * (5% * $index - 20%);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.Spinner-colored {
|
|
163
|
+
@for $index from 1 through 7 {
|
|
164
|
+
&:nth-child(7n+#{$index}) {
|
|
165
|
+
$new-index: map-get($base-Index, $index);
|
|
166
|
+
$color: map-get($default-Colors, $index);
|
|
167
|
+
$percent: map-get($base-Rates, $new-index);
|
|
168
|
+
|
|
169
|
+
//color: $color;
|
|
170
|
+
|
|
171
|
+
@if ($index!=4) {
|
|
172
|
+
&.Separated {
|
|
173
|
+
color: hsla(round(hue($color)), round(saturation($color)), round(lightness($color)), $percent);
|
|
174
|
+
}
|
|
175
|
+
&.Scaled {
|
|
176
|
+
//$percent: 8% + 5%* $index;
|
|
177
|
+
transform: scale(-.09 * $index);
|
|
178
|
+
border-color: hsla(round(hue($color)), round(saturation($color)), round(lightness($color)), math.div($percent, 2));
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&.Spinner-adaptive {
|
|
186
|
+
@for $index from 1 through 7 {
|
|
187
|
+
&:nth-child(7n+#{$index}) {
|
|
188
|
+
$new-index: map-get($base-Index, $index);
|
|
189
|
+
$percent: map-get($base-Rates, $new-index);
|
|
190
|
+
|
|
191
|
+
@if ($index!=4) {
|
|
192
|
+
&.Separated {
|
|
193
|
+
color: hsla($Bg-accent-hsl, $percent);
|
|
194
|
+
}
|
|
195
|
+
&.Scaled {
|
|
196
|
+
//$percent: 8% + 5%* $index;
|
|
197
|
+
transform: scale(-.09 * $index);
|
|
198
|
+
border-color: hsla($Bg-accent-hsl, math.div($percent, 2));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.Spinner-grow {
|
|
208
|
+
|
|
209
|
+
// Defaults
|
|
210
|
+
&.Spinner-colored, &.Spinner-adaptive {
|
|
211
|
+
@for $index from 1 through 7 {
|
|
212
|
+
&:nth-child(7n+#{$index}) {
|
|
213
|
+
@if ($index==4) {
|
|
214
|
+
z-index: 1001;
|
|
215
|
+
} @else {
|
|
216
|
+
z-index: 1000;
|
|
217
|
+
|
|
218
|
+
//&.Separated {
|
|
219
|
+
margin-left: 2 * (5% * $index - 20%);
|
|
220
|
+
//}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&.Spinner-colored {
|
|
227
|
+
@for $index from 1 through 7 {
|
|
228
|
+
&:nth-child(7n+#{$index}) {
|
|
229
|
+
@if ($index!=4) {
|
|
230
|
+
$new-index: map-get($base-Index, $index);
|
|
231
|
+
$color: map-get($default-Colors, $index);
|
|
232
|
+
$percent: map-get($base-Rates, $new-index);
|
|
233
|
+
|
|
234
|
+
color: hsla(round(hue($color)), round(saturation($color)), round(lightness($color)), math.div($percent, 2));
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&.Spinner-adaptive {
|
|
241
|
+
@for $index from 1 through 7 {
|
|
242
|
+
&:nth-child(7n+#{$index}) {
|
|
243
|
+
@if ($index!=4) {
|
|
244
|
+
$new-index: map-get($base-Index, $index);
|
|
245
|
+
$percent: map-get($base-Rates, $new-index);
|
|
246
|
+
|
|
247
|
+
color: hsla($Bg-accent-hsl, $percent);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.Spinner-vortex {
|
|
258
|
+
|
|
259
|
+
&.Spinner-colored {
|
|
260
|
+
span {
|
|
261
|
+
@for $index from 1 through 8 {
|
|
262
|
+
&:nth-child(7n+#{$index}) {
|
|
263
|
+
&:before {
|
|
264
|
+
border-color: hsl(240, 7%, 18%); // Dark
|
|
265
|
+
background-color: map-get($default-Colors, $index);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&.Spinner-adaptive {
|
|
273
|
+
span {
|
|
274
|
+
@for $index from 1 through 8 {
|
|
275
|
+
&:nth-child(7n+#{$index}) {
|
|
276
|
+
&:before {
|
|
277
|
+
border-color: hsl(240, 7%, 18%); // Dark
|
|
278
|
+
background-color: hsla($Bg-accent-hsl, $index * 12%);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
}
|
|
@@ -6,40 +6,50 @@
|
|
|
6
6
|
$Customized: false;
|
|
7
7
|
@import "../_color-scheme";
|
|
8
8
|
|
|
9
|
-
//
|
|
9
|
+
// Css BEM - Block Element Modifier
|
|
10
|
+
// Roots > Trunks > Branches > leaves
|
|
10
11
|
|
|
11
|
-
.
|
|
12
|
+
.Tree-view {
|
|
12
13
|
position: relative;
|
|
13
|
-
padding:
|
|
14
|
+
padding-left: 20px;
|
|
14
15
|
margin-bottom: 0.5rem;
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
//border: 1px solid black;
|
|
18
|
+
|
|
19
|
+
.Tree-separator {
|
|
20
|
+
//background-color: $Border-color;
|
|
21
|
+
background-color: hsla($Bg-accent-hsl, .50);
|
|
22
|
+
|
|
23
|
+
hr {
|
|
24
|
+
margin: .25rem 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.Tree-branch {
|
|
17
29
|
position: relative;
|
|
18
|
-
display:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
}
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
|
|
33
|
+
border: 1px solid transparent;
|
|
34
|
+
border-radius: .25rem;
|
|
35
|
+
margin: 1px;
|
|
36
|
+
|
|
37
|
+
&:not(.Active):not(.Disabled):hover {
|
|
38
|
+
background-color: hsla($Bg-accent-hsl, .12);
|
|
39
|
+
border-color: hsla($Bg-accent-hsl, .24);
|
|
40
|
+
|
|
41
|
+
+ .Tree-trunk{
|
|
42
|
+
background-color: hsla($Bg-accent-hsl, .06);
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
45
|
|
|
36
|
-
&.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
&.Active {
|
|
47
|
+
color: $Fg-accent;
|
|
48
|
+
background-color: $Bg-accent;
|
|
49
|
+
border-color: $Bg-accent;
|
|
40
50
|
|
|
41
|
-
|
|
42
|
-
|
|
51
|
+
.Tree-leaf--icon {
|
|
52
|
+
color: $Fg-accent !important;
|
|
43
53
|
}
|
|
44
54
|
}
|
|
45
55
|
|
|
@@ -50,79 +60,130 @@ $Customized: false;
|
|
|
50
60
|
background-color: $Bg-lighter;
|
|
51
61
|
}
|
|
52
62
|
|
|
53
|
-
.
|
|
54
|
-
|
|
63
|
+
.Tree-chevron {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex: 1 auto;
|
|
66
|
+
|
|
67
|
+
width: 20px;
|
|
68
|
+
margin-left: -20px;
|
|
69
|
+
|
|
55
70
|
color: $Bg-accent;
|
|
56
71
|
|
|
57
|
-
|
|
58
|
-
|
|
72
|
+
// https://css.gg/chevron-right
|
|
73
|
+
|
|
74
|
+
.gg-chevron-down {
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
position: relative;
|
|
77
|
+
display: inline-block;
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
|
|
80
|
+
width: 20px;
|
|
81
|
+
height: 20px;
|
|
82
|
+
|
|
83
|
+
border: 2px solid transparent;
|
|
84
|
+
border-radius: 100px;
|
|
85
|
+
|
|
86
|
+
&:after {
|
|
87
|
+
content: "";
|
|
88
|
+
display: block;
|
|
89
|
+
box-sizing: border-box;
|
|
90
|
+
position: absolute;
|
|
91
|
+
width: 10px;
|
|
92
|
+
height: 10px;
|
|
93
|
+
border-bottom: 2px solid;
|
|
94
|
+
border-right: 2px solid;
|
|
95
|
+
transform: rotate(45deg);
|
|
96
|
+
left: 4px;
|
|
97
|
+
top: 2px
|
|
98
|
+
}
|
|
59
99
|
}
|
|
60
|
-
}
|
|
61
100
|
|
|
62
|
-
|
|
63
|
-
|
|
101
|
+
.gg-chevron-right {
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
position: relative;
|
|
104
|
+
display: inline-block;
|
|
105
|
+
transform: scale(1);
|
|
106
|
+
|
|
107
|
+
width: 20px;
|
|
108
|
+
height: 20px;
|
|
109
|
+
|
|
110
|
+
border: 2px solid transparent;
|
|
111
|
+
border-radius: 100px;
|
|
112
|
+
|
|
113
|
+
&:after {
|
|
114
|
+
content: "";
|
|
115
|
+
display: block;
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
position: absolute;
|
|
118
|
+
width: 10px;
|
|
119
|
+
height: 10px;
|
|
120
|
+
border-bottom: 2px solid;
|
|
121
|
+
border-right: 2px solid;
|
|
122
|
+
transform: rotate(-45deg);
|
|
123
|
+
//right: 6px;
|
|
124
|
+
top: 4px
|
|
125
|
+
}
|
|
126
|
+
}
|
|
64
127
|
}
|
|
65
128
|
|
|
66
|
-
.
|
|
67
|
-
|
|
129
|
+
.Tree-leaf {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex: 1 auto;
|
|
132
|
+
width: calc(100% - 20px);
|
|
68
133
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
134
|
+
padding: 0 5px;
|
|
135
|
+
|
|
136
|
+
.Tree-leaf--checkbox {
|
|
137
|
+
display: inline;
|
|
73
138
|
}
|
|
74
|
-
}
|
|
75
139
|
|
|
76
|
-
|
|
77
|
-
|
|
140
|
+
.Tree-leaf--content {
|
|
141
|
+
display: flex;
|
|
142
|
+
width: 100%;
|
|
143
|
+
|
|
144
|
+
align-items: center;
|
|
78
145
|
|
|
79
|
-
|
|
80
|
-
|
|
146
|
+
.Tree-leaf--icon {
|
|
147
|
+
margin-right: .25rem;
|
|
148
|
+
color: $Bg-accent;
|
|
149
|
+
}
|
|
81
150
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
background-color: $Bg-accent;
|
|
85
|
-
border-color: $Bg-accent;
|
|
86
|
-
border-radius: .25rem;
|
|
151
|
+
.Tree-leaf--label {
|
|
152
|
+
}
|
|
87
153
|
|
|
88
|
-
.
|
|
89
|
-
|
|
154
|
+
.Tree-leaf--caption {
|
|
155
|
+
margin-left: auto !important;
|
|
90
156
|
}
|
|
91
157
|
}
|
|
92
158
|
|
|
93
|
-
.FaIcon {
|
|
94
|
-
margin-right: .25rem;
|
|
95
|
-
color: $Bg-accent;
|
|
96
|
-
}
|
|
97
159
|
}
|
|
160
|
+
}
|
|
98
161
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
margin-top: 5px;
|
|
104
|
-
padding-left: 18px;
|
|
162
|
+
.Tree-trunk {
|
|
163
|
+
position: relative;
|
|
164
|
+
display: block;
|
|
105
165
|
|
|
106
|
-
|
|
107
|
-
|
|
166
|
+
&.Expanded {
|
|
167
|
+
transition: all .3s ease;
|
|
168
|
+
animation: Keyframe-FadeIn .3s ease-in-out;
|
|
108
169
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
170
|
+
padding-left: 20px;
|
|
171
|
+
border-left: 1px dotted $Border-color;
|
|
172
|
+
border-bottom: 1px dotted $Border-color;
|
|
173
|
+
}
|
|
113
174
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
175
|
+
&.Collapsed {
|
|
176
|
+
display: none;
|
|
117
177
|
}
|
|
178
|
+
|
|
118
179
|
}
|
|
119
180
|
}
|
|
120
181
|
|
|
121
|
-
@keyframes
|
|
182
|
+
@keyframes Keyframe-FadeIn {
|
|
122
183
|
from {
|
|
123
184
|
opacity: 0;
|
|
124
185
|
}
|
|
125
186
|
to {
|
|
126
187
|
opacity: 1;
|
|
127
188
|
}
|
|
128
|
-
}
|
|
189
|
+
}
|
package/scss/_header.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
|
-
* CSS Compiled on: 2022-04-
|
|
3
|
+
* CSS Compiled on: 2022-04-07
|
|
4
4
|
*
|
|
5
|
-
* Lootstrap v22.4.
|
|
5
|
+
* Lootstrap v22.4.7-beta.0 (https://github.com/krsln/Lootstrap/)
|
|
6
6
|
* Copyright 2022 Qrsln.
|
|
7
7
|
* Licensed under MIT (https://github.com/krsln/Lootstrap/blob/master/LICENSE)
|
|
8
8
|
*/
|