Skip to content

Commit 2eb1db4

Browse files
committed
prepare for release
1 parent f58fefb commit 2eb1db4

File tree

2 files changed

+55
-2
lines changed

2 files changed

+55
-2
lines changed

ng-croppie.css

+54-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
height: 100%;
2323
}
2424

25-
.croppie-container .cr-viewport {
25+
.croppie-container .cr-viewport,
26+
.croppie-container .cr-resizer {
2627
position: absolute;
2728
border: 2px solid #fff;
2829
margin: auto;
@@ -34,6 +35,54 @@
3435
z-index: 0;
3536
}
3637

38+
.croppie-container .cr-resizer {
39+
z-index: 2;
40+
box-shadow: none;
41+
pointer-events: none;
42+
}
43+
44+
.croppie-container .cr-resizer-vertical,
45+
.croppie-container .cr-resizer-horisontal {
46+
position: absolute;
47+
pointer-events: all;
48+
}
49+
50+
.croppie-container .cr-resizer-vertical::after,
51+
.croppie-container .cr-resizer-horisontal::after {
52+
display: block;
53+
position: absolute;
54+
box-sizing: border-box;
55+
border: 1px solid black;
56+
background: #fff;
57+
width: 10px;
58+
height: 10px;
59+
content: '';
60+
}
61+
62+
.croppie-container .cr-resizer-vertical {
63+
bottom: -5px;
64+
cursor: row-resize;
65+
width: 100%;
66+
height: 10px;
67+
}
68+
69+
.croppie-container .cr-resizer-vertical::after {
70+
left: 50%;
71+
margin-left: -5px;
72+
}
73+
74+
.croppie-container .cr-resizer-horisontal {
75+
right: -5px;
76+
cursor: col-resize;
77+
width: 10px;
78+
height: 100%;
79+
}
80+
81+
.croppie-container .cr-resizer-horisontal::after {
82+
top: 50%;
83+
margin-top: -5px;
84+
}
85+
3786
.croppie-container .cr-original-image {
3887
display: none;
3988
}
@@ -46,6 +95,7 @@
4695
z-index: 1;
4796
position: absolute;
4897
cursor: move;
98+
touch-action: none;
4999
}
50100

51101
.croppie-container .cr-slider-wrap {
@@ -85,6 +135,9 @@
85135
width: 300px;
86136
/*required for proper track sizing in FF*/
87137
max-width: 100%;
138+
padding-top: 8px;
139+
padding-bottom: 8px;
140+
background-color: transparent;
88141
}
89142

90143
.cr-slider::-webkit-slider-runnable-track {

ng-croppie.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)