iobroker.telegram-menu 2.2.0 → 2.2.1

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.
Files changed (39) hide show
  1. package/README.md +6 -1
  2. package/admin/build/index.js +56 -56
  3. package/admin/build/index.js.map +4 -4
  4. package/admin/css/button.css +66 -32
  5. package/admin/css/colors.css +140 -0
  6. package/admin/css/custom_classes.css +20 -0
  7. package/admin/css/description.css +4 -4
  8. package/admin/css/edit-container.css +43 -31
  9. package/admin/css/editor-header.css +10 -8
  10. package/admin/css/header.css +11 -15
  11. package/admin/css/input-select.css +131 -0
  12. package/admin/css/row-editor.css +4 -4
  13. package/admin/css/scrollbar.css +21 -0
  14. package/admin/css/style.css +194 -509
  15. package/admin/css/table.css +46 -46
  16. package/admin/css/textarea.css +3 -3
  17. package/admin/i18n/de/translations.json +123 -122
  18. package/admin/i18n/en/translations.json +123 -122
  19. package/admin/i18n/es/translations.json +7 -6
  20. package/admin/i18n/fr/translations.json +7 -6
  21. package/admin/i18n/it/translations.json +7 -6
  22. package/admin/i18n/nl/translations.json +7 -6
  23. package/admin/i18n/pl/translations.json +7 -6
  24. package/admin/i18n/pt/translations.json +7 -6
  25. package/admin/i18n/ru/translations.json +7 -6
  26. package/admin/i18n/uk/translations.json +7 -6
  27. package/admin/i18n/zh-cn/translations.json +7 -6
  28. package/admin/words.js +10 -4
  29. package/build/lib/getstate.js +6 -5
  30. package/build/lib/getstate.js.map +3 -3
  31. package/build/lib/global.js +6 -18
  32. package/build/lib/global.js.map +2 -2
  33. package/build/lib/string.js +29 -0
  34. package/build/lib/string.js.map +7 -0
  35. package/build/lib/utilities.js +8 -6
  36. package/build/lib/utilities.js.map +2 -2
  37. package/io-package.json +14 -14
  38. package/package.json +1 -1
  39. package/admin/css/input.css +0 -104
@@ -1,4 +1,4 @@
1
- @import "./input.css";
1
+ @import "input-select.css";
2
2
  @import "./edit-container.css";
3
3
  @import "./button.css";
4
4
  @import "./editor-header.css";
@@ -10,131 +10,57 @@
10
10
  @import "./tab-action.css";
11
11
  @import "./custom_classes.css";
12
12
  @import "./description.css";
13
+ @import "./colors.css";
14
+ @import "./scrollbar.css";
13
15
 
14
16
  body {
15
17
  height: 100vh;
16
18
  overflow: auto;
17
19
  }
18
20
 
