From 22a16e36f6526887ed8f5e5d3c9f9e5da0b4a8cd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Aug 2018 16:18:59 +0200 Subject: Add local user subscriptions --- .../subscribe-button.component.scss | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 client/src/app/shared/user-subscription/subscribe-button.component.scss (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.scss') diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.scss b/client/src/app/shared/user-subscription/subscribe-button.component.scss new file mode 100644 index 000000000..9811fdc0c --- /dev/null +++ b/client/src/app/shared/user-subscription/subscribe-button.component.scss @@ -0,0 +1,37 @@ +@import '_variables'; +@import '_mixins'; + +.subscribe-button { + @include peertube-button; + @include orange-button; +} + +.unsubscribe-button { + @include peertube-button; + @include grey-button +} + +.subscribe-button, +.unsubscribe-button { + padding: 3px 7px; +} + +.unsubscribe-button { + .subscribed { + display: inline; + } + + .unsubscribe { + display: none; + } + + &:hover { + .subscribed { + display: none; + } + + .unsubscribe { + display: inline; + } + } +} \ No newline at end of file -- cgit v1.2.3