MDL-45076 theme_bootstrapbase: Select placement in participants page
[moodle.git] / theme / bootstrapbase / less / moodle / user.less
CommitLineData
8903b17b
BB
1/* user.less */
2.userprofile .fullprofilelink {
3 text-align: center;
4 margin: 10px;
5}
6.userprofile .description {
7 margin-bottom: 20px;
8}
9.userprofile dl.list {
10 .dl-horizontal;
11}
12.user-box {
13 margin: 8px;
14 width: 115px;
15 height: 160px;
16 text-align: center;
17 float: left;
18 clear: none;
19}
293a1894
NK
20.dir-rtl {
21 .userprofile .description {
22 margin-right:0;
23 }
24 .user-box {
25 float:right;
26 }
27 .userprofile dl.list dt {
28 float:right;
29 text-align: left;
30 padding-left: 10px;
31 }
32 .userprofile dl.list dd {
33 margin-left:0;
34 }
35}
3b42864d 36.userlist .action-icon img {
8903b17b
BB
37 vertical-align: middle;
38}
39.userlist #showall {
40 margin: 10px 0;
41}
42.userlist .buttons {
43 text-align: center;
44}
45.userlist .buttons label {
46 padding: 0 3px;
47}
48.userlist table#participants {
49 text-align: center;
50}
51.userlist table#participants td,
52.userlist table#participants th {
53 vertical-align: middle;
54 text-align: left;
55 padding: 4px;
56}
57.userlist table.controls {
58 width: 100%;
59}
60.userlist table.controls tr {
61 vertical-align: top;
62}
63.userlist table.controls td.right,
64.userlist table.controls td.left {
65 padding: 4px;
66}
67.userlist table.controls .right {
68 text-align: right;
69}
a71b1f13
FM
70.userlist table.controls .groupselector {
71 margin-bottom: 0;
72 margin-top: 0;
73}
74.userlist table.controls .groupselector label {
75 display: block;
76}
8903b17b
BB
77.userinfobox {
78 width: 100%;
79 border: 1px solid;
80 border-collapse: separate;
81 padding: 10px;
82}
83.userinfobox .left,
84.userinfobox .side {
85 width: 100px;
86 vertical-align: top;
87}
88.userinfobox .userpicture {
89 width: 100px;
90 height: 100px;
91}
92.userinfobox .content {
93 vertical-align: top;
94}
95.userinfobox .links {
96 width: 100px;
97 padding: 5px;
98 vertical-align: bottom;
99}
100.userinfobox .links a {
101 display: block;
102}
103.userinfobox .list td {
104 padding: 3px;
105}
106.userinfobox .username {
107 padding-bottom: 20px;
108 font-weight: bold;
109}
110.userinfobox td.label {
111 text-align: right;
112 white-space: nowrap;
113 vertical-align: top;
114 font-weight: bold;
115}
116.groupinfobox {
cef25b2a 117 .well
8903b17b
BB
118}
119.groupinfobox .left {
120 padding: 10px;
121 width: 100px;
122 vertical-align: top;
123}
124.course-participation #showall {
125 text-align: center;
126 margin: 10px 0;
127}
128#user-policy .noticebox {
129 text-align: center;
130 margin-left: auto;
131 margin-right: auto;
132 margin-bottom: 10px;
133 width: 80%;
134 height: 250px;
135}
136#user-policy #policyframe {
137 width: 100%;
138 height: 100%;
139}
140.iplookup #map {
141 margin: auto;
142}
143.userselector select {
144 width: 100%;
145}
146.userselector div {
147 margin-top: 0.2em;
148}
149.userselector div label {
150 margin-right: 0.3em;
151}
152/* Next style does not work in all browsers but looks nicer when it does */
153.userselector .userselector-infobelow {
154 font-size: 0.8em;
155}
156#userselector_options {
157 padding: 0.3em 0;
158}
159#userselector_options .collapsibleregioncaption {
160 font-weight: bold;
161}
162#userselector_options p {
163 margin: 0.2em 0;
164 text-align: left;
165}
166.dir-rtl #userselector_options p {
167 text-align: right;
168}
169/** user full profile */
170#page-user-profile .messagebox {
171 text-align: center;
172 margin-left: auto;
173 margin-right: auto;
174}
175/** user course profile */
176#page-course-view-weeks .messagebox {
177 text-align: center;
178 margin-left: auto;
179 margin-right: auto;
180}
181/** Overide for RTL layout **/
293a1894
NK
182.dir-rtl .userprofilebox .descriptionbox {
183 margin: 0;
8903b17b
BB
184}
185.dir-rtl .userlist table#participants td,
186.dir-rtl .userlist table#participants th {
187 text-align: right;
188}
189.dir-rtl .userlist table#participants {
190 margin: 0 auto;
191}
3b42864d 192#page-my-index.dir-rtl .block h3 {
8903b17b
BB
193 text-align: right;
194}
3fa787ae
SH
195
196.profileeditor {
197 > .singleselect {
198 margin: 0 0.5em 0 0;
199 }
200 > .singlebutton {
201 display: inline-block;
202 margin: 0 0 0 0.5em;
203 div, input {
204 margin: 0;
205 }
206 }
207}
208.dir-rtl .profileeditor {
209 > .singleselect {
210 margin: 0 0 0 0.5em;
211 }
212 > .singlebutton {
213 margin: 0 0.5em 0 0;
214 }
215}