Changeset 3825 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/plugin/_single.scss
- Timestamp:
- 08/18/2016 01:17:38 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/plugin
- Files:
-
- 1 added
- 1 moved
-
. (added)
-
_single.scss (moved) (moved from sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_plugin-single.scss) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/plugin/_single.scss
r3824 r3825 1 @import "../../ variables-site/variables-site";1 @import "../../../variables-site/variables-site"; 2 2 3 3 .single .type-plugin { … … 89 89 } 90 90 91 .plugin-favorite {91 .plugin-favorite { 92 92 display: inline-block; 93 93 height: 36px; … … 162 162 } 163 163 164 .read-more { 165 border-bottom: 2px solid #eee; 166 max-height: 200px; 167 overflow: hidden; 168 padding-bottom: 1px; 169 170 &#reviews { 171 max-height: none; 172 overflow: auto; 173 } 174 175 h1, h2, h3 { 176 @include font-size( ms-unitless( ms(0) ) ); 177 font-weight: 600; 178 letter-spacing: 0.16px; 179 letter-spacing: 0.01rem; 180 text-transform: uppercase; 181 182 &:nth-child(2) { 183 margin-top: 0; 184 } 185 } 186 187 h4, h5, h6 { 188 @include font-size( ms-unitless( ms(-2) ) ); 189 font-weight: 600; 190 letter-spacing: 0.8px; 191 letter-spacing: 0.05rem; 192 text-transform: uppercase; 193 194 &:nth-child(2) { 195 margin-top: 0; 196 } 197 } 198 199 h2:first-of-type { 200 @include font-size( ms-unitless( ms(2) ) ); 201 202 // Override wp4.css. 203 border: none; 204 color: $color__text-main; 205 font-weight: 600; 206 padding: 0; 207 text-transform: inherit; 208 } 209 210 p:first-child { 211 margin-top: 0; 212 } 213 214 &.toggled { 215 max-height: none; 216 } 217 } 218 219 .section-toggle { 220 color: $color__link; 221 cursor: pointer; 222 @include font-size( ms-unitless( ms(-2) ) ); 223 margin-top: 8px; 224 margin-top: 0.5rem; 225 position: relative; 226 227 &:after { 228 content: "\f347"; 229 font-family: dashicons; 230 padding-left: 5px; 231 vertical-align: text-top; 232 } 233 } 234 235 .toggled + .section-toggle:after { 236 content: "\f343"; 237 } 238 239 .reviews-link { 240 display: inline-block; 241 @include font-size( ms-unitless( ms(-2) ) ); 242 margin-top: 8px; 243 margin-top: 0.5rem; 244 245 &:after { 246 content: "\f345"; 247 font-family: dashicons; 248 vertical-align: text-top; 249 } 250 } 251 252 .plugin-screenshots { 253 list-style-type: none; 254 margin: 0; 255 padding: 0; 256 257 figcaption { 258 font-style: italic; 259 } 260 } 261 262 .plugin-reviews { 263 list-style-type: none; 264 margin: 0; 265 padding: 0; 266 267 .plugin-review + .plugin-review { 268 margin: 32px 0 16px; 269 margin: 2rem 0 1rem; 270 } 271 272 .review-avatar { 273 display: none; 274 } 275 276 .review, 277 .wporg-ratings, 278 .review-author { 279 display: inline-block; 280 vertical-align: top; 281 } 282 283 .review-header { 284 margin: 0 0 8px; 285 margin: 0 0 0.5rem; 286 } 287 288 .review-title { 289 @include font-size( ms-unitless( ms(0) ) ); 290 font-weight: 600; 291 letter-spacing: 0.16px; 292 letter-spacing: 0.01rem; 293 margin: 0 0 8px; 294 margin: 0 0 0.5rem; 295 text-transform: inherit; 296 } 297 298 .review-author { 299 line-height: 1.25; 300 margin-left: 10px; 301 } 302 303 @media screen and ( min-width: $ms-breakpoint ) { 304 .review-avatar { 305 display: inline-block; 306 vertical-align: top; 307 308 .avatar { 309 margin-right: 16px; 310 margin-right: 1rem; 311 } 312 } 313 314 .review { 315 width: calc(100% - 60px - 1rem); 316 } 317 318 .review-header { 319 margin: 0; 320 } 321 322 .review-author { 323 line-height: 1; 324 } 325 } 326 } 327 328 .plugin-developers { 329 list-style-type: none; 330 margin: 0; 331 332 li { 333 display: inline-block; 334 margin: 0 4% 16px 0; 335 margin: 0 4% 1rem 0; 336 vertical-align: top; 337 width: 48%; 338 339 &:nth-of-type( even ) { 340 margin-right: 0; 341 } 342 } 343 } 344 345 .avatar { 346 border-radius: 50%; 347 margin-right: 10px; 348 vertical-align: middle; 349 } 164 @import 'section/index'; 165 @import 'section/screenshots'; 166 @import 'section/faq'; 167 @import 'section/reviews'; 168 @import 'section/developers'; 350 169 } 351 170
Note: See TracChangeset
for help on using the changeset viewer.