Skip to content

Commit

Permalink
MDL-39820 theme_bootstrapbase: Fix form button alignment for badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jun 4, 2013
1 parent b6f8a93 commit 321e7cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
15 changes: 13 additions & 2 deletions theme/bootstrapbase/less/moodle/buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
text-align: center;
}

.btn-lineup {
margin: 0 0 10px 5px;
}
input[name="searchwikicontent"] + input[type="submit"],
select + input[type="submit"],
input[type="text"] + input[type="button"],
input[type="password"] + input[type="submit"],
input[type="text"] + button,
input[type="text"] + input[type="submit"] {
margin: 0 0 10px 5px;
.btn-lineup
}
p.arrow_button {
margin-top: 5em;
Expand All @@ -44,10 +47,18 @@ button,
input.form-submit,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="reset"]
{
.btn
}
button,
input.form-submit,
input[type="button"],
input[type="submit"],
input[type="reset"]
{
.btn-lineup
}
button.yui3-button.closebutton,
button.yui3-button.closebutton:hover {
background-position: 0 0;
Expand Down
6 changes: 5 additions & 1 deletion theme/bootstrapbase/less/moodle/expendable.less
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ td.submit input {
// override .btn-primary
#notice .singlebutton + .singlebutton input,
.submit.buttons input[name="cancel"] {
.btn;
.btn
}
#notice .singlebutton + .singlebutton input,
.submit.buttons input[name="cancel"] {
.btn-lineup
}
input[id$="_clearbutton"],
input[type="reset"] {
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 321e7cb

Please sign in to comment.