-
Notifications
You must be signed in to change notification settings - Fork 0
/
ticket.css
229 lines (226 loc) · 4.23 KB
/
ticket.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
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
223
224
225
226
227
228
229
/* general */
* {
margin: 0;
padding: 0;
}
body {
color: white;
background-color: #515d63;
font-family: monospace;
}
a {
text-decoration: none;
color: #b9c597;
}
a:hover {
color: #d2d8c0;
}
button {
border-radius: 3px;
color: white;
background: linear-gradient(#696969 0%, #5c5c5c 100%);
border: solid 1px #505050;
padding: 4px 10px;
display: block;
margin: 5px auto;
width: 100%;
}
button:active {
box-shadow: inset 0 0 3px #333;
color: #aaa;
}
#flash {
background-color: #47bbffb6;
border: 1px solid #2d83b4b6;
text-align: center;
position: absolute;
top: 0;
left: 30%;
right: 30%;
padding: 10px 20px;
border-radius: 0 0 5px 5px;
}
/* bottom form */
a#about {
position: absolute;
top: -17px;
right: 15px;
}
#bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background-color: #66818d;
border-top: #3d4b52 1px solid;
padding: 10px;
}
#toggler {
position: absolute;
top: -18px;
left: 10px;
background-color: #3d4b52;
border: #333e44 1px solid;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
#bottom .col-left {
display: inline-block;
width: 79%;
vertical-align: middle;
}
#bottom .col-right {
display: inline-block;
width: 19%;
vertical-align: middle;
}
#bottom input[type="text"],
#bottom textarea {
border-radius: 3px;
border: none;
padding: 4px 8px;
color: white;
box-shadow: inset 0 0 4px #333;
background-color: #53555a;
width: 100%;
display: block;
margin: 5px auto;
box-sizing: border-box;
}
#clear {
margin-top: 20px;
}
textarea {
resize: vertical;
}
textarea.text {
min-height: 100px;
}
.container {
margin: 0 auto;
max-width: 1000px;
}
button.clear {
color: #ee7935 !important;
border-color: #ee7935 !important;
font-size: 0.6em;
}
button.save {
border-color: #65ac2c;
color: #77be3c;
}
/* ticket table */
thead th.sortable {
cursor: pointer;
}
thead .desc::after {
content: "▼";
width: auto;
width: auto;
margin-left: 10px;
}
thead .asc::after {
content: "▲";
width: auto;
margin-left: 10px;
}
.detail-row label input[type="radio"],
.detail-row label input[type="checkbox"] {
vertical-align: middle;
margin-right: 4px;
}
.detail-row label {
margin: 4px auto;
display: block;
}
.detail-row label.priority-label {
margin-bottom: 10px;
}
.state-radio-wrapper {
margin: 15px auto;
}
span.priority {
line-height: 1em;
font-size: 0.8em;
}
td {
vertical-align: bottom;
}
#tickets {
width: 99%;
border-collapse: collapse;
border: #3d4b52 1px solid;
margin: 1% auto 150px auto;
}
#tickets thead {
background-color: #66818d;
text-align: left;
}
#tickets .ticket-row {
cursor: pointer;
}
#tickets .ticket-row.expanded {
background-image: linear-gradient(135deg, #739aac 25%, #6a8b9b 25%, #6a8b9b 50%, #739aac 50%, #739aac 75%, #6a8b9b 75%, #6a8b9b 100%);
background-size: 14.14px 14.14px;
}
#tickets .ticket-row.o {
background-color: #739aac;
}
#tickets .ticket-row.e {
background-color: #6a8b9b;
}
#tickets .detail-row {
background-color: #6a6c6d;
box-shadow: inset 0 0 5px #333;
position: relative;
}
#tickets .detail-row p {
margin: 20px 0 6px 0;
}
#tickets td, #tickets th {
padding: 3px 5px;
}
#tickets .badge {
text-transform: uppercase;
background-color: #5f7985;
font-size: 0.8em;
border-radius: 3px;
padding: 0px 3px;
border: 1px solid #486572;
}
#tickets .badge.n {
background-color: #ddba5a;
border-color: #c2a556;
}
#tickets .badge.p {
background-color: #4eb3d1;
border-color: #4099b4;
}
#tickets .badge.d {
background-color: #a0be4c;
border-color: #91ad43;
}
#tickets .badge.c {
background-color: #d67339;
border-color: #b96433;
}
#tickets input[type="text"],
#tickets textarea,
#tickets select {
border-radius: 3px;
border: none;
padding: 4px 8px;
color: white;
box-shadow: inset 0 0 4px #333;
background-color: #626364;
display: block;
width: 100%;
margin: 5px 0;
box-sizing: border-box;
}
#tickets select {
width: 50%;
display: inline-block;
margin-right: 5px;
}