1
0
Fork 0
peertube/client/src/app/videos/+video-edit/video-add.component.scss

90 lines
1.8 KiB
SCSS
Raw Normal View History

2017-12-11 16:36:46 +00:00
@import '_variables';
@import '_mixins';
$border-width: 3px;
$border-type: solid;
$border-color: #EAEAEA;
$nav-link-height: 40px;
2017-12-07 15:32:06 +00:00
.margin-content {
padding-top: 50px;
}
.alert {
font-size: 15px;
}
::ng-deep .video-add-nav {
border-bottom: $border-width $border-type $border-color;
margin: 50px 0 0 0 !important;
2020-04-03 09:46:43 +00:00
&.hide-nav {
display: none !important;
}
a.nav-link {
@include disable-default-a-behaviour;
margin-bottom: -$border-width;
height: $nav-link-height !important;
padding: 0 30px !important;
font-size: 15px;
&.active {
border: $border-width $border-type $border-color;
border-bottom: none;
background-color: var(--submenuColor) !important;
span {
border-bottom: 2px solid var(--mainColor);
font-weight: $font-bold;
2017-12-08 07:39:15 +00:00
}
2017-12-07 16:56:59 +00:00
}
}
}
2017-12-07 16:56:59 +00:00
::ng-deep .upload-video-container {
border: $border-width $border-type $border-color;
border-top: transparent;
background-color: var(--submenuColor);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
width: 100%;
min-height: 440px;
padding-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
&.dragover {
border: 3px dashed var(--mainColor);
}
2019-07-24 14:12:35 +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 {
border: none;
background-color: var(--mainBackgroundColor) !important;
}
}
}
/* 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();
}
}