@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.
@@ -9,20 +9,14 @@ $Customized: false;
9
9
  .Timeline {
10
10
  display: block;
11
11
  position: relative;
12
- overflow: visible;
13
12
 
14
13
  color: $Fg-surface;
15
14
  background-color: $Bg-surface;
16
15
 
17
- //border: $Border;
18
- box-shadow: $Shadow-inner;
19
-
20
16
  background-clip: border-box;
17
+ min-width: 0;
21
18
  padding: 0;
22
19
  margin-bottom: 1.5rem;
23
- min-width: 0;
24
-
25
- $badge-size: 32px;
26
20
 
27
21
  .Timeline-header {
28
22
  padding: 1rem;
@@ -32,99 +26,60 @@ $Customized: false;
32
26
  .Timeline-item {
33
27
  position: relative;
34
28
  display: flex;
35
- overflow: visible;
36
- padding-right: 1rem;
37
- padding-left: 1rem;
38
29
 
39
- &:not(:last-child):after {
30
+ align-items: center;
31
+
32
+ &.Inverted {
33
+ flex-direction: row-reverse;
34
+
35
+ &:after {
36
+ left: auto;
37
+ right: 16px;
38
+ }
39
+
40
+ .Timeline-badge {
41
+ margin-right: 0;
42
+ margin-left: 0.75rem;
43
+ }
44
+ }
45
+
46
+ &:after {
40
47
  position: absolute;
41
48
  content: " ";
42
49
  background-color: $Border-color;
43
50
 
51
+ //z-index: -1;
52
+
44
53
  width: 3px;
45
54
  height: 100%;
46
55
 
47
- left: 1.9rem;
56
+ left: 16px;
48
57
  right: auto;
49
- top: 50%;
58
+ top: 0;
50
59
  }
51
60
 
52
- .Timeline-badge {
53
- position: relative;
54
- display: flex;
55
- z-index: 1;
56
-
57
- align-items: center;
58
-
59
- .Timeline-badge-inner {
60
- position: relative;
61
- display: flex;
62
- width: $badge-size;
63
- height: $badge-size;
64
-
65
- color: $Fg-accent;
66
- background-color: $Bg-accent;
67
-
68
- border-radius: 50%;
69
- box-shadow: $Shadow-inner;
70
- margin-bottom: 1rem;
71
-
72
- * {
73
- display: block;
74
- margin: auto;
75
- }
76
- }
61
+ &.First:after {
62
+ height: 50%;
63
+ top: 50%;
77
64
  }
78
65
 
79
- .Timeline-body {
80
- position: relative;
81
- min-width: 0;
82
- max-width: 100%;
83
-
84
- padding: 0;
85
- margin: 0 0 0 1.4rem;
86
-
87
- .Card {
88
- border-top: 1px solid $Border-color;
89
-
90
- .Card-img {
91
- overflow: hidden;
92
- margin: .5rem;
93
- }
94
-
95
- &.Card-horizontal {
96
-
97
- .Card-img {
98
- padding: .25rem;
99
-
100
- @media (min-width: 1014px) {
101
- margin-right: 0 !important;
102
- }
103
- }
104
-
105
- }
106
-
107
- }
66
+ &.Last:after {
67
+ height: 50%;
68
+ top: 0;
108
69
  }
109
70
 
110
- &.Timeline-item-inverted {
111
- flex-direction: row-reverse;
71
+ .Timeline-badge {
72
+ width: 40px;
112
73
 
113
- .Timeline-body {
114
- margin: 0 1.4rem 0 0;
115
- }
74
+ z-index: 1001;
75
+
76
+ margin-right: 0.75rem;
77
+ margin-bottom: 0.75rem;
116
78
  }
117
- }
118
79
 
119
- @media (max-width: 767px) {
120
- .Timeline-item, .Timeline-item-inverted {
80
+ .Timeline-content {
121
81
  width: 100%;
122
- padding-right: .25rem;
123
- padding-left: .25rem;
124
-
125
- &:not(:last-child):after {
126
- left: 1.2rem;
127
- }
82
+ margin-left: auto;
128
83
  }
129
84
  }
130
85
  }
@@ -1,85 +1,45 @@
1
1
  // ===========================================================================
2
- // Components - Timeline
2
+ // Components - Timer
3
3
  // TS: Theme Support
4
4
  // ===========================================================================
5
5
 
6
6
  $Customized: false;
7
7
  @import "../_color-scheme";
8
8
 
9
+ //noinspection CssInvalidHtmlTagReference
9
10
  .Timer {
10
11
  display: flex;
11
12
  position: relative;
12
13
  overflow: hidden;
13
- flex-wrap: wrap;
14
+ //flex-wrap: wrap;
14
15
 
15
- color: $Fg-surface;
16
+ color: $Bg-accent;
16
17
  background-color: $Bg-surface;
17
18
 
18
19
  border: $Border;
19
20
  box-shadow: $Shadow;
20
21
 
21
- min-height: 110px;
22
- padding: 5px 10px;
23
22
  margin-bottom: 10px;
24
23
 
25
- .Timer-header {
26
- flex-basis: 100%;
27
- margin: 0 0 5px;
28
- font-weight: bold;
29
-
30
- border-bottom: $Border;
31
- }
32
-
33
- .Timer-expired {
24
+ TimerItem, .Square, .Timer-item {
25
+ position: relative;
34
26
  display: flex;
35
- flex-basis: 100%;
36
- font-weight: bold;
37
- color: $Fg-surface;
38
-
39
- align-items: center;
40
- justify-content: center;
27
+ //flex: 1 0 auto;
28
+ flex: auto;
41
29
  }
42
30
 
43
- .Square {
44
- font-family: inherit;
45
- font-size: inherit;
46
- font-weight: inherit;
31
+ TimerDivider, .Timer-divider {
32
+ position: relative;
33
+ display: flex;
34
+ //flex: 1 0 auto;
47
35
 
48
- border: $Border;
49
- }
36
+ width: 10%;
50
37
 
51
- .Timer-divider:not(.Timer-canvas .Timer-divider) {
52
38
  margin-top: auto;
53
39
  margin-bottom: auto;
54
- }
55
-
56
- .Timer-divider {
57
- position: relative;
58
- width: 8%;
59
- margin: 2px -2px;
60
-
61
- span, div {
62
- position: absolute;
63
- display: flex;
64
- align-items: center;
65
- justify-content: center;
66
- left: 0;
67
- right: 0;
68
- bottom: 0;
69
- top: 0;
70
- }
71
- }
72
- }
73
40
 
74
- .Timer-svg {
75
- @extend .Loader;
76
-
77
- svg {
78
- .circle {
79
- &:first-of-type {
80
- stroke-dasharray: none !important;
81
- }
41
+ @media (max-width: 767px) {
42
+ width: 20%;
82
43
  }
83
44
  }
84
-
85
45
  }
@@ -107,12 +107,19 @@ $Lime: hsl(120, 100%, 50%) !default;
107
107
  }
108
108
 
109
109
  rect[fill="white"] {
110
- width: 80%;
111
- height: 80%;
112
-
110
+ width: 85%;
111
+ height: 85%;
113
112
  cy: 18;
114
- x: 10%;
115
- y: 10%;
113
+ x: 7.5%;
114
+ y: 7.5%;
115
+
116
+ rx: 0;
117
+ ry: 0;
118
+
119
+ &.Round {
120
+ rx: 8;
121
+ ry: 8;
122
+ }
116
123
  }
117
124
  }
118
125
 
@@ -146,12 +153,19 @@ $Lime: hsl(120, 100%, 50%) !default;
146
153
  }
147
154
 
148
155
  rect {
149
- width: 80%;
150
- height: 80%;
151
-
156
+ width: 85%;
157
+ height: 85%;
152
158
  cy: 18;
153
- x: 10%;
154
- y: 10%;
159
+ x: 7.5%;
160
+ y: 7.5%;
161
+
162
+ rx: 0;
163
+ ry: 0;
164
+
165
+ &.Round {
166
+ rx: 8;
167
+ ry: 8;
168
+ }
155
169
  }
156
170
  }
157
171
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  .Rect {
25
25
  position: relative;
26
- display: block;
26
+ display: flex;
27
27
  flex: 1 0 auto;
28
28
 
29
29
  &:before {
@@ -35,7 +35,7 @@
35
35
 
36
36
  .Sqr, .Circle {
37
37
  position: relative;
38
- display: inline-block;
38
+ display: flex;
39
39
  overflow: hidden;
40
40
 
41
41
  width: 100%;
@@ -60,7 +60,7 @@
60
60
 
61
61
  transform: rotate(45deg);
62
62
 
63
- .Content {
63
+ .Content, .Square-inner {
64
64
  transform: rotate(-45deg);
65
65
  }
66
66
  }
@@ -70,23 +70,23 @@
70
70
  */
71
71
 
72
72
  .Skew-20 {
73
- margin-left: 30px;
74
- margin-right: 30px;
73
+ //margin-left: 30px;
74
+ //margin-right: 30px;
75
75
 
76
76
  transform: skew(20deg);
77
77
 
78
- .Content {
78
+ .Content, .Square-inner {
79
79
  transform: skew(-20deg);
80
80
  }
81
81
  }
82
82
 
83
83
  .Skew-20n {
84
- margin-left: 30px;
85
- margin-right: 30px;
84
+ //margin-left: 30px;
85
+ //margin-right: 30px;
86
86
 
87
87
  transform: skew(-20deg);
88
88
 
89
- .Content {
89
+ .Content, .Square-inner {
90
90
  transform: skew(20deg);
91
91
  }
92
92
  }
@@ -18,19 +18,19 @@ $utilities-Border: (
18
18
  ),
19
19
  // Border Directions
20
20
  "Border-top": (
21
- Prefix: Border-t, Properties: border-top, Important: true,
21
+ Prefix: Border-top, Properties: border-top, Important: true,
22
22
  Values: (null: $Border-width solid $Border-color, 0: 0),
23
23
  ),
24
24
  "Border-right": (
25
- Prefix: Border-r, Properties: border-right, Important: true,
25
+ Prefix: Border-end, Properties: border-right, Important: true,
26
26
  Values: (null: $Border-width solid $Border-color, 0: 0),
27
27
  ),
28
28
  "Border-bottom": (
29
- Prefix: Border-b, Properties: border-bottom, Important: true,
29
+ Prefix: Border-bottom, Properties: border-bottom, Important: true,
30
30
  Values: (null: $Border-width solid $Border-color, 0: 0),
31
31
  ),
32
32
  "Border-left": (
33
- Prefix: Border-l, Properties: border-left, Important: true,
33
+ Prefix: Border-start, Properties: border-left, Important: true,
34
34
  Values: (null: $Border-width solid $Border-color, 0: 0),
35
35
  ),
36
36
  // Border-width
@@ -48,35 +48,35 @@ $utilities-Border: (
48
48
  ),
49
49
  // Rounded Directions
50
50
  "Rounded-top": (
51
- Prefix: Rounded-t, Properties: border-top-left-radius border-top-right-radius, Important: false,
51
+ Prefix: Rounded-top, Properties: border-top-left-radius border-top-right-radius, Important: false,
52
52
  Values: (null: #{var(--#{$var-Prefix}border-radius, $Rounded)}),
53
53
  ),
54
54
  "Rounded-top-0": (
55
- Prefix: Rounded-t, Properties: border-top-left-radius border-top-right-radius, Important: true,
55
+ Prefix: Rounded-top, Properties: border-top-left-radius border-top-right-radius, Important: true,
56
56
  Values: (0: 0),
57
57
  ),
58
58
  "Rounded-right": (
59
- Prefix: Rounded-r, Properties: border-top-right-radius border-bottom-right-radius, Important: false,
59
+ Prefix: Rounded-end, Properties: border-top-right-radius border-bottom-right-radius, Important: false,
60
60
  Values: (null: #{var(--#{$var-Prefix}border-radius, $Rounded)}),
61
61
  ),
62
62
  "Rounded-right-0": (
63
- Prefix: Rounded-r, Properties: border-top-right-radius border-bottom-right-radius, Important: true,
63
+ Prefix: Rounded-end, Properties: border-top-right-radius border-bottom-right-radius, Important: true,
64
64
  Values: (0: 0),
65
65
  ),
66
66
  "Rounded-bottom": (
67
- Prefix: Rounded-b, Properties: border-bottom-right-radius border-bottom-left-radius, Important: false,
67
+ Prefix: Rounded-bottom, Properties: border-bottom-right-radius border-bottom-left-radius, Important: false,
68
68
  Values: (null: #{var(--#{$var-Prefix}border-radius, $Rounded)}),
69
69
  ),
70
70
  "Rounded-bottom-0": (
71
- Prefix: Rounded-b, Properties: border-bottom-right-radius border-bottom-left-radius, Important: true,
71
+ Prefix: Rounded-bottom, Properties: border-bottom-right-radius border-bottom-left-radius, Important: true,
72
72
  Values: (0: 0),
73
73
  ),
74
74
  "Rounded-left": (
75
- Prefix: Rounded-l, Properties: border-bottom-left-radius border-top-left-radius, Important: false,
75
+ Prefix: Rounded-start, Properties: border-bottom-left-radius border-top-left-radius, Important: false,
76
76
  Values: (null: #{var(--#{$var-Prefix}border-radius, $Rounded)}),
77
77
  ),
78
78
  "Rounded-left-0": (
79
- Prefix: Rounded-l, Properties: border-bottom-left-radius border-top-left-radius, Important: true,
79
+ Prefix: Rounded-start, Properties: border-bottom-left-radius border-top-left-radius, Important: true,
80
80
  Values: (0: 0),
81
81
  ),
82
82
  // Subtractive 1 Side
@@ -110,7 +110,7 @@ $utilities: (
110
110
  /*
111
111
  // Sizing Width, Height
112
112
  */
113
- "Width": (Prefix: W, Properties: width, Important: true, Values: $sizes-percents,),
113
+ "Width": (Prefix: W, Properties: width, Important: true, Values: $sizes-percents, Responsive: true,),
114
114
  "Max-Width": (Prefix: MW, Properties: max-width, Important: true, Values: (100: 100%)),
115
115
  "viewport-Width": (Prefix: VW, Properties: width, Important: true, Values: (100: 100vw)),
116
116
  "Height": (Prefix: H, Properties: height, Important: true, Values: $sizes-percents,),
package/scss/_header.scss CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /*!
3
- * CSS Compiled on: 2022-03-01
3
+ * CSS Compiled on: 2022-04-02
4
4
  *
5
- * Lootstrap v22.3.2-beta.0 (https://github.com/krsln/Lootstrap/)
5
+ * Lootstrap v22.4.2-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
  */