]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
b33f657c C |
4 | menu { |
5 | background-color: $black-background; | |
6 | margin: 0; | |
7 | padding: 0; | |
8 | height: 100%; | |
9 | white-space: nowrap; | |
10 | text-overflow: ellipsis; | |
11 | overflow: hidden; | |
12 | z-index: 1000; | |
13 | color: $menu-color; | |
14 | ||
b33f657c C |
15 | .logged-in-block { |
16 | height: 100px; | |
17 | background-color: rgba(255, 255, 255, 0.15); | |
18 | display: flex; | |
19 | align-items: center; | |
20 | justify-content: center; | |
21 | margin-bottom: 35px; | |
22 | ||
2295ce6c | 23 | img { |
4e8c8728 C |
24 | @include avatar(34px); |
25 | ||
2295ce6c C |
26 | margin-left: 20px; |
27 | margin-right: 10px; | |
2295ce6c C |
28 | } |
29 | ||
b33f657c C |
30 | .logged-in-info { |
31 | flex-grow: 1; | |
b33f657c C |
32 | |
33 | .logged-in-username { | |
34 | font-size: 16px; | |
35 | font-weight: $font-semibold; | |
c30745f3 C |
36 | color: $menu-color; |
37 | cursor: pointer; | |
38 | ||
39 | @include disable-default-a-behaviour; | |
b33f657c C |
40 | } |
41 | ||
42 | .logged-in-email { | |
43 | font-size: 13px; | |
44 | color: #C6C6C6; | |
cadb46d8 C |
45 | white-space: nowrap; |
46 | overflow: hidden; | |
47 | text-overflow: ellipsis; | |
48 | max-width: 140px; | |
b33f657c C |
49 | } |
50 | } | |
51 | ||
52 | .logged-in-more { | |
53 | margin-right: 20px; | |
54 | ||
55 | .glyphicon { | |
56 | cursor: pointer; | |
57 | font-size: 18px; | |
58 | } | |
59 | } | |
60 | } | |
61 | ||
62 | .button-block { | |
63 | margin: 30px 25px 35px 25px; | |
64 | ||
9bce8112 C |
65 | .login-button { |
66 | @include peertube-button-link; | |
67 | @include orange-button; | |
68 | ||
c30745f3 | 69 | display: block; |
9bce8112 C |
70 | width: 100%; |
71 | margin-bottom: 10px; | |
72 | } | |
c30745f3 | 73 | |
9bce8112 C |
74 | .create-account-button { |
75 | @include peertube-button-link; | |
b33f657c | 76 | |
9bce8112 C |
77 | display: block; |
78 | width: 100%; | |
79 | ||
80 | color: #fff; | |
81 | background-color: rgba(255, 255, 255, 0.25); | |
b33f657c | 82 | |
9bce8112 C |
83 | &:hover { |
84 | background-color: rgba(255, 255, 255, 0.28); | |
b33f657c C |
85 | } |
86 | } | |
87 | } | |
88 | ||
89 | .block-title { | |
90 | text-transform: uppercase; | |
91 | font-weight: $font-bold; // Bold | |
92 | font-size: 13px; | |
93 | margin-bottom: 25px; | |
94 | } | |
95 | ||
96 | .panel-block { | |
97 | margin-bottom: 45px; | |
98 | margin-left: 26px; | |
99 | ||
100 | a { | |
101 | display: flex; | |
c30745f3 C |
102 | color: $menu-color; |
103 | cursor: pointer; | |
104 | height: 22px; | |
105 | line-height: 22px; | |
106 | font-size: 16px; | |
107 | margin-bottom: 15px; | |
108 | @include disable-default-a-behaviour; | |
b33f657c C |
109 | |
110 | .icon { | |
0727cab0 C |
111 | @include icon(22px); |
112 | ||
b33f657c | 113 | margin-right: 18px; |
b33f657c C |
114 | |
115 | &.icon-videos-trending { | |
116 | position: relative; | |
117 | top: -2px; | |
d2cc03aa | 118 | background-image: url('../../assets/images/menu/trending.svg'); |
b33f657c C |
119 | } |
120 | ||
121 | &.icon-videos-recently-added { | |
122 | width: 23px; | |
123 | height: 23px; | |
124 | position: relative; | |
125 | top: -1px; | |
d2cc03aa | 126 | background-image: url('../../assets/images/menu/recently-added.svg'); |
b33f657c C |
127 | } |
128 | ||
066e94c5 C |
129 | &.icon-videos-local { |
130 | width: 23px; | |
131 | height: 23px; | |
132 | position: relative; | |
133 | top: -1px; | |
134 | background-image: url('../../assets/images/menu/home.svg'); | |
135 | } | |
136 | ||
b33f657c C |
137 | &.icon-administration { |
138 | width: 23px; | |
139 | height: 23px; | |
140 | ||
d2cc03aa | 141 | background-image: url('../../assets/images/menu/administration.svg'); |
b33f657c | 142 | } |
36f9424f C |
143 | |
144 | &.icon-about { | |
145 | width: 23px; | |
146 | height: 23px; | |
147 | ||
148 | background-image: url('../../assets/images/menu/about.svg'); | |
149 | } | |
b33f657c C |
150 | } |
151 | } | |
152 | } | |
b33f657c | 153 | } |