X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=a0009eecc5bfb22b8854e00823abf02d104946a3;hb=9119322081977e7545cd0e5fbc9fddfef7e7e2ec;hp=1456eac6f0c36dd35123ad3ed90010cfa797f902;hpb=c29039e7c070b23db5aeb52be6902d271f7dcfe6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 1456eac6f..a0009eecc 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -21,7 +21,7 @@ $assets-path: '../../assets/'; body { /*** theme ***/ - // now beware node-sass requires interpolation + // now beware sass requires interpolation // for css custom properties #{$var} --mainColor: #{$main-color}; --mainColorLighter: #{$main-color-lighter}; @@ -71,12 +71,12 @@ body { background-color: pvar(--mainHoverColor); } +noscript, #incompatible-browser { - display: none; - text-align: center; - position: absolute; - width: 100%; - top: 45%; + display: block; + font-size: 1.2rem; + max-width: 600px; + margin: 1rem auto; } strong { @@ -90,7 +90,7 @@ input.readonly { input, textarea { outline: none; - color: pvar(--mainForegroundColor); + color: pvar(--inputForegroundColor); } button { @@ -105,6 +105,7 @@ label { code { background-color: pvar(--greyBackgroundColor); + color: pvar(--greyForegroundColor); border-radius: 3px; padding: .2em .4em; margin: auto .4em; @@ -119,7 +120,8 @@ code { margin-top: 5px; } -.input-error { +.input-error +my-input-toggle-hidden ::ng-deep input { border-color: $red !important; } @@ -261,7 +263,7 @@ code { opacity: 0.6; &.active { - background-color: #f0f0f0; + background-color: pvar(--submenuColor); } &.active, &:hover, &:active, &:focus { @@ -330,6 +332,10 @@ table { margin-top: 10px; } +ngx-loading-bar { + z-index: z(header) + 1 !important; +} + @media screen and (max-width: #{breakpoint(xxl)}) { .main-col { &.expanded {