aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/states/error.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/states/error.scss')
-rw-r--r--src/sass/states/error.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/sass/states/error.scss b/src/sass/states/error.scss
new file mode 100644
index 00000000..64d05c7b
--- /dev/null
+++ b/src/sass/states/error.scss
@@ -0,0 +1,25 @@
+// --------------------------------------------------------------
+// Error state
+// --------------------------------------------------------------
+
+.plyr--has-error {
+ pointer-events: none;
+
+ &::after {
+ align-items: center;
+ background: rgba(#000, 90%);
+ color: #fff;
+ content: attr(data-plyr-error);
+ display: flex;
+ font-size: $plyr-font-size-base;
+ height: 100%;
+ justify-content: center;
+ left: 0;
+ position: absolute;
+ text-align: center;
+ text-shadow: 0 1px 1px rgba(#000, 10%);
+ top: 0;
+ width: 100%;
+ z-index: 10;
+ }
+}