From d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 15:27:15 +0200 Subject: Fix lint --- client/src/sass/class-helpers/_buttons.scss | 11 +++++++++++ client/src/sass/class-helpers/_common.scss | 6 +++++- client/src/sass/include/_mixins.scss | 6 ------ 3 files changed, 16 insertions(+), 7 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/class-helpers/_buttons.scss b/client/src/sass/class-helpers/_buttons.scss index fdbf6f9d2..5079492d6 100644 --- a/client/src/sass/class-helpers/_buttons.scss +++ b/client/src/sass/class-helpers/_buttons.scss @@ -39,3 +39,14 @@ .peertube-button-icon { @include button-with-icon(18px, 3px, -1px); } + +.peertube-create-button { + @include peertube-button-link; + @include orange-button; + @include button-with-icon(20px, 5px, -1px); +} + +.button-unstyle { + padding: 0; + border: 0; +} diff --git a/client/src/sass/class-helpers/_common.scss b/client/src/sass/class-helpers/_common.scss index e42d7d587..90fc7e299 100644 --- a/client/src/sass/class-helpers/_common.scss +++ b/client/src/sass/class-helpers/_common.scss @@ -48,11 +48,15 @@ border-radius: 0.25rem; position: relative; - >label { + > .callout-title { position: relative; top: -5px; left: -10px; color: #6c757d !important; + font-size: 1rem; + font-weight: $font-bold; + margin-bottom: 0.5rem; + line-height: inherit; } &:not(.callout-light) { diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 1ce584f9b..7a100a53d 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -604,12 +604,6 @@ margin-bottom: 10px; } -@mixin create-button { - @include peertube-button-link; - @include orange-button; - @include button-with-icon(20px, 5px, -1px); -} - @mixin row-blocks ($column-responsive: true, $min-height: 130px, $separator: true) { display: flex; min-height: $min-height; -- cgit v1.2.3