|
@@ -7,12 +7,23 @@
|
|
Style sheet used by contents.htm
|
|
Style sheet used by contents.htm
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+:root {
|
|
|
|
+ color-scheme: light dark;
|
|
|
|
+ --light-color: WindowText;
|
|
|
|
+ --dark-color: #d6d6d6;
|
|
|
|
+ --light-background-color: Window;
|
|
|
|
+ --dark-background-color: #1f1f1f;
|
|
|
|
+ --light-tool-background-color: ButtonFace;
|
|
|
|
+ --dark-tool-background-color: #403E41;
|
|
|
|
+}
|
|
BODY {
|
|
BODY {
|
|
font-family: "Segoe UI", Tahoma, sans-serif;
|
|
font-family: "Segoe UI", Tahoma, sans-serif;
|
|
font-size: 75%; /* 9pt (12px/16px) */
|
|
font-size: 75%; /* 9pt (12px/16px) */
|
|
margin: 0;
|
|
margin: 0;
|
|
- color: WindowText;
|
|
|
|
- background-color: Window;
|
|
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
|
|
+ background-color: Window; /* for IE */
|
|
|
|
+ background-color: light-dark(var(--light-background-color), var(--dark-background-color));
|
|
}
|
|
}
|
|
INPUT {
|
|
INPUT {
|
|
font: inherit;
|
|
font: inherit;
|
|
@@ -20,8 +31,10 @@ INPUT {
|
|
|
|
|
|
|
|
|
|
#tabbar {
|
|
#tabbar {
|
|
- background-color: ButtonFace;
|
|
|
|
- color: WindowText;
|
|
|
|
|
|
+ background-color: ButtonFace; /* for IE */
|
|
|
|
+ background-color: light-dark(var(--light-tool-background-color), var(--dark-tool-background-color));
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
padding-top: 6px;
|
|
padding-top: 6px;
|
|
cursor: default;
|
|
cursor: default;
|
|
-moz-user-select: none;
|
|
-moz-user-select: none;
|
|
@@ -31,7 +44,8 @@ INPUT {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
#tabbar TD.selectedtab {
|
|
#tabbar TD.selectedtab {
|
|
- background-color: Window;
|
|
|
|
|
|
+ background-color: Window; /* for IE */
|
|
|
|
+ background-color: light-dark(var(--light-background-color), var(--dark-background-color));
|
|
padding: 2px 6px 3px 6px;
|
|
padding: 2px 6px 3px 6px;
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
@@ -41,7 +55,8 @@ INPUT {
|
|
}
|
|
}
|
|
#tabbar A {
|
|
#tabbar A {
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
- color: WindowText;
|
|
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
outline: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
@@ -63,7 +78,8 @@ INPUT {
|
|
#tabbody-contents A:link,
|
|
#tabbody-contents A:link,
|
|
#tabbody-contents A:visited,
|
|
#tabbody-contents A:visited,
|
|
#tabbody-contents A:active {
|
|
#tabbody-contents A:active {
|
|
- color: WindowText;
|
|
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
@@ -73,15 +89,18 @@ INPUT {
|
|
}
|
|
}
|
|
#tabbody-contents A.selectedlink:link,
|
|
#tabbody-contents A.selectedlink:link,
|
|
#tabbody-contents A.selectedlink:visited {
|
|
#tabbody-contents A.selectedlink:visited {
|
|
- color: WindowText;
|
|
|
|
- background-color: ButtonFace;
|
|
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
|
|
+ background-color: ButtonFace; /* for IE */
|
|
|
|
+ background-color: light-dark(var(--light-tool-background-color), var(--dark-tool-background-color));
|
|
}
|
|
}
|
|
/* It would be cleaner to use :focus, but IE<8 doesn't support it */
|
|
/* It would be cleaner to use :focus, but IE<8 doesn't support it */
|
|
#tabbody-contents A.focusedlink:link,
|
|
#tabbody-contents A.focusedlink:link,
|
|
#tabbody-contents A.focusedlink:visited {
|
|
#tabbody-contents A.focusedlink:visited {
|
|
color: HighlightText;
|
|
color: HighlightText;
|
|
background-color: Highlight;
|
|
background-color: Highlight;
|
|
- outline-color: WindowText; /* needed for focus rect to appear on Firefox (3.5) */
|
|
|
|
|
|
+ outline-color: WindowText; /* for IE */
|
|
|
|
+ outline-color: light-dark(var(--light-color), var(--dark-color)); /* needed for focus rect to appear on Firefox (3.5) */
|
|
}
|
|
}
|
|
#tabbody-contents TABLE {
|
|
#tabbody-contents TABLE {
|
|
border-collapse: collapse;
|
|
border-collapse: collapse;
|
|
@@ -110,7 +129,8 @@ INPUT {
|
|
#tabbody-index A:link,
|
|
#tabbody-index A:link,
|
|
#tabbody-index A:visited,
|
|
#tabbody-index A:visited,
|
|
#tabbody-index A:active {
|
|
#tabbody-index A:active {
|
|
- color: WindowText;
|
|
|
|
|
|
+ color: WindowText; /* for IE */
|
|
|
|
+ color: light-dark(var(--light-color), var(--dark-color));
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
@@ -121,5 +141,6 @@ INPUT {
|
|
#tabbody-index A:focus {
|
|
#tabbody-index A:focus {
|
|
color: HighlightText;
|
|
color: HighlightText;
|
|
background-color: Highlight;
|
|
background-color: Highlight;
|
|
- outline-color: WindowText; /* needed for focus rect to appear on Firefox (3.5) */
|
|
|
|
|
|
+ outline-color: WindowText; /* for IE */
|
|
|
|
+ outline-color: light-dark(var(--light-color), var(--dark-color)); /* needed for focus rect to appear on Firefox (3.5) */
|
|
}
|
|
}
|