@jinntec/fore 1.0.0-3 → 1.0.0-4
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/README.md +3 -0
- package/dist/fore-all.js +10 -10
- package/dist/fore-debug.js +140 -0
- package/package.json +4 -6
- package/resources/{vars.css → fore-styles.css} +292 -0
- package/src/fore.js +2 -0
- package/dist/fore.js +0 -2
- package/resources/fore.css +0 -196
- package/resources/toastify.css +0 -87
package/resources/fore.css
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
@import 'toastify.css';
|
|
2
|
-
@import 'vars.css';
|
|
3
|
-
|
|
4
|
-
html{
|
|
5
|
-
--inspector-bg:var(--paper-grey-500);
|
|
6
|
-
--inspector-pre-bg:var(--paper-grey-100);
|
|
7
|
-
--inspector-color:var(--paper-grey-800);
|
|
8
|
-
--inspector-instance-height:200px;
|
|
9
|
-
}
|
|
10
|
-
[unresolved]{
|
|
11
|
-
display: none;
|
|
12
|
-
}
|
|
13
|
-
[disabled] {
|
|
14
|
-
pointer-events: none;
|
|
15
|
-
cursor: default;
|
|
16
|
-
}
|
|
17
|
-
fx-trigger a[disabled] {
|
|
18
|
-
color:lightgrey;
|
|
19
|
-
}
|
|
20
|
-
fx-trigger img[disabled]{
|
|
21
|
-
filter:blur(2px);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.error{
|
|
25
|
-
background: var(--paper-red-500);
|
|
26
|
-
}
|
|
27
|
-
fx-alert{
|
|
28
|
-
color:darkred;
|
|
29
|
-
font-size: 0.9rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
fx-model, fx-model *, fx-model ::slotted(fx-instance), fx-instance{
|
|
33
|
-
display:none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
fx-control, fx-trigger{
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
position: relative;
|
|
39
|
-
}
|
|
40
|
-
.fx-checkbox{
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
}
|
|
43
|
-
fx-hint{
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
fx-repeatitem{
|
|
47
|
-
position:relative;
|
|
48
|
-
/*
|
|
49
|
-
opacity:1;
|
|
50
|
-
-webkit-transition: opacity 3s;
|
|
51
|
-
-moz-transition: opacity 3s;
|
|
52
|
-
transition: opacity 3s;
|
|
53
|
-
*/
|
|
54
|
-
}
|
|
55
|
-
.hidden {
|
|
56
|
-
visibility: hidden;
|
|
57
|
-
opacity: 0;
|
|
58
|
-
transition: visibility 0s 2s, opacity 2s linear;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* fx-inspector styles */
|
|
62
|
-
fx-inspector{
|
|
63
|
-
position:fixed;
|
|
64
|
-
left:0;
|
|
65
|
-
right:0;
|
|
66
|
-
bottom:0;
|
|
67
|
-
width: 100%;
|
|
68
|
-
background: var(--inspector-bg);
|
|
69
|
-
color: white;
|
|
70
|
-
max-height: 33%;
|
|
71
|
-
overflow: scroll;
|
|
72
|
-
border-top:3px solid black;
|
|
73
|
-
opacity: 0.9;
|
|
74
|
-
}
|
|
75
|
-
fx-inspector::before{
|
|
76
|
-
content:'Instance Inspector';
|
|
77
|
-
font-style:italic;
|
|
78
|
-
position:absolute;
|
|
79
|
-
top:0;
|
|
80
|
-
right: 0.3rem;
|
|
81
|
-
z-index: 10;
|
|
82
|
-
font-size: 0.8rem;
|
|
83
|
-
}
|
|
84
|
-
fx-inspector details{
|
|
85
|
-
padding: 1rem;
|
|
86
|
-
}
|
|
87
|
-
fx-inspector pre{
|
|
88
|
-
background: var(--inspector-pre-bg);
|
|
89
|
-
border-radius: 0.5rem;
|
|
90
|
-
padding: 0.3rem;
|
|
91
|
-
max-height: var(--inspector-instance-height);
|
|
92
|
-
/*overflow: scroll;*/
|
|
93
|
-
}
|
|
94
|
-
fx-inspector details{
|
|
95
|
-
overflow: auto;
|
|
96
|
-
margin:0;
|
|
97
|
-
}
|
|
98
|
-
fx-inspector summary{
|
|
99
|
-
padding: 0;
|
|
100
|
-
}
|
|
101
|
-
fx-dialog{
|
|
102
|
-
display: none;
|
|
103
|
-
}
|
|
104
|
-
fx-dialog.show{
|
|
105
|
-
display: block;
|
|
106
|
-
min-height: 200px;
|
|
107
|
-
border-radius: 0.5rem;
|
|
108
|
-
/*opacity: 0.3;*/
|
|
109
|
-
background:rgba(0,0,0,0.5);
|
|
110
|
-
z-index: 10;
|
|
111
|
-
}
|
|
112
|
-
fx-dialog.show .dialog-content{
|
|
113
|
-
padding: 1rem;
|
|
114
|
-
width:fit-content;
|
|
115
|
-
height:fit-content;
|
|
116
|
-
border:thin solid;
|
|
117
|
-
border-radius: 0.3rem;
|
|
118
|
-
position: absolute;
|
|
119
|
-
left:50%;
|
|
120
|
-
top:50%;
|
|
121
|
-
transform:translateX(-50%) translateY(-50%);
|
|
122
|
-
background: white;
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
fx-dialog a.close-dialog{
|
|
126
|
-
position: absolute;
|
|
127
|
-
right: 0.4rem;
|
|
128
|
-
top:0.2rem;
|
|
129
|
-
color:var(--paper-grey-900);
|
|
130
|
-
text-decoration: none;
|
|
131
|
-
font-size:1.2rem;
|
|
132
|
-
}
|
|
133
|
-
fx-dialog .action{
|
|
134
|
-
width: 100%;
|
|
135
|
-
text-align: center;
|
|
136
|
-
display: block;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
/*
|
|
142
|
-
.visible {
|
|
143
|
-
visibility: visible;
|
|
144
|
-
opacity: 1;
|
|
145
|
-
transition: opacity 2s linear;
|
|
146
|
-
}
|
|
147
|
-
*/
|
|
148
|
-
|
|
149
|
-
.required:after {
|
|
150
|
-
content: '*';
|
|
151
|
-
color: red;
|
|
152
|
-
padding-left: 4px;
|
|
153
|
-
right:3px;
|
|
154
|
-
top:3px;
|
|
155
|
-
z-index: 1;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
[required]:after {
|
|
159
|
-
content: "*";
|
|
160
|
-
display: inline;
|
|
161
|
-
color: red;
|
|
162
|
-
}
|
|
163
|
-
.logtree details{
|
|
164
|
-
padding:0.1rem 1rem;
|
|
165
|
-
margin:0;
|
|
166
|
-
}
|
|
167
|
-
.logtree details summary{
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
.non-relevant{
|
|
171
|
-
opacity: 0;
|
|
172
|
-
height: 0;
|
|
173
|
-
transition: opacity 1s;
|
|
174
|
-
}
|
|
175
|
-
.vertical label{
|
|
176
|
-
display: block;
|
|
177
|
-
}
|
|
178
|
-
[refresh-on-view]{
|
|
179
|
-
/*opacity: 0;*/
|
|
180
|
-
}
|
|
181
|
-
.loaded{
|
|
182
|
-
animation: fadein 0.3s forwards;
|
|
183
|
-
}
|
|
184
|
-
/* avoid flicker from nested lazily loaded elements */
|
|
185
|
-
.loaded .loaded{
|
|
186
|
-
animation: none;
|
|
187
|
-
opacity: 1;
|
|
188
|
-
}
|
|
189
|
-
@keyframes fadein {
|
|
190
|
-
0% {
|
|
191
|
-
opacity:0;
|
|
192
|
-
}
|
|
193
|
-
100% {
|
|
194
|
-
opacity:1;
|
|
195
|
-
}
|
|
196
|
-
}
|
package/resources/toastify.css
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Toastify js 1.11.0
|
|
3
|
-
* https://github.com/apvarun/toastify-js
|
|
4
|
-
* @license MIT licensed
|
|
5
|
-
*
|
|
6
|
-
* Copyright (C) 2018 Varun A P
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
.toastify {
|
|
10
|
-
padding: 12px 20px;
|
|
11
|
-
color: #ffffff;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
|
|
14
|
-
background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
|
|
15
|
-
background: linear-gradient(135deg, #f8f8f9, #cfcfcf);
|
|
16
|
-
position: fixed;
|
|
17
|
-
opacity: 0;
|
|
18
|
-
transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
19
|
-
border-radius: 2px;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
max-width: calc(50% - 20px);
|
|
23
|
-
z-index: 2147483647;
|
|
24
|
-
font-weight: 300;
|
|
25
|
-
color:black;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.toastify.on {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.toast-close {
|
|
33
|
-
opacity: 0.8;
|
|
34
|
-
padding: 0 5px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.toastify-right {
|
|
38
|
-
right: 15px;
|
|
39
|
-
}
|
|
40
|
-
.toastify-right .toast-close {
|
|
41
|
-
margin-right:-10px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.toastify-left {
|
|
45
|
-
left: 15px;
|
|
46
|
-
}
|
|
47
|
-
.toastify-left .toast-close{
|
|
48
|
-
margin-left:-10px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.toastify-top {
|
|
52
|
-
top: -150px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.toastify-bottom {
|
|
56
|
-
bottom: -150px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.toastify-rounded {
|
|
60
|
-
border-radius: 25px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.toastify-avatar {
|
|
64
|
-
width: 1.5em;
|
|
65
|
-
height: 1.5em;
|
|
66
|
-
margin: -7px 5px;
|
|
67
|
-
border-radius: 2px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.toastify-center {
|
|
71
|
-
margin-left: auto;
|
|
72
|
-
margin-right: auto;
|
|
73
|
-
left: 0;
|
|
74
|
-
right: 0;
|
|
75
|
-
max-width: fit-content;
|
|
76
|
-
max-width: -moz-fit-content;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media only screen and (max-width: 360px) {
|
|
80
|
-
.toastify-right, .toastify-left {
|
|
81
|
-
margin-left: auto;
|
|
82
|
-
margin-right: auto;
|
|
83
|
-
left: 0;
|
|
84
|
-
right: 0;
|
|
85
|
-
max-width: fit-content;
|
|
86
|
-
}
|
|
87
|
-
}
|