From 02c01341f4dae30ec6b81fcb644952393d73c4a8 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Wed, 5 Aug 2020 00:50:07 +0200 Subject: add ng-select for templatable select options - create select-tags component to replace ngx-chips - create select-options to factorize option selection in forms - create select-channel to simplify channel selection - refactor tags validation --- client/src/sass/ng-select.scss | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 client/src/sass/ng-select.scss (limited to 'client/src/sass/ng-select.scss') diff --git a/client/src/sass/ng-select.scss b/client/src/sass/ng-select.scss new file mode 100644 index 000000000..f836e203c --- /dev/null +++ b/client/src/sass/ng-select.scss @@ -0,0 +1,29 @@ +@import '_variables'; + +$ng-select-highlight: #f2690d; +// $ng-select-primary-text: #333 !default; +// $ng-select-disabled-text: #f9f9f9 !default; +// $ng-select-border: #ccc !default; +// $ng-select-border-radius: 4px !default; +// $ng-select-bg: #ffffff !default; +// $ng-select-selected: lighten($ng-select-highlight, 46) !default; +// $ng-select-marke d: lighten($ng-select-highlight, 48) !default; +$ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest); +// $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default; +$ng-select-height: 30px; +// $ng-select-value-padding-left: 10px !default; +// $ng-select-value-font-size: 0.9em !default; + +@import "~@ng-select/ng-select/scss/default.theme.scss"; + +.ng-input { + font-size: .9em; +} + +.ng-select { + &.ng-select-focused { + &:not(.ng-select-opened) > .ng-select-container { + border-color: #ccc !important; + } + } +} -- cgit v1.2.3