@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.
Files changed (73) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -2
  3. package/features/comment-thread.css +169 -0
  4. package/features/comment-thread.css.d.ts +2 -0
  5. package/features/conditional-format-dialog.css +254 -0
  6. package/features/conditional-format-dialog.css.d.ts +7 -0
  7. package/features/conditional-format-fields.css +10 -0
  8. package/features/conditional-format-fields.css.d.ts +2 -0
  9. package/features/data-validation-dialog.css +197 -0
  10. package/features/data-validation-dialog.css.d.ts +7 -0
  11. package/features/filter-dropdown.css +177 -0
  12. package/features/filter-dropdown.css.d.ts +2 -0
  13. package/features/find-replace-actions.css +13 -0
  14. package/features/find-replace-actions.css.d.ts +2 -0
  15. package/features/find-replace-dialog.css +147 -0
  16. package/features/find-replace-dialog.css.d.ts +2 -0
  17. package/features/find-replace-status-messages.css +19 -0
  18. package/features/find-replace-status-messages.css.d.ts +2 -0
  19. package/features/format-cells-dialog.css +296 -0
  20. package/features/format-cells-dialog.css.d.ts +2 -0
  21. package/features/format-cells-panels.css +154 -0
  22. package/features/format-cells-panels.css.d.ts +2 -0
  23. package/features/go-to-dialog.css +205 -0
  24. package/features/go-to-dialog.css.d.ts +2 -0
  25. package/features/menu-help-dialog.css +82 -0
  26. package/features/name-manager-dialog.css +276 -0
  27. package/features/number-format-dialog.css +147 -0
  28. package/features/number-format-dialog.css.d.ts +2 -0
  29. package/features/page-setup-dialog.css +167 -0
  30. package/features/page-setup-dialog.css.d.ts +3 -0
  31. package/features/paste-special-dialog.css +126 -0
  32. package/features/paste-special-dialog.css.d.ts +7 -0
  33. package/features/print-preview-dialog.css +197 -0
  34. package/features/print-preview-dialog.css.d.ts +3 -0
  35. package/features/protection-unlock-dialog.css +127 -0
  36. package/features/remove-duplicates-dialog.css +165 -0
  37. package/features/remove-duplicates-dialog.css.d.ts +7 -0
  38. package/features/sheet-tab-delete-dialog.css +64 -0
  39. package/features/sheet-tab-delete-dialog.css.d.ts +3 -0
  40. package/features/sort-confirmation-dialog.css +157 -0
  41. package/features/sort-confirmation-dialog.css.d.ts +2 -0
  42. package/features/text-to-columns-dialog.css +246 -0
  43. package/features/text-to-columns-dialog.css.d.ts +2 -0
  44. package/features/toolbar-shell.css +46 -0
  45. package/features/toolbar-shell.css.d.ts +2 -0
  46. package/package.json +40 -3
  47. package/styles/button-states.css +45 -0
  48. package/styles/chrome-tokens.css +124 -0
  49. package/styles/demo-header.css +23 -0
  50. package/styles/demo-two-column.css +115 -0
  51. package/styles/diagnostics.css +127 -0
  52. package/styles/dialog-skin.css +143 -0
  53. package/styles/formula-autocomplete.css +87 -0
  54. package/styles/formula-bar-row.css +51 -0
  55. package/styles/grid-cells.css +254 -0
  56. package/styles/grid-frame.css +268 -0
  57. package/styles/grid-headers.css +99 -0
  58. package/styles/grid-overlays.css +160 -0
  59. package/styles/help-overlay.css +67 -0
  60. package/styles/history-panel.css +127 -0
  61. package/styles/index.css +26 -0
  62. package/styles/locked-edit-feedback.css +45 -0
  63. package/styles/marching-ants.css +18 -0
  64. package/styles/menu-bar.css +97 -0
  65. package/styles/name-box.css +89 -0
  66. package/styles/presence-overlay.css +36 -0
  67. package/styles/shared-context-menu.css +50 -0
  68. package/styles/shared-format-toolbar.css +82 -0
  69. package/styles/shared-sheet-tabs.css +138 -0
  70. package/styles/sheet-tabs.css +98 -0
  71. package/styles/status-bar.css +161 -0
  72. package/styles/toolbar-popovers.css +278 -0
  73. package/styles/toolbar.css +213 -0
