Skip to content

Commit 9616db5

Browse files
committed
refactor: improve suggestions list colors to match it with tab bar
1 parent 8454abb commit 9616db5

File tree

1 file changed

+42
-19
lines changed

1 file changed

+42
-19
lines changed

src/styles/brackets_patterns_override.less

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,20 +2522,20 @@ code {
25222522
height: 30px;
25232523
padding: 5px;
25242524
box-sizing: border-box;
2525-
margin-bottom: 8px;
2525+
margin-bottom: 10px;
25262526
}
25272527

25282528
#folder-suggestions {
25292529
max-height: 150px;
25302530
overflow-y: auto;
25312531
overflow-x: hidden;
2532-
border: 1px solid @bc-btn-border;
2533-
border-radius: @bc-border-radius;
2534-
background-color: @bc-panel-bg-alt;
2532+
outline: 1px solid #f5f5f5;
2533+
border-radius: 3px;
2534+
background-color: #f5f5f5;
25352535

25362536
.dark & {
2537-
border: 1px solid @dark-bc-btn-border;
2538-
background-color: @dark-bc-panel-bg-alt;
2537+
background-color: #1E1E1E;
2538+
outline: 1px solid #1E1E1E;
25392539
}
25402540

25412541
&:empty {
@@ -2550,37 +2550,60 @@ code {
25502550

25512551
.folder-suggestion-item {
25522552
padding: 6px 10px;
2553+
display: flex;
2554+
align-items: center;
25532555
cursor: pointer;
2554-
font-size: 12px;
2555-
color: @bc-text;
2556-
border-left: 3px solid transparent;
2556+
font-size: 0.875rem;
2557+
letter-spacing: 0.4px;
2558+
word-spacing: 0.75px;
2559+
color: #555;
2560+
background-color: #f1f1f1;
2561+
border-right: 1px solid rgba(0, 0, 0, 0.05);
2562+
position: relative;
2563+
user-select: none;
25572564

25582565
.dark & {
2559-
color: @dark-bc-text;
2566+
color: #aaa;
2567+
background-color: #292929;
2568+
border-right: 1px solid rgba(255, 255, 255, 0.05);
25602569
}
25612570

25622571
&:hover {
2563-
background-color: rgba(0, 0, 0, 0.03);
2572+
background-color: #e0e0e0;
25642573

25652574
.dark & {
2566-
background-color: rgba(255, 255, 255, 0.05);
2575+
background-color: #3b3a3a;
25672576
}
25682577
}
25692578

25702579
&.selected {
2571-
background-color: rgba(40, 142, 223, 0.08);
2572-
border-left-color: #288edf;
2580+
background-color: #fff;
2581+
color: #333;
25732582

25742583
.dark & {
2575-
background-color: rgba(40, 142, 223, 0.15);
2576-
border-left-color: #3da3ff;
2584+
background-color: #1D1F21;
2585+
color: #dedede;
2586+
}
2587+
2588+
&::after {
2589+
content: "";
2590+
position: absolute;
2591+
top: 0;
2592+
bottom: 0;
2593+
left: 0;
2594+
width: 0.15rem;
2595+
background-color: #0078D7;
2596+
2597+
.dark & {
2598+
background-color: #75BEFF;
2599+
}
25772600
}
25782601

25792602
&:hover {
2580-
background-color: rgba(40, 142, 223, 0.12);
2603+
background-color: #fff;
25812604

25822605
.dark & {
2583-
background-color: rgba(40, 142, 223, 0.2);
2606+
background-color: #1D1F21;
25842607
}
25852608
}
25862609
}
@@ -2596,7 +2619,7 @@ code {
25962619
}
25972620

25982621
.folder-help-text {
2599-
margin-top: 8px;
2622+
margin-top: 10px;
26002623
margin-bottom: 0;
26012624
font-size: 11px;
26022625
color: @bc-text-quiet;

0 commit comments

Comments
 (0)