aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/class-helpers.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-14 13:54:54 +0200
committerChocobozzz <me@florianbigard.com>2022-06-15 13:31:53 +0200
commit6f03f944c34f78b38a68128413b55186e0676949 (patch)
tree81a0c79184cb5ac800c31f1d5334471ee506ac19 /client/src/sass/class-helpers.scss
parent936ce6e5635f3a52acbc799e1fcba9a948a7e390 (diff)
downloadPeerTube-6f03f944c34f78b38a68128413b55186e0676949.tar.gz
PeerTube-6f03f944c34f78b38a68128413b55186e0676949.tar.zst
PeerTube-6f03f944c34f78b38a68128413b55186e0676949.zip
Redesign register steps
Diffstat (limited to 'client/src/sass/class-helpers.scss')
-rw-r--r--client/src/sass/class-helpers.scss43
1 files changed, 41 insertions, 2 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss
index 45d45e0f8..0b2e6176a 100644
--- a/client/src/sass/class-helpers.scss
+++ b/client/src/sass/class-helpers.scss
@@ -3,6 +3,24 @@
3@use '_badges' as *; 3@use '_badges' as *;
4@use '_icons' as *; 4@use '_icons' as *;
5 5
6.link-orange {
7 color: pvar(--mainForegroundColor);
8 font-weight: $font-bold;
9 border-bottom: 3px solid pvar(--mainColor);
10
11 &:hover {
12 color: pvar(--mainForegroundColor);
13 opacity: 0.8;
14 }
15}
16
17.underline-orange {
18 display: inline-block;
19 border-bottom: 3px solid pvar(--mainColor);
20}
21
22// ---------------------------------------------------------------------------
23
6.peertube-button { 24.peertube-button {
7 @include peertube-button; 25 @include peertube-button;
8} 26}
@@ -70,6 +88,11 @@
70 margin-top: 10px; 88 margin-top: 10px;
71} 89}
72 90
91label + .form-group-description {
92 margin-bottom: 10px;
93 margin-top: 0;
94}
95
73// --------------------------------------------------------------------------- 96// ---------------------------------------------------------------------------
74 97
75 98
@@ -192,9 +215,12 @@
192 border-left-width: .25rem; 215 border-left-width: .25rem;
193 } 216 }
194 217
195 &.callout-info { 218 &.callout-orange {
196 border-color: pvar(--mainColorLightest); 219 border-color: pvar(--mainColorLightest);
197 border-left-color: pvar(--mainColor); 220
221 &:not(.callout-light) {
222 border-left-color: pvar(--mainColor);
223 }
198 } 224 }
199} 225}
200 226
@@ -210,3 +236,16 @@
210 top: #{-($header-height + $sub-menu-height + 20px)}; 236 top: #{-($header-height + $sub-menu-height + 20px)};
211 } 237 }
212} 238}
239
240// ---------------------------------------------------------------------------
241
242.alert {
243 p:last-child {
244 margin-bottom: 0;
245 }
246
247 &.pt-alert-primary {
248 background-color: pvar(--mainColorVeryLight);
249 border: 2px solid pvar(--mainColorLightest);
250 }
251}