aboutsummaryrefslogtreecommitdiff
path: root/assets/css/_relive.less
blob: aaa6de620d1b766006847da50f347e9cb5c39142 (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
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;
			}
			
			//Change play button color from #FFF to grey.
			.player-poster[data-poster] .play-wrapper[data-poster] svg path {
				fill: #ccc; 
			}
			
			//Change loading indicator color from #FFF to grey.
			.spinner-three-bounce[data-spinner] > div {
				background-color: #ccc;
			}
			
		}
	}

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