@kato-lee/components 1.0.3
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/LICENSE +21 -0
- package/README.md +7 -0
- package/assets/_fade-in.scss +40 -0
- package/assets/_fields.scss +76 -0
- package/assets/_grids.scss +317 -0
- package/assets/components/_buttons.scss +3 -0
- package/assets/components/_cards.scss +26 -0
- package/assets/components/_dialogs.scss +13 -0
- package/assets/components/_fields.scss +110 -0
- package/assets/components/_material.scss +15 -0
- package/assets/components/_pretty-box.scss +41 -0
- package/assets/components/_scroll-bar.scss +23 -0
- package/assets/components/_snack-bar.scss +18 -0
- package/assets/components/_tables.scss +235 -0
- package/assets/components/_tabs.scss +7 -0
- package/assets/components/main.scss +25 -0
- package/assets/fonts/body/Transpass-Bold.ttf +0 -0
- package/assets/fonts/body/Transpass-Light.ttf +0 -0
- package/assets/fonts/body/Transpass-Medium.ttf +0 -0
- package/assets/fonts/body/Transpass-Regular.ttf +0 -0
- package/assets/fonts/body/style-font.scss +40 -0
- package/assets/fonts/main.scss +2 -0
- package/assets/fonts/title/Poppins-Bold.ttf +0 -0
- package/assets/fonts/title/Poppins-Light.ttf +0 -0
- package/assets/fonts/title/Poppins-Medium.ttf +0 -0
- package/assets/fonts/title/Poppins-Regular.ttf +0 -0
- package/assets/fonts/title/Poppins-SemiBold.ttf +0 -0
- package/assets/fonts/title/style-font.scss +39 -0
- package/assets/layouts/_loader.scss +71 -0
- package/assets/layouts/origin.scss +775 -0
- package/assets/main.scss +4 -0
- package/assets/material/icons/icons.woff2 +0 -0
- package/assets/material/icons/local.css +1 -0
- package/assets/material/icons/remote.css +1 -0
- package/assets/material/themes/dark.scss +55 -0
- package/assets/material/themes/default.scss +106 -0
- package/assets/material/themes/main.scss +2907 -0
- package/assets/themes/_dark.scss +15 -0
- package/assets/themes/_default.scss +30 -0
- package/assets/themes/main.scss +2 -0
- package/assets/variables.scss +7 -0
- package/box-form/box-form.component.d.ts +34 -0
- package/box-form/box-form.module.d.ts +13 -0
- package/box-form/common.d.ts +5 -0
- package/box-form/index.d.ts +3 -0
- package/box-form/package.json +3 -0
- package/capsule/capsule.component.d.ts +14 -0
- package/capsule/capsule.module.d.ts +7 -0
- package/capsule/index.d.ts +2 -0
- package/capsule/package.json +3 -0
- package/cards/cards.module.d.ts +7 -0
- package/cards/index.d.ts +2 -0
- package/cards/package.json +3 -0
- package/cards/simple-card.component.d.ts +8 -0
- package/dialogs/dialogs.module.d.ts +11 -0
- package/dialogs/dismiss-dialog-button.component.d.ts +8 -0
- package/dialogs/index.d.ts +2 -0
- package/dialogs/package.json +3 -0
- package/esm2022/box-form/box-form.component.mjs +99 -0
- package/esm2022/box-form/box-form.module.mjs +40 -0
- package/esm2022/box-form/common.mjs +2 -0
- package/esm2022/box-form/index.mjs +7 -0
- package/esm2022/box-form/kato-lee-components-box-form.mjs +5 -0
- package/esm2022/capsule/capsule.component.mjs +78 -0
- package/esm2022/capsule/capsule.module.mjs +16 -0
- package/esm2022/capsule/index.mjs +6 -0
- package/esm2022/capsule/kato-lee-components-capsule.mjs +5 -0
- package/esm2022/cards/cards.module.mjs +17 -0
- package/esm2022/cards/index.mjs +6 -0
- package/esm2022/cards/kato-lee-components-cards.mjs +5 -0
- package/esm2022/cards/simple-card.component.mjs +47 -0
- package/esm2022/dialogs/dialogs.module.mjs +22 -0
- package/esm2022/dialogs/dismiss-dialog-button.component.mjs +44 -0
- package/esm2022/dialogs/index.mjs +6 -0
- package/esm2022/dialogs/kato-lee-components-dialogs.mjs +5 -0
- package/esm2022/fields/autocomplete-field/autocomplete-field.component.mjs +240 -0
- package/esm2022/fields/date-field/date-field.component.mjs +148 -0
- package/esm2022/fields/date-range-field/date-range-field.component.mjs +70 -0
- package/esm2022/fields/error/error-equals.pipe.mjs +19 -0
- package/esm2022/fields/error/error.component.mjs +55 -0
- package/esm2022/fields/error/error.module.mjs +21 -0
- package/esm2022/fields/error/error.msg.pipe.mjs +19 -0
- package/esm2022/fields/error/lang/_en.mjs +12 -0
- package/esm2022/fields/error/lang/_es.mjs +12 -0
- package/esm2022/fields/error/lang/index.mjs +3 -0
- package/esm2022/fields/fields.common.mjs +8 -0
- package/esm2022/fields/fields.module.mjs +118 -0
- package/esm2022/fields/general-field/general-field.component.mjs +188 -0
- package/esm2022/fields/index.mjs +17 -0
- package/esm2022/fields/kato-lee-components-fields.mjs +5 -0
- package/esm2022/fields/money-field/money-field.component.mjs +188 -0
- package/esm2022/fields/number-field/number-field.component.mjs +165 -0
- package/esm2022/fields/select-field/select-field.component.mjs +135 -0
- package/esm2022/fields/text-area/textarea.component.mjs +171 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/kato-lee-components.mjs +5 -0
- package/esm2022/layouts/origin/breadcrumb/breadcrumb.component.mjs +65 -0
- package/esm2022/layouts/origin/footer/footer.component.mjs +11 -0
- package/esm2022/layouts/origin/header/header.component.mjs +46 -0
- package/esm2022/layouts/origin/index.mjs +12 -0
- package/esm2022/layouts/origin/kato-lee-components-layouts-origin.mjs +5 -0
- package/esm2022/layouts/origin/layout.component.mjs +210 -0
- package/esm2022/layouts/origin/layout.module.mjs +52 -0
- package/esm2022/layouts/origin/layout.navigation.mjs +19 -0
- package/esm2022/layouts/origin/navigation-interfaces.mjs +2 -0
- package/esm2022/layouts/origin/services/index.mjs +4 -0
- package/esm2022/layouts/origin/services/route-parts.service.mjs +28 -0
- package/esm2022/layouts/origin/services/toggle-sidebar.mjs +48 -0
- package/esm2022/layouts/origin/services/validate-access.pipe.mjs +53 -0
- package/esm2022/layouts/origin/sidebar/sidebar.component.mjs +69 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/accordion.component.mjs +74 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/expansion-panel-header.component.mjs +51 -0
- package/esm2022/layouts/origin/sidebar/sidenav/expansion/expansion-panel.component.mjs +63 -0
- package/esm2022/layouts/origin/sidebar/sidenav/sidenav.component.mjs +130 -0
- package/esm2022/modal/config.mjs +2 -0
- package/esm2022/modal/index.mjs +8 -0
- package/esm2022/modal/kato-lee-components-modal.mjs +5 -0
- package/esm2022/modal/modal.component.mjs +63 -0
- package/esm2022/modal/modal.module.mjs +21 -0
- package/esm2022/modal/modal.service.mjs +33 -0
- package/esm2022/pretty-box/index.mjs +5 -0
- package/esm2022/pretty-box/kato-lee-components-pretty-box.mjs +5 -0
- package/esm2022/pretty-box/pretty-box.component.mjs +94 -0
- package/esm2022/tables/index.mjs +6 -0
- package/esm2022/tables/kato-lee-components-tables.mjs +5 -0
- package/esm2022/tables/mat-paginator.translation.mjs +22 -0
- package/esm2022/tables/tables.module.mjs +19 -0
- package/esm2022/toast/index.mjs +5 -0
- package/esm2022/toast/kato-lee-components-toast.mjs +5 -0
- package/esm2022/toast/toast.service.mjs +42 -0
- package/fesm2022/kato-lee-components-box-form.mjs +146 -0
- package/fesm2022/kato-lee-components-box-form.mjs.map +1 -0
- package/fesm2022/kato-lee-components-capsule.mjs +102 -0
- package/fesm2022/kato-lee-components-capsule.mjs.map +1 -0
- package/fesm2022/kato-lee-components-cards.mjs +72 -0
- package/fesm2022/kato-lee-components-cards.mjs.map +1 -0
- package/fesm2022/kato-lee-components-dialogs.mjs +74 -0
- package/fesm2022/kato-lee-components-dialogs.mjs.map +1 -0
- package/fesm2022/kato-lee-components-fields.mjs +1486 -0
- package/fesm2022/kato-lee-components-fields.mjs.map +1 -0
- package/fesm2022/kato-lee-components-layouts-origin.mjs +872 -0
- package/fesm2022/kato-lee-components-layouts-origin.mjs.map +1 -0
- package/fesm2022/kato-lee-components-modal.mjs +121 -0
- package/fesm2022/kato-lee-components-modal.mjs.map +1 -0
- package/fesm2022/kato-lee-components-pretty-box.mjs +105 -0
- package/fesm2022/kato-lee-components-pretty-box.mjs.map +1 -0
- package/fesm2022/kato-lee-components-tables.mjs +51 -0
- package/fesm2022/kato-lee-components-tables.mjs.map +1 -0
- package/fesm2022/kato-lee-components-toast.mjs +53 -0
- package/fesm2022/kato-lee-components-toast.mjs.map +1 -0
- package/fesm2022/kato-lee-components.mjs +4 -0
- package/fesm2022/kato-lee-components.mjs.map +1 -0
- package/fields/autocomplete-field/autocomplete-field.component.d.ts +65 -0
- package/fields/date-field/date-field.component.d.ts +46 -0
- package/fields/date-range-field/date-range-field.component.d.ts +23 -0
- package/fields/error/error-equals.pipe.d.ts +7 -0
- package/fields/error/error.component.d.ts +22 -0
- package/fields/error/error.module.d.ts +11 -0
- package/fields/error/error.msg.pipe.d.ts +7 -0
- package/fields/error/lang/_en.d.ts +1 -0
- package/fields/error/lang/_es.d.ts +1 -0
- package/fields/error/lang/index.d.ts +2 -0
- package/fields/fields.common.d.ts +5 -0
- package/fields/fields.module.d.ts +28 -0
- package/fields/general-field/general-field.component.d.ts +56 -0
- package/fields/index.d.ts +13 -0
- package/fields/money-field/money-field.component.d.ts +53 -0
- package/fields/number-field/number-field.component.d.ts +52 -0
- package/fields/package.json +3 -0
- package/fields/select-field/select-field.component.d.ts +44 -0
- package/fields/text-area/textarea.component.d.ts +55 -0
- package/index.d.ts +1 -0
- package/layouts/origin/breadcrumb/breadcrumb.component.d.ts +24 -0
- package/layouts/origin/footer/footer.component.d.ts +5 -0
- package/layouts/origin/header/header.component.d.ts +15 -0
- package/layouts/origin/index.d.ts +8 -0
- package/layouts/origin/layout.component.d.ts +58 -0
- package/layouts/origin/layout.module.d.ts +18 -0
- package/layouts/origin/layout.navigation.d.ts +10 -0
- package/layouts/origin/navigation-interfaces.d.ts +24 -0
- package/layouts/origin/package.json +3 -0
- package/layouts/origin/services/index.d.ts +3 -0
- package/layouts/origin/services/route-parts.service.d.ts +15 -0
- package/layouts/origin/services/toggle-sidebar.d.ts +10 -0
- package/layouts/origin/services/validate-access.pipe.d.ts +7 -0
- package/layouts/origin/sidebar/sidebar.component.d.ts +27 -0
- package/layouts/origin/sidebar/sidenav/expansion/accordion.component.d.ts +10 -0
- package/layouts/origin/sidebar/sidenav/expansion/expansion-panel-header.component.d.ts +11 -0
- package/layouts/origin/sidebar/sidenav/expansion/expansion-panel.component.d.ts +12 -0
- package/layouts/origin/sidebar/sidenav/sidenav.component.d.ts +23 -0
- package/modal/config.d.ts +9 -0
- package/modal/index.d.ts +4 -0
- package/modal/modal.component.d.ts +35 -0
- package/modal/modal.module.d.ts +11 -0
- package/modal/modal.service.d.ts +13 -0
- package/modal/package.json +3 -0
- package/package.json +82 -0
- package/pretty-box/index.d.ts +1 -0
- package/pretty-box/package.json +3 -0
- package/pretty-box/pretty-box.component.d.ts +24 -0
- package/tables/index.d.ts +2 -0
- package/tables/mat-paginator.translation.d.ts +2 -0
- package/tables/package.json +3 -0
- package/tables/tables.module.d.ts +9 -0
- package/toast/index.d.ts +1 -0
- package/toast/package.json +3 -0
- package/toast/toast.service.d.ts +21 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 ejdao
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@mixin customizedTakFadeIn($size) {
|
|
2
|
+
.tak-fade-in--#{$size} {
|
|
3
|
+
animation: takFadeIn ease $size;
|
|
4
|
+
-webkit-animation: takFadeIn ease $size;
|
|
5
|
+
-moz-animation: takFadeIn ease $size;
|
|
6
|
+
-o-animation: takFadeIn ease $size;
|
|
7
|
+
-ms-animation: takFadeIn ease $size;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes takFadeIn {
|
|
12
|
+
0% {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
100% {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@-moz-keyframes takFadeIn {
|
|
21
|
+
0% {
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
100% {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@-webkit-keyframes takFadeIn {
|
|
30
|
+
0% {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
}
|
|
33
|
+
100% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include customizedTakFadeIn(300ms);
|
|
39
|
+
@include customizedTakFadeIn(500ms);
|
|
40
|
+
@include customizedTakFadeIn(800ms);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.tak {
|
|
2
|
+
&-custom-error {
|
|
3
|
+
font-family: Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
4
|
+
color: var(--tak-form-field-error-color);
|
|
5
|
+
}
|
|
6
|
+
&-hint {
|
|
7
|
+
color: var(--tak-form-field-hint-color);
|
|
8
|
+
}
|
|
9
|
+
&__date-not-input {
|
|
10
|
+
input {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
&__picker-container {
|
|
14
|
+
margin-top: 5px;
|
|
15
|
+
}
|
|
16
|
+
&__field-container {
|
|
17
|
+
margin-top: -18px;
|
|
18
|
+
& .mat-form-field {
|
|
19
|
+
visibility: hidden;
|
|
20
|
+
width: 1px !important;
|
|
21
|
+
font-size: 1px !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&-form-container {
|
|
26
|
+
mat-form-field {
|
|
27
|
+
width: calc(100% - 10px);
|
|
28
|
+
}
|
|
29
|
+
.money-input {
|
|
30
|
+
font-weight: bolder !important;
|
|
31
|
+
}
|
|
32
|
+
.mat-form-field-invalid {
|
|
33
|
+
.tak-hint {
|
|
34
|
+
color: var(--tak-form-field-error-color) !important;
|
|
35
|
+
}
|
|
36
|
+
.mat-text-field-wrapper {
|
|
37
|
+
.mat-floating-label,
|
|
38
|
+
.mat-floating-label:hover,
|
|
39
|
+
.mat-form-field-icon-suffix,
|
|
40
|
+
.mat-text-field,
|
|
41
|
+
.mat-text-field__input,
|
|
42
|
+
.mat-button-ripple {
|
|
43
|
+
color: var(--tak-form-field-error-color) !important;
|
|
44
|
+
}
|
|
45
|
+
& .mat-form-field-flex .mat-datepicker-toggle .mat-icon-button {
|
|
46
|
+
color: var(--tak-form-field-error-color) !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.mat-text-field--filled:not(.mat-text-field--disabled) {
|
|
50
|
+
.mat-line-ripple::before,
|
|
51
|
+
.mat-line-ripple::after,
|
|
52
|
+
.mat-line-ripple:hover {
|
|
53
|
+
border-bottom-color: var(--tak-form-field-error-color) !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&-autocomplete-not-records {
|
|
59
|
+
color: var(--tak-form-field-error-color);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.mat-text-field--filled:not(.mat-text-field--disabled).mat-text-field--focused .mat-floating-label,
|
|
64
|
+
.mat-text-field--filled:not(.mat-text-field--disabled).mat-text-field--focused
|
|
65
|
+
.mat-floating-label--float-above {
|
|
66
|
+
.mat-form-field-required-marker,
|
|
67
|
+
.tak-field__danger-x {
|
|
68
|
+
color: var(--tak-form-field-error-color) !important;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tak__date-not-input__picker-container.mat-form-field-invalid
|
|
73
|
+
.mat-datepicker-toggle
|
|
74
|
+
.mat-icon-button {
|
|
75
|
+
color: var(--tak-form-field-error-color) !important;
|
|
76
|
+
}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
* > .container,
|
|
2
|
+
* > .container-fluid {
|
|
3
|
+
-webkit-box-sizing: border-box;
|
|
4
|
+
-moz-box-sizing: border-box;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
* > .container:before,
|
|
8
|
+
* > .container:after,
|
|
9
|
+
* > .container-fluid:before,
|
|
10
|
+
* > .container-fluid:after {
|
|
11
|
+
-webkit-box-sizing: border-box;
|
|
12
|
+
-moz-box-sizing: border-box;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
.container:before,
|
|
16
|
+
.container:after,
|
|
17
|
+
.container-fluid:before,
|
|
18
|
+
.container-fluid:after,
|
|
19
|
+
.row:before,
|
|
20
|
+
.row:after {
|
|
21
|
+
display: table;
|
|
22
|
+
content: ' ';
|
|
23
|
+
}
|
|
24
|
+
.container:after,
|
|
25
|
+
.container-fluid:after,
|
|
26
|
+
.row:after {
|
|
27
|
+
clear: both;
|
|
28
|
+
}
|
|
29
|
+
.container,
|
|
30
|
+
.container-fluid {
|
|
31
|
+
width: 100%;
|
|
32
|
+
padding-right: var(--bs-gutter-x, 0.75rem);
|
|
33
|
+
padding-left: var(--bs-gutter-x, 0.75rem);
|
|
34
|
+
margin-right: auto;
|
|
35
|
+
margin-left: auto;
|
|
36
|
+
}
|
|
37
|
+
.row {
|
|
38
|
+
--bs-gutter-x: 1.5rem;
|
|
39
|
+
--bs-gutter-y: 0;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
margin-top: calc(-1 * var(--bs-gutter-y));
|
|
43
|
+
margin-right: calc(-0.5 * var(--bs-gutter-x));
|
|
44
|
+
margin-left: calc(-0.5 * var(--bs-gutter-x));
|
|
45
|
+
}
|
|
46
|
+
.row > * {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
width: 100%;
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
|
52
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
|
53
|
+
margin-top: var(--bs-gutter-y);
|
|
54
|
+
}
|
|
55
|
+
.row.no-padding [class*='col-'] {
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin customizedGrids($size) {
|
|
60
|
+
.#{$size}-0 {
|
|
61
|
+
width: 0% !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.#{$size}-2-5 {
|
|
65
|
+
width: 2.5% !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.#{$size}-5 {
|
|
69
|
+
width: 5% !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.#{$size}-7-5 {
|
|
73
|
+
width: 7.5% !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.#{$size}-10 {
|
|
77
|
+
width: 10% !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.#{$size}-12-5 {
|
|
81
|
+
width: 12.5% !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.#{$size}-15 {
|
|
85
|
+
width: 15% !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.#{$size}-17-5 {
|
|
89
|
+
width: 17.5% !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.#{$size}-20 {
|
|
93
|
+
width: 20% !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.#{$size}-22-5 {
|
|
97
|
+
width: 22.5% !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.#{$size}-25 {
|
|
101
|
+
width: 25% !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.#{$size}-27-5 {
|
|
105
|
+
width: 27.5% !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.#{$size}-30 {
|
|
109
|
+
width: 30% !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.#{$size}-32-5 {
|
|
113
|
+
width: 32.5% !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.#{$size}-35 {
|
|
117
|
+
width: 35% !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.#{$size}-37-5 {
|
|
121
|
+
width: 37.5% !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.#{$size}-40 {
|
|
125
|
+
width: 40% !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.#{$size}-42-5 {
|
|
129
|
+
width: 42.5% !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.#{$size}-45 {
|
|
133
|
+
width: 45% !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.#{$size}-47-5 {
|
|
137
|
+
width: 47.5% !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.#{$size}-50 {
|
|
141
|
+
width: 50% !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.#{$size}-52-5 {
|
|
145
|
+
width: 52.5% !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.#{$size}-55 {
|
|
149
|
+
width: 55% !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.#{$size}-57-5 {
|
|
153
|
+
width: 57.5% !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.#{$size}-60 {
|
|
157
|
+
width: 60% !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.#{$size}-62-5 {
|
|
161
|
+
width: 62.5% !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.#{$size}-65 {
|
|
165
|
+
width: 65% !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.#{$size}-67-5 {
|
|
169
|
+
width: 67.5% !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.#{$size}-70 {
|
|
173
|
+
width: 70% !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.#{$size}-72-5 {
|
|
177
|
+
width: 72.5% !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.#{$size}-75 {
|
|
181
|
+
width: 75% !important;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.#{$size}-77-5 {
|
|
185
|
+
width: 77.5% !important;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.#{$size}-80 {
|
|
189
|
+
width: 80% !important;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.#{$size}-82-5 {
|
|
193
|
+
width: 82.5% !important;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.#{$size}-85 {
|
|
197
|
+
width: 85% !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.#{$size}-87-5 {
|
|
201
|
+
width: 87.5% !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.#{$size}-90 {
|
|
205
|
+
width: 90% !important;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.#{$size}-92-5 {
|
|
209
|
+
width: 92.5% !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.#{$size}-95 {
|
|
213
|
+
width: 95% !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.#{$size}-97-5 {
|
|
217
|
+
width: 97.5% !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.#{$size}-100 {
|
|
221
|
+
width: 100% !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@mixin bootstrapGrids($size) {
|
|
226
|
+
.#{$size}-1 {
|
|
227
|
+
width: 8.33333333% !important;
|
|
228
|
+
flex: 0 0 auto;
|
|
229
|
+
}
|
|
230
|
+
.#{$size}-2 {
|
|
231
|
+
width: 16.66666667% !important;
|
|
232
|
+
flex: 0 0 auto;
|
|
233
|
+
}
|
|
234
|
+
.#{$size}-3 {
|
|
235
|
+
width: 25% !important;
|
|
236
|
+
flex: 0 0 auto;
|
|
237
|
+
}
|
|
238
|
+
.#{$size}-4 {
|
|
239
|
+
width: 33.33333333% !important;
|
|
240
|
+
flex: 0 0 auto;
|
|
241
|
+
}
|
|
242
|
+
.#{$size}-5 {
|
|
243
|
+
width: 41.66666667% !important;
|
|
244
|
+
flex: 0 0 auto;
|
|
245
|
+
}
|
|
246
|
+
.#{$size}-6 {
|
|
247
|
+
width: 50% !important;
|
|
248
|
+
flex: 0 0 auto;
|
|
249
|
+
}
|
|
250
|
+
.#{$size}-7 {
|
|
251
|
+
width: 58.33333333% !important;
|
|
252
|
+
flex: 0 0 auto;
|
|
253
|
+
}
|
|
254
|
+
.#{$size}-8 {
|
|
255
|
+
width: 66.66666667% !important;
|
|
256
|
+
flex: 0 0 auto;
|
|
257
|
+
}
|
|
258
|
+
.#{$size}-9 {
|
|
259
|
+
width: 75% !important;
|
|
260
|
+
flex: 0 0 auto;
|
|
261
|
+
}
|
|
262
|
+
.#{$size}-10 {
|
|
263
|
+
width: 83.33333333% !important;
|
|
264
|
+
flex: 0 0 auto;
|
|
265
|
+
}
|
|
266
|
+
.#{$size}-11 {
|
|
267
|
+
width: 91.66666667% !important;
|
|
268
|
+
flex: 0 0 auto;
|
|
269
|
+
}
|
|
270
|
+
.#{$size}-12 {
|
|
271
|
+
width: 100% !important;
|
|
272
|
+
flex: 0 0 auto;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
@mixin display($size) {
|
|
277
|
+
.#{$size}-none {
|
|
278
|
+
display: none !important;
|
|
279
|
+
}
|
|
280
|
+
.#{$size}-block {
|
|
281
|
+
display: block !important;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@include customizedGrids(col);
|
|
286
|
+
@include bootstrapGrids(col-t);
|
|
287
|
+
@include display(d);
|
|
288
|
+
|
|
289
|
+
@media only screen and (min-width: $SM_RESOLUTION) {
|
|
290
|
+
@include customizedGrids(col-sm);
|
|
291
|
+
@include bootstrapGrids(col-t-sm);
|
|
292
|
+
@include display(d-sm);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@media only screen and (min-width: $MD_RESOLUTION) {
|
|
296
|
+
@include customizedGrids(col-md);
|
|
297
|
+
@include bootstrapGrids(col-t-md);
|
|
298
|
+
@include display(d-md);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
@media only screen and (min-width: $LG_RESOLUTION) {
|
|
302
|
+
@include customizedGrids(col-lg);
|
|
303
|
+
@include bootstrapGrids(col-t-lg);
|
|
304
|
+
@include display(d-lg);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@media only screen and (min-width: $XL_RESOLUTION) {
|
|
308
|
+
@include customizedGrids(col-xl);
|
|
309
|
+
@include bootstrapGrids(col-t-xl);
|
|
310
|
+
@include display(d-xl);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@media only screen and (min-width: $XXL_RESOLUTION) {
|
|
314
|
+
@include customizedGrids(col-xxl);
|
|
315
|
+
@include bootstrapGrids(col-t-xxl);
|
|
316
|
+
@include display(d-xxl);
|
|
317
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.tak-simple-card {
|
|
2
|
+
border-bottom: solid 1px var(--tak-card-border-color);
|
|
3
|
+
border-right: solid 1px var(--tak-card-border-color);
|
|
4
|
+
border-left: solid 1px var(--tak-card-border-color);
|
|
5
|
+
box-shadow: var(--tak-card-box-shadow);
|
|
6
|
+
background-color: var(--tak-card-background-color);
|
|
7
|
+
border-radius: 0 0 5px 5px;
|
|
8
|
+
text-overflow: ellipsis;
|
|
9
|
+
margin-bottom: 10px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
min-height: 20px;
|
|
12
|
+
padding: 10px;
|
|
13
|
+
&--topline {
|
|
14
|
+
border-right: solid 1px var(--tak-card-border-color);
|
|
15
|
+
border-left: solid 1px var(--tak-card-border-color);
|
|
16
|
+
border-top: solid 1px var(--tak-card-border-color);
|
|
17
|
+
box-shadow: var(--tak-card-box-shadow);
|
|
18
|
+
background-color: var(--tak-card-default-top-color);
|
|
19
|
+
border-radius: 5px 5px 0 0;
|
|
20
|
+
padding: 3px;
|
|
21
|
+
}
|
|
22
|
+
&.no-card-topline {
|
|
23
|
+
border-radius: 5px !important;
|
|
24
|
+
border-top: 1px solid var(--tak-card-border-color) !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
.tak {
|
|
2
|
+
&-custom-error {
|
|
3
|
+
text-align: left;
|
|
4
|
+
margin-left: 5px;
|
|
5
|
+
font-family: Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
6
|
+
color: var(--tak-form-field-error-color);
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
}
|
|
9
|
+
&-hint {
|
|
10
|
+
color: var(--tak-form-field-hint-color);
|
|
11
|
+
}
|
|
12
|
+
&__date-not-input {
|
|
13
|
+
input {
|
|
14
|
+
display: none !important;
|
|
15
|
+
}
|
|
16
|
+
&__picker-container {
|
|
17
|
+
margin-top: 5px;
|
|
18
|
+
}
|
|
19
|
+
&__field-container {
|
|
20
|
+
margin-top: -18px;
|
|
21
|
+
& .mat-form-field {
|
|
22
|
+
visibility: hidden;
|
|
23
|
+
width: 1px !important;
|
|
24
|
+
font-size: 1px !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&-form-container {
|
|
29
|
+
mat-form-field {
|
|
30
|
+
width: calc(100% - 10px);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.money-input {
|
|
34
|
+
font-weight: bolder !important;
|
|
35
|
+
}
|
|
36
|
+
.mat-form-field-invalid {
|
|
37
|
+
.tak-hint {
|
|
38
|
+
color: var(--tak-form-field-error-color) !important;
|
|
39
|
+
}
|
|
40
|
+
.mat-text-field-wrapper {
|
|
41
|
+
.mat-floating-label,
|
|
42
|
+
.mat-floating-label:hover,
|
|
43
|
+
.mat-form-field-icon-suffix,
|
|
44
|
+
.mat-text-field,
|
|
45
|
+
.mat-text-field__input,
|
|
46
|
+
.mat-button-ripple {
|
|
47
|
+
color: var(--tak-form-field-error-color) !important;
|
|
48
|
+
}
|
|
49
|
+
& .mat-form-field-flex .mat-datepicker-toggle .mat-icon-button {
|
|
50
|
+
color: var(--tak-form-field-error-color) !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.mat-text-field--filled:not(.mat-text-field--disabled) {
|
|
54
|
+
.mat-line-ripple::before,
|
|
55
|
+
.mat-line-ripple::after,
|
|
56
|
+
.mat-line-ripple:hover {
|
|
57
|
+
border-bottom-color: var(--tak-form-field-error-color) !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.mat-notched-outline__leading {
|
|
61
|
+
border-color: var(--tak-form-field-error-color) !important;
|
|
62
|
+
}
|
|
63
|
+
.mat-notched-outline__notch {
|
|
64
|
+
border-top-color: var(--tak-form-field-error-color) !important;
|
|
65
|
+
border-bottom-color: var(--tak-form-field-error-color) !important;
|
|
66
|
+
}
|
|
67
|
+
.mat-notched-outline__trailing {
|
|
68
|
+
border-color: var(--tak-form-field-error-color) !important;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&-autocomplete-not-records {
|
|
73
|
+
color: var(--tak-form-field-error-color);
|
|
74
|
+
}
|
|
75
|
+
&-option-span-extra {
|
|
76
|
+
color: gray;
|
|
77
|
+
&::before {
|
|
78
|
+
content: '\A';
|
|
79
|
+
white-space: pre;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.mat-text-field--filled:not(.mat-text-field--disabled).mat-text-field--focused .mat-floating-label,
|
|
85
|
+
.mat-text-field--filled:not(.mat-text-field--disabled).mat-text-field--focused
|
|
86
|
+
.mat-floating-label--float-above {
|
|
87
|
+
.mat-form-field-required-marker,
|
|
88
|
+
.tak-field__danger-x {
|
|
89
|
+
color: var(--tak-form-field-error-color) !important;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.tak__date-not-input__picker-container.mat-form-field-invalid
|
|
94
|
+
.mat-datepicker-toggle
|
|
95
|
+
.mat-icon-button {
|
|
96
|
+
color: var(--tak-form-field-error-color) !important;
|
|
97
|
+
}
|
|
98
|
+
mat-option {
|
|
99
|
+
line-height: 20px !important;
|
|
100
|
+
}
|
|
101
|
+
mat-form-field {
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.mat-option-text {
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
}
|
|
108
|
+
.mat-select-panel .mat-option {
|
|
109
|
+
height: 30px !important;
|
|
110
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.mat-select-panel .mat-option {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
line-height: 17px;
|
|
4
|
+
min-height: 36px;
|
|
5
|
+
}
|
|
6
|
+
.mat-option {
|
|
7
|
+
.mat-pseudo-checkbox-minimal {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
.mat-list-item__primary-text {
|
|
11
|
+
white-space: nowrap !important;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.tak-pretty-box {
|
|
2
|
+
&--header {
|
|
3
|
+
width: 100%;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
border: 1px solid var(--tak-pretty-box-border-color);
|
|
7
|
+
border-bottom: 0px transparent;
|
|
8
|
+
border-top-left-radius: 10px;
|
|
9
|
+
border-top-right-radius: 10px;
|
|
10
|
+
}
|
|
11
|
+
&--scroll {
|
|
12
|
+
width: 100%;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
border: 1px solid var(--tak-pretty-box-border-color);
|
|
16
|
+
}
|
|
17
|
+
&--footer {
|
|
18
|
+
width: 100%;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
border: 1px solid var(--tak-pretty-box-border-color);
|
|
22
|
+
border-top: 0px transparent;
|
|
23
|
+
border-bottom-left-radius: 10px;
|
|
24
|
+
border-bottom-right-radius: 10px;
|
|
25
|
+
}
|
|
26
|
+
&-border-top {
|
|
27
|
+
border-top-left-radius: 10px;
|
|
28
|
+
border-top-right-radius: 10px;
|
|
29
|
+
}
|
|
30
|
+
&-border-bottom {
|
|
31
|
+
border-bottom-left-radius: 10px;
|
|
32
|
+
border-bottom-right-radius: 10px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
[tak-pretty-box-header],
|
|
36
|
+
[tak-pretty-box-content],
|
|
37
|
+
[tak-pretty-box-footer] {
|
|
38
|
+
padding: 0 10px 0 10px;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@media only screen and (min-width: calc($MOBILE_RESOLUTION)) {
|
|
2
|
+
.tak-admin-layout > .tak-container,
|
|
3
|
+
.tak-sidebar__container,
|
|
4
|
+
.tak-box-form__scroll,
|
|
5
|
+
.tak-table__content,
|
|
6
|
+
.tak-pretty-box--scroll,
|
|
7
|
+
.tak-pretty-box--header,
|
|
8
|
+
.tak-pretty-box--footer,
|
|
9
|
+
.mat-select-panel,
|
|
10
|
+
.mat-autocomplete-panel,
|
|
11
|
+
textarea,
|
|
12
|
+
.mat-dialog-content {
|
|
13
|
+
&::-webkit-scrollbar {
|
|
14
|
+
background-color: rgba(192, 192, 192, 0.072);
|
|
15
|
+
width: 8px;
|
|
16
|
+
height: 8px;
|
|
17
|
+
}
|
|
18
|
+
&::-webkit-scrollbar-thumb {
|
|
19
|
+
background-color: rgba(192, 192, 192, 0.562);
|
|
20
|
+
border-radius: 10px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|