quar 1.4.0 → 1.4.2

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,26 +1,26 @@
1
- function showModal(type, title, message) {
2
- const popup = document.getElementById('popup');
3
- const box = document.getElementById('popupBox');
4
- const titleEl = document.getElementById('popupTitle');
5
- const msgEl = document.getElementById('popupMessage');
6
-
7
- box.className = 'popup-box';
8
- if (type === 'warning') box.classList.add('warning');
9
- else if (type === 'info') box.classList.add('info');
10
-
11
- titleEl.textContent = title;
12
- msgEl.textContent = message;
13
-
14
- popup.style.display = 'flex';
15
- }
16
-
17
- function closePopup() {
18
- document.getElementById('popup').style.display = 'none';
19
- }
20
-
21
- window.onclick = function (e) {
22
- const popup = document.getElementById('popup');
23
- if (e.target === popup) {
24
- closePopup();
25
- }
1
+ function showModal(type, title, message) {
2
+ const popup = document.getElementById('popup');
3
+ const box = document.getElementById('popupBox');
4
+ const titleEl = document.getElementById('popupTitle');
5
+ const msgEl = document.getElementById('popupMessage');
6
+
7
+ box.className = 'popup-box';
8
+ if (type === 'warning') box.classList.add('warning');
9
+ else if (type === 'info') box.classList.add('info');
10
+
11
+ titleEl.textContent = title;
12
+ msgEl.textContent = message;
13
+
14
+ popup.style.display = 'flex';
15
+ }
16
+
17
+ function closePopup() {
18
+ document.getElementById('popup').style.display = 'none';
19
+ }
20
+
21
+ window.onclick = function (e) {
22
+ const popup = document.getElementById('popup');
23
+ if (e.target === popup) {
24
+ closePopup();
25
+ }
26
26
  }
@@ -1,74 +1,74 @@
1
- @import './variables.css';
2
-
3
- .insert-tab {
4
- width: 40%;
5
- max-width: 400px;
6
- height: 100%;
7
- background-color: var(--bg-color);
8
- position: fixed;
9
- top: 0;
10
- right: -100%;
11
- z-index: 1000;
12
- overflow-y: auto;
13
- padding: 20px;
14
- border-left: 2px solid var(--muted-color);
15
- transition: right 0.3s ease-in-out;
16
- }
17
-
18
- .insert-tab.active {
19
- right: 0;
20
- }
21
-
22
- #insert-form {
23
- display: flex;
24
- flex-direction: column;
25
- gap: 10px;
26
- }
27
-
28
- #insert-form label {
29
- font-size: 16px;
30
- font-weight: 600;
31
- color: var(--text-color);
32
- }
33
-
34
- #insert-form input,
35
- select,
36
- textarea {
37
- width: 100%;
38
- padding: 10px;
39
- border: 1px solid var(--muted-color);
40
- border-radius: 5px;
41
- background-color: var(--bg-color);
42
- color: var(--text-color);
43
- }
44
-
45
- #insert-form textarea {
46
- resize: vertical;
47
- min-height: fit-content;
48
- }
49
-
50
- #insert-form input[type="checkbox"] {
51
- width: 16px;
52
- height: 16px;
53
- accent-color: var(--green-color);
54
- background-color: var(--bg-color);
55
- border: 1px solid var(--muted-color);
56
- border-radius: 10px;
57
- cursor: pointer;
58
- }
59
-
60
- #insert-form .btn {
61
- background: transparent;
62
- color: var(--text-color);
63
- border: none;
64
- padding: 5px 10px;
65
- border: 1px solid var(--muted-color);
66
- border-radius: 5px;
67
- transition: background 0.1s ease-in-out;
68
- cursor: pointer;
69
-
70
- &:hover {
71
- background: var(--blue-color);
72
- color: var(--bg-color);
73
- }
1
+ @import './variables.css';
2
+
3
+ .insert-tab {
4
+ width: 40%;
5
+ max-width: 400px;
6
+ height: 100%;
7
+ background-color: var(--bg-color);
8
+ position: fixed;
9
+ top: 0;
10
+ right: -100%;
11
+ z-index: 1000;
12
+ overflow-y: auto;
13
+ padding: 20px;
14
+ border-left: 2px solid var(--muted-color);
15
+ transition: right 0.3s ease-in-out;
16
+ }
17
+
18
+ .insert-tab.active {
19
+ right: 0;
20
+ }
21
+
22
+ #insert-form {
23
+ display: flex;
24
+ flex-direction: column;
25
+ gap: 10px;
26
+ }
27
+
28
+ #insert-form label {
29
+ font-size: 16px;
30
+ font-weight: 600;
31
+ color: var(--text-color);
32
+ }
33
+
34
+ #insert-form input,
35
+ select,
36
+ textarea {
37
+ width: 100%;
38
+ padding: 10px;
39
+ border: 1px solid var(--muted-color);
40
+ border-radius: 5px;
41
+ background-color: var(--bg-color);
42
+ color: var(--text-color);
43
+ }
44
+
45
+ #insert-form textarea {
46
+ resize: vertical;
47
+ min-height: fit-content;
48
+ }
49
+
50
+ #insert-form input[type="checkbox"] {
51
+ width: 16px;
52
+ height: 16px;
53
+ accent-color: var(--green-color);
54
+ background-color: var(--bg-color);
55
+ border: 1px solid var(--muted-color);
56
+ border-radius: 10px;
57
+ cursor: pointer;
58
+ }
59
+
60
+ #insert-form .btn {
61
+ background: transparent;
62
+ color: var(--text-color);
63
+ border: none;
64
+ padding: 5px 10px;
65
+ border: 1px solid var(--muted-color);
66
+ border-radius: 5px;
67
+ transition: background 0.1s ease-in-out;
68
+ cursor: pointer;
69
+
70
+ &:hover {
71
+ background: var(--blue-color);
72
+ color: var(--bg-color);
73
+ }
74
74
  }
