Skip to content

Commit

Permalink
Add own scss for error styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Jan 3, 2022
1 parent 4a9451a commit c2607e5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
24 changes: 1 addition & 23 deletions src/UI.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import 'loading-spinner';
@import 'volume-slider';
@import 'livestream-container';
@import 'error';

#stroeer-videoplayer-livestream-ui-icons {
display: none;
Expand All @@ -14,20 +15,6 @@
top: 0;
}

.stroeer-videoplayer .stroeer-videoplayer-ui .error {
text-align: center;
background-color: #171B26;
color: #fff;
border-radius: 8px;
padding: 10px;
display: table-cell;
vertical-align: middle;
svg {
height: 146px;
fill: $primaryColor1;
}
}

.stroeer-videoplayer .stroeer-videoplayer-ui .livestream {
position: relative;
z-index: 200;
Expand Down Expand Up @@ -124,12 +111,3 @@
}
}
}

@media screen and (max-width: 375px) {
.stroeer-videoplayer .stroeer-videoplayer-ui .error {
font-size: 13px;
svg {
height: 121px;
}
}
}
22 changes: 22 additions & 0 deletions src/_error.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.stroeer-videoplayer .stroeer-videoplayer-ui .error {
text-align: center;
background-color: #171B26;
color: #fff;
border-radius: 8px;
padding: 10px;
display: table-cell;
vertical-align: middle;
svg {
height: 146px;
fill: $primaryColor1;
}
}

@media screen and (max-width: 375px) {
.stroeer-videoplayer .stroeer-videoplayer-ui .error {
font-size: 13px;
svg {
height: 121px;
}
}
}

0 comments on commit c2607e5

Please sign in to comment.