Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
/* user.less */
2
.userprofile .fullprofilelink {
3
    text-align: center;
4
    margin: 10px;
5
}
6
 
7
.userprofile .page-context-header {
8
    margin-bottom: 10px;
9
    column-count: 1;
10
}
11
 
12
.userprofile .description {
13
    margin-top: 10px;
14
    margin-bottom: 30px;
15
}
16
 
17
.userprofile .profile_tree {
18
    column-count: 2;
19
}
20
 
21
// This rule overrides the automatic no-overflow on the participants table. It kills the auto-complete.
22
#participantsform .no-overflow {
23
    overflow: visible;
24
}
25
 
26
.userprofile dl.list {
27
    // Copied from dl.row.
28
    > dd + dt {
29
        clear: left;
30
    }
31
}
32
 
33
.user-box {
34
    margin: 8px;
35
    width: 115px;
36
    height: 160px;
37
    text-align: center;
38
    float: left;
39
    clear: none;
40
}
41
 
42
#page-user-profile .node_category,
43
.path-user .node_category {
44
    ul {
45
        margin: 0;
46
        list-style: none;
47
        padding-left: 0;
48
    }
49
 
50
    li {
51
        margin-top: 5px;
52
    }
53
 
54
    .editprofile,
55
    .viewmore {
56
        text-align: right;
57
    }
58
}
59
 
60
.ajax-contact-button {
61
    box-sizing: border-box;
62
    position: relative;
63
 
64
    &.loading {
65
        .loading-icon {
66
            display: block;
67
        }
68
    }
69
 
70
    .loading-icon {
71
        display: none;
72
        position: absolute;
73
        top: 0;
74
        left: 0;
75
        width: 100%;
76
        height: 100%;
77
        background-color: $user-loading-icon-bg;
78
 
79
        .icon {
80
            position: absolute;
81
            left: 50%;
82
            top: 50%;
83
            transform: translate(-50%, -50%);
84
        }
85
    }
86
}
87
 
88
@media (max-width: 480px) {
89
    .userprofile .profile_tree {
90
        /** Display the profile on one column on phones@mixin  */
91
        column-count: 1;
92
    }
93
}
94
 
95
.userlist #showall {
96
    margin: 10px 0;
97
}
98
 
99
.userlist .buttons {
100
    text-align: center;
101
}
102
 
103
.userlist .buttons label {
104
    padding: 0 3px;
105
}
106
 
107
.userlist table#participants {
108
    text-align: center;
109
}
110
 
111
.userlist table#participants td {
112
    text-align: left;
113
    padding: 4px;
114
    vertical-align: middle;
115
}
116
 
117
.userlist table#participants th {
118
    text-align: left;
119
    padding: 4px;
120
}
121
 
122
.userlist {
123
    table.controls {
124
        width: 100%;
125
 
126
        tr {
127
            vertical-align: top;
128
        }
129
 
130
        .right {
131
            text-align: right;
132
        }
133
 
134
        .groupselector {
135
            margin-bottom: 0;
136
            margin-top: 0;
137
 
138
            label {
139
                display: block;
140
            }
141
        }
142
    }
143
}
144
 
145
.userinfobox {
146
    width: 100%;
147
    border: 1px solid;
148
    border-collapse: separate;
149
    padding: 10px;
150
}
151
 
152
.userinfobox .left,
153
.userinfobox .side {
154
    width: 100px;
155
    vertical-align: top;
156
}
157
 
158
.userinfobox .userpicture {
159
    width: 100px;
160
    height: 100px;
161
}
162
 
163
.userinfobox .content {
164
    vertical-align: top;
165
}
166
 
167
.userinfobox .links {
168
    width: 100px;
169
    padding: 5px;
170
    vertical-align: bottom;
171
}
172
 
173
.userinfobox .links a {
174
    display: block;
175
}
176
 
177
.userinfobox .list td {
178
    padding: 3px;
179
}
180
 
181
.userinfobox .username {
182
    padding-bottom: 20px;
183
    font-weight: bold;
184
}
185
 
186
.userinfobox td.label {
187
    text-align: right;
188
    white-space: nowrap;
189
    vertical-align: top;
190
    font-weight: bold;
191
}
192
 
193
.group-edit {
194
    position: absolute;
195
    right: 0;
196
    margin-right: 0.6em;
197
}
198
 
199
.group-image {
200
    display: block;
201
    float: left;
202
    margin-right: 1em;
203
 
204
    .grouppicture {
205
        border-radius: 50%;
206
    }
207
}
208
 
209
.groupinfobox .left {
210
    padding: 10px;
211
    width: 100px;
212
    vertical-align: top;
213
}
214
 
215
.course-participation #showall {
216
    text-align: center;
217
    margin: 10px 0;
218
}
219
 
220
#user-policy .noticebox {
221
    text-align: center;
222
    margin-left: auto;
223
    margin-right: auto;
224
    margin-bottom: 10px;
225
    width: 80%;
226
    height: 250px;
227
}
228
 
229
#user-policy #policyframe {
230
    width: 100%;
231
    height: 100%;
232
}
233
 
234
.iplookup #map {
235
    margin: auto;
236
}
237
 
238
.userselector select {
239
    width: 100%;
240
}
241
 
242
.userselector div {
243
    margin-top: 0.2em;
244
}
245
 
246
.userselector div label {
247
    margin-right: 0.3em;
248
}
249
/* Next style does not work in all browsers but looks nicer when it does */
250
.userselector .userselector-infobelow {
251
    font-size: 0.8em;
252
}
253
 
254
#userselector_options .collapsibleregioncaption {
255
    font-weight: bold;
256
}
257
 
258
#userselector_options p {
259
    margin: 0.2em 0;
260
    text-align: left;
261
}
262
/** user full profile */
263
#page-user-profile .messagebox {
264
    text-align: center;
265
    margin-left: auto;
266
    margin-right: auto;
267
}
268
/** user course profile */
269
#page-course-view-weeks .messagebox {
270
    text-align: center;
271
    margin-left: auto;
272
    margin-right: auto;
273
}
274
 
275
.profileeditor {
276
    > .singleselect {
277
        margin: 0 0.5em 0 0;
278
    }
279
 
280
    > .singlebutton {
281
        display: inline-block;
282
        margin: 0 0 0 0.5em;
283
 
284
        div,
285
        input {
286
            margin: 0;
287
        }
288
    }
289
}
290
 
291
// Remove the little cog from participants page because we are putting a cog menu there.
292
.userlist h3 .action-icon {
293
    display: none;
294
}
295
 
296
#page-enrol-users .popover {
297
    max-width: none;
298
}
299
 
300
.user-enroller-panel {
301
    width: 600px;
302
}
303
 
304
[data-filterverbfor],
305
[data-filterregion="filter"]:last-child [data-filterregion="joinadverb"] {
306
    display: none;
307
}
308
 
309
[data-filterverb="0"] [data-filterverbfor="0"],
310
[data-filterverb="1"] [data-filterverbfor="1"],
311
[data-filterverb="2"] [data-filterverbfor="2"] {
312
    display: block;
313
}
314
 
315
[data-filterregion="value"] {
316
    div:first-of-type {
317
        @extend .align-top;
318
    }
319
}
320
 
321
#page-user-contactsitesupport {
322
    .supporticon {
323
        i {
324
            font-size: 35px;
325
        }
326
 
327
    }
328
}