fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
top banner
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
layout
/
_annoy.scss
diff --git
a/src/wolnelektury/static/2022/styles/layout/_annoy.scss
b/src/wolnelektury/static/2022/styles/layout/_annoy.scss
index
9ff6a0d
..
e91d585
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/layout/_annoy.scss
+++ b/
src/wolnelektury/static/2022/styles/layout/_annoy.scss
@@
-75,10
+75,10
@@
}
}
-.annoy-banner_crisis-container {
+.annoy-banner_crisis-container,
+.annoy-banner_top-container {
position: sticky;
top: 0;
position: sticky;
top: 0;
- height: 160px;
z-index: 10;
box-shadow: 0 0 10px black;
display: flex;
z-index: 10;
box-shadow: 0 0 10px black;
display: flex;
@@
-87,18
+87,27
@@
align-items:center;
cursor: pointer;
align-items:center;
cursor: pointer;
- @media screen and (min-height: 480px) {
- height: 33vh;
- top: calc(-33vh + 160px);
+ &.annoy-banner_top-container {
+ padding: 16px 0;
}
}
+ &.annoy-banner_crisis-container {
+ height: 160px;
+
+ @media screen and (min-height: 480px) {
+ height: 33vh;
+ top: calc(-33vh + 160px);
+ }
- @media screen and (max-width: 940px) {
- padding: 10px 0;
- height: auto;
- top: 0;
+ @media screen and (max-width: 940px) {
+ padding: 10px 0;
+ height: auto;
+ top: 0;
+ }
}
}
- .annoy-banner_crisis {
+
+ .annoy-banner_crisis,
+ .annoy-banner_top {
position: sticky;
top: 0;
width: 100%;
position: sticky;
top: 0;
width: 100%;
@@
-116,11
+125,11
@@
.image-box {
position: relative;
img {
.image-box {
position: relative;
img {
- height: 159px;
+
max-
height: 159px;
display: block;
@media screen and (max-width: 700px) {
display: block;
@media screen and (max-width: 700px) {
- height: 120px;
+
max-
height: 120px;
}
}
}
}
}
}
@@
-158,11
+167,16
@@
flex-grow: 1;
.l-checkout__support__bar span::after {
flex-grow: 1;
.l-checkout__support__bar span::after {
- right: auto;
- left: 5px;
color: black;
}
}
color: black;
}
}
+ .time-box {
+ width: 110px;
+ margin: auto;
+ }
+ .countdown {
+ margin: 0;
+ }
}
}
}
}
@@
-186,7
+200,8
@@
}
}
}
}
}
}
- &.annoy-banner-style_crisis_quiet {
+ &.annoy-banner-style_crisis_quiet,
+ &.annoy-banner_top-container {
background: black;
color: white;
.annoy-banner-inner {
background: black;
color: white;
.annoy-banner-inner {