]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
67167390 C |
4 | .main-row { |
5 | min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin}); | |
6 | } | |
7 | ||
b33f657c C |
8 | .sub-header-container { |
9 | margin-top: $header-height; | |
10 | } | |
11 | ||
ea9f487b | 12 | .title-menu-left { |
67167390 | 13 | position: fixed; |
ea9f487b | 14 | height: calc(100vh - #{$header-height}); |
67167390 | 15 | padding: 0; |
b33f657c | 16 | width: $menu-width; |
ea9f487b | 17 | |
67167390 C |
18 | .title-menu-left-block.menu { |
19 | height: 100%; | |
20 | } | |
21 | } | |
ea9f487b | 22 | |
67167390 C |
23 | .header { |
24 | height: $header-height; | |
b33f657c | 25 | position: fixed; |
26c6ee80 | 26 | top: 0; |
b33f657c C |
27 | width: 100%; |
28 | background-color: #fff; | |
26c6ee80 | 29 | z-index: 1000; |
b33f657c C |
30 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); |
31 | display: flex; | |
ea9f487b | 32 | |
67167390 | 33 | .top-left-block { |
b33f657c | 34 | z-index: 1001; |
0d7d2ad9 | 35 | height: $header-height; |
d7c152a4 | 36 | display: flex; |
26c6ee80 | 37 | align-items: center; |
8a44f835 C |
38 | flex: 1; |
39 | min-width: 0; | |
26c6ee80 C |
40 | |
41 | .icon { | |
7797350a | 42 | @include icon(24px); |
26c6ee80 C |
43 | |
44 | &.icon-menu { | |
d2cc03aa | 45 | background-image: url('../assets/images/header/menu.svg'); |
1f788f20 | 46 | margin: 0 18px 0 20px; |
67167390 C |
47 | } |
48 | } | |
49 | ||
50 | #peertube-title { | |
8a44f835 | 51 | @include disable-default-a-behaviour; |
26c6ee80 C |
52 | font-size: 20px; |
53 | font-weight: $font-bold; | |
54 | color: inherit !important; | |
55 | display: flex; | |
56 | align-items: center; | |
8a44f835 | 57 | overflow: hidden; |
26c6ee80 | 58 | |
8a44f835 C |
59 | .instance-name { |
60 | overflow: hidden; | |
61 | text-overflow: ellipsis; | |
62 | white-space: nowrap; | |
63 | width: 100%; | |
64 | } | |
26c6ee80 C |
65 | |
66 | .icon.icon-logo { | |
67 | display: inline-block; | |
d2cc03aa | 68 | background: url('../assets/images/logo.svg') no-repeat; |
0727cab0 | 69 | width: 23px; |
b33f657c | 70 | height: 24px; |
ea9f487b C |
71 | } |
72 | } | |
3eeeb87f C |
73 | |
74 | @media screen and (max-width: 500px) { | |
3daf4002 C |
75 | width: 70px; |
76 | ||
3eeeb87f C |
77 | #peertube-title { |
78 | display: none; | |
79 | } | |
3eeeb87f | 80 | } |
07fa4c97 C |
81 | |
82 | @media screen and (max-width: 350px) { | |
83 | flex: auto; | |
84 | } | |
ea9f487b | 85 | } |
ea9f487b | 86 | |
b33f657c | 87 | .header-right { |
b33f657c | 88 | height: $header-height; |
26c6ee80 C |
89 | display: flex; |
90 | align-items: center; | |
26c6ee80 | 91 | justify-content: flex-end; |
8a44f835 | 92 | white-space: nowrap; |
67167390 | 93 | } |
897ec54d C |
94 | } |
95 | ||
ea9f487b | 96 | footer { |
897ec54d C |
97 | border-top: 1px solid $footer-border-color; |
98 | padding: 10px 0; | |
ea9f487b | 99 | text-align: center; |
897ec54d | 100 | font-size: 11px; |
efbf0ed7 C |
101 | margin-top: $footer-margin; |
102 | height: $footer-height; | |
ea9f487b | 103 | } |
c7e1e432 JL |
104 | |
105 | simple-notifications { | |
106 | position: relative; | |
107 | z-index: 1500; | |
108 | } |