Skip to content

Commit 6424b3d

Browse files
committed
Move main player alerts to overlay the info area.
This places them in close proximity to controls that triggered them. Also changes z-index so tooltips are above notice.
1 parent c2b3f68 commit 6424b3d

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎scripts/control.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,8 @@
17271727
}
17281728
else if (location !== 'screenreader') {
17291729
$alertBox.css({
1730-
left: (this.$playerDiv.width() / 2) - ($alertBox.width() / 2)
1730+
top: 'auto',
1731+
bottom: 0,
17311732
});
17321733
}
17331734
if (location !== 'screenreader') {

‎styles/base.css‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.able-popup = 9200
1515
.able-volume-head = 9175
1616
.able-volume-slider = 9150
17-
.able-tooltip = 9000
17+
.able-tooltip = 9500
1818
1919
* Pop-ups with critical content: (7000 - 8000):
2020
.able-sign-window = 8000
@@ -796,6 +796,10 @@ div.able-wrapper.fullscreen {
796796
display: block;
797797
}
798798

799+
.able .able-alert {
800+
border: none;
801+
}
802+
799803
.able-alert {
800804
background-color: #ffc;
801805
z-index: 9400;
@@ -812,7 +816,7 @@ div.able-wrapper.fullscreen {
812816
}
813817

814818
.able-tooltip {
815-
z-index: 9000;
819+
z-index: 9500;
816820
}
817821

818822
/*

0 commit comments

Comments
 (0)