19
- /* Tab-Navigation */
20
- .App-TabList {
21
- background-color: #3399cc;
22
- padding-bottom: 5px;
21
+ h1 {
22
+ text-decoration: underline;
23
+ padding-bottom: 2rem;
24
+ padding-left: 5px;
23
25
  }
24
26
 
25
- .dark .App-TabList {
26
- background-color: rgb(59, 59, 59);
27
+ .App.row {
28
+ height: 100% !important;
27
29
  }
28
30
 
29
- .App-TabList button {
30
- border-radius: 6px;
31
- border: 3px solid #aaa !important;
32
- margin: 5px 0 0 5px;
33
- width: 110px;
34
- height: 30px;
35
- background-color: #ddd !important;
31
+ label p {
32
+ font-size: 0.8rem;
33
+ color: var(--text-primary);
36
34
  }
37
35
 
38
- .App-TabList button.active {
39
- border: 3px solid #333 !important;
36
+ /* Tab-Navigation */
37
+ .app__navigation_row {
38
+ background-color: var(--iobroker-color);
39
+ padding-bottom: 5px;
40
40
  }
41
41
 
42
-
43
- .App-TabList button:last-child {
42
+ .app__navigation_row button:last-child {
44
43
  margin-right: 5px;
45
44
  }
46
45
 
47
- .App-TabList button.icon {
48
- width: 30px;
49
- padding: 0;
50
- }
51
-
52
-
53
- .dark .App-TabList button {
54
- background-color: rgba(255, 255, 255, 0.1);
55
- }
56
-
57
- /* Hover */
58
- .light .App-TabList button:hover,
59
- .light .MenuPopupCard-Popup button:hover .colored .App-TabList button:hover {
60
- background-color: #eee !important;
61
- border-color: #888 !important;
62
- }
63
-
64
- .dark .App-TabList button:hover,
65
- .dark .MenuPopupCard-Popup button:hover {
66
- background-color: #333 !important;
67
- border-color: #888 !important;
68
- }
69
-
70
- .blue .App-TabList button:hover,
71
- .blue .MenuPopupCard-Popup button:hover {
72
- background-color: #333 !important;
73
- border-color: #888 !important;
74
- }
75
-
76
46
  /* HeaderMenu */
77
- .MenuPopupCard-Popup {
47
+ .menu__list_popup {
78
48
  display: inline-block;
79
49
  width: 160px;
80
50
  position: absolute;
81
51
  z-index: 1500;
82
- top: 138px;
83
- left: 5px;
52
+ top: calc(30px + 0.5rem);
53
+ left: 0.5rem;
84
54
  border: 2px solid #333;
85
55
  border-radius: 4px;
86
- max-height: 74%;
56
+ max-height: 74vh;
87
57
  overflow: auto;
58
+ background-color: var(--background-primary);
88
59
  }
89
60
 
90
- .light .MenuPopupCard-Popup,
91
- .colored .MenuPopupCard-Popup {
92
- background-color: #fff;
93
- }
94
-
95
- .dark .MenuPopupCard-Popup {
96
- background-color: #333;
97
- }
98
-
99
- .blue .MenuPopupCard-Popup {
100
- background-color: rgb(62, 68, 72);
101
- }
102
-
103
- .MenuPopupCard-Popup button {
104
- color: #3399cc !important;
105
- border: 2px solid #aaa !important;
106
- }
107
-
108
- .light .MenuPopupCard-Popup button,
109
- .colored .MenuPopupCard-Popup button {
110
- background-color: #ddd !important;
111
- }
112
-
113
- .dark .MenuPopupCard-Popup button {
114
- background-color: rgba(255, 255, 255, 0.1) !important;
115
- }
116
61
 
117
- .blue .MenuPopupCard-Popup button {
118
- background-color: rgba(255, 255, 255, 0.1) !important;
119
- }
120
-
121
- .MenuCard button {
122
- border-radius: 5px !important;
123
- }
124
-
125
- .HeaderMenu-menuPopupCard {
126
- display: inline-block;
127
- }
128
-
129
- .dark .header__menu_container,
130
- .blue .header__menu_container {
131
- color: white;
132
- }
133
-
134
- .header__menu_container {
135
- margin-top: 0.5rem;
62
+ .header__button_row {
136
63
  font-size: 0.8rem;
137
- padding-top: 0.25rem;
138
64
  height: auto !important;
139
65
  display: flex;
140
66
  flex-wrap: wrap;
@@ -143,16 +69,13 @@ body {
143
69
  }
144
70
 
145
71
  /* Header Telegram User */
146
- .HeaderThirdRow-ButtonAction {
147
- display: inline-block;
148
- width: 200px;
149
- }
72
+
150
73
 
151
74
  .telegram__errorMessage {
152
- color: red;
75
+ color: var(--destructive);
153
76
  font-size: 0.7rem;
154
77
  padding: 0.5rem 1rem;
155
- border: 1px solid red;
78
+ border: 1px solid var(--destructive);
156
79
  margin-left: 20px
157
80
  }
158
81
 
@@ -166,28 +89,22 @@ body {
166
89
  }
167
90
 
168
91
  /* error */
169
- .ErrorDoubleTrigger-Container {
170
- color: red;
92
+ .error__container-double_trigger {
93
+ color: var(--destructive);
171
94
  position: absolute;
172
95
  top: 5px;
173
96
  max-width: 400px;
174
97
  left: 50%;
175
98
  transform: translateX(-50%);
176
99
  text-align: center;
177
- border: 1px solid red;
178
- background-color: white;
100
+ border: var(--destructive);
101
+ background-color: var(--background-primary);
179
102
  }
180
103
 
181
- .ErrorDoubleTrigger-Container .Error-Header {
104
+ .error__container-double_trigger .error__header {
182
105
  margin: 2px 5px;
183
106
  }
184
107
 
185
- .ErrorDoubleTrigger-Container .Error-Items {
186
- display: inline;
187
- padding: 0 10px;
188
- }
189
-
190
- /* get mistake */
191
108
  /* Grid Main Content */
192
109
 
193
110
  div.MuiTabPanel-root {
@@ -195,32 +112,34 @@ div.MuiTabPanel-root {
195
112
  flex-grow: 1;
196
113
  flex-shrink: 1;
197
114
  flex-basis: auto;
198
- width: calc(100%) !important;
199
- padding: 2px 5px 5px 5px;
115
+ width: 100% !important;
116
+ padding: 2px 5px 0 0;
200
117
  }
201
118
 
202
119
  /* NavigationMenu */
203
- /* Table ist in Allgemein */
120
+ .navigation__container {
121
+ height: calc(100% - 0.5rem) !important;
122
+ }
204
123
 
205
- .MenuNavigation-Container .startSideActive:not(.row__active) {
206
- background-color: #96d15a !important;
124
+ .navigation__container .startside__active {
125
+ background-color: var(--startside) !important;
207
126
  }
208
127
 
209
- .MenuNavigation-Container .startSideInactive {
210
- background-color: #99c0f9 !important;
128
+ .navigation__container .startside__active td {
129
+ color: var(--dark) !important;
211
130
  }
212
131
 
213
- .MenuNavigation-Container .startSideHideInfo {
214
- display: none;
132
+ .navigation__container .startside__inactive {
133
+ background-color: var(--startside-none) !important;
215
134
  }
216
135
 
217
- .MenuNavigation-Container .textSubmenuInfo {
136
+ .navigation__container .textSubmenuInfo {
218
137
  font-size: 1rem;
219
138
  font-weight: 900;
220
139
  }
221
140
 
222
- .MenuNavigation-Container,
223
- .ActionCard-Container {
141
+ .navigation__container,
142
+ .action__container {
224
143
  padding: 0 !important;
225
144
  flex-grow: 1;
226
145
  flex-shrink: 1;
@@ -228,59 +147,20 @@ div.MuiTabPanel-root {
228
147
  overflow-y: auto;
229
148
  }
230
149
 
231
- .MenuNavigation-Container {
232
- height: calc(100% - 10px) !important;
233
- }
234
-
235
- .ActionCard-Container {
150
+ .action__container {
236
151
  height: inherit;
237
152
  }
238
153
 
239
- .TabPanel-Action,
240
- .TabPanel-Action > div.MuiTabPanel-root {
241
- height: calc(100% - 30px) !important;
154
+ .tab__action,
155
+ .tab__action > div.MuiTabPanel-root {
156
+ height: calc(100% - 0.5rem) !important;
242
157
  padding-left: 0 !important;
243
158
  }
244
159
 
245
- /* Für Webkit-Browser wie Chrome und Safari */
246
- .MenuNavigation-Container::-webkit-scrollbar,
247
- .ActionCard-Container::-webkit-scrollbar {
248
- width: 10px; /* Breite der Scrollbar */
249
- }
250
-
251
- .MenuNavigation-Container::-webkit-scrollbar-thumb,
252
- .ActionCard-Container::-webkit-scrollbar-thumb {
253
- background: #888; /* Farbe des beweglichen Teils der Scrollbar */
254
- }
255
-
256
- .MenuNavigation-Container::-webkit-scrollbar-thumb:hover,
257
- .ActionCard-Container::-webkit-scrollbar-thumb:hover {
258
- background: #555; /* Farbe des beweglichen Teils der Scrollbar beim Überfahren mit der Maus */
259
- }
260
-
261
- /* Für Firefox */
262
- .MenuNavigation-Container, .ActionCard-Container {
263
- scrollbar-width: thin; /* Breite der Scrollbar */
264
- scrollbar-color: #888 #f5f5f5; /* Farbe des beweglichen Teils der Scrollbar und Hintergrundfarbe der Scrollbar */
265
- }
266
-
267
-
268
- /* Settings */
269
- .Settings h1 {
270
- text-decoration: underline;
271
- padding-bottom: 2rem;
272
- padding-left: 5px;
273
- }
274
-
275
- .Settings select {
276
- border: none;
277
- border-bottom: 1px solid #aaa;
278
- }
279
-
280
160
  /* DialogContainer */
281
161
 
282
- .DialogBackground {
283
- background-color: rgba(0, 0, 0, 0.5);
162
+ .dialog__card_wrapper {
163
+ background-color: var(--dialog-bg);
284
164
  width: 100vw;
285
165
  height: 100vh;
286
166
  position: absolute;
@@ -289,7 +169,7 @@ div.MuiTabPanel-root {
289
169
  z-index: 1100;
290
170
  }
291
171
 
292
- .DialogContainer-Header {
172
+ .dialog__card_header {
293
173
  font-family: "Roboto,Helvetica,Arial,sans-serif", serif;
294
174
  font-size: 1.25rem;
295
175
  font-weight: 500;
@@ -297,31 +177,18 @@ div.MuiTabPanel-root {
297
177
  padding: 10px 10px 10px 30px;
298
178
  margin: 5px 5px 5px 5px;
299
179
  border-radius: 4px;
180
+ color: var(--text-header);
181
+ background: var(--iobroker-color);
300
182
  }
301
183
 
302
- .light .DialogContainer-Header,
303
- .colored .DialogContainer-Header {
304
- background-color: #3399cc;
305
- }
306
-
307
- .dark .DialogContainer-Header {
308
- background-color: #333;
309
- color: white;
310
- }
311
-
312
- .blue .DialogContainer-Header {
313
- background-color: rgb(62, 68, 72);
314
- color: white;
315
- }
316
-
317
- .DialogContainer-Footer {
184
+ .dialog__card_footer {
318
185
  position: absolute;
319
186
  bottom: 0;
320
187
  width: 100%;
321
188
  text-align: right;
322
189
  }
323
190
 
324
- .DialogContainer-Footer button {
191
+ .dialog__card_footer button {
325
192
  padding: 0 30px !important;
326
193
  margin: 0 8px 10px 8px !important;
327
194
  border: none !important;
@@ -330,48 +197,31 @@ div.MuiTabPanel-root {
330
197
  height: 40px !important;
331
198
  }
332
199
 
333
- .dark .DialogContainer {
334
- background-color: #444 !important;
335
- }
336
-
337
- .blue .DialogContainer {
338
- background-color: rgb(34, 42, 46) !important;
200
+ .dialog__card {
201
+ background-color: var(--background-primary) !important;
339
202
  }
340
203
 
341
- .dialogContainer__body {
204
+ .dialog__card_content {
342
205
  padding: 0 0.5rem 0 0.5rem;
206
+ height: calc(100% - 145px);
343
207
  }
344
208
 
345
- .DialogContainer select {
346
- color: #3399cc;
347
- width: 200px;
348
- border: none;
349
- border-bottom: 1px solid black;
350
- }
351
-
352
- .DialogContainer select:focus {
353
- outline: none;
354
- }
355
-
356
- /* DropBox */
357
- .DropBox-PopupContainer {
209
+ .dropbox__container {
358
210
  background-color: transparent !important;
359
- /* top: 105px !important; */
360
211
  height: 44% !important;
361
- width: 212px !important;
362
- /* right: 5px !important; */
212
+ width: 250px !important;
363
213
  left: auto !important;
364
214
  cursor: move;
365
215
  }
366
216
 
367
- .DropBox-PopupContainer > div.DialogContainer {
217
+ .dropbox__container > div.dialog__card {
368
218
  transform: none !important;
369
219
  top: 0 !important;
370
220
  left: auto !important;
371
221
  height: 100% !important;
372
222
  }
373
223
 
374
- .Dropbox--PopupContainer-RenameCard {
224
+ .dropbox__dialog_rename-wrapper {
375
225
  position: fixed;
376
226
  top: -200px;
377
227
  right: 0;
@@ -380,89 +230,52 @@ div.MuiTabPanel-root {
380
230
  bottom: 500px;
381
231
  }
382
232
 
383
- .DropBox {
384
- background-color: #eee;
233
+ .dropbox__drag_in_field {
234
+ background-color: var(--background-primary);
235
+ color: var(--text-primary);
385
236
  width: 90%;
386
237
  margin-top: 10px;
387
238
  margin-left: auto;
388
239
  margin-right: auto;
389
240
  height: 40%;
390
- border: 2px solid black;
391
- }
392
-
393
- .dark .DropBox {
394
- background-color: #333;
395
- color: white;
396
- }
397
-
398
- .blue .DropBox {
399
- background-color: rgb(62, 68, 72);
400
- color: white;
401
- }
402
-
403
- .DropBox .Select select {
404
- font-size: 0.9rem !important;
241
+ border: 2px solid var(--dark);
242
+ padding: 10px;
405
243
  }
406
244
 
407
- .DropBox-Background {
245
+ .dropbox__dialog_rename-card {
408
246
  bottom: -250px !important;
409
247
  }
410
248
 
411
- .DropBox p {
249
+ .dropbox__drag_in_field p {
412
250
  text-align: center;
413
251
  font-weight: 500;
414
252
  font-size: 1.5rem;
415
253
  margin-top: 10px;
416
- color: #3399cc;
254
+ color: var(--iobroker-blue);
417
255
  text-decoration: underline;
418
256
  margin-bottom: 10px;
419
257
  }
420
258
 
421
- .DropBox p.DropBox-Content {
259
+ .dropbox__drag_in_field p.DropBox-Content {
422
260
  font-size: 0.7rem;
423
261
  margin-top: 0;
424
262
  text-decoration: none;
425
263
  }
426
264
 
427
- .dark .DropBox-Container label,
428
- .blue .DropBox-Container label {
429
- color: white !important;
430
- }
431
-
432
- /* HelperCard */
433
- .HelperText .DialogContainer {
434
- min-width: 750px !important;
435
- }
436
-
437
- .HelperCard {
438
- max-height: 320px;
439
- }
440
-
441
- .HelperCard button {
442
- background-color: #3399cc !important;
265
+ .dropbox__content label {
266
+ color: var(--text-primary) !important;
443
267
  }
444
268
 
445
- .HelperCard ~ .Input-Container .InputField {
446
- width: 90% !important;
447
- margin-top: 40px !important;
448
- font-size: 0.9rem !important;
449
- }
450
-
451
- .HelperText label p {
452
- margin-left: 0.5% !important;
453
- margin-top: 0 !important;
454
- }
455
-
456
- .HelperCard-BtnSearch {
269
+ .helper__btn_search {
457
270
  position: absolute;
458
271
  margin-left: 8px !important;
459
272
  }
460
273
 
461
- .BtnCircleAdd {
274
+ .btn__circle_add {
462
275
  border-radius: 50%;
463
276
  width: 24px;
464
277
  height: 24px;
465
- color: #3399cc;
278
+ color: var(--iobroker-blue);
466
279
  border: none;
467
280
  display: inline-block;
468
281
  cursor: pointer;
@@ -471,61 +284,25 @@ div.MuiTabPanel-root {
471
284
 
472
285
  /* Edit cards */
473
286
 
474
- .RenameCard .Input-Container {
475
- display: block !important;
476
- margin-left: auto !important;
477
- margin-right: auto !important;
287
+ .rename__card {
288
+ display: flex;
289
+ justify-content: center;
478
290
  }
479
291
 
480
- .cellIcon {
481
- padding: 1px !important;
482
- width: 30px !important;
483
- }
484
292
 
485
- .MenuHeader-ActiveMenu {
486
- margin-left: 19px;
293
+ .rename__card input {
294
+ margin-top: 1rem !important;
487
295
  }
488
296
 
489
- .menu__header-active {
490
- border: 3px solid #96d15a;
491
- padding: 4px 5px;
297
+ .table__cell_icon {
298
+ padding: 1px !important;
299
+ width: 30px !important;
492
300
  }
493
301
 
494
302
  /* Allgemein */
495
303
  /* label */
496
- label p {
497
- font-size: 0.8rem;
498
- color: #777;
499
- /* margin-left: px; */
500
- }
501
-
502
- /* Button */
503
-
504
- button {
505
- cursor: pointer;
506
- }
507
-
508
- .dark .button__expand button {
509
- background-color: #555 !important;
510
- border-color: #aaa !important;
511
- }
512
-
513
- .blue .button__expand button {
514
- background-color: rgb(62, 68, 72) !important;
515
- border-color: #aaa !important;
516
- }
517
-
518
- .dark .button__expand button:hover,
519
- .blue .button__expand button:hover {
520
- background-color: #333 !important;
521
- border-color: #888 !important;
522
- }
523
-
524
- .dark .button__expand span,
525
- .blue .button__expand span {
526
- color: white !important;
527
- }
528
304
 
305
+ /*Wird generiert in actionUtils */
529
306
  button.buttonTrue,
530
307
  button.buttonFalse {
531
308
  border-radius: 5px;
@@ -533,45 +310,23 @@ button.buttonFalse {
533
310
  width: 20px;
534
311
  height: 20px;
535
312
  padding: 0;
536
- margin-top: 4px
537
- }
538
-
539
- button.buttonTrue i,
540
- button.buttonFalse i {
541
- margin-top: 1px;
542
- font-size: 1.2rem;
543
- text-align: center;
544
- }
545
-
546
- tr td:has(button.buttonTrue),
547
- tr td:has(button.buttonFalse) {
548
- padding: 0 !important;
549
- margin: 0 !important;
550
- width: 20px !important;
313
+ margin-top: 4px;
314
+ color: var(--button-color-boolean);
551
315
  }
552
316
 
553
317
  button.buttonTrue {
554
- background-color: #96d15a !important;
555
- color: #333;
318
+ background-color: var(--button-bg-true) !important;
556
319
  }
557
320
 
558
321
  button.buttonFalse {
559
- background-color: #ff0033 !important;
560
- color: #333;
561
- }
562
-
563
- /* Select */
564
-
565
- .dark select {
566
- background-color: #333 !important;
567
- color: white !important;
568
- border: 2px solid #aaa !important;
322
+ background-color: var(--button-bg-false) !important;
569
323
  }
570
324
 
571
- .blue select {
572
- background-color: rgb(62, 68, 72) !important;
573
- color: white !important;
574
- border: 2px solid #aaa !important;
325
+ button.buttonTrue i,
326
+ button.buttonFalse i {
327
+ margin-top: 1px;
328
+ font-size: 1.2rem;
329
+ text-align: center;
575
330
  }
576
331
 
577
332
  p.inUse {
@@ -580,28 +335,15 @@ p.inUse {
580
335
  left: 5px;
581
336
  }
582
337
 
583
- .Select span {
584
- display: block;
585
- margin-left: 5px;
586
- }
587
338
 
588
- .Select select {
589
- margin: 5px;
339
+ .settings__tab {
340
+ color: var(--text-primary);
590
341
  }
591
342
 
592
- /* Settings */
593
- .Settings h1 {
594
- margin: 1px;
595
- }
596
-
597
- .light .Settings,
598
- .colored .Settings {
599
- color: black;
600
- }
601
-
602
- .dark .Settings,
603
- .blue .Settings {
604
- color: white;
343
+ .telegram__users_container {
344
+ display: flex;
345
+ margin-right: 0.5rem;
346
+ margin-left: 0.25rem
605
347
  }
606
348
 
607
349
  .telegram__users_card {
@@ -619,19 +361,11 @@ p.inUse {
619
361
 
620
362
  .telegramm__userCard-content {
621
363
  padding: 0.25rem 0.5rem;
622
- border: 1px solid #000000;
364
+ border: 1px solid var(--border-primary);
623
365
  width: auto;
624
366
  display: inline-block;
625
367
  margin-right: 0.5rem !important;
626
- }
627
-
628
- .dark .telegramm__userCard-content {
629
- border: 1px solid white;
630
- color: white
631
- }
632
-
633
- .dark label.checkbox {
634
- color: white;
368
+ color: var(--text-primary)
635
369
  }
636
370
 
637
371
  .telegramm__userCard-content p {
@@ -645,44 +379,21 @@ p.inUse {
645
379
  margin-top: 0;
646
380
  }
647
381
 
648
- .TelegramUserCard-User {
382
+ .telegram__user {
649
383
  margin-top: 5px;
650
384
  }
651
385
 
652
- .TelegramUserCard-name,
653
- .TelegramUserCard-content > div.Checkbox {
386
+ .telegram__user-name {
654
387
  display: inline !important;
655
388
  }
656
389
 
657
- .TelegramUserCard-ChatID {
390
+ .telegram__user_chat-id {
658
391
  font-size: 0.7rem;
659
392
  }
660
393
 
661
- .disabled {
662
- pointer-events: none;
663
- opacity: 0.4;
664
- }
665
-
666
- .MuiTabs-root div.MuiTabs-fixed {
667
- /*position: fixed;*/
668
- background-color: white;
669
- width: 100%;
670
- z-index: 100;
671
- }
672
-
673
- .telegram__users_container {
674
- display: flex;
675
- margin-right: 0.5rem;
676
- margin-left: 0.25rem
677
- }
678
-
679
- span[title],
680
- .title {
681
- cursor: help;
682
- }
683
394
 
684
395
  /* Trigger Overview */
685
- .Menu-list-container {
396
+ .trigger__overview_wrapper {
686
397
  display: flex;
687
398
  flex-wrap: wrap;
688
399
  align-items: stretch;
@@ -690,67 +401,52 @@ span[title],
690
401
  overflow: auto;
691
402
  }
692
403
 
693
- .Menu-list-container li {
404
+ .trigger__overview_wrapper li {
694
405
  cursor: help;
695
406
  padding-left: 4px;
696
407
  }
697
408
 
698
409
  /* Für die .Menu-list-card Elemente */
699
- .Menu-list-card {
410
+ .menu__card_container {
700
411
  display: inline-block;
701
412
  vertical-align: top; /* Um sicherzustellen, dass die Karten oben ausgerichtet sind */
702
413
  margin: 3px 3px;
703
414
  padding: 0 3px;
704
- background-color: #eee;
415
+ background-color: var(--background-primary);
416
+ color: var(--text-primary);
705
417
  width: max-content;
706
418
  }
707
419
 
708
- .dark .Menu-list-card,
709
- .blue .Menu-list-card {
710
- background-color: #333;
711
- color: #ddd;
712
- }
713
-
714
- .Action-list li,
715
- .Menu-list-card li {
420
+ .menu__action_list li,
421
+ .menu__card_container li {
716
422
  list-style-type: none;
717
423
  font-size: 0.7rem;
718
424
  line-height: 0.75rem;
719
425
  }
720
426
 
721
427
  /* Für die <p> und <ul> Elemente innerhalb der .Menu-list-card */
722
- .Menu-list-card > p,
723
- .Menu-list-card > ul {
428
+ .menu__card_container > p,
429
+ .menu__card_container > ul {
724
430
  display: block;
725
431
  }
726
432
 
727
- .Menu-list-card ul {
433
+ .menu__card_container ul {
728
434
  padding-left: 20px;
729
435
  }
730
436
 
731
- .Menu-list {
732
- margin: 2px 0 0 0;
733
- font-weight: 500;
734
- border-bottom: 1px solid currentColor;
437
+ .trigger__overview_user-list {
438
+ background-color: var(--background-primary);
735
439
  }
736
440
 
737
- .User-list-container {
738
- background-color: #ddd;
739
- }
740
441
 
741
- .dark .User-list-container,
742
- .blue .User-list-container {
743
- background-color: #aaa;
744
- }
745
-
746
- .User-list-container p {
442
+ .trigger__overview_user-list p {
747
443
  margin-top: 4px;
748
444
  margin-bottom: 0;
749
445
  padding: 0 5px;
750
- color: black;
446
+ color: var(--dark);
751
447
  }
752
448
 
753
- .User-list ~ p {
449
+ .trigger__overview_user ~ p {
754
450
  font-size: 0.75rem;
755
451
  padding-bottom: 2px;
756
452
  font-weight: 500;
@@ -758,101 +454,48 @@ span[title],
758
454
  margin-top: 0;
759
455
  }
760
456
 
761
- .createdTrigger li {
457
+ .list__created-trigger li {
762
458
  padding-left: 5px;
763
459
  }
764
460
 
765
- .menu-startside {
766
- background-color: #96d15a;
767
- color: black;
768
- }
769
-
770
- .menu-disabled {
771
- background-color: rgb(242, 101, 101);
772
- color: black;
461
+ .trigger__overview_menu-startside {
462
+ background-color: var(--success);
463
+ color: var(--dark);
773
464
  }
774
465
 
775
- .Menu-list-container ul li ul li {
466
+ .trigger__overview_wrapper ul li ul li {
776
467
  font-size: 0.75rem;
777
468
  line-height: 0.75rem;
778
469
  }
779
470
 
780
- .strong {
781
- margin-top: 5px;
782
- font-weight: 500;
783
- text-decoration: underline;
784
- }
785
-
786
- .squareText {
787
- font-size: 0.7rem;
788
- cursor: default;
789
- }
790
-
791
- .noMargin {
792
- margin: 0;
793
- padding-left: 5px;
794
- }
795
-
796
- .textRight {
797
- padding: 0 5px 0 5px;
798
- margin: 3px 3px 0 0;
799
- }
800
-
801
- .inlineBlock {
802
- display: inline-block;
803
- flex-grow: 1;
804
- }
805
-
806
- .active {
807
- background-color: #b5fb6f;
808
- }
809
-
810
- .inactive {
811
- background-color: #ff0033;
812
- }
813
-
814
- .menuDescription {
471
+ .trigger__overview_menu-description {
815
472
  margin: 2px 0 4px 0;
816
473
  text-decoration: underline;
817
474
  font-size: 0.8rem;
818
475
  font-weight: 500;
819
476
  }
820
477
 
821
- #ar_dialog_selectid_title ~ div.MuiDialogContent-root {
822
- overflow: auto !important;
823
- }
824
-
825
- .breakingChange {
826
- color: red;
827
- font-weight: 500;
828
- }
829
-
830
- .PopupContainer__copy .DialogContainer {
831
- width: 100% !important;
832
- height: 100% !important;
833
- top: 52rem !important;
834
- margin-left: 0.9rem;
835
- cursor: default;
836
- }
837
-
838
478
  .editor__modal_container {
839
479
  margin-top: 4rem;
840
480
  margin-left: 2rem;
841
481
  margin-right: 2rem;
842
482
  }
843
483
 
844
- .header__actions {
484
+ .header__menu_buttons {
485
+ margin: 0.5rem 0.5rem 0 0.5rem;
845
486
  display: flex;
846
- gap: 0.25rem;
487
+ gap: 0.5rem;
847
488
  flex-wrap: wrap;
848
- margin-left: 0.25rem;
849
- margin-right: 0.25rem;
850
489
  }
851
490
 
852
- .row__container:has(.row__button) {
491
+ .header__menu_buttons input {
492
+ height: calc(30px - 1rem);
493
+ }
494
+
495
+ .table__row_container:has(.row__button) {
853
496
  margin: 0.5rem 0 0.5rem 0;
854
- border: 1px solid black;
855
- background: #84b9ec !important;
497
+ border: 1px solid var(--border-row-container);
498
+ background: var(--row-container);
856
499
  }
857
500
 
858
501
  .nav__row {
@@ -867,33 +510,75 @@ span[title],
867
510
  margin: 1px 0.1rem 1px 0.1rem !important;
868
511
  padding: 0.1rem 0.5rem;
869
512
  font-size: 0.7rem !important;
870
- border: 2px solid #aaa;
513
+ border: 2px solid var(--border-row-buttons) !important;
871
514
  border-radius: 5px;
872
515
  display: inline-block !important;
873
516
  flex: 1;
874
517
  text-align: center;
875
- background: #f1e4b0;
518
+ background: var(--row-button) !important;
519
+ color: var(--row-button-text)
876
520
  }
877
521
 
878
- .dark .row__button {
879
- background: #777;
880
- color: white;
522
+ .row__button:hover {
523
+ opacity: 0.8;
881
524
  }
882
525
 
883
526
  .row__submenu {
884
- background: peachpuff !important;
527
+ background: var(--menu-function-row) !important;
528
+ color: var(--dark)
885
529
  }
886
530
 
887
- .dark .row__submenu {
888
- color: black
531
+ .disabled {
532
+ pointer-events: none;
533
+ opacity: 0.4;
889
534
  }
890
535
 
891
- .nav__trigger_list {
892
- margin: 1rem 0 1rem 0;
893
- display: flex;
894
- justify-content: start;
536
+ .strong {
537
+ margin-top: 5px;
538
+ font-weight: 500;
539
+ text-decoration: underline;
540
+ }
541
+
542
+ .squareText {
543
+ font-size: 0.7rem;
544
+ cursor: default;
895
545
  }
896
546
 
897
- .row__active {
898
- background: #ffb8b1 !important;
547
+ .noMargin {
548
+ margin: 0;
549
+ padding-left: 5px;
550
+ }
551
+
552
+ .textRight {
553
+ padding: 0 5px 0 5px;
554
+ margin: 3px 3px 0 0;
555
+ }
556
+
557
+ .inlineBlock {
558
+ display: inline-block;
559
+ flex-grow: 1;
560
+ }
561
+
562
+ .active {
563
+ background-color: var(--success);
564
+ }
565
+
566
+ .inactive {
567
+ background-color: var(--destructive);
568
+ }
569
+
570
+
571
+ #ar_dialog_selectid_title ~ div.MuiDialogContent-root {
572
+ overflow: auto !important;
573
+ }
574
+
575
+ .MuiTabs-root div.MuiTabs-fixed {
576
+ background-color: var(--background-primary);
577
+ width: 100%;
578
+ z-index: 100;
579
+ }
580
+
581
+ span[title],
582
+ .title {
583
+ cursor: help;
899
584
  }