fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add pz field
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
layout
/
_books.scss
diff --git
a/src/wolnelektury/static/2022/styles/layout/_books.scss
b/src/wolnelektury/static/2022/styles/layout/_books.scss
index
b59e48f
..
c983b38
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/layout/_books.scss
+++ b/
src/wolnelektury/static/2022/styles/layout/_books.scss
@@
-108,6
+108,9
@@
img {
width: 100%;
img {
width: 100%;
+ @include rwd($break3) {
+ width: 173px;
+ }
}
}
}
}
@@
-139,16
+142,25
@@
.l-books__header {
width: 100%;
display: flex;
.l-books__header {
width: 100%;
display: flex;
+ gap: 16px;
+ flex-direction: column;
margin-top: 34px;
align-items: center;
justify-content: space-between;
margin-top: 34px;
align-items: center;
justify-content: space-between;
+ align-items: stretch;
+
+ @include rwd($break-flow) {
+ flex-direction: row;
+ }
}
.l-books__input {
position: relative;
display: flex;
align-content: center;
}
.l-books__input {
position: relative;
display: flex;
align-content: center;
- width: 560px;
+ @include rwd($break-flow) {
+ width: 560px;
+ }
.icon {
@include font-size(22px);
.icon {
@include font-size(22px);
@@
-172,10
+184,13
@@
border-radius: 52px;
border: 1px solid #D9D9D9;
width: 100%;
border-radius: 52px;
border: 1px solid #D9D9D9;
width: 100%;
- max-width: 580px;
outline: 0;
transition: border $ease-out 350ms;
outline: 0;
transition: border $ease-out 350ms;
+ @input rwd($break-flow) {
+ max-width: 580px;
+ }
+
&:focus {
border-color: #007880;
}
&:focus {
border-color: #007880;
}
@@
-185,6
+200,8
@@
.l-books__sorting {
display: flex;
align-content: center;
.l-books__sorting {
display: flex;
align-content: center;
+ align-items: center;
+ justify-content: center;
span {
font-weight: $bold;
span {
font-weight: $bold;
@@
-196,8
+213,21
@@
div {
display: flex;
align-content: center;
div {
display: flex;
align-content: center;
+ flex-direction: column;
+
+ @include rwd($break-flow) {
+ flex-direction: row;
+ }
+ select {
+ margin-left: 30px;
+ @include rwd($break-flow) {
+ display: none;
+ }
+ }
+
button {
button {
+ display: none;
border: 0;
padding: 0;
margin: 0 0 0 30px;
border: 0;
padding: 0;
margin: 0 0 0 30px;
@@
-209,6
+239,10
@@
color: #808080;
cursor: pointer;
color: #808080;
cursor: pointer;
+ @include rwd($break-flow) {
+ display: block;
+ }
+
&.is-active {
color: #083F4D;
font-weight: $semibold;
&.is-active {
color: #083F4D;
font-weight: $semibold;
@@
-294,3
+328,8
@@
color: #007880;
}
}
color: #007880;
}
}
+
+
+.l-art__preview {
+ width: 100%;
+}