aboutsummaryrefslogtreecommitdiff
path: root/assets/css/_program.less
blob: 8c528a9eeb8d317da477777e8fe22635b1b97fcd (plain)
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
.program {
	&.scroll-container {
		overflow: hidden;
		overflow-x: scroll;
	}

	.scroll-element {
		position: relative;
	}

	.room {
		overflow: hidden;
	}

	.now {
		position: absolute;
		left: 0;
		width: 150px;
		height: 500px;
		background-color: @program-now-bg;
		font-size: 14px;

		//z-index: -5;

		span {
			display: block;
			position: absolute;
			right: -28px;
			color: @program-now;
		}
	}

	.block {
		overflow: hidden;
		float: left;
		height: 100px;

		/* and now for small screens: */
		@media (max-width: @screen-xs-max) {
			height: 75px;
		}


		padding: 10px;
		border: 1px solid @program-border;

		h3 {
			margin: 0;
			padding: 0;
			font-size: 18px;

			/* and now for small screens: */
			@media (max-width: @screen-xs-max) {
				font-size: 16px;
			}
		}

		h4 {

			margin: 3px 0;
			color: @program-room;
			font-size: 14px;

			@media (max-width: @screen-xs-max) {
				font-size: 15px;
			}

			a {
				color: @program-room;
			}
		}

		h5 {
			@media (max-width: @screen-xs-max) {
				margin: 0;
			}

			color: @program-author;
		}

		&.event h3 {
			overflow: hidden;
		}

		&.gap {
			background-image: url("@{img}/stripes/gap.png");
			background-color: @program-gap-bg;
			color: @program-gap;
		}

		&.daychange { 
			background-image: url("@{img}/stripes/gap.png");
			background-color: @program-daychange-bg;
			color: @program-daychange;
		}

		&.pause {
			background-color: @program-pause-bg;
			color: @program-pause;
		}
	}

	.room.highlight .block {
		background-color: @program-selected-room;
	}
}