From 8deed63a75ca7eec3839b43b3ad2a0ae5c6f077a Mon Sep 17 00:00:00 2001 From: Pluto Date: Thu, 22 May 2025 15:00:33 +0530 Subject: [PATCH 1/2] refactor: made contact support button consistent in both popups --- docs/API-Reference/command/Commands.md | 12 +++++ .../Phoenix/html/login-dialog.html | 2 +- .../Phoenix/html/profile-panel.html | 12 +++-- src/styles/Extn-UserProfile.less | 47 +++++++++++++++++-- 4 files changed, 62 insertions(+), 11 deletions(-) diff --git a/docs/API-Reference/command/Commands.md b/docs/API-Reference/command/Commands.md index 6e7a0950a7..783376af39 100644 --- a/docs/API-Reference/command/Commands.md +++ b/docs/API-Reference/command/Commands.md @@ -824,6 +824,18 @@ Sorts working set by file type ## CMD\_WORKING\_SORT\_TOGGLE\_AUTO Toggles automatic working set sorting +**Kind**: global variable + + +## CMD\_TOGGLE\_SHOW\_WORKING\_SET +Toggles working set visibility + +**Kind**: global variable + + +## CMD\_TOGGLE\_SHOW\_FILE\_TABS +Toggles file tabs visibility + **Kind**: global variable diff --git a/src/extensionsIntegrated/Phoenix/html/login-dialog.html b/src/extensionsIntegrated/Phoenix/html/login-dialog.html index c3aa32c031..9726584e22 100644 --- a/src/extensionsIntegrated/Phoenix/html/login-dialog.html +++ b/src/extensionsIntegrated/Phoenix/html/login-dialog.html @@ -8,7 +8,7 @@

{{welcomeTitle}}

{{signInBtnText}} diff --git a/src/styles/Extn-UserProfile.less b/src/styles/Extn-UserProfile.less index 575f53e667..ec2a924126 100644 --- a/src/styles/Extn-UserProfile.less +++ b/src/styles/Extn-UserProfile.less @@ -1,7 +1,7 @@ @import "brackets_variables.less"; .profile-popup { - background-color: @bc-menu-bg; + background-color: @bc-panel-bg; color: @bc-menu-text; border-radius: @bc-border-radius; box-shadow: 0 3px 9px @bc-shadow; @@ -59,6 +59,7 @@ .user-plan { color: #3c3; + //color: #2b7d2b; font-size: 16px; } @@ -76,7 +77,7 @@ .progress-bar { width: 100%; height: 8px; - background-color: @bc-input-bg; + background-color: #fff; border-radius: 4px; overflow: hidden; border: 1px solid @bc-btn-border; @@ -90,8 +91,9 @@ } .support-link { - margin-top: 20px; + margin-top: 6px; text-align: center; + width: 100%; } .menu-button { @@ -107,7 +109,34 @@ } &.signout { - color: #f55; + color: #d44; + } + } + + .text-link { + background: none; + border: none; + box-shadow: none; + cursor: pointer; + color: @bc-text-medium; + font-size: (@baseFontSize + 1); + padding: 8px 12px; + margin: 3px 0; + width: 100%; + text-align: center; + transition: color 0.2s ease; + + i { + margin-right: 5px; + } + + &:hover, &:focus { + color: @bc-text-emphasized; + outline: none; + } + + &.menu-button { + text-align: left; } } @@ -158,7 +187,7 @@ } .dark .profile-popup { - background-color: @dark-bc-menu-bg; + background-color: @dark-bc-panel-bg; color: @dark-bc-menu-text; box-shadow: 0 3px 9px @dark-bc-shadow; @@ -188,6 +217,14 @@ } } + .text-link { + color: @dark-bc-text-thin-quiet; + + &:hover, &:focus { + color: lighten(@dark-bc-text-thin-quiet, 30%); + } + } + .btn.dialog-button { background-color: @dark-bc-btn-bg; border: 1px solid @dark-bc-btn-border; From 2c8325dea9bdf7da3fd5ac607c878596521616ab Mon Sep 17 00:00:00 2001 From: Pluto Date: Thu, 22 May 2025 15:05:10 +0530 Subject: [PATCH 2/2] refactor: reduce the size of the profile icon to make it consistent with other toolbar icons --- src/styles/brackets.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 6934f7a47a..499a512e51 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -671,7 +671,7 @@ a, img { .user { background: url("images/circle-user-solid.svg") center no-repeat; - background-size: 20px 20px; + background-size: 18px 18px; } #editor-holder {