-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyle.css
More file actions
222 lines (187 loc) · 4.2 KB
/
Copy pathstyle.css
File metadata and controls
222 lines (187 loc) · 4.2 KB
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100;
padding: 48px 0 0;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.rightbar {
position:fixed;
margin-right:0px;
}
.leftLine {
box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1)
}
.close
{
border: 0;
background-color: transparent;
float: right;
font-size: 1.5rem;
font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: .5;
}
.genTableHeader
{
width: 10.5rem;
}
a.nav-link.active {
background-color: #0a58ca;
color: white;
}
.linkButton {
border: none;
color: #0d6efd;
text-decoration: underline;
background-color: transparent;
}
/* The setting and stage dialogs show a different set of fields depending on the input type or step type
that's been picked. Laying them out as grid columns left holes wherever a field was hidden, so they're
flex items instead - a hidden field drops out of the flow entirely and the rest close up. */
.fieldRow {
display: flex;
flex-wrap: wrap;
gap: 1rem 1.25rem;
margin-bottom: 1rem;
}
.fieldRow:last-child {
margin-bottom: 0;
}
/* Column flex with the label allowed to grow, so the controls in a row line up along the bottom no
matter how many lines each field's help text wraps to. */
.field {
flex: 1 1 15rem;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.field.narrow {
flex: 1 1 10rem;
}
.field.wide {
flex: 2 1 24rem;
}
.field.full {
flex: 1 1 100%;
}
.field > label {
display: block;
flex: 1 0 auto;
margin-bottom: 0.35rem;
font-weight: 600;
}
.fieldHelp {
display: block;
margin-top: 0.15rem;
font-size: 0.8125rem;
font-weight: 400;
line-height: 1.35;
color: #6c757d;
}
.modalSection {
margin-top: 1.75rem;
}
.modalSection:first-child {
margin-top: 0;
}
.modalSectionTitle {
margin-bottom: 0.2rem;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #6c757d;
}
.modalSectionHelp {
margin-bottom: 0.85rem;
font-size: 0.8125rem;
color: #6c757d;
}
.modalSectionRule {
margin: 0.35rem 0 1rem;
opacity: 0.15;
}
/* Checkboxes wrap as tiles for the same reason - a column of them left a ragged gap whenever one only
applies to some of the input or step types. */
.checkRow {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.checkTile {
flex: 1 1 17rem;
min-width: 0;
display: flex;
gap: 0.6rem;
align-items: flex-start;
margin: 0;
padding: 0.6rem 0.75rem;
border: 1px solid rgba(128, 128, 128, 0.3);
border-radius: 0.375rem;
cursor: pointer;
}
.checkTile:hover {
border-color: rgba(128, 128, 128, 0.6);
}
.checkTile > input {
flex-shrink: 0;
margin-top: 0.15rem;
}
.checkTile .checkLabel {
display: block;
font-weight: 600;
}
.subPanel {
margin-bottom: 1rem;
padding: 1rem;
border: 1px solid rgba(128, 128, 128, 0.3);
border-radius: 0.375rem;
}
/* Table cells size to their content, which squeezed these two down until they clipped the option they
were showing. The text inputs alongside them go fluid so the wider pickers don't push the whole table
out past its column. */
.table-responsive .table input[type="text"] {
width: 100%;
min-width: 5rem;
}
.table-responsive .table input[type="number"] {
width: 100%;
min-width: 4.5rem;
}
.portTypeSelect {
min-width: 8.5rem;
}
.portProtocolSelect {
min-width: 5rem;
}
/* The range and offset take two or three digits at most, so they don't get the width a port number
needs - the ports table has enough columns in it without them. */
.table-responsive .table input.portNarrowNumber[type="number"] {
min-width: 3.25rem;
max-width: 4.5rem;
}
/* Checkboxes stacked in one cell, tight enough not to widen the row they sit in. */
.portFlags .form-check {
margin-bottom: 0;
white-space: nowrap;
}
.modal-body .table {
margin-bottom: 0;
}
.modal-body .table input[type="text"] {
width: 100%;
}
#importexporttextarea
{
width: 100%;
height: 300px;
}
#importexporttextarea[readonly] {
background-color: #eee;
}