Refactor video edit css
This commit is contained in:
parent
a1bb73f9b5
commit
ce4b4495ff
|
@ -20,7 +20,7 @@
|
||||||
<my-global-icon iconName="search"></my-global-icon>
|
<my-global-icon iconName="search"></my-global-icon>
|
||||||
|
|
||||||
<ng-container i18n>
|
<ng-container i18n>
|
||||||
{{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for {{ search }}"
|
{{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for "{{ search }}"
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<a ngbNavLink i18n>Basic info</a>
|
<a ngbNavLink i18n>Basic info</a>
|
||||||
|
|
||||||
<ng-template ngbNavContent>
|
<ng-template ngbNavContent>
|
||||||
<div class="row">
|
<div class="form-columns">
|
||||||
<div class="col-video-edit">
|
<div class="col-video-edit">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label i18n for="name">Title</label>
|
<label i18n for="name">Title</label>
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
// 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 'variables';
|
||||||
@import 'mixins';
|
@import 'mixins';
|
||||||
|
|
||||||
|
@ -57,16 +51,14 @@ my-peertube-checkbox {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.captions {
|
|
||||||
|
|
||||||
.captions-header {
|
.captions-header {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.create-caption {
|
.create-caption {
|
||||||
@include create-button;
|
@include create-button;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.caption-entry {
|
.caption-entry {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -114,7 +106,6 @@ my-peertube-checkbox {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.submit-container {
|
.submit-container {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -143,35 +134,15 @@ p-calendar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// columns for the video
|
.form-columns {
|
||||||
.col-video-edit {
|
display: grid;
|
||||||
@include make-col-ready();
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
grid-template-columns: 66% 1fr;
|
||||||
@include make-col(7);
|
grid-gap: 30px;
|
||||||
|
|
||||||
+ .col-video-edit {
|
|
||||||
@include make-col(5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up(xl) {
|
@include on-small-main-col {
|
||||||
@include make-col(8);
|
.form-columns {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
+ .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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue