Moodle release 2.7beta
[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}
70.userinfobox {
71 width: 100%;
72 border: 1px solid;
73 border-collapse: separate;
74 padding: 10px;
75}
76.userinfobox .left,
77.userinfobox .side {
78 width: 100px;
79 vertical-align: top;
80}
81.userinfobox .userpicture {
82 width: 100px;
83 height: 100px;
84}
85.userinfobox .content {
86 vertical-align: top;
87}
88.userinfobox .links {
89 width: 100px;
90 padding: 5px;
91 vertical-align: bottom;
92}
93.userinfobox .links a {
94 display: block;
95}
96.userinfobox .list td {
97 padding: 3px;
98}
99.userinfobox .username {
100 padding-bottom: 20px;
101 font-weight: bold;
102}
103.userinfobox td.label {
104 text-align: right;
105 white-space: nowrap;
106 vertical-align: top;
107 font-weight: bold;
108}
109.groupinfobox {
cef25b2a 110 .well
8903b17b
BB
111}
112.groupinfobox .left {
113 padding: 10px;
114 width: 100px;
115 vertical-align: top;
116}
117.course-participation #showall {
118 text-align: center;
119 margin: 10px 0;
120}
121#user-policy .noticebox {
122 text-align: center;
123 margin-left: auto;
124 margin-right: auto;
125 margin-bottom: 10px;
126 width: 80%;
127 height: 250px;
128}
129#user-policy #policyframe {
130 width: 100%;
131 height: 100%;
132}
133.iplookup #map {
134 margin: auto;
135}
136.userselector select {
137 width: 100%;
138}
139.userselector div {
140 margin-top: 0.2em;
141}
142.userselector div label {
143 margin-right: 0.3em;
144}
145/* Next style does not work in all browsers but looks nicer when it does */
146.userselector .userselector-infobelow {
147 font-size: 0.8em;
148}
149#userselector_options {
150 padding: 0.3em 0;
151}
152#userselector_options .collapsibleregioncaption {
153 font-weight: bold;
154}
155#userselector_options p {
156 margin: 0.2em 0;
157 text-align: left;
158}
159.dir-rtl #userselector_options p {
160 text-align: right;
161}
162/** user full profile */
163#page-user-profile .messagebox {
164 text-align: center;
165 margin-left: auto;
166 margin-right: auto;
167}
168/** user course profile */
169#page-course-view-weeks .messagebox {
170 text-align: center;
171 margin-left: auto;
172 margin-right: auto;
173}
174/** Overide for RTL layout **/
293a1894
NK
175.dir-rtl .userprofilebox .descriptionbox {
176 margin: 0;
8903b17b
BB
177}
178.dir-rtl .userlist table#participants td,
179.dir-rtl .userlist table#participants th {
180 text-align: right;
181}
182.dir-rtl .userlist table#participants {
183 margin: 0 auto;
184}
3b42864d 185#page-my-index.dir-rtl .block h3 {
8903b17b
BB
186 text-align: right;
187}
3fa787ae
SH
188
189.profileeditor {
190 > .singleselect {
191 margin: 0 0.5em 0 0;
192 }
193 > .singlebutton {
194 display: inline-block;
195 margin: 0 0 0 0.5em;
196 div, input {
197 margin: 0;
198 }
199 }
200}
201.dir-rtl .profileeditor {
202 > .singleselect {
203 margin: 0 0 0 0.5em;
204 }
205 > .singlebutton {
206 margin: 0 0.5em 0 0;
207 }
208}