]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/class-helpers/_menu.scss
Change bootstrap helpers and variables
[github/Chocobozzz/PeerTube.git] / client / src / sass / class-helpers / _menu.scss
CommitLineData
27f84cc3
W
1@use '_variables' as *;
2@use '_mixins' as *;
3
4.sub-menu-entry {
5 @include disable-default-a-behaviour;
6 @include margin-right(55px);
7
8 opacity: 0.7;
9 color: pvar(--mainForegroundColor);
10 display: inline-block;
11 font-weight: $font-semibold;
12 border-bottom: 2px solid transparent;
13 white-space: nowrap;
14 font-size: 1rem;
15
16 &.active {
17 border-bottom-color: pvar(--mainColor);
18 }
19
20 &:hover,
21 &:active,
22 &:focus {
23 color: pvar(--mainForegroundColor);
24 }
25
26 &.active,
27 &:hover,
28 &:active,
29 &:focus {
30 opacity: 1;
31 outline: 0 hidden !important;
32 }
33
34 @media screen and (max-width: $mobile-view) {
35 @include margin-left(15px);
36 }
37}
38
39.title-page-v2 {
40 font-weight: normal;
41 font-size: 15px;
42 padding: 35px 25px;
43}
44
45.title-page {
46 @include margin-right(55px);
47
48 margin-top: 30px;
49 margin-bottom: 25px;
50
51 color: pvar(--mainForegroundColor);
52 display: inline-block;
53 font-weight: $font-semibold;
54 font-size: 1.25rem;
55
56 a {
57 @include disable-default-a-behaviour;
58
59 color: inherit;
60
61 &:hover {
62 color: inherit;
63 opacity: 0.8;
64 }
65 }
66
67 @media screen and (max-width: $mobile-view) {
68 @include margin-left(15px);
69 }
70}
71
72.admin-sub-header {
73 display: flex;
74 align-items: center;
75 margin-bottom: 30px;
76
77 @media screen and (max-width: $small-view) {
78 flex-direction: column;
79 }
80}