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