diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/sass/class-helpers | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip |
Fix lint
Diffstat (limited to 'client/src/sass/class-helpers')
-rw-r--r-- | client/src/sass/class-helpers/_buttons.scss | 11 | ||||
-rw-r--r-- | client/src/sass/class-helpers/_common.scss | 6 |
2 files changed, 16 insertions, 1 deletions
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 @@ | |||
39 | .peertube-button-icon { | 39 | .peertube-button-icon { |
40 | @include button-with-icon(18px, 3px, -1px); | 40 | @include button-with-icon(18px, 3px, -1px); |
41 | } | 41 | } |
42 | |||
43 | .peertube-create-button { | ||
44 | @include peertube-button-link; | ||
45 | @include orange-button; | ||
46 | @include button-with-icon(20px, 5px, -1px); | ||
47 | } | ||
48 | |||
49 | .button-unstyle { | ||
50 | padding: 0; | ||
51 | border: 0; | ||
52 | } | ||
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 @@ | |||
48 | border-radius: 0.25rem; | 48 | border-radius: 0.25rem; |
49 | position: relative; | 49 | position: relative; |
50 | 50 | ||
51 | >label { | 51 | > .callout-title { |
52 | position: relative; | 52 | position: relative; |
53 | top: -5px; | 53 | top: -5px; |
54 | left: -10px; | 54 | left: -10px; |
55 | color: #6c757d !important; | 55 | color: #6c757d !important; |
56 | font-size: 1rem; | ||
57 | font-weight: $font-bold; | ||
58 | margin-bottom: 0.5rem; | ||
59 | line-height: inherit; | ||
56 | } | 60 | } |
57 | 61 | ||
58 | &:not(.callout-light) { | 62 | &:not(.callout-light) { |