Proyectos de Subversion Moodle

Rev

Rev 4 | Ir a la última revisión | | 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
 
58
.block_point_view.reactions-container ~ .mod-indent-outer,
59
.block_point_view.reactions-container ~ div .mod-indent-outer {
60
    max-width: 80%;
61
}
62
 
63
.block_point_view.reactions-container .reactions {
64
    position: absolute;
65
    right: -18px;
66
    top: 0;
67
    user-select: none;
68
}
69
 
70
.block_point_view.reactions-container .group {
71
    position: absolute;
72
    right: 50px;
73
    top: 0;
74
}
75
 
76
/**********************/
77
 
78
.block_point_view.reactions-container .reaction,
79
.block_point_view.reactions-container .group_img {
80
    height: 20px;
81
    min-width: 20px;
82
    cursor: pointer;
83
}
84
 
85
.block_point_view.reactions-container .reaction img {
86
    position: absolute;
87
    top: 15px;
88
    left: 10px;
89
    height: 0;
90
    width: auto;
91
    max-width: unset;
92
}
93
 
94
.block_point_view.reactions-container .reaction img.novote:not(:hover),
95
.block_point_view .cell.novote {
96
    -webkit-filter: grayscale(100%);
97
    filter: grayscale(100%);
98
}
99
 
100
.block_point_view.reactions-container .reactionnb,
101
.block_point_view.reactions-container .group_nb {
102
    vertical-align: sub;
103
}
104
 
105
.block_point_view.reactions-container .group_nb {
106
    width: 1.1em;
107
    height: 1.1em;
108
    display: inline-block;
109
}
110
 
111
.block_point_view.reactions-container .group_nb.voted {
112
    border-radius: 50%;
113
    color: white;
114
    background: #66ad89;
115
    line-height: 1em;
116
}
117
 
118
.block_point_view.reactions-container .nbselected {
119
    font-weight: bold;
120
    color: #5585b6;
121
}
122
 
123
/* Difficulty tracks */
124
.block_point_view.track {
125
    height: 1.6em;
126
    width: 10px;
127
    border-radius: 10%;
128
    margin-right: 5px;
129
}
130
 
5 ariadna 131
.path-course-view .activity .block_point_view.track {
4 ariadna 132
    padding: 0;
133
    position: absolute;
134
    margin-left: -15px;
135
}
136
 
137
.block_point_view.selecttrack {
138
    height: 2.4em;
139
}
140
 
141
/* Menu button in block content */
142
.block_point_view .overview-link {
143
    max-height: 40px;
144
}
145
 
146
.block_point_view .overview-link:hover {
147
    -webkit-filter: invert(100%);
148
    filter: invert(100%);
149
}
150
 
151
.block_point_view .overview_img,
152
.block_point_view .pix-preview {
153
    width: 30px;
154
}
155
 
156
.block_point_view .pixselectgroup {
157
    display: grid;
158
    grid-auto-flow: row;
159
    grid-template-columns: repeat(2, auto);
160
}
161
 
162
.block_point_view .enablemodulereactions.highlighted {
163
    box-shadow: 0 0 1.5px 2px var(--info);
164
}
165
 
166
/* Some adjustments for Adaptable theme */
167
.theme_adaptable.path-course-view .activity .block_point_view.track {
168
    height: 2em;
169
}
170
 
171
.theme_adaptable.path-course-view:not(.format-tiles) .activity .block_point_view.track,
172
.theme_adaptable:not(.format-tiles) .block_point_view.reactions-container {
173
    top: .5em;
174
}
175
 
176
.theme_adaptable:not(.format-tiles) .block_point_view.reactions-container {
177
    right: 25px;
178
}
179
 
180
/* Some adjustments for More/Clean themes */
181
.block_point_view .pixselectgroup + #fgroup_id_pixselectgroup fieldset > span {
182
    display: block;
183
    line-height: 35px;
184
}
185
 
186
.block_point_view .fcontainer > .pixselectgroup {
187
    position: relative;
188
    grid-template-columns: repeat(1, auto);
189
    top: 5px;
190
}
191
 
192
.block_point_view .fcontainer > .pixselectgroup > * {
193
    position: absolute;
194
    left: 400px;
195
    overflow: auto;
196
    white-space: nowrap;
197
}
198
 
199
.block_point_view .fcontainer > .pixselectgroup > :nth-child(2) {
200
    top: 40px;
201
}
202
 
203
.block_point_view .fcontainer > .pixselectgroup > :nth-child(3) {
204
    top: 80px;
205
}