Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
//---- Feedback
2
//---- Module Activity
3
.path-mod-feedback {
4
    .nav + .singleselect {
5
        display: block!important;
6
    }
7
}
8
 
9
#page-mod-feedback-use_templ {
10
    .mform:not(.feedback_form) {
11
        .col-md-3 {
12
            display: none;
13
        }
14
    }
15
}
16
 
17
#feedback_dragarea {
18
    border: 2px dashed $border-color;
19
 
20
    .theme-dark & {
21
        border-color: $dm-border-color;
22
    }
23
}
24
 
25
#feedback_print_form,
26
#feedback_complete_form {
27
    border: 1px solid $border-color;
28
 
29
    .theme-dark & {
30
        border-color: $dm-border-color;
31
    }
32
}
33
 
34
#feedback_print_form {
35
    margin: 0 auto;
36
    max-width: 760px;
37
 
38
    @include media-breakpoint-between(xs,sm) {
39
        border: 0;
40
    }
41
}
42
 
43
#feedback_print_form,
44
#feedback_complete_form,
45
#feedback_dragarea {
46
    margin-top: $page-padding-global;
47
 
48
    border-radius: $btn-border-radius;
49
 
50
    @include media-breakpoint-up(md) {
51
        padding: 0 40px;
52
    }
53
 
54
    .dropdown-btn {
55
        padding: 7px 12px;
56
        font-size: $font-size-sm;
57
    }
58
 
59
    .feedback_itemlist {
60
        padding: 0 20px;
61
        margin: 0 -40px;
62
        width: calc(100% + 80px);
63
        max-width: calc(100% + 80px);
64
        border-bottom: 1px solid $border-color;
65
 
66
        &:last-child {
67
            border-bottom: none;
68
        }
69
 
70
        &.feedback_is_dependent {
71
            padding-left: 40px!important;
72
        }
73
 
1441 ariadna 74
        .theme-dark & {
75
            border-color: $dm-border-color;
76
        }
77
 
1 efrain 78
    }
79
 
80
    .form-description, .form-control-static {
81
        padding: 0!important;
82
        margin: 0!important;
83
    }
84
 
85
    .feedback-item-label {
86
        border-bottom: 0;
87
        padding-bottom: 0;
88
    }
89
 
90
    .col-form-label label {
91
        font-size: 1rem;
92
        font-weight: $font-weight-bold;
93
    }
94
 
95
    .custom-control-inline {
96
        margin-left: 5px;
97
    }
98
 
99
    .col-md-3,
100
    .col-md-9 {
101
        padding: 0 40px 20px!important;
102
        flex: 0 0 100%;
103
        max-width: 100%;
104
        text-align: left!important;
105
    }
106
 
107
    .col-form-label {
108
        font-size: 1.125rem;
109
        font-weight: $font-weight-normal;
110
    }
111
 
112
    #fgroup_id_buttonar {
113
        .col-md-9 {
114
            padding-top: 20px!important;
115
            padding-bottom: 20px!important;
116
            padding-left: 0!important;
117
            padding-right: 0!important;
118
        }
119
 
120
        fieldset {
121
            width: 100%;
122
 
123
            .rui-form-element-group {
124
                justify-content: space-between;
125
 
126
                .btn {
127
                    margin: 0;
128
                }
129
            }
130
        }
131
    }
132
 
133
    .mform .form-inline .form-group {
134
        margin: 0;
135
    }
136
}
137
 
138
.col-form-label {
139
    .rui-icon {
140
        display: inline-grid;
141
    }
142
}
143
 
