2017-12-11 16:36:46 +00:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
2017-04-26 19:22:00 +00:00
|
|
|
.main-row {
|
|
|
|
min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
|
|
|
|
}
|
|
|
|
|
2017-12-01 08:20:19 +00:00
|
|
|
.sub-header-container {
|
|
|
|
margin-top: $header-height;
|
2018-09-03 23:28:04 +00:00
|
|
|
background-color: var(--mainBackgroundColor);
|
2017-12-01 08:20:19 +00:00
|
|
|
}
|
|
|
|
|
2017-04-26 19:22:00 +00:00
|
|
|
.header {
|
|
|
|
height: $header-height;
|
2017-12-01 08:20:19 +00:00
|
|
|
position: fixed;
|
2017-12-01 12:08:46 +00:00
|
|
|
top: 0;
|
2017-12-01 08:20:19 +00:00
|
|
|
width: 100%;
|
2018-09-03 23:28:04 +00:00
|
|
|
background-color: var(--mainBackgroundColor);
|
2020-02-13 14:09:31 +00:00
|
|
|
z-index: z(header);
|
2017-12-01 08:20:19 +00:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
|
|
|
|
display: flex;
|
2017-04-21 15:12:28 +00:00
|
|
|
|
2017-04-26 19:22:00 +00:00
|
|
|
.top-left-block {
|
2020-02-13 14:09:31 +00:00
|
|
|
z-index: z(headerLeft);
|
2017-04-29 16:34:10 +00:00
|
|
|
height: $header-height;
|
2017-04-23 09:18:11 +00:00
|
|
|
display: flex;
|
2017-12-01 12:08:46 +00:00
|
|
|
align-items: center;
|
2018-02-20 13:16:32 +00:00
|
|
|
min-width: 0;
|
2017-12-01 12:08:46 +00:00
|
|
|
|
|
|
|
.icon {
|
2018-05-09 06:30:03 +00:00
|
|
|
@include icon(24px);
|
2017-12-01 12:08:46 +00:00
|
|
|
|
|
|
|
&.icon-menu {
|
2018-09-03 23:28:04 +00:00
|
|
|
background-color: var(--mainForegroundColor);
|
|
|
|
mask-image: url('../assets/images/header/menu.svg');
|
2018-01-31 10:38:05 +00:00
|
|
|
margin: 0 18px 0 20px;
|
2017-04-26 19:22:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-16 14:09:58 +00:00
|
|
|
.peertube-title {
|
2018-02-20 13:16:32 +00:00
|
|
|
@include disable-default-a-behaviour;
|
2019-07-16 14:09:58 +00:00
|
|
|
|
2017-12-01 12:08:46 +00:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: $font-bold;
|
|
|
|
color: inherit !important;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-02-20 13:16:32 +00:00
|
|
|
overflow: hidden;
|
2017-12-01 12:08:46 +00:00
|
|
|
|
2018-02-20 13:16:32 +00:00
|
|
|
.instance-name {
|
2019-02-20 14:52:03 +00:00
|
|
|
@include ellipsis;
|
|
|
|
|
2018-02-20 13:16:32 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2017-12-01 12:08:46 +00:00
|
|
|
|
|
|
|
.icon.icon-logo {
|
|
|
|
display: inline-block;
|
2017-12-04 10:04:08 +00:00
|
|
|
background: url('../assets/images/logo.svg') no-repeat;
|
2017-12-07 09:27:33 +00:00
|
|
|
width: 23px;
|
2017-12-01 08:20:19 +00:00
|
|
|
height: 24px;
|
2017-04-21 15:12:28 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-01 16:05:28 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 500px) {
|
2017-12-11 07:50:43 +00:00
|
|
|
width: 70px;
|
|
|
|
|
2019-07-16 14:09:58 +00:00
|
|
|
.peertube-title {
|
2017-05-01 16:05:28 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-02-20 15:13:05 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 350px) {
|
|
|
|
flex: auto;
|
|
|
|
}
|
2017-04-21 15:12:28 +00:00
|
|
|
}
|
|
|
|
|
2017-12-01 08:20:19 +00:00
|
|
|
.header-right {
|
|
|
|
height: $header-height;
|
2017-12-01 12:08:46 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
2018-02-20 13:16:32 +00:00
|
|
|
white-space: nowrap;
|
2019-12-18 12:27:51 +00:00
|
|
|
flex: 1;
|
2017-04-26 19:22:00 +00:00
|
|
|
}
|
2017-04-21 16:26:09 +00:00
|
|
|
}
|
|
|
|
|
2017-04-21 15:12:28 +00:00
|
|
|
footer {
|
2017-04-21 16:26:09 +00:00
|
|
|
padding: 10px 0;
|
|
|
|
font-size: 11px;
|
2017-04-23 20:13:58 +00:00
|
|
|
margin-top: $footer-margin;
|
|
|
|
height: $footer-height;
|
2018-08-09 07:22:10 +00:00
|
|
|
justify-content: center;
|
2017-04-21 15:12:28 +00:00
|
|
|
}
|