aboutsummaryrefslogtreecommitdiff
path: root/assets/css/_structure.less
blob: 836de2bd8c9483c0445abebd2f62d0e284f4be36 (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
107
108
109
110
111
112
113
114
115
116
117
@import "fa/font-awesome.less";
@import "_bootstrap-selection.less";
@import "_mejs_hacks.less";
@import "_footer.less";

@img: '../img';

@grid-float-breakpoint:     @screen-xs-min;

@jumbo-font-size:    52px;
@jumbo-font-size-xs: 2.5em;
@jumbo-line-height:  45px;

@schedule-now:       @brand-danger;
@schedule-now-bg:    fade(lighten(@brand-danger, 5%), 60%);
@schedule-border:    lighten(@brand-primary, 50%);

@schedule-room:      darken(@brand-primary, 15%);
@schedule-author:    #444;

@schedule-selected-room: lighten(@brand-success, 10%);

@schedule-daychange:    darken(@brand-primary, 20%);
@schedule-daychange-bg: fade(white, 30%);

@schedule-gap:          darken(@brand-primary, 20%);
@schedule-gap-bg:       fade(white, 30%);

@schedule-pause:        white;
@schedule-pause-bg:     lighten(black, 85%);


// website configuration styles

nav {
	.navbar-brand {
		line-height: 27px;

		.icon {
			background-repeat: no-repeat;
			background-image: url("@{img}/tv.png");

			float: left;
			display: block;
			width: 27px;
			height: 27px;
			margin-right: @padding-base-horizontal;
		}

		.icon when (luma(@navbar-default-bg) > 50%) {
			background-image: url("@{img}/tv-inverse.png");
		}
	}
	
	.button-wrapper > .btn {
		width: 40px;
	}
}

body {
	padding: 50px 0 30px 0;

	@media (max-width: @grid-float-breakpoint) {
		padding: 120px 0 30px 0;
	}
}


@media (max-width: @screen-sm-min) {
	nav {
		position: absolute !important;
	}

	footer {
		display: none;
	}
}

body.overview {
	@import "_overview.less";
}
body.room {
	@import "_room.less";
}
body.relive {
	@import "_relive.less";
}
body.relive-player {
	@import "_relive_player.less";
}

body.e404 {
	> .container {
		text-align: center;
		h1 {
			font-size: @jumbo-font-size;
			margin: 50px 0 50px 0;
		}

		img {
			background-color: @brand-primary;
			max-width: 80%;
		}
	}
}

body.feedback {
	.feedback-thankyou {
		font-size: @jumbo-font-size;
		text-align: center;
		padding: 30px;

		display: none;

		.well();
	}
}