Browse files

MDL-38566 form: Misaligned elements in RTL

  • Loading branch information...
FMCorz committed Mar 22, 2013
1 parent 373a8e0 commit 0ae903bd5f5006d850c12160efc26a3a4eab367a
Showing with 3 additions and 2 deletions.
  1. +3 −2 theme/base/style/core.css
@@ -232,27 +232,28 @@ a.skip:active {position: static;display: block;}
.mform fieldset {border:1px solid;}
.mform fieldset fieldset {border-width:0;}
-.mform fieldset legend {font-weight:bold;margin-left:0.5em;}
+.mform fieldset legend {font-weight:bold;margin-left:0.5em;padding: 0 0.35em;}
.mform fieldset div {margin:10px;margin-top:0;}
.mform fieldset div div {margin:0;}
.mform fieldset .advancedbutton {text-align:right;}
.mform fieldset.hidden {border-width:0;}
.mform {margin-bottom: 0}
.mform fieldset.error {border: 1px solid #A00;}
-.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;}
+.dir-rtl .mform .fitem .fitemtitle {text-align: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}
.mform .error,
.mform .required {color:#A00;}
.mform .required .fgroup span label {color:#000;}
.mform .fdescription.required {color:#A00;text-align:right;}
+.dir-rtl .mform .fdescription.required {text-align:left;}
.mform .fpassword .unmask {display:inline;margin-left:0.5em;}
.mform .ftextarea #id_alltext {width: 100%;}
.mform ul.file-list {padding:0;margin:0;list-style:none;}

0 comments on commit 0ae903b

Please sign in to comment.