Skip to content

Commit bba3352

Browse files
committed
chore: update styles for profile popup
1 parent b9b25e8 commit bba3352

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

src/styles/UserProfile.less

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,39 @@
1111
z-index: @z-index-brackets-context-menu-base;
1212
transform-origin: 0 0;
1313

14+
.popup-header-row {
15+
display: flex;
16+
justify-content: space-between;
17+
align-items: center;
18+
}
19+
20+
.popup-close-btn {
21+
width: 24px;
22+
height: 24px;
23+
padding: 0;
24+
background: none;
25+
border: none;
26+
border-radius: @bc-border-radius;
27+
cursor: pointer;
28+
color: @bc-text-medium;
29+
font-size: 14px;
30+
display: flex;
31+
align-items: center;
32+
justify-content: center;
33+
transition: color 0.2s ease, background-color 0.2s ease;
34+
flex-shrink: 0;
35+
36+
&:hover {
37+
color: @bc-text-emphasized;
38+
background-color: @bc-btn-bg;
39+
}
40+
41+
&:focus {
42+
outline: none;
43+
box-shadow: 0 0 0 2px @bc-btn-border-focused;
44+
}
45+
}
46+
1447
.popup-header {
1548
padding: 12px 15px;
1649
border-bottom: 1px solid @bc-menu-separator;
@@ -204,6 +237,19 @@
204237
color: @dark-bc-menu-text;
205238
box-shadow: 0 3px 9px @dark-bc-shadow;
206239

240+
.popup-close-btn {
241+
color: @dark-bc-text-thin-quiet;
242+
243+
&:hover {
244+
color: @dark-bc-text;
245+
background-color: @dark-bc-btn-bg;
246+
}
247+
248+
&:focus {
249+
box-shadow: 0 0 0 2px @dark-bc-btn-border-focused;
250+
}
251+
}
252+
207253
.popup-header {
208254
border-bottom: 1px solid @dark-bc-menu-separator;
209255
}

tracking-repos.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"phoenixPro": {
3-
"commitID": "d72beedc81737f4b408ada7eb37f38b8bff94a6e"
3+
"commitID": "4bd026a988a27bcdd1a7d821e77d9b57aba27204"
44
}
55
}

0 commit comments

Comments
 (0)