zenite-ui 1.0.4 → 1.1.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.
@@ -1,84 +0,0 @@
1
- .sidebar-checkbox {
2
- display: none;
3
- }
4
-
5
- .sidebar-toggle-btn {
6
- cursor: pointer;
7
- font-size: 1.5rem;
8
- color: var(--zf-text-light);
9
- background-color: var(--zf-background-secondary);
10
- border: 1px solid var(--zf-accent);
11
- padding: 0.5rem 1rem;
12
- border-radius: 8px;
13
- display: inline-flex;
14
- align-items: center;
15
- transition: all 0.3s ease;
16
- }
17
-
18
- .sidebar-toggle-btn:hover {
19
- background-color: var(--zf-accent);
20
- color: var(--zf-background-primary);
21
- }
22
-
23
- .sidebar-overlay {
24
- position: fixed;
25
- top: 0; left: 0; width: 100%; height: 100vh;
26
- background-color: rgba(2, 13, 42, 0.7);
27
- backdrop-filter: blur(3px);
28
- opacity: 0;
29
- visibility: hidden;
30
- transition: all 0.3s ease;
31
- z-index: 999;
32
- }
33
-
34
- /*menu lateral*/
35
- .sidebar {
36
- position: fixed;
37
- top: 0;
38
- left: 0;
39
- width: 280px;
40
- height: 100vh;
41
- background-color: var(--zf-background-secondary);
42
- z-index: 1050;
43
-
44
- transform: translateX(-105%);
45
- visibility: hidden;
46
-
47
- box-shadow: none;
48
-
49
- transition: transform 0.3s ease, box-shadow 0.3s ease, visibility 0.3s ease;
50
- padding: 2rem 1.5rem;
51
- }
52
-
53
- .sidebar-checkbox:checked ~ .sidebar {
54
- transform: translateX(0);
55
- visibility: visible;
56
-
57
- box-shadow: 4px 0 24px rgba(2, 13, 42, 0.5);
58
- }
59
-
60
- .sidebar-checkbox:checked ~ .sidebar-overlay {
61
- opacity: 1;
62
- visibility: visible;
63
- }
64
-
65
- .sidebar-nav {
66
- display: flex;
67
- flex-direction: column;
68
- gap: 1rem;
69
- margin-top: 2rem;
70
- }
71
-
72
- .sidebar-nav a {
73
- color: var(--zf-text-main);
74
- text-decoration: none;
75
- font-size: 1.1rem;
76
- padding: 0.5rem 0;
77
- border-bottom: 1px solid rgba(212, 175, 55, 0.1);
78
- transition: color 0.3s ease;
79
- }
80
-
81
- .sidebar-nav a:hover,
82
- .sidebar-nav a.active {
83
- color: var(--zf-accent);
84
- }
@@ -1,56 +0,0 @@
1
- .skeleton {
2
- background-color: rgba(255, 255, 255, 0.03);
3
-
4
- background-image: linear-gradient(
5
- 90deg,
6
- rgba(255, 255, 255, 0) 0%,
7
- rgba(212, 175, 55, 0.15) 50%, /*a onda dourada no centro */
8
- rgba(255, 255, 255, 0) 100%
9
- );
10
-
11
- background-size: 200% 100%;
12
- animation: shimmer 1.5s infinite linear;
13
- border-radius: 4px;
14
- }
15
-
16
- /*animacao que faz a onda mover da esquerda para a direita */
17
- @keyframes shimmer {
18
- 0% { background-position: 200% 0; }
19
- 100% { background-position: -200% 0; }
20
- }
21
-
22
- .skeleton-avatar {
23
- width: 48px;
24
- height: 48px;
25
- border-radius: 50%;
26
- }
27
-
28
- .skeleton-title {
29
- height: 1.5rem;
30
- width: 60%;
31
- margin-bottom: 1rem;
32
- }
33
-
34
- .skeleton-text {
35
- height: 1rem;
36
- width: 100%;
37
- margin-bottom: 0.5rem;
38
- }
39
-
40
- .skeleton-text.short {
41
- width: 80%;
42
- }
43
-
44
- .skeleton-image {
45
- width: 100%;
46
- height: 150px;
47
- border-radius: 8px;
48
- margin-bottom: 1rem;
49
- }
50
-
51
- .skeleton-button {
52
- height: 2.5rem;
53
- width: 140px;
54
- border-radius: 9999px;
55
- margin-top: 1rem;
56
- }
@@ -1,28 +0,0 @@
1
- .switch {
2
- position: relative;
3
- display: inline-block;
4
- width: 50px;
5
- height: 26px;
6
- margin-right: 0.5rem;
7
- }
8
-
9
- .switch input { opacity: 0; width: 0; height: 0; }
10
- .slider {
11
- position: absolute; cursor: pointer;
12
- top: 0; left: 0; right: 0; bottom: 0;
13
- background-color: var(--zf-background-secondary);
14
- transition: .4s;
15
- border-radius: 26px;
16
- border: 1px solid rgba(212, 175, 55, 0.3);
17
- }
18
-
19
- .slider:before {
20
- position: absolute; content: "";
21
- height: 18px; width: 18px;
22
- left: 3px; bottom: 3px;
23
- background-color: var(--zf-text-main);
24
- transition: .4s;
25
- border-radius: 50%;
26
- }
27
- .switch input:checked + .slider { background-color: var(--zf-accent); border-color: var(--zf-accent); }
28
- .switch input:checked + .slider:before { background-color: var(--zf-background-primary); transform: translateX(24px); }
@@ -1,49 +0,0 @@
1
- /*contentor responsivo para tabelas*/
2
- .table-container {
3
- width: 100%;
4
- overflow-x: auto;
5
- margin-bottom: 1.5rem;
6
- border: 1px solid rgba(212, 175, 55, 0.2);
7
- border-radius: 8px;
8
- }
9
-
10
- table {
11
- width: 100%;
12
- border-collapse: collapse;
13
- text-align: left;
14
- }
15
-
16
- th, td {
17
- padding: 1rem 1.5rem;
18
- border-bottom: 1px solid rgba(212, 175, 55, 0.15);
19
- color: var(--zf-text-main);
20
- }
21
-
22
- th {
23
- background-color: var(--zf-background-secondary);
24
- color: var(--zf-accent);
25
- font-weight: 700;
26
- text-transform: uppercase;
27
- font-size: 0.85rem;
28
- letter-spacing: 0.05em;
29
- }
30
-
31
- tbody tr {
32
- transition: background-color 0.3s ease;
33
- }
34
-
35
- tbody tr:hover {
36
- background-color: var(--zf-background-secondary);
37
- }
38
-
39
- tbody tr:last-child td {
40
- border-bottom: none;
41
- }
42
-
43
- .table-striped tbody tr:nth-child(even) {
44
- background-color: rgba(255, 255, 255, 0.02);
45
- }
46
-
47
- .table-striped tbody tr:hover {
48
- background-color: rgba(212, 175, 55, 0.05);
49
- }
@@ -1,32 +0,0 @@
1
- .tabs {
2
- display: flex;
3
- flex-wrap: wrap;
4
- margin-bottom: 2rem;
5
- border-bottom: 1px solid rgba(212, 175, 55, 0.2);
6
- }
7
- .tabs input[type="radio"] { display: none; }
8
- .tabs label {
9
- padding: 1rem 2rem;
10
- cursor: pointer;
11
- color: var(--zf-text-main);
12
- font-weight: 600;
13
- margin-bottom: -1px;
14
- border-bottom: 2px solid transparent;
15
- transition: all 0.3s ease;
16
- }
17
- .tabs label:hover { color: var(--zf-text-light); }
18
- .tabs input[type="radio"]:checked + label {
19
- color: var(--zf-accent);
20
- border-bottom: 2px solid var(--zf-accent);
21
- }
22
- .tab-content {
23
- width: 100%;
24
- order: 1;
25
- display: none;
26
- padding: 1.5rem 0;
27
- }
28
-
29
- /*liga o radio button ao conteudo*/
30
- .tabs input[type="radio"]:checked + label + .tab-content {
31
- display: block;
32
- }
@@ -1,29 +0,0 @@
1
- [data-tooltip] {
2
- position: relative;
3
- cursor: help;
4
- border-bottom: 1px dotted var(--zf-accent);
5
- }
6
-
7
- [data-tooltip]::after {
8
- content: attr(data-tooltip);
9
- position: absolute;
10
- bottom: 120%;
11
- left: 50%;
12
- transform: translateX(-50%);
13
- background-color: var(--zf-background-primary);
14
- color: var(--zf-text-light);
15
- padding: 0.5rem 0.75rem;
16
- border-radius: 4px;
17
- font-size: 0.8rem;
18
- white-space: nowrap;
19
- opacity: 0;
20
- visibility: hidden;
21
- transition: opacity 0.3s ease;
22
- border: 1px solid var(--zf-accent);
23
- z-index: 10;
24
- }
25
-
26
- [data-tooltip]:hover::after {
27
- opacity: 1;
28
- visibility: visible;
29
- }
@@ -1,164 +0,0 @@
1
- /*para titulos*/
2
- h1, h2, h3, h4, h5, h6 {
3
- color: var(--zf-text-light);
4
- margin-top: 2.5rem;
5
- margin-bottom: 1rem;
6
- line-height: 1.2;
7
- font-weight: 700;
8
- }
9
-
10
- /*paragrafos e listas*/
11
- p {
12
- margin-bottom: 1.5rem;
13
- }
14
-
15
- ul, ol {
16
- margin-bottom: 1.5rem;
17
- padding-left: 2rem;
18
- }
19
-
20
- li {
21
- margin-bottom: 0.5rem;
22
- }
23
-
24
- /*links*/
25
- a {
26
- color: var(--zf-accent);
27
- text-decoration: underline;
28
- transition: color 0.3s ease;
29
- }
30
-
31
- a:hover {
32
- text-decoration: none;
33
- color: var(--zf-text-light);
34
- }
35
-
36
- /*destaques*/
37
- strong, b {
38
- color: var(--zf-text-light);
39
- font-weight: 700;
40
- }
41
-
42
- mark {
43
- background-color: var(--zf-accent);
44
- color: var(--zf-background-primary);
45
- padding: 0.1rem 0.3rem;
46
- border-radius: 3px;
47
- }
48
-
49
- blockquote {
50
- border-left: 4px solid var(--zf-accent);
51
- margin: 1.5rem 0;
52
- padding: 1rem 1.5rem;
53
- color: var(--zf-text-main);
54
- background-color: var(--zf-background-secondary);
55
- border-radius: 0 8px 8px 0;
56
- font-style: italic;
57
- }
58
-
59
- /*teclas de atalho*/
60
- code, kbd {
61
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
62
- font-size: 0.85em;
63
- }
64
-
65
- /*scrollbar*/
66
-
67
- /*firefox*/
68
- pre {
69
- scrollbar-width: thin;
70
- scrollbar-color: var(--zf-background-primary) var(--zf-background-secondary);
71
- }
72
-
73
- /*chrome, edge, safari*/
74
- pre::-webkit-scrollbar {
75
- height: 10px;
76
- }
77
-
78
- pre::-webkit-scrollbar-track {
79
- background: var(--zf-background-secondary);
80
- border-radius: 0 0 8px 8px;
81
- }
82
-
83
- pre::-webkit-scrollbar-thumb {
84
- background: var(--zf-background-primary);
85
- border-radius: 5px;
86
- border: 2px solid var(--zf-background-secondary);
87
- }
88
-
89
- pre::-webkit-scrollbar-thumb:hover {
90
- background: var(--zf-accent);
91
- }
92
-
93
- p > code, li > code {
94
- background-color: var(--zf-background-secondary);
95
- color: var(--zf-accent);
96
- padding: 0.2rem 0.4rem;
97
- border-radius: 4px;
98
- }
99
-
100
- kbd {
101
- background-color: var(--zf-background-primary);
102
- color: var(--zf-text-light);
103
- border: 1px solid var(--zf-text-main);
104
- border-radius: 4px;
105
- padding: 0.1rem 0.3rem;
106
- }
107
-
108
- pre {
109
- background-color: var(--zf-background-secondary);
110
- color: var(--zf-text-light);
111
- padding: 1.5rem;
112
- border-radius: 8px;
113
- border: 1px solid rgba(212, 175, 55, 0.2);
114
- overflow-x: auto;
115
- margin-top: 1.5rem;
116
- margin-bottom: 1.5rem;
117
- max-width: 100%;
118
- }
119
-
120
- pre code {
121
- background-color: transparent;
122
- padding: 0;
123
- color: inherit;
124
- font-size: 0.9em;
125
- }
126
-
127
- .notice {
128
- background-color: rgba(212, 175, 55, 0.1); /*fundo com 10% de opacidade do dourado*/
129
- border: 1px solid var(--zf-accent);
130
- padding: 1rem 1.5rem;
131
- border-radius: 8px;
132
- margin: 1.5rem 0;
133
- color: var(--zf-text-light);
134
- }
135
-
136
- /*aside*/
137
- aside {
138
- background-color: var(--zf-background-secondary);
139
- border-left: 4px solid var(--zf-accent);
140
- padding: 1rem 1.5rem;
141
- border-radius: 0 8px 8px 0;
142
- margin: -1.8rem 0 1.5rem 1.5rem;
143
- float: right;
144
- width: 30%;
145
- min-width: 250px;
146
- }
147
-
148
- aside p:last-child {
149
- margin-bottom: 0;
150
- }
151
-
152
- /*responsividade do aside para mobile*/
153
- @media (max-width: 768px) {
154
- aside {
155
- float: none;
156
- width: 100%;
157
- margin: 1.5rem 0;
158
- }
159
- }
160
-
161
- /*secoes*/
162
- article, section {
163
- margin-bottom: 3rem;
164
- }
@@ -1,14 +0,0 @@
1
- .text-center { text-align: center !important; }
2
- .text-right { text-align: right !important; }
3
- .text-left { text-align: left !important; }
4
-
5
- .hidden { display: none !important; }
6
-
7
- /*margens*/
8
- .mt-1 { margin-top: 1rem !important; }
9
- .mt-2 { margin-top: 2rem !important; }
10
- .mt-3 { margin-top: 3rem !important; }
11
-
12
- .mb-1 { margin-bottom: 1rem !important; }
13
- .mb-2 { margin-bottom: 2rem !important; }
14
- .mb-3 { margin-bottom: 3rem !important; }
@@ -1,124 +0,0 @@
1
- :root {
2
- /*cores da logo*/
3
- --zf-background-primary: #020D2A;
4
- --zf-background-secondary: #0A1F44;
5
- --zf-accent: #D4AF37;
6
- --zf-text-main: #A0AEC0;
7
- --zf-text-light: #FFFFFF;
8
-
9
- /*fonte*/
10
- --zf-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
11
-
12
- /*layout*/
13
- --zf-container-width: 1200px;
14
- --zf-column-gap: 1.5rem;
15
- }
16
-
17
- /*reset*/
18
- *, *::before, *::after {
19
- margin: 0;
20
- padding: 0;
21
- box-sizing: border-box;
22
- }
23
-
24
- body {
25
- background-color: var(--zf-background-primary);
26
- color: var(--zf-text-main);
27
- font-family: var(--zf-font-base);
28
- line-height: 1.6;
29
- font-size: 1.15rem;
30
- }
31
-
32
- /*tema claro*/
33
- [data-theme="light"] {
34
- --zf-background-primary: #97919183;
35
- --zf-background-secondary: #e3e3e383;
36
-
37
- --zf-accent: #0A1F44;
38
-
39
- --zf-text-main: #52525B;
40
- --zf-text-light: #18181B;
41
- }
42
-
43
- [data-theme="light"] .button:not(.button-outline),
44
- [data-theme="light"] .button.button-outline:hover,
45
- [data-theme="light"] .pagination li.active span,
46
- [data-theme="light"] mark,
47
- [data-theme="light"] input[type="file"]::file-selector-button {
48
- color: #FFFFFF !important;
49
- }
50
-
51
- [data-theme="light"] .switch input:checked + .slider:before {
52
- background-color: #FAFAFA !important;
53
- }
54
-
55
- [data-theme="light"] .card,
56
- [data-theme="light"] pre,
57
- [data-theme="light"] input,
58
- [data-theme="light"] textarea,
59
- [data-theme="light"] select,
60
- [data-theme="light"] details,
61
- [data-theme="light"] .table-container,
62
- [data-theme="light"] .sidebar,
63
- [data-theme="light"] .zf-combobox-list {
64
- border-color: #0A1F44 !important;
65
- }
66
-
67
- [data-theme="light"] hr,
68
- [data-theme="light"] .modal-header,
69
- [data-theme="light"] nav,
70
- [data-theme="light"] .tabs,
71
- [data-theme="light"] th,
72
- [data-theme="light"] td,
73
- [data-theme="light"] .sidebar-nav a,
74
- [data-theme="light"] details[open] summary {
75
- border-color: rgba(10, 31, 68, 0.3) !important;
76
- }
77
-
78
- /*skeleton*/
79
- [data-theme="light"] .skeleton {
80
-
81
- background-color: rgba(10, 31, 68, 0.05) !important;
82
-
83
- background-image: linear-gradient(
84
- 90deg,
85
- rgba(10, 31, 68, 0) 0%,
86
- rgba(10, 31, 68, 0.15) 50%,
87
- rgba(10, 31, 68, 0) 100%
88
- ) !important;
89
- }
90
-
91
- [data-theme="light"] .card:hover {
92
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
93
- border-color: var(--zf-accent) !important;
94
- }
95
-
96
- [data-theme="light"] .zf-combobox-list {
97
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
98
- }
99
-
100
- [data-theme="light"] dialog {
101
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
102
- }
103
-
104
- [data-theme="light"] dialog::backdrop,
105
- [data-theme="light"] .sidebar-overlay {
106
- background-color: rgba(24, 24, 27, 0.5) !important;
107
- }
108
-
109
- /*componentes flutuantes ficarem solidos*/
110
- [data-theme="light"] .zf-combobox-list,
111
- [data-theme="light"] dialog,
112
- [data-theme="light"] .sidebar {
113
- background-color: #e3e3e383 !important;
114
- backdrop-filter: blur(12px) !important;
115
- -webkit-backdrop-filter: blur(12px) !important;
116
- border: 1px solid rgba(10, 31, 68, 0.1) !important;
117
- box-shadow: 0 12px 35px rgba(10, 31, 68, 0.15) !important;
118
- }
119
-
120
- [data-theme="light"] dialog::backdrop,
121
- [data-theme="light"] .sidebar-overlay {
122
- background-color: rgba(10, 31, 68, 0.5) !important;
123
- backdrop-filter: blur(3px) !important;
124
- }
@@ -1,25 +0,0 @@
1
- @import 'accordion.css';
2
- @import 'alert.css';
3
- @import 'avatar.css';
4
- @import 'badge.css';
5
- @import 'button.css';
6
- @import 'calendar.css';
7
- @import 'card.css';
8
- @import 'carousel.css';
9
- @import 'column.css';
10
- @import 'combobox.css';
11
- @import 'form.css';
12
- @import 'media.css';
13
- @import 'modal.css';
14
- @import 'nav.css';
15
- @import 'pagination.css';
16
- @import 'progress.css';
17
- @import 'sidebar.css';
18
- @import 'skeleton.css';
19
- @import 'switch.css';
20
- @import 'table.css';
21
- @import 'tabs.css';
22
- @import 'tooltip.css';
23
- @import 'typography.css';
24
- @import 'utility.css';
25
- @import 'variable.css';