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