aboutsummaryrefslogtreecommitdiff
path: root/assets/css/_relive.less
blob: 21b0144ba5c94532f0258da9c3eb72598048b540 (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
body.relive {
	.recording {
		.preview {
			@media (max-width: @screen-xs-min) {
				margin-bottom: @padding-large-vertical;
			}

			@media (min-width: @screen-xs-min) {
				float: left;
				margin-right: @padding-base-horizontal;
			}
		}

		.metadata {
			list-style-type: none;
			padding-left: 0;
			margin-top: 5px;
			@media (min-width: @screen-xs-min) {
				margin-left: 213px;
			}

			li {
				padding: 5px 0;
			}
		}
	}
}

body.relive-player {
	.player-wrap {
		padding: 0;
		border: 1px solid #ddd;

		.video-wrap {
			margin: 0 auto;

			> [data-player] {
				// force 16:9 aspect ratio
				// https://gordonlesti.com/bootstrap-responsive-embed-aspect-ratio/
				padding-bottom: 56.25%;
				max-width: 100%;
				height: auto !important;
			}
		}
	}

	.well, .alert {
		h3 {
			margin-top: 0;
		}
	}
}