]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Upgrade to bootstrap 4 first step
[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
67167390
C
12.header {
13 height: $header-height;
b33f657c 14 position: fixed;
26c6ee80 15 top: 0;
b33f657c
C
16 width: 100%;
17 background-color: #fff;
26c6ee80 18 z-index: 1000;
b33f657c
C
19 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
20 display: flex;
ea9f487b 21
67167390 22 .top-left-block {
b33f657c 23 z-index: 1001;
0d7d2ad9 24 height: $header-height;
d7c152a4 25 display: flex;
26c6ee80 26 align-items: center;
8a44f835
C
27 flex: 1;
28 min-width: 0;
26c6ee80
C
29
30 .icon {
7797350a 31 @include icon(24px);
26c6ee80
C
32
33 &.icon-menu {
d2cc03aa 34 background-image: url('../assets/images/header/menu.svg');
1f788f20 35 margin: 0 18px 0 20px;
67167390
C
36 }
37 }
38
39 #peertube-title {
8a44f835 40 @include disable-default-a-behaviour;
26c6ee80
C
41 font-size: 20px;
42 font-weight: $font-bold;
43 color: inherit !important;
44 display: flex;
45 align-items: center;
8a44f835 46 overflow: hidden;
26c6ee80 47
8a44f835
C
48 .instance-name {
49 overflow: hidden;
50 text-overflow: ellipsis;
51 white-space: nowrap;
52 width: 100%;
53 }
26c6ee80
C
54
55 .icon.icon-logo {
56 display: inline-block;
d2cc03aa 57 background: url('../assets/images/logo.svg') no-repeat;
0727cab0 58 width: 23px;
b33f657c 59 height: 24px;
ea9f487b
C
60 }
61 }
3eeeb87f
C
62
63 @media screen and (max-width: 500px) {
3daf4002
C
64 width: 70px;
65
3eeeb87f
C
66 #peertube-title {
67 display: none;
68 }
3eeeb87f 69 }
07fa4c97
C
70
71 @media screen and (max-width: 350px) {
72 flex: auto;
73 }
ea9f487b 74 }
ea9f487b 75
b33f657c 76 .header-right {
b33f657c 77 height: $header-height;
26c6ee80
C
78 display: flex;
79 align-items: center;
26c6ee80 80 justify-content: flex-end;
8a44f835 81 white-space: nowrap;
67167390 82 }
897ec54d
C
83}
84
ea9f487b 85footer {
897ec54d
C
86 border-top: 1px solid $footer-border-color;
87 padding: 10px 0;
897ec54d 88 font-size: 11px;
efbf0ed7
C
89 margin-top: $footer-margin;
90 height: $footer-height;
b34a444e 91 justify-content: center;
ea9f487b 92}
c7e1e432
JL
93
94simple-notifications {
95 position: relative;
96 z-index: 1500;
97}