fix
This commit is contained in:
@@ -162,6 +162,8 @@ $(function () {
|
||||
download: false,
|
||||
fullscreenEl: false,
|
||||
shareEl: false,
|
||||
bgOpacity: 0.85,
|
||||
mainClass: 'timetable__pswp',
|
||||
};
|
||||
|
||||
items = [
|
||||
|
||||
@@ -154,6 +154,7 @@
|
||||
}
|
||||
|
||||
.button--icon {
|
||||
white-space: nowrap;
|
||||
transform: none;
|
||||
transition: transform 0.4s $easeOutQuart;
|
||||
.button__icon {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
.gallery__iframe {
|
||||
width: 100%;
|
||||
max-width: 90vh;
|
||||
max-width: 140vh;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
|
||||
@@ -41,9 +41,14 @@ $timetable_count: 15;
|
||||
}
|
||||
}
|
||||
|
||||
.timetable__pswp .pswp__top-bar {
|
||||
opacity: 1;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.timetable__clock__frame {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
top: 40%;
|
||||
transform: translateY(-50%);
|
||||
width: 30%;
|
||||
left: 35%;
|
||||
@@ -55,10 +60,10 @@ $timetable_count: 15;
|
||||
left: 50%;
|
||||
max-width: 40vh;
|
||||
transform: translateX(-50%) translateY(14%);
|
||||
#timetable[data-active="0"] & {
|
||||
top: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
// #timetable[data-active="0"] & {
|
||||
// top: 50%;
|
||||
// transform: translateX(-50%) translateY(-50%);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user