X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fshared%2Fvideo-edit.component.scss;h=69b9072883ac33625d35b43c384ff5f9ae5db815;hb=67ed6552b831df66713bac9e672738796128d33f;hp=1b7bc56b4ac6216aae01f7ccedafb49f2e5ab8d4;hpb=a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss index 1b7bc56b4..69b907288 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss @@ -1,5 +1,11 @@ -@import '_variables'; -@import '_mixins'; +// 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'; label { font-weight: $font-regular; @@ -11,7 +17,7 @@ label { } .title-page a { - color: var(--mainForegroundColor); + color: pvar(--mainForegroundColor); &:hover { text-decoration: none; @@ -54,6 +60,7 @@ my-peertube-checkbox { .captions-header { text-align: right; + margin-bottom: 1rem; .create-caption { @include create-button; @@ -68,6 +75,7 @@ my-peertube-checkbox { a.caption-entry-label { @include disable-default-a-behaviour; + flex-grow: 1; color: #000; &:hover { @@ -114,7 +122,7 @@ my-peertube-checkbox { display: inline-block; margin-right: 25px; - color: $grey-foreground-color; + color: pvar(--greyForegroundColor); font-size: 15px; } @@ -153,4 +161,37 @@ p-calendar { } } -@include ng2-tags +@include ng2-tags; + +// 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); + } + } + } +}