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=2d0bfc36e60b058baa370e629ef66888385aecf9;hpb=27e1a06c331278e5d37bc5172ee7e4fc968e4b5e;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 2d0bfc36e..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,88 @@ 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 { + + .captions-header { + text-align: right; + + .create-caption { + @include create-button('../../../../assets/images/global/add.svg'); + } } - .form-group-checkbox { + .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; + margin-right: 25px; + + color: #585858; + font-size: 15px; + } .submit-button { @include peertube-button; @@ -54,6 +110,7 @@ background-color: inherit; border: none; padding: 0; + outline: 0; } .icon.icon-validate { @@ -68,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; } @@ -79,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 { @@ -104,6 +197,8 @@ padding-left: 6px !important; svg { + position: relative; + top: -1px; height: auto !important; vertical-align: middle !important; fill: #585858 !important; @@ -114,8 +209,3 @@ } } } - -.little-information { - font-size: 0.8em; - font-style: italic; -}