2017-12-11 10:36:46 -06:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
2020-05-28 04:15:38 -05:00
|
|
|
@import '~bootstrap/scss/functions';
|
|
|
|
@import '~bootstrap/scss/variables';
|
2017-12-11 10:36:46 -06:00
|
|
|
|
2020-03-18 04:11:59 -05:00
|
|
|
.peertube-container {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
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;
|
2018-09-03 18:28:04 -05:00
|
|
|
background-color: var(--mainBackgroundColor);
|
2020-03-13 09:30:23 -05:00
|
|
|
width: 100%;
|
2017-12-01 02:20:19 -06: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%;
|
2018-09-03 18:28:04 -05:00
|
|
|
background-color: var(--mainBackgroundColor);
|
2020-02-13 08:09:31 -06:00
|
|
|
z-index: z(header);
|
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 {
|
2020-02-21 14:25:27 -06:00
|
|
|
z-index: 1;
|
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;
|
2018-02-20 07:16:32 -06:00
|
|
|
min-width: 0;
|
2017-12-01 06:08:46 -06:00
|
|
|
|
|
|
|
.icon {
|
2018-05-09 01:30:03 -05:00
|
|
|
@include icon(24px);
|
2017-12-01 06:08:46 -06:00
|
|
|
|
|
|
|
&.icon-menu {
|
2018-09-03 18:28:04 -05:00
|
|
|
background-color: var(--mainForegroundColor);
|
|
|
|
mask-image: url('../assets/images/header/menu.svg');
|
2018-01-31 04:38:05 -06:00
|
|
|
margin: 0 18px 0 20px;
|
2017-04-26 14:22:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-16 09:09:58 -05:00
|
|
|
.peertube-title {
|
2018-02-20 07:16:32 -06:00
|
|
|
@include disable-default-a-behaviour;
|
2019-07-16 09:09:58 -05:00
|
|
|
|
2017-12-01 06:08:46 -06:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: $font-bold;
|
|
|
|
color: inherit !important;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-02-20 07:16:32 -06:00
|
|
|
overflow: hidden;
|
2017-12-01 06:08:46 -06:00
|
|
|
|
2018-02-20 07:16:32 -06:00
|
|
|
.instance-name {
|
2019-02-20 08:52:03 -06:00
|
|
|
@include ellipsis;
|
|
|
|
|
2018-02-20 07:16:32 -06:00
|
|
|
width: 100%;
|
|
|
|
}
|
2017-12-01 06:08:46 -06:00
|
|
|
|
|
|
|
.icon.icon-logo {
|
|
|
|
display: inline-block;
|
2017-12-04 04:04:08 -06:00
|
|
|
background: url('../assets/images/logo.svg') no-repeat;
|
2017-12-07 03:27:33 -06:00
|
|
|
width: 23px;
|
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
|
|
|
|
2020-02-03 15:33:28 -06:00
|
|
|
@media screen and (max-width: $mobile-view) {
|
2017-12-11 01:50:43 -06:00
|
|
|
width: 70px;
|
|
|
|
|
2019-07-16 09:09:58 -05:00
|
|
|
.peertube-title {
|
2017-05-01 11:05:28 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-02-20 09:13:05 -06:00
|
|
|
|
|
|
|
@media screen and (max-width: 350px) {
|
|
|
|
flex: auto;
|
|
|
|
}
|
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;
|
|
|
|
justify-content: flex-end;
|
2018-02-20 07:16:32 -06:00
|
|
|
white-space: nowrap;
|
2019-12-18 06:27:51 -06:00
|
|
|
flex: 1;
|
2017-04-26 14:22:00 -05:00
|
|
|
}
|
2017-04-21 11:26:09 -05:00
|
|
|
}
|
2020-05-28 04:15:38 -05: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
&.alert-#{$color} {
|
|
|
|
my-global-icon {
|
|
|
|
@include apply-svg-color(theme-color-level($color, $alert-color-level));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
::ng-deep {
|
|
|
|
p {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|