diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-28 11:15:38 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-29 09:32:12 +0200 |
commit | 72c33e716fecd1826dcf645957f8669821f91ff3 (patch) | |
tree | 31d270c2afc2f07303fa491189d6b6b1c0ea8bb1 /client/src/app/app.component.scss | |
parent | 8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d (diff) | |
download | PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.tar.gz PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.tar.zst PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.zip |
Support broadcast messages
Diffstat (limited to 'client/src/app/app.component.scss')
-rw-r--r-- | client/src/app/app.component.scss | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 0c33dc4a1..27fd69c8d 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss | |||
@@ -1,5 +1,7 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | @import '~bootstrap/scss/functions'; | ||
4 | @import '~bootstrap/scss/variables'; | ||
3 | 5 | ||
4 | .peertube-container { | 6 | .peertube-container { |
5 | padding-bottom: 20px; | 7 | padding-bottom: 20px; |
@@ -88,3 +90,39 @@ | |||
88 | flex: 1; | 90 | flex: 1; |
89 | } | 91 | } |
90 | } | 92 | } |
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; | ||
107 | |||
108 | width: 20px; | ||
109 | } | ||
110 | |||
111 | @each $color, $value in $theme-colors { | ||
112 | &.alert-#{$color} { | ||
113 | my-global-icon { | ||
114 | @include apply-svg-color(theme-color-level($color, $alert-color-level)); | ||
115 | } | ||
116 | } | ||
117 | } | ||
118 | |||
119 | ::ng-deep { | ||
120 | p { | ||
121 | font-size: 16px; | ||
122 | } | ||
123 | |||
124 | p:last-child { | ||
125 | margin-bottom: 0; | ||
126 | } | ||
127 | } | ||
128 | } | ||