Skip to content

Commit 7439fa6

Browse files
committed
fix(website): diagonal chrome gradient on buttons
1 parent 4ac8e92 commit 7439fa6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/website/src/styles/global.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
}
167167

168168
.btn-chrome {
169-
background: linear-gradient(180deg, #e8e8e8 0%, #ffffff 15%, #b0b0b0 50%, #d8d8d8 65%, #888888 100%);
169+
background: linear-gradient(135deg, #e8e8e8 0%, #ffffff 20%, #a0a0a0 45%, #d0d0d0 60%, #888888 80%, #b8b8b8 100%);
170170
color: #111;
171171
font-weight: 600;
172172
border: 1px solid rgba(255, 255, 255, 0.3);
@@ -175,21 +175,21 @@
175175
}
176176

177177
.btn-chrome:hover {
178-
background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 20%, #c0c0c0 50%, #e0e0e0 65%, #a0a0a0 100%);
178+
background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 25%, #b8b8b8 45%, #e0e0e0 60%, #a0a0a0 80%, #c8c8c8 100%);
179179
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
180180
}
181181

182182
.btn-chrome-outline {
183-
background: linear-gradient(180deg, rgba(200,200,200,0.12) 0%, rgba(255,255,255,0.06) 50%, rgba(120,120,120,0.12) 100%);
183+
background: linear-gradient(135deg, rgba(200,200,200,0.12) 0%, rgba(255,255,255,0.08) 40%, rgba(120,120,120,0.12) 70%, rgba(200,200,200,0.08) 100%);
184184
border: 1px solid;
185-
border-image: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.08)) 1;
185+
border-image: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.08)) 1;
186186
color: #d4d4d8;
187187
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
188188
}
189189

190190
.btn-chrome-outline:hover {
191-
background: linear-gradient(180deg, rgba(200,200,200,0.18) 0%, rgba(255,255,255,0.10) 50%, rgba(120,120,120,0.18) 100%);
192-
border-image: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.12)) 1;
191+
background: linear-gradient(135deg, rgba(200,200,200,0.18) 0%, rgba(255,255,255,0.12) 40%, rgba(120,120,120,0.18) 70%, rgba(200,200,200,0.12) 100%);
192+
border-image: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.12)) 1;
193193
color: #fff;
194194
}
195195

0 commit comments

Comments
 (0)