@topvisor/ui 0.0.11 → 0.0.13

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/dark.css CHANGED
@@ -1,116 +1,116 @@
1
- :root {
2
- /* Main */
3
- --color-primary: rgba(25, 117, 255, 1);
4
- --color-primary-2: rgba(77, 148, 255, 1);
5
-
6
- --color-secondary-opacity: rgba(193, 203, 215, 0.16);
7
- --color-secondary-2-opacity: rgba(193, 203, 215, 0.32);
8
- --color-secondary-3-opacity: rgba(193, 203, 215, 0.38);
9
-
10
- --color-positive: var(--color-green-450);
11
- --color-positive-opacity: rgba(0, 102, 44, 0.75);
12
- --color-positive-light: var(--color-green-800);
13
- --color-positive-light-opacity: rgba(22, 196, 96, 0.06);
14
-
15
- --color-warning: var(--color-yellow-450);
16
- --color-warning-opacity: rgba(255, 170, 51, 0.3);
17
- --color-warning-light: var(--color-yellow-800);
18
- --color-warning-light-opacity: rgba(175, 109, 19, 0.24);
19
-
20
- --color-negative: var(--color-red-450);
21
- --color-negative-opacity: rgba(234, 65, 50, 0.3);
22
- --color-negative-light: var(--color-red-800);
23
- --color-negative-light-opacity: rgba(121, 34, 26, 0.24);
24
-
25
- /* Text */
26
- --color-text-1: rgba(248, 250, 252, 0.8);
27
- --color-text-2: rgba(248, 250, 252, 0.6);
28
- --color-text-3: rgba(248, 250, 252, 0.4);
29
- --color-text-4: rgba(248, 250, 252, 0.3);
30
- --color-text: var(--color-text-1);
31
-
32
- --color-text-secondary: var(--color-gray-750);
33
- --color-text-secondary-2: var(--color-gray-650);
34
-
35
- --color-text-link: rgba(77, 148, 255, 1);
36
- --color-text-link-hover: rgba(23, 105, 227, 1);
37
-
38
- --color-overlay: rgba(0, 0, 0, 0.3);
39
-
40
- --color-placeholder: var(--color-gray-350);
41
- --color-placeholder-active: var(--color-gray-450);
42
-
43
- /* Background colors */
44
- --color-bg-1: rgba(21, 23, 25, 1);
45
- --color-bg-2: rgba(26, 28, 31, 1);
46
- --color-bg-3: rgba(38, 41, 46, 1);
47
-
48
- /* Line colors */
49
- --color-line-1-opacity: rgba(193, 203, 215, 0.1);
50
- --color-line-2-opacity: rgba(193, 203, 215, 0.2);
51
-
52
- /* Scroll */
53
- --scroll-thumb-color: var(--color-gray-750);
54
- --scroll-thumb-color-hover: var(--color-gray-700);
55
- --scroll-thumb-color-active: var(--color-gray-650);
56
-
57
- /* Page */
58
- --body-background-color: var(--content-background-color);
59
- --content-background-color: var(--color-bg-3);
60
-
61
- /* Theme */
62
- --color-theme-0: var(--color-bg-3);
63
- --color-theme-25: rgba(40, 43, 48, 1);
64
- --color-theme-50: rgba(41, 45, 51, 1);
65
- --color-theme-75: rgba(44, 49, 56, 1);
66
- --color-theme-100: rgba(48, 52, 59, 1);
67
- --color-theme-125: rgba(52, 56, 64, 1);
68
- --color-theme-150: rgba(54, 59, 69, 1);
69
- --color-theme-200: rgba(58, 63, 74, 1);
70
- --color-theme-250: rgba(61, 66, 77, 1);
71
- --color-theme-300: rgba(64, 70, 82, 1);
72
- --color-theme-350: rgba(68, 74, 87, 1);
73
- --color-theme-400: rgba(75, 81, 94, 1);
74
- --color-theme-450: rgba(82, 87, 99, 1);
75
- --color-theme-500: rgba(90, 95, 107, 1);
76
- --color-theme-525: rgba(98, 103, 115, 1);
77
- --color-theme-550: rgba(108, 112, 122, 1);
78
- --color-theme-600: rgba(116, 120, 130, 1);
79
- --color-theme-650: rgba(128, 131, 140, 1);
80
- --color-theme-700: rgba(142, 145, 153, 1);
81
- --color-theme-750: rgba(157, 160, 166, 1);
82
- --color-theme-800: rgba(174, 177, 184, 1);
83
- --color-theme-850: rgba(193, 196, 201, 1);
84
- --color-theme-875: rgba(211, 214, 219, 1);
85
- --color-theme-900: rgba(235, 237, 240, 1);
86
- --color-theme-925: rgba(240, 242, 245, 1);
87
- --color-theme-950: rgba(245, 246, 247, 1);
88
- --color-theme-975: rgba(250, 251, 252, 1);
89
- --color-theme-1000: rgba(255, 255, 255, 1);
90
-
91
- /* top-shadow */
92
- --top-shadow-s:
93
- 0px 0px 3px rgba(0, 0, 0, 0.07),
94
- 0px 5px 25px rgba(0, 0, 0, 0.12);
95
- --top-shadow:
96
- 0px 0px 3px rgba(0, 0, 0, 0.07),
97
- 0px 5px 25px rgba(0, 0, 0, 0.3);
98
- --top-shadow-b:
99
- 0px 0px 4px rgba(0, 0, 0, 0.08),
100
- 0px 18px 32px rgba(0, 0, 0, 0.18);
101
-
102
- --top-shadow-darken: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.03);
103
- --top-shadow-darken-2: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.07);
104
- --top-shadow-darken-3: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.14);
105
- }
106
-
107
- /* forms */
108
- :root {
109
- --top-forms-color: var(--color-text);
110
-
111
- --top-forms-border-color: var(--color-line-1-opacity);
112
- --top-forms-border-color-hover: var(--color-line-2-opacity);
113
-
114
- --top-forms-background-color: var(--color-bg-3);
115
- --top-forms-background-color-hover: var(--color-bg-3);
1
+ :root {
2
+ /* Main */
3
+ --color-primary: rgba(25, 117, 255, 1);
4
+ --color-primary-2: rgba(77, 148, 255, 1);
5
+
6
+ --color-secondary-opacity: rgba(193, 203, 215, 0.16);
7
+ --color-secondary-2-opacity: rgba(193, 203, 215, 0.32);
8
+ --color-secondary-3-opacity: rgba(193, 203, 215, 0.38);
9
+
10
+ --color-positive: var(--color-green-450);
11
+ --color-positive-opacity: rgba(0, 102, 44, 0.75);
12
+ --color-positive-light: var(--color-green-800);
13
+ --color-positive-light-opacity: rgba(22, 196, 96, 0.06);
14
+
15
+ --color-warning: var(--color-yellow-450);
16
+ --color-warning-opacity: rgba(255, 170, 51, 0.3);
17
+ --color-warning-light: var(--color-yellow-800);
18
+ --color-warning-light-opacity: rgba(175, 109, 19, 0.24);
19
+
20
+ --color-negative: var(--color-red-450);
21
+ --color-negative-opacity: rgba(234, 65, 50, 0.3);
22
+ --color-negative-light: var(--color-red-800);
23
+ --color-negative-light-opacity: rgba(121, 34, 26, 0.24);
24
+
25
+ /* Text */
26
+ --color-text-1: rgba(248, 250, 252, 0.8);
27
+ --color-text-2: rgba(248, 250, 252, 0.6);
28
+ --color-text-3: rgba(248, 250, 252, 0.4);
29
+ --color-text-4: rgba(248, 250, 252, 0.3);
30
+ --color-text: var(--color-text-1);
31
+
32
+ --color-text-secondary: var(--color-gray-750);
33
+ --color-text-secondary-2: var(--color-gray-650);
34
+
35
+ --color-text-link: rgba(77, 148, 255, 1);
36
+ --color-text-link-hover: rgba(23, 105, 227, 1);
37
+
38
+ --color-overlay: rgba(0, 0, 0, 0.3);
39
+
40
+ --color-placeholder: var(--color-gray-350);
41
+ --color-placeholder-active: var(--color-gray-450);
42
+
43
+ /* Background colors */
44
+ --color-bg-1: rgba(21, 23, 25, 1);
45
+ --color-bg-2: rgba(26, 28, 31, 1);
46
+ --color-bg-3: rgba(38, 41, 46, 1);
47
+
48
+ /* Line colors */
49
+ --color-line-1-opacity: rgba(193, 203, 215, 0.1);
50
+ --color-line-2-opacity: rgba(193, 203, 215, 0.2);
51
+
52
+ /* Scroll */
53
+ --scroll-thumb-color: var(--color-gray-750);
54
+ --scroll-thumb-color-hover: var(--color-gray-700);
55
+ --scroll-thumb-color-active: var(--color-gray-650);
56
+
57
+ /* Page */
58
+ --body-background-color: var(--content-background-color);
59
+ --content-background-color: var(--color-bg-3);
60
+
61
+ /* Theme */
62
+ --color-theme-0: var(--color-bg-3);
63
+ --color-theme-25: rgba(40, 43, 48, 1);
64
+ --color-theme-50: rgba(41, 45, 51, 1);
65
+ --color-theme-75: rgba(44, 49, 56, 1);
66
+ --color-theme-100: rgba(48, 52, 59, 1);
67
+ --color-theme-125: rgba(52, 56, 64, 1);
68
+ --color-theme-150: rgba(54, 59, 69, 1);
69
+ --color-theme-200: rgba(58, 63, 74, 1);
70
+ --color-theme-250: rgba(61, 66, 77, 1);
71
+ --color-theme-300: rgba(64, 70, 82, 1);
72
+ --color-theme-350: rgba(68, 74, 87, 1);
73
+ --color-theme-400: rgba(75, 81, 94, 1);
74
+ --color-theme-450: rgba(82, 87, 99, 1);
75
+ --color-theme-500: rgba(90, 95, 107, 1);
76
+ --color-theme-525: rgba(98, 103, 115, 1);
77
+ --color-theme-550: rgba(108, 112, 122, 1);
78
+ --color-theme-600: rgba(116, 120, 130, 1);
79
+ --color-theme-650: rgba(128, 131, 140, 1);
80
+ --color-theme-700: rgba(142, 145, 153, 1);
81
+ --color-theme-750: rgba(157, 160, 166, 1);
82
+ --color-theme-800: rgba(174, 177, 184, 1);
83
+ --color-theme-850: rgba(193, 196, 201, 1);
84
+ --color-theme-875: rgba(211, 214, 219, 1);
85
+ --color-theme-900: rgba(235, 237, 240, 1);
86
+ --color-theme-925: rgba(240, 242, 245, 1);
87
+ --color-theme-950: rgba(245, 246, 247, 1);
88
+ --color-theme-975: rgba(250, 251, 252, 1);
89
+ --color-theme-1000: rgba(255, 255, 255, 1);
90
+
91
+ /* top-shadow */
92
+ --top-shadow-s:
93
+ 0px 0px 3px rgba(0, 0, 0, 0.07),
94
+ 0px 5px 25px rgba(0, 0, 0, 0.12);
95
+ --top-shadow:
96
+ 0px 0px 3px rgba(0, 0, 0, 0.07),
97
+ 0px 5px 25px rgba(0, 0, 0, 0.3);
98
+ --top-shadow-b:
99
+ 0px 0px 4px rgba(0, 0, 0, 0.08),
100
+ 0px 18px 32px rgba(0, 0, 0, 0.18);
101
+
102
+ --top-shadow-darken: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.03);
103
+ --top-shadow-darken-2: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.07);
104
+ --top-shadow-darken-3: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.14);
105
+ }
106
+
107
+ /* forms */
108
+ :root {
109
+ --top-forms-color: var(--color-text);
110
+
111
+ --top-forms-border-color: var(--color-line-1-opacity);
112
+ --top-forms-border-color-hover: var(--color-line-2-opacity);
113
+
114
+ --top-forms-background-color: var(--color-bg-3);
115
+ --top-forms-background-color-hover: var(--color-bg-3);
116
116
  }
