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