Skip to content

Commit d8534a2

Browse files
Apply enterprise styling to taskpane UI
1 parent 36c8e9e commit d8534a2

1 file changed

Lines changed: 72 additions & 44 deletions

File tree

src/taskpane/styles.css

Lines changed: 72 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,59 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
12
:root {
23
color-scheme: light;
4+
--bg: #f5f7fb;
5+
--panel: #ffffff;
6+
--border: #e4e8f1;
7+
--text: #0f172a;
8+
--muted: #4b5563;
9+
--accent: #0b63f6;
10+
--accent-soft: #dfeafe;
11+
--shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.35);
12+
--radius: 14px;
313
}
414

515
body {
6-
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
16+
font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
717
margin: 0;
8-
padding: 0;
9-
background: #f6f8fb;
18+
padding: 16px;
19+
background: radial-gradient(circle at 18% 20%, #e8f0ff 0, rgba(232,240,255,0) 30%), radial-gradient(circle at 92% 10%, #dff5ff 0, rgba(223,245,255,0) 25%), var(--bg);
20+
color: var(--text);
1021
}
1122

1223
.shell {
13-
padding: 16px;
24+
padding: 0;
25+
max-width: 460px;
1426
}
1527

1628
header {
17-
margin-bottom: 12px;
29+
margin-bottom: 10px;
1830
}
1931

2032
.eyebrow {
2133
text-transform: uppercase;
2234
letter-spacing: 0.1em;
2335
font-size: 11px;
24-
color: #6b7280;
36+
color: var(--muted);
2537
}
2638

2739
h2 {
2840
margin: 4px 0;
2941
font-size: 20px;
42+
letter-spacing: -0.02em;
3043
}
3144

3245
.muted {
33-
color: #6b7280;
46+
color: var(--muted);
3447
font-size: 12px;
3548
}
3649

3750
.card {
38-
background: #fff;
39-
border: 1px solid #e5e7eb;
40-
border-radius: 10px;
41-
padding: 12px;
42-
margin-bottom: 12px;
43-
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
51+
background: var(--panel);
52+
border: 1px solid var(--border);
53+
border-radius: var(--radius);
54+
padding: 14px;
55+
margin-bottom: 14px;
56+
box-shadow: var(--shadow);
4457
}
4558

4659
.card-title {
@@ -62,42 +75,45 @@ h2 {
6275

6376
.label {
6477
font-size: 12px;
65-
color: #6b7280;
78+
color: var(--muted);
6679
margin-bottom: 2px;
6780
}
6881

6982
input {
7083
width: 100%;
7184
padding: 10px;
72-
border: 1px solid #e5e7eb;
73-
border-radius: 8px;
85+
border: 1px solid var(--border);
86+
border-radius: 10px;
7487
box-sizing: border-box;
7588
font-size: 14px;
7689
margin: 4px 0;
90+
background: #f9fbff;
7791
}
7892

7993
button {
80-
background: #0f172a;
94+
background: var(--text);
8195
color: #fff;
8296
border: none;
83-
border-radius: 8px;
97+
border-radius: 10px;
8498
padding: 10px 14px;
8599
cursor: pointer;
86100
font-weight: 600;
101+
letter-spacing: -0.01em;
87102
}
88103

89104
button.secondary {
90-
background: #e5e7eb;
91-
color: #0f172a;
105+
background: #eef1f6;
106+
color: var(--text);
92107
}
93108

94109
.pill {
95-
background: #0ea5e9;
110+
background: var(--accent);
96111
color: #fff;
97-
padding: 4px 8px;
112+
padding: 4px 10px;
98113
border-radius: 999px;
99114
display: inline-block;
100115
font-size: 12px;
116+
font-weight: 700;
101117
}
102118

103119
.results ul {
@@ -125,57 +141,69 @@ button.secondary {
125141
}
126142

127143
.insert-btn {
128-
background: #0ea5e9;
144+
background: var(--accent);
129145
color: #fff;
130-
padding: 6px 10px;
146+
padding: 8px 12px;
131147
font-size: 11px;
132-
border-radius: 6px;
148+
border-radius: 10px;
133149
white-space: nowrap;
134-
font-weight: 500;
150+
font-weight: 600;
135151
}
136152

137153
.insert-btn:hover {
138-
background: #0284c7;
154+
background: #0a54d6;
139155
}
140156

141157
.fav-btn {
142-
background: #f59e0b;
158+
background: linear-gradient(135deg, #f7b500 0%, #e69700 100%);
143159
color: #fff;
144160
padding: 6px 10px;
145161
font-size: 14px;
146-
border-radius: 6px;
147-
font-weight: 500;
162+
border-radius: 10px;
163+
font-weight: 600;
148164
}
149165

150166
.fav-btn:hover {
151-
background: #d97706;
167+
filter: brightness(0.96);
152168
}
153169

154170
.tabs {
155-
display: flex;
156-
gap: 4px;
171+
display: grid;
172+
grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
173+
gap: 8px;
157174
margin-bottom: 12px;
158-
border-bottom: 1px solid #e5e7eb;
175+
border: 1px solid var(--border);
176+
border-radius: 16px;
177+
padding: 10px;
178+
background: var(--panel);
179+
box-shadow: var(--shadow);
159180
}
160181

161182
.tab {
162-
background: transparent;
163-
color: #6b7280;
164-
padding: 8px 12px;
165-
font-size: 13px;
166-
border: none;
167-
border-bottom: 2px solid transparent;
183+
background: #f6f8fc;
184+
color: #465467;
185+
padding: 10px 6px;
186+
font-size: 12px;
187+
border: 1px solid var(--border);
188+
border-radius: 12px;
168189
cursor: pointer;
169-
font-weight: 500;
190+
font-weight: 600;
191+
display: flex;
192+
flex-direction: column;
193+
align-items: center;
194+
gap: 6px;
195+
transition: all 0.2s ease;
170196
}
171197

172198
.tab.active {
173-
color: #0f172a;
174-
border-bottom-color: #0ea5e9;
199+
color: var(--text);
200+
border-color: var(--accent);
201+
box-shadow: 0 8px 16px -12px rgba(11, 99, 246, 0.6);
202+
background: #eef3ff;
175203
}
176204

177205
.tab:hover {
178-
background: #f9fafb;
206+
background: #edf1f7;
179207
}
180208

181209
.preview-btn {

0 commit comments

Comments
 (0)