2021-05-27 16:25:00 +00:00
|
|
|
@use '_variables' as *;
|
|
|
|
@use '_mixins' as *;
|
2017-12-11 16:36:46 +00:00
|
|
|
|
2018-08-02 13:34:09 +00:00
|
|
|
$border-width: 3px;
|
|
|
|
$border-type: solid;
|
|
|
|
$border-color: #EAEAEA;
|
2020-04-27 06:59:19 +00:00
|
|
|
$nav-link-height: 40px;
|
2017-12-07 15:32:06 +00:00
|
|
|
|
2020-07-28 13:18:38 +00:00
|
|
|
.no-upload {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.about-link {
|
|
|
|
@include peertube-button-link;
|
|
|
|
@include orange-button;
|
|
|
|
|
|
|
|
height: fit-content;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 75px;
|
|
|
|
width: 220px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-height: 600px) {
|
|
|
|
img {
|
|
|
|
margin-top: 5px;
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-10 09:02:23 +00:00
|
|
|
.margin-content {
|
2020-07-24 06:53:25 +00:00
|
|
|
padding-top: 20px;
|
2019-12-10 09:02:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
2020-04-01 14:52:59 +00:00
|
|
|
::ng-deep .video-add-nav {
|
|
|
|
border-bottom: $border-width $border-type $border-color;
|
2021-04-28 14:41:07 +00:00
|
|
|
margin: 20px 0 0 !important;
|
2020-04-01 14:52:59 +00:00
|
|
|
|
2020-04-03 09:46:43 +00:00
|
|
|
&.hide-nav {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2020-04-01 14:52:59 +00:00
|
|
|
a.nav-link {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
margin-bottom: -$border-width;
|
2020-04-27 06:59:19 +00:00
|
|
|
height: $nav-link-height !important;
|
2020-04-01 14:52:59 +00:00
|
|
|
padding: 0 30px !important;
|
|
|
|
font-size: 15px;
|
|
|
|
|
2020-07-23 13:09:15 +00:00
|
|
|
border: $border-width $border-type transparent;
|
|
|
|
|
|
|
|
span {
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2020-04-01 14:52:59 +00:00
|
|
|
&.active {
|
2020-07-23 13:09:15 +00:00
|
|
|
border-color: $border-color;
|
|
|
|
border-bottom-color: transparent;
|
2021-03-31 07:07:25 +00:00
|
|
|
background-color: pvar(--submenuBackgroundColor) !important;
|
2020-04-01 14:52:59 +00:00
|
|
|
|
|
|
|
span {
|
2020-07-23 13:09:15 +00:00
|
|
|
border-bottom-color: pvar(--mainColor);
|
2017-12-08 07:39:15 +00:00
|
|
|
}
|
2017-12-07 16:56:59 +00:00
|
|
|
}
|
2020-07-23 13:09:15 +00:00
|
|
|
|
|
|
|
&:hover:not(.active) {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
2017-12-07 16:56:59 +00:00
|
|
|
}
|
2020-04-01 14:52:59 +00:00
|
|
|
}
|
2017-12-07 16:56:59 +00:00
|
|
|
|
2020-04-01 14:52:59 +00:00
|
|
|
::ng-deep .upload-video-container {
|
|
|
|
border: $border-width $border-type $border-color;
|
2020-04-02 22:22:04 +00:00
|
|
|
border-top: transparent;
|
2020-04-01 14:52:59 +00:00
|
|
|
|
2021-03-31 07:07:25 +00:00
|
|
|
background-color: pvar(--submenuBackgroundColor);
|
2020-04-02 22:22:04 +00:00
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2020-04-01 14:52:59 +00:00
|
|
|
width: 100%;
|
|
|
|
min-height: 440px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2020-07-24 06:53:25 +00:00
|
|
|
padding-top: 20px;
|
2020-04-02 22:22:04 +00:00
|
|
|
|
|
|
|
&.dragover {
|
2020-06-09 07:33:28 +00:00
|
|
|
border: 3px dashed pvar(--mainColor);
|
2020-04-02 22:22:04 +00:00
|
|
|
}
|
2019-07-24 14:12:35 +00:00
|
|
|
}
|
2020-04-27 06:59:19 +00:00
|
|
|
|
|
|
|
@mixin nav-scroll {
|
|
|
|
::ng-deep .video-add-nav {
|
|
|
|
height: #{$nav-link-height + $border-width * 2};
|
|
|
|
overflow-x: auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
flex-wrap: unset;
|
|
|
|
|
|
|
|
/* Hide active tab style to not have a moving tab effect */
|
|
|
|
a.nav-link.active {
|
2020-07-23 13:09:15 +00:00
|
|
|
border-color: transparent;
|
2020-06-09 07:33:28 +00:00
|
|
|
background-color: pvar(--mainBackgroundColor) !important;
|
2020-04-27 06:59:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make .video-add-nav tabs scrollable on small devices */
|
|
|
|
@media screen and (max-width: $small-view) {
|
|
|
|
@include nav-scroll();
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: #{$small-view + $menu-width}) {
|
|
|
|
:host-context(.main-col:not(.expanded)) {
|
|
|
|
@include nav-scroll();
|
|
|
|
}
|
|
|
|
}
|