]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/class-helpers.scss
Registration css fixes
[github/Chocobozzz/PeerTube.git] / client / src / sass / class-helpers.scss
index 87ad6a45d9d9bf137fba5c2d5507efdd2f92a120..c67179ccb8111d04c895790815e10134ad95cca1 100644 (file)
@@ -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);
 }
 
 .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 {