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>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<a ngbNavLink i18n>Basic info</a>
|
||||
|
||||
<ng-template ngbNavContent>
|
||||
<div class="row">
|
||||
<div class="form-columns">
|
||||
<div class="col-video-edit">
|
||||
<div class="form-group">
|
||||
<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 'mixins';
|
||||
|
||||
|
@ -57,16 +51,14 @@ my-peertube-checkbox {
|
|||
}
|
||||
}
|
||||
|
||||
.captions {
|
||||
|
||||
.captions-header {
|
||||
text-align: right;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.create-caption {
|
||||
@include create-button;
|
||||
}
|
||||
}
|
||||
|
||||
.caption-entry {
|
||||
display: flex;
|
||||
|
@ -114,7 +106,6 @@ my-peertube-checkbox {
|
|||
text-align: center;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.submit-container {
|
||||
text-align: right;
|
||||
|
@ -143,35 +134,15 @@ p-calendar {
|
|||
}
|
||||
}
|
||||
|
||||
// columns for the video
|
||||
.col-video-edit {
|
||||
@include make-col-ready();
|
||||
.form-columns {
|
||||
display: grid;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include make-col(7);
|
||||
|
||||
+ .col-video-edit {
|
||||
@include make-col(5);
|
||||
}
|
||||
grid-template-columns: 66% 1fr;
|
||||
grid-gap: 30px;
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
}
|
||||
@include on-small-main-col {
|
||||
.form-columns {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue