Skip to content

Commit 4eadbd4

Browse files
committed
refactor: improve styles of folder suggestions dialog
1 parent fa2e25f commit 4eadbd4

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2287,7 +2287,7 @@ function RemoteFunctions(config = {}) {
22872287
color: #a0a0a0 !important;
22882288
gap: 3px !important;
22892289
font-size: 14px !important;
2290-
margin-bottom: 4px !important;
2290+
margin-bottom: 2px !important;
22912291
margin-right: 10px !important;
22922292
}
22932293

src/styles/brackets_patterns_override.less

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,30 +2560,37 @@ code {
25602560
}
25612561

25622562
&:hover {
2563-
background-color: @bc-panel-bg-hover-alt;
2563+
background-color: rgba(0, 0, 0, 0.03);
25642564

25652565
.dark & {
2566-
background-color: @dark-bc-panel-bg-hover-alt;
2566+
background-color: rgba(255, 255, 255, 0.05);
25672567
}
25682568
}
25692569

25702570
&.selected {
2571-
background-color: @bc-bg-highlight;
2572-
border-left-color: @bc-primary-btn-bg;
2571+
background-color: rgba(40, 142, 223, 0.08);
2572+
border-left-color: #288edf;
25732573

25742574
.dark & {
2575-
background-color: @dark-bc-bg-highlight;
2576-
border-left-color: @dark-bc-primary-btn-bg;
2575+
background-color: rgba(40, 142, 223, 0.15);
2576+
border-left-color: #3da3ff;
2577+
}
2578+
2579+
&:hover {
2580+
background-color: rgba(40, 142, 223, 0.12);
2581+
2582+
.dark & {
2583+
background-color: rgba(40, 142, 223, 0.2);
2584+
}
25772585
}
25782586
}
25792587
}
25802588

25812589
.folder-match-highlight {
2582-
font-weight: @font-weight-semibold;
2583-
color: @bc-primary-btn-bg;
2590+
color: #288edf;
25842591

25852592
.dark & {
2586-
color: @dark-bc-primary-btn-bg;
2593+
color: #3da3ff;
25872594
}
25882595
}
25892596
}

0 commit comments

Comments
 (0)