X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fshared%2Fvideo-edit.component.scss;h=f3d9ee44acdd60a235a87938a466138d3ee604d9;hb=ad77475251c3516dd5851a08655be79d7bf76245;hp=d363499ce1c7147ec6f829e5eb4366e76e81e6b9;hpb=cadb46d832724ea1a17b085b992142aa32e212be;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 d363499ce..f3d9ee44a 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,13 @@ +@import '_variables'; +@import '_mixins'; + +.peertube-select-container { + @include peertube-select-container(auto); +} + .video-edit { height: 100%; + min-height: 300px; .form-group { margin-bottom: 25px; @@ -8,40 +16,80 @@ input { @include peertube-input-text(100%); display: block; + } - &[type=checkbox] { - outline: 0; - } + input, select { + font-size: 15px } - select { - @include peertube-select(100%); + .label-tags + span { + font-size: 15px; } - input, select { - font-size: 15px + .advanced-settings .form-group { + margin-bottom: 20px; } +} + +.captions { - .form-group-checkbox { + .captions-header { + text-align: right; + + .create-caption { + @include create-button('../../../../assets/images/global/add.svg'); + } + } + + .caption-entry { display: flex; + height: 40px; align-items: center; - label { - font-weight: $font-regular; - margin: 0; + a.caption-entry-label { + @include disable-default-a-behaviour; + + color: #000; + + &:hover { + opacity: 0.8; + } } - input { - width: 10px; - margin-right: 10px; + .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; + } } + + .caption-entry-delete { + @include peertube-button; + @include grey-button; + } + } + + .no-caption { + text-align: center; + font-size: 15px; } } .submit-container { text-align: right; - position: relative; - bottom: $button-height; .message-submit { display: inline-block; @@ -77,7 +125,35 @@ } } +p-calendar { + display: block; + + /deep/ { + input, + .ui-calendar { + width: 100%; + } + + input { + @include peertube-input-text(100%); + color: #000; + } + } +} + /deep/ { + .root-tabset > .nav { + margin-left: 15px; + margin-bottom: 15px; + + .nav-link { + display: flex !important; + align-items: center; + height: 30px !important; + padding: 0 15px !important; + } + } + .ng2-tag-input { border: none !important; } @@ -88,6 +164,14 @@ border: 1px solid #C6C6C6; border-radius: 3px; padding: 5px !important; + height: 40px; + } + + tag-input-form { + input { + height: 30px !important; + background-color: #fff !important; + } } tag { @@ -113,6 +197,8 @@ padding-left: 6px !important; svg { + position: relative; + top: -1px; height: auto !important; vertical-align: middle !important; fill: #585858 !important; @@ -123,8 +209,3 @@ } } } - -.little-information { - font-size: 0.8em; - font-style: italic; -}