Proyectos de Subversion Moodle

Rev

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

Rev Autor Línea Nro. Línea
4 ariadna 1
/* Tooltip container */
2
.block_point_view.reactions-container .withtooltip {
3
    pointer-events: none;
4
}
5
 
6
/* Tooltip text */
7
.block_point_view.reactions-container .withtooltip .tooltiptext {
8
    visibility: hidden;
9
    display: table;
10
    width: max-content;
11
    background-color: #555;
12
    color: white;
13
    text-align: center;
14
    font-weight: bold;
15
    padding: 3px 10px;
16
    border-radius: 20px;
17
 
18
    /* Position the tooltip text */
19
    position: absolute;
20
    z-index: 2;
21
    bottom: 30px;
22
    left: 10px;
23
    -webkit-transform: translateX(-50%);
24
    transform: translateX(-50%);
25
 
26
    /* Fade in tooltip */
27
    opacity: 0;
28
    transition: opacity 0.3s;
29
}
30
 
31
.block_point_view.reactions-container .withtooltip .tooltiptext::after {
32
    content: "";
33
    position: absolute;
34
    top: 100%;
35
    left: 50%;
36
    margin-left: -5px;
37
    border-width: 5px;
38
    border-style: solid;
39
    border-color: #555 transparent transparent transparent;
40
}
41
 
42
/* Show the tooltip text when you mouse over the tooltip container */
43
.block_point_view.reactions-container .withtooltip:hover .tooltiptext {
44
    visibility: visible;
45
    opacity: 1;
46
}
47
 
48
/* Source for tooltip : https://www.w3schools.com/css/css_tooltip.asp */
49
 
50
 
51
/**********************/
52
/* Reactions position */
53
.block_point_view.reactions-container {
54
    z-index: 1;
55
    position: relative;
56
}
57
 
6 ariadna 58
.activity-wrapper .block_point_view.reactions-container {
59
    flex: 1 0;
60
}
61
 
62
.activity .activity-grid .block_point_view.reactions-container {
63
    right: 38px;
64
    bottom: 1em;
65
}
66
 
67
.activity-item.activityinline .block_point_view.reactions-container {
68
    margin-right: 1.5rem;
69
}
70
 
71
.block_point_view.reactions-container + .description .activity-altcontent {
72
    padding-right: 160px;
73
}
74
 
75
.activity-item.activityinline .block_point_view.reactions-container + .description .activity-altcontent {
76
    padding-right: 184px;
77
}
78
 
4 ariadna 79
.block_point_view.reactions-container ~ .mod-indent-outer,
80
.block_point_view.reactions-container ~ div .mod-indent-outer {
81
    max-width: 80%;
82
}
83
 
84
.block_point_view.reactions-container .reactions {
85
    position: absolute;
86
    right: -18px;
87
    top: 0;
88
    user-select: none;
89
}
90
 
6 ariadna 91
.activity-wrapper .block_point_view.reactions-container .reactions {
92
    right: -60px;
93
    width: max-content;
94
}
95
.activity-wrapper.label .block_point_view.reactions-container .reactions {
96
    right: -30px;
97
}
98
 
4 ariadna 99
.block_point_view.reactions-container .group {
100
    position: absolute;
101
    right: 50px;
102
    top: 0;
103
}
104
 
6 ariadna 105
.activity-wrapper .block_point_view.reactions-container .group {
106
    right: 28px;
107
}
108
.activity-wrapper.label .block_point_view.reactions-container .group {
109
    right: 58px;
110
}
111
 
112
.path-mod #page-header .block_point_view.reactions-container {
113
    bottom: 1em;
114
    right: 1.5em;
115
}
116
 
117
.path-mod #page-header .block_point_view.reactions-container .group {
118
    width: max-content;
119
}
120
 
121
 
4 ariadna 122
/**********************/
123
 
124
.block_point_view.reactions-container .reaction,
125
.block_point_view.reactions-container .group_img {
126
    height: 20px;
127
    min-width: 20px;
128
    cursor: pointer;
129
}
130
 
131
.block_point_view.reactions-container .reaction img {
132
    position: absolute;
133
    top: 15px;
134
    left: 10px;
135
    height: 0;
136
    width: auto;
137
    max-width: unset;
138
}
139
 
140
.block_point_view.reactions-container .reaction img.novote:not(:hover),
141
.block_point_view .cell.novote {
142
    -webkit-filter: grayscale(100%);
143
    filter: grayscale(100%);
144
}
145
 
