1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

Added optional ::selection styling for .window-body children

This commit is contained in:
Vincent Langlois
2024-04-28 12:47:14 -04:00
parent ffa29f4cd9
commit b962b24162
2 changed files with 31 additions and 0 deletions

View File

@@ -17,6 +17,8 @@
--dialog-gray: #808080;
--dialog-gray-light: #b5b5b5;
--link-blue: #0000ff;
--highlight-blue: #00005e;
--text-highlight: #ffffff;
/* Spacing */
--element-spacing: 8px;
@@ -330,6 +332,12 @@ input[type="reset"]:disabled,
margin: var(--element-spacing);
}
.window-body .color-highlight::selection,
.window-body .color-highlight *::selection {
color: var(--text-highlight);
background-color: var(--highlight-blue);
}
fieldset {
border-image: svg-load("./icon/groupbox-border.svg") 2;
padding: calc(2 * var(--border-width) + var(--element-spacing));