resource_scheduler.less 11.7 KB
Newer Older
Tyler Lemburg's avatar
Tyler Lemburg committed
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
@charset "UTF-8";
@import "lib/lesshat.less";
@import "lib/breakpoints.less";
@import "lib/colors.less";
@import "lib/fonts.less";
@import "lib/eventicon-embedded.less";

.sans-serif-font() {
    font-family: "Gotham SSm A", "Gotham SSm B", Verdana, "Verdana Ref", Geneva, Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.clearfix:after {
   content: " "; /* Older browsers do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.wdn-grid-set.reverse > [class*=wdn-col] {
	float: right;
}

26
27
28
29
.wdn-button-small {
	font-size: 80%;
}

30
31
32
33
34
35
.tooltip {
	> div {
	    position: absolute;
	    background-color: #fff;
	    color: #000;
	    box-shadow: 0px 1px 4px RGBA(0,0,0,0.2);
Spencer McCoy's avatar
Spencer McCoy committed
36
        padding: 1em .75em;
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
	    bottom: 160%;
	    left: -91px;
	    width: 200px;
	    text-align: left;
	    z-index: 250;
	    font-size: .8em;
	}

	> div:before {
	    background-color: white;
	    content: "";
	    display: block;
	    width: 15px; 
	    height: 15px; 
	    position: absolute;
	    bottom: -8px;
	    left: 50%;
	    margin-left: -7px;
	    transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	    -o-transform: rotate(45deg);
	    -moz-transform: rotate(45deg);
	    -webkit-transform: rotate(45deg);
	    box-shadow: 0px 0px 4px RGBA(0,0,0,0.25);
	}

	> div:after {
	    content:"";
	    height: 12px;
	    width: 40px;
	    background-color: #fff;
	    display: block;
	    position: absolute;
	    bottom: 0px;
	    left: 50%;
	    margin-left: -24px;
	}

	div.close {
		position: absolute;
		top: 0;
		right: 0;
		padding-right: .5em;
		font-size: 1.5em;
	}

	&.hang-right > div {
	    left: -27px;
	}

	&.hang-left > div {
Spencer McCoy's avatar
Spencer McCoy committed
88
	    left: -37px;
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
	}

	&.hang-right > div:before {
	    left: 34px;
	    margin-left: -7px;
	}

	&.hang-right > div:after {
	    left: 34px;
	    margin-left: -24px;
	}

	&.hang-left > div:before {
	    left: 166px;
	    margin-left: -7px;
	}

	&.hang-left > div:after {
	    left: 166px;
	    margin-left: -24px;
	}

Spencer McCoy's avatar
Spencer McCoy committed
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
	&.hang-below > div:before {
	    top: -8px;
	    bottom: auto;
	}

	&.hang-below > div:after {
	    top: 0px;
	    bottom: auto;
	}


	&.hang-above {
	    top: -1em;
	}

	&.hang-below {
	    bottom: 0;
	    margin-bottom: -8em;
	}

131
132
133
    display: none;
    text-align: center;
    font-size: 0.85em;
134
    line-height: 1.3em;
Spencer McCoy's avatar
Spencer McCoy committed
135
    position: absolute;
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
    font-size: .8125rem;
    ul li {
	    margin-bottom: .75em;
	}

	span.heading {
	    font-family: "Tungsten A","Tungsten B",HelveticaNeueCondensed,HelveticaNeue-Condensed,"Helvetica Neue Condensed",HelveticaNeueRomanCondensed,HelveticaNeue-Roman-Condensed,"Helvetica Neue Roman Condensed","Arial Narrow",HelveticaNeue,"Helvetica Neue",HelveticaNeueRoman,HelveticaNeue-Roman,"Helvetica Neue Roman",Helvetica,Tahoma,Geneva,Arial,sans-serif;
	    font-size: 1.777em;
	}

	p {
	    margin: 0;
	}

	&.italic *, .italic {
	    font-style: italic;
	}
}

Tyler Lemburg's avatar
Tyler Lemburg committed
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
#pagetitle h3 {
	margin-top: 0;
}

#maincontent form {

	fieldset {
		margin: 0;
		margin-bottom: 1em;
	}
	legend {
	    font-size: 1.5em;
	    margin-top: 0.5em;
	    margin-bottom: 1em;
	    padding-bottom: 0;
	}
	&.delete-form, &.inline-form {
	    display: inline;
	    padding: 0;
	}
	input {
	  	word-wrap: normal;
	  	&[disabled] {
	  		background: #CCCCCC;
	  	}
	}
	textarea {
		resize: vertical;
	}
	.helper {
		font-family: "Gotham SSm A","Gotham SSm B",Verdana,"Verdana Ref",Geneva,Tahoma,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",sans-serif;
	}

	.offset-field-group {
		background: @dark-triad;
		border-radius: .5em;
		padding: 1em;
		label {
			color: @cream;
		}
	}
}

.table-actions {
	a, button {
		vertical-align: middle;
	}
}

204
205
206
207
208
209
210
.space-image {
    background: lighten(@light-triad, 20%);
    border-radius: 1em;
    border: 1px solid @dark-triad;
    padding: 1em;
}

Tyler Lemburg's avatar
Tyler Lemburg committed
211
212
213
214
#notice .message-content a {
	text-decoration: underline;
}

Spencer McCoy's avatar
Spencer McCoy committed
215
label.day-header {
Spencer McCoy's avatar
Spencer McCoy committed
216
    width: 20%;
Spencer McCoy's avatar
Spencer McCoy committed
217
218
219
220
221
222
223
224
225
226
227
228
    display: block;
    float: left;
    text-align: center;
	font-family: "Gotham SSm A","Gotham SSm B",Verdana,"Verdana Ref",Geneva,Tahoma,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",sans-serif;
}

.day-label-container {
    height: 2.5em;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    background-color: #d8d8d8;
Spencer McCoy's avatar
Spencer McCoy committed
229
230
231
    padding: .5em 46px 0 10%;
	@media only screen and (min-width : 900px) {padding: .5em 46px 0 7.5%;}
	@media only screen and (min-width : 1200px) {padding: .5em 46px 0 5%;}
Spencer McCoy's avatar
Spencer McCoy committed
232
233
234
235
236
237
238
}

.calendar {
	overflow: hidden;
	width: 100%;
}

Tyler Lemburg's avatar
Tyler Lemburg committed
239
.calendar-container {
Spencer McCoy's avatar
Spencer McCoy committed
240
	clear:both;
Tyler Lemburg's avatar
Tyler Lemburg committed
241
242
243
	font-family: "Gotham SSm A","Gotham SSm B",Verdana,"Verdana Ref",Geneva,Tahoma,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",sans-serif;
	width: 100%;
	text-align: center;
Spencer McCoy's avatar
Spencer McCoy committed
244
245
246
247
248
	overflow-y: scroll;
    overflow-x: hidden;
    height: 532px;
    padding: 0 1em 0 0;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2);
Tyler Lemburg's avatar
Tyler Lemburg committed
249
250
251
	.time-labels {
		font-size: 80%;
		.calendar-half-hour {
Spencer McCoy's avatar
Spencer McCoy committed
252
253
254
255
256
257
258
			padding-right: .1em;
			position: relative;
			&,
			&:nth-child(2n), 
			&:nth-child(2n+1) {
				border-bottom: none;
			}
Spencer McCoy's avatar
Spencer McCoy committed
259
260
261
			&:first-child {
				border-top: none;
			}
Spencer McCoy's avatar
Spencer McCoy committed
262
263
264
265
266
267
			label {
				display: block;
			    position: relative;
			    top: -.9em;
			    right: .3em;
			}
Tyler Lemburg's avatar
Tyler Lemburg committed
268
269
		}
		text-align: right;
Spencer McCoy's avatar
Spencer McCoy committed
270
		float: left;
Spencer McCoy's avatar
Spencer McCoy committed
271
272
273
		width: 10%;
		@media only screen and (min-width : 900px) {width: 7.5%;}
		@media only screen and (min-width : 1200px) {width: 5%;}
Spencer McCoy's avatar
Spencer McCoy committed
274
275
        border-right: solid 1px #d5d5d2;
        text-align: right;
Tyler Lemburg's avatar
Tyler Lemburg committed
276
	}
Spencer McCoy's avatar
Spencer McCoy committed
277

Tyler Lemburg's avatar
Tyler Lemburg committed
278
279
280
281
282
283
	.calendar-day {
		.day-chart {
			position: relative;
		}
		vertical-align: bottom;
		text-align: center;
Spencer McCoy's avatar
Spencer McCoy committed
284
		float: left;
Spencer McCoy's avatar
Spencer McCoy committed
285
286
287
288
		width: 18%;
		@media only screen and (min-width : 900px) {width: 18.5%;}
		@media only screen and (min-width : 1200px) {width: 19%;}
        
Spencer McCoy's avatar
Spencer McCoy committed
289
        border-right: solid 1px #d5d5d2;
Tyler Lemburg's avatar
Tyler Lemburg committed
290
		&:last-child {
Spencer McCoy's avatar
Spencer McCoy committed
291
			margin-right: 0;
Tyler Lemburg's avatar
Tyler Lemburg committed
292
		}
Spencer McCoy's avatar
Spencer McCoy committed
293
294
295
	}
	.calendar-half-hour {
		height: 28px;
Tyler Lemburg's avatar
Tyler Lemburg committed
296
		&:nth-child(2n) {
Spencer McCoy's avatar
Spencer McCoy committed
297
298
299
300
			border-bottom: 1px solid #c1c0be;
		}
		&:nth-child(2n+1) {
			border-bottom: 1px solid #eae9e6;
Tyler Lemburg's avatar
Tyler Lemburg committed
301
		}
Spencer McCoy's avatar
Spencer McCoy committed
302
303
304
		&:first-child {
			border-top: solid 1px #d5d5d2;
		}
Tyler Lemburg's avatar
Tyler Lemburg committed
305
	}
Spencer McCoy's avatar
Spencer McCoy committed
306
307

	.event-container {
Tyler Lemburg's avatar
Tyler Lemburg committed
308
		position: absolute;
Spencer McCoy's avatar
Spencer McCoy committed
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
		width: 100%;
		z-index: 2;
	}

	.event, .reservation {
	    cursor: pointer;
	    text-overflow: ellipsis;
	    color: #fff;
		background: #137CBD;
		border-left: 3px solid #2a5875;
	    width: 100%;
	    font-size: 60%;
	    padding: 0.15em .25em;
	    white-space: nowrap;
        overflow: hidden;
	    box-shadow: 0px 1px 3px RGBA(0,0,0,.3);
        line-height: 1.5em;
    	font-size: 1em;
	    p {
			margin: 0;
			&.eventicon-clock {
	  			line-height: 0.25em;
    			font-size: 0.5em;
			}
	    }
Tyler Lemburg's avatar
Tyler Lemburg committed
334
335
336
337
338
339
340
		&.new-member-orientation {
			background: #FFFFB8;
			border-color: darken(#FFFFB8, 50%);
		}
		&.free-event {
			background: #F8F8F8;
			border-color: darken(#F8F8F8, 50%);
Spencer McCoy's avatar
Spencer McCoy committed
341
		    color: #454545;
Tyler Lemburg's avatar
Tyler Lemburg committed
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
		}
		&.machine-training {
			background: #58CC2F;
			border-color: darken(#58CC2F, 20%);
		}
		&.rsvp-only-event {
			background: #FFA6F5;
			border-color: darken(#FFA6F5, 50%);
		}
		&.top-overflow {
			border-top: none;
			border-top-left-radius: 0px;
			border-top-right-radius: 0px;
		}
		&.bottom-overflow {
			border-bottom: none;
			border-bottom-left-radius: 0px;
			border-bottom-right-radius: 0px;
		}
		&.editing {
			border-style: dashed;
			opacity: .7;
		}
		a {
			color: initial;
			&:hover {
				text-decoration: underline;
			}
		}
Spencer McCoy's avatar
Spencer McCoy committed
371
372
373
		&.past {
			opacity: .5;
		}
Tyler Lemburg's avatar
Tyler Lemburg committed
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
	}
	.status {
		position: absolute;
		background: gray;
		width: 100%;
		opacity: .5;
		&.closed {
			background-color: darken(#AAAAAA, 40%)
		}
		&.open-without-reservations {
			background-color: lighten(#137cbd, 30%);
		}
	}
}

.calendar-container.individual-day {
	background-color: #f9f8f5;
    border: 1px solid #d5d5d2;
	.time-labels {
393
394
395
396
	    width: 15%;
	    @media only screen and (max-width : 600px) {width: 20%;}
	    @media only screen and (min-width : 900px) {width: 10%;}
	    
Tyler Lemburg's avatar
Tyler Lemburg committed
397
398
	}
	.calendar-day {
399
400
401
402
	    width: 80%;
		@media only screen and (max-width : 600px) {width: 75%;}
		@media only screen and (min-width : 900px) {width: 85%;}
		
Tyler Lemburg's avatar
Tyler Lemburg committed
403
	}
Spencer McCoy's avatar
Spencer McCoy committed
404
405
406
407
	.day-header {
		width: 100%;
	    padding: 0.25em 0.75em;
	}
Tyler Lemburg's avatar
Tyler Lemburg committed
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
}

.event-details {
    margin-bottom: 1em;
    padding: 0 23px 1.777em;
    padding: 0 1.425rem 1.777em;
    border-top: 5px solid #D00000;
    background-color: #fff;
    box-shadow: 0 0 0 1px fadeout(mix(#000, @cream, 92%), 90%);

    .date-wrapper,
    .time-wrapper,
    .location,
    .contact {
        display: block;
        .sans-serif-font();
        font-size: 13px;
        font-size: 0.802rem;

        &:before {
            color: @ui05;
        }
    }

    .description {
        margin: 1em 0 0;
        padding-top: 1em;
        border-top: 1px solid mix(#000, @cream, 24%);
    }
}

.toolbox, .visual-island {
    background: #f9f8f5;
    margin-bottom: 1em;
    word-wrap: break-word;
	padding: 0 !important;
	.tools, .details {
		padding: 1em;
		border-left: 1px solid #d5d5d2;
		border-right: 1px solid #d5d5d2;
		border-bottom: 1px solid #d5d5d2;
		&.top-border {
			border-top: 1px solid #d5d5d2;
		}
	}
    h1, h2, h3, h4, h5, h6, .vi-header{
		display: block;
		font-size: .802em !important;
		margin: 0;
		border-bottom: 1px solid #474746;
		font-family: "Gotham SSm A","Gotham SSm B",Verdana,"Verdana Ref",Geneva,Tahoma,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",sans-serif;
		width: 100%;
		background-color: #474746;
		padding: 1em;
		text-transform: uppercase;
		color:#fff;
		font-weight: 400;
		font-style: normal;
		text-align: center;
	}
	p {
		padding: 0 1em 1em 1em;
	}
	ul {
		padding: 0;
		padding-left: 1em;
		margin: 0;
	    a {
	    	border-bottom: none;
	    	font-family: "Gotham SSm A","Gotham SSm B",Verdana,"Verdana Ref",Geneva,Tahoma,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",sans-serif;
	    }
	}
}

.event-list {
    background-color: #eae9e6;
    font-size: 80%;
    line-height: 1.4;
    .center {
        text-align: center;
    }
    tbody tr {
        min-height: 30px;
    }
    ul {
        padding-left: 0;
        list-style-type: none;
    }
    li {
        padding: 5px 0;
    }
    li:not(:last-child) {
        border-bottom: 1px solid #999999;
    }
}

.date-time-select {
    padding: 1em;
    background-color: #f9f8f5;
    border: 1px solid #d5d5d2;
    margin-bottom: 0.75em;
    text-align: center;
    &.hours {
    	text-align: left;
    }
    .wdn-icon-calendar {
	    margin-right: -2.3em;
	    position: relative;
	    z-index: 2;
	    margin-left: 0.8em;
	}
	.am_pm {
	    display: inline-block;
	    font-family: "Gotham";
	    font-size: .75em;
	    margin-left: .75em;
	}
	input {
	    padding-left: 2.3em;
527
	    width: 90%;
Tyler Lemburg's avatar
Tyler Lemburg committed
528
529
530
531
	    position: relative;
	    text-align: center;
	}
	select {
532
	    width: 90%;
Tyler Lemburg's avatar
Tyler Lemburg committed
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
	    text-align: center;
	    padding: 0;
	}
	> * {
	  vertical-align: middle;
	}
}

/* for mobile-tablet-ish sizes */
@media (max-width: 767px) {
	.medium-hidden {
		display: none;
	}

	.medium-block {
		display: block !important;
	}

	.date-time-select {
		input {
		    width: 100%;
		}
		select {
		    width: 30%;
		    text-align: center;
		}
	}
Spencer McCoy's avatar
Spencer McCoy committed
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
}


.calendar-container	{
	.mCSB_scrollTools {
	    height: 95%;
	    margin-top: 1.5%;
	}
}
#nowLine {
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right,rgba(208, 0, 0, 0.5) 40%,rgba(255,255,255,0) 20%);
    background-position: top;
    background-size: 3px 1px;
    background-repeat: repeat-x;
	position: absolute;
	z-index: 1;
}

#nowArrow {
	content: "";
    position: absolute;
    height: 10px;
    width: 12px;
    background-image: url(/images/time-arrow.svg);
    left: -7px;
    margin-top: -5px;
    background-repeat: no-repeat;
    z-index: 3;
}