-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
178 lines (148 loc) · 4.09 KB
/
styles.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.task-runner-settings-container {
display: grid;
grid-template-columns: auto auto 1fr;
grid-template-rows: repeat(5, auto);
grid-template-areas:
'tasklist content content'
'tasklist content content'
'tasklist content content'
'tasklist content content'
'tasklist content content';
}
.task-runner-settings-container > .list-box {
grid-area: tasklist;
resize: horizontal;
}
.task-runner-settings-container > .list-box-viewport {
grid-area: content;
display: grid;
grid-template-columns: subgrid;
grid-template-rows: subgrid;
grid-template-areas:
'taskname taskname'
'before before'
'triggers triggers'
'steps steps'
'after after';
}
.task-runner-settings-container .task-name { grid-area: taskname; }
.task-runner-settings-container .before { grid-area: before; }
.task-runner-settings-container .triggers { grid-area: triggers; }
.task-runner-settings-container .steps { grid-area: steps; }
.task-runner-settings-container .after { grid-area: after; }
.task-runner-settings-container .before,
.task-runner-settings-container .triggers,
.task-runner-settings-container .steps,
.task-runner-settings-container .after {
border: var(--input-border-width) solid var(--background-modifier-border);
padding: var(--size-4-4) var(--size-4-2);
border-radius: var(--radius-m);
overflow: hidden;
}
.task-runner-settings-container .triggers,
.task-runner-settings-container .steps {
display: grid;
grid-template-columns: subgrid;
grid-template-rows: auto 1fr;
gap: var(--size-4-2);
grid-template-areas:
'desc desc'
'listbox editor';
}
.task-runner-settings-container .triggers > .description,
.task-runner-settings-container .steps > .description {
grid-area: desc;
}
.task-runner-settings-container .triggers > .list-box,
.task-runner-settings-container .steps > .list-box {
grid-area: listbox;
}
.task-runner-settings-container .triggers > .list-box-viewport,
.task-runner-settings-container .steps > .list-box-viewport {
grid-area: editor;
}
.list-box-container {
gap: var(--size-2-2);
}
.task-runner-settings-container h5 {
margin: 0;
padding: 0;
font-size: var(--font-ui-larger);
}
.task-runner-settings-container p {
margin: 0;
padding: 0;
font-size: var(--font-ui-smaller);
}
details summary > :is(h1, h2, h3, h4, h5, h6) {
display: inline-block;
}
.list-box {
-webkit-app-region: no-drag;
background: var(--background-modifier-form-field);
border: var(--input-border-width) solid var(--background-modifier-border);
color: var(--text-normal);
font-family: inherit;
font-size: var(--font-ui-small);
border-radius: var(--input-radius);
outline: none;
overflow: hidden;
}
.list-item {
display: block;
margin: 0 0;
padding: var(--size-2-1) var(--size-4-2);
font-size: var(--font-ui-smaller);
white-space: nowrap;
word-break: keep-all;
}
.list-item:focus, .list-item.active {
background: var(--text-selection);
}
.list-box:focus .list-item:focus, .list-box:focus .list-item.active {
background: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
color: var(--text-on-accent);
}
.list-box-viewport {
flex: 1;
}
.step-label {
display: flex;
flex-direction: row;
align-items: center;
gap: var(--size-2-1);
}
.icon-button:hover {
background: var(--text-selection);
}
textarea.command-editor {
resize: vertical;
width: 100%;
font-family: var(--font-monospace-theme), monospace;
}
.button-group {
display: flex;
flex-direction: row;
padding: 0 var(--size-4-2);
align-items: center;
width: 100%;
background: var(--color-base-20);
}
.button-group .icon-button {
background: none;
border: none;
box-shadow: none;
line-height: 1em;
/*padding: var(--size-2-2);*/
}
.flex {
display: flex;
flex-direction: row;
gap: var(--size-2-2);
}
.fill {
flex: 1;
}
input:invalid {
background-color: var(--background-modifier-error);
}