@@ -1,7 +1,7 @@
1
- Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
-
3
- To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4
-
5
- You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6
-
7
- You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
1
+ Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
+
3
+ To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4
+
5
+ You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6
+
7
+ You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
@@ -1,161 +1,161 @@
1
- body {
2
- padding: 0;
3
- margin: 0;
4
- font-family: sans-serif;
5
- font-size: 1em;
6
- line-height: 1.5;
7
- color: #555;
8
- background: #fff;
9
- }
10
- h1 {
11
- font-size: 1.5em;
12
- font-weight: normal;
13
- }
14
- small {
15
- font-size: .66666667em;
16
- }
17
- a {
18
- color: #e74c3c;
19
- text-decoration: none;
20
- }
21
- a:hover, a:focus {
22
- box-shadow: 0 1px #e74c3c;
23
- }
24
- .bshadow0, input {
25
- box-shadow: inset 0 -2px #e7e7e7;
26
- }
27
- input:hover {
28
- box-shadow: inset 0 -2px #ccc;
29
- }
30
- input, fieldset {
31
- font-family: sans-serif;
32
- font-size: 1em;
33
- margin: 0;
34
- padding: 0;
35
- border: 0;
36
- }
37
- input {
38
- color: inherit;
39
- line-height: 1.5;
40
- height: 1.5em;
41
- padding: .25em 0;
42
- }
43
- input:focus {
44
- outline: none;
45
- box-shadow: inset 0 -2px #449fdb;
46
- }
47
- .glyph {
48
- font-size: 16px;
49
- width: 15em;
50
- padding-bottom: 1em;
51
- margin-right: 4em;
52
- margin-bottom: 1em;
53
- float: left;
54
- overflow: hidden;
55
- }
56
- .liga {
57
- width: 80%;
58
- width: calc(100% - 2.5em);
59
- }
60
- .talign-right {
61
- text-align: right;
62
- }
63
- .talign-center {
64
- text-align: center;
65
- }
66
- .bgc1 {
67
- background: #f1f1f1;
68
- }
69
- .fgc1 {
70
- color: #999;
71
- }
72
- .fgc0 {
73
- color: #000;
74
- }
75
- p {
76
- margin-top: 1em;
77
- margin-bottom: 1em;
78
- }
79
- .mvm {
80
- margin-top: .75em;
81
- margin-bottom: .75em;
82
- }
83
- .mtn {
84
- margin-top: 0;
85
- }
86
- .mtl, .mal {
87
- margin-top: 1.5em;
88
- }
89
- .mbl, .mal {
90
- margin-bottom: 1.5em;
91
- }
92
- .mal, .mhl {
93
- margin-left: 1.5em;
94
- margin-right: 1.5em;
95
- }
96
- .mhmm {
97
- margin-left: 1em;
98
- margin-right: 1em;
99
- }
100
- .mls {
101
- margin-left: .25em;
102
- }
103
- .ptl {
104
- padding-top: 1.5em;
105
- }
106
- .pbs, .pvs {
107
- padding-bottom: .25em;
108
- }
109
- .pvs, .pts {
110
- padding-top: .25em;
111
- }
112
- .unit {
113
- float: left;
114
- }
115
- .unitRight {
116
- float: right;
117
- }
118
- .size1of2 {
119
- width: 50%;
120
- }
121
- .size1of1 {
122
- width: 100%;
123
- }
124
- .clearfix:before, .clearfix:after {
125
- content: " ";
126
- display: table;
127
- }
128
- .clearfix:after {
129
- clear: both;
130
- }
131
- .hidden-true {
132
- display: none;
133
- }
134
- .textbox0 {
135
- width: 3em;
136
- background: #f1f1f1;
137
- padding: .25em .5em;
138
- line-height: 1.5;
139
- height: 1.5em;
140
- }
141
- #testDrive {
142
- display: block;
143
- padding-top: 24px;
144
- line-height: 1.5;
145
- }
146
- .fs0 {
147
- font-size: 16px;
148
- }
149
- .fs1 {
150
- font-size: 32px;
151
- }
152
- .fs2 {
153
- font-size: 14px;
154
- }
155
- .fs3 {
156
- font-size: 14px;
157
- }
158
- .fs4 {
159
- font-size: 8px;
160
- }
161
-
1
+ body {
2
+ padding: 0;
3
+ margin: 0;
4
+ font-family: sans-serif;
5
+ font-size: 1em;
6
+ line-height: 1.5;
7
+ color: #555;
8
+ background: #fff;
9
+ }
10
+ h1 {
11
+ font-size: 1.5em;
12
+ font-weight: normal;
13
+ }
14
+ small {
15
+ font-size: .66666667em;
16
+ }
17
+ a {
18
+ color: #e74c3c;
19
+ text-decoration: none;
20
+ }
21
+ a:hover, a:focus {
22
+ box-shadow: 0 1px #e74c3c;
23
+ }
24
+ .bshadow0, input {
25
+ box-shadow: inset 0 -2px #e7e7e7;
26
+ }
27
+ input:hover {
28
+ box-shadow: inset 0 -2px #ccc;
29
+ }
30
+ input, fieldset {
31
+ font-family: sans-serif;
32
+ font-size: 1em;
33
+ margin: 0;
34
+ padding: 0;
35
+ border: 0;
36
+ }
37
+ input {
38
+ color: inherit;
39
+ line-height: 1.5;
40
+ height: 1.5em;
41
+ padding: .25em 0;
42
+ }
43
+ input:focus {
44
+ outline: none;
45
+ box-shadow: inset 0 -2px #449fdb;
46
+ }
47
+ .glyph {
48
+ font-size: 16px;
49
+ width: 15em;
50
+ padding-bottom: 1em;
51
+ margin-right: 4em;
52
+ margin-bottom: 1em;
53
+ float: left;
54
+ overflow: hidden;
55
+ }
56
+ .liga {
57
+ width: 80%;
58
+ width: calc(100% - 2.5em);
59
+ }
60
+ .talign-right {
61
+ text-align: right;
62
+ }
63
+ .talign-center {
64
+ text-align: center;
65
+ }
66
+ .bgc1 {
67
+ background: #f1f1f1;
68
+ }
69
+ .fgc1 {
70
+ color: #999;
71
+ }
72
+ .fgc0 {
73
+ color: #000;
74
+ }
75
+ p {
76
+ margin-top: 1em;
77
+ margin-bottom: 1em;
78
+ }
79
+ .mvm {
80
+ margin-top: .75em;
81
+ margin-bottom: .75em;
82
+ }
83
+ .mtn {
84
+ margin-top: 0;
85
+ }
86
+ .mtl, .mal {
87
+ margin-top: 1.5em;
88
+ }
89
+ .mbl, .mal {
90
+ margin-bottom: 1.5em;
91
+ }
92
+ .mal, .mhl {
93
+ margin-left: 1.5em;
94
+ margin-right: 1.5em;
95
+ }
96
+ .mhmm {
97
+ margin-left: 1em;
98
+ margin-right: 1em;
99
+ }
100
+ .mls {
101
+ margin-left: .25em;
102
+ }
103
+ .ptl {
104
+ padding-top: 1.5em;
105
+ }
106
+ .pbs, .pvs {
107
+ padding-bottom: .25em;
108
+ }
109
+ .pvs, .pts {
110
+ padding-top: .25em;
111
+ }
112
+ .unit {
113
+ float: left;
114
+ }
115
+ .unitRight {
116
+ float: right;
117
+ }
118
+ .size1of2 {
119
+ width: 50%;
120
+ }
121
+ .size1of1 {
122
+ width: 100%;
123
+ }
124
+ .clearfix:before, .clearfix:after {
125
+ content: " ";
126
+ display: table;
127
+ }
128
+ .clearfix:after {
129
+ clear: both;
130
+ }
131
+ .hidden-true {
132
+ display: none;
133
+ }
134
+ .textbox0 {
135
+ width: 3em;
136
+ background: #f1f1f1;
137
+ padding: .25em .5em;
138
+ line-height: 1.5;
139
+ height: 1.5em;
140
+ }
141
+ #testDrive {
142
+ display: block;
143
+ padding-top: 24px;
144
+ line-height: 1.5;
145
+ }
146
+ .fs0 {
147
+ font-size: 16px;
148
+ }
149
+ .fs1 {
150
+ font-size: 32px;
151
+ }
152
+ .fs2 {
153
+ font-size: 14px;
154
+ }
155
+ .fs3 {
156
+ font-size: 14px;
157
+ }
158
+ .fs4 {
159
+ font-size: 8px;
160
+ }
161
+
@@ -1,30 +1,30 @@
1
- if (!('boxShadow' in document.body.style)) {
2
- document.body.setAttribute('class', 'noBoxShadow');
3
- }
4
-
5
- document.body.addEventListener("click", function(e) {
6
- var target = e.target;
7
- if (target.tagName === "INPUT" &&
8
- target.getAttribute('class').indexOf('liga') === -1) {
9
- target.select();
10
- }
11
- });
12
-
13
- (function() {
14
- var fontSize = document.getElementById('fontSize'),
15
- testDrive = document.getElementById('testDrive'),
16
- testText = document.getElementById('testText');
17
- function updateTest() {
18
- testDrive.innerHTML = testText.value || String.fromCharCode(160);
19
- if (window.icomoonLiga) {
20
- window.icomoonLiga(testDrive);
21
- }
22
- }
23
- function updateSize() {
24
- testDrive.style.fontSize = fontSize.value + 'px';
25
- }
26
- fontSize.addEventListener('change', updateSize, false);
27
- testText.addEventListener('input', updateTest, false);
28
- testText.addEventListener('change', updateTest, false);
29
- updateSize();
30
- }());
1
+ if (!('boxShadow' in document.body.style)) {
2
+ document.body.setAttribute('class', 'noBoxShadow');
3
+ }
4
+
5
+ document.body.addEventListener("click", function(e) {
6
+ var target = e.target;
7
+ if (target.tagName === "INPUT" &&
8
+ target.getAttribute('class').indexOf('liga') === -1) {
9
+ target.select();
10
+ }
11
+ });
12
+
13
+ (function() {
14
+ var fontSize = document.getElementById('fontSize'),
15
+ testDrive = document.getElementById('testDrive'),
16
+ testText = document.getElementById('testText');
17
+ function updateTest() {
18
+ testDrive.innerHTML = testText.value || String.fromCharCode(160);
19
+ if (window.icomoonLiga) {
20
+ window.icomoonLiga(testDrive);
21
+ }
22
+ }
23
+ function updateSize() {
24
+ testDrive.style.fontSize = fontSize.value + 'px';
25
+ }
26
+ fontSize.addEventListener('change', updateSize, false);
27
+ testText.addEventListener('input', updateTest, false);
28
+ testText.addEventListener('change', updateTest, false);
29
+ updateSize();
30
+ }());