]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-edit/shared/video-edit.component.scss
Add ability to list all local videos on client
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / shared / video-edit.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
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
4cc66133
C
13.video-edit {
14 height: 100%;
40e87e9e 15 min-height: 300px;
4cc66133
C
16
17 .form-group {
18 margin-bottom: 25px;
19 }
20
21 input {
22 @include peertube-input-text(100%);
23 display: block;
4cc66133
C
24 }
25
4cc66133
C
26 input, select {
27 font-size: 15px
28 }
29
cb9244de
C
30 .label-tags + span {
31 font-size: 15px;
32 }
6de36768 33
07fa4c97
C
34 .advanced-settings .form-group {
35 margin-bottom: 20px;
36 }
4cc66133
C
37}
38
40e87e9e
C
39.captions {
40
41 .captions-header {
42 text-align: right;
43
44 .create-caption {
45 @include create-button('../../../../assets/images/global/add.svg');
46 }
47 }
48
49 .caption-entry {
50 display: flex;
51 height: 40px;
52 align-items: center;
53
772d5642
C
54 a.caption-entry-label {
55 @include disable-default-a-behaviour;
56
57 color: #000;
58
59 &:hover {
60 opacity: 0.8;
61 }
62 }
63
40e87e9e
C
64 .caption-entry-label {
65 font-size: 15px;
66 font-weight: bold;
67
68 margin-right: 20px;
772d5642
C
69 width: 150px;
70 }
71
72 .caption-entry-state {
73 width: 200px;
74
75 &.caption-entry-state-create {
76 color: #39CC0B;
77 }
78
79 &.caption-entry-state-delete {
80 color: #FF0000;
81 }
40e87e9e
C
82 }
83
84 .caption-entry-delete {
85 @include peertube-button;
86 @include grey-button;
87 }
88 }
89
90 .no-caption {
91 text-align: center;
92 font-size: 15px;
93 }
94}
95
4cc66133
C
96.submit-container {
97 text-align: right;
4cc66133 98
cadb46d8
C
99 .message-submit {
100 display: inline-block;
101 margin-right: 25px;
102
103 color: #585858;
104 font-size: 15px;
105 }
106
4cc66133
C
107 .submit-button {
108 @include peertube-button;
109 @include orange-button;
110
111 display: inline-block;
112
113 input {
114 cursor: inherit;
115 background-color: inherit;
116 border: none;
117 padding: 0;
cadb46d8 118 outline: 0;
63347a0f
C
119 color: inherit;
120 font-weight: $font-semibold;
4cc66133
C
121 }
122
123 .icon.icon-validate {
124 @include icon(20px);
125
126 cursor: inherit;
127 position: relative;
128 top: -1px;
129 margin-right: 4px;
130 background-image: url('../../../../assets/images/global/validate.svg');
131 }
132 }
133}
134
bbe0f064
C
135p-calendar {
136 display: block;
137
138 /deep/ {
139 input,
140 .ui-calendar {
141 width: 100%;
142 }
143
144 input {
145 @include peertube-input-text(100%);
146 color: #000;
147 }
148 }
149}
150
4cc66133 151/deep/ {
bbe0f064 152 .root-tabset > .nav {
bbe0f064 153 margin-bottom: 15px;
bbe0f064
C
154 }
155
4cc66133
C
156 .ng2-tag-input {
157 border: none !important;
158 }
159
160 .ng2-tags-container {
161 display: flex;
162 align-items: center;
163 border: 1px solid #C6C6C6;
164 border-radius: 3px;
165 padding: 5px !important;
cb9244de
C
166 height: 40px;
167 }
168
169 tag-input-form {
170 input {
171 height: 30px !important;
1fd3ef3f
RK
172
173 background-color: var(--mainBackgroundColor) !important;
174 color: var(--mainForegroundColor) !important;
cb9244de 175 }
4cc66133
C
176 }
177
178 tag {
1fd3ef3f 179 background-color: var(--inputColor) !important;
4cc66133
C
180 border-radius: 3px !important;
181 font-size: 15px !important;
1fd3ef3f 182 color: var(--mainForegroundColor) !important;
4cc66133
C
183 height: 30px !important;
184 line-height: 30px !important;
185 margin: 0 5px 0 0 !important;
186 cursor: default !important;
187 padding: 0 8px 0 10px !important;
188
189 div {
190 height: 100% !important;
191 }
192 }
193
194 delete-icon {
195 cursor: pointer !important;
196 height: auto !important;
197 vertical-align: middle !important;
198 padding-left: 6px !important;
199
200 svg {
cb9244de
C
201 position: relative;
202 top: -1px;
4cc66133
C
203 height: auto !important;
204 vertical-align: middle !important;
205 fill: #585858 !important;
206 }
207
208 &:hover {
209 transform: none !important;
210 }
211 }
212}