]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Improve client mobile version
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.scss
CommitLineData
67167390
C
1.main-row {
2 min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
3}
4
ea9f487b 5.title-menu-left {
67167390 6 position: fixed;
ea9f487b 7 height: calc(100vh - #{$header-height});
67167390 8 padding: 0;
ea9f487b 9
67167390
C
10 .title-menu-left-block.menu {
11 height: 100%;
12 }
13}
ea9f487b 14
67167390
C
15.header {
16 height: $header-height;
17
18 .fake-title-block {
19 display: inline-block;
ea9f487b
C
20 }
21
67167390 22 .top-left-block {
0d7d2ad9 23 z-index: 100;
ea9f487b
C
24 background-color: #fff;
25 border-right: 1px solid $header-border-color;
0d7d2ad9 26 height: $header-height;
ea9f487b 27 line-height: $header-height;
ea9f487b
C
28 margin-top: 0;
29 margin-bottom: 0;
d7c152a4 30 display: flex;
67167390 31 position: fixed;
3eeeb87f 32 padding: 0;
67167390
C
33
34 &.border-bottom {
35 border-bottom: 1px solid $header-border-color;
36 }
37
38 .hamburger-block {
3eeeb87f 39 margin-right: 15px;
67167390
C
40 margin-left: 15px;
41
42 .glyphicon {
0d7d2ad9 43 cursor: pointer;
67167390
C
44 position: relative;
45 top: 4px;
46 }
47 }
48
49 #peertube-title {
67167390 50 a {
ea9f487b 51 color: inherit !important;
67167390 52 display: block;
174d4657 53 background: url('../assets/logo.png') no-repeat;
67167390
C
54 background-size: contain;
55 background-position: center;
67167390
C
56 height: 100%;
57 margin: auto;
3eeeb87f 58 width: 135px;
67167390
C
59
60 &:hover {
61 color: inherit !important;
62 text-decoration: none !important;
63 }
ea9f487b
C
64 }
65 }
3eeeb87f
C
66
67 @media screen and (max-width: 500px) {
68 #peertube-title {
69 display: none;
70 }
71
72 .hamburger-block {
73 width: 100%;
74 text-align: center;
75 }
76 }
77
78 @media screen and (min-width: 500px) and (max-width: 600px) {
79 #peertube-title a {
80 width: 80px;
81 }
82 }
83
84 @media screen and (min-width: 600px) and (max-width: 700px) {
85 #peertube-title a {
86 width: 100px;
87 }
88 }
89
90 @media screen and (min-width: 1000px) {
91 #peertube-title a {
92 width: 120px;
93 }
94 }
95
96 @media screen and (min-width: 1000px) {
97 #peertube-title a {
98 width: 120px;
99 }
100 }
101
102 @media screen and (min-width: 1200px) {
103 padding-left: 15px;
104
105 .hamburger-block {
106 margin-right: 15px;
107 }
108
109 #peertube-title a {
110 width: 135px;
111 }
112 }
113
114 @media screen and (min-width: 1600px) {
115 .hamburger-block {
116 margin-right: 20px;
117 }
118
119 #peertube-title a {
120 width: 180px;
121 }
122 }
ea9f487b 123 }
ea9f487b 124
67167390
C
125 my-search {
126 position: fixed;
127 z-index: 1000;
128 // Fix col-md-* padding
129 padding: 0;
130 }
131
132 .search-col {
133 height: 100%;
134 margin-left: -15px;
135 padding: 0;
136 }
897ec54d
C
137}
138
ea9f487b 139footer {
897ec54d
C
140 border-top: 1px solid $footer-border-color;
141 padding: 10px 0;
ea9f487b 142 text-align: center;
897ec54d 143 font-size: 11px;
efbf0ed7
C
144 margin-top: $footer-margin;
145 height: $footer-height;
ea9f487b 146}