benivo-ui-library 1.8.21 → 1.8.22

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.
@@ -1,3 +1,5 @@
1
+ @menu-width: 280px;
2
+
1
3
  .assignment-option {
2
4
  position: relative;
3
5
  padding: 10px 0;
@@ -78,3 +80,129 @@
78
80
  }
79
81
  }
80
82
 
83
+ .assignment-select-box-custom-menu{
84
+ .assignments-filter-wrapper {
85
+ padding: 15px 12px;
86
+
87
+ .form-select__control {
88
+ cursor: pointer;
89
+ }
90
+
91
+ .form-group {
92
+ margin-bottom: 0;
93
+ width: 70%;
94
+
95
+ @media (min-width: 768px) and (max-width: 991px) {
96
+ width: 80% !important;
97
+ }
98
+
99
+ &:before {
100
+ content: '\e9da';
101
+ font-family: 'icomoon';
102
+ color: @extra-light-gray-text;
103
+ display: block;
104
+ position: absolute;
105
+ top: 50%;
106
+ left: @input-pad-x;
107
+ transform: translateY(-50%);
108
+ }
109
+
110
+ input {
111
+ padding-left: 38px;
112
+ width: 100%;
113
+ margin-right: 12px;
114
+ }
115
+ }
116
+
117
+ .assignments-filter {
118
+ display: inline-flex;
119
+ align-items: center;
120
+ cursor: pointer;
121
+ position: relative;
122
+ flex-shrink: 0;
123
+
124
+ .assignments-filter-statuses {
125
+ position: absolute;
126
+ top: 100%;
127
+ right: 0;
128
+ background-color: #ffffff;
129
+ border: solid 1px rgba(0, 0, 0, 0.15);
130
+ .border-radius(4px);
131
+ z-index: @zindex-dropdown;
132
+ width: 256px;
133
+ margin-top: 10px;
134
+
135
+ &.horizontal{
136
+ &__right{
137
+ @media @lg {
138
+ left: 0;
139
+ right: unset;
140
+ }
141
+ }
142
+ &__left{
143
+ @media @lg {
144
+ left: unset;
145
+ right: 0;
146
+ }
147
+ }
148
+ }
149
+
150
+ &.vertical{
151
+ &__bottom{
152
+ @media @lg {
153
+ top: 100%;
154
+ bottom: unset;
155
+ }
156
+ }
157
+ &__top{
158
+ @media @lg {
159
+ top: unset;
160
+ bottom: 100%;
161
+ }
162
+ }
163
+ }
164
+
165
+ li {
166
+ padding: 12px;
167
+
168
+ &:hover {
169
+ background-color: @form-select-option-bg-selected;
170
+ }
171
+
172
+ &:before {
173
+ left: 42px;
174
+ }
175
+
176
+ .form-check {
177
+ margin-bottom: 0;
178
+ padding-left: 46px;
179
+ }
180
+ }
181
+ }
182
+
183
+ span {
184
+ &,
185
+ &:before {
186
+ color: @primary-color;
187
+ }
188
+
189
+ &:last-child {
190
+ margin-left: 8px;
191
+ font-size: @small-font-size;
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ .form-select__menu:has(> .assignment-select-box-custom-menu){
199
+ --menu-width: @menu-width;
200
+
201
+ width: 100%;
202
+ right: 0;
203
+
204
+ @media @lg {
205
+ width: var(--menu-width, @menu-width);
206
+ }
207
+ }
208
+
package/autoComplete.less CHANGED
@@ -131,5 +131,15 @@
131
131
  .form-control {
132
132
  margin: 0;
133
133
  }
134
+
135
+ .required-point {
136
+ color: @error-color;
137
+ }
138
+ }
139
+
140
+ .form-control {
141
+ white-space: nowrap;
142
+ overflow: hidden;
143
+ text-overflow: ellipsis;
134
144
  }
135
145
  }
package/checkbox.less CHANGED
@@ -215,7 +215,6 @@
215
215
  }
216
216
 
217
217
  &.disabled {
218
- pointer-events: none;
219
218
  .filter(grayscale(100%));
220
219
  }
221
220
  }
@@ -231,6 +230,14 @@
231
230
  input:checked + .on-off-slide {
232
231
  background-color: @primary-color;
233
232
  border-color: @primary-color;
233
+
234
+ &.not-allowed{
235
+ background-color: lighten(@primary-color, 20%);
236
+ border-color: lighten(@primary-color, 20%);
237
+ &::before{
238
+ border-color: lighten(@primary-color, 20%);
239
+ }
240
+ }
234
241
  }
235
242
 
236
243
  input:focus + .on-off-slide {