PeerTube/client/src/app/+videos/+video-edit/shared/video-edit.component.scss

120 lines
1.6 KiB
SCSS
Raw Normal View History

2021-05-27 18:25:00 +02:00
@use '_variables' as *;
@use '_mixins' as *;
2017-12-11 17:36:46 +01:00
2017-12-20 14:29:55 +01:00
.peertube-select-container {
@include peertube-select-container(auto);
}
my-peertube-checkbox {
display: block;
margin-bottom: 1rem;
}
.nav-tabs {
margin-bottom: 15px;
}
2017-12-07 14:48:47 +01:00
.video-edit {
height: 100%;
2018-07-12 19:02:00 +02:00
min-height: 300px;
2017-12-07 14:48:47 +01:00
input {
@include peertube-input-text(100%);
display: block;
}
}
2021-05-07 14:08:35 +02:00
.captions-header {
2021-06-07 17:38:31 +02:00
text-align: end;
2021-05-07 14:08:35 +02:00
margin-bottom: 1rem;
}
2018-07-12 19:02:00 +02:00
2021-05-07 14:08:35 +02:00
.caption-entry {
display: flex;
height: 40px;
align-items: center;
2018-07-12 19:02:00 +02:00
2021-05-07 14:08:35 +02:00
a.caption-entry-label {
@include disable-default-a-behaviour;
2021-05-07 14:08:35 +02:00
color: #000;
2021-05-07 14:08:35 +02:00
&:hover {
opacity: 0.8;
}
2021-05-07 14:08:35 +02:00
}
2021-05-07 14:08:35 +02:00
.caption-entry-label {
2021-06-07 17:38:31 +02:00
@include margin-right(20px);
2021-05-07 14:08:35 +02:00
font-weight: bold;
min-width: 100px;
2021-05-07 14:08:35 +02:00
}
2021-05-07 14:08:35 +02:00
.caption-entry-state {
@include margin-right(15px);
min-width: 250px;
2021-05-07 14:08:35 +02:00
&.caption-entry-state-create {
color: #39CC0B;
2018-07-12 19:02:00 +02:00
}
2021-05-07 14:08:35 +02:00
&.caption-entry-state-delete {
color: #FF0000;
2018-07-12 19:02:00 +02:00
}
}
.caption-entry-edit {
@include peertube-button;
}
2021-05-07 14:08:35 +02:00
.caption-entry-delete {
@include peertube-button;
@include grey-button;
2018-07-12 19:02:00 +02:00
}
}
2021-05-07 14:08:35 +02:00
.no-caption {
text-align: center;
}
2017-12-07 14:48:47 +01:00
.submit-container {
2021-06-07 17:38:31 +02:00
text-align: end;
2017-12-07 14:48:47 +01:00
2017-12-08 08:39:15 +01:00
.message-submit {
2021-06-07 17:38:31 +02:00
@include margin-right(25px);
2017-12-08 08:39:15 +01:00
2021-06-07 17:38:31 +02:00
display: inline-block;
color: pvar(--greyForegroundColor);
2017-12-08 08:39:15 +01:00
}
2017-12-07 14:48:47 +01:00
}
p-calendar {
display: block;
2019-07-24 16:12:35 +02:00
::ng-deep {
.p-calendar {
width: 100%;
}
.p-inputtext {
@include peertube-input-text(100%);
color: #000;
}
}
}
2021-05-07 14:08:35 +02:00
.form-columns {
display: grid;
2021-05-07 14:08:35 +02:00
grid-template-columns: 66% 1fr;
grid-gap: 30px;
}
2021-05-07 14:08:35 +02:00
@include on-small-main-col {
.form-columns {
grid-template-columns: 1fr;
}
}