MDL-49819 navigation: My courses no longer active but still expanded.
[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}
b19cc4ef
AA
9
10.userprofile .profile_tree {
11 .content-columns(2);
12}
13.userprofile .profile_tree section {
14 display: inline-block;
15 width: 100%;
16}
8903b17b
BB
17.userprofile dl.list {
18 .dl-horizontal;
19}
20.user-box {
21 margin: 8px;
22 width: 115px;
23 height: 160px;
24 text-align: center;
25 float: left;
26 clear: none;
27}
b19cc4ef
AA
28#page-user-profile .node_category, .path-user .node_category {
29 li {
30 list-style-type: square;
31
32 &.contentnode {
33 list-style-type: none;
34 }
35 }
36}
37#page-user-profile.dir-ltr .node_category .contentnode, .path-user.dir-ltr .node_category .contentnode {
38 margin-left: -25px;
39}
40#page-user-profile.dir-rtl .node_category .contentnode , .path-user.dir-rtl .node_category .contentnode {
41 margin-right: -25px;
42}
43
293a1894
NK
44.dir-rtl {
45 .userprofile .description {
46 margin-right:0;
47 }
48 .user-box {
49 float:right;
50 }
51 .userprofile dl.list dt {
52 float:right;
53 text-align: left;
54 padding-left: 10px;
55 }
56 .userprofile dl.list dd {
57 margin-left:0;
58 }
59}
3b42864d 60.userlist .action-icon img {
8903b17b
BB
61 vertical-align: middle;
62}
63.userlist #showall {
64 margin: 10px 0;
65}
66.userlist .buttons {
67 text-align: center;
68}
69.userlist .buttons label {
70 padding: 0 3px;
71}
72.userlist table#participants {
73 text-align: center;
74}
75.userlist table#participants td,
76.userlist table#participants th {
77 vertical-align: middle;
78 text-align: left;
79 padding: 4px;
80}
f82bc6be
FM
81.userlist {
82 table.controls {
83 width: 100%;
84 tr {
85 vertical-align: top;
86 }
87 .right {
88 text-align: right;
89 }
90 .groupselector {
91 margin-bottom: 0;
92 margin-top: 0;
93 label {
94 display: block;
95 }
96 }
97 }
a71b1f13 98}
8903b17b
BB
99.userinfobox {
100 width: 100%;
101 border: 1px solid;
102 border-collapse: separate;
103 padding: 10px;
104}
105.userinfobox .left,
106.userinfobox .side {
107 width: 100px;
108 vertical-align: top;
109}
110.userinfobox .userpicture {
111 width: 100px;
112 height: 100px;
113}
114.userinfobox .content {
115 vertical-align: top;
116}
117.userinfobox .links {
118 width: 100px;
119 padding: 5px;
120 vertical-align: bottom;
121}
122.userinfobox .links a {
123 display: block;
124}
125.userinfobox .list td {
126 padding: 3px;
127}
128.userinfobox .username {
129 padding-bottom: 20px;
130 font-weight: bold;
131}
132.userinfobox td.label {
133 text-align: right;
134 white-space: nowrap;
135 vertical-align: top;
136 font-weight: bold;
137}
138.groupinfobox {
cef25b2a 139 .well
8903b17b
BB
140}
141.groupinfobox .left {
142 padding: 10px;
143 width: 100px;
144 vertical-align: top;
145}
146.course-participation #showall {
147 text-align: center;
148 margin: 10px 0;
149}
150#user-policy .noticebox {
151 text-align: center;
152 margin-left: auto;
153 margin-right: auto;
154 margin-bottom: 10px;
155 width: 80%;
156 height: 250px;
157}
158#user-policy #policyframe {
159 width: 100%;
160 height: 100%;
161}
162.iplookup #map {
163 margin: auto;
164}
165.userselector select {
166 width: 100%;
167}
168.userselector div {
169 margin-top: 0.2em;
170}
171.userselector div label {
172 margin-right: 0.3em;
173}
174/* Next style does not work in all browsers but looks nicer when it does */
175.userselector .userselector-infobelow {
176 font-size: 0.8em;
177}
178#userselector_options {
179 padding: 0.3em 0;
180}
181#userselector_options .collapsibleregioncaption {
182 font-weight: bold;
183}
184#userselector_options p {
185 margin: 0.2em 0;
186 text-align: left;
187}
188.dir-rtl #userselector_options p {
189 text-align: right;
190}
191/** user full profile */
192#page-user-profile .messagebox {
193 text-align: center;
194 margin-left: auto;
195 margin-right: auto;
196}
197/** user course profile */
198#page-course-view-weeks .messagebox {
199 text-align: center;
200 margin-left: auto;
201 margin-right: auto;
202}
203/** Overide for RTL layout **/
8903b17b
BB
204.dir-rtl .userlist table#participants td,
205.dir-rtl .userlist table#participants th {
206 text-align: right;
207}
208.dir-rtl .userlist table#participants {
209 margin: 0 auto;
210}
3b42864d 211#page-my-index.dir-rtl .block h3 {
8903b17b
BB
212 text-align: right;
213}
3fa787ae
SH
214
215.profileeditor {
216 > .singleselect {
217 margin: 0 0.5em 0 0;
218 }
219 > .singlebutton {
220 display: inline-block;
221 margin: 0 0 0 0.5em;
222 div, input {
223 margin: 0;
224 }
225 }
226}
227.dir-rtl .profileeditor {
228 > .singleselect {
229 margin: 0 0 0 0.5em;
230 }
231 > .singlebutton {
232 margin: 0 0.5em 0 0;
233 }
234}
270a8f1b
BB
235#groupeditform {
236 .groups,
237 .members {
238 width: 49%;
239 float: left;
240 text-align: left;
241 }
242}
243.dir-rtl #groupeditform {
244 .groups,
245 .members {
246 float: right;
247 text-align: right;
248 }
249}
0e8418a8
FM
250
251/** Preferences page */
252.preferences-group {
253 ul {
254 list-style: none;
255 margin-left: 0;
256 margin-right: 0;
257 }
258}
259.dir-rtl {
260 .preferences-group {
261 float: right;
262 }
b19cc4ef 263}