otimus-library 0.3.47 → 0.3.49

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.
@@ -1,50 +1,50 @@
1
- @use '../../variables.scss';
2
-
3
- .shui .oc.table,
4
- .shui.oc.table {
5
- width: 100%;
6
- border-collapse: collapse;
7
- margin: 20px 0;
8
- font-size: 1em;
9
- font-family: 'Arial', sans-serif;
10
-
11
- thead {
12
- min-height: 50px;
13
- height: 50px;
14
- }
15
-
16
- tr {
17
- background-color: white;
18
- transition: 0.1s ease;
19
- border: none;
20
- border-top: 0;
21
- border-bottom: 0;
22
-
23
- &:hover {
24
- background-color: rgba(#f5f5f5, 0.3) !important;
25
- }
26
- }
27
-
28
- th,
29
- td {
30
- padding: 15px;
31
- text-align: left;
32
- }
33
-
34
- th {
35
- background-color: transparent;
36
- border-bottom: 1px solid rgba(variables.$color-shui-ui-5, 0.75);
37
- color: variables.$color-shui-ui-1;
38
- font-weight: 600;
39
- padding: 12px 15px;
40
- }
41
-
42
- td {
43
- border-bottom: 1px solid rgba(variables.$color-shui-ui-6, 0.5);
44
- font-size: 0.9rem;
45
- }
46
-
47
- &.striped tr:nth-child(even) {
48
- background-color: white;
49
- }
50
- }
1
+ @use '../../variables.scss';
2
+
3
+ .shui .oc.table,
4
+ .shui.oc.table {
5
+ width: 100%;
6
+ border-collapse: collapse;
7
+ margin: 20px 0;
8
+ font-size: 1em;
9
+ font-family: 'Arial', sans-serif;
10
+
11
+ thead {
12
+ min-height: 50px;
13
+ height: 50px;
14
+ }
15
+
16
+ tr {
17
+ background-color: white;
18
+ transition: 0.1s ease;
19
+ border: none;
20
+ border-top: 0;
21
+ border-bottom: 0;
22
+
23
+ &:hover {
24
+ background-color: rgba(#f5f5f5, 0.3) !important;
25
+ }
26
+ }
27
+
28
+ th,
29
+ td {
30
+ padding: 15px;
31
+ text-align: left;
32
+ }
33
+
34
+ th {
35
+ background-color: transparent;
36
+ border-bottom: 1px solid rgba(variables.$color-shui-ui-5, 0.75);
37
+ color: variables.$color-shui-ui-1;
38
+ font-weight: 600;
39
+ padding: 12px 15px;
40
+ }
41
+
42
+ td {
43
+ border-bottom: 1px solid rgba(variables.$color-shui-ui-6, 0.5);
44
+ font-size: 0.9rem;
45
+ }
46
+
47
+ &.striped tr:nth-child(even) {
48
+ background-color: white;
49
+ }
50
+ }
@@ -1,27 +1,27 @@
1
- .oc-tooltip {
2
- margin: 0;
3
- position: absolute;
4
- padding: 0.35rem 0.7rem;
5
- font-size: 0.9rem;
6
- font-weight: 500;
7
- background-color: #F8F9FF;
8
- border: 1px solid white;
9
- border-radius: 0.75rem;
10
- box-shadow: 0px 3px 6.5px 0px rgba(0, 0, 0, 0.20);
11
- transition: 0.15s ease;
12
- max-width: 400px;
13
- z-index: 1000;
14
- pointer-events: none;
15
- animation: show-up 0.15s ease;
16
- &.mouse-tracking {
17
- border-top-left-radius: 0;
18
- }
19
- }
20
-
21
- @keyframes show-up {
22
- from {
23
- opacity: 0;
24
- } to {
25
- opacity: 1;
26
- }
1
+ .oc-tooltip {
2
+ margin: 0;
3
+ position: absolute;
4
+ padding: 0.35rem 0.7rem;
5
+ font-size: 0.9rem;
6
+ font-weight: 500;
7
+ background-color: #F8F9FF;
8
+ border: 1px solid white;
9
+ border-radius: 0.75rem;
10
+ box-shadow: 0px 3px 6.5px 0px rgba(0, 0, 0, 0.20);
11
+ transition: 0.15s ease;
12
+ max-width: 400px;
13
+ z-index: 1000;
14
+ pointer-events: none;
15
+ animation: show-up 0.15s ease;
16
+ &.mouse-tracking {
17
+ border-top-left-radius: 0;
18
+ }
19
+ }
20
+
21
+ @keyframes show-up {
22
+ from {
23
+ opacity: 0;
24
+ } to {
25
+ opacity: 1;
26
+ }
27
27
  }
package/styles/fonts.scss CHANGED
@@ -1,179 +1,179 @@
1
- // Font Classes - General Use
2
-
3
- .oc {
4
- // Font Weights
5
- &.thin {
6
- font-weight: 100;
7
- }
8
- &.extralight {
9
- font-weight: 200;
10
- }
11
- &.light {
12
- font-weight: 300;
13
- }
14
- &.normal {
15
- font-weight: 400;
16
- }
17
- &.medium {
18
- font-weight: 500;
19
- }
20
- &.semibold {
21
- font-weight: 600;
22
- }
23
- &.bold {
24
- font-weight: 700;
25
- }
26
- &.extrabold {
27
- font-weight: 800;
28
- }
29
- &.black {
30
- font-weight: 900;
31
- }
32
-
33
- // Font Styles
34
- &.italic {
35
- font-style: italic;
36
- }
37
- &.not-italic {
38
- font-style: normal;
39
- }
40
-
41
- // Font Sizes
42
- &.xs {
43
- font-size: 0.75rem;
44
- } // 12px
45
- &.sm {
46
- font-size: 0.875rem;
47
- } // 14px
48
- &.base {
49
- font-size: 1rem;
50
- } // 16px
51
- &.lg {
52
- font-size: 1.125rem;
53
- } // 18px
54
- &.xl {
55
- font-size: 1.25rem;
56
- } // 20px
57
- &.xl2 {
58
- font-size: 1.5rem;
59
- } // 24px
60
- &.xl3 {
61
- font-size: 1.875rem;
62
- } // 30px
63
- &.xl4 {
64
- font-size: 2.25rem;
65
- } // 36px
66
- &.xl5 {
67
- font-size: 3rem;
68
- } // 48px
69
- &.xl6 {
70
- font-size: 3.75rem;
71
- } // 60px
72
- &.xl7 {
73
- font-size: 4.5rem;
74
- } // 72px
75
- &.xl8 {
76
- font-size: 6rem;
77
- } // 96px
78
- &.xl9 {
79
- font-size: 8rem;
80
- } // 128px
81
- &.xl10 {
82
- font-size: 10rem;
83
- } // 160px
84
- &.xl11 {
85
- font-size: 12rem;
86
- } // 192px
87
- &.xl12 {
88
- font-size: 14rem;
89
- } // 224px
90
- }
91
-
92
- // Responsive font sizes
93
- @media (max-width: 640px) {
94
- .oc {
95
- &.xs-responsive {
96
- font-size: 0.75rem;
97
- }
98
- &.sm-responsive {
99
- font-size: 0.875rem;
100
- }
101
- &.base-responsive {
102
- font-size: 1rem;
103
- }
104
- &.lg-responsive {
105
- font-size: 1.125rem;
106
- }
107
- &.xl-responsive {
108
- font-size: 1.25rem;
109
- }
110
- &.xl2-responsive {
111
- font-size: 1.375rem;
112
- }
113
- &.xl3-responsive {
114
- font-size: 1.5rem;
115
- }
116
- &.xl4-responsive {
117
- font-size: 1.75rem;
118
- }
119
- }
120
- }
121
-
122
- @media (min-width: 641px) {
123
- .oc {
124
- &.xs-responsive {
125
- font-size: 0.75rem;
126
- }
127
- &.sm-responsive {
128
- font-size: 0.875rem;
129
- }
130
- &.base-responsive {
131
- font-size: 1rem;
132
- }
133
- &.lg-responsive {
134
- font-size: 1.125rem;
135
- }
136
- &.xl-responsive {
137
- font-size: 1.25rem;
138
- }
139
- &.xl2-responsive {
140
- font-size: 1.5rem;
141
- }
142
- &.xl3-responsive {
143
- font-size: 1.875rem;
144
- }
145
- &.xl4-responsive {
146
- font-size: 2.25rem;
147
- }
148
- }
149
- }
150
-
151
- @media (min-width: 1024px) {
152
- .oc {
153
- &.xs-responsive {
154
- font-size: 0.75rem;
155
- }
156
- &.sm-responsive {
157
- font-size: 0.875rem;
158
- }
159
- &.base-responsive {
160
- font-size: 1rem;
161
- }
162
- &.lg-responsive {
163
- font-size: 1.125rem;
164
- }
165
- &.xl-responsive {
166
- font-size: 1.25rem;
167
- }
168
- &.xl2-responsive {
169
- font-size: 1.5rem;
170
- }
171
- &.xl3-responsive {
172
- font-size: 1.875rem;
173
- }
174
- &.xl4-responsive {
175
- font-size: 2.25rem;
176
- }
177
- }
178
- }
1
+ // Font Classes - General Use
2
+
3
+ .oc {
4
+ // Font Weights
5
+ &.thin {
6
+ font-weight: 100;
7
+ }
8
+ &.extralight {
9
+ font-weight: 200;
10
+ }
11
+ &.light {
12
+ font-weight: 300;
13
+ }
14
+ &.normal {
15
+ font-weight: 400;
16
+ }
17
+ &.medium {
18
+ font-weight: 500;
19
+ }
20
+ &.semibold {
21
+ font-weight: 600;
22
+ }
23
+ &.bold {
24
+ font-weight: 700;
25
+ }
26
+ &.extrabold {
27
+ font-weight: 800;
28
+ }
29
+ &.black {
30
+ font-weight: 900;
31
+ }
32
+
33
+ // Font Styles
34
+ &.italic {
35
+ font-style: italic;
36
+ }
37
+ &.not-italic {
38
+ font-style: normal;
39
+ }
40
+
41
+ // Font Sizes
42
+ &.xs {
43
+ font-size: 0.75rem;
44
+ } // 12px
45
+ &.sm {
46
+ font-size: 0.875rem;
47
+ } // 14px
48
+ &.base {
49
+ font-size: 1rem;
50
+ } // 16px
51
+ &.lg {
52
+ font-size: 1.125rem;
53
+ } // 18px
54
+ &.xl {
55
+ font-size: 1.25rem;
56
+ } // 20px
57
+ &.xl2 {
58
+ font-size: 1.5rem;
59
+ } // 24px
60
+ &.xl3 {
61
+ font-size: 1.875rem;
62
+ } // 30px
63
+ &.xl4 {
64
+ font-size: 2.25rem;
65
+ } // 36px
66
+ &.xl5 {
67
+ font-size: 3rem;
68
+ } // 48px
69
+ &.xl6 {
70
+ font-size: 3.75rem;
71
+ } // 60px
72
+ &.xl7 {
73
+ font-size: 4.5rem;
74
+ } // 72px
75
+ &.xl8 {
76
+ font-size: 6rem;
77
+ } // 96px
78
+ &.xl9 {
79
+ font-size: 8rem;
80
+ } // 128px
81
+ &.xl10 {
82
+ font-size: 10rem;
83
+ } // 160px
84
+ &.xl11 {
85
+ font-size: 12rem;
86
+ } // 192px
87
+ &.xl12 {
88
+ font-size: 14rem;
89
+ } // 224px
90
+ }
91
+
92
+ // Responsive font sizes
93
+ @media (max-width: 640px) {
94
+ .oc {
95
+ &.xs-responsive {
96
+ font-size: 0.75rem;
97
+ }
98
+ &.sm-responsive {
99
+ font-size: 0.875rem;
100
+ }
101
+ &.base-responsive {
102
+ font-size: 1rem;
103
+ }
104
+ &.lg-responsive {
105
+ font-size: 1.125rem;
106
+ }
107
+ &.xl-responsive {
108
+ font-size: 1.25rem;
109
+ }
110
+ &.xl2-responsive {
111
+ font-size: 1.375rem;
112
+ }
113
+ &.xl3-responsive {
114
+ font-size: 1.5rem;
115
+ }
116
+ &.xl4-responsive {
117
+ font-size: 1.75rem;
118
+ }
119
+ }
120
+ }
121
+
122
+ @media (min-width: 641px) {
123
+ .oc {
124
+ &.xs-responsive {
125
+ font-size: 0.75rem;
126
+ }
127
+ &.sm-responsive {
128
+ font-size: 0.875rem;
129
+ }
130
+ &.base-responsive {
131
+ font-size: 1rem;
132
+ }
133
+ &.lg-responsive {
134
+ font-size: 1.125rem;
135
+ }
136
+ &.xl-responsive {
137
+ font-size: 1.25rem;
138
+ }
139
+ &.xl2-responsive {
140
+ font-size: 1.5rem;
141
+ }
142
+ &.xl3-responsive {
143
+ font-size: 1.875rem;
144
+ }
145
+ &.xl4-responsive {
146
+ font-size: 2.25rem;
147
+ }
148
+ }
149
+ }
150
+
151
+ @media (min-width: 1024px) {
152
+ .oc {
153
+ &.xs-responsive {
154
+ font-size: 0.75rem;
155
+ }
156
+ &.sm-responsive {
157
+ font-size: 0.875rem;
158
+ }
159
+ &.base-responsive {
160
+ font-size: 1rem;
161
+ }
162
+ &.lg-responsive {
163
+ font-size: 1.125rem;
164
+ }
165
+ &.xl-responsive {
166
+ font-size: 1.25rem;
167
+ }
168
+ &.xl2-responsive {
169
+ font-size: 1.5rem;
170
+ }
171
+ &.xl3-responsive {
172
+ font-size: 1.875rem;
173
+ }
174
+ &.xl4-responsive {
175
+ font-size: 2.25rem;
176
+ }
177
+ }
178
+ }
179
179