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

144 lines
2.5 KiB
SCSS
Raw Normal View History

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
.main-col {
margin-left: $menu-width;
&.expanded {
margin-left: 0;
}
}
.sub-header-container {
margin-top: $header-height;
}
2017-04-21 15:12:28 +00:00
.title-menu-left {
2017-04-26 19:22:00 +00:00
position: fixed;
2017-04-21 15:12:28 +00:00
height: calc(100vh - #{$header-height});
2017-04-26 19:22:00 +00:00
padding: 0;
2017-12-01 08:20:19 +00:00
width: $menu-width;
2017-04-21 15:12:28 +00:00
2017-04-26 19:22:00 +00:00
.title-menu-left-block.menu {
height: 100%;
}
}
2017-04-21 15:12:28 +00:00
2017-04-26 19:22:00 +00:00
.header {
height: $header-height;
2017-12-01 08:20:19 +00:00
position: fixed;
width: 100%;
background-color: #fff;
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 {
2017-12-01 08:20:19 +00:00
width: $menu-width;
z-index: 1001;
2017-04-29 16:34:10 +00:00
height: $header-height;
2017-04-21 15:12:28 +00:00
line-height: $header-height;
margin-top: 0;
margin-bottom: 0;
2017-04-23 09:18:11 +00:00
display: flex;
2017-05-01 16:05:28 +00:00
padding: 0;
2017-04-26 19:22:00 +00:00
.hamburger-block {
2017-12-01 08:20:19 +00:00
margin-right: 10px;
margin-left: 25px;
2017-04-26 19:22:00 +00:00
.glyphicon {
2017-04-29 16:34:10 +00:00
cursor: pointer;
2017-04-26 19:22:00 +00:00
}
}
#peertube-title {
a {
2017-04-21 15:12:28 +00:00
color: inherit !important;
2017-04-26 19:22:00 +00:00
display: block;
2017-12-01 08:20:19 +00:00
background: url('../assets/logo.svg') no-repeat;
width: 24px;
height: 24px;
2017-04-26 19:22:00 +00:00
&:hover {
color: inherit !important;
text-decoration: none !important;
}
2017-04-21 15:12:28 +00:00
}
}
2017-05-01 16:05:28 +00:00
@media screen and (max-width: 500px) {
#peertube-title {
display: none;
}
.hamburger-block {
width: 100%;
text-align: center;
}
}
@media screen and (min-width: 500px) and (max-width: 600px) {
#peertube-title a {
width: 80px;
}
}
@media screen and (min-width: 600px) and (max-width: 700px) {
#peertube-title a {
width: 100px;
}
}
@media screen and (min-width: 1000px) {
#peertube-title a {
width: 120px;
}
}
@media screen and (min-width: 1000px) {
#peertube-title a {
width: 120px;
}
}
@media screen and (min-width: 1200px) {
padding-left: 15px;
.hamburger-block {
margin-right: 15px;
}
#peertube-title a {
width: 135px;
}
}
@media screen and (min-width: 1600px) {
.hamburger-block {
margin-right: 20px;
}
#peertube-title a {
width: 180px;
}
}
2017-04-21 15:12:28 +00:00
}
2017-12-01 08:20:19 +00:00
.header-right {
text-align: right;
height: $header-height;
margin-left: $menu-width;
flex-grow: 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
border-top: 1px solid $footer-border-color;
padding: 10px 0;
2017-04-21 15:12:28 +00:00
text-align: center;
2017-04-21 16:26:09 +00:00
font-size: 11px;
2017-04-23 20:13:58 +00:00
margin-top: $footer-margin;
height: $footer-height;
2017-04-21 15:12:28 +00:00
}