| 
28 | 28 | .vueperslides__bullets--outside .vueperslides__bullet {  | 
29 | 29 |   border-color: $secondary;  | 
30 | 30 |   box-shadow: none;  | 
31 |  | -}  | 
32 | 31 | 
 
  | 
33 |  | -.vueperslides__bullets--outside .vueperslides__bullet--active {  | 
34 |  | -  background-color: $secondary;  | 
 | 32 | +  &--active {background-color: $secondary;}  | 
35 | 33 | }  | 
36 | 34 | 
 
  | 
37 |  | -/* Examples */  | 
38 |  | -/*===================================*/  | 
 | 35 | +// ============ EXAMPLES =============  | 
 | 36 | +// Simplest ever.  | 
 | 37 | +// ===================================  | 
39 | 38 | .ex--simplest-ever .vueperslide {  | 
40 | 39 |   background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);  | 
41 | 40 |   background-size: 400% 400%;  | 
 | 
47 | 46 |   }  | 
48 | 47 | }  | 
49 | 48 | 
 
  | 
50 |  | -//---------------------//  | 
 | 49 | +// ===================================  | 
51 | 50 | .ex--arrows-and-bullets-1 {  | 
52 | 51 |   width: 600px;  | 
53 | 52 |   max-width: 100%;  | 
 | 
76 | 75 |   }  | 
77 | 76 | }  | 
78 | 77 | 
 
  | 
79 |  | -//---------------------//  | 
 | 78 | +// Images and fading.  | 
 | 79 | +// ===================================  | 
80 | 80 | .ex--images-and-fading {  | 
81 | 81 |   .vueperslide__content-wrapper--outside-top {  | 
82 | 82 |     transition: 0.3s ease-in-out;  | 
 | 
91 | 91 |   }  | 
92 | 92 | }  | 
93 | 93 | 
 
  | 
94 |  | -//---------------------//  | 
 | 94 | +// Complex slide content.  | 
 | 95 | +// ===================================  | 
95 | 96 | .ex--complex-slide-content {  | 
96 | 97 |   .vueperslide__content-wrapper {width: 80%;}  | 
97 | 98 | }  | 
98 |  | -//---------------------//  | 
99 | 99 | 
 
  | 
100 |  | -//---------------------//  | 
 | 100 | +// Events.  | 
 | 101 | +// ===================================  | 
101 | 102 | .events-box p {margin-bottom: 0;}  | 
102 | 103 | 
 
  | 
103 | 104 | .ex--events .vueperslide--active:before {  | 
 | 
114 | 115 |   box-shadow: 0 0 9px rgba(0, 0, 0, 0.2);  | 
115 | 116 | }  | 
116 | 117 | 
 
  | 
117 |  | -//---------------------//  | 
 | 118 | +// Center mode.  | 
 | 119 | +// ===================================  | 
118 | 120 | .ex--center-mode {  | 
119 | 121 |   width: 600px;  | 
120 | 122 |   max-width: 100%;  | 
 | 
123 | 125 |   .vueperslides__arrows--outside {color: $secondary;}  | 
124 | 126 | }  | 
125 | 127 | 
 
  | 
126 |  | -//---------------------//  | 
 | 128 | +// Updating content.  | 
 | 129 | +// ===================================  | 
127 | 130 | .ex--updating-content .vueperslide__content-wrapper--outside-top *,  | 
128 | 131 | .ex--updating-content .vueperslide__content-wrapper--outside-bottom * {  | 
129 | 132 |   color: $secondary !important;  | 
130 | 133 | }  | 
131 | 134 | 
 
  | 
132 |  | -//---------------------//  | 
 | 135 | +// Dragging distance.  | 
 | 136 | +// ===================================  | 
133 | 137 | .ex--dragging-distance {  | 
134 | 138 |   .vueperslide__content-wrapper {width: 80%;}  | 
135 | 139 | }  | 
136 | 140 | 
 
  | 
137 |  | -//---------------------//  | 
 | 141 | +// Slide image inside.  | 
 | 142 | +// ===================================  | 
138 | 143 | .ex--slide-image-inside {  | 
139 | 144 |   .vueperslide__image {  | 
140 | 145 |     transform: scale(1.5) rotate(-10deg);  | 
 | 
147 | 152 |   }  | 
148 | 153 | }  | 
149 | 154 | 
 
  | 
150 |  | -//---------------------//  | 
151 |  | -.ex--show-multiple-slides {  | 
 | 155 | +// Show multiple slides.  | 
 | 156 | +// ===================================  | 
 | 157 | +.ex--show-multiple-slides-and-gap {  | 
152 | 158 |   width: 80%;  | 
153 | 159 |   margin: auto;  | 
154 | 160 | 
 
  | 
155 |  | -  .vueperslide:before {  | 
156 |  | -    content: '';  | 
157 |  | -    position: absolute;  | 
158 |  | -    top: 2em;  | 
159 |  | -    left: 2em;  | 
160 |  | -    right: 2em;  | 
161 |  | -    bottom: 1em;  | 
162 |  | -    background-color: $secondary;  | 
163 |  | -    transition: 0.3s ease-in-out;  | 
164 |  | -    z-index: -1;  | 
165 |  | -  }  | 
 | 161 | +  .vueperslide {background-color: $secondary;}  | 
 | 162 | + | 
 | 163 | +  &:not(.vueperslides--slide-multiple) {  | 
 | 164 | +    .vueperslide {  | 
 | 165 | +      transform: scale(0.85);  | 
 | 166 | +      transition: 0.3s ease-in-out;  | 
 | 167 | +    }  | 
166 | 168 | 
 
  | 
167 |  | -  &:not(.slide-multiple) .vueperslide--active:before {  | 
168 |  | -    transform: scale(1.15);  | 
169 |  | -    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  | 
 | 169 | +    .vueperslide--active {  | 
 | 170 | +      transform: scale(1);  | 
 | 171 | +      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  | 
 | 172 | +      z-index: 1;  | 
 | 173 | +    }  | 
170 | 174 |   }  | 
171 | 175 | 
 
  | 
172 | 176 |   &.ex2 {width: auto;}  | 
173 | 177 | }  | 
174 | 178 | 
 
  | 
175 |  | -@media screen and (max-width: 600px) {  | 
176 |  | -  .ex--show-multiple-slides .vueperslide:before {left: 0.5em;right: 0.5em;}  | 
177 |  | -}  | 
178 |  | - | 
179 |  | -//---------------------//  | 
 | 179 | +// 3d rotation.  | 
 | 180 | +// ===================================  | 
180 | 181 | .ex--3d-rotation {  | 
181 | 182 |   width: 300px;  | 
182 | 183 |   margin: auto;  | 
 | 
185 | 186 |   .vueperslides__arrow--next {right: -6.2em;}  | 
186 | 187 | }  | 
187 | 188 | 
 
  | 
188 |  | -//---------------------//  | 
 | 189 | +// Synced instances.  | 
 | 190 | +// ===================================  | 
189 | 191 | .ex--synced-instances-2 {  | 
190 | 192 |   color: #fff;  | 
191 | 193 | 
 
  | 
 | 
0 commit comments