X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=ff6ce394fedeee48063317e8e6821f3c32858877;hb=b15fe00f7409b27573e162192530bc73e3f918b1;hp=89957704b319906cfd5a2ccd95e6f9bc0d28d69f;hpb=45e0d6697c107d77dce73d8e354867dc1959741d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 89957704b..ff6ce394f 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -25,6 +25,7 @@ body { // for css custom properties #{$var} --mainColor: #{$main-color}; --mainColorLighter: #{$main-color-lighter}; + --mainColorLightest: #{$main-color-lightest}; --mainHoverColor: #{$main-hover-color}; --mainBackgroundColor: #{$bg-color}; --mainForegroundColor: #{$fg-color}; @@ -37,6 +38,8 @@ body { --inputBackgroundColor: #{$input-background-color}; --inputPlaceholderColor: #{$input-placeholder-color}; + --textareaBackgroundColor: #{$textarea-background-color}; + --actionButtonColor: #{$grey-foreground-color}; --supportButtonBackgroundColor: #{transparent}; --supportButtonColor: #{var(--actionButtonColor)}; @@ -76,10 +79,6 @@ input, textarea { color: var(--mainForegroundColor); } -.btn-outline-secondary { - border-color: $input-border-color; -} - label { font-weight: $font-bold; font-size: 15px; @@ -106,9 +105,14 @@ label { color: black; } +.row { + margin: 0 !important; +} + .main-col { margin-left: $menu-width; - width: auto; + width: calc(100% - #{$menu-width}); + outline: none; .margin-content { margin-left: $not-expanded-horizontal-margins; @@ -130,6 +134,7 @@ label { // Override some properties if the main content is expanded (no menu on the left) &.expanded { margin-left: 0; + width: 100%; .margin-content { margin-left: $expanded-horizontal-margins; @@ -141,6 +146,16 @@ label { padding-right: $expanded-horizontal-margins; } } + + &.lock-scroll .main-row > router-outlet + * { + // Lock and hide body scrollbars + position: fixed; + + // Lock and hide sub-menu scrollbars + .sub-menu { + overflow-x: hidden; + } + } } .title-page { @@ -176,6 +191,7 @@ label { .title-page-about, .title-page-settings { + white-space: nowrap; font-size: 115%; font-weight: $font-regular; @@ -272,6 +288,7 @@ table { .sub-menu { padding-left: 50px; + padding-right: 50px; .title-page { font-size: 17px; @@ -296,10 +313,19 @@ table { overflow-x: auto; padding-left: 15px; padding-right: 15px; - margin-bottom: 10px; + margin-bottom: $sub-menu-margin-bottom-small-view; + } + + my-markdown-textarea { + .root { + max-width: 100% !important; + } } - input[type=text], input[type=password] { + input[type=text], + input[type=password], + input[type=email], + textarea { width: 100% !important; } }