otimus-library 0.3.72 → 0.3.73

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,98 +1,98 @@
1
- @use '../../variables.scss';
2
-
3
- .oc.table {
4
- width: 100%;
5
- border-collapse: collapse;
6
- margin: 20px 0;
7
- font-size: 1em;
8
- font-family: 'Arial', sans-serif;
9
-
10
- thead {
11
- min-height: 50px;
12
- height: 50px;
13
- }
14
-
15
- tr {
16
- background-color: white;
17
- transition: 0.1s ease;
18
- // border: 1px solid variables.$color-gray-6;
19
- border-top: 0;
20
- border-bottom: 0;
21
- }
22
-
23
- &.refreshing tr {
24
- opacity: 0.3 !important;
25
- animation: refreshing 1.3s ease-in-out infinite;
26
- animation-fill-mode: both;
27
- }
28
-
29
- @for $i from 1 through 10 {
30
- &.refreshing tr:nth-child(#{$i}) {
31
- animation-delay: #{($i - 1) * 0.2}s;
32
- }
33
- }
34
- }
35
-
36
- .oc.table th,
37
- .oc.table td {
38
- padding: 13px 15px;
39
- text-align: left;
40
- }
41
-
42
- .oc.table th {
43
- background-color: variables.$color-gray-6;
44
- color: variables.$color-brand-p-1;
45
- font-weight: 600;
46
- }
47
-
48
- .oc.table.striped tr:nth-child(even) {
49
- background-color: rgba(variables.$color-gray-6, 0.5);
50
- }
51
-
52
- .oc.table td {
53
- border-bottom: 1px solid variables.$color-gray-5;
54
- }
55
-
56
- .oc.table th:first-child,
57
- .oc.table td:first-child {
58
- border-top-left-radius: 10px;
59
- }
60
-
61
- .oc.table th:last-child,
62
- .oc.table td:last-child {
63
- border-top-right-radius: 10px;
64
- }
65
-
66
- .oc.table th:first-child,
67
- .oc.table td:first-child {
68
- border-bottom-left-radius: 10px;
69
- }
70
-
71
- .oc.table th:last-child,
72
- .oc.table td:last-child {
73
- border-bottom-right-radius: 10px;
74
- }
75
-
76
- .oc.table tr:hover {
77
- background-color: #f5f5f5 !important;
78
- }
79
-
80
- .button-row {
81
- display: flex;
82
- justify-content: flex-end;
83
- gap: 0.75rem;
84
- }
85
-
86
- @keyframes refreshing {
87
- 0% {
88
- opacity: 0.3;
89
- }
90
- 50% {
91
- opacity: 0.5;
92
- }
93
- 100% {
94
- opacity: 0.3;
95
- }
96
- }
97
-
98
- @import './table.shui.scss';
1
+ @use '../../variables.scss';
2
+
3
+ .oc.table {
4
+ width: 100%;
5
+ border-collapse: collapse;
6
+ margin: 20px 0;
7
+ font-size: 1em;
8
+ font-family: 'Arial', sans-serif;
9
+
10
+ thead {
11
+ min-height: 50px;
12
+ height: 50px;
13
+ }
14
+
15
+ tr {
16
+ background-color: white;
17
+ transition: 0.1s ease;
18
+ // border: 1px solid variables.$color-gray-6;
19
+ border-top: 0;
20
+ border-bottom: 0;
21
+ }
22
+
23
+ &.refreshing tr {
24
+ opacity: 0.3 !important;
25
+ animation: refreshing 1.3s ease-in-out infinite;
26
+ animation-fill-mode: both;
27
+ }
28
+
29
+ @for $i from 1 through 10 {
30
+ &.refreshing tr:nth-child(#{$i}) {
31
+ animation-delay: #{($i - 1) * 0.2}s;
32
+ }
33
+ }
34
+ }
35
+
36
+ .oc.table th,
37
+ .oc.table td {
38
+ padding: 13px 15px;
39
+ text-align: left;
40
+ }
41
+
42
+ .oc.table th {
43
+ background-color: variables.$color-gray-6;
44
+ color: variables.$color-brand-p-1;
45
+ font-weight: 600;
46
+ }
47
+
48
+ .oc.table.striped tr:nth-child(even) {
49
+ background-color: rgba(variables.$color-gray-6, 0.5);
50
+ }
51
+
52
+ .oc.table td {
53
+ border-bottom: 1px solid variables.$color-gray-5;
54
+ }
55
+
56
+ .oc.table th:first-child,
57
+ .oc.table td:first-child {
58
+ border-top-left-radius: 10px;
59
+ }
60
+
61
+ .oc.table th:last-child,
62
+ .oc.table td:last-child {
63
+ border-top-right-radius: 10px;
64
+ }
65
+
66
+ .oc.table th:first-child,
67
+ .oc.table td:first-child {
68
+ border-bottom-left-radius: 10px;
69
+ }
70
+
71
+ .oc.table th:last-child,
72
+ .oc.table td:last-child {
73
+ border-bottom-right-radius: 10px;
74
+ }
75
+
76
+ .oc.table tr:hover {
77
+ background-color: #f5f5f5 !important;
78
+ }
79
+
80
+ .button-row {
81
+ display: flex;
82
+ justify-content: flex-end;
83
+ gap: 0.75rem;
84
+ }
85
+
86
+ @keyframes refreshing {
87
+ 0% {
88
+ opacity: 0.3;
89
+ }
90
+ 50% {
91
+ opacity: 0.5;
92
+ }
93
+ 100% {
94
+ opacity: 0.3;
95
+ }
96
+ }
97
+
98
+ @import './table.shui.scss';
@@ -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
  }