X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fshared%2Fvideo-edit.component.scss;h=de800b03f3fa712267275da36d29462763f09362;hb=6f02515e2aff2a8750ad3515b23b345f01c64ab2;hp=90d26e13d7da943066b3652e75888cb7a4b84d07;hpb=45c6bcf312d2e9578501eaaf7511183bc570fe91;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 90d26e13d..de800b03f 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,16 @@ -@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; + font-size: 100%; +} .peertube-select-container { @include peertube-select-container(auto); @@ -49,6 +60,7 @@ my-peertube-checkbox { .captions-header { text-align: right; + margin-bottom: 1rem; .create-caption { @include create-button; @@ -63,6 +75,7 @@ my-peertube-checkbox { a.caption-entry-label { @include disable-default-a-behaviour; + flex-grow: 1; color: #000; &:hover { @@ -148,65 +161,49 @@ p-calendar { } } -::ng-deep { - .ng2-tag-input { - border: none !important; - } +::ng-deep my-markdown-textarea { + .root { + @include media-breakpoint-down(xl) { + flex-direction: column !important; + } - .ng2-tags-container { - display: flex; - align-items: center; - border: 1px solid #C6C6C6; - border-radius: 3px; - padding: 5px !important; - height: max-content; + textarea { + max-width: 100%; + } } +} - tag-input-form { - input { - height: 30px !important; - font-size: 12px !important; +@include ng2-tags; - background-color: var(--mainBackgroundColor) !important; - color: var(--mainForegroundColor) !important; - } - } +// columns for the video +.col-video-edit { + @include make-col-ready(); - tag { - background-color: $grey-background-color !important; - color: #000 !important; - border-radius: 3px !important; - font-size: 12px !important; - height: 30px !important; - line-height: 30px !important; - margin: 0 5px 0 0 !important; - cursor: default !important; - padding: 0 8px 0 10px !important; - - div { - height: 100% !important; + @include media-breakpoint-up(md) { + @include make-col(7); + + & + .col-video-edit { + @include make-col(5); } } - delete-icon { - cursor: pointer !important; - height: auto !important; - vertical-align: middle !important; - padding-left: 6px !important; - - svg { - position: relative; - top: -1px; - height: auto !important; - vertical-align: middle !important; + @include media-breakpoint-up(xl) { + @include make-col(8); - path { - fill: $grey-foreground-color !important; - } + & + .col-video-edit { + @include make-col(4); } + } +} - &:hover { - transform: none !important; +:host-context(.expanded) { + .col-video-edit { + @include media-breakpoint-up(md) { + @include make-col(8); + + & + .col-video-edit { + @include make-col(4); + } } } }