1
0
Fork 0
peertube/client/src/app/app.component.scss

95 lines
1.8 KiB
SCSS
Raw Normal View History

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;
background-color: var(--mainBackgroundColor);
width: 100%;
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%;
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 {
z-index: 1;
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;
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 {
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 {
@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;
overflow: hidden;
2017-12-01 12:08:46 +00:00
.instance-name {
2019-02-20 14:52:03 +00:00
@include ellipsis;
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: $mobile-view) {
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;
white-space: nowrap;
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
}