]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-edit/video-add.component.scss
Update translations
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-add.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
384ba8b7 3@use '_nav' as *;
63c4db6d 4
fbad87b0
C
5$border-width: 3px;
6$border-type: solid;
7$border-color: #EAEAEA;
9181bc0c 8$nav-link-height: 40px;
27e1a06c 9
4e1592da 10.upload-message {
dfe3f7b7
K
11 width: 100%;
12 text-align: center;
4e1592da 13 margin-bottom: 0;
52a354ab 14 border-radius: 0;
4e1592da
MK
15
16 &:last-child {
17 margin-bottom: 1rem;
18 }
dfe3f7b7 19
4e1592da
MK
20 .about-link,
21 .contact-link {
dfe3f7b7
K
22 @include peertube-button-link;
23 @include orange-button;
24
25 height: fit-content;
26 margin-top: 10px;
27 }
4e1592da
MK
28}
29
30.upload-image {
31 width: 100%;
32 text-align: center;
dfe3f7b7
K
33
34 img {
35 margin-top: 10px;
36 margin-bottom: 75px;
37 width: 220px;
38 height: auto;
39 }
40
41 @media screen and (max-height: 600px) {
42 img {
43 margin-top: 5px;
44 width: 160px;
45 }
46 }
47}
48
cd3d847d 49.margin-content {
2e7f2627 50 padding-top: 20px;
cd3d847d
C
51}
52
45c6bcf3 53::ng-deep .video-add-nav {
384ba8b7 54 @include peertube-nav-tabs($border-width, $border-type, $border-color, $nav-link-height);
23f1b9da 55
45c6bcf3 56 a.nav-link {
45c6bcf3 57 &.active {
218f730c 58 background-color: pvar(--submenuBackgroundColor) !important;
ed5bb517 59 }
c182778e 60 }
45c6bcf3 61}
c182778e 62
45c6bcf3
C
63::ng-deep .upload-video-container {
64 border: $border-width $border-type $border-color;
c9ff8a08 65 border-top: transparent;
45c6bcf3 66
218f730c 67 background-color: pvar(--submenuBackgroundColor);
c9ff8a08
RK
68 border-bottom-left-radius: 3px;
69 border-bottom-right-radius: 3px;
45c6bcf3
C
70 width: 100%;
71 min-height: 440px;
72 padding-bottom: 20px;
73 display: flex;
74 justify-content: center;
2e7f2627 75 padding-top: 20px;
c9ff8a08
RK
76
77 &.dragover {
e66883b3 78 border: 3px dashed pvar(--mainColor);
c9ff8a08 79 }
03652b31 80}
9181bc0c
K
81
82@mixin nav-scroll {
83 ::ng-deep .video-add-nav {
84 height: #{$nav-link-height + $border-width * 2};
85 overflow-x: auto;
86 white-space: nowrap;
87 flex-wrap: unset;
88
89 /* Hide active tab style to not have a moving tab effect */
90 a.nav-link.active {
ed5bb517 91 border-color: transparent;
e66883b3 92 background-color: pvar(--mainBackgroundColor) !important;
9181bc0c
K
93 }
94 }
95}
96
97/* Make .video-add-nav tabs scrollable on small devices */
98@media screen and (max-width: $small-view) {
99 @include nav-scroll();
100}
101
102@media screen and (max-width: #{$small-view + $menu-width}) {
103 :host-context(.main-col:not(.expanded)) {
104 @include nav-scroll();
105 }
106}