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

149 lines
2.0 KiB
SCSS
Raw Normal View History

2021-05-27 17:45:36 +02:00
@use '_variables';
@use '_mixins';
2017-12-11 17:36:46 +01:00
label,
my-dynamic-form-field ::ng-deep label {
font-weight: $font-regular;
font-size: 100%;
}
2017-12-20 14:29:55 +01:00
.peertube-select-container {
@include peertube-select-container(auto);
}
.title-page a {
color: pvar(--mainForegroundColor);
&:hover {
text-decoration: none;
opacity: .8;
}
}
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
.form-group {
margin-bottom: 25px;
}
input {
@include peertube-input-text(100%);
display: block;
}
2017-12-20 15:36:29 +01:00
.label-tags + span {
font-size: 15px;
}
2018-02-20 16:13:05 +01:00
.advanced-settings .form-group {
margin-bottom: 20px;
}
2017-12-07 14:48:47 +01:00
}
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
.create-caption {
@include create-button;
}
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
flex-grow: 1;
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-size: 15px;
font-weight: bold;
width: 150px;
}
2021-05-07 14:08:35 +02:00
.caption-entry-state {
width: 200px;
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
}
}
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;
font-size: 15px;
}
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
font-size: 15px;
}
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;
}
}