diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-22 18:32:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-22 18:32:31 +0100 |
commit | 8a8e02a43e346b9b777c8192a7c5cbdccb928b11 (patch) | |
tree | 9ffb8992f98b1354da9b522104d8d4289cf8e8d9 /client/src/app/shared/misc/help.component.scss | |
parent | 81c263c86fe2a030f09e942e118551727f145b6d (diff) | |
download | PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.gz PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.zst PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.zip |
Add help tooltip
Diffstat (limited to 'client/src/app/shared/misc/help.component.scss')
-rw-r--r-- | client/src/app/shared/misc/help.component.scss | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/client/src/app/shared/misc/help.component.scss b/client/src/app/shared/misc/help.component.scss new file mode 100644 index 000000000..5fe6b7366 --- /dev/null +++ b/client/src/app/shared/misc/help.component.scss | |||
@@ -0,0 +1,33 @@ | |||
1 | @import '_variables'; | ||
2 | @import '_mixins'; | ||
3 | |||
4 | .help-tooltip-button { | ||
5 | @include icon(17px); | ||
6 | |||
7 | position: relative; | ||
8 | top: -2px; | ||
9 | background-image: url('../../../assets/images/global/help.svg'); | ||
10 | background-color: #fff; | ||
11 | border: none; | ||
12 | } | ||
13 | |||
14 | /deep/ { | ||
15 | .help-tooltip { | ||
16 | opacity: 1 !important; | ||
17 | |||
18 | .tooltip-inner { | ||
19 | text-align: left; | ||
20 | padding: 10px; | ||
21 | |||
22 | font-size: 13px; | ||
23 | font-family: $main-fonts; | ||
24 | background-color: #fff; | ||
25 | color: #000; | ||
26 | box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); | ||
27 | } | ||
28 | |||
29 | ul { | ||
30 | padding-left: 20px; | ||
31 | } | ||
32 | } | ||
33 | } | ||