X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-edit%2Fvideo-add.component.scss;h=1ebee946b71d3e686edf9299a952089e2613a31a;hb=7d026caf683e42fd57a243a3b52a5e4f476fbb4e;hp=0ad57d897927db026130a611472e137948cfeb01;hpb=1942f11d5ee6926ad93dc1b79fae18325ba5de18;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-edit/video-add.component.scss b/client/src/app/+videos/+video-edit/video-add.component.scss index 0ad57d897..1ebee946b 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.scss +++ b/client/src/app/+videos/+video-edit/video-add.component.scss @@ -6,8 +6,36 @@ $border-type: solid; $border-color: #EAEAEA; $nav-link-height: 40px; +.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; + } + } +} + .margin-content { - padding-top: 50px; + padding-top: 20px; } .alert { @@ -16,7 +44,7 @@ $nav-link-height: 40px; ::ng-deep .video-add-nav { border-bottom: $border-width $border-type $border-color; - margin: 50px 0 0 0 !important; + margin: 20px 0 0 0 !important; &.hide-nav { display: none !important; @@ -30,16 +58,25 @@ $nav-link-height: 40px; padding: 0 30px !important; font-size: 15px; + border: $border-width $border-type transparent; + + span { + border-bottom: 2px solid transparent; + } + &.active { - border: $border-width $border-type $border-color; - border-bottom: none; - background-color: pvar(--submenuColor) !important; + border-color: $border-color; + border-bottom-color: transparent; + background-color: pvar(--submenuBackgroundColor) !important; span { - border-bottom: 2px solid pvar(--mainColor); - font-weight: $font-bold; + border-bottom-color: pvar(--mainColor); } } + + &:hover:not(.active) { + border-color: transparent; + } } } @@ -47,7 +84,7 @@ $nav-link-height: 40px; border: $border-width $border-type $border-color; border-top: transparent; - background-color: pvar(--submenuColor); + background-color: pvar(--submenuBackgroundColor); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; width: 100%; @@ -55,7 +92,7 @@ $nav-link-height: 40px; padding-bottom: 20px; display: flex; justify-content: center; - align-items: center; + padding-top: 20px; &.dragover { border: 3px dashed pvar(--mainColor); @@ -71,7 +108,7 @@ $nav-link-height: 40px; /* Hide active tab style to not have a moving tab effect */ a.nav-link.active { - border: none; + border-color: transparent; background-color: pvar(--mainBackgroundColor) !important; } }