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