]>
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 C |
30 | position: fixed; |
31 | width: 100%; | |
32 | background-color: #fff; | |
33 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); | |
34 | display: flex; | |
ea9f487b | 35 | |
67167390 | 36 | .top-left-block { |
b33f657c C |
37 | width: $menu-width; |
38 | z-index: 1001; | |
0d7d2ad9 | 39 | height: $header-height; |
ea9f487b | 40 | line-height: $header-height; |
ea9f487b C |
41 | margin-top: 0; |
42 | margin-bottom: 0; | |
d7c152a4 | 43 | display: flex; |
3eeeb87f | 44 | padding: 0; |
67167390 | 45 | |
67167390 | 46 | .hamburger-block { |
b33f657c C |
47 | margin-right: 10px; |
48 | margin-left: 25px; | |
67167390 C |
49 | |
50 | .glyphicon { | |
0d7d2ad9 | 51 | cursor: pointer; |
67167390 C |
52 | } |
53 | } | |
54 | ||
55 | #peertube-title { | |
67167390 | 56 | a { |
ea9f487b | 57 | color: inherit !important; |
67167390 | 58 | display: block; |
b33f657c C |
59 | background: url('../assets/logo.svg') no-repeat; |
60 | width: 24px; | |
61 | height: 24px; | |
67167390 C |
62 | |
63 | &:hover { | |
64 | color: inherit !important; | |
65 | text-decoration: none !important; | |
66 | } | |
ea9f487b C |
67 | } |
68 | } | |
3eeeb87f C |
69 | |
70 | @media screen and (max-width: 500px) { | |
71 | #peertube-title { | |
72 | display: none; | |
73 | } | |
74 | ||
75 | .hamburger-block { | |
76 | width: 100%; | |
77 | text-align: center; | |
78 | } | |
79 | } | |
80 | ||
81 | @media screen and (min-width: 500px) and (max-width: 600px) { | |
82 | #peertube-title a { | |
83 | width: 80px; | |
84 | } | |
85 | } | |
86 | ||
87 | @media screen and (min-width: 600px) and (max-width: 700px) { | |
88 | #peertube-title a { | |
89 | width: 100px; | |
90 | } | |
91 | } | |
92 | ||
93 | @media screen and (min-width: 1000px) { | |
94 | #peertube-title a { | |
95 | width: 120px; | |
96 | } | |
97 | } | |
98 | ||
99 | @media screen and (min-width: 1000px) { | |
100 | #peertube-title a { | |
101 | width: 120px; | |
102 | } | |
103 | } | |
104 | ||
105 | @media screen and (min-width: 1200px) { | |
106 | padding-left: 15px; | |
107 | ||
108 | .hamburger-block { | |
109 | margin-right: 15px; | |
110 | } | |
111 | ||
112 | #peertube-title a { | |
113 | width: 135px; | |
114 | } | |
115 | } | |
116 | ||
117 | @media screen and (min-width: 1600px) { | |
118 | .hamburger-block { | |
119 | margin-right: 20px; | |
120 | } | |
121 | ||
122 | #peertube-title a { | |
123 | width: 180px; | |
124 | } | |
125 | } | |
ea9f487b | 126 | } |
ea9f487b | 127 | |
b33f657c C |
128 | .header-right { |
129 | text-align: right; | |
130 | height: $header-height; | |
131 | margin-left: $menu-width; | |
132 | flex-grow: 1; | |
67167390 | 133 | } |
897ec54d C |
134 | } |
135 | ||
ea9f487b | 136 | footer { |
897ec54d C |
137 | border-top: 1px solid $footer-border-color; |
138 | padding: 10px 0; | |
ea9f487b | 139 | text-align: center; |
897ec54d | 140 | font-size: 11px; |
efbf0ed7 C |
141 | margin-top: $footer-margin; |
142 | height: $footer-height; | |
ea9f487b | 143 | } |