mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-38453 form: RTL styles for short forms
This commit is contained in:
parent
0b8bb3fe5f
commit
9d325e60ae
1 changed files with 11 additions and 5 deletions
|
@ -231,7 +231,7 @@ a.skip:active {position: static;display: block;}
|
|||
* Mforms
|
||||
*/
|
||||
.mform fieldset {border:1px solid;}
|
||||
.mform fieldset fieldset {border-width:0px;}
|
||||
.mform fieldset fieldset {border-width:0;}
|
||||
.mform fieldset legend {font-weight:bold;margin-left:0.5em;}
|
||||
.mform fieldset div {margin:10px;margin-top:0;}
|
||||
.mform fieldset div div {margin:0;}
|
||||
|
@ -239,16 +239,16 @@ a.skip:active {position: static;display: block;}
|
|||
.mform fieldset.hidden {border-width:0;}
|
||||
.mform fieldset.group {margin-bottom: 0}
|
||||
.mform fieldset.error {border: 1px solid #A00;}
|
||||
.mform fieldset.collapsible legend a.fheader {padding: 0 5px 0 20px; background: url([[pix:t/expanded]]) 2px center no-repeat;}
|
||||
.mform fieldset.collapsed legend a.fheader {background: url([[pix:t/collapsed]]) 2px center no-repeat;}
|
||||
.jsenabled .mform fieldset.collapsed {border-width: 1px 0 0 0; padding: 0;}
|
||||
.mform fieldset legend {padding: 0 0.35em;}
|
||||
.mform fieldset.collapsible legend a.fheader {padding-left: 18px; background: url([[pix:t/expanded]]) left center no-repeat;}
|
||||
.mform fieldset.collapsed legend a.fheader {background-image: url([[pix:t/collapsed]]);}
|
||||
.jsenabled .mform fieldset.collapsed {border-width: 1px 0 0 1px; padding: 0; border-color: transparent;}
|
||||
.jsenabled .mform fieldset.collapsed div.fcontainer {display: none;}
|
||||
.mform .fitem {width:100%;overflow:hidden;margin-top:5px;margin-bottom:1px;clear:right;}
|
||||
.mform .fitem .fitemtitle {width:15%;text-align:right;float:left;}
|
||||
.mform .fitem .fitemtitle div {display: inline;}
|
||||
.mform .fitem .felement {border-width: 0;width:80%;margin-left:16%;}
|
||||
.mform .fitem fieldset.felement {margin-left:15%;padding-left:1%;margin-bottom:0}
|
||||
.dir-rtl .mform .fitem fieldset.felement {padding-right: 1%;margin-right: 15%;}
|
||||
.mform .error,
|
||||
.mform .required {color:#A00;}
|
||||
.mform .required .fgroup span label {color:#000;}
|
||||
|
@ -274,6 +274,12 @@ a.skip:active {position: static;display: block;}
|
|||
.dir-rtl .urlselect label,
|
||||
.dir-rtl .singleselect label { margin-left: .3em; margin-right: 0; }
|
||||
|
||||
.dir-rtl .mform fieldset legend {margin-right:0.5em; margin-left: 0;}
|
||||
.dir-rtl .mform fieldset.collapsible legend a.fheader {background-position: right center; padding-right: 18px; padding-left: 0;}
|
||||
.dir-rtl .mform fieldset.collapsed legend a.fheader {background-image: url([[pix:t/collapsed_rtl]]); }
|
||||
.dir-rtl.jsenabled .mform fieldset.collapsed {border-width: 1px 1px 0 0; }
|
||||
.dir-rtl .mform .fitem fieldset.felement {padding-right: 1%;margin-right: 15%;}
|
||||
|
||||
input#id_externalurl {direction:ltr;}
|
||||
|
||||
/** Browser corrections for mforms **/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue