@annalib/anna-core 11.3.0 → 11.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +2 -2
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_customDropdown.scss +1 -13
- package/src/lib/anna-common-scss/_date-picker-form.scss +2 -2
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +21 -0
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +28 -0
- package/src/lib/anna-common-scss/_ng-select.scss +0 -176
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.search-bar {
|
|
37
|
-
margin:
|
|
37
|
+
margin: 0 7px 8px 7px;
|
|
38
38
|
border: 1px solid $pinkSwan;
|
|
39
39
|
height: 1.875rem;
|
|
40
40
|
border-radius: 2px;
|
|
@@ -120,15 +120,3 @@ span.selected-item{
|
|
|
120
120
|
z-index: 1051;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
::ng-deep .multi-select-dropdown + div .mat-menu-panel,
|
|
124
|
-
::ng-deep .single-select-dropdown + div .mat-menu-panel{
|
|
125
|
-
min-width: 100px !important;
|
|
126
|
-
max-width: 100%;
|
|
127
|
-
min-height: 30px !important;
|
|
128
|
-
overflow-y: hidden;
|
|
129
|
-
max-height: 50vh;
|
|
130
|
-
.mat-menu-content:not(:empty) {
|
|
131
|
-
padding-top: 0;
|
|
132
|
-
padding-bottom: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "./fonts", "./colors"
|
|
1
|
+
@import "./fonts", "./colors";
|
|
2
2
|
|
|
3
3
|
.input-group-append {
|
|
4
4
|
margin: auto;
|
|
@@ -78,7 +78,7 @@ input.form-control:disabled {
|
|
|
78
78
|
background-color: #fff !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
::ng-deep app-single-select-dropdown
|
|
81
|
+
::ng-deep app-single-select-dropdown {
|
|
82
82
|
width: 19.5rem !important;
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@mixin anna-mat-radio() {
|
|
2
|
+
.mdc-radio__background {
|
|
3
|
+
width: var(--mat-radio-size);
|
|
4
|
+
height: var(--mat-radio-size);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.mdc-radio__inner-circle {
|
|
8
|
+
border-width: calc(var(--mat-radio-size)/2);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mdc-form-field > label {
|
|
12
|
+
margin: 0 0 0 4px;
|
|
13
|
+
padding: 0;
|
|
14
|
+
top: -2px;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mdc-radio--disabled + label {
|
|
19
|
+
color: var(--disabled-text-color) !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@mixin anna-mat-autocomplete(){
|
|
2
|
+
background-color: white;
|
|
3
|
+
padding: 0 !important;
|
|
4
|
+
box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
|
|
5
|
+
|
|
6
|
+
& .mat-mdc-option {
|
|
7
|
+
min-height: 30px;
|
|
8
|
+
height: 30px;
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: var(--dropdown-hover-color) !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
& .mdc-list-item__primary-text {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
text-overflow: ellipsis;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
white-space: pre;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& .mat-pseudo-checkbox {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .mat-option {
|
|
26
|
+
background-color: var(--dropdown-hover-color) !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/***COMMON NG-SELECT STYLING FOR ALL SIZES **/
|
|
2
|
-
::ng-deep .ng-select {
|
|
3
|
-
& .ng-arrow,
|
|
4
|
-
& .ng-arrow:hover {
|
|
5
|
-
border-color: black transparent transparent !important;
|
|
6
|
-
opacity: 1 !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&.ng-select-opened .ng-arrow,
|
|
10
|
-
&.ng-select-opened .ng-arrow:hover {
|
|
11
|
-
border-color: transparent transparent black !important;
|
|
12
|
-
opacity: 1 !important;
|
|
13
|
-
padding-top: 2px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
& .ng-select-container {
|
|
17
|
-
border: 1px solid #b7b7b7 !important;
|
|
18
|
-
border-radius: 2px;
|
|
19
|
-
&:hover {
|
|
20
|
-
box-shadow: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.custom-error-ng-select .ng-select-container {
|
|
25
|
-
border: 1px solid #f86c6b;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.ng-select-disabled > .ng-select-container {
|
|
29
|
-
background-color: #bdbdbd;
|
|
30
|
-
opacity: 0.5;
|
|
31
|
-
cursor: not-allowed;
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
36
|
-
& .ng-option-label {
|
|
37
|
-
font-weight: normal !important;
|
|
38
|
-
}
|
|
39
|
-
&:hover {
|
|
40
|
-
background-color: #ebebeb;
|
|
41
|
-
color: #4a4a4a;
|
|
42
|
-
}
|
|
43
|
-
&:not(:hover){
|
|
44
|
-
background-color: #fff;
|
|
45
|
-
}
|
|
46
|
-
&.ng-option-selected {
|
|
47
|
-
background-color: #268bff;
|
|
48
|
-
color: #fff;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
|
|
53
|
-
border-color: lightgray;
|
|
54
|
-
box-shadow: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/*****EXTRA SMALL NG STYLE******/
|
|
60
|
-
::ng-deep .ng-select.custom-xs-ng-select {
|
|
61
|
-
& .ng-select-container {
|
|
62
|
-
min-height: 22px !important;
|
|
63
|
-
font-size: 12px !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.ng-select-single .ng-select-container {
|
|
67
|
-
height: 22px !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& .ng-dropdown-panel .scroll-host {
|
|
71
|
-
font-size: 12px !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
& .ng-arrow-wrapper {
|
|
75
|
-
padding-top: 2px !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.ng-select-opened,
|
|
79
|
-
&.ng-select-bottom,
|
|
80
|
-
&.ng-select-top {
|
|
81
|
-
& .ng-select-container {
|
|
82
|
-
padding-top: 6px !important;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
&.non-searchable {
|
|
86
|
-
&.ng-select-opened,
|
|
87
|
-
&.ng-select-bottom,
|
|
88
|
-
&.ng-select-top {
|
|
89
|
-
& .ng-select-container {
|
|
90
|
-
padding-top: 4px !important;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
95
|
-
padding: 3px 10px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**SMALL NG SELECT STYLE***/
|
|
100
|
-
::ng-deep .ng-select.custom-sm-ng-select {
|
|
101
|
-
& .ng-select-container {
|
|
102
|
-
min-height: 1.5625rem !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.ng-select-single .ng-select-container {
|
|
106
|
-
height: 1.5625rem !important;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.ng-select-opened,
|
|
110
|
-
&.ng-select-bottom,
|
|
111
|
-
&.ng-select-top {
|
|
112
|
-
& .ng-select-container {
|
|
113
|
-
padding-top: 8px !important;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
&.non-searchable {
|
|
117
|
-
&.ng-select-opened,
|
|
118
|
-
&.ng-select-bottom,
|
|
119
|
-
&.ng-select-top {
|
|
120
|
-
& .ng-select-container {
|
|
121
|
-
padding-top: 8px !important;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
126
|
-
padding: 4px 10px;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**MEDIUM NG SELECT STYLE***/
|
|
131
|
-
::ng-deep .ng-select.custom-md-ng-select {
|
|
132
|
-
& .ng-select-container {
|
|
133
|
-
min-height: 30px !important;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&.ng-select-single .ng-select-container {
|
|
137
|
-
height: 1.875rem !important;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**MEDIUM NG SELECT STYLE -2 !!! with 32px height !!!***/
|
|
142
|
-
::ng-deep .ng-select.custom-md-32-ng-select {
|
|
143
|
-
& .ng-select-container {
|
|
144
|
-
min-height: 32px !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.ng-select-single .ng-select-container {
|
|
148
|
-
height: 32px !important;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**LARGE NG SELECT STYLE***/
|
|
153
|
-
::ng-deep .ng-select.custom-lg-ng-select {
|
|
154
|
-
& .ng-select-container {
|
|
155
|
-
min-height: 2.8125rem !important;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.ng-select-single .ng-select-container {
|
|
159
|
-
height: 2.8125rem !important;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
:host::ng-deep .custom-arrow.ng-select.ng-select-opened>.ng-select-container{
|
|
165
|
-
.ng-arrow{
|
|
166
|
-
border-width: 0 4px 4px;
|
|
167
|
-
position: relative;
|
|
168
|
-
bottom: 1px;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
:host::ng-deep .custom-arrow.ng-select .ng-arrow-wrapper .ng-arrow{
|
|
173
|
-
border-width: 4px 4px 2.5px;
|
|
174
|
-
position: relative;
|
|
175
|
-
bottom: 1px;
|
|
176
|
-
}
|