Projet

Général

Profil

0001-misc-don-t-inclure-prebuilt-css-38664.patch

Frédéric Péters, 20 décembre 2019 13:05

Télécharger (9,9 ko)

Voir les différences:

Subject: [PATCH] misc: don't inclure prebuilt css (#38664)

 .gitignore                          |   1 +
 chrono/manager/static/css/style.css | 430 ----------------------------
 2 files changed, 1 insertion(+), 430 deletions(-)
 delete mode 100644 chrono/manager/static/css/style.css
.gitignore
4 4
/db.sqlite3
5 5
/dist
6 6
/chrono.egg-info
7
/chrono/manager/static/css/style.css
chrono/manager/static/css/style.css
1
.occupation-bar {
2
  display: block;
3
  position: absolute;
4
  bottom: 0;
5
  height: 3px;
6
  background: #88e;
7
  transition: max-width 300ms ease-in;
8
  max-width: 0%;
9
  width: 100%; }
10

  
11
.overbooking .occupation-bar {
12
  background: #e33; }
13

  
14
li.not-bookable {
15
  opacity: 0.7; }
16

  
17
li.full {
18
  background: #f8f8fe; }
19

  
20
li span.duration {
21
  font-size: 80%; }
22

  
23
li span.identifier {
24
  font-size: 80%;
25
  opacity: 0.6; }
26

  
27
h2 span.identifier {
28
  font-size: 1rem;
29
  opacity: 0.6; }
30

  
31
.time-only-picker thead {
32
  display: none; }
33

  
34
.time-only-picker tbody td {
35
  width: 200px; }
36

  
37
.timeperiods {
38
  display: flex;
39
  flex-wrap: wrap;
40
  margin-right: -10px; }
41

  
42
.timeperiods .timeperiod {
43
  flex: 1 0 auto;
44
  width: 18%;
45
  margin-right: 10px;
46
  position: relative; }
47

  
48
.timeperiods .timeperiod h4 {
49
  margin-top: 0; }
50

  
51
.timeperiods .timeperiod ul.objects-list {
52
  margin-top: 0; }
53

  
54
.timeperiods .timeperiod:first-child:last-child ul.objects-list {
55
  margin: -1rem; }
56

  
57
.timeperiods .timeperiod a.add::before {
58
  content: "\f055";
59
  /* plus-circle */
60
  font-family: FontAwesome;
61
  padding-right: 1ex; }
62

  
63
a.timeperiod-exception-all {
64
  font-style: italic; }
65

  
66
.link-action-icon.upload::before {
67
  content: "\f093";
68
  /* upload-sign */ }
69

  
70
.dayview h2 a,
71
.monthview h2 a {
72
  padding: 0 1ex; }
73

  
74
.dayview h2 > span {
75
  display: inline-block;
76
  min-width: 24ex; }
77

  
78
.monthview h2 > span {
79
  display: inline-block;
80
  min-width: 16ex; }
81

  
82
.agenda-table thead th {
83
  width: 14vw;
84
  padding-bottom: 1ex;
85
  font-weight: normal; }
86

  
87
.agenda-table {
88
  width: 100%; }
89
  .agenda-table .desks-1 thead th {
90
    width: 99%; }
91

  
92
.agenda-table {
93
  width: 100%; }
94
  .agenda-table .desks-2 thead th {
95
    width: 49%; }
96

  
97
.agenda-table {
98
  width: 100%; }
99
  .agenda-table .desks-3 thead th {
100
    width: 32.33333%; }
101

  
102
.agenda-table {
103
  width: 100%; }
104
  .agenda-table .desks-4 thead th {
105
    width: 24%; }
106

  
107
.agenda-table {
108
  width: 100%; }
109
  .agenda-table .desks-5 thead th {
110
    width: 19%; }
111

  
112
.agenda-table {
113
  width: 100%; }
114
  .agenda-table .desks-6 thead th {
115
    width: 15.66667%; }
116

  
117
.agenda-table {
118
  width: 100%; }
119
  .agenda-table .desks-7 thead th {
120
    width: 13.28571%; }
121

  
122
.agenda-table tbody tr th {
123
  box-sizing: border-box;
124
  padding: 1ex 2ex;
125
  vertical-align: top;
126
  width: 8ex;
127
  font-weight: normal; }
128
  .agenda-table tbody tr th.hour {
129
    width: 5%;
130
    text-align: left; }
131
  .agenda-table tbody tr th a {
132
    color: #000;
133
    border: 0; }
134
  .agenda-table tbody tr th.weekday {
135
    width: 12.5%;
136
    padding-top: 3rem; }
137
    .agenda-table tbody tr th.weekday.today {
138
      font-weight: bold; }
139

  
140
.agenda-table tbody tr:first-child th.weekday {
141
  padding-top: 1ex; }
142

  
143
.agenda-table tbody tr.odd th.hour,
144
.agenda-table tbody tr.odd td {
145
  background: #f0f0f0; }
146
  @media print {
147
    .agenda-table tbody tr.odd th.hour,
148
    .agenda-table tbody tr.odd td {
149
      border-top: 1px solid #aaa; } }
150

  
151
.agenda-table tbody tr.odd td.other-month {
152
  background: #f8f8f8; }
153

  
154
.agenda-table tbody td {
155
  padding: 0 1ex;
156
  vertical-align: top;
157
  position: relative;
158
  border: 0; }
159

  
160
.agenda-table.month-view {
161
  border-spacing: 0; }
162

  
163
.agenda-table.month-view tbody td {
164
  border: 5px solid white;
165
  border-width: 0 5px; }
166

  
167
table.hourspan-1 tbody td {
168
  height: calc(1 * 2.5em); }
169

  
170
table.hourspan-2 tbody td {
171
  height: calc(2 * 2.5em); }
172

  
173
table.hourspan-3 tbody td {
174
  height: calc(3 * 2.5em); }
175

  
176
table.hourspan-4 tbody td {
177
  height: calc(4 * 2.5em); }
178

  
179
table.hourspan-5 tbody td {
180
  height: calc(5 * 2.5em); }
181

  
182
table.hourspan-6 tbody td {
183
  height: calc(6 * 2.5em); }
184

  
185
table.hourspan-7 tbody td {
186
  height: calc(7 * 2.5em); }
187

  
188
table.hourspan-8 tbody td {
189
  height: calc(8 * 2.5em); }
190

  
191
table.hourspan-9 tbody td {
192
  height: calc(9 * 2.5em); }
193

  
194
table.hourspan-10 tbody td {
195
  height: calc(10 * 2.5em); }
196

  
197
table.hourspan-11 tbody td {
198
  height: calc(11 * 2.5em); }
199

  
200
table.hourspan-12 tbody td {
201
  height: calc(12 * 2.5em); }
202

  
203
table.hourspan-13 tbody td {
204
  height: calc(13 * 2.5em); }
205

  
206
table.hourspan-14 tbody td {
207
  height: calc(14 * 2.5em); }
208

  
209
table.hourspan-15 tbody td {
210
  height: calc(15 * 2.5em); }
211

  
212
table.hourspan-16 tbody td {
213
  height: calc(16 * 2.5em); }
214

  
215
table.hourspan-17 tbody td {
216
  height: calc(17 * 2.5em); }
217

  
218
table.hourspan-18 tbody td {
219
  height: calc(18 * 2.5em); }
220

  
221
table.hourspan-19 tbody td {
222
  height: calc(19 * 2.5em); }
223

  
224
table.hourspan-20 tbody td {
225
  height: calc(20 * 2.5em); }
226

  
227
table.hourspan-21 tbody td {
228
  height: calc(21 * 2.5em); }
229

  
230
table.hourspan-22 tbody td {
231
  height: calc(22 * 2.5em); }
232

  
233
table.hourspan-23 tbody td {
234
  height: calc(23 * 2.5em); }
235

  
236
table.hourspan-24 tbody td {
237
  height: calc(24 * 2.5em); }
238

  
239
table.hourspan-25 tbody td {
240
  height: calc(25 * 2.5em); }
241

  
242
table.hourspan-26 tbody td {
243
  height: calc(26 * 2.5em); }
244

  
245
table.hourspan-27 tbody td {
246
  height: calc(27 * 2.5em); }
247

  
248
table.hourspan-28 tbody td {
249
  height: calc(28 * 2.5em); }
250

  
251
table.hourspan-29 tbody td {
252
  height: calc(29 * 2.5em); }
253

  
254
table.hourspan-30 tbody td {
255
  height: calc(30 * 2.5em); }
256

  
257
table.hourspan-31 tbody td {
258
  height: calc(31 * 2.5em); }
259

  
260
table.hourspan-32 tbody td {
261
  height: calc(32 * 2.5em); }
262

  
263
table.hourspan-33 tbody td {
264
  height: calc(33 * 2.5em); }
265

  
266
table.hourspan-34 tbody td {
267
  height: calc(34 * 2.5em); }
268

  
269
table.hourspan-35 tbody td {
270
  height: calc(35 * 2.5em); }
271

  
272
table.hourspan-36 tbody td {
273
  height: calc(36 * 2.5em); }
274

  
275
table.hourspan-37 tbody td {
276
  height: calc(37 * 2.5em); }
277

  
278
table.hourspan-38 tbody td {
279
  height: calc(38 * 2.5em); }
280

  
281
table.hourspan-39 tbody td {
282
  height: calc(39 * 2.5em); }
283

  
284
table.hourspan-40 tbody td {
285
  height: calc(40 * 2.5em); }
286

  
287
table.hourspan-41 tbody td {
288
  height: calc(41 * 2.5em); }
289

  
290
table.hourspan-42 tbody td {
291
  height: calc(42 * 2.5em); }
292

  
293
table.hourspan-43 tbody td {
294
  height: calc(43 * 2.5em); }
295

  
296
table.hourspan-44 tbody td {
297
  height: calc(44 * 2.5em); }
298

  
299
table.hourspan-45 tbody td {
300
  height: calc(45 * 2.5em); }
301

  
302
table.hourspan-46 tbody td {
303
  height: calc(46 * 2.5em); }
304

  
305
table.hourspan-47 tbody td {
306
  height: calc(47 * 2.5em); }
307

  
308
table.hourspan-48 tbody td {
309
  height: calc(48 * 2.5em); }
310

  
311
table.hourspan-49 tbody td {
312
  height: calc(49 * 2.5em); }
313

  
314
table.hourspan-50 tbody td {
315
  height: calc(50 * 2.5em); }
316

  
317
table.hourspan-51 tbody td {
318
  height: calc(51 * 2.5em); }
319

  
320
table.hourspan-52 tbody td {
321
  height: calc(52 * 2.5em); }
322

  
323
table.hourspan-53 tbody td {
324
  height: calc(53 * 2.5em); }
325

  
326
table.hourspan-54 tbody td {
327
  height: calc(54 * 2.5em); }
328

  
329
table.hourspan-55 tbody td {
330
  height: calc(55 * 2.5em); }
331

  
332
table.hourspan-56 tbody td {
333
  height: calc(56 * 2.5em); }
334

  
335
table.hourspan-57 tbody td {
336
  height: calc(57 * 2.5em); }
337

  
338
table.hourspan-58 tbody td {
339
  height: calc(58 * 2.5em); }
340

  
341
table.hourspan-59 tbody td {
342
  height: calc(59 * 2.5em); }
343

  
344
table.hourspan-60 tbody td {
345
  height: calc(60 * 2.5em); }
346

  
347
.agenda-table tbody td div {
348
  box-sizing: border-box;
349
  padding: 1ex;
350
  position: absolute;
351
  overflow: hidden; }
352
  .agenda-table tbody td div.opening-hours {
353
    z-index: 1;
354
    background: #b1ea4d linear-gradient(135deg, #b1ea4d 0%, #459522 100%);
355
    opacity: 0.6;
356
    left: 0.5ex;
357
    width: calc(100% - 1ex); }
358
  .agenda-table tbody td div.booking {
359
    background: #eef linear-gradient(135deg, #eef 0%, #ddf 100%);
360
    box-shadow: 0 0 1px 0 #2d2dad;
361
    width: calc(100% - 2ex);
362
    border: 1px solid #aaa;
363
    z-index: 2; }
364
    .agenda-table tbody td div.booking:hover {
365
      z-index: 3;
366
      height: auto !important; }
367

  
368
.monthview tbody td div.booking {
369
  padding: 0;
370
  transition: width 100ms ease-in, left 100ms ease-in, color 200ms ease-in;
371
  text-indent: -9999px; }
372
  .monthview tbody td div.booking:hover {
373
    text-indent: 0;
374
    color: inherit;
375
    left: 0% !important;
376
    width: 100% !important; }
377
  .monthview tbody td div.booking span.desk {
378
    display: block; }
379

  
380
span.start-time {
381
  font-size: 80%; }
382

  
383
.date-title {
384
  cursor: pointer; }
385
  .date-title::after {
386
    content: "\f073";
387
    /* calendar */
388
    font-family: FontAwesome;
389
    padding-left: 1ex;
390
    padding-right: 0ex;
391
    opacity: 0.3;
392
    font-size: 80%;
393
    transition: opacity 200ms linear; }
394
  .date-title:hover::after {
395
    opacity: 0.8; }
396

  
397
.date-picker {
398
  position: absolute;
399
  background: #FAFAFA;
400
  border: 1px solid #d0d0d0;
401
  box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.04);
402
  padding: 1ex 4ex;
403
  left: 0;
404
  top: 3ex;
405
  z-index: 100; }
406
  .date-picker button, .date-picker select {
407
    font-size: 1rem; }
408
  .date-picker::before {
409
    position: absolute;
410
    content: "";
411
    display: block;
412
    width: 1ex;
413
    height: 1ex;
414
    border: 1px solid #d0d0d0;
415
    border-width: 1px 0 0 1px;
416
    top: -0.6ex;
417
    left: 5rem;
418
    background: #FAFAFA;
419
    transform: rotate(45deg); }
420

  
421
ul#id_weekdays {
422
  margin: 0;
423
  padding: 0;
424
  list-style: none;
425
  max-width: 42em; }
426
  ul#id_weekdays li {
427
    margin: 0;
428
    padding: 0;
429
    display: inline-block;
430
    width: 10em; }
431
-