Skip to content

Commit c75447e

Browse files
committed
Redesign sidebar tab close button with X icon and neutral colors
1 parent 605d5bb commit c75447e

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

  • editor/src/main/resources/com/jvn/editor

editor/src/main/resources/com/jvn/editor/editor.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4387,32 +4387,30 @@
43874387
}
43884388

43894389
.sidebar-tab-pane .tab .tab-close-button {
4390-
-fx-opacity: 0.95;
4390+
-fx-opacity: 0;
43914391
-fx-padding: 0;
4392-
-fx-translate-x: 4px;
4393-
-fx-min-width: 6px;
4394-
-fx-pref-width: 6px;
4395-
-fx-max-width: 6px;
4396-
-fx-min-height: 6px;
4397-
-fx-pref-height: 6px;
4398-
-fx-max-height: 6px;
4399-
-fx-background-color: #e14f63;
4392+
-fx-min-width: 14px;
4393+
-fx-pref-width: 14px;
4394+
-fx-max-width: 14px;
4395+
-fx-min-height: 14px;
4396+
-fx-pref-height: 14px;
4397+
-fx-max-height: 14px;
4398+
-fx-background-color: #888888;
44004399
-fx-background-insets: 0;
4401-
-fx-background-radius: 999;
4402-
-fx-scale-shape: false;
4403-
-fx-shape: "M4 0A4 4 0 1 1 4 8A4 4 0 1 1 4 0z";
4400+
-fx-background-radius: 4;
4401+
-fx-shape: "M2 0 L5 3 L8 0 L10 2 L7 5 L10 8 L8 10 L5 7 L2 10 L0 8 L3 5 L0 2 Z";
44044402
}
44054403

44064404
.sidebar-tab-pane .tab .tab-label {
4407-
-fx-padding: 0 12 0 0;
4405+
-fx-padding: 0 6 0 0;
44084406
-fx-text-fill: #c2c2c2;
44094407
-fx-font-size: 12px;
44104408
-fx-font-weight: 600;
44114409
}
44124410

44134411
.sidebar-tab-pane .tab:hover .tab-close-button,
44144412
.sidebar-tab-pane .tab:selected .tab-close-button {
4415-
-fx-opacity: 0.94;
4413+
-fx-opacity: 0.5;
44164414
}
44174415

44184416
.sidebar-tab-pane .tab:hover .tab-label {
@@ -4424,11 +4422,13 @@
44244422
}
44254423

44264424
.sidebar-tab-pane .tab .tab-close-button:hover {
4427-
-fx-background-color: #f56a7c;
4425+
-fx-opacity: 1;
4426+
-fx-background-color: #c0c0c0;
44284427
}
44294428

44304429
.sidebar-tab-pane .tab .tab-close-button:pressed {
4431-
-fx-background-color: #bf3950;
4430+
-fx-opacity: 1;
4431+
-fx-background-color: #f06070;
44324432
}
44334433

44344434
.sidebar-tab-pane .tab.sidebar-add-tab {

0 commit comments

Comments
 (0)