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

107 lines
1.9 KiB
SCSS
Raw Normal View History

2021-05-27 16:25:00 +00:00
@use '_variables' as *;
@use '_mixins' as *;
2017-12-11 16:36:46 +00:00
2020-03-18 09:11:59 +00:00
.peertube-container {
padding-bottom: 20px;
}
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: pvar(--mainBackgroundColor);
width: 100%;
2017-12-01 08:20:19 +00:00
}
2022-07-18 13:01:47 +00:00
.root-header {
2017-04-26 19:22:00 +00:00
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: pvar(--mainBackgroundColor);
2017-12-01 08:20:19 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
display: flex;
2021-04-14 14:39:37 +00:00
}
2017-04-21 15:12:28 +00:00
2021-04-14 14:39:37 +00:00
.top-left-block {
z-index: 1;
height: $header-height;
display: flex;
align-items: center;
min-width: 0;
2017-04-26 19:22:00 +00:00
2021-04-14 14:39:37 +00:00
.icon {
@include icon(24px);
}
2019-07-16 14:09:58 +00:00
2021-04-14 14:39:37 +00:00
.icon-menu {
mask-image: url('../assets/images/misc/menu.svg');
-webkit-mask-image: url('../assets/images/misc/menu.svg');
background-color: pvar(--mainForegroundColor);
2021-04-14 14:39:37 +00:00
margin: 0 18px 0 20px;
2017-12-01 12:08:46 +00:00
2021-04-14 14:39:37 +00:00
@media screen and (max-width: $mobile-view) {
margin: 0 10px;
}
}
}
2019-02-20 14:52:03 +00:00
2022-07-18 13:01:47 +00:00
.root-header-right {
2021-04-14 14:39:37 +00:00
height: $header-height;
display: flex;
align-items: center;
justify-content: flex-end;
white-space: nowrap;
flex: 1;
}
2017-12-01 12:08:46 +00:00
2021-04-14 14:39:37 +00:00
.peertube-title {
@include disable-default-a-behaviour;
2017-05-01 16:05:28 +00:00
2021-04-14 14:39:37 +00:00
font-size: 20px;
font-weight: $font-bold;
color: inherit !important;
display: flex;
align-items: center;
overflow: hidden;
padding: 0 0 0 10px;
2017-12-11 07:50:43 +00:00
2021-04-14 14:39:37 +00:00
.instance-name {
@include ellipsis;
width: 100%;
@media screen and (max-width: $mobile-view) {
display: none;
}
2017-04-21 15:12:28 +00:00
}
2021-04-14 14:39:37 +00:00
.icon.icon-logo {
2021-06-07 15:38:31 +00:00
@include margin-right(0.5rem);
2021-04-14 14:39:37 +00:00
display: inline-block;
width: 23px;
height: 24px;
}
2017-04-21 16:26:09 +00:00
}
2020-05-28 09:15:38 +00:00
.broadcast-message {
min-height: 50px;
text-align: center;
margin-bottom: 0;
border-radius: 0;
display: grid;
grid-template-columns: 1fr 30px;
column-gap: 10px;
my-global-icon {
justify-self: center;
align-self: center;
cursor: pointer;
width: 20px;
}
}