Skip to content

Commit 6b436cd

Browse files
committed
remove sepia and night tests
1 parent f74701d commit 6b436cd

7 files changed

Lines changed: 0 additions & 804 deletions

File tree

backstop.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,6 @@
9292
"selectors": ["document"],
9393
"misMatchThreshold" : 0.1
9494
},
95-
{
96-
"label": "Sepia mode pref",
97-
"url": "http://localhost:8000/tests/sepia.html",
98-
"delay": 0,
99-
"selectors": ["document"],
100-
"misMatchThreshold" : 0.1
101-
},
102-
{
103-
"label": "Night mode pref",
104-
"url": "http://localhost:8000/tests/night.html",
105-
"delay": 0,
106-
"selectors": ["document"],
107-
"misMatchThreshold" : 0.1
108-
},
10995
{
11096
"label": "Theming (Reading System)",
11197
"url": "http://localhost:8000/tests/theming.html",

css/dist/ReadiumCSS-after.css

Lines changed: 0 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -133,145 +133,6 @@ body{
133133
padding-right:var(--RS__scrollPaddingRight) !important;
134134
}
135135

136-
:root[style*="readium-night-on"]{
137-
138-
--RS__selectionTextColor:inherit;
139-
140-
--RS__selectionBackgroundColor:#b4d8fe;
141-
142-
--RS__visitedColor:#0099E5;
143-
144-
--RS__linkColor:#63caff;
145-
146-
--RS__textColor:#FEFEFE;
147-
148-
--RS__backgroundColor:#000000;
149-
}
150-
151-
:root[style*="readium-night-on"] *:not(a){
152-
color:inherit !important;
153-
background-color:transparent !important;
154-
border-color:currentcolor !important;
155-
}
156-
157-
:root[style*="readium-night-on"] svg text{
158-
fill:currentcolor !important;
159-
stroke:none !important;
160-
}
161-
162-
:root[style*="readium-night-on"] a:link,
163-
:root[style*="readium-night-on"] a:link *{
164-
color:var(--RS__linkColor) !important;
165-
}
166-
167-
:root[style*="readium-night-on"] a:visited,
168-
:root[style*="readium-night-on"] a:visited *{
169-
color:var(--RS__visitedColor) !important;
170-
}
171-
172-
:root[style*="readium-night-on"] img[class*="gaiji"],
173-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
174-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
175-
-webkit-filter:invert(100%);
176-
filter:invert(100%);
177-
}
178-
179-
:root[style*="readium-sepia-on"]{
180-
181-
--RS__selectionTextColor:inherit;
182-
183-
--RS__selectionBackgroundColor:#b4d8fe;
184-
185-
--RS__visitedColor:#551A8B;
186-
187-
--RS__linkColor:#0000EE;
188-
189-
--RS__textColor:#121212;
190-
191-
--RS__backgroundColor:#faf4e8;
192-
}
193-
194-
:root[style*="readium-sepia-on"] *:not(a){
195-
color:inherit !important;
196-
background-color:transparent !important;
197-
}
198-
199-
:root[style*="readium-sepia-on"] a:link,
200-
:root[style*="readium-sepia-on"] a:link *{
201-
color:var(--RS__linkColor);
202-
}
203-
204-
:root[style*="readium-sepia-on"] a:visited,
205-
:root[style*="readium-sepia-on"] a:visited *{
206-
color:var(--RS__visitedColor);
207-
}
208-
209-
@media screen and (-ms-high-contrast: active){
210-
211-
:root{
212-
color:windowText !important;
213-
background-color:window !important;
214-
}
215-
216-
:root :not(#\#):not(#\#):not(#\#),
217-
:root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#)
218-
:root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#){
219-
color:inherit !important;
220-
background-color:inherit !important;
221-
}
222-
223-
.readiumCSS-mo-active-default{
224-
color:highlightText !important;
225-
background-color:highlight !important;
226-
}
227-
}
228-
229-
@media screen and (-ms-high-contrast: white-on-black){
230-
231-
:root[style*="readium-night-on"] img[class*="gaiji"],
232-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
233-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
234-
-webkit-filter:none !important;
235-
filter:none !important;
236-
}
237-
238-
:root[style*="readium-night-on"][style*="readium-invert-on"] img{
239-
-webkit-filter:none !important;
240-
filter:none !important;
241-
}
242-
243-
:root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{
244-
-webkit-filter:brightness(80%);
245-
filter:brightness(80%);
246-
}
247-
}
248-
249-
@media screen and (inverted-colors){
250-
251-
:root[style*="readium-night-on"] img[class*="gaiji"],
252-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
253-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
254-
-webkit-filter:none !important;
255-
filter:none !important;
256-
}
257-
258-
:root[style*="readium-night-on"][style*="readium-invert-on"] img{
259-
-webkit-filter:none !important;
260-
filter:none !important;
261-
}
262-
263-
:root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{
264-
-webkit-filter:brightness(80%);
265-
filter:brightness(80%);
266-
}
267-
}
268-
269-
@media screen and (monochrome){
270-
}
271-
272-
@media screen and (prefers-reduced-motion){
273-
}
274-
275136
:root[style*="--USER__backgroundColor"]{
276137
background-color:var(--USER__backgroundColor) !important;
277138
}

