]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/misc/top-menu-dropdown.component.scss
Improve navigation sub-menu and tabs effects (#2971)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / misc / top-menu-dropdown.component.scss
CommitLineData
a55052c9
C
1@import '_variables';
2@import '_mixins';
3
ed5bb517
K
4:host {
5 display: block;
6 height: $sub-menu-height;
7 margin-bottom: $sub-menu-margin-bottom;
8}
9
ddb83e49
C
10.parent-entry {
11 span[role=button] {
12 cursor: pointer;
13 }
14
15 a {
16 display: block;
17 }
18}
19
03652b31 20::ng-deep .dropdown-toggle::after {
ddb83e49
C
21 position: relative;
22 top: 2px;
23}
80bfd33c 24
03652b31 25::ng-deep .dropdown-menu {
80bfd33c
C
26 margin-top: 0 !important;
27}
a55052c9
C
28
29.icon {
30 @include dropdown-with-icon-item;
31
32 top: -1px;
33}
d363ef53
K
34
35.sub-menu.no-scroll {
36 overflow-x: hidden;
37}
38
39.modal-body {
40 .hidden {
41 display: none;
42 }
43
44 a {
45 @include disable-default-a-behaviour;
46
47 color: currentColor;
48 box-sizing: border-box;
49 display: block;
50 font-size: 1.2rem;
51 padding: 9px 12px;
52 text-align: initial;
53 text-transform: unset;
54 width: 100%;
55
56 &.active {
e66883b3
RK
57 color: pvar(--mainBackgroundColor) !important;
58 background-color: pvar(--mainHoverColor);
d363ef53
K
59 opacity: .9;
60 }
61 }
62}