weekly on-sync release 2.6dev
[moodle.git] / theme / bootstrapbase / less / moodle / buttons.less
CommitLineData
8903b17b
BB
1.singlebutton div {
2 display: inline-block;
3 margin-left: 5px;
4 margin-right: 5px;
5 margin-bottom: 5px;
6}
c57a8830
DS
7// Two singlebutton's side by side for ok/cancel.
8#notice .buttons .singlebutton {
9 display: inline-block;
10}
8903b17b
BB
11.continuebutton {
12 text-align: center;
13}
14
15input[name="searchwikicontent"] + input[type="submit"],
16select + input[type="submit"],
17input[type="text"] + input[type="button"],
18input[type="password"] + input[type="submit"],
19input[type="text"] + button,
20input[type="text"] + input[type="submit"] {
21 margin: 0 0 10px 5px;
22}
23p.arrow_button {
24 margin-top: 5em;
25 text-align: center;
26 #remove {
27 margin: 3em auto 5em;
28 }
29 input {
30 .btn-block;
31 }
32}
33#addcontrols {
34 margin-top: 5em;
35 text-align: center;
36 margin-bottom: 3em;
37}
38#addcontrols input,
39#removecontrols input {
40 .btn-block;
41}
42
43button,
44input.form-submit,
45input[type="button"],
46input[type="submit"],
47input[type="reset"],
48{
49 .btn
50}
51button.yui3-button.closebutton,
52button.yui3-button.closebutton:hover {
53 background-position: 0 0;
54 // Because we assign button looks to every button tag above,
55 // we need to remove some styles from non-standard looking
56 // buttons. Correct fix, assign .btn class to every actual
57 // button in Moodle so we don't need to carpet bomb the
58 // bare button tag.
59}
60
61input.fp-btn-choose {
62 .btn-small;
63}
64.user-enroller-panel .uep-search-results .user .options .enrol {
65 .btn-mini
66}