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

147 lines
2.6 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-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-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;
.fake-title-block {
display: inline-block;
2017-04-21 15:12:28 +00:00
}
2017-04-26 19:22:00 +00:00
.top-left-block {
2017-04-29 16:34:10 +00:00
z-index: 100;
2017-04-21 15:12:28 +00:00
background-color: #fff;
border-right: 1px solid $header-border-color;
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-04-26 19:22:00 +00:00
position: fixed;
2017-05-01 16:05:28 +00:00
padding: 0;
2017-04-26 19:22:00 +00:00
&.border-bottom {
border-bottom: 1px solid $header-border-color;
}
.hamburger-block {
2017-05-01 16:05:28 +00:00
margin-right: 15px;
2017-04-26 19:22:00 +00:00
margin-left: 15px;
.glyphicon {
2017-04-29 16:34:10 +00:00
cursor: pointer;
2017-04-26 19:22:00 +00:00
position: relative;
top: 4px;
}
}
#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-06-11 15:49:13 +00:00
background: url('../assets/logo.png') no-repeat;
2017-04-26 19:22:00 +00:00
background-size: contain;
background-position: center;
height: 100%;
margin: auto;
2017-05-01 16:05:28 +00:00
width: 135px;
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-04-26 19:22:00 +00:00
my-search {
position: fixed;
z-index: 1000;
// Fix col-md-* padding
padding: 0;
}
.search-col {
height: 100%;
margin-left: -15px;
padding: 0;
}
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
}