-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStylesEditor.css
106 lines (76 loc) · 1.77 KB
/
StylesEditor.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#root {
--tabs-height: 36px;
--tabs-indent: 24px;
--tabs-inner-gap: 8px;
--my-tab-right-radius: 8px;
--my-tab-font-size: 1.05rem;
}
/* UNPINNED TAB SPACING */
.central-box {
gap: 6px; /* gap above first unpinned tab */
padding-right: 4px;
padding-left: 4px;
}
.Tab .body {
height: var(--tabs-height);
}
.Tab {
margin-bottom: 3px;
}
.Tab[data-pin="true"] {
margin-top: 6px;
}
/* PINNED TABS */
/* make square */
.Tab[data-pin="true"] {
width: var(--tabs-height);
}
/* add border */
.Tab[data-pin="true"] .body::before {
box-shadow: inset 0 0 0 1px rgb(82,82,94) !important;
}
/* spacing */
.tab-wrapper {
margin-right: 4px;
}
/* REMOVE ACTIVE TAB BORDER */
#root .Tab[data-active="true"] .body {
box-shadow: none;
}
/* TAB BORDER RADIUS */
.Tab .body,
.Tab:hover .body::before,
.Tab[data-selected=true] .body:before,
.Tab[data-pin="true"] .body::before {
border-top-right-radius: var(--my-tab-right-radius);
border-bottom-right-radius: var(--my-tab-right-radius);
border-top-left-radius: var(--my-tab-right-radius);
border-bottom-left-radius: var(--my-tab-right-radius);
}
/* TAB TEXT */
.Tab .title,
.Tab[data-active=true] .title
{
font-size: var(--my-tab-font-size);
line-height: 1.3;
}
.Tab .custom-title-input {
font-size: var(--my-tab-font-size);
}
/* PRESS ANIMATION */
.Tab .body {
transition: transform 0.1s ease-out;
}
.Tab .body:active {
transform: scale(0.98);
}
/* ADJUST TREE LINES FOR NEW SIZES */
#root[data-tabs-tree-lvl-marks=true] .Tab:not([data-lvl="0"]) .body:after {
height: calc(100% + var(--tabs-margin) + var(--tabs-margin) + 1px);
top: calc(var(--tabs-margin) * -2.5);
background-color: var(--tabs-normal-fg);
}
/* MAKE BOTTOM BAR MORE LIKE A TOOLBAR */
.BottomBar {
background: var(--toolbar-bg);
}