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

197 lines
3.0 KiB
SCSS
Raw Normal View History

// Bootstrap grid utilities require functions, variables and mixins
@import 'node_modules/bootstrap/scss/functions';
@import 'node_modules/bootstrap/scss/variables';
@import 'node_modules/bootstrap/scss/mixins';
@import 'node_modules/bootstrap/scss/grid';
@import 'variables';
@import '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
}
2018-07-12 19:02:00 +02:00
.captions {
.captions-header {
text-align: right;
margin-bottom: 1rem;
2018-07-12 19:02:00 +02:00
.create-caption {
@include create-button;
2018-07-12 19:02:00 +02:00
}
}
.caption-entry {
display: flex;
height: 40px;
align-items: center;
a.caption-entry-label {
@include disable-default-a-behaviour;
flex-grow: 1;
color: #000;
&:hover {
opacity: 0.8;
}
}
2018-07-12 19:02:00 +02:00
.caption-entry-label {
font-size: 15px;
font-weight: bold;
margin-right: 20px;
width: 150px;
}
.caption-entry-state {
width: 200px;
&.caption-entry-state-create {
color: #39CC0B;
}
&.caption-entry-state-delete {
color: #FF0000;
}
2018-07-12 19:02:00 +02:00
}
.caption-entry-delete {
@include peertube-button;
@include grey-button;
}
}
.no-caption {
text-align: center;
font-size: 15px;
}
}
2017-12-07 14:48:47 +01:00
.submit-container {
text-align: right;
2017-12-08 08:39:15 +01:00
.message-submit {
display: inline-block;
margin-right: 25px;
color: pvar(--greyForegroundColor);
2017-12-08 08:39:15 +01:00
font-size: 15px;
}
2017-12-07 14:48:47 +01:00
.submit-button {
@include peertube-button;
@include orange-button;
@include button-with-icon(20px, 1px);
2017-12-07 14:48:47 +01:00
display: inline-block;
input {
cursor: inherit;
background-color: inherit;
border: none;
padding: 0;
2017-12-08 08:39:15 +01:00
outline: 0;
color: inherit;
font-weight: $font-semibold;
2017-12-07 14:48:47 +01:00
}
}
}
p-calendar {
display: block;
2019-07-24 16:12:35 +02:00
::ng-deep {
input,
.ui-calendar {
width: 100%;
}
input {
@include peertube-input-text(100%);
color: #000;
}
}
}
// columns for the video
.col-video-edit {
@include make-col-ready();
@include media-breakpoint-up(md) {
@include make-col(7);
& + .col-video-edit {
@include make-col(5);
}
}
@include media-breakpoint-up(xl) {
@include make-col(8);
& + .col-video-edit {
@include make-col(4);
}
}
}
:host-context(.expanded) {
.col-video-edit {
@include media-breakpoint-up(md) {
@include make-col(8);
& + .col-video-edit {
@include make-col(4);
}
}
}
}