forked from mlutfy/ca.bidon.imagecrop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimagecrop.css
50 lines (41 loc) · 1.21 KB
/
imagecrop.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.crm-imagecrop-dialog {
position: relative;
}
.crm-imagecrop-dialog-preview {
float: right;
}
/* From: https://github.com/tapmodo/Jcrop/blob/master/demos/tutorial3.html */
/* Apply these styles only when #preview-pane has been placed within the Jcrop widget */
.jcrop-holder .crm-imagecrop-dialog-preview-pane {
display: block;
position: absolute;
z-index: 2000;
top: 0;
// right: -280px;
left: 660px;
padding: 6px;
border: 1px rgba(0, 0, 0, 0.4) solid;
background-color: white;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
}
/* the "crop" button */
.crm-imagecrop-dialog .crm-imagecrop-buttons {
position: absolute;
left: 680px;
padding-top: 2.5em;
/* These are set in imagecrop.php. We try to make it adaptable to various preview/crop-area dimensions. */
/* top: $croparea_y px; */
/* width: $croparea_x px; */
}
.crm-imagecrop-close {
padding-left: 1em;
}
/* CiviCRM includes a .css file from jquery/plugins/DataTables that adds a padding on .bottom */
.jcrop-hline.bottom {
padding: 0;
}