Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Fix FireFox High Contrast Mode for Radio Schedule #3324

Merged
merged 12 commits into from
Apr 6, 2020
1 change: 1 addition & 0 deletions packages/components/psammead-radio-schedule/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 0.1.0-alpha.30 | [PR#3324](https://github.com/bbc/psammead/pull/3324) Fix Duration border on FireFox High Contrast Mode |
| 0.1.0-alpha.29 | [PR#3318](https://github.com/bbc/psammead/pull/3318) Fix `StartTime` clock icon styling in Safari |
| 0.1.0-alpha.28 | [PR#3321](https://github.com/bbc/psammead/pull/3321) Fix radio schedules duration markup |
| 0.1.0-alpha.27 | [PR#3309](https://github.com/bbc/psammead/pull/3309) Fix Program Card styling |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/psammead-radio-schedule/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-radio-schedule",
"version": "0.1.0-alpha.29",
"version": "0.1.0-alpha.30",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ exports[`ProgramCard should render correctly for live 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #B80000;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}

Expand Down Expand Up @@ -196,6 +197,7 @@ exports[`ProgramCard should render correctly for live 1`] = `
@media screen and (-ms-high-contrast:active) {
.c8 {
background-color: transparent;
outline: none;
}
}

Expand Down Expand Up @@ -393,6 +395,7 @@ exports[`ProgramCard should render correctly for next 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #FFFFFF;
outline: 0.0625rem solid transparent;
color: #11708C;
}

Expand Down Expand Up @@ -481,6 +484,7 @@ exports[`ProgramCard should render correctly for next 1`] = `
@media screen and (-ms-high-contrast:active) {
.c7 {
background-color: transparent;
outline: none;
}
}

Expand Down Expand Up @@ -680,6 +684,7 @@ exports[`ProgramCard should render correctly for onDemand 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #222222;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}

Expand Down Expand Up @@ -754,6 +759,7 @@ exports[`ProgramCard should render correctly for onDemand 1`] = `
@media screen and (-ms-high-contrast:active) {
.c7 {
background-color: transparent;
outline: none;
}
}

Expand Down Expand Up @@ -952,6 +958,7 @@ exports[`ProgramCard should render correctly in RTL 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #222222;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}

Expand Down Expand Up @@ -1026,6 +1033,7 @@ exports[`ProgramCard should render correctly in RTL 1`] = `
@media screen and (-ms-high-contrast:active) {
.c7 {
background-color: transparent;
outline: none;
}
}

Expand Down Expand Up @@ -1222,6 +1230,7 @@ exports[`ProgramCard should render correctly without summary 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #B80000;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}

Expand Down Expand Up @@ -1282,6 +1291,7 @@ exports[`ProgramCard should render correctly without summary 1`] = `
@media screen and (-ms-high-contrast:active) {
.c7 {
background-color: transparent;
outline: none;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ const ButtonWrapper = styled.div`
${({ script }) => script && getMinion(script)};
padding: ${GEL_SPACING};
background-color: ${({ backgroundColor }) => backgroundColor};
outline: 0.0625rem solid transparent;
color: ${({ durationColor }) => durationColor};
@media screen and (-ms-high-contrast: active) {
background-color: transparent;
outline: none;
}
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #B80000;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}
Expand All @@ -174,6 +175,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #222222;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}
Expand All @@ -185,6 +187,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #FFFFFF;
outline: 0.0625rem solid transparent;
color: #11708C;
}
Expand Down Expand Up @@ -394,6 +397,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c18 {
background-color: transparent;
outline: none;
}
}
Expand All @@ -414,6 +418,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c22 {
background-color: transparent;
outline: none;
}
}
Expand All @@ -434,6 +439,7 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c26 {
background-color: transparent;
outline: none;
}
}
Expand Down Expand Up @@ -1259,6 +1265,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #B80000;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}
Expand All @@ -1270,6 +1277,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #222222;
outline: 0.0625rem solid transparent;
color: #FFFFFF;
}
Expand All @@ -1281,6 +1289,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
line-height: 1rem;
padding: 0.5rem;
background-color: #FFFFFF;
outline: 0.0625rem solid transparent;
color: #11708C;
}
Expand Down Expand Up @@ -1490,6 +1499,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c18 {
background-color: transparent;
outline: none;
}
}
Expand All @@ -1510,6 +1520,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c22 {
background-color: transparent;
outline: none;
}
}
Expand All @@ -1530,6 +1541,7 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
@media screen and (-ms-high-contrast:active) {
.c26 {
background-color: transparent;
outline: none;
}
}
Expand Down