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