aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include/_nav.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-05 14:03:52 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-04-15 09:49:35 +0200
commit384ba8b77a8e4805c099f5ea12b41c2ca5776e26 (patch)
tree6b517033d9265d283677b85e0f57486e0e7fd8cf /client/src/sass/include/_nav.scss
parentb211106695bb82f6c32e53306081b5262c3d109d (diff)
downloadPeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.gz
PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.zst
PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.zip
Support videos stats in client
Diffstat (limited to 'client/src/sass/include/_nav.scss')
-rw-r--r--client/src/sass/include/_nav.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/client/src/sass/include/_nav.scss b/client/src/sass/include/_nav.scss
new file mode 100644
index 000000000..d069ac9ae
--- /dev/null
+++ b/client/src/sass/include/_nav.scss
@@ -0,0 +1,44 @@
1@use '_variables' as *;
2@use '_mixins' as *;
3
4@mixin peertube-nav-tabs (
5 $border-width: 3px,
6 $border-type: solid,
7 $border-color: #EAEAEA,
8 $nav-link-height: 40px
9) {
10 border-bottom: $border-width $border-type $border-color;
11 margin: 20px 0 0 !important;
12
13 &.hide-nav {
14 display: none !important;
15 }
16
17 a.nav-link {
18 @include disable-default-a-behaviour;
19
20 margin-bottom: -$border-width;
21 height: $nav-link-height !important;
22 padding: 0 30px !important;
23 font-size: 15px;
24
25 border: $border-width $border-type transparent;
26
27 span {
28 border-bottom: 2px solid transparent;
29 }
30
31 &.active {
32 border-color: $border-color;
33 border-bottom-color: transparent;
34
35 span {
36 border-bottom-color: pvar(--mainColor);
37 }
38 }
39
40 &:hover:not(.active) {
41 border-color: transparent;
42 }
43 }
44}