aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons/button.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-08 17:36:10 +0200
committerChocobozzz <me@florianbigard.com>2018-08-08 17:44:22 +0200
commiteacb25c4366bcc8fba20f98f93f004fabc6d5578 (patch)
treed006c6ef3358ec8c3e3deda643dc9b70068f2515 /client/src/app/shared/buttons/button.component.scss
parenta6ce68673ace5b94a81eda3ba198f0a4170eb05e (diff)
downloadPeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.tar.gz
PeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.tar.zst
PeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.zip
Add reason when banning a user
Diffstat (limited to 'client/src/app/shared/buttons/button.component.scss')
-rw-r--r--client/src/app/shared/buttons/button.component.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/client/src/app/shared/buttons/button.component.scss b/client/src/app/shared/buttons/button.component.scss
new file mode 100644
index 000000000..343aea207
--- /dev/null
+++ b/client/src/app/shared/buttons/button.component.scss
@@ -0,0 +1,43 @@
1@import '_variables';
2@import '_mixins';
3
4.action-button {
5 @include peertube-button-link;
6
7 font-size: 15px;
8 font-weight: $font-semibold;
9 color: #585858;
10 background-color: #E5E5E5;
11
12 &:hover {
13 background-color: #EFEFEF;
14 }
15
16 .icon {
17 @include icon(21px);
18
19 position: relative;
20 top: -2px;
21
22 &.icon-edit {
23 background-image: url('../../../assets/images/global/edit-grey.svg');
24 }
25
26 &.icon-delete-grey {
27 background-image: url('../../../assets/images/global/delete-grey.svg');
28 }
29 }
30}
31
32// In a table, try to minimize the space taken by this button
33@media screen and (max-width: 1400px) {
34 :host-context(td) {
35 .action-button {
36 padding: 0 13px;
37 }
38
39 .button-label {
40 display: none;
41 }
42 }
43}