@mcurros2/microm 1.1.335-0 → 1.1.337-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1,230 +1,15 @@
1
1
  .image-editor {
2
- color: #868686;
3
- border: 1px solid #2b2a30;
4
- max-height: 100%;
5
- }
6
-
7
- .image-editor__preview {
8
- background: #000;
9
- border: 1px solid #2b2a30;
10
- border-radius: 50%;
11
- width: 45px;
12
- height: 45px;
13
- position: absolute;
14
- top: 20px;
15
- left: 20px;
2
+ width: 100%;
16
3
  }
17
4
 
18
5
  .image-editor__cropper {
19
6
  background: #0f0e13;
20
- height: 400px;
21
- max-height: 100%;
22
- position: relative;
23
- }
24
-
25
- .image-editor__slider {
26
7
  width: 100%;
27
- position: absolute;
28
- bottom: 20px;
29
- left: 50%;
30
- transform: translateX(-50%);
31
- }
32
-
33
- .image-editor__cropper-overlay {
34
- transition: all .5s;
35
- }
36
-
37
- .image-editor__cropper-overlay--faded {
38
- color: #000000e6;
39
- }
40
-
41
- .image-editor__service {
42
- pointer-events: none;
43
- position: absolute;
44
- left: -100%;
45
- }
46
-
47
- .image-editor__reset-button {
48
- background: #ffffff1a;
49
- position: absolute;
50
- top: 20px;
51
- right: 20px;
52
- }
53
-
54
- .image-editor__reset-button:hover {
55
- fill: #868686;
56
- background: #fff3;
57
- }
58
-
59
- .image-editor__reset-button--hidden {
60
- opacity: 0;
61
- visibility: hidden;
62
- }
63
-
64
- .image-editor-slider {
65
- cursor: pointer;
66
- background: #1b1a2166;
67
- border-radius: 10px;
68
- flex-direction: column;
69
- justify-content: center;
70
- align-items: center;
71
- width: 100%;
72
- max-width: 380px;
73
- height: 20px;
74
- padding-left: 16px;
75
- padding-right: 16px;
76
- display: flex;
77
- }
78
-
79
- .image-editor-slider__wrapper {
80
- align-items: center;
81
- width: 100%;
82
- max-width: 400px;
83
- display: flex;
84
- }
85
-
86
- .image-editor-slider__line {
87
- background: #ffffff80;
88
- align-items: center;
89
- width: 100%;
90
- height: 2px;
91
- display: flex;
8
+ height: min(60vh, 32rem);
9
+ min-height: 18rem;
10
+ display: block;
92
11
  position: relative;
93
- }
94
-
95
- .image-editor-slider__fill {
96
- background: #fff;
97
- flex-direction: column;
98
- flex-shrink: 0;
99
- flex-basis: auto;
100
- align-self: stretch;
101
- height: 2px;
102
- position: absolute;
103
- }
104
-
105
- .image-editor-slider__dot {
106
- background: #fff;
107
- border-radius: 50%;
108
- width: 8px;
109
- height: 8px;
110
- position: absolute;
111
- top: 50%;
112
- left: 50%;
113
- transform: translate(-50%, -50%);
114
- }
115
-
116
- .image-editor-slider__value {
117
- color: #fff;
118
- vertical-align: bottom;
119
- justify-content: center;
120
- align-items: center;
121
- font-size: 10px;
122
- font-weight: 500;
123
- transition-property: font-size, opacity;
124
- transition-duration: .5s;
125
- display: flex;
126
- position: absolute;
127
- top: -20px;
128
- transform: translate(-50%);
129
- }
130
-
131
- .image-editor-slider__handler {
132
- background-color: #fff;
133
- justify-content: center;
134
- align-items: center;
135
- width: 2px;
136
- height: 8px;
137
- transition-property: height;
138
- transition-duration: .2s;
139
- display: flex;
140
- position: absolute;
141
- }
142
-
143
- .image-editor-slider__handler:hover, .image-editor-slider__handler--focus {
144
- height: 10px;
145
- }
146
-
147
- .image-editor-slider__handler--hidden {
148
- height: 4px;
149
- }
150
-
151
- .image-editor-navigation {
152
- background: #1b1a21;
153
- border-top: 1px solid #2b2a30;
154
- justify-content: space-between;
155
- align-items: center;
156
- height: 84px;
157
- padding-left: 16px;
158
- padding-right: 16px;
159
- display: flex;
160
- }
161
-
162
- .image-editor-navigation__button {
163
- margin-left: 8px;
164
- margin-right: 8px;
165
- }
166
-
167
- .image-editor-navigation__button__ok {
168
- color: #00e300 !important;
169
- }
170
-
171
- .image-editor-navigation__buttons {
172
- justify-content: center;
173
- align-items: center;
174
- display: flex;
175
- }
176
-
177
- .image-editor-navigation__upload-input {
178
- display: none;
179
- }
180
-
181
- @media (width <= 540px) {
182
- .image-editor-navigation {
183
- padding-left: 8px;
184
- padding-right: 8px;
185
- }
186
-
187
- .image-editor-navigation__button {
188
- margin-left: 4px;
189
- margin-right: 4px;
190
- }
191
- }
192
-
193
- .image-editor-button {
194
- fill: #88888b;
195
- cursor: pointer;
196
- color: currentColor;
197
- background: none;
198
- border: none;
199
- border-radius: 50%;
200
- outline: none;
201
- justify-content: center;
202
- align-items: center;
203
- width: 46px;
204
- height: 46px;
205
- padding: 0;
206
- transition: all .5s;
207
- display: flex;
208
- }
209
-
210
- .image-editor-button--active {
211
- fill: currentColor;
212
- background: #ffffff08;
213
- }
214
-
215
- .image-editor-button:hover, .image-editor-button:focus {
216
- background: #ffffff08;
217
- }
218
-
219
- @media (width <= 540px) {
220
- .image-editor-button {
221
- width: 32px;
222
- height: 32px;
223
- }
224
- }
225
-
226
- .adjustable-image-source {
227
- display: none;
12
+ overflow: hidden;
228
13
  }
229
14
 
230
15
  @font-face {