weekly release 3.0dev
[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
321e7cb5
GB
15.btn-lineup {
16 margin: 0 0 10px 5px;
17}
8903b17b
BB
18input[name="searchwikicontent"] + input[type="submit"],
19select + input[type="submit"],
20input[type="text"] + input[type="button"],
21input[type="password"] + input[type="submit"],
22input[type="text"] + button,
23input[type="text"] + input[type="submit"] {
321e7cb5 24 .btn-lineup
8903b17b
BB
25}
26p.arrow_button {
27 margin-top: 5em;
28 text-align: center;
29 #remove {
30 margin: 3em auto 5em;
31 }
32 input {
33 .btn-block;
34 }
35}
36#addcontrols {
70a0ae96
FM
37 // The margin top is equal the combination of the line-height and margin of a <p>,
38 // because the visual parent is a <p>.
39 margin-top: @baseLineHeight + (@baseLineHeight / 2);
8903b17b
BB
40 text-align: center;
41 margin-bottom: 3em;
70a0ae96
FM
42 label {
43 display: inline;
44 }
8903b17b
BB
45}
46#addcontrols input,
47#removecontrols input {
48 .btn-block;
70a0ae96
FM
49 margin-right: auto;
50 margin-left: auto;
8903b17b
BB
51}
52
53button,
54input.form-submit,
55input[type="button"],
56input[type="submit"],
321e7cb5 57input[type="reset"]
8903b17b
BB
58{
59 .btn
60}
321e7cb5
GB
61button,
62input.form-submit,
63input[type="button"],
64input[type="submit"],
65input[type="reset"]
66{
67 .btn-lineup
68}
8903b17b
BB
69button.yui3-button.closebutton,
70button.yui3-button.closebutton:hover {
71 background-position: 0 0;
72 // Because we assign button looks to every button tag above,
73 // we need to remove some styles from non-standard looking
74 // buttons. Correct fix, assign .btn class to every actual
75 // button in Moodle so we don't need to carpet bomb the
76 // bare button tag.
77}
78
79input.fp-btn-choose {
80 .btn-small;
81}
82.user-enroller-panel .uep-search-results .user .options .enrol {
83 .btn-mini
84}
b6548192
MG
85.user-enroller-panel .uep-search-results .cohort .options .enrol {
86 .btn-mini
87}