css/dist/cjk-horizontal/ReadiumCSS-after.css

Lines changed: 0 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -133,145 +133,6 @@ body{
133133
padding-right:var(--RS__scrollPaddingRight) !important;
134134
}
135135

136-
:root[style*="readium-night-on"]{
137-
138-
--RS__selectionTextColor:inherit;
139-
140-
--RS__selectionBackgroundColor:#b4d8fe;
141-
142-
--RS__visitedColor:#0099E5;
143-
144-
--RS__linkColor:#63caff;
145-
146-
--RS__textColor:#FEFEFE;
147-
148-
--RS__backgroundColor:#000000;
149-
}
150-
151-
:root[style*="readium-night-on"] *:not(a){
152-
color:inherit !important;
153-
background-color:transparent !important;
154-
border-color:currentcolor !important;
155-
}
156-
157-
:root[style*="readium-night-on"] svg text{
158-
fill:currentcolor !important;
159-
stroke:none !important;
160-
}
161-
162-
:root[style*="readium-night-on"] a:link,
163-
:root[style*="readium-night-on"] a:link *{
164-
color:var(--RS__linkColor) !important;
165-
}
166-
167-
:root[style*="readium-night-on"] a:visited,
168-
:root[style*="readium-night-on"] a:visited *{
169-
color:var(--RS__visitedColor) !important;
170-
}
171-
172-
:root[style*="readium-night-on"] img[class*="gaiji"],
173-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
174-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
175-
-webkit-filter:invert(100%);
176-
filter:invert(100%);
177-
}
178-
179-
:root[style*="readium-sepia-on"]{
180-
181-
--RS__selectionTextColor:inherit;
182-
183-
--RS__selectionBackgroundColor:#b4d8fe;
184-
185-
--RS__visitedColor:#551A8B;
186-
187-
--RS__linkColor:#0000EE;
188-
189-
--RS__textColor:#121212;
190-
191-
--RS__backgroundColor:#faf4e8;
192-
}
193-
194-
:root[style*="readium-sepia-on"] *:not(a){
195-
color:inherit !important;
196-
background-color:transparent !important;
197-
}
198-
199-
:root[style*="readium-sepia-on"] a:link,
200-
:root[style*="readium-sepia-on"] a:link *{
201-
color:var(--RS__linkColor);
202-
}
203-
204-
:root[style*="readium-sepia-on"] a:visited,
205-
:root[style*="readium-sepia-on"] a:visited *{
206-
color:var(--RS__visitedColor);
207-
}
208-
209-
@media screen and (-ms-high-contrast: active){
210-
211-
:root{
212-
color:windowText !important;
213-
background-color:window !important;
214-
}
215-
216-
:root :not(#\#):not(#\#):not(#\#),
217-
:root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#)
218-
:root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#){
219-
color:inherit !important;
220-
background-color:inherit !important;
221-
}
222-
223-
.readiumCSS-mo-active-default{
224-
color:highlightText !important;
225-
background-color:highlight !important;
226-
}
227-
}
228-
229-
@media screen and (-ms-high-contrast: white-on-black){
230-
231-
:root[style*="readium-night-on"] img[class*="gaiji"],
232-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
233-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
234-
-webkit-filter:none !important;
235-
filter:none !important;
236-
}
237-
238-
:root[style*="readium-night-on"][style*="readium-invert-on"] img{
239-
-webkit-filter:none !important;
240-
filter:none !important;
241-
}
242-
243-
:root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{
244-
-webkit-filter:brightness(80%);
245-
filter:brightness(80%);
246-
}
247-
}
248-
249-
@media screen and (inverted-colors){
250-
251-
:root[style*="readium-night-on"] img[class*="gaiji"],
252-
:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child,
253-
:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{
254-
-webkit-filter:none !important;
255-
filter:none !important;
256-
}
257-
258-
:root[style*="readium-night-on"][style*="readium-invert-on"] img{
259-
-webkit-filter:none !important;
260-
filter:none !important;
261-
}
262-
263-
:root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{
264-
-webkit-filter:brightness(80%);
265-
filter:brightness(80%);
266-
}
267-
}
268-
269-
@media screen and (monochrome){
270-
}
271-
272-
@media screen and (prefers-reduced-motion){
273-
}
274-
275136
:root[style*="--USER__backgroundColor"]{
276137
background-color:var(--USER__backgroundColor) !important;
277138
}

0 commit comments

Comments
 (0)