MDL-69240 tool_moodlenet: Clean MoodleNet profile field
[moodle.git] / filter / mediaplugin / styles.css
CommitLineData
fcd2cbaf
PS
1/**
2 * Filters
3 */
fab11235 4.mediaplugin {
bc33e9bd
DP
5 display: block;
6 margin-top: 5px;
7 margin-bottom: 5px;
8 text-align: center;
57bfb7c3 9}
fce0f1c2 10
57bfb7c3
DW
11.mediaplugin,
12.mediaplugin video {
fce0f1c2 13 /* Make videos as wide as possible without being wider than their containers */
8a664a65 14 width: 100%;
fce0f1c2 15 max-width: 100%;
8a802c90 16}
fcd2cbaf 17
fab11235
MG
18.mediaplugin > div {
19 margin: auto;
8a802c90 20}
8b6dcb04 21
3b7ef988
KO
22/* This is needed to display videos in an adequate size and without too much space
23 withing the specific mod assign table views. */
24.path-mod-assign .gradingtable .mediaplugin,
25.path-mod-assign .submissionsummarytable .mediaplugin {
26 width: 400px;
27 height: auto;
28}
29
8b6dcb04
MA
30/* Make media plugin behave properly in mod summaries and labels */
31.mod-indent-outer .mediaplugin {
32 display: table-cell;
33}