aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-19 18:06:59 +0200
committerChocobozzz <me@florianbigard.com>2018-04-19 18:06:59 +0200
commitd4f3fea659163749f9ea879a5e1dd313106353c6 (patch)
tree354cc82693d16cdbd2c033e99109a49470ef565a /client/src/standalone/videos/embed.scss
parent76434ec8e3877a62eae5bb1c26a26d2a2d619a51 (diff)
downloadPeerTube-d4f3fea659163749f9ea879a5e1dd313106353c6.tar.gz
PeerTube-d4f3fea659163749f9ea879a5e1dd313106353c6.tar.zst
PeerTube-d4f3fea659163749f9ea879a5e1dd313106353c6.zip
Handle errors in embed
Diffstat (limited to 'client/src/standalone/videos/embed.scss')
-rw-r--r--client/src/standalone/videos/embed.scss45
1 files changed, 45 insertions, 0 deletions
diff --git a/client/src/standalone/videos/embed.scss b/client/src/standalone/videos/embed.scss
index fc7135d64..37c1df6c4 100644
--- a/client/src/standalone/videos/embed.scss
+++ b/client/src/standalone/videos/embed.scss
@@ -4,6 +4,16 @@
4@import '~videojs-dock/dist/videojs-dock.css'; 4@import '~videojs-dock/dist/videojs-dock.css';
5@import '../../sass/video-js-custom.scss'; 5@import '../../sass/video-js-custom.scss';
6 6
7[hidden] {
8 display: none !important;
9}
10
11body {
12 font-family: $main-fonts;
13 font-weight: $font-regular;
14 color: #000;
15}
16
7video { 17video {
8 width: 99%; 18 width: 99%;
9} 19}
@@ -43,3 +53,38 @@ html, body {
43 } 53 }
44 } 54 }
45} 55}
56
57#error-block {
58 display: none;
59
60 flex-direction: column;
61 align-content: center;
62 justify-content: center;
63 text-align: center;
64 background-color: #141313;
65 width: 100%;
66 height: 100%;
67 color: white;
68 box-sizing: border-box;
69 font-family: sans-serif;
70
71 #error-title {
72 font-size: 45px;
73 margin-bottom: 5px;
74 }
75
76 #error-content {
77 font-size: 24px;
78 }
79}
80
81@media screen and (max-width: 300px) {
82 #error-block {
83 font-size: 36px;
84
85 #error-content {
86 font-size: 14px;
87 }
88 }
89}
90