2017-08-03 13:53:18 +03:00
|
|
|
@import '../../styles/themes';
|
2017-09-11 11:44:04 +03:00
|
|
|
@import '~bootstrap/scss/mixins/breakpoints';
|
|
|
|
|
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
|
2017-06-21 17:34:10 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
2017-04-18 19:12:29 +03:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2017-07-20 18:13:11 +03:00
|
|
|
width: 100%;
|
2017-04-18 19:12:29 +03:00
|
|
|
|
2017-07-28 14:54:29 +03:00
|
|
|
.left {
|
2017-09-11 11:44:04 +03:00
|
|
|
display: flex;
|
|
|
|
|
width: 100%;
|
2017-07-28 14:54:29 +03:00
|
|
|
order: 0;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
.right {
|
|
|
|
|
order: 1;
|
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-11 11:44:04 +03:00
|
|
|
.logo-containter {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 18:35:39 +03:00
|
|
|
.control-item {
|
2017-09-11 11:44:04 +03:00
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-28 14:54:29 +03:00
|
|
|
.header-container {
|
2017-04-18 19:12:29 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2017-09-11 11:44:04 +03:00
|
|
|
width: 100%;
|
2017-04-19 10:48:37 +03:00
|
|
|
|
2017-07-20 18:13:11 +03:00
|
|
|
.navigation {
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(padding-right, nb-theme(padding));
|
|
|
|
|
@include nb-rtl(padding-left, nb-theme(padding));
|
2017-06-21 17:34:10 +03:00
|
|
|
font-size: 2.5rem;
|
2017-09-14 22:15:08 +03:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-18 19:12:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo {
|
2017-08-01 17:42:21 +03:00
|
|
|
padding: 0 nb-theme(padding);
|
2017-07-20 18:13:11 +03:00
|
|
|
font-size: 1.75rem;
|
2017-08-01 17:42:21 +03:00
|
|
|
font-weight: nb-theme(font-weight-bolder);
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(border-left, 1px solid nb-theme(separator));
|
|
|
|
|
@include nb-rtl(border-right, 1px solid nb-theme(separator));
|
2017-09-20 13:44:22 +03:00
|
|
|
white-space: nowrap;
|
2017-07-20 18:13:11 +03:00
|
|
|
|
|
|
|
|
span {
|
2017-08-01 17:42:21 +03:00
|
|
|
font-weight: nb-theme(font-weight-normal);
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-09-07 16:43:31 +03:00
|
|
|
}
|
2017-04-26 20:11:54 +03:00
|
|
|
|
2018-05-11 17:25:02 +03:00
|
|
|
ngx-layout-direction-switcher,
|
|
|
|
|
ngx-theme-switcher {
|
|
|
|
|
margin: 0 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(xl) {
|
|
|
|
|
ngx-layout-direction-switcher {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-30 17:22:05 +03:00
|
|
|
.toggle-layout /deep/ a {
|
2017-09-11 11:44:04 +03:00
|
|
|
display: block;
|
2017-08-30 17:22:05 +03:00
|
|
|
text-decoration: none;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
|
|
i {
|
2017-09-18 19:48:11 +03:00
|
|
|
color: nb-theme(color-fg-highlight);
|
2017-09-15 17:15:59 +03:00
|
|
|
font-size: 2.25rem;
|
2018-05-11 17:25:02 +03:00
|
|
|
border-radius: 50%;
|
|
|
|
|
position: relative;
|
|
|
|
|
animation-name: pulse-light;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: ' ';
|
|
|
|
|
// hack to be able to set border-radius
|
|
|
|
|
background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 52.3%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
width: 13%;
|
|
|
|
|
height: 13%;
|
|
|
|
|
|
|
|
|
|
animation: 3s linear infinite pulse;
|
|
|
|
|
|
|
|
|
|
@include nb-for-theme(default) {
|
|
|
|
|
animation-name: pulse-light;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include keyframes(pulse) {
|
|
|
|
|
0% {
|
|
|
|
|
box-shadow: 0 0 1px 0 rgba(nb-theme(color-fg-highlight), 0);
|
|
|
|
|
}
|
|
|
|
|
20% {
|
|
|
|
|
box-shadow: 0 0 3px 10px rgba(nb-theme(color-fg-highlight), 0.4);
|
|
|
|
|
}
|
|
|
|
|
100% {
|
|
|
|
|
box-shadow: 0 0 5px 20px rgba(nb-theme(color-fg-highlight), 0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include keyframes(pulse-light) {
|
|
|
|
|
0% {
|
|
|
|
|
box-shadow: 0 0 1px 0 rgba(115, 255, 208, 0);
|
|
|
|
|
}
|
|
|
|
|
20% {
|
|
|
|
|
box-shadow: 0 0 3px 10px rgba(115, 255, 208, 0.4);
|
|
|
|
|
}
|
|
|
|
|
100% {
|
|
|
|
|
box-shadow: 0 0 5px 20px rgba(115, 255, 208, 0);
|
2017-08-30 17:22:05 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-09-11 11:44:04 +03:00
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
2017-09-14 22:15:08 +03:00
|
|
|
|
|
|
|
|
nb-action:not(.toggle-layout) {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 18:35:39 +03:00
|
|
|
.control-item {
|
2017-09-11 11:44:04 +03:00
|
|
|
display: none;
|
|
|
|
|
}
|
2017-09-14 22:15:08 +03:00
|
|
|
|
|
|
|
|
.toggle-layout {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2018-05-11 17:25:02 +03:00
|
|
|
|
|
|
|
|
ngx-layout-direction-switcher,
|
|
|
|
|
ngx-theme-switcher {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2017-09-11 11:44:04 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
|
|
|
|
|
|
nb-user /deep/ .user-name {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 21:55:09 +03:00
|
|
|
@include media-breakpoint-down(is) {
|
|
|
|
|
|
|
|
|
|
.header-container {
|
|
|
|
|
.logo {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-11 11:44:04 +03:00
|
|
|
.toggle-layout {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-14 22:15:08 +03:00
|
|
|
nb-action:not(.toggle-layout) {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2017-09-12 21:55:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
|
.right /deep/ {
|
2017-09-11 11:44:04 +03:00
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-18 19:12:29 +03:00
|
|
|
}
|