Skip to content

Commit

Permalink
MDL-27989 fix for MOODLE_21_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordan committed Jul 5, 2011
1 parent d64baec commit cc3e8c5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
3 changes: 2 additions & 1 deletion theme/base/style/core.css
Expand Up @@ -187,12 +187,13 @@ a.skip:active {position: static;display: block;}
.mform fieldset div div {margin:0;}
.mform fieldset .advancedbutton {text-align:right;}
.mform fieldset.hidden {border-width:0;}
.mform fieldset.group {margin-bottom: 0}
.mform fieldset.error {border: 1px solid #A00;}
.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:0;padding-left:1%;}
.mform .fitem fieldset.felement {margin-left:0;padding-left:1%;margin-bottom:0}
.mform .error,
.mform .required {color:#A00;}
.mform .required .fgroup span label {color:#000;}
Expand Down
14 changes: 4 additions & 10 deletions theme/canvas/style/core.css
Expand Up @@ -175,7 +175,7 @@ input[type="radio"] {
margin-left: 21%;
}

/* Calendar
/* Calendar
-----------------------*/

.calendarlayout .sidecalendar {
Expand Down Expand Up @@ -450,7 +450,7 @@ input[type="radio"] {
text-align: center;
}

/* Blogs
/* Blogs
------------------------*/

.blog_entry .audience {
Expand All @@ -463,7 +463,7 @@ input[type="radio"] {
margin-bottom: 0.5em;
}

/* Tags
/* Tags
------------------------*/

#big-tag-cloud-box {
Expand Down Expand Up @@ -556,7 +556,7 @@ input[type="radio"] {
padding-top: 30px;
}

/* Forms
/* Forms
-----------------------*/

.mform .fsubmit {
Expand All @@ -574,12 +574,6 @@ input[type="radio"] {
color: #444;
}

.mform .hidden .fitem .fgroup {
width: 100%;
text-align: center;
margin: 1em 0;
}

.path-backup .mform .hidden .fitem .fgroup {
text-align: left;
}
Expand Down
17 changes: 12 additions & 5 deletions theme/formal_white/style/core.css
Expand Up @@ -116,9 +116,11 @@ input[type="radio"] {
margin: 0 auto;
text-align: left;
}

.dir-rtl .loginbox .loginform .form-label {
text-align: right;
}

.loginbox .loginform .form-input {
float: none;
width: 100%;
Expand Down Expand Up @@ -434,10 +436,15 @@ input[type="radio"] {
color: #444;
}

.mform .hidden .fitem .fgroup {
width: 100%;
text-align: center;
margin: 1em 0;
/* do not push the field far from the label more than all the other mform elements */
.mform .fitem input[type="text"],
.mform .fitem input[type="password"] {
margin: 0.3em 0 0.3em 0;
}

/* needed to vertically align label of mform groups containing, for instance, select and text */
.mform .fitem {
line-height:2.0em;
}

.path-backup .mform .hidden .fitem .fgroup {
Expand Down Expand Up @@ -553,4 +560,4 @@ input[type="radio"] {
.pagelayout-redirect #content {text-align:center;margin-top:10%;margin-bottom:10%;}

/* plugin compattable */
.plugincompattable {font-size:90%;}
.plugincompattable {font-size:90%;}

0 comments on commit cc3e8c5

Please sign in to comment.