]>
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; | |
829be6e8 | 94 | margin-left: 26px; |
b33f657c C |
95 | } |
96 | ||
97 | .panel-block { | |
98 | margin-bottom: 45px; | |
b33f657c C |
99 | |
100 | a { | |
101 | display: flex; | |
829be6e8 CL |
102 | align-items: center; |
103 | padding-left: 26px; | |
c30745f3 C |
104 | color: $menu-color; |
105 | cursor: pointer; | |
829be6e8 | 106 | height: 40px; |
c30745f3 | 107 | font-size: 16px; |
829be6e8 | 108 | transition: background-color .1s ease-in-out; |
c30745f3 | 109 | @include disable-default-a-behaviour; |
b33f657c | 110 | |
829be6e8 CL |
111 | &:hover { |
112 | background-color: rgba(255, 255, 255, 0.15); | |
113 | } | |
114 | ||
b33f657c | 115 | .icon { |
0727cab0 C |
116 | @include icon(22px); |
117 | ||
b33f657c | 118 | margin-right: 18px; |
b33f657c C |
119 | |
120 | &.icon-videos-trending { | |
121 | position: relative; | |
122 | top: -2px; | |
d2cc03aa | 123 | background-image: url('../../assets/images/menu/trending.svg'); |
b33f657c C |
124 | } |
125 | ||
126 | &.icon-videos-recently-added { | |
127 | width: 23px; | |
128 | height: 23px; | |
129 | position: relative; | |
130 | top: -1px; | |
d2cc03aa | 131 | background-image: url('../../assets/images/menu/recently-added.svg'); |
b33f657c C |
132 | } |
133 | ||
066e94c5 C |
134 | &.icon-videos-local { |
135 | width: 23px; | |
136 | height: 23px; | |
137 | position: relative; | |
138 | top: -1px; | |
139 | background-image: url('../../assets/images/menu/home.svg'); | |
140 | } | |
141 | ||
b33f657c C |
142 | &.icon-administration { |
143 | width: 23px; | |
144 | height: 23px; | |
145 | ||
d2cc03aa | 146 | background-image: url('../../assets/images/menu/administration.svg'); |
b33f657c | 147 | } |
36f9424f C |
148 | |
149 | &.icon-about { | |
150 | width: 23px; | |
151 | height: 23px; | |
152 | ||
153 | background-image: url('../../assets/images/menu/about.svg'); | |
154 | } | |
b33f657c C |
155 | } |
156 | } | |
157 | } | |
b33f657c | 158 | } |