mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-64450 mod_lesson: Update the css for lesson forms
* Reduce the width for the mediaplugin when displayed in forms * Correct the css to exclude mediaplugin when applying styles
This commit is contained in:
parent
be521ca625
commit
f0f73daeb9
4 changed files with 25 additions and 9 deletions
|
@ -169,6 +169,11 @@ div.backup-section + form {
|
|||
direction: ltr;
|
||||
}
|
||||
|
||||
// Reduce the mediaplugin width when using inside forms.
|
||||
.que.match .mediaplugin {
|
||||
width: 50vw;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
#page-admin-grade-edit-scale-edit .error input#id_name {
|
||||
margin-right: 170px;
|
||||
|
|
|
@ -14949,6 +14949,9 @@ div.backup-section + form {
|
|||
text-align: left;
|
||||
direction: ltr; }
|
||||
|
||||
.que.match .mediaplugin {
|
||||
width: 50vw; }
|
||||
|
||||
/* rtl:ignore */
|
||||
#page-admin-grade-edit-scale-edit .error input#id_name {
|
||||
margin-right: 170px; }
|
||||
|
|
|
@ -48,17 +48,23 @@ form {
|
|||
display: none;
|
||||
}
|
||||
|
||||
// MDL-63512 Override to handle issues in clean where the video styling is off.
|
||||
.mform .fitem .fitemtitle {
|
||||
div {
|
||||
& > div:not(.mediaplugin) div {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
// MDL-63512 Override to handle issues in clean where the video styling is off.
|
||||
.mediaplugin,
|
||||
.mediaplugin div {
|
||||
display: block;
|
||||
// MDL-64450 Override for videos so they don't appear off the screen.
|
||||
.mediaplugin > div {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Reduce the mediaplugin width when using inside forms.
|
||||
.que.match .mediaplugin {
|
||||
width: 50vw;
|
||||
}
|
||||
|
||||
#adminsettings .error,
|
||||
.loginpanel .error,
|
||||
.mform .error {
|
||||
|
|
|
@ -16601,12 +16601,14 @@ form {
|
|||
.jsenabled .mform .collapsed .fcontainer {
|
||||
display: none;
|
||||
}
|
||||
.mform .fitem .fitemtitle div {
|
||||
.mform .fitem .fitemtitle > div:not(.mediaplugin) div {
|
||||
display: inline;
|
||||
}
|
||||
.mform .fitem .fitemtitle .mediaplugin,
|
||||
.mform .fitem .fitemtitle .mediaplugin div {
|
||||
display: block;
|
||||
.mform .fitem .fitemtitle .mediaplugin > div {
|
||||
margin: 0;
|
||||
}
|
||||
.que.match .mediaplugin {
|
||||
width: 50vw;
|
||||
}
|
||||
#adminsettings .error,
|
||||
.loginpanel .error,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue