File tree 5 files changed +30
-8
lines changed
src/assets/stylesheets/main/layout
5 files changed +30
-8
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 39
39
{% endif %}
40
40
{% endblock %}
41
41
{% block styles %}
42
- < link rel ="stylesheet " href ="{{ 'assets/stylesheets/main.66ec5ba4 .min.css' | url }} ">
42
+ < link rel ="stylesheet " href ="{{ 'assets/stylesheets/main.875de78c .min.css' | url }} ">
43
43
{% if config.theme.palette %}
44
44
{% set palette = config.theme.palette %}
45
45
< link rel ="stylesheet " href ="{{ 'assets/stylesheets/palette.f1a3b89f.min.css' | url }} ">
Original file line number Diff line number Diff line change 25
25
// ----------------------------------------------------------------------------
26
26
27
27
// Show repository facts
28
- @keyframes md-source__facts--done {
28
+ @keyframes facts {
29
29
0% {
30
30
height : 0 ;
31
31
}
36
36
}
37
37
38
38
// Show repository fact
39
- @keyframes md-source__fact--done {
39
+ @keyframes fact {
40
40
0% {
41
41
transform : translateY (100% );
42
42
opacity : 0 ;
137
137
138
138
// Show after the data was loaded
139
139
[data-md-state = " done" ] & {
140
- animation : md - source__facts --done 250ms ease-in ;
140
+ animation : facts 250ms ease-in ;
141
141
}
142
142
}
143
143
147
147
148
148
// Show after the data was loaded
149
149
[data-md-state = " done" ] & {
150
- animation : md - source__fact --done 400ms ease-out ;
150
+ animation : fact 400ms ease-out ;
151
151
}
152
152
153
153
// Repository fact icon
Original file line number Diff line number Diff line change 20
20
/// DEALINGS
21
21
/// /
22
22
23
+ // ----------------------------------------------------------------------------
24
+ // Keyframes
25
+ // ----------------------------------------------------------------------------
26
+
27
+ // See https://github.com/squidfunk/mkdocs-material/issues/2429
28
+ @keyframes hoverfix {
29
+ 0% {
30
+ pointer-events : none ;
31
+ }
32
+ }
33
+
23
34
// ----------------------------------------------------------------------------
24
35
// Rules
25
36
// ----------------------------------------------------------------------------
107
118
max-height 0ms ,
108
119
opacity 250ms ;
109
120
}
121
+
122
+ // Fix hover on touch devices
123
+ @media (pointer : coarse) {
124
+
125
+ // Switch off on hover
126
+ .md-version :hover & {
127
+ animation : hoverfix 250ms forwards ;
128
+ }
129
+
130
+ // Enable on focus
131
+ .md-version :focus-within & {
132
+ animation : none ;
133
+ }
134
+ }
110
135
}
111
136
112
137
// Version selection item
You can’t perform that action at this time.
0 commit comments