@searpent/react-image-annotate 2.0.6 → 2.0.7
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.
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin styles
|
|
3
|
+
*/
|
|
4
|
+
.ce-header {
|
|
5
|
+
padding: 0.6em 0 3px;
|
|
6
|
+
margin: 0;
|
|
7
|
+
line-height: 1.25em;
|
|
8
|
+
outline: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ce-header p,
|
|
12
|
+
.ce-header div {
|
|
13
|
+
padding: 0 !important;
|
|
14
|
+
margin: 0 !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Styles for Plugin icon in Toolbar
|
|
19
|
+
*/
|
|
20
|
+
.ce-header__icon {}
|
|
21
|
+
|
|
22
|
+
.ce-header[contentEditable=true][data-placeholder]::before {
|
|
23
|
+
position: absolute;
|
|
24
|
+
content: attr(data-placeholder);
|
|
25
|
+
color: #707684;
|
|
26
|
+
font-weight: normal;
|
|
27
|
+
display: none;
|
|
28
|
+
cursor: text;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ce-header[contentEditable=true][data-placeholder]:empty::before {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ce-header[contentEditable=true][data-placeholder]:empty:focus::before {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Custom overwrite */
|
|
40
|
+
.cdx-settings-button {
|
|
41
|
+
width: 100% !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ce-settings__plugin-zone {
|
|
45
|
+
padding: 0 .25rem;
|
|
46
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.page-selector {
|
|
2
|
+
height: 100vh;
|
|
3
|
+
overflow-y: scroll;
|
|
4
|
+
width: 10%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pages {
|
|
8
|
+
list-style: none;
|
|
9
|
+
padding: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.page-thumbnail {
|
|
13
|
+
margin-bottom: 1rem;
|
|
14
|
+
border-radius: .25rem !important;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
filter: grayscale(1);
|
|
17
|
+
transition: transform .2s;
|
|
18
|
+
opacity: .5;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.page-thumbnail:hover {
|
|
22
|
+
box-shadow: 0 0 2rem 0 #8898aa !important;
|
|
23
|
+
filter: grayscale(0);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.page-thumbnail-is-active {
|
|
29
|
+
filter: grayscale(0);
|
|
30
|
+
opacity: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.page-thumbnail img {
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.bottom-buttons {
|
|
38
|
+
background: linear-gradient(#8898aa, rgba(255, 255, 255, 0));
|
|
39
|
+
position: sticky;
|
|
40
|
+
top: 0;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
padding: 1rem;
|
|
44
|
+
margin-bottom: 1rem;
|
|
45
|
+
z-index: 100;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.bottom-buttons button {
|
|
49
|
+
margin-bottom: 1rem;
|
|
50
|
+
width: 100%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.page-number-wrapper {
|
|
54
|
+
position: absolute;
|
|
55
|
+
bottom: 0;
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 10%;
|
|
58
|
+
z-index: 100;
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
background: linear-gradient(rgba(255, 255, 255, 0), #8898aa);
|
|
63
|
+
padding: .5rem 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.page-number {
|
|
67
|
+
font-size: 1.5rem;
|
|
68
|
+
font-weight: 800;
|
|
69
|
+
}
|