diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-17 10:45:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-17 10:45:53 +0200 |
commit | 7b992a86b107fc2917b993127df8e95a66ae94db (patch) | |
tree | ebbd6ded7c855a233a917786e2a15d763de86338 /client/src/app/shared/buttons | |
parent | 536598cfafab1c5e24e881db1c528489f804fb6b (diff) | |
download | PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.gz PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.zst PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.zip |
Support audio upload in client
Diffstat (limited to 'client/src/app/shared/buttons')
-rw-r--r-- | client/src/app/shared/buttons/button.component.scss | 12 | ||||
-rw-r--r-- | client/src/app/shared/buttons/button.component.ts | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/client/src/app/shared/buttons/button.component.scss b/client/src/app/shared/buttons/button.component.scss index 04199a2a9..7ec77f4c9 100644 --- a/client/src/app/shared/buttons/button.component.scss +++ b/client/src/app/shared/buttons/button.component.scss | |||
@@ -4,18 +4,6 @@ | |||
4 | .action-button { | 4 | .action-button { |
5 | @include peertube-button-link; | 5 | @include peertube-button-link; |
6 | @include button-with-icon(21px, 0, -2px); | 6 | @include button-with-icon(21px, 0, -2px); |
7 | |||
8 | font-weight: $font-semibold; | ||
9 | color: $grey-foreground-color; | ||
10 | background-color: $grey-background-color; | ||
11 | |||
12 | &:hover { | ||
13 | background-color: $grey-background-hover-color; | ||
14 | } | ||
15 | |||
16 | my-global-icon { | ||
17 | @include apply-svg-color($grey-foreground-color); | ||
18 | } | ||
19 | } | 7 | } |
20 | 8 | ||
21 | // In a table, try to minimize the space taken by this button | 9 | // In a table, try to minimize the space taken by this button |
diff --git a/client/src/app/shared/buttons/button.component.ts b/client/src/app/shared/buttons/button.component.ts index c2b69d31a..6d34d07f4 100644 --- a/client/src/app/shared/buttons/button.component.ts +++ b/client/src/app/shared/buttons/button.component.ts | |||
@@ -9,7 +9,7 @@ import { GlobalIconName } from '@app/shared/images/global-icon.component' | |||
9 | 9 | ||
10 | export class ButtonComponent { | 10 | export class ButtonComponent { |
11 | @Input() label = '' | 11 | @Input() label = '' |
12 | @Input() className: string = undefined | 12 | @Input() className: 'orange-button' | 'grey-button' = 'grey-button' |
13 | @Input() icon: GlobalIconName = undefined | 13 | @Input() icon: GlobalIconName = undefined |
14 | @Input() title: string = undefined | 14 | @Input() title: string = undefined |
15 | 15 | ||