X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fclass-helpers.scss;h=72381d1a8952a759c9a9c5f17e73bffa5ca7f69c;hb=d8100ba619b73d33a15de3c02b695997f1766c0a;hp=87ad6a45d9d9bf137fba5c2d5507efdd2f92a120;hpb=714e33a7428b71ef98129ce85a4bd64140bcd912;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index 87ad6a45d..72381d1a8 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss @@ -5,10 +5,10 @@ .link-orange { color: pvar(--mainForegroundColor); - font-weight: $font-bold; - border-bottom: 0.19em solid pvar(--mainColor); + font-weight: $font-semibold; + border-bottom: 0.18em solid pvar(--mainColor); display: inline-block; - line-height: 1.2; + line-height: 1.1; &:hover { color: pvar(--mainForegroundColor); @@ -27,10 +27,18 @@ @include peertube-button; } +.peertube-button-big { + @include peertube-button-big; +} + .peertube-button-link { @include peertube-button-link; } +.peertube-button-big-link { + @include peertube-button-big-link; +} + .orange-button { @include orange-button; } @@ -70,21 +78,36 @@ } .input-error:not(:focus) { - border-color: $red !important; + &, + + .nav-preview, // Markdown textarea + + * + .tab-content { + border-color: $red !important; + } +} + +.input-group .input-error { + z-index: 3; } .form-error, .form-warning { display: block; margin-top: 5px; + font-size: 0.9em; } .form-error { color: $red; } -.input-error:focus + .form-error { - color: pvar(--mainForegroundColor); +// Disable red error on input focus +.input-error:focus, +.input-group:focus-within { + + .form-error, + + * + .form-error, // Markdown textarea + + * + * + .form-error { + color: pvar(--mainForegroundColor); + } } .form-group-description {