diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 09:19:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 09:19:25 +0100 |
commit | a2b817d322ef4074bdaaf2589ada567f338323f4 (patch) | |
tree | 3738ebd74821872f14a3392ca8943a968a4cf547 /client/src/sass | |
parent | a06a31c75c0cd4d337e3e193c670a77cabcd9507 (diff) | |
download | PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.gz PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.zst PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.zip |
Better error messages
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/_variables.scss | 1 | ||||
-rw-r--r-- | client/src/sass/application.scss | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss index 0d655e85c..81dafdc19 100644 --- a/client/src/sass/_variables.scss +++ b/client/src/sass/_variables.scss | |||
@@ -7,6 +7,7 @@ $orange-color: #F1680D; | |||
7 | 7 | ||
8 | $black-background: #000; | 8 | $black-background: #000; |
9 | $grey-background: #f6f2f2; | 9 | $grey-background: #f6f2f2; |
10 | $red-error: #FF0000; | ||
10 | 11 | ||
11 | $expanded-horizontal-margins: 150px; | 12 | $expanded-horizontal-margins: 150px; |
12 | $not-expanded-horizontal-margins: 30px; | 13 | $not-expanded-horizontal-margins: 30px; |
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 4c5c0202c..b860e1bf2 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -25,6 +25,16 @@ label { | |||
25 | font-size: 15px; | 25 | font-size: 15px; |
26 | } | 26 | } |
27 | 27 | ||
28 | .form-error { | ||
29 | display: block; | ||
30 | color: $red-error; | ||
31 | margin-top: 5px; | ||
32 | } | ||
33 | |||
34 | .input-error { | ||
35 | border-color: $red-error !important; | ||
36 | } | ||
37 | |||
28 | .glyphicon-black { | 38 | .glyphicon-black { |
29 | color: black; | 39 | color: black; |
30 | } | 40 | } |