]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Don't break design on long description/comment
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.scss
CommitLineData
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
C
34 width: $menu-width;
35 z-index: 1001;
0d7d2ad9 36 height: $header-height;
d7c152a4 37 display: flex;
26c6ee80
C
38 align-items: center;
39
40 .icon {
0727cab0 41 @include icon(22px);
26c6ee80
C
42
43 &.icon-menu {
d2cc03aa 44 background-image: url('../assets/images/header/menu.svg');
1f788f20 45 margin: 0 18px 0 20px;
67167390
C
46 }
47 }
48
49 #peertube-title {
26c6ee80
C
50 font-size: 20px;
51 font-weight: $font-bold;
52 color: inherit !important;
53 display: flex;
54 align-items: center;
55
56 @include disable-default-a-behaviour;
57
58 .icon.icon-logo {
59 display: inline-block;
d2cc03aa 60 background: url('../assets/images/logo.svg') no-repeat;
0727cab0 61 width: 23px;
b33f657c 62 height: 24px;
ea9f487b
C
63 }
64 }
3eeeb87f
C
65
66 @media screen and (max-width: 500px) {
3daf4002
C
67 width: 70px;
68
3eeeb87f
C
69 #peertube-title {
70 display: none;
71 }
3eeeb87f 72 }
ea9f487b 73 }
ea9f487b 74
b33f657c 75 .header-right {
b33f657c 76 height: $header-height;
26c6ee80
C
77 display: flex;
78 align-items: center;
b33f657c 79 flex-grow: 1;
26c6ee80 80 justify-content: flex-end;
67167390 81 }
897ec54d
C
82}
83
ea9f487b 84footer {
897ec54d
C
85 border-top: 1px solid $footer-border-color;
86 padding: 10px 0;
ea9f487b 87 text-align: center;
897ec54d 88 font-size: 11px;
efbf0ed7
C
89 margin-top: $footer-margin;
90 height: $footer-height;
ea9f487b 91}
c7e1e432
JL
92
93simple-notifications {
94 position: relative;
95 z-index: 1500;
96}