commit
58cf25135c
|
@ -121,15 +121,7 @@ ion-button {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.sr-only {
|
.sr-only {
|
||||||
position: absolute;
|
@include sr-only();
|
||||||
width: 1px;
|
|
||||||
height: 1px;
|
|
||||||
padding: 0;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.ion-activated {
|
&.ion-activated {
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
// Text for accessibility, hidden from the view.
|
// Text for accessibility, hidden from the view.
|
||||||
.sr-only, .accesshide {
|
.sr-only, .accesshide {
|
||||||
position: absolute;
|
@include sr-only();
|
||||||
width: 1px;
|
|
||||||
height: 1px;
|
|
||||||
padding: 0;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 0;
|
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@mixin core-focus() {
|
@mixin core-focus() {
|
||||||
outline: none;
|
outline: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -96,6 +95,18 @@
|
||||||
transition: $transitions;
|
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
|
* Same as item-push-svg-url but admits flip-rtl
|
||||||
*/
|
*/
|
||||||
|
@ -262,7 +273,7 @@
|
||||||
@return if($yiq >= 128, $dark, $light);
|
@return if($yiq >= 128, $dark, $light);
|
||||||
}
|
}
|
||||||
|
|
||||||
// WCAG contrast algorythm
|
// WCAG contrast algorithm
|
||||||
@function check-contrast($foreground, $background) {
|
@function check-contrast($foreground, $background) {
|
||||||
$foregroundLumiance: luminance($foreground);
|
$foregroundLumiance: luminance($foreground);
|
||||||
$backgroundLuminance: luminance($background);
|
$backgroundLuminance: luminance($background);
|
||||||
|
|
|
@ -436,6 +436,10 @@ div.core-iframe-network-error {
|
||||||
background: url("/assets/fonts/font-awesome/solid/wifi.svg") no-repeat 50% 50%;
|
background: url("/assets/fonts/font-awesome/solid/wifi.svg") no-repeat 50% 50%;
|
||||||
margin: 25px auto;
|
margin: 25px auto;
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
@include sr-only();
|
||||||
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: " ";
|
content: " ";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue