@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,154 @@
|
|
|
1
|
+
/* Format Cells domain panels: Number category picker and Border controls. */
|
|
2
|
+
|
|
3
|
+
.format-cells-dialog .format-cells-section[data-testid='format-cells-number'] {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 160px 1fr;
|
|
6
|
+
grid-template-rows: auto 1fr;
|
|
7
|
+
column-gap: 18px;
|
|
8
|
+
row-gap: 12px;
|
|
9
|
+
align-items: start;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.format-cells-dialog .format-cells-category-list {
|
|
13
|
+
grid-column: 1;
|
|
14
|
+
grid-row: 1 / span 2;
|
|
15
|
+
list-style: none;
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 4px 0;
|
|
18
|
+
border: 1px solid var(--border, #d4d4d4);
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
background: #ffffff;
|
|
21
|
+
max-height: 320px;
|
|
22
|
+
overflow-y: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.format-cells-dialog .format-cells-category-list li {
|
|
26
|
+
list-style: none;
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.format-cells-dialog .format-cells-category-row {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 6px;
|
|
35
|
+
padding: 6px 10px;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
font-size: 13px;
|
|
38
|
+
color: var(--text-default, #1a1a1a);
|
|
39
|
+
line-height: 1.4;
|
|
40
|
+
user-select: none;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.format-cells-dialog .format-cells-category-row:hover {
|
|
45
|
+
background: var(--hover, #e8e8e8);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.format-cells-dialog .format-cells-category-row:has(input[type='radio']:disabled) {
|
|
49
|
+
cursor: not-allowed;
|
|
50
|
+
opacity: 0.65;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.format-cells-dialog .format-cells-category-row:has(input[type='radio']:disabled):hover {
|
|
54
|
+
background: transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.format-cells-dialog .format-cells-category-row input[type='radio'] {
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset: 0;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
border: 0;
|
|
65
|
+
opacity: 0;
|
|
66
|
+
appearance: none;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.format-cells-dialog .format-cells-category-row:has(input[type='radio']:checked) {
|
|
71
|
+
background: rgba(0, 120, 212, 0.12);
|
|
72
|
+
color: var(--office-blue-text, #0067b8);
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.format-cells-dialog .format-cells-category-row:has(input[type='radio']:focus-visible) {
|
|
77
|
+
outline: 2px solid var(--office-blue, #0078d4);
|
|
78
|
+
outline-offset: -2px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.format-cells-dialog .format-cells-coming-soon {
|
|
82
|
+
margin-left: auto;
|
|
83
|
+
font-size: 11px;
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
color: var(--text-muted, #6a6a6a);
|
|
86
|
+
padding: 1px 6px;
|
|
87
|
+
border: 1px solid var(--border, #d4d4d4);
|
|
88
|
+
border-radius: 8px;
|
|
89
|
+
background: var(--bg-chrome-light, #fafafa);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.format-cells-dialog .format-cells-preview {
|
|
93
|
+
grid-column: 2;
|
|
94
|
+
grid-row: 1;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: flex-end;
|
|
98
|
+
min-height: 48px;
|
|
99
|
+
padding: 10px 14px;
|
|
100
|
+
border: 1px solid var(--border, #d4d4d4);
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
background: var(--bg-chrome-light, #fafafa);
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
color: var(--text-default, #1a1a1a);
|
|
105
|
+
font-variant-numeric: tabular-nums;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.format-cells-dialog .format-cells-section[data-testid='format-cells-number'] > .format-cells-row {
|
|
109
|
+
grid-column: 2;
|
|
110
|
+
grid-row: 2;
|
|
111
|
+
align-self: start;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.format-cells-dialog .format-cells-side,
|
|
115
|
+
.format-cells-dialog .format-cells-side-active,
|
|
116
|
+
.format-cells-dialog
|
|
117
|
+
.format-cells-section[data-testid='format-cells-border']
|
|
118
|
+
> .format-cells-row
|
|
119
|
+
> button {
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
height: 26px;
|
|
124
|
+
padding: 0 10px;
|
|
125
|
+
border: 1px solid var(--border, #d4d4d4);
|
|
126
|
+
border-radius: 3px;
|
|
127
|
+
background: #ffffff;
|
|
128
|
+
color: var(--text-default, #1a1a1a);
|
|
129
|
+
font: inherit;
|
|
130
|
+
font-size: 13px;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.format-cells-dialog .format-cells-side:hover,
|
|
135
|
+
.format-cells-dialog
|
|
136
|
+
.format-cells-section[data-testid='format-cells-border']
|
|
137
|
+
> .format-cells-row
|
|
138
|
+
> button:hover {
|
|
139
|
+
background: var(--hover, #e8e8e8);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.format-cells-dialog .format-cells-side-active {
|
|
143
|
+
background: rgba(0, 120, 212, 0.12);
|
|
144
|
+
border-color: var(--office-blue, #0078d4);
|
|
145
|
+
color: var(--office-blue, #0078d4);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.format-cells-dialog .format-cells-border-preview {
|
|
149
|
+
align-self: flex-start;
|
|
150
|
+
margin-top: 4px;
|
|
151
|
+
padding: 12px 20px;
|
|
152
|
+
display: inline-block;
|
|
153
|
+
background: var(--bg-chrome-light, #fafafa);
|
|
154
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/* Go To / Go To Special content layout for the shared Office web dialog shell. */
|
|
2
|
+
|
|
3
|
+
.go-to-dialog {
|
|
4
|
+
width: min(420px, calc(100vw - 32px));
|
|
5
|
+
min-height: 320px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.go-to-dialog .gt-header {
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.go-to-dialog .gt-title {
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
user-select: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.go-to-dialog .gt-tabs {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 24px;
|
|
21
|
+
padding: 0 16px;
|
|
22
|
+
border-bottom: 1px solid var(--border);
|
|
23
|
+
background: var(--bg-surface);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.go-to-dialog .gt-tab {
|
|
27
|
+
position: relative;
|
|
28
|
+
height: 36px;
|
|
29
|
+
padding: 0 2px;
|
|
30
|
+
border: 0;
|
|
31
|
+
border-radius: 0;
|
|
32
|
+
background: var(--bg-surface);
|
|
33
|
+
color: var(--text-muted);
|
|
34
|
+
font: inherit;
|
|
35
|
+
font-size: 13px;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.go-to-dialog .gt-tab:hover:not(:disabled) {
|
|
40
|
+
color: var(--text-default);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.go-to-dialog .gt-tab[aria-selected='true'] {
|
|
44
|
+
color: var(--office-blue-text);
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.go-to-dialog .gt-tab[aria-selected='true']::after {
|
|
49
|
+
position: absolute;
|
|
50
|
+
right: 0;
|
|
51
|
+
bottom: -1px;
|
|
52
|
+
left: 0;
|
|
53
|
+
height: 2px;
|
|
54
|
+
border-radius: var(--control-radius);
|
|
55
|
+
background: var(--office-blue);
|
|
56
|
+
content: '';
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.go-to-dialog .gt-tab:disabled {
|
|
60
|
+
color: var(--text-disabled);
|
|
61
|
+
cursor: not-allowed;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.go-to-dialog .gt-body {
|
|
65
|
+
display: flex;
|
|
66
|
+
flex: 1 1 auto;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
gap: 12px;
|
|
69
|
+
padding: 16px;
|
|
70
|
+
background: var(--bg-surface);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.go-to-dialog .gt-field,
|
|
74
|
+
.go-to-dialog .gt-history {
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
gap: 4px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.go-to-dialog .gt-field-label,
|
|
81
|
+
.go-to-dialog .gt-history-label {
|
|
82
|
+
color: var(--text-muted);
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.go-to-dialog .gt-input,
|
|
87
|
+
.go-to-dialog .gt-select {
|
|
88
|
+
width: 100%;
|
|
89
|
+
padding: 0 8px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.go-to-dialog .gt-history-empty,
|
|
93
|
+
.go-to-dialog .gt-truncated {
|
|
94
|
+
color: var(--text-muted);
|
|
95
|
+
font-size: 12px;
|
|
96
|
+
font-style: italic;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.go-to-dialog .gt-history-list {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
max-height: 120px;
|
|
103
|
+
margin: 0;
|
|
104
|
+
padding: 2px;
|
|
105
|
+
overflow-y: auto;
|
|
106
|
+
border: 1px solid var(--border);
|
|
107
|
+
border-radius: var(--control-radius);
|
|
108
|
+
background: var(--bg-surface);
|
|
109
|
+
list-style: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.go-to-dialog .gt-history-item {
|
|
113
|
+
display: block;
|
|
114
|
+
width: 100%;
|
|
115
|
+
min-height: var(--control-h);
|
|
116
|
+
padding: 0 6px;
|
|
117
|
+
border: 0;
|
|
118
|
+
border-radius: var(--control-radius);
|
|
119
|
+
background: var(--bg-surface);
|
|
120
|
+
color: var(--text-default);
|
|
121
|
+
font: inherit;
|
|
122
|
+
font-size: 13px;
|
|
123
|
+
text-align: left;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.go-to-dialog .gt-history-item:hover,
|
|
128
|
+
.go-to-dialog .gt-history-item:focus-visible {
|
|
129
|
+
background: var(--hover);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.go-to-dialog .gt-locator-group {
|
|
133
|
+
display: grid;
|
|
134
|
+
grid-template-columns: 1fr 1fr;
|
|
135
|
+
gap: 6px 16px;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding: 8px 12px 10px;
|
|
138
|
+
border: 1px solid var(--border);
|
|
139
|
+
border-radius: var(--control-radius);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.go-to-dialog .gt-locator-group legend {
|
|
143
|
+
padding: 0 4px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.go-to-dialog .gt-radio {
|
|
147
|
+
display: inline-flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
min-height: var(--control-h);
|
|
150
|
+
gap: 6px;
|
|
151
|
+
color: var(--text-default);
|
|
152
|
+
font-size: 13px;
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
user-select: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.go-to-dialog .gt-radio input[type='radio'] {
|
|
158
|
+
margin: 0;
|
|
159
|
+
accent-color: var(--office-blue);
|
|
160
|
+
cursor: inherit;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.go-to-dialog .gt-radio-disabled {
|
|
164
|
+
color: var(--text-disabled);
|
|
165
|
+
cursor: not-allowed;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.go-to-dialog .gt-subtype {
|
|
169
|
+
display: grid;
|
|
170
|
+
grid-template-columns: 88px minmax(0, 1fr);
|
|
171
|
+
align-items: center;
|
|
172
|
+
gap: 10px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.go-to-dialog .gt-error {
|
|
176
|
+
padding: 0 16px 12px;
|
|
177
|
+
background: var(--bg-surface);
|
|
178
|
+
color: var(--error-text);
|
|
179
|
+
font-size: 12px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.go-to-dialog .gt-footer {
|
|
183
|
+
min-height: 48px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.go-to-dialog .gt-btn {
|
|
187
|
+
min-width: 68px;
|
|
188
|
+
padding: 0 14px;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.go-to-dialog .gt-btn:hover:not(:disabled) {
|
|
193
|
+
border-color: var(--border-strong);
|
|
194
|
+
background: var(--hover);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.go-to-dialog .gt-btn-primary:hover:not(:disabled) {
|
|
198
|
+
border-color: var(--dialog-primary-hover);
|
|
199
|
+
background: var(--dialog-primary-hover);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.go-to-dialog .gt-btn:disabled {
|
|
203
|
+
color: var(--text-disabled);
|
|
204
|
+
cursor: not-allowed;
|
|
205
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* Menu Help content layout for the shared Office Excel for web dialog shell. */
|
|
2
|
+
|
|
3
|
+
.spreadsheet-help-overlay {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
width: min(420px, calc(100vw - 32px));
|
|
6
|
+
min-width: 360px;
|
|
7
|
+
max-width: min(720px, calc(100vw - 32px));
|
|
8
|
+
padding: 0;
|
|
9
|
+
border: 1px solid var(--border);
|
|
10
|
+
border-radius: var(--radius);
|
|
11
|
+
background: var(--bg-surface);
|
|
12
|
+
box-shadow: var(--dialog-shadow);
|
|
13
|
+
color: var(--text-default);
|
|
14
|
+
font-family: var(--excel-font);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.spreadsheet-help-overlay-header {
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.spreadsheet-help-overlay-title {
|
|
22
|
+
user-select: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.spreadsheet-help-overlay-content {
|
|
26
|
+
flex: 1 1 auto;
|
|
27
|
+
min-height: 0;
|
|
28
|
+
padding: 16px;
|
|
29
|
+
overflow: auto;
|
|
30
|
+
background: var(--bg-surface);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.spreadsheet-help-overlay-body {
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: var(--text-default);
|
|
36
|
+
line-height: 1.5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.spreadsheet-help-overlay-shortcut-list {
|
|
40
|
+
display: grid;
|
|
41
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
42
|
+
gap: 6px 16px;
|
|
43
|
+
margin: 0;
|
|
44
|
+
padding: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.spreadsheet-help-overlay-shortcut-item {
|
|
48
|
+
display: contents;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.spreadsheet-help-overlay-keys {
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
min-height: var(--control-h);
|
|
54
|
+
padding: 4px 8px;
|
|
55
|
+
border: 1px solid var(--border);
|
|
56
|
+
border-radius: var(--control-radius);
|
|
57
|
+
background: var(--bg-chrome-light);
|
|
58
|
+
color: var(--text-default);
|
|
59
|
+
font-family: var(--excel-font);
|
|
60
|
+
font-size: 12px;
|
|
61
|
+
line-height: 18px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.spreadsheet-help-overlay-label {
|
|
65
|
+
align-self: center;
|
|
66
|
+
color: var(--text-default);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.spreadsheet-help-overlay-actions {
|
|
70
|
+
min-height: 48px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.spreadsheet-help-overlay-close {
|
|
74
|
+
min-width: 72px;
|
|
75
|
+
padding: 0 14px;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.spreadsheet-help-overlay-close:hover:not(:disabled) {
|
|
80
|
+
border-color: var(--dialog-primary-hover);
|
|
81
|
+
background: var(--dialog-primary-hover);
|
|
82
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/* Name Manager content layout for the shared Office Excel for web dialog shell. */
|
|
2
|
+
|
|
3
|
+
.name-manager-dialog {
|
|
4
|
+
width: min(680px, calc(100vw - 32px));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.name-manager-dialog .nm-header {
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.name-manager-dialog .nm-title,
|
|
12
|
+
.name-manager-dialog .nm-tables-title {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.name-manager-dialog .nm-body {
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: minmax(152px, 0.8fr) minmax(276px, 1.2fr);
|
|
19
|
+
grid-template-areas:
|
|
20
|
+
'names editor'
|
|
21
|
+
'tables tables';
|
|
22
|
+
gap: 16px;
|
|
23
|
+
padding: 16px;
|
|
24
|
+
overflow: auto;
|
|
25
|
+
background: var(--bg-surface);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.name-manager-dialog .nm-name-list-section {
|
|
29
|
+
grid-area: names;
|
|
30
|
+
min-width: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.name-manager-dialog .nm-name-list {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
max-height: 188px;
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 2px;
|
|
39
|
+
overflow-y: auto;
|
|
40
|
+
border: 1px solid var(--border);
|
|
41
|
+
border-radius: var(--control-radius);
|
|
42
|
+
background: var(--bg-surface);
|
|
43
|
+
list-style: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.name-manager-dialog .nm-name-row {
|
|
47
|
+
min-width: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.name-manager-dialog .nm-name-choice {
|
|
51
|
+
display: block;
|
|
52
|
+
width: 100%;
|
|
53
|
+
padding: 0 8px;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
border: 0;
|
|
56
|
+
background: transparent;
|
|
57
|
+
color: var(--text-default);
|
|
58
|
+
font: inherit;
|
|
59
|
+
text-align: left;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.name-manager-dialog .nm-name-choice:hover:not(:disabled) {
|
|
66
|
+
background: var(--hover);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.name-manager-dialog .nm-name-choice[aria-pressed='true'] {
|
|
70
|
+
background: var(--select-bg);
|
|
71
|
+
color: var(--excel-green-text);
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.name-manager-dialog .nm-name-choice:disabled {
|
|
76
|
+
color: var(--text-disabled);
|
|
77
|
+
cursor: default;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.name-manager-dialog .nm-editor {
|
|
81
|
+
grid-area: editor;
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
min-width: 0;
|
|
85
|
+
gap: 10px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.name-manager-dialog .nm-form {
|
|
89
|
+
display: grid;
|
|
90
|
+
grid-template-columns: 82px minmax(0, 1fr);
|
|
91
|
+
align-items: center;
|
|
92
|
+
gap: 8px 10px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.name-manager-dialog .nm-form label {
|
|
96
|
+
color: var(--text-muted);
|
|
97
|
+
font-size: 12px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.name-manager-dialog .nm-form :is(input, select) {
|
|
101
|
+
width: 100%;
|
|
102
|
+
padding: 0 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.name-manager-dialog .nm-status,
|
|
106
|
+
.name-manager-dialog .nm-tables-error {
|
|
107
|
+
padding: 8px 10px;
|
|
108
|
+
border: 1px solid var(--border);
|
|
109
|
+
border-radius: var(--control-radius);
|
|
110
|
+
background: var(--bg-chrome-light);
|
|
111
|
+
color: var(--text-muted);
|
|
112
|
+
font-size: 12px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.name-manager-dialog .nm-status[data-pending='true'] {
|
|
116
|
+
border-color: var(--office-blue);
|
|
117
|
+
color: var(--office-blue-text);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.name-manager-dialog .nm-status[data-tone='error'],
|
|
121
|
+
.name-manager-dialog .nm-tables-error {
|
|
122
|
+
border-color: var(--error-text);
|
|
123
|
+
background: var(--error-bg);
|
|
124
|
+
color: var(--error-text);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.name-manager-dialog .nm-tables {
|
|
128
|
+
grid-area: tables;
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
min-width: 0;
|
|
132
|
+
gap: 8px;
|
|
133
|
+
padding-top: 12px;
|
|
134
|
+
border-top: 1px solid var(--border);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.name-manager-dialog .nm-tables-title {
|
|
138
|
+
color: var(--text-default);
|
|
139
|
+
font-size: 13px;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.name-manager-dialog .nm-tables-empty {
|
|
144
|
+
margin: 0;
|
|
145
|
+
color: var(--text-muted);
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.name-manager-dialog .nm-tables-list {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
max-height: 160px;
|
|
153
|
+
margin: 0;
|
|
154
|
+
padding: 0;
|
|
155
|
+
overflow-y: auto;
|
|
156
|
+
border: 1px solid var(--border);
|
|
157
|
+
border-radius: var(--control-radius);
|
|
158
|
+
background: var(--bg-surface);
|
|
159
|
+
list-style: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.name-manager-dialog .nm-table-row {
|
|
163
|
+
display: grid;
|
|
164
|
+
grid-template-columns: minmax(96px, 0.7fr) minmax(136px, 1fr) auto;
|
|
165
|
+
align-items: center;
|
|
166
|
+
gap: 4px 12px;
|
|
167
|
+
padding: 8px 10px;
|
|
168
|
+
border-bottom: 1px solid var(--border);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.name-manager-dialog .nm-table-row:last-child {
|
|
172
|
+
border-bottom: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.name-manager-dialog .nm-table-name {
|
|
176
|
+
color: var(--text-default);
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.name-manager-dialog :is(.nm-table-location, .nm-table-columns, .nm-table-totals) {
|
|
181
|
+
min-width: 0;
|
|
182
|
+
color: var(--text-muted);
|
|
183
|
+
font-size: 12px;
|
|
184
|
+
overflow-wrap: anywhere;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.name-manager-dialog .nm-table-totals {
|
|
188
|
+
color: var(--excel-green-text);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.name-manager-dialog :is(.nm-table-rename, .nm-table-delete-confirm, .nm-table-actions) {
|
|
192
|
+
display: flex;
|
|
193
|
+
grid-column: 1 / -1;
|
|
194
|
+
align-items: center;
|
|
195
|
+
flex-wrap: wrap;
|
|
196
|
+
gap: 8px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.name-manager-dialog .nm-table-delete-confirm {
|
|
200
|
+
padding: 6px 8px;
|
|
201
|
+
border: 1px solid var(--error-text);
|
|
202
|
+
border-radius: var(--control-radius);
|
|
203
|
+
background: var(--error-bg);
|
|
204
|
+
color: var(--error-text);
|
|
205
|
+
font-size: 12px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.name-manager-dialog :is(.nm-table-rename, .nm-table-delete-confirm) input {
|
|
209
|
+
width: min(220px, 100%);
|
|
210
|
+
padding: 0 8px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.name-manager-dialog .nm-table-actions {
|
|
214
|
+
justify-content: flex-end;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.name-manager-dialog .nm-table-actions button {
|
|
218
|
+
min-height: auto;
|
|
219
|
+
height: auto;
|
|
220
|
+
padding: 0;
|
|
221
|
+
border: 0;
|
|
222
|
+
background: transparent;
|
|
223
|
+
color: var(--office-blue-text);
|
|
224
|
+
font: inherit;
|
|
225
|
+
font-size: 12px;
|
|
226
|
+
text-decoration: underline;
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.name-manager-dialog .nm-table-actions button:disabled {
|
|
231
|
+
color: var(--text-disabled);
|
|
232
|
+
cursor: default;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.name-manager-dialog .nm-actions {
|
|
236
|
+
min-height: 48px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.name-manager-dialog .nm-btn {
|
|
240
|
+
min-width: 72px;
|
|
241
|
+
padding: 0 12px;
|
|
242
|
+
cursor: pointer;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.name-manager-dialog .nm-btn:hover:not(:disabled) {
|
|
246
|
+
border-color: var(--border-strong);
|
|
247
|
+
background: var(--hover);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.name-manager-dialog .nm-btn-primary:hover:not(:disabled) {
|
|
251
|
+
border-color: var(--dialog-primary-hover);
|
|
252
|
+
background: var(--dialog-primary-hover);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.name-manager-dialog .nm-btn:disabled {
|
|
256
|
+
color: var(--text-disabled);
|
|
257
|
+
cursor: default;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@media (max-width: 560px) {
|
|
261
|
+
.name-manager-dialog .nm-body {
|
|
262
|
+
grid-template-columns: minmax(0, 1fr);
|
|
263
|
+
grid-template-areas:
|
|
264
|
+
'names'
|
|
265
|
+
'editor'
|
|
266
|
+
'tables';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.name-manager-dialog .nm-name-list {
|
|
270
|
+
max-height: 112px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.name-manager-dialog .nm-table-row {
|
|
274
|
+
grid-template-columns: minmax(0, 1fr);
|
|
275
|
+
}
|
|
276
|
+
}
|