aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/markdown-textarea.component.scss
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-11-21 23:35:58 +0100
committerRigel Kent <par@rigelk.eu>2020-11-22 01:15:38 +0100
commit01d0147ef5a9a0b5087ed5c908258ae228a1b83c (patch)
tree1bfb34965092aa7a820ae7f68b83fe8004e1f753 /client/src/app/shared/shared-forms/markdown-textarea.component.scss
parent63703d8cee3e6c45c9ae02050df6dc0f66b4737b (diff)
downloadPeerTube-01d0147ef5a9a0b5087ed5c908258ae228a1b83c.tar.gz
PeerTube-01d0147ef5a9a0b5087ed5c908258ae228a1b83c.tar.zst
PeerTube-01d0147ef5a9a0b5087ed5c908258ae228a1b83c.zip
Add tooltip to maximize button and remove grey background
Diffstat (limited to 'client/src/app/shared/shared-forms/markdown-textarea.component.scss')
-rw-r--r--client/src/app/shared/shared-forms/markdown-textarea.component.scss18
1 files changed, 15 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.scss b/client/src/app/shared/shared-forms/markdown-textarea.component.scss
index 39e72b5bc..fcddfea03 100644
--- a/client/src/app/shared/shared-forms/markdown-textarea.component.scss
+++ b/client/src/app/shared/shared-forms/markdown-textarea.component.scss
@@ -42,8 +42,20 @@ $input-border-radius: 3px;
42 display: none !important; 42 display: none !important;
43 } 43 }
44 44
45 .grey-button { 45 .maximize-button {
46 padding: 0 7px 0 12px; 46 padding: 0 7px;
47 cursor: pointer;
48
49 svg {
50 stroke: var(--mainForegroundColor);
51 opacity: 0.6;
52 }
53
54 &:hover, &:active {
55 svg {
56 opacity: 1;
57 }
58 }
47 } 59 }
48 } 60 }
49 } 61 }
@@ -77,7 +89,7 @@ $input-border-radius: 3px;
77 opacity: .7; 89 opacity: .7;
78 } 90 }
79 91
80 .grey-button { 92 .maximize-button {
81 margin-left: 5px; 93 margin-left: 5px;
82 } 94 }
83 } 95 }