Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | @import '../../global/_variables'; // global variables. |
| 2 | @import '../../global/components/_mixins'; // global mixings. |
||
| 3 | |||
| 4 | /* Apply these styles only when #preview-pane has |
||
| 5 | been placed within the Jcrop widget */ |
||
| 6 | #preview-pane { |
||
| 7 | display: block; |
||
| 8 | position: absolute; |
||
| 9 | z-index: 2000; |
||
| 10 | right: -200px; |
||
| 11 | padding: 6px; |
||
| 12 | border: 1px rgba(0,0,0,.4) solid; |
||
| 13 | background-color: white; |
||
| 14 | |||
| 15 | -webkit-border-radius: 6px; |
||
| 16 | -moz-border-radius: 6px; |
||
| 17 | border-radius: 6px; |
||
| 18 | |||
| 19 | -webkit-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2); |
||
| 20 | -moz-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2); |
||
| 21 | box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2); |
||
| 22 | } |
||
| 23 | |||
| 24 | @media (max-width: 1024px) { |
||
| 25 | #preview-pane { |
||
| 26 | right: 0; |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | /* The Javascript code will set the aspect ratio of the crop |
||
| 31 | area based on the size of the thumbnail preview, |
||
| 32 | specified here */ |
||
| 33 | |||
| 34 | #preview-pane .preview-container { |
||
| 35 | width: 175px; |
||
| 36 | height: 150px; |
||
| 37 | overflow: hidden; |
||
| 38 | } |
||
| 39 | |||
| 40 | #demo7 { |
||
| 41 | background-color: #eee; |
||
| 42 | width: 500px; |
||
| 43 | height: 330px; |
||
| 44 | font-size: 24px; |
||
| 45 | font-weight: 300; |
||
| 46 | display: block; |
||
| 47 | } |