| 1 |
// Gallery management |
| 2 |
|
| 3 |
.wy-form-gallery-manage |
| 4 |
margin-left: -$base-line-height / 2 |
| 5 |
margin-right: -$base-line-height / 2 |
| 6 |
li |
| 7 |
float: left |
| 8 |
padding: $base-line-height / 2 |
| 9 |
width: 20% |
| 10 |
cursor: pointer |
| 11 |
+media($tablet) |
| 12 |
width: 25% |
| 13 |
+media($mobile) |
| 14 |
width: 50% |
| 15 |
&:active |
| 16 |
cursor: move |
| 17 |
li > a |
| 18 |
padding: $base-line-height / 2 |
| 19 |
background-color: #FFF |
| 20 |
border: solid 1px $table-border-color |
| 21 |
border-bottom: solid 3px $table-border-color |
| 22 |
display: inline-block |
| 23 |
+transition(all .1s ease-in) |
| 24 |
&:active |
| 25 |
border: solid 1px $input-border-color |
| 26 |
border-top: solid 3px $input-border-color |
| 27 |
img |
| 28 |
width: 100% |
| 29 |
+transition(all .05s ease-in) |
| 30 |
|
| 31 |
li.wy-form-gallery-edit |
| 32 |
position: relative |
| 33 |
color: $text-invert |
| 34 |
padding: $base-line-height |
| 35 |
width: 100% |
| 36 |
display: block |
| 37 |
background-color: $menu-background-color |
| 38 |
border-radius: 4px |
| 39 |
.arrow |
| 40 |
position: absolute |
| 41 |
display: block |
| 42 |
top: -50px |
| 43 |
left: 50% |
| 44 |
margin-left: -25px |
| 45 |
z-index: 500 |
| 46 |
+triangle(50px, $menu-background-color, up) |
| 47 |
|