easy-mat-ui 0.0.7 → 1.0.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.
@@ -0,0 +1,90 @@
1
+ button.mat-mdc-mini-fab {
2
+ --mdc-fab-small-container-size: 32px;
3
+ --mdc-icon-button-icon-size: 18px;
4
+ }
5
+
6
+ button.mat-mdc-icon-button {
7
+ --mdc-icon-button-icon-size: 20px;
8
+ }
9
+
10
+ .btn-mini-fab {
11
+ border-radius: 50%;
12
+ color: white;
13
+ border: none;
14
+ cursor: pointer;
15
+ box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
16
+ display: inline-flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ transition: transform 0.2s, filter 0.2s;
20
+
21
+ &:hover {
22
+ filter: brightness(90%);
23
+ }
24
+
25
+ &:focus {
26
+ outline: none;
27
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
28
+ }
29
+ }
30
+
31
+ .btn-small {
32
+ width: 32px;
33
+ height: 32px;
34
+ font-size: 16px;
35
+
36
+ .material-icons,
37
+ .mat-icon {
38
+ font-size: 16px !important;
39
+ height: 16px !important;
40
+ width: 16px !important;
41
+ }
42
+ }
43
+
44
+ .btn-medium {
45
+ width: 40px;
46
+ height: 40px;
47
+ font-size: 18px;
48
+
49
+ .material-icons,
50
+ .mat-icon {
51
+ font-size: 20px !important;
52
+ height: 20px !important;
53
+ width: 20px !important;
54
+ }
55
+ }
56
+
57
+ .btn-large {
58
+ width: 56px;
59
+ height: 56px;
60
+ font-size: 22px;
61
+
62
+ .material-icons,
63
+ .mat-icon {
64
+ font-size: 28px !important;
65
+ height: 28px !important;
66
+ width: 28px !important;
67
+ }
68
+ }
69
+
70
+ .icon-only {
71
+ background: transparent;
72
+ border: none;
73
+ box-shadow: none;
74
+ padding: 0;
75
+ margin: 0;
76
+ width: auto;
77
+ height: auto;
78
+ min-width: unset;
79
+ min-height: unset;
80
+
81
+ .mat-icon {
82
+ font-size: 20px;
83
+ line-height: 20px;
84
+ }
85
+ }
86
+
87
+ .btn-action-upload {
88
+ color: purple !important;
89
+ border-color: purple !important;
90
+ }
@@ -0,0 +1,197 @@
1
+ :root {
2
+ --color-primary-blue: #1f6f8b;
3
+ --color-primary-dark: #14506a;
4
+ --color-accent-taupe: #14506a;
5
+ --color-yellow: #f5a524;
6
+ --color-morning-blue: #7fb0c4;
7
+ --color-morning-clear-green: #e0f0f0;
8
+ --color-taupe: #52627a;
9
+ --color-red: #dc2626;
10
+ --color-orange: #f97316;
11
+ --color-green: #16a34a;
12
+
13
+ --bg-gray: #f8fafc;
14
+ --bg-readonly: #f1f5f9;
15
+ --background-color: #f4f7fb;
16
+ --text-color: #0f172a;
17
+ --border-color: #e2e8f0;
18
+ --hover-color: #eef4fb;
19
+ --active-shadow: #ffffff;
20
+ --bg-sidenav: #e2e8f0;
21
+ --shadow-border-color: #cbd5e1;
22
+
23
+ --input-bg: #ffffff;
24
+ --input-border: #cbd5e1;
25
+ --input-border-hover: #1f6f8b;
26
+ --input-text: #0f172a;
27
+ --input-placeholder: #64748b;
28
+ --input-icon: #64748b;
29
+
30
+ --card-bg: #ffffff;
31
+ --card-text: #0f172a;
32
+ --card-shadow: rgba(15, 23, 42, 0.08);
33
+
34
+ --footer-bg: #ffffff;
35
+ --footer-text: #1f6f8b;
36
+
37
+ /* Semantic status colors (aliases of the palette above, override freely). */
38
+ --color-info: #0891b2;
39
+ --color-success: var(--color-green);
40
+ --color-warning: var(--color-yellow);
41
+ --color-danger: var(--color-red);
42
+ --on-accent: #ffffff;
43
+ /* Brand blue for small text on surfaces: 4.6:1 on white (the plain brand blue is 3.2:1). */
44
+ --color-primary-blue-strong: #1f6f8b;
45
+
46
+ /* Interaction states. */
47
+ --focus-ring: 0 0 0 3px rgba(31, 111, 139, 0.28);
48
+ --disabled-bg: #eef2f7;
49
+ --disabled-text: #8a97a8;
50
+
51
+ /* Shape and elevation. */
52
+ --radius-sm: 6px;
53
+ --radius-md: 10px;
54
+ --radius-lg: 14px;
55
+ --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
56
+ --shadow-md: 0 6px 16px -6px rgba(15, 23, 42, 0.14);
57
+ --shadow-lg: 0 20px 40px -16px rgba(15, 23, 42, 0.2);
58
+
59
+ /* Table surface: selected row, header, child tabs. */
60
+ --row-selected-bg: #dbe9f4;
61
+ --row-selected-border: #1f6f8b;
62
+ --table-header-bg: #f8fafc;
63
+ --table-header-text: #475569;
64
+ --table-header-size: 12.5px;
65
+ --table-header-transform: uppercase;
66
+ --table-header-spacing: 0.04em;
67
+ --tab-active-bg: #1f6f8b;
68
+ }
69
+
70
+ body.dark-theme {
71
+ --color-primary-blue: #8eb3c7;
72
+ --color-primary-dark: #f04e37;
73
+ --color-accent-taupe: #e06666;
74
+ --color-morning-blue: #a3c4c3;
75
+ --color-morning-clear-green: #2a3b3c;
76
+ --color-taupe: #cbd5e1;
77
+
78
+ --bg-gray: #162032;
79
+ --card-bg: #1e293b;
80
+ --bg-readonly: #334155;
81
+ --background-color: #0f172a;
82
+ --text-color: #f8fafc;
83
+ --border-color: #334155;
84
+ --shadow-border-color: #99a6ad;
85
+ --hover-color: #1e293b;
86
+ --active-shadow: #0f172a;
87
+ --bg-sidenav: #1e293bcc;
88
+
89
+ --input-bg: #1e293b;
90
+ --input-border: #475569;
91
+ --input-border-hover: #8eb3c7;
92
+ --input-text: #f8fafc;
93
+ --input-placeholder: #94a3b8;
94
+ --input-icon: #94a3b8;
95
+
96
+ --card-text: #f8fafc;
97
+ --card-shadow: rgba(0, 0, 0, 0.4);
98
+
99
+ --footer-bg: transparent;
100
+ --footer-text: #f8fafc;
101
+
102
+ --color-primary-blue-strong: #8eb3c7;
103
+ --color-yellow: #ffb703;
104
+ --color-green: #4caf50;
105
+ --color-red: #f44438;
106
+ --color-orange: #ff6b35;
107
+ --color-info: #00bcd4;
108
+ --row-selected-bg: #2c4a68;
109
+ --row-selected-border: #8eb3c7;
110
+ --table-header-bg: var(--card-bg);
111
+ --table-header-text: var(--text-color);
112
+ --table-header-size: 14px;
113
+ --table-header-transform: none;
114
+ --table-header-spacing: normal;
115
+ --tab-active-bg: #2e7d32;
116
+ --focus-ring: 0 0 0 3px rgba(142, 179, 199, 0.45);
117
+ --disabled-bg: #1b2535;
118
+ --disabled-text: #64748b;
119
+ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
120
+ --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
121
+ --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
122
+ }
123
+
124
+ .taupe {
125
+ color: var(--color-accent-taupe) !important;
126
+ }
127
+
128
+ .taupe-light {
129
+ color: var(--color-taupe) !important;
130
+ }
131
+
132
+ .blue {
133
+ color: #0275d8 !important;
134
+ }
135
+
136
+ .royal-blue {
137
+ color: var(--color-primary-blue) !important;
138
+ }
139
+
140
+ .green {
141
+ color: var(--color-green) !important;
142
+ }
143
+
144
+ .red {
145
+ color: var(--color-red) !important;
146
+ }
147
+
148
+ .light-blue {
149
+ color: #b1cdee !important;
150
+ }
151
+
152
+ .yellow {
153
+ color: var(--color-yellow) !important;
154
+ }
155
+
156
+ .info {
157
+ color: #00bcd4 !important;
158
+ }
159
+
160
+ .grey {
161
+ color: #999999 !important;
162
+ }
163
+
164
+ .success {
165
+ color: #198754 !important;
166
+ }
167
+
168
+ .primary {
169
+ color: #0d6efd !important;
170
+ }
171
+
172
+ .danger {
173
+ color: #dc3545 !important;
174
+ }
175
+
176
+ .error {
177
+ color: #ff6347 !important;
178
+ }
179
+
180
+ .secondary {
181
+ color: #6c757d !important;
182
+ }
183
+
184
+ .warning {
185
+ color: #ffc107 !important;
186
+ }
187
+
188
+ .dark {
189
+ color: var(--text-color) !important;
190
+ }
191
+
192
+ .card {
193
+ background-color: var(--card-bg) !important;
194
+ color: var(--card-text) !important;
195
+ border-color: var(--border-color) !important;
196
+ box-shadow: 0 1px 5px 3px #99a6ad !important;
197
+ }
@@ -0,0 +1,44 @@
1
+ .box-shadow {
2
+ box-shadow: 5px 5px 5px #555555;
3
+ }
4
+
5
+ .box-shadow-5 {
6
+ box-shadow: 0px 5px 5px #555555 !important;
7
+ }
8
+
9
+ .box-shadow-5-1 {
10
+ box-shadow: 0px 0px 5px 1px #555555 !important;
11
+ }
12
+
13
+ .bg-enable {
14
+ background: -webkit-gradient(linear, left top, left bottom, from(#ecf1fc), to(#FFF));
15
+ box-shadow: 5px 5px 5px #555555;
16
+ animation: blinker 3s linear infinite;
17
+ font-weight: bold;
18
+ }
19
+
20
+ .text-animation {
21
+ animation: blinker 3s linear infinite;
22
+ }
23
+
24
+ @keyframes blinker {
25
+ from {
26
+ font-size: 0.9em;
27
+ }
28
+ 10% {
29
+ font-size: 0.5em;
30
+ }
31
+ 50% {
32
+ font-size: 0.7em;
33
+ }
34
+ 70% {
35
+ font-size: 0.8em;
36
+ }
37
+ to {
38
+ font-size: 0.9em;
39
+ }
40
+ }
41
+
42
+ .d-contents {
43
+ display: contents !important;
44
+ }
@@ -0,0 +1,106 @@
1
+ .mat-mdc-form-field-appearance-legacy .mat-mdc-form-field-underline {
2
+ background-color: var(--color-green) !important;
3
+ }
4
+
5
+ .mat-mdc-form-field-hint-wrapper {
6
+ display: none !important;
7
+ }
8
+
9
+ .mat-mdc-form-field.mat-focused .mat-mdc-form-field-ripple {
10
+ background-color: transparent !important;
11
+ }
12
+
13
+ .mat-mdc-form-field.mat-focused .mat-mdc-form-field-label {
14
+ color: var(--color-green) !important;
15
+ }
16
+
17
+ .vertical-center {
18
+ align-items: center !important;
19
+ justify-content: space-between;
20
+ }
21
+
22
+ .audit {
23
+ background-color: transparent;
24
+ box-shadow: 1px 2px #b4b3b3;
25
+ color: #e91e63;
26
+ }
27
+
28
+ .h-17 {
29
+ height: 17px;
30
+ box-sizing: border-box;
31
+ line-height: normal;
32
+ }
33
+
34
+ @supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
35
+ .h-17 {
36
+ padding-top: 15px;
37
+ }
38
+ }
39
+
40
+ input.password {
41
+ border: none;
42
+ background: transparent;
43
+ font-family: monospace;
44
+ color: var(--input-text);
45
+ }
46
+
47
+ ::ng-deep .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {
48
+ background-color: var(--input-bg) !important;
49
+ }
50
+
51
+ ::ng-deep .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:hover {
52
+ background-color: var(--input-bg) !important;
53
+ }
54
+
55
+ ::ng-deep .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:focus-within {
56
+ background-color: var(--input-bg) !important;
57
+ }
58
+
59
+ ::ng-deep .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay {
60
+ background-color: transparent !important;
61
+ }
62
+
63
+ ::ng-deep .mat-mdc-text-field-wrapper {
64
+ border-radius: 4px !important;
65
+ box-shadow: none !important;
66
+ }
67
+
68
+ .input-overwrite {
69
+ width: 50px;
70
+ margin: 2px;
71
+ background-image: none;
72
+ }
73
+
74
+ .overwrite {
75
+ background-color: var(--input-bg);
76
+ text-align: center;
77
+ border-radius: 5px;
78
+ font-weight: bold;
79
+ color: var(--color-red);
80
+ box-shadow: 0px 0px 5px #6192d1;
81
+ -webkit-box-shadow: 0px 0px 5px #6192d1;
82
+ -webkit-padding: 3px;
83
+ border-width: 2px;
84
+ border-color: transparent;
85
+ border-style: inset;
86
+ }
87
+
88
+ body.dark-theme {
89
+ .cdk-overlay-container {
90
+ .mat-mdc-menu-panel,
91
+ .mat-mdc-select-panel,
92
+ .mat-mdc-dialog-container {
93
+ background-color: var(--card-bg) !important;
94
+ color: var(--text-color) !important;
95
+ }
96
+
97
+ .mat-mdc-option {
98
+ color: var(--text-color) !important;
99
+
100
+ &:hover,
101
+ &.mdc-list-item--selected {
102
+ background-color: var(--hover-color) !important;
103
+ }
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,68 @@
1
+ .mg-t-100 {
2
+ margin-top: -100px;
3
+ margin-bottom: -35px;
4
+ }
5
+
6
+ .mg-b-20 {
7
+ margin-top: 20px;
8
+ margin-bottom: 20px;
9
+ }
10
+
11
+ .mg-b-15 {
12
+ margin-bottom: 15px;
13
+ }
14
+
15
+ .pd-l-r-0 {
16
+ padding-left: 0;
17
+ padding-right: 0;
18
+ }
19
+
20
+ .pd-0 {
21
+ padding: 0 !important;
22
+ }
23
+
24
+ .pd-lr-40 {
25
+ padding-left: 40px !important;
26
+ padding-right: 40px !important;
27
+ }
28
+
29
+ .pd-r-1 {
30
+ padding-right: 1px;
31
+ }
32
+
33
+ .pd-l-1 {
34
+ padding-left: 1px;
35
+ }
36
+
37
+ .pd-t-l-5 {
38
+ padding-top: 5px;
39
+ padding-bottom: 5px;
40
+ }
41
+
42
+ .h-30 {
43
+ height: 30px !important;
44
+ }
45
+
46
+ .h-35 {
47
+ height: 35px !important;
48
+ }
49
+
50
+ .h-40 {
51
+ height: 40px !important;
52
+ }
53
+
54
+ .h-45 {
55
+ height: 45px !important;
56
+ }
57
+
58
+ .h-50 {
59
+ height: 49px !important;
60
+ }
61
+
62
+ .h-55 {
63
+ height: 50px !important;
64
+ }
65
+
66
+ .h-60 {
67
+ height: 60px !important;
68
+ }