content.css
364 lines
| 1 | /** |
| 2 | * Strong Testimonials Modern template |
| 3 | */ |
| 4 | /* Clears |
| 5 | -----------------------------------------------*/ |
| 6 | .clear { |
| 7 | clear: both; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | Minimum paragraph width means no short words in skinny space next to image |
| 12 | in columns or small screens. |
| 13 | |
| 14 | This workaround is needed until we can use flexbox properly |
| 15 | or CSS offers container queries. |
| 16 | |
| 17 | Thanks https://css-tricks.com/minimum-paragraph-widths/ |
| 18 | */ |
| 19 | .maybe-clear { |
| 20 | content: ""; |
| 21 | /* this value seems to work well in both responsive and Masonry */ |
| 22 | width: 6em; |
| 23 | display: block; |
| 24 | overflow: hidden; |
| 25 | } |
| 26 | |
| 27 | /* Base |
| 28 | -----------------------------------------------*/ |
| 29 | .strong-view.wpmtst-modern { |
| 30 | display: block; |
| 31 | width: 100%; |
| 32 | } |
| 33 | .strong-view.wpmtst-modern div { |
| 34 | box-sizing: border-box; |
| 35 | } |
| 36 | .strong-view.wpmtst-modern .wpmtst-testimonial { |
| 37 | max-height: none; |
| 38 | max-width: none; |
| 39 | padding: 0; |
| 40 | width: 100%; |
| 41 | } |
| 42 | |
| 43 | .strong-view.wpmtst-modern .wpmtst-testimonial.t-slide { |
| 44 | margin-top: 0; |
| 45 | margin-bottom: 0; |
| 46 | } |
| 47 | .strong-view.wpmtst-modern .wpmtst-testimonial-inner { |
| 48 | display: block; |
| 49 | width: 100%; |
| 50 | height: 100%; |
| 51 | } |
| 52 | .strong-view.wpmtst-modern .wpmtst-testimonial-image { |
| 53 | max-width: 100%; |
| 54 | } |
| 55 | .strong-view.wpmtst-modern .wpmtst-testimonial-field-before { |
| 56 | margin-right: 0.5em; |
| 57 | } |
| 58 | .strong-view.wpmtst-modern a.readmore, |
| 59 | .strong-view.wpmtst-modern a.readmore-toggle { |
| 60 | white-space: nowrap; |
| 61 | z-index: 100; |
| 62 | } |
| 63 | .strong-view.wpmtst-modern a.readmore-toggle:hover { |
| 64 | cursor: pointer; |
| 65 | } |
| 66 | |
| 67 | .strong-view.slider-container { |
| 68 | opacity: 1; |
| 69 | } |
| 70 | .strong-view .screen-reader-text { |
| 71 | clip: rect(1px, 1px, 1px, 1px); |
| 72 | height: 1px; |
| 73 | overflow: hidden; |
| 74 | position: absolute !important; |
| 75 | width: 1px; |
| 76 | word-wrap: normal !important; |
| 77 | } |
| 78 | |
| 79 | /* Template |
| 80 | -----------------------------------------------*/ |
| 81 | .strong-view.wpmtst-modern .wpmtst-testimonial { |
| 82 | margin: 20px auto; |
| 83 | } |
| 84 | .strong-view.wpmtst-modern .wpmtst-testimonial:first-child { |
| 85 | margin-top: 0; |
| 86 | } |
| 87 | .strong-view.wpmtst-modern .wpmtst-testimonial:last-child { |
| 88 | margin-bottom: 0; |
| 89 | } |
| 90 | .strong-view.wpmtst-modern .wpmtst-testimonial-inner { |
| 91 | padding: 30px; |
| 92 | text-align: center; |
| 93 | } |
| 94 | .strong-view.wpmtst-modern .wpmtst-testimonial-inner > *:not(:nth-last-child(2)):not(:last-child) { |
| 95 | margin-bottom: 5px; |
| 96 | } |
| 97 | .strong-view.wpmtst-modern .wpmtst-testimonial-heading { |
| 98 | font-weight: 700; |
| 99 | margin-top: 0; |
| 100 | } |
| 101 | .strong-view.wpmtst-modern .wpmtst-testimonial-content { |
| 102 | font-size: 1.3em; |
| 103 | font-style: italic; |
| 104 | margin: 0 56px; |
| 105 | position: relative; |
| 106 | text-align: center; |
| 107 | } |
| 108 | .strong-view.wpmtst-modern .wpmtst-testimonial-content p:first-of-type { |
| 109 | margin-top: 0; |
| 110 | padding-top: 0; |
| 111 | } |
| 112 | .strong-view.wpmtst-modern .wpmtst-testimonial-content p:last-of-type { |
| 113 | margin-bottom: 0; |
| 114 | padding-bottom: 0; |
| 115 | } |
| 116 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:before, |
| 117 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:after { |
| 118 | color: #CDCDCD; |
| 119 | background:#cdcdcd; |
| 120 | width:36px; |
| 121 | height:36px; |
| 122 | font-size: 36px; |
| 123 | font-style: normal; |
| 124 | line-height: 36px; |
| 125 | position: absolute; |
| 126 | } |
| 127 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:before { |
| 128 | content: ""; |
| 129 | left: -56px; |
| 130 | top: 0; |
| 131 | -webkit-mask: url('../../assets/public/svg/quote-left-solid.svg') center center no-repeat; |
| 132 | mask: url('../../assets/public/svg/quote-left-solid.svg') center center no-repeat; |
| 133 | } |
| 134 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:after { |
| 135 | content: ""; |
| 136 | right: -56px; |
| 137 | bottom: 0; |
| 138 | -webkit-mask: url('../../assets/public/svg/quote-right-solid.svg') center center no-repeat; |
| 139 | mask: url('../../assets/public/svg/quote-right-solid.svg') center center no-repeat; |
| 140 | } |
| 141 | .strong-view.wpmtst-modern .wpmtst-testimonial-field { |
| 142 | clear: both; |
| 143 | text-align: center; |
| 144 | } |
| 145 | .strong-view.wpmtst-modern .wpmtst-testimonial-name { |
| 146 | font-size: 1.3em; |
| 147 | font-weight: 700; |
| 148 | } |
| 149 | .strong-view.wpmtst-modern .wpmtst-testimonial-date { |
| 150 | font-size: 0.9em; |
| 151 | } |
| 152 | .strong-view.wpmtst-modern .wpmtst-testimonial-company { |
| 153 | font-size: 1.1em; |
| 154 | } |
| 155 | .strong-view.wpmtst-modern .wpmtst-testimonial-image { |
| 156 | display: inline-block; |
| 157 | margin-bottom: 10px; |
| 158 | } |
| 159 | .strong-view.wpmtst-modern .wpmtst-testimonial-image img { |
| 160 | border-radius: 50%; |
| 161 | } |
| 162 | .strong-view.wpmtst-modern .wpmtst-testimonial-image a { |
| 163 | text-decoration: none; |
| 164 | box-shadow: none; |
| 165 | } |
| 166 | .strong-view.wpmtst-modern .wpmtst-testimonial-image .initials { |
| 167 | text-align: center; |
| 168 | font-size: 42px; |
| 169 | font-weight: bold; |
| 170 | background-color: #f9f9f9; |
| 171 | border-radius: 50%; |
| 172 | display: table-cell; |
| 173 | vertical-align: middle; |
| 174 | } |
| 175 | .strong-view.wpmtst-modern .readmore-page { |
| 176 | background: #F4F4F4; |
| 177 | padding: 0.7em; |
| 178 | text-align: center; |
| 179 | } |
| 180 | .strong-view.wpmtst-modern .strong-slider-controls.indexed { |
| 181 | line-height: 22px; |
| 182 | padding: 19px 0; |
| 183 | } |
| 184 | .strong-view.wpmtst-modern .strong-slider-controls.indexed .slider-pager span { |
| 185 | height: 22px; |
| 186 | width: 22px; |
| 187 | } |
| 188 | .strong-view.wpmtst-modern .strong-slider-controls.indexed span.slider-pager-active { |
| 189 | border-radius: 50%; |
| 190 | font-weight: 400; |
| 191 | } |
| 192 | |
| 193 | /* In Widget |
| 194 | -----------------------------------------------*/ |
| 195 | .widget .strong-view.wpmtst-modern .wpmtst-testimonial-inner { |
| 196 | padding: 20px; |
| 197 | } |
| 198 | .widget .strong-view.wpmtst-modern.slider-bottom .wpmtst-testimonial-inner { |
| 199 | padding-bottom: 40px; |
| 200 | } |
| 201 | .widget .strong-view.wpmtst-modern .strong-slider-controls { |
| 202 | line-height: 40px; |
| 203 | } |
| 204 | .widget .strong-view.wpmtst-modern .wpmtst-testimonial-content { |
| 205 | margin: 36px 0; |
| 206 | } |
| 207 | .widget .strong-view.wpmtst-modern .wpmtst-testimonial-content:before { |
| 208 | left: 0; |
| 209 | top: -36px; |
| 210 | } |
| 211 | .widget .strong-view.wpmtst-modern .wpmtst-testimonial-content:after { |
| 212 | right: 0; |
| 213 | bottom: -36px; |
| 214 | } |
| 215 | .widget .strong-view.wpmtst-modern .readmore { |
| 216 | display: block; |
| 217 | } |
| 218 | |
| 219 | /* Pagination |
| 220 | -----------------------------------------------*/ |
| 221 | /* Simple pagination |
| 222 | -----------------------------------------------*/ |
| 223 | .strong-view.wpmtst-modern.strong-pager { |
| 224 | display: none; |
| 225 | } |
| 226 | |
| 227 | .simplePagerList { |
| 228 | /* match .strong-content container */ |
| 229 | margin: 20px auto; |
| 230 | text-align: center; |
| 231 | } |
| 232 | |
| 233 | .strong-view ul.simplePagerNav { |
| 234 | margin: 0 auto; |
| 235 | padding: 0; |
| 236 | display: inline-block; |
| 237 | } |
| 238 | .strong-view ul.simplePagerNav li { |
| 239 | display: inline; |
| 240 | list-style: none; |
| 241 | margin: 0; |
| 242 | padding: 0; |
| 243 | } |
| 244 | .strong-view ul.simplePagerNav li a { |
| 245 | border-radius: 50%; |
| 246 | display: inline-block; |
| 247 | line-height: 1.7em; |
| 248 | margin: 0 1px; |
| 249 | outline: none; |
| 250 | text-decoration: none; |
| 251 | transition: background 0.2s ease; |
| 252 | min-width: 1.7em; |
| 253 | } |
| 254 | .strong-view ul.simplePagerNav li a:hover { |
| 255 | background: #CDCDCD; |
| 256 | } |
| 257 | .strong-view ul.simplePagerNav li.currentPage a { |
| 258 | text-decoration: none; |
| 259 | background: #CDCDCD; |
| 260 | color: #000; |
| 261 | } |
| 262 | |
| 263 | .strong-view.rtl ul.simplePagerNav li { |
| 264 | float: right; |
| 265 | } |
| 266 | |
| 267 | /* Standard pagination |
| 268 | -----------------------------------------------*/ |
| 269 | .strong-view .nav-links { |
| 270 | margin: 20px auto; |
| 271 | text-align: center; |
| 272 | } |
| 273 | .strong-view .nav-links a, .strong-view .nav-links span { |
| 274 | display: inline-block; |
| 275 | line-height: 1.5; |
| 276 | margin: 0 0.2em; |
| 277 | padding: 0.1em 0.3em; |
| 278 | transition: background 0.2s ease; |
| 279 | } |
| 280 | .strong-view .nav-links a.current, .strong-view .nav-links span.current { |
| 281 | background: #999; |
| 282 | color: #FFF; |
| 283 | } |
| 284 | .strong-view .nav-links a { |
| 285 | outline: none; |
| 286 | text-decoration: none; |
| 287 | } |
| 288 | .strong-view .nav-links a:hover, |
| 289 | .strong-view .nav-links a.prev:hover, |
| 290 | .strong-view .nav-links a.next:hover, |
| 291 | .strong-view .nav-links span:hover { |
| 292 | background: #BBB; |
| 293 | color: #FFF; |
| 294 | } |
| 295 | |
| 296 | /* Slideshow |
| 297 | -----------------------------------------------*/ |
| 298 | .strong-view.wpmtst-modern.slider-container .strong-content { |
| 299 | margin: 0 auto; |
| 300 | } |
| 301 | .strong-view.wpmtst-modern.slider-container .wpmtst-testimonial:not(:first-child) { |
| 302 | display: none; |
| 303 | } |
| 304 | .strong-view.wpmtst-modern.nav-position-inside .wpmtst-testimonial-inner { |
| 305 | padding-bottom: 60px; |
| 306 | } |
| 307 | .strong-view.wpmtst-modern.controls-type-sides .wpmtst-testimonial-inner { |
| 308 | padding-left: 50px; |
| 309 | padding-right: 50px; |
| 310 | } |
| 311 | |
| 312 | /* Responsive |
| 313 | -----------------------------------------------*/ |
| 314 | @media only screen and (max-width: 480px) { |
| 315 | .strong-view.wpmtst-modern .wpmtst-testimonial-inner { |
| 316 | padding: 15px; |
| 317 | } |
| 318 | .strong-view.wpmtst-modern .wpmtst-testimonial-content { |
| 319 | margin: 0; |
| 320 | font-size: 1.1em; |
| 321 | /* move quotes from left/right to top/bottom */ |
| 322 | } |
| 323 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:before { |
| 324 | position: static; |
| 325 | display: block; |
| 326 | margin-bottom: 10px; |
| 327 | } |
| 328 | .strong-view.wpmtst-modern .wpmtst-testimonial-content:after { |
| 329 | position: static; |
| 330 | float: right; |
| 331 | margin-top: 10px; |
| 332 | } |
| 333 | .strong-view.wpmtst-modern .wpmtst-testimonial-name { |
| 334 | font-size: 1.1em; |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | |
| 339 | .strong-view.wpmtst-modern .disabled { |
| 340 | display: none!important; |
| 341 | } |
| 342 | |
| 343 | .wpmslider-controls.disabled { |
| 344 | display: block !important; |
| 345 | } |
| 346 | |
| 347 | /* Compatibility with metaslider pro layers display |
| 348 | ----------------------------------------------------*/ |
| 349 | |
| 350 | .msHtmlOverlay .layer .disabled { |
| 351 | display: block !important; |
| 352 | } |
| 353 | |
| 354 | /* Readmore Inline |
| 355 | ----------------------------------------------------*/ |
| 356 | .readmore-excerpt-inline, |
| 357 | .readmore-content-inline:not([hidden]), |
| 358 | .readmore-content-inline:not([hidden]) p { |
| 359 | display: inline; |
| 360 | } |
| 361 | |
| 362 | .wpmtst-inline-readme { |
| 363 | margin-left: 5px; |
| 364 | } |