Skip to content

Commit 511dbe5

Browse files
JSantarellijuuliotero
authored andcommitted
feat(plex-select): agrega estilos + semántica
1 parent 345df64 commit 511dbe5

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/lib/css/plex-select.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import './variables.scss';
12
// Importados desde https://github.com/herschel666/selectize-scss
23

34
// SELECTIZE.SCSS
@@ -267,15 +268,14 @@ $selectize-caret-margin-rtl: 0 4px 0 -2px !default;
267268
.active {
268269
background-color: $selectize-color-dropdown-item-active;
269270
color: $selectize-color-dropdown-item-active-text;
270-
271-
&.create {
272-
color: $selectize-color-dropdown-item-create-active-text;
273271
}
274-
}
275-
276-
.create {
277-
color: $selectize-color-dropdown-item-create-text;
278-
}
272+
p {
273+
margin-bottom: 0;
274+
275+
&.create {
276+
color: $blue;
277+
}
278+
}
279279
}
280280

281281
.selectize-dropdown-content {

src/lib/select/select.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export class PlexSelectComponent implements AfterViewInit, ControlValueAccessor
275275
if (this.selectize.currentResults.items.length) {
276276
return null;
277277
}
278-
return `<div class="create"> Agregar <strong> ${escape(item.input)} <strong> </div>`;
278+
return `<p class="create">No figura en el listado, deseo agregar <strong> ${escape(item.input)} </strong> de todos modos.</p>`;
279279

280280
}
281281
},

0 commit comments

Comments
 (0)