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