@zambon-dev/ui 0.0.1-bootstrap.0 → 1.0.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.
- package/CHANGELOG.md +4 -0
- package/README.md +81 -81
- package/fesm2022/zambon-dev-ui-framework.mjs +5943 -3980
- package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-library.mjs +5787 -4272
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-shared.mjs +2505 -1790
- package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-testing.mjs +73 -77
- package/fesm2022/zambon-dev-ui-testing.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui.mjs +3 -8
- package/i18n/framework/en.json +63 -63
- package/i18n/framework/pt.json +63 -63
- package/i18n/shared/external-content/en.json +12 -12
- package/i18n/shared/external-content/pt.json +12 -12
- package/i18n/shared/language-selector/en.json +5 -5
- package/i18n/shared/language-selector/pt.json +5 -5
- package/i18n/shared/login/en.json +14 -14
- package/i18n/shared/login/pt.json +14 -14
- package/i18n/shared/operations-history/en.json +5 -5
- package/i18n/shared/operations-history/pt.json +5 -5
- package/i18n/shared/services-history/en.json +14 -14
- package/i18n/shared/services-history/pt.json +14 -14
- package/i18n/shared/top-bar/en.json +7 -7
- package/i18n/shared/top-bar/pt.json +7 -7
- package/package.json +1 -1
- package/styles/common.scss +10 -10
- package/styles/components/button.scss +101 -101
- package/styles/components/card.scss +13 -13
- package/styles/components/dropdown-static.scss +35 -35
- package/styles/components/input-group.scss +44 -44
- package/styles/components/input.scss +99 -99
- package/styles/components/label.scss +3 -3
- package/styles/components/row.scss +48 -48
- package/styles/mixins/background.scss +31 -31
- package/styles/theme.css +75 -75
- package/styles/variables.scss +60 -60
- package/types/zambon-dev-ui-framework.d.ts +1459 -1029
- package/types/zambon-dev-ui-library.d.ts +1607 -1165
- package/types/zambon-dev-ui-shared.d.ts +563 -543
- package/types/zambon-dev-ui-testing.d.ts +25 -30
- package/types/zambon-dev-ui.d.ts +3 -3
- package/fesm2022/zambon-dev-ui.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"OperationsHistory-Modal-Title": "Detalhes de alteração do objeto",
|
|
3
|
-
|
|
4
|
-
"": ""
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"OperationsHistory-Modal-Title": "Detalhes de alteração do objeto",
|
|
3
|
+
|
|
4
|
+
"": ""
|
|
5
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ServicesHistory-Field-ChangedBy": "Employee",
|
|
3
|
-
"ServicesHistory-Field-ChangedOnFrom": "From",
|
|
4
|
-
"ServicesHistory-Field-ChangedOnTo": "To",
|
|
5
|
-
"ServicesHistory-Field-Name": "Action",
|
|
6
|
-
"ServicesHistory-Field-OnlyCurrentEntity": "This record only?",
|
|
7
|
-
"ServicesHistory-Field-OnlyCurrentEntity-Notes": "An action usually writes to more than one table, and every operation it performed is listed by default — that is what shows the related records a change also touched. Tick this to see only the operations on this record.",
|
|
8
|
-
"ServicesHistory-Filters-Title": "History filters",
|
|
9
|
-
"ServicesHistory-FormGroup-Operations": "Operations",
|
|
10
|
-
"ServicesHistory-FormGroup-Period": "Period",
|
|
11
|
-
"ServicesHistory-FormGroup-Service": "Action",
|
|
12
|
-
|
|
13
|
-
"": ""
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"ServicesHistory-Field-ChangedBy": "Employee",
|
|
3
|
+
"ServicesHistory-Field-ChangedOnFrom": "From",
|
|
4
|
+
"ServicesHistory-Field-ChangedOnTo": "To",
|
|
5
|
+
"ServicesHistory-Field-Name": "Action",
|
|
6
|
+
"ServicesHistory-Field-OnlyCurrentEntity": "This record only?",
|
|
7
|
+
"ServicesHistory-Field-OnlyCurrentEntity-Notes": "An action usually writes to more than one table, and every operation it performed is listed by default — that is what shows the related records a change also touched. Tick this to see only the operations on this record.",
|
|
8
|
+
"ServicesHistory-Filters-Title": "History filters",
|
|
9
|
+
"ServicesHistory-FormGroup-Operations": "Operations",
|
|
10
|
+
"ServicesHistory-FormGroup-Period": "Period",
|
|
11
|
+
"ServicesHistory-FormGroup-Service": "Action",
|
|
12
|
+
|
|
13
|
+
"": ""
|
|
14
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ServicesHistory-Field-ChangedBy": "Funcionário",
|
|
3
|
-
"ServicesHistory-Field-ChangedOnFrom": "De",
|
|
4
|
-
"ServicesHistory-Field-ChangedOnTo": "Até",
|
|
5
|
-
"ServicesHistory-Field-Name": "Ação",
|
|
6
|
-
"ServicesHistory-Field-OnlyCurrentEntity": "Apenas este registro?",
|
|
7
|
-
"ServicesHistory-Field-OnlyCurrentEntity-Notes": "Uma ação costuma alterar mais de uma tabela, e por padrão são listadas todas as operações que ela realizou — é isso que mostra os registros relacionados que a alteração também tocou. Marque para ver somente as operações sobre este registro.",
|
|
8
|
-
"ServicesHistory-Filters-Title": "Filtros do histórico",
|
|
9
|
-
"ServicesHistory-FormGroup-Operations": "Operações",
|
|
10
|
-
"ServicesHistory-FormGroup-Period": "Período",
|
|
11
|
-
"ServicesHistory-FormGroup-Service": "Ação",
|
|
12
|
-
|
|
13
|
-
"": ""
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"ServicesHistory-Field-ChangedBy": "Funcionário",
|
|
3
|
+
"ServicesHistory-Field-ChangedOnFrom": "De",
|
|
4
|
+
"ServicesHistory-Field-ChangedOnTo": "Até",
|
|
5
|
+
"ServicesHistory-Field-Name": "Ação",
|
|
6
|
+
"ServicesHistory-Field-OnlyCurrentEntity": "Apenas este registro?",
|
|
7
|
+
"ServicesHistory-Field-OnlyCurrentEntity-Notes": "Uma ação costuma alterar mais de uma tabela, e por padrão são listadas todas as operações que ela realizou — é isso que mostra os registros relacionados que a alteração também tocou. Marque para ver somente as operações sobre este registro.",
|
|
8
|
+
"ServicesHistory-Filters-Title": "Filtros do histórico",
|
|
9
|
+
"ServicesHistory-FormGroup-Operations": "Operações",
|
|
10
|
+
"ServicesHistory-FormGroup-Period": "Período",
|
|
11
|
+
"ServicesHistory-FormGroup-Service": "Ação",
|
|
12
|
+
|
|
13
|
+
"": ""
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"TopBar-Notifications-Title": "Notifications",
|
|
3
|
-
"TopBar-Notifications-Empty": "No notifications",
|
|
4
|
-
"TopBar-Notifications-MarkAllRead": "Mark all as read",
|
|
5
|
-
|
|
6
|
-
"": ""
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"TopBar-Notifications-Title": "Notifications",
|
|
3
|
+
"TopBar-Notifications-Empty": "No notifications",
|
|
4
|
+
"TopBar-Notifications-MarkAllRead": "Mark all as read",
|
|
5
|
+
|
|
6
|
+
"": ""
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"TopBar-Notifications-Title": "Notificações",
|
|
3
|
-
"TopBar-Notifications-Empty": "Nenhuma notificação",
|
|
4
|
-
"TopBar-Notifications-MarkAllRead": "Marcar todas como lidas",
|
|
5
|
-
|
|
6
|
-
"": ""
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"TopBar-Notifications-Title": "Notificações",
|
|
3
|
+
"TopBar-Notifications-Empty": "Nenhuma notificação",
|
|
4
|
+
"TopBar-Notifications-MarkAllRead": "Marcar todas como lidas",
|
|
5
|
+
|
|
6
|
+
"": ""
|
|
7
|
+
}
|
package/package.json
CHANGED
package/styles/common.scss
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@reference './theme.css';
|
|
2
|
-
|
|
3
|
-
@import 'variables';
|
|
4
|
-
@import 'components/button';
|
|
5
|
-
@import 'components/card';
|
|
6
|
-
@import 'components/dropdown-static';
|
|
7
|
-
@import 'components/input';
|
|
8
|
-
@import 'components/input-group';
|
|
9
|
-
@import 'components/label';
|
|
10
|
-
@import 'components/row';
|
|
1
|
+
@reference './theme.css';
|
|
2
|
+
|
|
3
|
+
@import 'variables';
|
|
4
|
+
@import 'components/button';
|
|
5
|
+
@import 'components/card';
|
|
6
|
+
@import 'components/dropdown-static';
|
|
7
|
+
@import 'components/input';
|
|
8
|
+
@import 'components/input-group';
|
|
9
|
+
@import 'components/label';
|
|
10
|
+
@import 'components/row';
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
input[type='button'],
|
|
2
|
-
input[type='reset'],
|
|
3
|
-
input[type='submit'],
|
|
4
|
-
button,
|
|
5
|
-
a {
|
|
6
|
-
&.btn {
|
|
7
|
-
@apply relative px-3 py-1.5 inline-block text-center rounded-sm select-none;
|
|
8
|
-
@apply bg-slate-700 text-white;
|
|
9
|
-
@apply transition-all;
|
|
10
|
-
|
|
11
|
-
@apply focus:ring-4 focus:ring-slate-600/30;
|
|
12
|
-
@apply focus:bg-slate-800 hover:bg-slate-800;
|
|
13
|
-
@apply active:bg-slate-900;
|
|
14
|
-
|
|
15
|
-
i:not(:last-child) {
|
|
16
|
-
@apply mr-2;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.disabled,
|
|
20
|
-
&:disabled {
|
|
21
|
-
@apply pointer-events-none opacity-[.60] ring-0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.error {
|
|
25
|
-
@apply bg-red-700 focus:ring-red-600/30;
|
|
26
|
-
@apply focus:bg-red-800 hover:bg-red-800;
|
|
27
|
-
@apply active:bg-red-900;
|
|
28
|
-
|
|
29
|
-
i:before {
|
|
30
|
-
@apply content-['\f00d'];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.success {
|
|
35
|
-
@apply bg-green-700 ring-4 ring-green-600/30;
|
|
36
|
-
@apply pointer-events-none opacity-[.60];
|
|
37
|
-
|
|
38
|
-
i:before {
|
|
39
|
-
@apply content-['\f00c'];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.loading {
|
|
44
|
-
@apply pointer-events-none opacity-[.60] ring-0 pl-8;
|
|
45
|
-
@apply transition-[margin-left] duration-200 ease-in-out;
|
|
46
|
-
|
|
47
|
-
&:before {
|
|
48
|
-
@apply content-[''] absolute left-2 top-0 bg-center bg-contain bg-no-repeat w-5 h-full animate-spin text-white;
|
|
49
|
-
@apply transition-opacity duration-200 ease-in-out;
|
|
50
|
-
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"%3E%3Ccircle style="opacity:.25" cx="12" cy="12" r="10" stroke="white" stroke-width="4"%3E%3C/circle%3E%3Cpath style="opacity:.75" fill="white" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"%3E%3C/path%3E%3C/svg%3E');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
i {
|
|
54
|
-
@apply invisible;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@mixin button($color) {
|
|
61
|
-
input[type='button'],
|
|
62
|
-
input[type='reset'],
|
|
63
|
-
input[type='submit'],
|
|
64
|
-
button,
|
|
65
|
-
a {
|
|
66
|
-
&.btn {
|
|
67
|
-
@for $i from 1 through 7 {
|
|
68
|
-
&.#{$color + '-' + $i + '00'} {
|
|
69
|
-
@if $i > 4 {
|
|
70
|
-
@apply text-white;
|
|
71
|
-
} @else {
|
|
72
|
-
@apply text-black;
|
|
73
|
-
|
|
74
|
-
&.loading:before {
|
|
75
|
-
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"%3E%3Ccircle style="opacity:.25" cx="12" cy="12" r="10" stroke="black" stroke-width="4"%3E%3C/circle%3E%3Cpath style="opacity:.75" fill="black" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"%3E%3C/path%3E%3C/svg%3E');
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@apply #{'bg-' + $color + '-' + $i + '00'};
|
|
80
|
-
|
|
81
|
-
$ring: $i + '00/30';
|
|
82
|
-
@if $i < 5 {
|
|
83
|
-
$ring: '400/20';
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@apply #{'focus:ring-' + $color + '-' + $ring};
|
|
87
|
-
@apply #{'focus:bg-' + $color + '-' + ($i+1) + '00'};
|
|
88
|
-
@apply #{'hover:bg-' + $color + '-' + ($i+1) + '00'};
|
|
89
|
-
@apply #{'active:bg-' + $color + '-' + ($i+2) + '00'};
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
$colors:
|
|
97
|
-
'slate', 'gray', 'zinc', 'neutral', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal',
|
|
98
|
-
'cyan', 'sky', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose', 'primary';
|
|
99
|
-
@each $color in $colors {
|
|
100
|
-
@include button($color);
|
|
101
|
-
}
|
|
1
|
+
input[type='button'],
|
|
2
|
+
input[type='reset'],
|
|
3
|
+
input[type='submit'],
|
|
4
|
+
button,
|
|
5
|
+
a {
|
|
6
|
+
&.btn {
|
|
7
|
+
@apply relative px-3 py-1.5 inline-block text-center rounded-sm select-none;
|
|
8
|
+
@apply bg-slate-700 text-white;
|
|
9
|
+
@apply transition-all;
|
|
10
|
+
|
|
11
|
+
@apply focus:ring-4 focus:ring-slate-600/30;
|
|
12
|
+
@apply focus:bg-slate-800 hover:bg-slate-800;
|
|
13
|
+
@apply active:bg-slate-900;
|
|
14
|
+
|
|
15
|
+
i:not(:last-child) {
|
|
16
|
+
@apply mr-2;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.disabled,
|
|
20
|
+
&:disabled {
|
|
21
|
+
@apply pointer-events-none opacity-[.60] ring-0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.error {
|
|
25
|
+
@apply bg-red-700 focus:ring-red-600/30;
|
|
26
|
+
@apply focus:bg-red-800 hover:bg-red-800;
|
|
27
|
+
@apply active:bg-red-900;
|
|
28
|
+
|
|
29
|
+
i:before {
|
|
30
|
+
@apply content-['\f00d'];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.success {
|
|
35
|
+
@apply bg-green-700 ring-4 ring-green-600/30;
|
|
36
|
+
@apply pointer-events-none opacity-[.60];
|
|
37
|
+
|
|
38
|
+
i:before {
|
|
39
|
+
@apply content-['\f00c'];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.loading {
|
|
44
|
+
@apply pointer-events-none opacity-[.60] ring-0 pl-8;
|
|
45
|
+
@apply transition-[margin-left] duration-200 ease-in-out;
|
|
46
|
+
|
|
47
|
+
&:before {
|
|
48
|
+
@apply content-[''] absolute left-2 top-0 bg-center bg-contain bg-no-repeat w-5 h-full animate-spin text-white;
|
|
49
|
+
@apply transition-opacity duration-200 ease-in-out;
|
|
50
|
+
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"%3E%3Ccircle style="opacity:.25" cx="12" cy="12" r="10" stroke="white" stroke-width="4"%3E%3C/circle%3E%3Cpath style="opacity:.75" fill="white" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"%3E%3C/path%3E%3C/svg%3E');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
i {
|
|
54
|
+
@apply invisible;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin button($color) {
|
|
61
|
+
input[type='button'],
|
|
62
|
+
input[type='reset'],
|
|
63
|
+
input[type='submit'],
|
|
64
|
+
button,
|
|
65
|
+
a {
|
|
66
|
+
&.btn {
|
|
67
|
+
@for $i from 1 through 7 {
|
|
68
|
+
&.#{$color + '-' + $i + '00'} {
|
|
69
|
+
@if $i > 4 {
|
|
70
|
+
@apply text-white;
|
|
71
|
+
} @else {
|
|
72
|
+
@apply text-black;
|
|
73
|
+
|
|
74
|
+
&.loading:before {
|
|
75
|
+
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"%3E%3Ccircle style="opacity:.25" cx="12" cy="12" r="10" stroke="black" stroke-width="4"%3E%3C/circle%3E%3Cpath style="opacity:.75" fill="black" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"%3E%3C/path%3E%3C/svg%3E');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@apply #{'bg-' + $color + '-' + $i + '00'};
|
|
80
|
+
|
|
81
|
+
$ring: $i + '00/30';
|
|
82
|
+
@if $i < 5 {
|
|
83
|
+
$ring: '400/20';
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@apply #{'focus:ring-' + $color + '-' + $ring};
|
|
87
|
+
@apply #{'focus:bg-' + $color + '-' + ($i+1) + '00'};
|
|
88
|
+
@apply #{'hover:bg-' + $color + '-' + ($i+1) + '00'};
|
|
89
|
+
@apply #{'active:bg-' + $color + '-' + ($i+2) + '00'};
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
$colors:
|
|
97
|
+
'slate', 'gray', 'zinc', 'neutral', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal',
|
|
98
|
+
'cyan', 'sky', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose', 'primary';
|
|
99
|
+
@each $color in $colors {
|
|
100
|
+
@include button($color);
|
|
101
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
.card {
|
|
2
|
-
@apply border rounded-lg relative mt-4 pt-3 px-2 pb-2;
|
|
3
|
-
@apply bg-white/80 border-gray-300/90;
|
|
4
|
-
@apply grid gap-3;
|
|
5
|
-
|
|
6
|
-
.title {
|
|
7
|
-
@apply text-lg font-semibold absolute -top-4 left-2 px-2 bg-white;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.input-group:not(:first-child) {
|
|
11
|
-
@apply mt-0;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
.card {
|
|
2
|
+
@apply border rounded-lg relative mt-4 pt-3 px-2 pb-2;
|
|
3
|
+
@apply bg-white/80 border-gray-300/90;
|
|
4
|
+
@apply grid gap-3;
|
|
5
|
+
|
|
6
|
+
.title {
|
|
7
|
+
@apply text-lg font-semibold absolute -top-4 left-2 px-2 bg-white;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.input-group:not(:first-child) {
|
|
11
|
+
@apply mt-0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.dropdown {
|
|
2
|
-
@apply relative;
|
|
3
|
-
|
|
4
|
-
.btn {
|
|
5
|
-
@apply bg-neutral-600/60 text-white border border-neutral-900/40 backdrop-blur-md;
|
|
6
|
-
|
|
7
|
-
@apply focus:ring-neutral-600/30;
|
|
8
|
-
@apply focus:bg-neutral-600/70 hover:bg-neutral-600/70;
|
|
9
|
-
@apply active:bg-neutral-600/80;
|
|
10
|
-
|
|
11
|
-
&:after {
|
|
12
|
-
@apply content-[''] inline-block ml-1 align-middle;
|
|
13
|
-
@apply border-x-[.3em] border-t-[.3em] border-solid border-x-white/0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.show ul {
|
|
18
|
-
@apply block;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.right ul {
|
|
22
|
-
@apply right-0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
ul {
|
|
26
|
-
@apply absolute hidden py-1 rounded-sm shadow-sm;
|
|
27
|
-
@apply bg-white/95 border border-neutral-400 backdrop-blur-md shadow-md;
|
|
28
|
-
|
|
29
|
-
.dropdown-item {
|
|
30
|
-
@apply block p-2 cursor-pointer whitespace-nowrap select-none;
|
|
31
|
-
@apply focus:bg-neutral-200/80 hover:bg-neutral-200/80;
|
|
32
|
-
@apply active:bg-slate-400 active:text-white;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
.dropdown {
|
|
2
|
+
@apply relative;
|
|
3
|
+
|
|
4
|
+
.btn {
|
|
5
|
+
@apply bg-neutral-600/60 text-white border border-neutral-900/40 backdrop-blur-md;
|
|
6
|
+
|
|
7
|
+
@apply focus:ring-neutral-600/30;
|
|
8
|
+
@apply focus:bg-neutral-600/70 hover:bg-neutral-600/70;
|
|
9
|
+
@apply active:bg-neutral-600/80;
|
|
10
|
+
|
|
11
|
+
&:after {
|
|
12
|
+
@apply content-[''] inline-block ml-1 align-middle;
|
|
13
|
+
@apply border-x-[.3em] border-t-[.3em] border-solid border-x-white/0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.show ul {
|
|
18
|
+
@apply block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.right ul {
|
|
22
|
+
@apply right-0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
ul {
|
|
26
|
+
@apply absolute hidden py-1 rounded-sm shadow-sm;
|
|
27
|
+
@apply bg-white/95 border border-neutral-400 backdrop-blur-md shadow-md;
|
|
28
|
+
|
|
29
|
+
.dropdown-item {
|
|
30
|
+
@apply block p-2 cursor-pointer whitespace-nowrap select-none;
|
|
31
|
+
@apply focus:bg-neutral-200/80 hover:bg-neutral-200/80;
|
|
32
|
+
@apply active:bg-slate-400 active:text-white;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
.input-group {
|
|
2
|
-
&.inline {
|
|
3
|
-
@apply flex flex-row-reverse flex-wrap items-stretch mb-3;
|
|
4
|
-
|
|
5
|
-
.input-group-text {
|
|
6
|
-
@apply py-1.5 px-3 rounded-l flex flex-row items-center whitespace-nowrap select-none;
|
|
7
|
-
@apply bg-slate-500 text-gray-50 border-blue-400;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
input[type='text'].form-input,
|
|
11
|
-
input[type='password'].form-input {
|
|
12
|
-
@apply mt-0 rounded-l-none -ml-1;
|
|
13
|
-
@apply w-1 grow;
|
|
14
|
-
|
|
15
|
-
&.ng-touched.ng-invalid {
|
|
16
|
-
~ .input-group-text {
|
|
17
|
-
@apply bg-red-600;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.checkbox {
|
|
24
|
-
@apply pt-[1.85rem] text-center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:not(:first-child) {
|
|
28
|
-
@apply mt-3;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input[type='text'].form-input,
|
|
32
|
-
input[type='password'].form-input {
|
|
33
|
-
&.ng-touched.ng-invalid {
|
|
34
|
-
~ .validations {
|
|
35
|
-
@apply block;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.validations {
|
|
41
|
-
@apply hidden basis-full mt-1;
|
|
42
|
-
@apply text-red-600 text-sm;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
.input-group {
|
|
2
|
+
&.inline {
|
|
3
|
+
@apply flex flex-row-reverse flex-wrap items-stretch mb-3;
|
|
4
|
+
|
|
5
|
+
.input-group-text {
|
|
6
|
+
@apply py-1.5 px-3 rounded-l flex flex-row items-center whitespace-nowrap select-none;
|
|
7
|
+
@apply bg-slate-500 text-gray-50 border-blue-400;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
input[type='text'].form-input,
|
|
11
|
+
input[type='password'].form-input {
|
|
12
|
+
@apply mt-0 rounded-l-none -ml-1;
|
|
13
|
+
@apply w-1 grow;
|
|
14
|
+
|
|
15
|
+
&.ng-touched.ng-invalid {
|
|
16
|
+
~ .input-group-text {
|
|
17
|
+
@apply bg-red-600;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.checkbox {
|
|
24
|
+
@apply pt-[1.85rem] text-center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(:first-child) {
|
|
28
|
+
@apply mt-3;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
input[type='text'].form-input,
|
|
32
|
+
input[type='password'].form-input {
|
|
33
|
+
&.ng-touched.ng-invalid {
|
|
34
|
+
~ .validations {
|
|
35
|
+
@apply block;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.validations {
|
|
41
|
+
@apply hidden basis-full mt-1;
|
|
42
|
+
@apply text-red-600 text-sm;
|
|
43
|
+
}
|
|
44
|
+
}
|