]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/class-helpers.scss
Prevent sass deprecated warning
[github/Chocobozzz/PeerTube.git] / client / src / sass / class-helpers.scss
index 2994a57ae8d809cc4d16d12f3b46a4965991cc28..72381d1a8952a759c9a9c5f17e73bffa5ca7f69c 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);
   @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;
 }
@@ -71,8 +79,8 @@
 
 .input-error:not(:focus) {
   &,
-  + .nav-preview, // Markdown textarea
-  + * + .tab-content {
+  + .nav-preview, // Markdown textarea
+  + * + .tab-content {
     border-color: $red !important;
   }
 }
@@ -85,6 +93,7 @@
 .form-warning {
   display: block;
   margin-top: 5px;
+  font-size: 0.9em;
 }
 
 .form-error {
 // Disable red error on input focus
 .input-error:focus,
 .input-group:focus-within {
-  + .form-error,
-  + * + .form-error, // Markdown textarea
-  + * + * + .form-error {
+  + .form-error,
+  + * + .form-error, // Markdown textarea
+  + * + * + .form-error {
     color: pvar(--mainForegroundColor);
   }
 }