146
.block_point_view.reactions-container .reactionnb,
147
.block_point_view.reactions-container .group_nb {
148
    vertical-align: sub;
149
}
150
 
151
.block_point_view.reactions-container .group_nb {
152
    width: 1.1em;
153
    height: 1.1em;
154
    display: inline-block;
6 ariadna 155
    position: absolute;
156
    right: -1.5em;
157
    top: .3em;
4 ariadna 158
}
159
 
160
.block_point_view.reactions-container .group_nb.voted {
161
    border-radius: 50%;
162
    color: white;
163
    background: #66ad89;
164
    line-height: 1em;
165
}
166
 
167
.block_point_view.reactions-container .nbselected {
168
    font-weight: bold;
169
    color: #5585b6;
170
}
171
 
172
/* Difficulty tracks */
173
.block_point_view.track {
174
    height: 1.6em;
175
    width: 10px;
176
    border-radius: 10%;
177
    margin-right: 5px;
178
}
179
 
6 ariadna 180
.path-course-view .activity .block_point_view.track,
181
.path-mod .page-context-header .block_point_view.track {
4 ariadna 182
    padding: 0;
183
    position: absolute;
184
    margin-left: -15px;
185
}
186
 
6 ariadna 187
.path-course-view .activity .activity-grid .block_point_view.track {
188
    margin-left: -13px;
189
}
190
 
191
.path-course-view .activity-grid > .block_point_view.track {
192
    height: 50%;
193
}
194
.path-course-view .activity-instance .block_point_view.track {
195
    height: 100%;
196
}
197
.path-mod .page-context-header .block_point_view.track {
198
    height: 50px;
199
}
200
 
4 ariadna 201
.block_point_view.selecttrack {
202
    height: 2.4em;
203
}
204
 
6 ariadna 205
.block_point_view [data-groupname^="config_activity_"] fieldset {
206
    align-self: center;
207
}
208
 
209
.block_point_view [data-groupname^="config_activity_"] p .activityiconcontainer {
210
    margin-right: .5em;
211
}
212
 
213
.block_point_view [data-groupname^="config_activity_"] p .activity-name {
214
    vertical-align: super;
215
}
216
 
217
.block_point_view [data-groupname^="config_activity_"] label .activity-name {
218
    vertical-align: middle;
219
}
220
 
221
.block_point_view #fgroup_id_point_view_for_module > div.col-md-9 {
222
    flex-basis: 100%;
223
    max-width: 100%;
224
}
225
 
4 ariadna 226
/* Menu button in block content */
227
.block_point_view .overview-link {
228
    max-height: 40px;
229
}
230
 
231
.block_point_view .overview-link:hover {
232
    -webkit-filter: invert(100%);
233
    filter: invert(100%);
234
}
235
 
236
.block_point_view .overview_img,
237
.block_point_view .pix-preview {
238
    width: 30px;
239
}
240
 
241
.block_point_view .pixselectgroup {
242
    display: grid;
243
    grid-auto-flow: row;
244
    grid-template-columns: repeat(2, auto);
245
}
246
 
247
.block_point_view .enablemodulereactions.highlighted {
248
    box-shadow: 0 0 1.5px 2px var(--info);
249
}
250
 
251
/* Some adjustments for Adaptable theme */
252
.theme_adaptable.path-course-view .activity .block_point_view.track {
253
    height: 2em;
254
}
255
 
256
.theme_adaptable.path-course-view:not(.format-tiles) .activity .block_point_view.track,
257
.theme_adaptable:not(.format-tiles) .block_point_view.reactions-container {
258
    top: .5em;
259
}
260
 
261
.theme_adaptable:not(.format-tiles) .block_point_view.reactions-container {
262
    right: 25px;
263
}
264
 
265
/* Some adjustments for More/Clean themes */
266
.block_point_view .pixselectgroup + #fgroup_id_pixselectgroup fieldset > span {
267
    display: block;
268
    line-height: 35px;
269
}
270
 
271
.block_point_view .fcontainer > .pixselectgroup {
272
    position: relative;
273
    grid-template-columns: repeat(1, auto);
274
    top: 5px;
275
}
276
 
277
.block_point_view .fcontainer > .pixselectgroup > * {
278
    position: absolute;
279
    left: 400px;
280
    overflow: auto;
281
    white-space: nowrap;
282
}
283
 
284
.block_point_view .fcontainer > .pixselectgroup > :nth-child(2) {
285
    top: 40px;
286
}
287
 
288
.block_point_view .fcontainer > .pixselectgroup > :nth-child(3) {
289
    top: 80px;
290
}