fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mobile for theme
[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
70a6e31
..
b59e48f
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/layout/_books.scss
+++ b/
src/wolnelektury/static/2022/styles/layout/_books.scss
@@
-27,11
+27,17
@@
border-radius: 9px;
padding: 21px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
border-radius: 9px;
padding: 21px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
-
transition: all $ease-dynamic 350ms;
transition: all $ease-dynamic 350ms;
+ outline: 0;
+ margin: 5px;
+
+ &.l-books__item--placeholder {
+ opacity: 0;
+ visibility: hidden;
+ }
- &
:not(:last-child)
{
-
margin-right: 17px
;
+ &
*
{
+
outline: 0
;
}
&:hover {
}
&:hover {
@@
-70,8
+76,10
@@
}
a {
}
a {
+ color: currentColor;
&:hover {
&:hover {
- text-decoration: underline;
+ text-decoration: underline;
+ color: $color-primary;
}
}
}
}
@@
-89,6
+97,9
@@
color: #808080;
margin: 0;
}
color: #808080;
margin: 0;
}
+ .other-info {
+ display: none;
+ }
}
.l-books__item__img {
}
.l-books__item__img {
@@
-96,7
+107,7
@@
margin: 0 0 11px;
img {
margin: 0 0 11px;
img {
-
max-width: 170px
;
+
width: 100%
;
}
}
}
}
@@
-227,25
+238,36
@@
margin-top: 34px;
.l-books__item {
margin-top: 34px;
.l-books__item {
-
width: 705px
;
+
width: calc(100% - 10px)
;
border: 1px solid #D9D9D9;
margin-bottom: 17px;
display: flex;
border: 1px solid #D9D9D9;
margin-bottom: 17px;
display: flex;
+ position: relative;
+ @include rwd($break-flow) {
+ width: 705px;
+ }
.l-books__item__img {
.l-books__item__img {
- margin-bottom: 0;
+ margin-bottom: 0;
+ }
+
+ .l-books__item__actions {
+ margin-top: 16px;
+ @include rwd($break-flow) {
+ position: absolute;
+ top: 21px;
+ left: auto;
+ right: 11px;
+ }
}
}
}
.l-books__item__content {
}
}
}
.l-books__item__content {
- padding-left: 40px;
- position: relative;
-
- .l-books__item__actions {
- position: absolute;
- right: 0;
- }
+ padding-left: 16px;
+ @include rwd($break-flow) {
+ padding-left: 40px;
+ }
h2 {
font-weight: $semibold;
h2 {
font-weight: $semibold;
@@
-271,4
+293,4
@@
line-height: 150%;
color: #007880;
}
line-height: 150%;
color: #007880;
}
-}
\ No newline at end of file
+}