forked from catalyst/moodle-filter_oembed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
78 lines (64 loc) · 1.62 KB
/
styles.css
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
.filter_oembed_docsdotcom iframe {
width: 100%;
height: 400px; }
.oembed-card {
position: relative;
min-height: 10em;
background-size: cover;
transition: all 0.4s ease-in-out; }
.oembed-card-title {
position: absolute;
top: 0;
color: #fff;
background-color: rgba(0, 0, 0, 0.8);
padding: 0.5em 0.5em; }
.oembed-content > *:first-child {
width: 100%; }
.oembed-content video {
height: auto; }
.btn.btn-link.oembed-card-play {
background-image: url([[pix:filter_oembed|play]]);
background-repeat: no-repeat;
position: absolute;
width: 15%;
top: 42.5%;
left: 42.5%;
padding-top: 15%;
margin: 0;
background-position: 0;
opacity: 0.9;
transition: all 0.4s ease-in-out;
filter: drop-shadow(1px 1px 1px #666); }
.btn.btn-link.oembed-card-play:hover {
background-position: 0;
filter: drop-shadow(0px 0px 0px #666);
opacity: 1; }
.oembed-responsive {
width: 100%;
display: block;
position: relative; }
.oembed-responsive > *:not(video):first-child {
position: absolute !important;
top: 0 !important;
bottom: 0 !important;
right: 0 !important;
left: 0 !important;
height: 100% !important;
width: 100% !important; }
.oembed-responsive-pad {
display: block; }
.oembed-provider-details {
font-size: 0.9em;
margin-top: 1em;
display: none; }
tr.oembed-provider-editing .oembed-provider-details {
display: block; }
tr.oembed-provider-editing .oembed-provider-actions {
display: none; }
.oembed-provider-actions {
float: right;
margin-right: 1em; }
#oembedproviders td.provider div.alert {
margin-top: 1em; }
.oembed-providersource {
font-size: 90%; }