Skip to content

Commit aba0cad

Browse files
devvaannshabose
authored andcommitted
refactor: made contact support button consistent in both popups
1 parent 41a834e commit aba0cad

File tree

4 files changed

+62
-11
lines changed

4 files changed

+62
-11
lines changed

docs/API-Reference/command/Commands.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,18 @@ Sorts working set by file type
824824
## CMD\_WORKING\_SORT\_TOGGLE\_AUTO
825825
Toggles automatic working set sorting
826826

827+
**Kind**: global variable
828+
<a name="CMD_TOGGLE_SHOW_WORKING_SET"></a>
829+
830+
## CMD\_TOGGLE\_SHOW\_WORKING\_SET
831+
Toggles working set visibility
832+
833+
**Kind**: global variable
834+
<a name="CMD_TOGGLE_SHOW_FILE_TABS"></a>
835+
836+
## CMD\_TOGGLE\_SHOW\_FILE\_TABS
837+
Toggles file tabs visibility
838+
827839
**Kind**: global variable
828840
<a name="CMD_KEYBOARD_NAV_UI_OVERLAY"></a>
829841

src/extensionsIntegrated/Phoenix/html/login-dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 class="popup-title">{{welcomeTitle}}</h1>
88
{{signInBtnText}}
99
</button>
1010
<div class="support-link">
11-
<button id="phoenix-support-btn" class="btn dialog-button">
11+
<button id="phoenix-support-btn" class="text-link">
1212
<i class="fa fa-question-circle"></i>
1313
{{supportBtnText}}
1414
</button>

src/extensionsIntegrated/Phoenix/html/profile-panel.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@
2626
{{accountBtnText}}
2727
</button>
2828

29-
<button id="phoenix-support-btn" class="btn dialog-button menu-button">
30-
<i class="fa fa-question-circle"></i>
31-
{{supportBtnText}}
32-
</button>
33-
3429
<button id="phoenix-signout-btn" class="btn dialog-button menu-button signout">
3530
<i class="fa fa-sign-out-alt"></i>
3631
{{signOutBtnText}}
3732
</button>
33+
34+
<div class="support-link">
35+
<button id="phoenix-support-btn" class="text-link">
36+
<i class="fa fa-question-circle"></i>
37+
{{supportBtnText}}
38+
</button>
39+
</div>
3840
</div>
3941
</div>

src/styles/Extn-UserProfile.less

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "brackets_variables.less";
22

33
.profile-popup {
4-
background-color: @bc-menu-bg;
4+
background-color: @bc-panel-bg;
55
color: @bc-menu-text;
66
border-radius: @bc-border-radius;
77
box-shadow: 0 3px 9px @bc-shadow;
@@ -59,6 +59,7 @@
5959

6060
.user-plan {
6161
color: #3c3;
62+
//color: #2b7d2b;
6263
font-size: 16px;
6364
}
6465

@@ -76,7 +77,7 @@
7677
.progress-bar {
7778
width: 100%;
7879
height: 8px;
79-
background-color: @bc-input-bg;
80+
background-color: #fff;
8081
border-radius: 4px;
8182
overflow: hidden;
8283
border: 1px solid @bc-btn-border;
@@ -90,8 +91,9 @@
9091
}
9192

9293
.support-link {
93-
margin-top: 20px;
94+
margin-top: 6px;
9495
text-align: center;
96+
width: 100%;
9597
}
9698

9799
.menu-button {
@@ -107,7 +109,34 @@
107109
}
108110

109111
&.signout {
110-
color: #f55;
112+
color: #d44;
113+
}
114+
}
115+
116+
.text-link {
117+
background: none;
118+
border: none;
119+
box-shadow: none;
120+
cursor: pointer;
121+
color: @bc-text-medium;
122+
font-size: (@baseFontSize + 1);
123+
padding: 8px 12px;
124+
margin: 3px 0;
125+
width: 100%;
126+
text-align: center;
127+
transition: color 0.2s ease;
128+
129+
i {
130+
margin-right: 5px;
131+
}
132+
133+
&:hover, &:focus {
134+
color: @bc-text-emphasized;
135+
outline: none;
136+
}
137+
138+
&.menu-button {
139+
text-align: left;
111140
}
112141
}
113142

@@ -158,7 +187,7 @@
158187
}
159188

160189
.dark .profile-popup {
161-
background-color: @dark-bc-menu-bg;
190+
background-color: @dark-bc-panel-bg;
162191
color: @dark-bc-menu-text;
163192
box-shadow: 0 3px 9px @dark-bc-shadow;
164193

@@ -188,6 +217,14 @@
188217
}
189218
}
190219

220+
.text-link {
221+
color: @dark-bc-text-thin-quiet;
222+
223+
&:hover, &:focus {
224+
color: lighten(@dark-bc-text-thin-quiet, 30%);
225+
}
226+
}
227+
191228
.btn.dialog-button {
192229
background-color: @dark-bc-btn-bg;
193230
border: 1px solid @dark-bc-btn-border;

0 commit comments

Comments
 (0)