]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Bidi support
[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;
266947e5 29}
ea9f487b 30
266947e5
C
31.top-left-block {
32 z-index: 1;
33 height: $header-height;
34 display: flex;
35 align-items: center;
36 min-width: 0;
67167390 37
266947e5
C
38 .icon {
39 @include icon(24px);
40 }
f0c5e8b6 41
266947e5 42 .icon-menu {
266947e5 43 mask-image: url('../assets/images/misc/menu.svg');
bc4c9cc1
C
44 -webkit-mask-image: url('../assets/images/misc/menu.svg');
45
46 background-color: pvar(--mainForegroundColor);
266947e5 47 margin: 0 18px 0 20px;
26c6ee80 48
266947e5
C
49 @media screen and (max-width: $mobile-view) {
50 margin: 0 10px;
51 }
52 }
53}
ef80c66c 54
266947e5
C
55.header-right {
56 height: $header-height;
57 display: flex;
58 align-items: center;
59 justify-content: flex-end;
60 white-space: nowrap;
61 flex: 1;
62}
26c6ee80 63
266947e5
C
64.peertube-title {
65 @include disable-default-a-behaviour;
3eeeb87f 66
266947e5
C
67 font-size: 20px;
68 font-weight: $font-bold;
69 color: inherit !important;
70 display: flex;
71 align-items: center;
72 overflow: hidden;
732c95cc 73 padding: 0 0 0 10px;
3daf4002 74
266947e5
C
75 .instance-name {
76 @include ellipsis;
77
78 width: 100%;
732c95cc 79
80 @media screen and (max-width: $mobile-view) {
81 display: none;
82 }
ea9f487b 83 }
ea9f487b 84
266947e5 85 .icon.icon-logo {
27bc9586
C
86 @include margin-right(0.5rem);
87
266947e5
C
88 display: inline-block;
89 width: 23px;
90 height: 24px;
266947e5 91 }
897ec54d 92}
72c33e71
C
93
94.broadcast-message {
95 min-height: 50px;
96 text-align: center;
97 margin-bottom: 0;
98 border-radius: 0;
99 display: grid;
100 grid-template-columns: 1fr 30px;
101 column-gap: 10px;
102
103 my-global-icon {
104 justify-self: center;
105 align-self: center;
106 cursor: pointer;
72c33e71
C
107 width: 20px;
108 }
109
72c33e71
C
110 ::ng-deep {
111 p {
112 font-size: 16px;
113 }
114
115 p:last-child {
116 margin-bottom: 0;
117 }
118 }
119}