MOBILE-4091 core: Hide network error title

main
Noel De Martin 2022-11-14 11:23:33 +01:00
parent a9da1961d9
commit ead429afaf
4 changed files with 19 additions and 18 deletions

View File

@ -121,15 +121,7 @@ ion-button {
text-overflow: ellipsis;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
@include sr-only();
}
&.ion-activated {

View File

@ -1,14 +1,7 @@
// Text for accessibility, hidden from the view.
.sr-only, .accesshide {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
@include sr-only();
display: block !important;
}

View File

@ -95,6 +95,18 @@
transition: $transitions;
}
@mixin sr-only() {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/**
* Same as item-push-svg-url but admits flip-rtl
*/

View File

@ -436,6 +436,10 @@ div.core-iframe-network-error {
background: url("/assets/fonts/font-awesome/solid/wifi.svg") no-repeat 50% 50%;
margin: 25px auto;
h2 {
@include sr-only();
}
&::after {
content: " ";
position: absolute;