Proyectos de Subversion Moodle

Rev

| 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
 
74
    }
75
 
76
    .form-description, .form-control-static {
77
        padding: 0!important;
78
        margin: 0!important;
79
    }
80
 
81
    .feedback-item-label {
82
        border-bottom: 0;
83
        padding-bottom: 0;
84
    }
85
 
86
    .col-form-label label {
87
        font-size: 1rem;
88
        font-weight: $font-weight-bold;
89
    }
90
 
91
    .custom-control-inline {
92
        margin-left: 5px;
93
    }
94
 
95
    .col-md-3,
96
    .col-md-9 {
97
        padding: 0 40px 20px!important;
98
        flex: 0 0 100%;
99
        max-width: 100%;
100
        text-align: left!important;
101
    }
102
 
103
    .col-form-label {
104
        font-size: 1.125rem;
105
        font-weight: $font-weight-normal;
106
    }
107
 
108
    #fgroup_id_buttonar {
109
        .col-md-9 {
110
            padding-top: 20px!important;
111
            padding-bottom: 20px!important;
112
            padding-left: 0!important;
113
            padding-right: 0!important;
114
        }
115
 
116
        fieldset {
117
            width: 100%;
118
 
119
            .rui-form-element-group {
120
                justify-content: space-between;
121
 
122
                .btn {
123
                    margin: 0;
124
                }
125
            }
126
        }
127
    }
128
 
129
    .mform .form-inline .form-group {
130
        margin: 0;
131
    }
132
}
133
 
134
.col-form-label {
135
    .rui-icon {
136
        display: inline-grid;
137
    }
138
}
139
 
140
.path-mod-feedback div.feedback_is_dependent {
141
    background-color: transparent;
142
 
143
    position: relative;
144
 
145
    &:before {
146
        content: '';
147
        position: absolute;
148
        top: 20px;
149
        left: 20px;
150
 
151
        width: 20px;
152
        height: 20px;
153
 
154
        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");
155
    }
156
}
157
 
158
#page-mod-quiz-edit ul.slots li.section li.activity.page,
159
.feedback-item-pagebreak {
160
    background-image: url([[pix:theme|diagonal-lines]]);
161
    background-repeat: repeat;
162
    background-size: 5px;
163
    background-color: $gray-100;
164
    z-index: 10;
165
 
166
    h4 {
167
        color: $body-color;
168
    }
169
}
170
 
171
.theme-dark {
172
    &#page-mod-quiz-edit ul.slots li.section li.activity.page,
173
    .feedback-item-pagebreak {
174
        filter: invert(1);
175
    }
176
}
177
 
178
#page-mod-feedback-print .continuebutton {
179
    margin-bottom: 1rem;
180
}
181
 
182
.path-mod-feedback .itemactions {
183
    position: absolute;
184
    top: -17px;
185
    right: -5px;
186
}
187
 
188
.path-mod-feedback .itemhandle {
189
    margin: 0;
190
    position: absolute;
191
    top: -7px;
192
    left: 0;
193
}
194
 
195
.path-mod-feedback span.feedback_depend {
196
    display: inline-grid;
197
 
198
    margin-left: .35rem;
199
    padding: .35rem .5rem;
200
 
201
    border-radius: $btn-border-radius;
202
    background-color: $green-100;
203
 
204
    font-size: $font-size-xs;
205
    color: $green-600;
206
}
207
 
208
#page-mod-feedback-complete [align="center"] {
209
    text-align: left;
210
}
211
 
212
#feedback_subject {
213
    width: auto;
214
    margin-bottom: .35rem;
215
}
216
 
217
#showentrytable {
218
    .c10 {
219
        max-width: 300px;
220
        font-size: $font-size-sm;
221
    }
222
}
223
 
224
.path-mod-feedback table.analysis {
225
    border: none;
226
 
227
    th {
228
        font-size: 1.125rem;
229
    }
230
}
231
 
232
.chart-table-data {
233
    border: 1px solid $border-color;
234
    border-radius: $btn-border-radius;
235
 
236
    font-size: $font-size-sm;
237
 
238
    table {
239
        margin: 0;
240
 
241
        tr {
242
            border-bottom: 1px solid $border-color;
243
 
244
            th {
245
                background-color: $gray-100;
246
            }
247
 
248
            &:last-of-type {
249
            border-bottom: none;
250
            }
251
        }
252
 
253
    }
254
 
255
}
256
 
257
#fitem_id_anonymousmode {
258
    .felement {
259
        padding: 0!important;
260
        margin-top: 10px;
261
 
262
        font-weight: $font-weight-bold;
263
    }
264
}
265
 
266
.feedback_description {
267
    .no-overflow+.tertiary-navigation {
268
        margin-top: 30px;
269
    }
270
}
271
 
272
#fitem_id_requiredfields {
273
    .col-md-9 {
274
        padding: 0!important;
275
    }
276
}
277
 
278
.feedback_form .rui-form-element-group {
279
    gap: 10px;
280
 
281
    br {
282
        display: none;
283
    }
284
}
285
 
286
#feedback_viewresponse_form {
287
    .text-md-right {
288
        text-align: left!important;
289
    }
290
 
291
    .feedback_itemlist {
292
        padding: 10px 0;
293
    }
294
}