@einfach-excel/spreadsheet-ui-styles 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +37 -2
- package/features/comment-thread.css +169 -0
- package/features/comment-thread.css.d.ts +2 -0
- package/features/conditional-format-dialog.css +254 -0
- package/features/conditional-format-dialog.css.d.ts +7 -0
- package/features/conditional-format-fields.css +10 -0
- package/features/conditional-format-fields.css.d.ts +2 -0
- package/features/data-validation-dialog.css +197 -0
- package/features/data-validation-dialog.css.d.ts +7 -0
- package/features/filter-dropdown.css +177 -0
- package/features/filter-dropdown.css.d.ts +2 -0
- package/features/find-replace-actions.css +13 -0
- package/features/find-replace-actions.css.d.ts +2 -0
- package/features/find-replace-dialog.css +147 -0
- package/features/find-replace-dialog.css.d.ts +2 -0
- package/features/find-replace-status-messages.css +19 -0
- package/features/find-replace-status-messages.css.d.ts +2 -0
- package/features/format-cells-dialog.css +296 -0
- package/features/format-cells-dialog.css.d.ts +2 -0
- package/features/format-cells-panels.css +154 -0
- package/features/format-cells-panels.css.d.ts +2 -0
- package/features/go-to-dialog.css +205 -0
- package/features/go-to-dialog.css.d.ts +2 -0
- package/features/menu-help-dialog.css +82 -0
- package/features/name-manager-dialog.css +276 -0
- package/features/number-format-dialog.css +147 -0
- package/features/number-format-dialog.css.d.ts +2 -0
- package/features/page-setup-dialog.css +167 -0
- package/features/page-setup-dialog.css.d.ts +3 -0
- package/features/paste-special-dialog.css +126 -0
- package/features/paste-special-dialog.css.d.ts +7 -0
- package/features/print-preview-dialog.css +197 -0
- package/features/print-preview-dialog.css.d.ts +3 -0
- package/features/protection-unlock-dialog.css +127 -0
- package/features/remove-duplicates-dialog.css +165 -0
- package/features/remove-duplicates-dialog.css.d.ts +7 -0
- package/features/sheet-tab-delete-dialog.css +64 -0
- package/features/sheet-tab-delete-dialog.css.d.ts +3 -0
- package/features/sort-confirmation-dialog.css +157 -0
- package/features/sort-confirmation-dialog.css.d.ts +2 -0
- package/features/text-to-columns-dialog.css +246 -0
- package/features/text-to-columns-dialog.css.d.ts +2 -0
- package/features/toolbar-shell.css +46 -0
- package/features/toolbar-shell.css.d.ts +2 -0
- package/package.json +40 -3
- package/styles/button-states.css +45 -0
- package/styles/chrome-tokens.css +124 -0
- package/styles/demo-header.css +23 -0
- package/styles/demo-two-column.css +115 -0
- package/styles/diagnostics.css +127 -0
- package/styles/dialog-skin.css +143 -0
- package/styles/formula-autocomplete.css +87 -0
- package/styles/formula-bar-row.css +51 -0
- package/styles/grid-cells.css +254 -0
- package/styles/grid-frame.css +268 -0
- package/styles/grid-headers.css +99 -0
- package/styles/grid-overlays.css +160 -0
- package/styles/help-overlay.css +67 -0
- package/styles/history-panel.css +127 -0
- package/styles/index.css +26 -0
- package/styles/locked-edit-feedback.css +45 -0
- package/styles/marching-ants.css +18 -0
- package/styles/menu-bar.css +97 -0
- package/styles/name-box.css +89 -0
- package/styles/presence-overlay.css +36 -0
- package/styles/shared-context-menu.css +50 -0
- package/styles/shared-format-toolbar.css +82 -0
- package/styles/shared-sheet-tabs.css +138 -0
- package/styles/sheet-tabs.css +98 -0
- package/styles/status-bar.css +161 -0
- package/styles/toolbar-popovers.css +278 -0
- package/styles/toolbar.css +213 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* Protection unlock owns this interior; dialog-skin.css owns the modal shell. */
|
|
2
|
+
|
|
3
|
+
.protection-unlock-dialog {
|
|
4
|
+
width: min(400px, calc(100vw - 32px));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.protection-unlock-dialog .protection-unlock-header {
|
|
8
|
+
position: relative;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.protection-unlock-dialog .protection-unlock-title {
|
|
13
|
+
color: var(--text-default);
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
user-select: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.protection-unlock-dialog .protection-unlock-body {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
gap: 12px;
|
|
23
|
+
padding: 16px;
|
|
24
|
+
background: var(--bg-surface);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.protection-unlock-dialog .protection-unlock-row {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 4px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.protection-unlock-dialog .protection-unlock-target {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
min-height: var(--control-h);
|
|
37
|
+
gap: 8px;
|
|
38
|
+
padding: 4px 8px;
|
|
39
|
+
border: 1px solid var(--border);
|
|
40
|
+
border-radius: var(--control-radius);
|
|
41
|
+
background: var(--bg-chrome-light);
|
|
42
|
+
color: var(--text-default);
|
|
43
|
+
overflow-wrap: anywhere;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.protection-unlock-dialog .protection-unlock-target::before {
|
|
47
|
+
color: var(--excel-green-text);
|
|
48
|
+
content: '🔒';
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
line-height: 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.protection-unlock-dialog .protection-unlock-label {
|
|
54
|
+
color: var(--text-muted);
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.protection-unlock-dialog .protection-unlock-input {
|
|
60
|
+
width: 100%;
|
|
61
|
+
padding: 0 8px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.protection-unlock-dialog .protection-unlock-input[aria-invalid='true'] {
|
|
65
|
+
border-color: var(--error-text);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.protection-unlock-dialog .protection-unlock-error {
|
|
69
|
+
padding: 8px 10px;
|
|
70
|
+
border: 1px solid var(--error-text);
|
|
71
|
+
border-radius: var(--control-radius);
|
|
72
|
+
background: var(--error-bg);
|
|
73
|
+
color: var(--error-text);
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.protection-unlock-dialog .protection-unlock-actions {
|
|
78
|
+
min-height: 48px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.protection-unlock-dialog .protection-unlock-btn {
|
|
82
|
+
min-width: 72px;
|
|
83
|
+
padding: 0 12px;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.protection-unlock-dialog .protection-unlock-btn:hover:not(:disabled) {
|
|
88
|
+
border-color: var(--border-strong);
|
|
89
|
+
background: var(--hover);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.protection-unlock-dialog .protection-unlock-btn-primary:hover:not(:disabled) {
|
|
93
|
+
border-color: var(--dialog-primary-hover);
|
|
94
|
+
background: var(--dialog-primary-hover);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.protection-unlock-dialog :is(.protection-unlock-input, .protection-unlock-btn):disabled {
|
|
98
|
+
border-color: var(--border);
|
|
99
|
+
background: var(--bg-chrome);
|
|
100
|
+
color: var(--text-disabled);
|
|
101
|
+
cursor: not-allowed;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.protection-unlock-dialog[data-phase='verifying'] .protection-unlock-btn-primary::before {
|
|
105
|
+
display: inline-block;
|
|
106
|
+
width: 10px;
|
|
107
|
+
height: 10px;
|
|
108
|
+
margin-right: 6px;
|
|
109
|
+
animation: protection-unlock-spin 800ms linear infinite;
|
|
110
|
+
border: 1px solid var(--text-disabled);
|
|
111
|
+
border-top-color: var(--office-blue);
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
content: '';
|
|
114
|
+
vertical-align: -1px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@keyframes protection-unlock-spin {
|
|
118
|
+
to {
|
|
119
|
+
transform: rotate(1turn);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (prefers-reduced-motion: reduce) {
|
|
124
|
+
.protection-unlock-dialog[data-phase='verifying'] .protection-unlock-btn-primary::before {
|
|
125
|
+
animation: none;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* Remove Duplicates owns its form layout; dialog-skin.css owns the modal chrome. */
|
|
2
|
+
|
|
3
|
+
.remove-duplicates-dialog {
|
|
4
|
+
width: 480px;
|
|
5
|
+
max-width: calc(100vw - 32px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.remove-duplicates-dialog .rd-header {
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.remove-duplicates-dialog .rd-title {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.remove-duplicates-dialog .rd-body {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 14px;
|
|
20
|
+
padding: 16px;
|
|
21
|
+
overflow: auto;
|
|
22
|
+
background: var(--bg-surface);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.remove-duplicates-dialog .rd-option,
|
|
26
|
+
.remove-duplicates-dialog .rd-checkbox,
|
|
27
|
+
.remove-duplicates-dialog .rd-radio {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 6px;
|
|
31
|
+
color: var(--text-default);
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.remove-duplicates-dialog :is(.rd-option, .rd-checkbox, .rd-radio):has(input:disabled) {
|
|
36
|
+
color: var(--text-disabled);
|
|
37
|
+
cursor: default;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.remove-duplicates-dialog :is(.rd-option, .rd-checkbox, .rd-radio) input {
|
|
41
|
+
accent-color: var(--excel-green);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.remove-duplicates-dialog .rd-fieldset {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: 8px;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0;
|
|
51
|
+
border: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.remove-duplicates-dialog .rd-legend {
|
|
55
|
+
padding: 0;
|
|
56
|
+
color: var(--text-default);
|
|
57
|
+
font-size: 13px;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.remove-duplicates-dialog .rd-columns-grid {
|
|
62
|
+
display: grid;
|
|
63
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
64
|
+
gap: 6px 12px;
|
|
65
|
+
max-height: 132px;
|
|
66
|
+
padding: 8px 10px;
|
|
67
|
+
overflow: auto;
|
|
68
|
+
border: 1px solid var(--border);
|
|
69
|
+
border-radius: var(--radius);
|
|
70
|
+
background: var(--bg-surface);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.remove-duplicates-dialog .rd-comparison-grid {
|
|
74
|
+
display: grid;
|
|
75
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
76
|
+
gap: 6px 12px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.remove-duplicates-dialog .rd-column-actions {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 12px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.remove-duplicates-dialog .rd-link-btn {
|
|
85
|
+
width: fit-content;
|
|
86
|
+
min-height: auto;
|
|
87
|
+
padding: 0;
|
|
88
|
+
border: 0;
|
|
89
|
+
background: transparent;
|
|
90
|
+
color: var(--office-blue-text);
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
font: inherit;
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
text-decoration: underline;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.remove-duplicates-dialog .rd-link-btn:hover:not(:disabled) {
|
|
98
|
+
color: var(--office-blue-text);
|
|
99
|
+
text-decoration-thickness: 2px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.remove-duplicates-dialog .rd-link-btn:disabled {
|
|
103
|
+
color: var(--text-disabled);
|
|
104
|
+
cursor: default;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.remove-duplicates-dialog .rd-preview {
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: minmax(0, 1fr);
|
|
110
|
+
gap: 4px;
|
|
111
|
+
padding: 10px 12px;
|
|
112
|
+
border: 1px solid var(--border);
|
|
113
|
+
border-radius: var(--radius);
|
|
114
|
+
background: var(--bg-chrome-light);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.remove-duplicates-dialog .rd-preview-label {
|
|
118
|
+
color: var(--text-muted);
|
|
119
|
+
font-size: 12px;
|
|
120
|
+
font-weight: 600;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.remove-duplicates-dialog .rd-preview-text {
|
|
124
|
+
color: var(--text-default);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.remove-duplicates-dialog[aria-busy='true'] .rd-preview {
|
|
128
|
+
border-color: var(--office-blue);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.remove-duplicates-dialog .rd-error {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: baseline;
|
|
134
|
+
gap: 8px;
|
|
135
|
+
padding: 8px 10px;
|
|
136
|
+
border: 1px solid var(--error-text);
|
|
137
|
+
border-radius: var(--radius);
|
|
138
|
+
background: var(--error-bg);
|
|
139
|
+
color: var(--error-text);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.remove-duplicates-dialog .rd-footer {
|
|
143
|
+
min-height: 48px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.remove-duplicates-dialog .rd-btn {
|
|
147
|
+
min-width: 72px;
|
|
148
|
+
padding: 0 12px;
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.remove-duplicates-dialog .rd-btn:hover:not(:disabled) {
|
|
153
|
+
background: var(--hover);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.remove-duplicates-dialog .rd-btn:disabled {
|
|
157
|
+
border-color: var(--border);
|
|
158
|
+
background: var(--bg-chrome);
|
|
159
|
+
color: var(--text-disabled);
|
|
160
|
+
cursor: default;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.remove-duplicates-dialog .rd-btn-primary:disabled {
|
|
164
|
+
background: var(--bg-chrome);
|
|
165
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Side-effect CSS module — the dialog `.tsx` pulls this in for its styles.
|
|
2
|
+
// Declaration is co-located so tsc is happy when the runtime-guarded
|
|
3
|
+
// `import('./remove-duplicates-dialog.css')` is type-checked. The default
|
|
4
|
+
// export is `unknown` because nothing consumes the returned namespace; we
|
|
5
|
+
// only want the load side-effect.
|
|
6
|
+
declare const css: unknown
|
|
7
|
+
export default css
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* Sheet-tab deletion owns this compact interior; dialog-skin.css owns the modal shell. */
|
|
2
|
+
|
|
3
|
+
.sheet-tab-delete-dialog {
|
|
4
|
+
width: min(400px, calc(100vw - 32px));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-header {
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-header h2 {
|
|
12
|
+
margin: 0;
|
|
13
|
+
color: var(--text-default);
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-body {
|
|
19
|
+
min-height: 68px;
|
|
20
|
+
padding: 16px;
|
|
21
|
+
background: var(--bg-surface);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-body p {
|
|
25
|
+
margin: 0;
|
|
26
|
+
color: var(--text-muted);
|
|
27
|
+
line-height: 1.5;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-footer {
|
|
31
|
+
min-height: 48px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-footer button {
|
|
35
|
+
min-width: 72px;
|
|
36
|
+
padding: 0 12px;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-footer button:hover:not(:disabled) {
|
|
41
|
+
border-color: var(--border-strong);
|
|
42
|
+
background: var(--hover);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-footer button[data-variant='danger'] {
|
|
46
|
+
border-color: var(--error-text);
|
|
47
|
+
background: var(--bg-surface);
|
|
48
|
+
color: var(--error-text);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sheet-tab-delete-dialog
|
|
52
|
+
.sheet-tab-delete-footer
|
|
53
|
+
button[data-variant='danger']:hover:not(:disabled) {
|
|
54
|
+
border-color: var(--error-text);
|
|
55
|
+
background: var(--error-bg);
|
|
56
|
+
color: var(--error-text);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.sheet-tab-delete-dialog .sheet-tab-delete-footer button:disabled {
|
|
60
|
+
border-color: var(--border);
|
|
61
|
+
background: var(--bg-chrome);
|
|
62
|
+
color: var(--text-disabled);
|
|
63
|
+
cursor: default;
|
|
64
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
.spreadsheet-sort-confirmation-backdrop {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
z-index: 1000;
|
|
5
|
+
display: grid;
|
|
6
|
+
place-items: center;
|
|
7
|
+
padding: 16px;
|
|
8
|
+
background: var(--dialog-overlay);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.spreadsheet-sort-confirmation-dialog {
|
|
12
|
+
width: min(360px, 100%);
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
border: 1px solid var(--border);
|
|
15
|
+
border-radius: var(--radius);
|
|
16
|
+
background: var(--bg-surface);
|
|
17
|
+
box-shadow: var(--dialog-shadow);
|
|
18
|
+
color: var(--text-default);
|
|
19
|
+
font: 13px/1.5 var(--excel-font);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.spreadsheet-sort-confirmation-header,
|
|
23
|
+
.spreadsheet-sort-confirmation-actions {
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.spreadsheet-sort-confirmation-header {
|
|
31
|
+
flex: 0 0 var(--dialog-header-h);
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
min-height: var(--dialog-header-h);
|
|
34
|
+
padding: 0 16px;
|
|
35
|
+
border-bottom: 1px solid var(--border);
|
|
36
|
+
background: var(--bg-surface);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.spreadsheet-sort-confirmation-header h2 {
|
|
40
|
+
margin: 0;
|
|
41
|
+
color: var(--text-default);
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.spreadsheet-sort-confirmation-dialog .dialog-close-x {
|
|
47
|
+
display: inline-flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
width: var(--control-h);
|
|
51
|
+
height: var(--control-h);
|
|
52
|
+
padding: 0;
|
|
53
|
+
border: 0;
|
|
54
|
+
background: transparent;
|
|
55
|
+
color: var(--text-muted);
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
font: inherit;
|
|
58
|
+
font-size: 18px;
|
|
59
|
+
line-height: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.spreadsheet-sort-confirmation-dialog .dialog-close-x:hover:not(:disabled) {
|
|
63
|
+
background: var(--hover);
|
|
64
|
+
color: var(--text-default);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.spreadsheet-sort-confirmation-body {
|
|
68
|
+
min-height: 92px;
|
|
69
|
+
padding: 16px;
|
|
70
|
+
background: var(--bg-surface);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.spreadsheet-sort-confirmation-body p {
|
|
74
|
+
margin: 0 0 12px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.spreadsheet-sort-confirmation-body dl,
|
|
78
|
+
.spreadsheet-sort-confirmation-body dl div {
|
|
79
|
+
display: grid;
|
|
80
|
+
gap: 6px;
|
|
81
|
+
margin: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.spreadsheet-sort-confirmation-body dl div {
|
|
85
|
+
grid-template-columns: 96px 1fr;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.spreadsheet-sort-confirmation-body dt {
|
|
89
|
+
color: var(--text-muted);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.spreadsheet-sort-confirmation-body dd {
|
|
93
|
+
margin: 0;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.spreadsheet-sort-confirmation-actions {
|
|
98
|
+
justify-content: flex-end;
|
|
99
|
+
min-height: 48px;
|
|
100
|
+
padding: 10px 16px;
|
|
101
|
+
border-top: 1px solid var(--border);
|
|
102
|
+
background: var(--bg-surface);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.spreadsheet-sort-confirmation-actions button {
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
height: var(--control-h);
|
|
108
|
+
min-width: 72px;
|
|
109
|
+
padding: 0 12px;
|
|
110
|
+
border: 1px solid var(--border);
|
|
111
|
+
border-radius: var(--control-radius);
|
|
112
|
+
background: var(--bg-surface);
|
|
113
|
+
color: var(--text-default);
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
font: inherit;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.spreadsheet-sort-confirmation-actions button:hover:not(:disabled) {
|
|
119
|
+
background: var(--hover);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.spreadsheet-sort-confirmation-dialog :is(button):focus-visible {
|
|
123
|
+
border-color: var(--office-blue);
|
|
124
|
+
outline: 2px solid var(--office-blue);
|
|
125
|
+
outline-offset: 1px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.spreadsheet-sort-confirmation-actions button[data-variant='primary'] {
|
|
129
|
+
border-color: var(--dialog-primary-bg);
|
|
130
|
+
background: var(--dialog-primary-bg);
|
|
131
|
+
color: var(--text-on-accent);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.spreadsheet-sort-confirmation-actions button[data-variant='primary']:hover:not(:disabled) {
|
|
135
|
+
border-color: var(--dialog-primary-hover);
|
|
136
|
+
background: var(--dialog-primary-hover);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.spreadsheet-sort-confirmation-actions button[data-variant='primary']:active:not(:disabled) {
|
|
140
|
+
border-color: var(--dialog-primary-active);
|
|
141
|
+
background: var(--dialog-primary-active);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.spreadsheet-sort-confirmation-actions button:disabled {
|
|
145
|
+
border-color: var(--border);
|
|
146
|
+
background: var(--bg-chrome);
|
|
147
|
+
color: var(--text-disabled);
|
|
148
|
+
cursor: default;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.spreadsheet-sort-confirmation-error {
|
|
152
|
+
padding: 8px 10px;
|
|
153
|
+
border: 1px solid var(--error-text);
|
|
154
|
+
border-radius: var(--radius);
|
|
155
|
+
background: var(--error-bg);
|
|
156
|
+
color: var(--error-text);
|
|
157
|
+
}
|