I am trying to customize the css of ng-select using default view encapsulation. I am using ::ng-deep for this.
This section seems to work:
.ng-select.custom-ng-select ::ng-deep {
//this section works//
&.ng-select-container {
border: 1px solid #1CBC88;
color: #1CBC88 !important;
box-shadow: none;
font-size: 13px !important;
font-weight: bold; }
However, the section below doesnot work:
&.ng-select-opened {
&.ng-select-bottom {
>.ng-select-container {
border-bottom: 1px solid red;
}
}
}
}
I want to change the bottom border color when the select is opened by using ::ng-deep selector on ng-select. Thanks.