|
51 | 51 | }
|
52 | 52 | .entry-wrapper {
|
53 | 53 | bottom: 0;
|
54 |
| - background-color: rgba( 0, 0, 0, 0.5 ); |
| 54 | + background-color: rgba( black, 0.5 ); |
55 | 55 | color: white;
|
56 | 56 | left: 0;
|
57 | 57 | padding: 1.5em;
|
|
89 | 89 | white-space: normal;
|
90 | 90 | }
|
91 | 91 | .swiper-pagination-bullets {
|
| 92 | + align-items: flex-end; |
92 | 93 | bottom: 0;
|
93 |
| - line-height: 24px; |
94 |
| - padding: 10px 0 2px; |
| 94 | + display: flex; |
| 95 | + flex-wrap: wrap; |
| 96 | + height: calc( 1.5em + 12px ); |
| 97 | + justify-content: center; |
| 98 | + padding: 0; |
95 | 99 | position: relative;
|
96 |
| - text-align: center; |
97 | 100 | }
|
98 | 101 | .swiper-pagination-bullet {
|
99 | 102 | background: black;
|
| 103 | + border-radius: 6px; |
100 | 104 | display: inline-block;
|
101 |
| - height: 16px; |
| 105 | + height: 12px; |
| 106 | + margin: 0 4px; |
102 | 107 | opacity: 0.5;
|
103 |
| - transform: scale( 0.75 ); |
104 |
| - transition: box-shadow 250ms, opacity 250ms, transform 250ms; |
105 |
| - width: 16px; |
106 |
| - border-radius: 100%; |
107 | 108 | padding: 0;
|
108 |
| - margin: 0 4px; |
| 109 | + transition: box-shadow 250ms, opacity 250ms, width 250ms; |
| 110 | + width: 12px; |
109 | 111 | &:focus {
|
110 | 112 | box-shadow: 0 0 0 2px white, 0 0 0 4px black;
|
111 | 113 | outline: 0;
|
112 | 114 | }
|
113 | 115 | &[selected] {
|
114 | 116 | opacity: 1;
|
115 | 117 | outline: 0;
|
116 |
| - transform: scale( 1 ); |
| 118 | + width: 24px; |
117 | 119 | }
|
118 | 120 | }
|
119 | 121 |
|
120 | 122 | .amp-carousel-button {
|
121 |
| - background-color: rgba( 0, 0, 0, 0.5 ); |
| 123 | + background-color: rgba( black, 0.5 ); |
122 | 124 | background-position: center;
|
123 | 125 | background-repeat: no-repeat;
|
124 | 126 | background-size: 24px;
|
|
133 | 135 | width: 48px;
|
134 | 136 | &:focus,
|
135 | 137 | &:hover {
|
136 |
| - background-color: rgba( 0, 0, 0, 0.75 ); |
| 138 | + background-color: rgba( black, 0.75 ); |
137 | 139 | }
|
138 | 140 | &:focus {
|
139 |
| - box-shadow: inset 0 0 0 2px rgba( 0, 0, 0, 0.75 ), inset 0 0 0 4px white; |
| 141 | + box-shadow: inset 0 0 0 2px rgba( black, 0.75 ), inset 0 0 0 4px white; |
140 | 142 | outline: 0;
|
141 | 143 | }
|
142 | 144 | }
|
143 | 145 | .amp-carousel-button-next,
|
144 | 146 | .amp-carousel-button-prev {
|
| 147 | + left: 1.5em; |
145 | 148 | display: none;
|
146 | 149 |
|
147 | 150 | @include media( mobile ) {
|
|
150 | 153 | }
|
151 | 154 | .amp-carousel-button-next {
|
152 | 155 | background-image: url( "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5.88%204.12L13.76%2012l-7.88%207.88L8%2022l10-10L8%202z'%20fill='white'/%3E%3Cpath%20fill='none'%20d='M0 0h24v24H0z'/%3E%3C/svg%3E" );
|
| 156 | + left: auto; |
| 157 | + right: 1.5em; |
153 | 158 | }
|
154 | 159 | .amp-carousel-button-prev {
|
155 | 160 | background-image: url( "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M18%204.12L10.12%2012%2018%2019.88%2015.88%2022l-10-10%2010-10z'%20fill='white'/%3E%3Cpath%20fill='none'%20d='M0 0h24v24H0z'/%3E%3C/svg%3E" );
|
|
160 | 165 | display: none;
|
161 | 166 | margin-top: 0;
|
162 | 167 | position: absolute;
|
163 |
| - right: 16px; |
164 |
| - top: 16px; |
| 168 | + right: 1.5em; |
| 169 | + top: 1.5em; |
165 | 170 | transform: none;
|
166 | 171 | z-index: 1;
|
167 | 172 | }
|
|
0 commit comments