fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix themes
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
layout
/
_navigation.scss
diff --git
a/src/wolnelektury/static/2022/styles/layout/_navigation.scss
b/src/wolnelektury/static/2022/styles/layout/_navigation.scss
index
e7f551d
..
c4d4f7a
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/layout/_navigation.scss
+++ b/
src/wolnelektury/static/2022/styles/layout/_navigation.scss
@@
-22,6
+22,7
@@
body {
}
.l-container {
}
.l-container {
+ position: relative;
display: flex;
align-items: center;
justify-content: space-between;
display: flex;
align-items: center;
justify-content: space-between;
@@
-55,8
+56,23
@@
body {
.l-navigation__logo {
display: flex;
position: relative;
.l-navigation__logo {
display: flex;
position: relative;
- z-index: $master-layer + 1;
+ height: 44px;
+ width: 153px;
+ flex-shrink: 0;
+ overflow: hidden;
+ transition: .5s width;
+ @include rwd($break-menu) {
+ width: 230px;
+ }
+
+ &.search-active {
+ width: 30px;
+ @include rwd($break-menu) {
+ width: 230px;
+ }
+ }
+
img {
width: 153px;
@include rwd($break-menu) {
img {
width: 153px;
@include rwd($break-menu) {
@@
-73,14
+89,24
@@
body {
margin: 0;
outline: 0;
position: relative;
margin: 0;
outline: 0;
position: relative;
- z-index: $master-layer + 1;
}
}
+.is-open {
+ .l-navigation__logo {
+ z-index: $master-layer + 1;
+ }
+ .l-navigation__button {
+ z-index: $master-layer + 1;
+ }
+}
+
+
.l-naviagion__search {
width: 60%;
max-width: 580px;
margin-left: 20px;
margin-right: 20px;
.l-naviagion__search {
width: 60%;
max-width: 580px;
margin-left: 20px;
margin-right: 20px;
+ flex-grow: 1;
@include rwd($break-menu) {
margin-left: 60px;
@include rwd($break-menu) {
margin-left: 60px;
@@
-148,12
+174,23
@@
body {
max-width: 1140px;
border-radius: 10px;
padding: 10px 50px;
max-width: 1140px;
border-radius: 10px;
padding: 10px 50px;
- width: 100%;
- margin-bottom: 10px;
+ width: auto;
+
+ margin-top: 18px;
+ margin-bottom: 18px;
background-color: #FBC40F;
position: relative;
display: none;
background-color: #FBC40F;
position: relative;
display: none;
+ margin-left: 16px;
+ margin-right: 16px;
+ flex-direction: column;
+ column-gap: 48px;
+
+ @include rwd($break-flow) {
+ flex-direction: row;
+ }
+
&.show {
display: flex;
}
&.show {
display: flex;
}
@@
-165,9
+202,8
@@
body {
line-height: 100%;
letter-spacing: -0.02em;
color: #333333;
line-height: 100%;
letter-spacing: -0.02em;
color: #333333;
- margin: 0;
+ margin:
20px
0;
min-width: 189px;
min-width: 189px;
- margin-right: 48px;
}
p {
}
p {
@@
-180,19
+216,6
@@
body {
}
}
}
}
-.l-change-pop__close {
- border: 0;
- background: transparent;
- color: #333333;
- outline: 0;
- position: absolute;
- right: 26px;
- top: 0;
- bottom: 0;
- margin: auto;
- cursor: pointer;
-}
-
.l-navigation__menu {
position: fixed;
top: 0; left: 0;
.l-navigation__menu {
position: fixed;
top: 0; left: 0;
@@
-240,6
+263,10
@@
body {
font-size: 30px;
}
}
font-size: 30px;
}
}
+ .c-lang {
+ display: block;
+ left: 16px;
+ }
}
}
}
}
}
}
@@
-343,6
+370,9
@@
body {
display: flex;
flex-direction: column;
justify-content: space-between;
display: flex;
flex-direction: column;
justify-content: space-between;
+ @include rwd($break-menu) {
+ width: 60%;
+ }
p {
color: $color-white;
p {
color: $color-white;
@@
-397,7
+427,7
@@
body {
&.korona {
&:before {
&.korona {
&:before {
- content: url('images/korona.svg');
+ content: url('
../
images/korona.svg');
width: 21px;
margin-right: -21px;
position: relative;
width: 21px;
margin-right: -21px;
position: relative;
@@
-448,11
+478,14
@@
body {
p {
margin: 0;
p {
margin: 0;
- width: 427px;
font-weight: $regular;
@include font-size(15px);
line-height: 130%;
color: #808080;
font-weight: $regular;
@include font-size(15px);
line-height: 130%;
color: #808080;
+
+ @include rwd($break-menu) {
+ width: 427px;
+ }
}
}
}
}