scope360-core 0.0.628 → 0.0.629
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/styles/_main.scss +26 -0
- package/dist/styles/_mixins.scss +212 -0
- package/dist/styles/_variables.scss +58 -0
- package/package.json +3 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import "variables", "mixins";
|
|
2
|
+
#app {
|
|
3
|
+
width: 100vw;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
}
|
|
6
|
+
body {
|
|
7
|
+
margin: 0;
|
|
8
|
+
display: flex;
|
|
9
|
+
place-items: center;
|
|
10
|
+
min-width: 320px;
|
|
11
|
+
min-height: 100vh;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
input,
|
|
15
|
+
div,
|
|
16
|
+
span,
|
|
17
|
+
img,
|
|
18
|
+
button {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
font-family: "SF Pro Display", sans-serif;
|
|
21
|
+
padding: 0;
|
|
22
|
+
}
|
|
23
|
+
img {
|
|
24
|
+
max-width: 100%;
|
|
25
|
+
height: auto;
|
|
26
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
@mixin custom-plyr($border-radius, $border) {
|
|
2
|
+
::v-deep(.plyr) {
|
|
3
|
+
border-radius: $border-radius;
|
|
4
|
+
border: $border;
|
|
5
|
+
.plyr__video-wrapper {
|
|
6
|
+
height: unset;
|
|
7
|
+
}
|
|
8
|
+
.plyr__control--overlaid {
|
|
9
|
+
border-radius: 64px;
|
|
10
|
+
border: 1px solid rgba(242, 242, 242, 0.25);
|
|
11
|
+
background: rgba(255, 255, 255, 0.25);
|
|
12
|
+
}
|
|
13
|
+
.plyr__controls__item {
|
|
14
|
+
color: $color-white;
|
|
15
|
+
}
|
|
16
|
+
.plyr__progress input {
|
|
17
|
+
color: rgba(255, 255, 255, 0.25);
|
|
18
|
+
}
|
|
19
|
+
.plyr__volume input {
|
|
20
|
+
color: rgba(255, 255, 255, 0.25);
|
|
21
|
+
}
|
|
22
|
+
.plyr__control:hover {
|
|
23
|
+
background: rgba(255, 255, 255, 0.25);
|
|
24
|
+
}
|
|
25
|
+
@media screen and (min-width: 1920px) {
|
|
26
|
+
.plyr__poster {
|
|
27
|
+
background-size: cover;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin dashboard-widget {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
padding: 16px;
|
|
37
|
+
gap: 16px;
|
|
38
|
+
box-shadow: 0px 4px 45px 0px rgba(209, 209, 209, 0.4);
|
|
39
|
+
border-radius: 8px;
|
|
40
|
+
|
|
41
|
+
min-height: 384px;
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
user-select: none;
|
|
45
|
+
}
|
|
46
|
+
@mixin dashboard-widget-inner {
|
|
47
|
+
&__top {
|
|
48
|
+
display: flex;
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
align-items: center;
|
|
51
|
+
|
|
52
|
+
&__icon {
|
|
53
|
+
color: $color-grey-500;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__title-wrapper {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__title {
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__points {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
gap: 24px;
|
|
72
|
+
|
|
73
|
+
padding-top: 15px;
|
|
74
|
+
border-top: 1px solid $color-grey-100;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__point {
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: 4px;
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
text-wrap: nowrap;
|
|
83
|
+
align-items: flex-end;
|
|
84
|
+
|
|
85
|
+
&__title {
|
|
86
|
+
color: $color-grey-500;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__line {
|
|
90
|
+
flex: 1 0 auto;
|
|
91
|
+
padding-bottom: 4px;
|
|
92
|
+
border-top: 1px dashed $color-grey-300;
|
|
93
|
+
}
|
|
94
|
+
&__value {
|
|
95
|
+
&.-loss {
|
|
96
|
+
color: $color-red-500;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.-win {
|
|
100
|
+
color: $color-green-500;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
&__total-wrapper {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
gap: 12px;
|
|
108
|
+
|
|
109
|
+
&__title {
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
font-weight: 500;
|
|
112
|
+
|
|
113
|
+
color: $color-grey-500;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__total {
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
gap: 12px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&__value {
|
|
123
|
+
font-size: 36px;
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
line-height: 120%;
|
|
126
|
+
|
|
127
|
+
&.-positive {
|
|
128
|
+
color: $color-green-500;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.-negative {
|
|
132
|
+
color: $color-red-500;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
@mixin dashboard-widget-dark {
|
|
138
|
+
background: $dark-theme-gray-80;
|
|
139
|
+
box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.07);
|
|
140
|
+
}
|
|
141
|
+
@mixin badge {
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
gap: 2px;
|
|
145
|
+
padding: 6px 8px;
|
|
146
|
+
height: 28px;
|
|
147
|
+
|
|
148
|
+
border-radius: 6px;
|
|
149
|
+
|
|
150
|
+
span {
|
|
151
|
+
font-size: 12px;
|
|
152
|
+
font-weight: 500;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.-green {
|
|
156
|
+
background-color: $color-green-900;
|
|
157
|
+
|
|
158
|
+
span,
|
|
159
|
+
svg {
|
|
160
|
+
color: $color-green-500;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.-red {
|
|
165
|
+
background-color: $color-red-900;
|
|
166
|
+
|
|
167
|
+
span,
|
|
168
|
+
svg {
|
|
169
|
+
color: $color-red-500;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
svg {
|
|
173
|
+
transform: rotate(180deg);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@mixin dashboard-widget-inner-dark {
|
|
178
|
+
&__title {
|
|
179
|
+
color: $color-grey-100;
|
|
180
|
+
}
|
|
181
|
+
&__points {
|
|
182
|
+
border-top: 1px solid $dark-theme-line;
|
|
183
|
+
}
|
|
184
|
+
&__point {
|
|
185
|
+
&__line {
|
|
186
|
+
border-top: 1px dashed $dark-theme-gray-60;
|
|
187
|
+
}
|
|
188
|
+
&__value {
|
|
189
|
+
color: $color-grey-100;
|
|
190
|
+
&.-loss {
|
|
191
|
+
color: $color-red-500;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.-win {
|
|
195
|
+
color: $color-green-500;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&__total-wrapper {
|
|
201
|
+
&__value {
|
|
202
|
+
color: $color-grey-100;
|
|
203
|
+
&.-positive {
|
|
204
|
+
color: $color-green-500;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.-negative {
|
|
208
|
+
color: $color-red-500;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import url("https://fonts.cdnfonts.com/css/sf-pro-display");
|
|
2
|
+
|
|
3
|
+
$color-white: #ffffff;
|
|
4
|
+
$color-black: #000;
|
|
5
|
+
$color-dark-theme-bg: #101213;
|
|
6
|
+
|
|
7
|
+
$color-yellow: #fc0;
|
|
8
|
+
|
|
9
|
+
$color-grey-0: #f6f6f6;
|
|
10
|
+
$color-grey-2: #f2f2f2;
|
|
11
|
+
$color-grey-15: #ececec;
|
|
12
|
+
$color-grey-100: #ededed;
|
|
13
|
+
$color-grey-200: #d9d9da;
|
|
14
|
+
$color-grey-300: #c3c3c5;
|
|
15
|
+
$color-grey-400: #ababae;
|
|
16
|
+
$color-grey-500: #8e8e93;
|
|
17
|
+
$color-grey-600: #7f7f83;
|
|
18
|
+
$color-grey-700: #6e6e72;
|
|
19
|
+
$color-grey-800: #1c2026;
|
|
20
|
+
|
|
21
|
+
$color-blue-0: #f2f5ff;
|
|
22
|
+
$color-blue-100: #e4ebff;
|
|
23
|
+
$color-blue-200: #c6d4ff;
|
|
24
|
+
$color-blue-250: #cce5ff;
|
|
25
|
+
$color-blue-300: #a1bbff;
|
|
26
|
+
$color-blue-350: #99caff;
|
|
27
|
+
$color-blue-400: #729eff;
|
|
28
|
+
$color-blue-500: #489ffa;
|
|
29
|
+
$color-blue-600: #006de4;
|
|
30
|
+
$color-blue-700: #006de4;
|
|
31
|
+
$color-blue-800: #004da1;
|
|
32
|
+
$color-blue-900: #003772;
|
|
33
|
+
|
|
34
|
+
$color-red: #ff3b30;
|
|
35
|
+
$color-red-0: #fef5f4;
|
|
36
|
+
$color-red-50: #ffe7e5;
|
|
37
|
+
$color-red-100: #fcebe9;
|
|
38
|
+
$color-red-200: #f9d6d0;
|
|
39
|
+
$color-red-250: #ffcfcc;
|
|
40
|
+
$color-red-500: #d84f68;
|
|
41
|
+
$color-red-800: #985242;
|
|
42
|
+
$color-red-900: #c9496129;
|
|
43
|
+
|
|
44
|
+
$color-green-0: #f3f9f5;
|
|
45
|
+
$color-green-50: #ebfaef;
|
|
46
|
+
$color-green-100: #e7f2eb;
|
|
47
|
+
$color-green-200: #d7f4de;
|
|
48
|
+
$color-green-400: #8ac7a4;
|
|
49
|
+
$color-green-500: #439f7f;
|
|
50
|
+
$color-green-600: #2aa248;
|
|
51
|
+
$color-green-800: #367353;
|
|
52
|
+
$color-green-900: #439f7f29;
|
|
53
|
+
|
|
54
|
+
$dark-theme-gray-60: #303030;
|
|
55
|
+
$dark-theme-gray-80: #1d1f20;
|
|
56
|
+
$dark-theme-gray-100: #171717;
|
|
57
|
+
$dark-theme-blue: #3579e9;
|
|
58
|
+
$dark-theme-line: #2d2d2d;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scope360-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.629",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"import": "./dist/scope360-core.js",
|
|
15
15
|
"require": "./dist/scope360-core.umd.cjs"
|
|
16
16
|
},
|
|
17
|
-
"./style.css": "./dist/style.css"
|
|
17
|
+
"./style.css": "./dist/style.css",
|
|
18
|
+
"./styles/*": "./dist/styles/*"
|
|
18
19
|
},
|
|
19
20
|
"license": "ISC",
|
|
20
21
|
"types": "./dist/index.d.ts",
|