144
.path-mod-feedback div.feedback_is_dependent {
145
    background-color: transparent;
146
 
147
    position: relative;
148
 
149
    &:before {
150
        content: '';
151
        position: absolute;
152
        top: 20px;
153
        left: 20px;
154
 
155
        width: 20px;
156
        height: 20px;
157
 
158
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.25 7C9.25 8.24264 8.24264 9.25 7 9.25C5.75736 9.25 4.75 8.24264 4.75 7C4.75 5.75736 5.75736 4.75 7 4.75C8.24264 4.75 9.25 5.75736 9.25 7Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.75 9.5V14.5' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.75 12.25H15.25C16.3546 12.25 17.25 11.3546 17.25 10.25V9.5' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.25 7C19.25 8.24264 18.2426 9.25 17 9.25C15.7574 9.25 14.75 8.24264 14.75 7C14.75 5.75736 15.7574 4.75 17 4.75C18.2426 4.75 19.25 5.75736 19.25 7Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.25 17C9.25 18.2426 8.24264 19.25 7 19.25C5.75736 19.25 4.75 18.2426 4.75 17C4.75 15.7574 5.75736 14.75 7 14.75C8.24264 14.75 9.25 15.7574 9.25 17Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
159
    }
160
}
161
 
162
#page-mod-quiz-edit ul.slots li.section li.activity.page,
163
.feedback-item-pagebreak {
164
    background-image: url([[pix:theme|diagonal-lines]]);
165
    background-repeat: repeat;
166
    background-size: 5px;
167
    background-color: $gray-100;
168
    z-index: 10;
169
 
170
    h4 {
171
        color: $body-color;
172
    }
173
}
174
 
175
.theme-dark {
176
    &#page-mod-quiz-edit ul.slots li.section li.activity.page,
177
    .feedback-item-pagebreak {
178
        filter: invert(1);
179
    }
180
}
181
 
182
#page-mod-feedback-print .continuebutton {
183
    margin-bottom: 1rem;
184
}
185
 
186
.path-mod-feedback .itemactions {
187
    position: absolute;
188
    top: -17px;
189
    right: -5px;
190
}
191
 
192
.path-mod-feedback .itemhandle {
193
    margin: 0;
194
    position: absolute;
195
    top: -7px;
196
    left: 0;
197
}
198
 
199
.path-mod-feedback span.feedback_depend {
200
    display: inline-grid;
201
 
202
    margin-left: .35rem;
203
    padding: .35rem .5rem;
204
 
205
    border-radius: $btn-border-radius;
206
    background-color: $green-100;
207
 
208
    font-size: $font-size-xs;
1441 ariadna 209
    color: $green-800;
1 efrain 210
}
211
 
212
#page-mod-feedback-complete [align="center"] {
213
    text-align: left;
214
}
215
 
216
#feedback_subject {
217
    width: auto;
218
    margin-bottom: .35rem;
219
}
220
 
221
#showentrytable {
222
    .c10 {
223
        max-width: 300px;
224
        font-size: $font-size-sm;
225
    }
226
}
227
 
228
.path-mod-feedback table.analysis {
229
    border: none;
230
 
231
    th {
232
        font-size: 1.125rem;
233
    }
234
}
235
 
236
.chart-table-data {
237
    border: 1px solid $border-color;
238
    border-radius: $btn-border-radius;
239
 
240
    font-size: $font-size-sm;
241
 
242
    table {
243
        margin: 0;
244
 
245
        tr {
246
            border-bottom: 1px solid $border-color;
247
 
248
            th {
249
                background-color: $gray-100;
250
            }
251
 
252
            &:last-of-type {
253
            border-bottom: none;
254
            }
255
        }
256
 
257
    }
258
 
259
}
260
 
261
#fitem_id_anonymousmode {
262
    .felement {
263
        padding: 0!important;
264
        margin-top: 10px;
265
 
266
        font-weight: $font-weight-bold;
267
    }
268
}
269
 
270
.feedback_description {
271
    .no-overflow+.tertiary-navigation {
272
        margin-top: 30px;
273
    }
274
}
275
 
276
#fitem_id_requiredfields {
277
    .col-md-9 {
278
        padding: 0!important;
279
    }
280
}
281
 
282
.feedback_form .rui-form-element-group {
283
    gap: 10px;
284
 
285
    br {
286
        display: none;
287
    }
288
}
289
 
290
#feedback_viewresponse_form {
291
    .text-md-right {
292
        text-align: left!important;
293
    }
294
 
295
    .feedback_itemlist {
296
        padding: 10px 0;
297
    }
298
}