content.css
284 lines
| 1 | /** |
| 2 | * Strong Testimonials Simple 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-simple { |
| 30 | display: block; |
| 31 | width: 100%; |
| 32 | } |
| 33 | .strong-view.wpmtst-simple div { |
| 34 | box-sizing: border-box; |
| 35 | } |
| 36 | .strong-view.wpmtst-simple .wpmtst-testimonial { |
| 37 | max-height: none; |
| 38 | max-width: none; |
| 39 | padding: 0; |
| 40 | width: 100%; |
| 41 | } |
| 42 | .strong-view.wpmtst-simple .wpmtst-testimonial.t-slide { |
| 43 | margin-top: 0; |
| 44 | margin-bottom: 0; |
| 45 | } |
| 46 | .strong-view.wpmtst-simple .wpmtst-testimonial-inner { |
| 47 | display: block; |
| 48 | width: 100%; |
| 49 | height: 100%; |
| 50 | } |
| 51 | .strong-view.wpmtst-simple .wpmtst-testimonial-image { |
| 52 | max-width: 100%; |
| 53 | } |
| 54 | .strong-view.wpmtst-simple .wpmtst-testimonial-field-before { |
| 55 | margin-right: 0.5em; |
| 56 | } |
| 57 | .strong-view.wpmtst-simple a.readmore, |
| 58 | .strong-view.wpmtst-simple a.readmore-toggle { |
| 59 | white-space: nowrap; |
| 60 | z-index: 100; |
| 61 | } |
| 62 | .strong-view.wpmtst-simple a.readmore-toggle:hover { |
| 63 | cursor: pointer; |
| 64 | } |
| 65 | |
| 66 | .strong-view.slider-container { |
| 67 | opacity: 1; |
| 68 | } |
| 69 | .strong-view .screen-reader-text { |
| 70 | clip: rect(1px, 1px, 1px, 1px); |
| 71 | height: 1px; |
| 72 | overflow: hidden; |
| 73 | position: absolute !important; |
| 74 | width: 1px; |
| 75 | word-wrap: normal !important; |
| 76 | } |
| 77 | |
| 78 | /* Template |
| 79 | -----------------------------------------------*/ |
| 80 | .strong-view.wpmtst-simple .strong-content { |
| 81 | margin: 1em auto; |
| 82 | } |
| 83 | .strong-view.wpmtst-simple .wpmtst-testimonial { |
| 84 | margin: 1em auto; |
| 85 | text-align: left; |
| 86 | } |
| 87 | .strong-view.wpmtst-simple .wpmtst-testimonial:first-child { |
| 88 | margin-top: 0; |
| 89 | } |
| 90 | .strong-view.wpmtst-simple .wpmtst-testimonial:last-child { |
| 91 | margin-bottom: 0; |
| 92 | } |
| 93 | .strong-view.wpmtst-simple .wpmtst-testimonial-inner { |
| 94 | padding: 1em; |
| 95 | text-align: left; |
| 96 | } |
| 97 | .strong-view.wpmtst-simple .wpmtst-testimonial-inner > *:not(:nth-last-child(2)):not(:last-child) { |
| 98 | margin-bottom: 5px; |
| 99 | } |
| 100 | .strong-view.wpmtst-simple .wpmtst-testimonial-heading { |
| 101 | margin-top: 0; |
| 102 | margin-bottom: 1em; |
| 103 | text-align: left; |
| 104 | } |
| 105 | .strong-view.wpmtst-simple .wpmtst-testimonial-content p:first-of-type { |
| 106 | margin-top: 0; |
| 107 | padding-top: 0; |
| 108 | } |
| 109 | .strong-view.wpmtst-simple .wpmtst-testimonial-content p:last-of-type { |
| 110 | margin-bottom: 0; |
| 111 | padding-bottom: 0; |
| 112 | } |
| 113 | .strong-view.wpmtst-simple .wpmtst-testimonial-image { |
| 114 | float: left; |
| 115 | margin-top: .25em; |
| 116 | margin-right: 1em; |
| 117 | margin-bottom: 1em; |
| 118 | } |
| 119 | .strong-view.wpmtst-simple .wpmtst-testimonial-image img { |
| 120 | background: none; |
| 121 | } |
| 122 | .strong-view.wpmtst-simple .wpmtst-testimonial-image a { |
| 123 | text-decoration: none; |
| 124 | box-shadow: none; |
| 125 | } |
| 126 | .strong-view.wpmtst-simple .wpmtst-testimonial-image .initials { |
| 127 | background: none; |
| 128 | text-align: center; |
| 129 | font-size: 42px; |
| 130 | font-weight: bold; |
| 131 | display: table-cell; |
| 132 | vertical-align: middle; |
| 133 | } |
| 134 | .strong-view.wpmtst-simple .wpmtst-testimonial-field { |
| 135 | clear: both; |
| 136 | } |
| 137 | .strong-view.wpmtst-simple .readmore { |
| 138 | margin-top: 1em; |
| 139 | } |
| 140 | .strong-view.wpmtst-simple .readmore-page { |
| 141 | padding: 1em; |
| 142 | text-align: center; |
| 143 | } |
| 144 | |
| 145 | /* Pagination |
| 146 | -----------------------------------------------*/ |
| 147 | /* Simple pagination |
| 148 | -----------------------------------------------*/ |
| 149 | .strong-view.wpmtst-simple.strong-pager { |
| 150 | display: none; |
| 151 | } |
| 152 | |
| 153 | .simplePagerList { |
| 154 | /* match .strong-content container */ |
| 155 | margin: 20px auto; |
| 156 | text-align: center; |
| 157 | } |
| 158 | |
| 159 | .strong-view ul.simplePagerNav { |
| 160 | margin: 0 auto; |
| 161 | padding: 0; |
| 162 | display: inline-block; |
| 163 | } |
| 164 | .strong-view ul.simplePagerNav li { |
| 165 | display: inline; |
| 166 | list-style: none; |
| 167 | margin: 0; |
| 168 | padding: 0; |
| 169 | } |
| 170 | .strong-view ul.simplePagerNav li a { |
| 171 | margin: 0 0.2em; |
| 172 | padding: 0.1em 0.3em; |
| 173 | outline: none; |
| 174 | text-decoration: none; |
| 175 | transition: background 0.2s ease; |
| 176 | } |
| 177 | .strong-view ul.simplePagerNav li a:hover { |
| 178 | background: #BBB; |
| 179 | color: #FFF; |
| 180 | } |
| 181 | .strong-view ul.simplePagerNav li.currentPage a { |
| 182 | text-decoration: none; |
| 183 | background: #999; |
| 184 | color: #FFF; |
| 185 | } |
| 186 | |
| 187 | .strong-view.rtl ul.simplePagerNav li { |
| 188 | float: right; |
| 189 | } |
| 190 | |
| 191 | /* Standard pagination |
| 192 | -----------------------------------------------*/ |
| 193 | .strong-view .nav-links { |
| 194 | margin: 20px auto; |
| 195 | text-align: center; |
| 196 | } |
| 197 | .strong-view .nav-links a, .strong-view .nav-links span { |
| 198 | display: inline-block; |
| 199 | line-height: 1.5; |
| 200 | margin: 0 0.2em; |
| 201 | padding: 0.1em 0.3em; |
| 202 | transition: background 0.2s ease; |
| 203 | } |
| 204 | .strong-view .nav-links a.current, .strong-view .nav-links span.current { |
| 205 | background: #999; |
| 206 | color: #FFF; |
| 207 | } |
| 208 | .strong-view .nav-links a { |
| 209 | outline: none; |
| 210 | text-decoration: none; |
| 211 | } |
| 212 | .strong-view .nav-links a:hover, |
| 213 | .strong-view .nav-links a.prev:hover, |
| 214 | .strong-view .nav-links a.next:hover, |
| 215 | .strong-view .nav-links span:hover { |
| 216 | background: #BBB; |
| 217 | color: #FFF; |
| 218 | } |
| 219 | |
| 220 | /* Slideshow |
| 221 | -----------------------------------------------*/ |
| 222 | .strong-view.wpmtst-simple.slider-container .strong-content { |
| 223 | margin: 0 auto; |
| 224 | } |
| 225 | .strong-view.wpmtst-simple.slider-container .wpmtst-testimonial:not(:first-child) { |
| 226 | display: none; |
| 227 | } |
| 228 | .strong-view.wpmtst-simple.nav-position-inside .wpmtst-testimonial-inner { |
| 229 | padding-bottom: 48px; |
| 230 | } |
| 231 | .strong-view.wpmtst-simple.controls-type-sides .wpmtst-testimonial-inner { |
| 232 | padding-left: 50px; |
| 233 | padding-right: 50px; |
| 234 | } |
| 235 | |
| 236 | /* Responsive |
| 237 | -----------------------------------------------*/ |
| 238 | @media only screen and (max-width: 320px) { |
| 239 | .strong-view.wpmtst-simple .wpmtst-testimonial-image { |
| 240 | float: none; |
| 241 | margin-left: auto; |
| 242 | margin-right: auto; |
| 243 | } |
| 244 | } |
| 245 | /* RTL |
| 246 | -----------------------------------------------*/ |
| 247 | .strong-view.wpmtst-simple.rtl .wpmtst-testimonial, |
| 248 | .strong-view.wpmtst-simple.rtl .wpmtst-testimonial-inner, |
| 249 | .strong-view.wpmtst-simple.rtl .wpmtst-testimonial-heading { |
| 250 | text-align: right; |
| 251 | } |
| 252 | .strong-view.wpmtst-simple.rtl .wpmtst-testimonial-image { |
| 253 | float: right; |
| 254 | margin-left: 1em; |
| 255 | } |
| 256 | .strong-view.wpmtst-simple.rtl .wpmtst-testimonial-field { |
| 257 | text-align: left; |
| 258 | } |
| 259 | .strong-view.wpmtst-simple .disabled { |
| 260 | display : none!important; |
| 261 | } |
| 262 | |
| 263 | .wpmslider-controls.disabled { |
| 264 | display: block !important; |
| 265 | } |
| 266 | |
| 267 | /* Compatibility with metaslider pro layers display |
| 268 | ----------------------------------------------------*/ |
| 269 | |
| 270 | .msHtmlOverlay .layer .disabled { |
| 271 | display: block !important; |
| 272 | } |
| 273 | |
| 274 | /* Readmore Inline |
| 275 | ----------------------------------------------------*/ |
| 276 | .readmore-excerpt-inline, |
| 277 | .readmore-content-inline:not([hidden]), |
| 278 | .readmore-content-inline:not([hidden]) p { |
| 279 | display: inline; |
| 280 | } |
| 281 | |
| 282 | .wpmtst-inline-readme { |
| 283 | margin-left: 5px; |
| 284 | } |