]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Move player style in watch component
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
72c33e71
C
3@import '~bootstrap/scss/functions';
4@import '~bootstrap/scss/variables';
63c4db6d 5
fad0759c
C
6.peertube-container {
7 padding-bottom: 20px;
8}
9
67167390
C
10.main-row {
11 min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
12}
13
b33f657c
C
14.sub-header-container {
15 margin-top: $header-height;
e66883b3 16 background-color: pvar(--mainBackgroundColor);
c4741804 17 width: 100%;
b33f657c
C
18}
19
67167390
C
20.header {
21 height: $header-height;
b33f657c 22 position: fixed;
26c6ee80 23 top: 0;
b33f657c 24 width: 100%;
e66883b3 25 background-color: pvar(--mainBackgroundColor);
36f2981f 26 z-index: z(header);
b33f657c
C
27 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
28 display: flex;
ea9f487b 29
67167390 30 .top-left-block {
555fdc8c 31 z-index: 1;
0d7d2ad9 32 height: $header-height;
d7c152a4 33 display: flex;
26c6ee80 34 align-items: center;
8a44f835 35 min-width: 0;
26c6ee80
C
36
37 .icon {
7797350a 38 @include icon(24px);
26c6ee80
C
39
40 &.icon-menu {
e66883b3 41 background-color: pvar(--mainForegroundColor);
db5814c0 42 mask-image: url('../assets/images/misc/menu.svg');
1f788f20 43 margin: 0 18px 0 20px;
db5814c0 44
97c116ed 45 @media screen and (max-width: $mobile-view) {
46 margin: 0 10px;
47 }
67167390
C
48 }
49 }
50
f0c5e8b6 51 .peertube-title {
8a44f835 52 @include disable-default-a-behaviour;
f0c5e8b6 53
26c6ee80
C
54 font-size: 20px;
55 font-weight: $font-bold;
56 color: inherit !important;
57 display: flex;
58 align-items: center;
8a44f835 59 overflow: hidden;
26c6ee80 60
8a44f835 61 .instance-name {
ef80c66c
C
62 @include ellipsis;
63
8a44f835
C
64 width: 100%;
65 }
26c6ee80
C
66
67 .icon.icon-logo {
68 display: inline-block;
0727cab0 69 width: 23px;
b33f657c 70 height: 24px;
e66883b3 71 margin-right: .5rem;
ea9f487b
C
72 }
73 }
3eeeb87f 74
ece3029b 75 @media screen and (max-width: $mobile-view) {
3daf4002 76
f0c5e8b6 77 .peertube-title {
3eeeb87f
C
78 display: none;
79 }
3eeeb87f 80 }
ea9f487b 81 }
ea9f487b 82
b33f657c 83 .header-right {
b33f657c 84 height: $header-height;
26c6ee80
C
85 display: flex;
86 align-items: center;
26c6ee80 87 justify-content: flex-end;
8a44f835 88 white-space: nowrap;
5dfb7c1d 89 flex: 1;
67167390 90 }
897ec54d 91}
72c33e71
C
92
93.broadcast-message {
94 min-height: 50px;
95 text-align: center;
96 margin-bottom: 0;
97 border-radius: 0;
98 display: grid;
99 grid-template-columns: 1fr 30px;
100 column-gap: 10px;
101
102 my-global-icon {
103 justify-self: center;
104 align-self: center;
105 cursor: pointer;
106
107 width: 20px;
108 }
109
110 @each $color, $value in $theme-colors {
111 &.alert-#{$color} {
112 my-global-icon {
113 @include apply-svg-color(theme-color-level($color, $alert-color-level));
114 }
115 }
116 }
117
118 ::ng-deep {
119 p {
120 font-size: 16px;
121 }
122
123 p:last-child {
124 margin-bottom: 0;
125 }
126 }
127}