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

71 lines
1.4 KiB
SCSS
Raw Normal View History

2017-09-11 11:44:04 +03:00
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/breakpoints';
@import '../../styles/themes';
2017-06-21 17:34:10 +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)});
}
nb-action {
height: auto;
2017-09-11 11:44:04 +03:00
display: flex;
align-content: center;
}
nb-user {
cursor: pointer;
2017-09-11 11:44:04 +03:00
}
::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;
.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;
color: nb-theme(text-hint-color);
nb-icon {
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-08-30 17:22:05 +03:00
}
}
2017-09-11 11:44:04 +03:00
@include media-breakpoint-down(sm) {
2017-09-12 18:35:39 +03:00
.control-item {
2017-09-11 11:44:04 +03:00
display: none;
}
.user-action {
border: none;
2017-09-14 22:15:08 +03:00
padding: 0;
}
2017-09-11 11:44:04 +03:00
}
2017-09-12 21:55:09 +03:00
@include media-breakpoint-down(is) {
nb-select {
2017-09-11 11:44:04 +03:00
display: none;
}
}
}