@oardi/css-utils 0.64.1 → 0.65.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
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
--table-active-bg-color: var(--bg-active);
|
|
24
24
|
--table-active-color: var(--table-color);
|
|
25
25
|
|
|
26
|
+
--table-row-state-accent-width: 0.25rem;
|
|
27
|
+
|
|
28
|
+
--table-row-invalid-bg-color: rgba(var(--error-rgb), 0.08);
|
|
29
|
+
--table-row-invalid-hover-bg-color: rgba(var(--error-rgb), 0.12);
|
|
30
|
+
--table-row-invalid-border-color: rgba(var(--error-rgb), 0.35);
|
|
31
|
+
--table-row-invalid-accent-color: var(--error);
|
|
32
|
+
|
|
33
|
+
--table-row-warning-bg-color: rgba(var(--warning-rgb), 0.1);
|
|
34
|
+
--table-row-warning-hover-bg-color: rgba(var(--warning-rgb), 0.14);
|
|
35
|
+
--table-row-warning-border-color: rgba(var(--warning-rgb), 0.35);
|
|
36
|
+
--table-row-warning-accent-color: var(--warning);
|
|
37
|
+
|
|
26
38
|
width: 100%;
|
|
27
39
|
margin-bottom: var(--table-margin-bottom);
|
|
28
40
|
color: var(--table-color);
|
|
@@ -89,4 +101,30 @@
|
|
|
89
101
|
overflow-x: auto;
|
|
90
102
|
-webkit-overflow-scrolling: touch;
|
|
91
103
|
}
|
|
104
|
+
|
|
105
|
+
.table > tbody > tr.is-invalid > * {
|
|
106
|
+
background-color: var(--table-row-invalid-bg-color);
|
|
107
|
+
border-bottom-color: var(--table-row-invalid-border-color);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.table.table-hover > tbody > tr.is-invalid:hover > * {
|
|
111
|
+
background-color: var(--table-row-invalid-hover-bg-color);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.table > tbody > tr.is-invalid > :first-child {
|
|
115
|
+
box-shadow: inset var(--table-row-state-accent-width) 0 0 var(--table-row-invalid-accent-color);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.table > tbody > tr.is-warning > * {
|
|
119
|
+
background-color: var(--table-row-warning-bg-color);
|
|
120
|
+
border-bottom-color: var(--table-row-warning-border-color);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.table.table-hover > tbody > tr.is-warning:hover > * {
|
|
124
|
+
background-color: var(--table-row-warning-hover-bg-color);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.table > tbody > tr.is-warning > :first-child {
|
|
128
|
+
box-shadow: inset var(--table-row-state-accent-width) 0 0 var(--table-row-warning-accent-color);
|
|
129
|
+
}
|
|
92
130
|
}
|
|
@@ -73,4 +73,42 @@
|
|
|
73
73
|
background-color: var(--timeline-dot-color);
|
|
74
74
|
box-shadow: 0 0 0 var(--timeline-dot-ring-size) var(--timeline-dot-ring-color);
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
.timeline {
|
|
78
|
+
counter-reset: timeline;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.timeline-item {
|
|
82
|
+
counter-increment: timeline;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.timeline-numbered {
|
|
86
|
+
--timeline-dot-size: 1.75rem;
|
|
87
|
+
--timeline-dot-color: var(--bg-surface);
|
|
88
|
+
--timeline-dot-active-color: var(--primary);
|
|
89
|
+
--timeline-dot-number-color: var(--text-muted);
|
|
90
|
+
--timeline-dot-active-number-color: var(--on-primary);
|
|
91
|
+
--timeline-dot-border-width: var(--border-width);
|
|
92
|
+
--timeline-dot-border-color: var(--border-color);
|
|
93
|
+
|
|
94
|
+
.timeline-dot {
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
color: var(--timeline-dot-number-color);
|
|
99
|
+
border: var(--timeline-dot-border-width) solid var(--timeline-dot-border-color);
|
|
100
|
+
font-size: var(--font-size-xs);
|
|
101
|
+
// font-weight: 600;
|
|
102
|
+
|
|
103
|
+
&::before {
|
|
104
|
+
content: counter(timeline);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.timeline-item.is-active {
|
|
109
|
+
--timeline-dot-color: var(--timeline-dot-active-color);
|
|
110
|
+
--timeline-dot-border-color: var(--timeline-dot-active-color);
|
|
111
|
+
--timeline-dot-number-color: var(--timeline-dot-active-number-color);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
76
114
|
}
|