ngx-admin/src/app/@theme/components/header/header.component.scss

71 lines
1.4 KiB
SCSS
Raw Normal View History

2019-06-22 19:18:16 +03:00
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/breakpoints';
2017-08-03 13:53:18 +03:00
@import '../../styles/themes';
2019-06-13 20:22:22 +03:00
@include nb-install-component() {
display: flex;
justify-content: space-between;
width: 100%;
.logo-container {
2017-09-11 11:44:04 +03:00
display: flex;
align-items: center;
width: calc(#{nb-theme(sidebar-width)} - #{nb-theme(header-padding)});
2017-09-11 11:44:04 +03:00
}
nb-action {
height: auto;
display: flex;
align-content: center;
}
nb-user {
cursor: pointer;
}
::ng-deep nb-search button {
padding: 0!important;
2017-09-11 11:44:04 +03:00
}
.header-container {
display: flex;
align-items: center;
width: auto;
2019-06-13 20:22:22 +03:00
.sidebar-toggle {
@include nb-ltr(padding-right, 1.25rem);
@include nb-rtl(padding-left, 1.25rem);
2017-09-14 22:15:08 +03:00
text-decoration: none;
2019-06-13 20:22:22 +03:00
color: nb-theme(text-hint-color);
nb-icon {
2019-06-13 20:22:22 +03:00
font-size: 1.75rem;
2017-09-14 22:15:08 +03:00
}
}
.logo {
padding: 0 1.25rem;
font-size: 1.75rem;
@include nb-ltr(border-left, 1px solid nb-theme(divider-color));
@include nb-rtl(border-right, 1px solid nb-theme(divider-color));
white-space: nowrap;
text-decoration: none;
2017-09-11 11:44:04 +03:00
}
}
2019-06-22 19:18:16 +03:00
@include media-breakpoint-down(sm) {
.control-item {
display: none;
}
.user-action {
border: none;
padding: 0;
}
}
@include media-breakpoint-down(is) {
nb-select {
display: none;
}
}
}