]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-edit/shared/video-edit.component.scss
Cleanup title-page CSS
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / shared / video-edit.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
63c4db6d 3
15a7387d
C
4.peertube-select-container {
5 @include peertube-select-container(auto);
6}
7
017c3dca
C
8my-peertube-checkbox {
9 display: block;
10 margin-bottom: 1rem;
11}
12
45c6bcf3
C
13.nav-tabs {
14 margin-bottom: 15px;
15}
16
4cc66133
C
17.video-edit {
18 height: 100%;
40e87e9e 19 min-height: 300px;
4cc66133 20
4cc66133
C
21 input {
22 @include peertube-input-text(100%);
23 display: block;
4cc66133 24 }
4cc66133
C
25}
26
ce4b4495 27.captions-header {
27bc9586 28 text-align: end;
ce4b4495
C
29 margin-bottom: 1rem;
30}
40e87e9e 31
ce4b4495
C
32.create-caption {
33 @include create-button;
34}
40e87e9e 35
ce4b4495
C
36.caption-entry {
37 display: flex;
38 height: 40px;
39 align-items: center;
40e87e9e 40
ce4b4495
C
41 a.caption-entry-label {
42 @include disable-default-a-behaviour;
772d5642 43
ce4b4495
C
44 flex-grow: 1;
45 color: #000;
772d5642 46
ce4b4495
C
47 &:hover {
48 opacity: 0.8;
772d5642 49 }
ce4b4495 50 }
772d5642 51
ce4b4495 52 .caption-entry-label {
27bc9586
C
53 @include margin-right(20px);
54
ce4b4495 55 font-weight: bold;
ce4b4495
C
56 width: 150px;
57 }
772d5642 58
ce4b4495
C
59 .caption-entry-state {
60 width: 200px;
772d5642 61
ce4b4495
C
62 &.caption-entry-state-create {
63 color: #39CC0B;
40e87e9e
C
64 }
65
ce4b4495
C
66 &.caption-entry-state-delete {
67 color: #FF0000;
40e87e9e
C
68 }
69 }
70
57d74ec8 71 .caption-entry-edit {
72 @include peertube-button;
73 }
74
ce4b4495
C
75 .caption-entry-delete {
76 @include peertube-button;
77 @include grey-button;
40e87e9e
C
78 }
79}
80
ce4b4495
C
81.no-caption {
82 text-align: center;
ce4b4495
C
83}
84
4cc66133 85.submit-container {
27bc9586 86 text-align: end;
4cc66133 87
cadb46d8 88 .message-submit {
27bc9586 89 @include margin-right(25px);
cadb46d8 90
27bc9586 91 display: inline-block;
e66883b3 92 color: pvar(--greyForegroundColor);
cadb46d8 93 }
4cc66133
C
94}
95
bbe0f064
C
96p-calendar {
97 display: block;
98
03652b31 99 ::ng-deep {
4f926722 100 .p-calendar {
bbe0f064
C
101 width: 100%;
102 }
103
4f926722 104 .p-inputtext {
bbe0f064
C
105 @include peertube-input-text(100%);
106 color: #000;
107 }
108 }
109}
110
ce4b4495
C
111.form-columns {
112 display: grid;
6f02515e 113
ce4b4495
C
114 grid-template-columns: 66% 1fr;
115 grid-gap: 30px;
6f02515e
RK
116}
117
ce4b4495
C
118@include on-small-main-col {
119 .form-columns {
120 grid-template-columns: 1fr;
6f02515e
RK
121 }
122}