Changeset 22137 for trunk/wp-includes/css/media-views.css
- Timestamp:
- 10/08/2012 11:20:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views.css
r22125 r22137 231 231 position: relative; 232 232 float: left; 233 width: 200px;234 height: 200px;233 width: 199px; 234 height: 199px; 235 235 236 236 padding: 0; 237 237 margin: 0 10px 20px; 238 border: 1px solid #dfdfdf; 238 box-shadow: 239 inset 0 0 15px rgba( 0, 0, 0, 0.1 ), 240 inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); 241 background: #eee; 239 242 240 243 -webkit-user-select: none; … … 245 248 } 246 249 247 .attachment:hover {248 border-color: #d54e21;249 }250 251 .attachment.library.selected {252 border-color: #21759b;253 }254 255 250 .attachment.library.selected:after { 256 251 content: '\2713'; … … 277 272 } 278 273 279 .attachment img { 280 display: block; 281 max-height: 200px; 282 max-width: 200px; 283 284 /* Vertically center the thumbnails. */ 285 position: absolute; 274 .attachment .icon, 275 .attachment .thumbnail { 276 display: block; 277 position: absolute; 278 top: 0; 279 left: 0; 280 margin: 0 auto; 281 } 282 283 /* Vertically center the icons. */ 284 .attachment .icon { 286 285 top: 50%; 287 286 left: 50%; … … 291 290 -o-transform: translate( -50%, -50% ); 292 291 transform: translate( -50%, -50% ); 293 294 margin: 0 auto; 295 box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.4 ); 292 } 293 294 .attachment .thumbnail, 295 .attachment .thumbnail img { 296 -webkit-transition-property: width, height, top, left, right, bottom; 297 -moz-transition-property: width, height, top, left, right, bottom; 298 -ms-transition-property: width, height, top, left, right, bottom; 299 -o-transition-property: width, height, top, left, right, bottom; 300 transition-property: width, height, top, left, right, bottom; 301 -webkit-transition-duration: 80ms; 302 -moz-transition-duration: 80ms; 303 -ms-transition-duration: 80ms; 304 -o-transition-duration: 80ms; 305 transition-duration: 80ms; 306 -webkit-transition-delay: 125ms; 307 -moz-transition-delay: 125ms; 308 -ms-transition-delay: 125ms; 309 -o-transition-delay: 125ms; 310 transition-delay: 125ms; 311 } 312 313 .attachment .thumbnail { 314 width: 199px; 315 height: 199px; 316 } 317 318 .attachment .thumbnail:after { 319 content: ''; 320 display: block; 321 position: absolute; 322 top: 0; 323 left: 0; 324 right: 0; 325 bottom: 0; 326 box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); 327 overflow: hidden; 328 } 329 330 .attachment.fit .thumbnail:after { 331 box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); 332 } 333 334 .attachment .thumbnail img { 335 position: absolute; 296 336 } 297 337
Note: See TracChangeset
for help on using the changeset viewer.