PeerTube/client/src/app/app.component.scss

91 lines
1.7 KiB
SCSS
Raw Normal View History

2017-04-26 14:22:00 -05:00
.main-row {
min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
}
2017-12-01 02:20:19 -06:00
.sub-header-container {
margin-top: $header-height;
}
2017-04-21 10:12:28 -05:00
.title-menu-left {
2017-04-26 14:22:00 -05:00
position: fixed;
2017-04-21 10:12:28 -05:00
height: calc(100vh - #{$header-height});
2017-04-26 14:22:00 -05:00
padding: 0;
2017-12-01 02:20:19 -06:00
width: $menu-width;
2017-04-21 10:12:28 -05:00
2017-04-26 14:22:00 -05:00
.title-menu-left-block.menu {
height: 100%;
}
}
2017-04-21 10:12:28 -05:00
2017-04-26 14:22:00 -05:00
.header {
height: $header-height;
2017-12-01 02:20:19 -06:00
position: fixed;
2017-12-01 06:08:46 -06:00
top: 0;
2017-12-01 02:20:19 -06:00
width: 100%;
background-color: #fff;
2017-12-01 06:08:46 -06:00
z-index: 1000;
2017-12-01 02:20:19 -06:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
display: flex;
2017-04-21 10:12:28 -05:00
2017-04-26 14:22:00 -05:00
.top-left-block {
2017-12-01 02:20:19 -06:00
width: $menu-width;
z-index: 1001;
2017-04-29 11:34:10 -05:00
height: $header-height;
2017-04-23 04:18:11 -05:00
display: flex;
2017-12-01 06:08:46 -06:00
align-items: center;
.icon {
cursor: pointer;
width: 22px;
height: 22px;
display: inline-block;
background-size: contain;
&.icon-menu {
background-image: url('../assets/header/menu.svg');
margin: 0 18px 0 24px;
2017-04-26 14:22:00 -05:00
}
}
#peertube-title {
2017-12-01 06:08:46 -06:00
font-size: 20px;
font-weight: $font-bold;
color: inherit !important;
display: flex;
align-items: center;
@include disable-default-a-behaviour;
.icon.icon-logo {
display: inline-block;
2017-12-01 02:20:19 -06:00
background: url('../assets/logo.svg') no-repeat;
2017-12-01 06:08:46 -06:00
width: 20px;
2017-12-01 02:20:19 -06:00
height: 24px;
2017-04-21 10:12:28 -05:00
}
}
2017-05-01 11:05:28 -05:00
@media screen and (max-width: 500px) {
#peertube-title {
display: none;
}
}
2017-04-21 10:12:28 -05:00
}
2017-12-01 02:20:19 -06:00
.header-right {
height: $header-height;
2017-12-01 06:08:46 -06:00
display: flex;
align-items: center;
2017-12-01 02:20:19 -06:00
flex-grow: 1;
2017-12-01 06:08:46 -06:00
justify-content: flex-end;
2017-04-26 14:22:00 -05:00
}
2017-04-21 11:26:09 -05:00
}
2017-04-21 10:12:28 -05:00
footer {
2017-04-21 11:26:09 -05:00
border-top: 1px solid $footer-border-color;
padding: 10px 0;
2017-04-21 10:12:28 -05:00
text-align: center;
2017-04-21 11:26:09 -05:00
font-size: 11px;
2017-04-23 15:13:58 -05:00
margin-top: $footer-margin;
height: $footer-height;
2017-04-21 10:12:28 -05:00
}