diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-16 16:05:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-17 10:38:18 +0100 |
commit | 457bb213b273a9b206cc5654eb085cede4e916ad (patch) | |
tree | 6b1a317872a4ca27b5d0dbe543452320b26aacff /client/src/app/header/header.component.scss | |
parent | 848f499def54db2dd36437ef0dfb74dd5041c23b (diff) | |
download | PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.tar.gz PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.tar.zst PeerTube-457bb213b273a9b206cc5654eb085cede4e916ad.zip |
Refactor how we use icons
Inject them in an angular component so we can easily change their color
Diffstat (limited to 'client/src/app/header/header.component.scss')
-rw-r--r-- | client/src/app/header/header.component.scss | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index 2f9820665..cdc457b96 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss | |||
@@ -40,6 +40,7 @@ | |||
40 | .upload-button { | 40 | .upload-button { |
41 | @include peertube-button-link; | 41 | @include peertube-button-link; |
42 | @include orange-button; | 42 | @include orange-button; |
43 | @include button-with-icon(22px, 3px, -1px); | ||
43 | 44 | ||
44 | margin-right: 25px; | 45 | margin-right: 25px; |
45 | 46 | ||
@@ -47,15 +48,6 @@ | |||
47 | margin-right: 0; | 48 | margin-right: 0; |
48 | } | 49 | } |
49 | 50 | ||
50 | .icon.icon-upload { | ||
51 | @include icon(22px); | ||
52 | |||
53 | background-image: url('../../assets/images/header/upload-white.svg'); | ||
54 | height: 24px; | ||
55 | vertical-align: middle; | ||
56 | margin-right: 6px; | ||
57 | } | ||
58 | |||
59 | @media screen and (max-width: 600px) { | 51 | @media screen and (max-width: 600px) { |
60 | margin-right: 10px; | 52 | margin-right: 10px; |
61 | padding: 0 10px; | 53 | padding: 0 10px; |