@@ -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('./data-validation-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,177 @@
1
+ /* Anchored filter menu. This deliberately owns only the non-modal popover
2
+ * surface; dialog-skin.css continues to exclude it from modal geometry. */
3
+
4
+ :is(.vnext-demo, .demo-page) [role='dialog'].spreadsheet-filter-dropdown {
5
+ position: fixed;
6
+ top: 220px;
7
+ right: max(24px, calc((100vw - 1280px) / 2 + 40px));
8
+ left: auto;
9
+ z-index: 500;
10
+ box-sizing: border-box;
11
+ display: block;
12
+ width: 320px;
13
+ min-width: 0;
14
+ max-width: calc(100vw - 48px);
15
+ max-height: calc(100vh - 260px);
16
+ padding: 0;
17
+ transform: none;
18
+ overflow: auto;
19
+ border: 1px solid var(--border-strong);
20
+ border-radius: var(--radius);
21
+ background: var(--bg-surface);
22
+ box-shadow: var(--shadow-popover);
23
+ color: var(--text-default);
24
+ font: 12px/1.4 var(--excel-font);
25
+ }
26
+
27
+ .spreadsheet-filter-dropdown .filter-dropdown-header {
28
+ position: relative;
29
+ box-sizing: border-box;
30
+ display: flex;
31
+ min-height: var(--dialog-header-h);
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ gap: 8px;
35
+ padding: 0 12px;
36
+ border-bottom: 1px solid var(--border);
37
+ background: var(--bg-surface);
38
+ }
39
+
40
+ .spreadsheet-filter-dropdown .filter-dropdown-title {
41
+ color: var(--text-default);
42
+ font-size: 13px;
43
+ font-weight: 600;
44
+ }
45
+
46
+ .spreadsheet-filter-dropdown .filter-dropdown-subtitle {
47
+ margin-top: 2px;
48
+ color: var(--text-muted);
49
+ }
50
+
51
+ .spreadsheet-filter-dropdown .dialog-close-x {
52
+ box-sizing: border-box;
53
+ display: inline-flex;
54
+ width: var(--control-h);
55
+ height: var(--control-h);
56
+ min-width: var(--control-h);
57
+ align-items: center;
58
+ justify-content: center;
59
+ padding: 0;
60
+ border: 1px solid transparent;
61
+ border-radius: var(--control-radius);
62
+ background: transparent;
63
+ color: var(--text-muted);
64
+ font: inherit;
65
+ font-size: 18px;
66
+ line-height: 1;
67
+ cursor: pointer;
68
+ }
69
+
70
+ .spreadsheet-filter-dropdown .filter-dropdown-rules,
71
+ .spreadsheet-filter-dropdown .filter-section {
72
+ padding-right: 12px;
73
+ padding-left: 12px;
74
+ }
75
+
76
+ .spreadsheet-filter-dropdown .filter-dropdown-rules {
77
+ gap: 4px;
78
+ padding-top: 8px;
79
+ }
80
+
81
+ .spreadsheet-filter-dropdown .filter-rule {
82
+ border-color: var(--border);
83
+ border-radius: var(--control-radius);
84
+ background: var(--select-bg);
85
+ color: var(--excel-green-text);
86
+ }
87
+
88
+ .spreadsheet-filter-dropdown .filter-section {
89
+ padding-top: 10px;
90
+ }
91
+
92
+ .spreadsheet-filter-dropdown .filter-section-title {
93
+ color: var(--text-default);
94
+ font-size: 12px;
95
+ font-weight: 600;
96
+ }
97
+
98
+ .spreadsheet-filter-dropdown
99
+ :is(.filter-btn, .filter-search-input, .filter-condition-input, .filter-condition-select) {
100
+ box-sizing: border-box;
101
+ height: var(--control-h);
102
+ min-height: var(--control-h);
103
+ border: 1px solid var(--border);
104
+ border-radius: var(--control-radius);
105
+ background: var(--bg-surface);
106
+ color: var(--text-default);
107
+ font: inherit;
108
+ }
109
+
110
+ .spreadsheet-filter-dropdown .filter-btn {
111
+ padding: 0 10px;
112
+ cursor: pointer;
113
+ }
114
+
115
+ .spreadsheet-filter-dropdown
116
+ :is(.filter-search-input, .filter-condition-input, .filter-condition-select) {
117
+ padding: 0 8px;
118
+ }
119
+
120
+ .spreadsheet-filter-dropdown .filter-values-list,
121
+ .spreadsheet-filter-dropdown .filter-value-option-all {
122
+ border-color: var(--border);
123
+ border-radius: var(--control-radius);
124
+ }
125
+
126
+ .spreadsheet-filter-dropdown .filter-value-option {
127
+ min-height: var(--control-h);
128
+ }
129
+
130
+ .spreadsheet-filter-dropdown .filter-footer {
131
+ padding: 10px 12px;
132
+ border-top-color: var(--border);
133
+ background: var(--bg-surface);
134
+ }
135
+
136
+ .spreadsheet-filter-dropdown .filter-btn-primary {
137
+ border-color: var(--dialog-primary-bg);
138
+ background: var(--dialog-primary-bg);
139
+ color: var(--text-on-accent);
140
+ }
141
+
142
+ .spreadsheet-filter-dropdown
143
+ :is(.filter-btn, .filter-value-option, .dialog-close-x):hover:not(:disabled) {
144
+ background: var(--hover);
145
+ }
146
+
147
+ .spreadsheet-filter-dropdown .filter-btn-primary:hover:not(:disabled) {
148
+ border-color: var(--dialog-primary-hover);
149
+ background: var(--dialog-primary-hover);
150
+ }
151
+
152
+ .spreadsheet-filter-dropdown .filter-btn-primary:active:not(:disabled) {
153
+ border-color: var(--dialog-primary-active);
154
+ background: var(--dialog-primary-active);
155
+ }
156
+
157
+ .spreadsheet-filter-dropdown :is(button, input, select):focus-visible {
158
+ border-color: var(--office-blue);
159
+ outline: 2px solid var(--office-blue);
160
+ outline-offset: 1px;
161
+ }
162
+
163
+ .spreadsheet-filter-dropdown :is(button, input, select):disabled {
164
+ border-color: var(--border);
165
+ background: var(--bg-chrome);
166
+ color: var(--text-disabled);
167
+ cursor: default;
168
+ }
169
+
170
+ .spreadsheet-filter-dropdown .filter-error {
171
+ margin: 0 12px;
172
+ padding: 8px 10px;
173
+ border: 1px solid var(--error-text);
174
+ border-radius: var(--control-radius);
175
+ background: var(--error-bg);
176
+ color: var(--error-text);
177
+ }
@@ -0,0 +1,2 @@
1
+ declare const stylesheet: string
2
+ export default stylesheet
@@ -0,0 +1,13 @@
1
+ /* Find & Replace action sizing. The shared dialog skin owns footer and primary colors. */
2
+
3
+ .find-replace-dialog .fr-btn {
4
+ min-width: 64px;
5
+ padding: 0 14px;
6
+ cursor: pointer;
7
+ }
8
+
9
+ .find-replace-dialog .fr-btn:disabled,
10
+ .find-replace-dialog .fr-step-btn:disabled {
11
+ color: var(--text-disabled);
12
+ cursor: default;
13
+ }
@@ -0,0 +1,2 @@
1
+ declare const stylesheet: string
2
+ export default stylesheet
@@ -0,0 +1,147 @@
1
+ /* Find & Replace dialog interior. The shared dialog skin owns the modal shell. */
2
+
3
+ @import './find-replace-status-messages.css';
4
+ @import './find-replace-actions.css';
5
+
6
+ .find-replace-dialog {
7
+ width: min(480px, calc(100vw - 32px));
8
+ min-height: 280px;
9
+ }
10
+
11
+ .find-replace-dialog .fr-header {
12
+ justify-content: space-between;
13
+ }
14
+
15
+ .find-replace-dialog .fr-title {
16
+ font-size: 14px;
17
+ font-weight: 600;
18
+ user-select: none;
19
+ }
20
+
21
+ .find-replace-dialog .fr-tabs {
22
+ display: flex;
23
+ gap: 24px;
24
+ padding: 0 16px;
25
+ border-bottom: 1px solid var(--border);
26
+ background: var(--bg-surface);
27
+ }
28
+
29
+ .find-replace-dialog .fr-tab {
30
+ position: relative;
31
+ box-sizing: border-box;
32
+ height: 36px;
33
+ min-height: 36px;
34
+ padding: 0 2px;
35
+ border: 0;
36
+ border-radius: 0;
37
+ background: transparent;
38
+ color: var(--text-muted);
39
+ cursor: pointer;
40
+ }
41
+
42
+ .find-replace-dialog .fr-tab:hover:not(:disabled) {
43
+ background: transparent;
44
+ color: var(--text-default);
45
+ }
46
+
47
+ .find-replace-dialog .fr-tab[aria-selected='true'] {
48
+ color: var(--office-blue-text);
49
+ font-weight: 600;
50
+ }
51
+
52
+ .find-replace-dialog .fr-tab[aria-selected='true']::after {
53
+ position: absolute;
54
+ right: 0;
55
+ bottom: -1px;
56
+ left: 0;
57
+ height: 2px;
58
+ background: var(--office-blue);
59
+ content: '';
60
+ }
61
+
62
+ .find-replace-dialog .fr-body {
63
+ display: flex;
64
+ flex: 1 1 auto;
65
+ flex-direction: column;
66
+ gap: 12px;
67
+ padding: 16px;
68
+ background: var(--bg-surface);
69
+ }
70
+
71
+ .find-replace-dialog .fr-field {
72
+ display: grid;
73
+ grid-template-columns: 72px minmax(0, 1fr) auto;
74
+ align-items: center;
75
+ gap: 10px;
76
+ }
77
+
78
+ .find-replace-dialog .fr-field-label {
79
+ color: var(--text-default);
80
+ text-align: right;
81
+ white-space: nowrap;
82
+ }
83
+
84
+ .find-replace-dialog .fr-input,
85
+ .find-replace-dialog .fr-select {
86
+ width: 100%;
87
+ padding: 0 8px;
88
+ }
89
+
90
+ .find-replace-dialog .fr-step-group {
91
+ display: inline-flex;
92
+ gap: 4px;
93
+ }
94
+
95
+ .find-replace-dialog .fr-step-btn {
96
+ width: var(--control-h);
97
+ padding: 0;
98
+ cursor: pointer;
99
+ font-size: 14px;
100
+ line-height: 1;
101
+ }
102
+
103
+ .find-replace-dialog .fr-step-btn:hover:not(:disabled),
104
+ .find-replace-dialog .fr-btn:hover:not(:disabled) {
105
+ border-color: var(--border-strong);
106
+ background: var(--hover);
107
+ }
108
+
109
+ .find-replace-dialog .fr-field.fr-field-replace,
110
+ .find-replace-dialog .fr-scope {
111
+ grid-template-columns: 72px minmax(0, 1fr);
112
+ }
113
+
114
+ .find-replace-dialog .fr-options {
115
+ display: flex;
116
+ flex-wrap: wrap;
117
+ gap: 8px 18px;
118
+ padding-left: 82px;
119
+ }
120
+
121
+ .find-replace-dialog .fr-option {
122
+ display: inline-flex;
123
+ align-items: center;
124
+ gap: 6px;
125
+ color: var(--text-default);
126
+ cursor: pointer;
127
+ font-size: 12px;
128
+ user-select: none;
129
+ }
130
+
131
+ .find-replace-dialog .fr-option input[type='checkbox'] {
132
+ width: 14px;
133
+ height: 14px;
134
+ margin: 0;
135
+ accent-color: var(--excel-green);
136
+ cursor: pointer;
137
+ }
138
+
139
+ .find-replace-dialog .fr-scope {
140
+ display: grid;
141
+ align-items: center;
142
+ gap: 10px;
143
+ }
144
+
145
+ .find-replace-dialog[data-active-tab='find'] [data-replace-only='true'] {
146
+ display: none;
147
+ }
@@ -0,0 +1,2 @@
1
+ declare const stylesheet: string
2
+ export default stylesheet
@@ -0,0 +1,19 @@
1
+ /* Feedback messages beneath the Find & Replace fields. */
2
+
3
+ .find-replace-dialog .fr-status,
4
+ .find-replace-dialog .fr-error,
5
+ .find-replace-dialog .fr-capped {
6
+ min-height: 16px;
7
+ padding: 0 16px 8px;
8
+ background: var(--bg-surface);
9
+ font-size: 12px;
10
+ }
11
+
12
+ .find-replace-dialog .fr-status,
13
+ .find-replace-dialog .fr-capped {
14
+ color: var(--text-muted);
15
+ }
16
+
17
+ .find-replace-dialog .fr-error {
18
+ color: var(--error-text);
19
+ }
@@ -0,0 +1,2 @@
1
+ declare const stylesheet: string
2
+ export default stylesheet
@@ -0,0 +1,296 @@
1
+ /* Format Cells owns this interior; dialog-skin.css owns the Office web modal shell. */
2
+
3
+ .format-cells-dialog {
4
+ width: min(560px, calc(100vw - 32px));
5
+ height: min(440px, calc(100vh - 32px));
6
+ min-height: 360px;
7
+ }
8
+
9
+ .format-cells-dialog .format-cells-header {
10
+ justify-content: space-between;
11
+ }
12
+
13
+ .format-cells-dialog .format-cells-title {
14
+ margin: 0;
15
+ color: var(--text-default);
16
+ font-size: 14px;
17
+ font-weight: 600;
18
+ user-select: none;
19
+ }
20
+
21
+ .format-cells-dialog .format-cells-tabs {
22
+ display: flex;
23
+ flex: 0 0 36px;
24
+ align-items: stretch;
25
+ gap: 22px;
26
+ padding: 0 16px;
27
+ border-bottom: 1px solid var(--border);
28
+ background: var(--bg-surface);
29
+ }
30
+
31
+ form[role='dialog'].format-cells-dialog .format-cells-tabs > .format-cells-tab {
32
+ position: relative;
33
+ height: 36px;
34
+ padding: 0 2px;
35
+ border: 0;
36
+ border-radius: 0;
37
+ background: var(--bg-surface);
38
+ color: var(--text-muted);
39
+ cursor: pointer;
40
+ font: inherit;
41
+ font-size: 13px;
42
+ }
43
+
44
+ form[role='dialog'].format-cells-dialog .format-cells-tabs > .format-cells-tab:hover {
45
+ color: var(--text-default);
46
+ }
47
+
48
+ form[role='dialog'].format-cells-dialog
49
+ .format-cells-tabs
50
+ > .format-cells-tab[aria-selected='true'] {
51
+ color: var(--office-blue-text);
52
+ font-weight: 600;
53
+ }
54
+
55
+ .format-cells-dialog .format-cells-tab[aria-selected='true']::after {
56
+ position: absolute;
57
+ right: 0;
58
+ bottom: -1px;
59
+ left: 0;
60
+ height: 2px;
61
+ border-radius: var(--control-radius);
62
+ background: var(--office-blue);
63
+ content: '';
64
+ }
65
+
66
+ .format-cells-dialog .format-cells-panel {
67
+ flex: 1 1 auto;
68
+ min-height: 0;
69
+ padding: 14px 16px;
70
+ overflow: auto;
71
+ background: var(--bg-surface);
72
+ }
73
+
74
+ .format-cells-dialog .format-cells-panel:focus-visible {
75
+ outline: 2px solid var(--office-blue);
76
+ outline-offset: -2px;
77
+ }
78
+
79
+ .format-cells-dialog .format-cells-section {
80
+ display: flex;
81
+ height: 100%;
82
+ flex-direction: column;
83
+ gap: 10px;
84
+ }
85
+
86
+ .format-cells-dialog .format-cells-row {
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 10px;
90
+ color: var(--text-default);
91
+ font-size: 13px;
92
+ }
93
+
94
+ .format-cells-dialog .format-cells-row > span {
95
+ min-width: 96px;
96
+ }
97
+
98
+ [role='dialog'].format-cells-dialog
99
+ .format-cells-row
100
+ :is(input[type='text'], input[type='number'], select) {
101
+ min-width: 144px;
102
+ padding: 0 8px;
103
+ }
104
+
105
+ [role='dialog'].format-cells-dialog .format-cells-row input[type='number'] {
106
+ width: 80px;
107
+ min-width: 80px;
108
+ }
109
+
110
+ [role='dialog'].format-cells-dialog .format-cells-row input[type='color'] {
111
+ width: 36px;
112
+ min-width: 36px;
113
+ padding: 2px;
114
+ cursor: pointer;
115
+ }
116
+
117
+ .format-cells-dialog .format-cells-row input[type='checkbox'] {
118
+ width: 14px;
119
+ height: 14px;
120
+ margin: 0;
121
+ accent-color: var(--excel-green);
122
+ cursor: pointer;
123
+ }
124
+
125
+ .format-cells-dialog .format-cells-section[data-testid='format-cells-number'] {
126
+ display: grid;
127
+ grid-template-columns: 164px minmax(0, 1fr);
128
+ grid-template-rows: auto 1fr;
129
+ gap: 12px 18px;
130
+ align-items: start;
131
+ }
132
+
133
+ .format-cells-dialog .format-cells-category-list {
134
+ grid-row: 1 / span 2;
135
+ margin: 0;
136
+ padding: 3px;
137
+ overflow-y: auto;
138
+ border: 1px solid var(--border);
139
+ border-radius: var(--control-radius);
140
+ background: var(--bg-chrome-light);
141
+ list-style: none;
142
+ }
143
+
144
+ .format-cells-dialog .format-cells-category-list li {
145
+ margin: 0;
146
+ padding: 0;
147
+ list-style: none;
148
+ }
149
+
150
+ .format-cells-dialog .format-cells-category-row {
151
+ position: relative;
152
+ display: flex;
153
+ min-height: var(--control-h);
154
+ align-items: center;
155
+ gap: 6px;
156
+ padding: 0 8px;
157
+ border-radius: var(--control-radius);
158
+ color: var(--text-default);
159
+ cursor: pointer;
160
+ font-size: 12px;
161
+ user-select: none;
162
+ }
163
+
164
+ .format-cells-dialog .format-cells-category-row:hover {
165
+ background: var(--hover);
166
+ }
167
+
168
+ .format-cells-dialog .format-cells-category-row:has(input:disabled) {
169
+ color: var(--text-disabled);
170
+ cursor: not-allowed;
171
+ }
172
+
173
+ .format-cells-dialog .format-cells-category-row input[type='radio'] {
174
+ position: absolute;
175
+ inset: 0;
176
+ width: 100%;
177
+ height: 100%;
178
+ margin: 0;
179
+ border: 0;
180
+ appearance: none;
181
+ cursor: inherit;
182
+ opacity: 0;
183
+ }
184
+
185
+ .format-cells-dialog .format-cells-category-row:has(input:checked) {
186
+ background: var(--select-bg);
187
+ color: var(--excel-green-text);
188
+ font-weight: 600;
189
+ }
190
+
191
+ .format-cells-dialog .format-cells-category-row:has(input:focus-visible) {
192
+ outline: 2px solid var(--office-blue);
193
+ outline-offset: -2px;
194
+ }
195
+
196
+ .format-cells-dialog .format-cells-coming-soon {
197
+ margin-left: auto;
198
+ color: var(--text-disabled);
199
+ font-size: 11px;
200
+ font-weight: 400;
201
+ }
202
+
203
+ .format-cells-dialog .format-cells-preview {
204
+ display: flex;
205
+ min-height: 52px;
206
+ align-items: center;
207
+ justify-content: flex-end;
208
+ padding: 8px 12px;
209
+ border: 1px solid var(--border);
210
+ border-radius: var(--radius);
211
+ background: var(--bg-chrome-light);
212
+ color: var(--text-default);
213
+ font-size: 14px;
214
+ font-variant-numeric: tabular-nums;
215
+ }
216
+
217
+ .format-cells-dialog .format-cells-section[data-testid='format-cells-number'] > .format-cells-row {
218
+ align-self: start;
219
+ }
220
+
221
+ [role='dialog'].format-cells-dialog :is(.format-cells-side, .format-cells-side-active),
222
+ [role='dialog'].format-cells-dialog
223
+ [data-testid='format-cells-border']
224
+ > .format-cells-row
225
+ > button {
226
+ padding: 0 10px;
227
+ cursor: pointer;
228
+ }
229
+
230
+ [role='dialog'].format-cells-dialog :is(.format-cells-side, .format-cells-side-active):hover,
231
+ [role='dialog'].format-cells-dialog
232
+ [data-testid='format-cells-border']
233
+ > .format-cells-row
234
+ > button:hover {
235
+ border-color: var(--border-strong);
236
+ background: var(--hover);
237
+ }
238
+
239
+ [role='dialog'].format-cells-dialog .format-cells-side-active {
240
+ border-color: var(--excel-green);
241
+ background: var(--select-bg);
242
+ color: var(--excel-green-text);
243
+ }
244
+
245
+ .format-cells-dialog .format-cells-border-preview {
246
+ display: inline-block;
247
+ align-self: flex-start;
248
+ margin-top: 2px;
249
+ padding: 12px 20px;
250
+ background: var(--bg-chrome-light);
251
+ }
252
+
253
+ .format-cells-dialog .format-cells-actions {
254
+ min-height: 48px;
255
+ }
256
+
257
+ .format-cells-dialog .format-cells-actions [role='alert'] {
258
+ margin-right: auto;
259
+ color: var(--error-text);
260
+ font-size: 12px;
261
+ }
262
+
263
+ [role='dialog'].format-cells-dialog .format-cells-actions button {
264
+ min-width: 72px;
265
+ padding: 0 14px;
266
+ cursor: pointer;
267
+ }
268
+
269
+ [role='dialog'].format-cells-dialog .format-cells-actions button:hover:not(:disabled) {
270
+ border-color: var(--border-strong);
271
+ background: var(--hover);
272
+ }
273
+
274
+ [role='dialog'].format-cells-dialog .format-cells-actions button:disabled {
275
+ border-color: var(--border);
276
+ background: var(--bg-chrome);
277
+ color: var(--text-disabled);
278
+ cursor: default;
279
+ }
280
+
281
+ @media (max-width: 520px) {
282
+ .format-cells-dialog .format-cells-tabs {
283
+ gap: 12px;
284
+ padding: 0 12px;
285
+ overflow-x: auto;
286
+ }
287
+
288
+ .format-cells-dialog .format-cells-panel {
289
+ padding: 12px;
290
+ }
291
+
292
+ .format-cells-dialog .format-cells-section[data-testid='format-cells-number'] {
293
+ grid-template-columns: 132px minmax(0, 1fr);
294
+ gap: 10px 12px;
295
+ }
296
+ }
@@ -0,0 +1,2 @@
1
+ declare const stylesheet: string
2
+ export default stylesheet