You've already forked 98.css
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user