@@ -1,71 +1,71 @@
1
- @import './variables.css';
2
-
3
- .popup-overlay {
4
- display: none;
5
- position: fixed;
6
- top: 0;
7
- left: 0;
8
- width: 100vw;
9
- height: 100vh;
10
- background: rgba(0, 0, 0, 0.5);
11
- justify-content: center;
12
- align-items: center;
13
- z-index: 9999;
14
- }
15
-
16
- .popup-box {
17
- background: var(--bg-color);
18
- padding: 20px 25px;
19
- border-radius: 10px;
20
- max-width: 400px;
21
- text-align: center;
22
- box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
23
- animation: slideIn 0.4s ease;
24
- position: relative;
25
- }
26
-
27
- .popup-box h2 {
28
- margin-top: 0;
29
- color: var(--red-color);
30
- }
31
-
32
- .popup-box.warning h2 {
33
- color: var(--yellow-color);
34
- }
35
-
36
- .popup-box.info h2 {
37
- color: var(--green-color);
38
- }
39
-
40
- .popup-box p {
41
- margin: 10px 0 20px;
42
- }
43
-
44
- .close-btn {
45
- background: var(--red-color);
46
- color: white;
47
- border: none;
48
- padding: 8px 16px;
49
- border-radius: 5px;
50
- cursor: pointer;
51
- }
52
-
53
- .popup-box.warning .close-btn {
54
- background: var(--yellow-color);
55
- }
56
-
57
- .popup-box.info .close-btn {
58
- background: var(--green-color);
59
- }
60
-
61
- @keyframes slideIn {
62
- from {
63
- transform: translateY(-30px);
64
- opacity: 0;
65
- }
66
-
67
- to {
68
- transform: translateY(0);
69
- opacity: 1;
70
- }
1
+ @import './variables.css';
2
+
3
+ .popup-overlay {
4
+ display: none;
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+ width: 100vw;
9
+ height: 100vh;
10
+ background: rgba(0, 0, 0, 0.5);
11
+ justify-content: center;
12
+ align-items: center;
13
+ z-index: 9999;
14
+ }
15
+
16
+ .popup-box {
17
+ background: var(--bg-color);
18
+ padding: 20px 25px;
19
+ border-radius: 10px;
20
+ max-width: 400px;
21
+ text-align: center;
22
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
23
+ animation: slideIn 0.4s ease;
24
+ position: relative;
25
+ }
26
+
27
+ .popup-box h2 {
28
+ margin-top: 0;
29
+ color: var(--red-color);
30
+ }
31
+
32
+ .popup-box.warning h2 {
33
+ color: var(--yellow-color);
34
+ }
35
+
36
+ .popup-box.info h2 {
37
+ color: var(--green-color);
38
+ }
39
+
40
+ .popup-box p {
41
+ margin: 10px 0 20px;
42
+ }
43
+
44
+ .close-btn {
45
+ background: var(--red-color);
46
+ color: white;
47
+ border: none;
48
+ padding: 8px 16px;
49
+ border-radius: 5px;
50
+ cursor: pointer;
51
+ }
52
+
53
+ .popup-box.warning .close-btn {
54
+ background: var(--yellow-color);
55
+ }
56
+
57
+ .popup-box.info .close-btn {
58
+ background: var(--green-color);
59
+ }
60
+
61
+ @keyframes slideIn {
62
+ from {
63
+ transform: translateY(-30px);
64
+ opacity: 0;
65
+ }
66
+
67
+ to {
68
+ transform: translateY(0);
69
+ opacity: 1;
70
+ }
71
71
  }
@@ -1,34 +1,34 @@
1
- .sidebar {
2
- position: fixed;
3
- top: 0;
4
- width: 15vw;
5
- background: #282b30;
6
- border-right: 1px solid var(--muted-color);
7
- height: 100vh;
8
- }
9
-
10
- .sidebar-header {
11
- font-size: 13px;
12
- font-weight: 600;
13
- display: flex;
14
- align-items: center;
15
- justify-content: space-between;
16
- background: #1e2124;
17
- padding: 10px;
18
- border-bottom: 1px solid var(--muted-color);
19
- }
20
-
21
- .sidebar-header .btn {
22
- color: #E0E0E0;
23
- background-color: transparent;
24
- border: none;
25
- font-size: 12px;
26
- padding: 0 4px;
27
- border-radius: 5px;
28
- cursor: pointer;
29
- transition: background 0.1s ease-in-out;
30
-
31
- &:hover {
32
- background: #2E3A59;
33
- }
1
+ .sidebar {
2
+ position: fixed;
3
+ top: 0;
4
+ width: 15vw;
5
+ background: #282b30;
6
+ border-right: 1px solid var(--muted-color);
7
+ height: 100vh;
8
+ }
9
+
10
+ .sidebar-header {
11
+ font-size: 13px;
12
+ font-weight: 600;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ background: #1e2124;
17
+ padding: 10px;
18
+ border-bottom: 1px solid var(--muted-color);
19
+ }
20
+
21
+ .sidebar-header .btn {
22
+ color: #E0E0E0;
23
+ background-color: transparent;
24
+ border: none;
25
+ font-size: 12px;
26
+ padding: 0 4px;
27
+ border-radius: 5px;
28
+ cursor: pointer;
29
+ transition: background 0.1s ease-in-out;
30
+
31
+ &:hover {
32
+ background: #2E3A59;
33
+ }
34
34
  }