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