Serialize whole quote
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / layout / _your-books.scss
1 .l-your-books {
2   background-color: $color-dark-primary;
3   padding-bottom: 40px;
4
5   .l-container {
6     display: flex;
7     overflow: hidden;
8   }
9 }
10
11 .l-your-books__header {
12   margin-top: 36px;
13   display: flex;
14   justify-content: space-between;
15   h3 {
16     margin-top: 0;
17     color: $color-secondary;
18     font-weight: $semibold;
19     @include font-size(21px);
20     line-height: 140%;
21     letter-spacing: -0.01em;
22   }
23 }
24
25 .l-your-books__header__actions {
26   display: none;
27   
28   @include rwd($break-flow) {
29     display: flex;
30   }
31
32   button {
33     width: 40px;
34     height: 40px;
35     background: transparent;
36     border: 1px solid #007880;
37     border-radius: 50%;
38     display: flex;
39     align-content: center;
40     justify-content: center;
41     margin-left: 10px;
42     cursor: pointer;
43
44     &:hover {
45       background-color: darken($color-dark-primary, 2%);
46     }
47
48     &.js-collapse {
49       border-color: transparent;
50     }
51
52     .icon {
53       margin: auto;
54       color: $color-white;
55     }
56   }
57 }
58
59 .l-your-books__continue {
60   .l-books {
61       border-right: 0;
62       padding-right: 0;
63       margin-right: 10px;
64
65       @include rwd($break-flow) {
66           border-right: 1px solid #007880;
67           padding-right: 40px;
68           margin-right: 40px;
69       }
70   }
71 }
72
73 .l-your-books__shelf {
74   width: 100%;
75     max-width: 189px;
76
77     @include rwd($break-flow) {
78         width: 100%;
79         max-width: 928px;
80     }
81
82   .l-your-books__header {
83     padding-right: 85px;
84   }
85
86   .l-books {
87     display: block;
88     flex-wrap: initial;
89   }
90 }