MDL-38016 Themes - Add a bootstrap theme to core
[moodle.git] / theme / bootstrap / 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}
7.continuebutton {
8 text-align: center;
9}
10
11input[name="searchwikicontent"] + input[type="submit"],
12select + input[type="submit"],
13input[type="text"] + input[type="button"],
14input[type="password"] + input[type="submit"],
15input[type="text"] + button,
16input[type="text"] + input[type="submit"] {
17 margin: 0 0 10px 5px;
18}
19p.arrow_button {
20 margin-top: 5em;
21 text-align: center;
22 #remove {
23 margin: 3em auto 5em;
24 }
25 input {
26 .btn-block;
27 }
28}
29#addcontrols {
30 margin-top: 5em;
31 text-align: center;
32 margin-bottom: 3em;
33}
34#addcontrols input,
35#removecontrols input {
36 .btn-block;
37}
38
39button,
40input.form-submit,
41input[type="button"],
42input[type="submit"],
43input[type="reset"],
44{
45 .btn
46}
47button.yui3-button.closebutton,
48button.yui3-button.closebutton:hover {
49 background-position: 0 0;
50 // Because we assign button looks to every button tag above,
51 // we need to remove some styles from non-standard looking
52 // buttons. Correct fix, assign .btn class to every actual
53 // button in Moodle so we don't need to carpet bomb the
54 // bare button tag.
55}
56
57input.fp-btn-choose {
58 .btn-small;
59}
60.user-enroller-panel .uep-search-results .user .options .enrol {
61 .btn-mini
62}