Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 41 additions & 33 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@

:root {
/* Color */
--control-outline: #000000;
--control-shadow: #808080;
--control-shadow-dark-gray: #a9a9a9;
--control-shadow-white: #ffffff;
--surface: #c0c0c0;
--button-highlight: #ffffff;
--button-face: #dfdfdf;
--button-shadow: #808080;
--button-shadow: var(--control-shadow);
--window-frame: #0a0a0a;
--dialog-blue: #000080;
--dialog-blue-light: #1084d0;
--dialog-gray: #808080;
--dialog-gray-light: #b5b5b5;
--link-blue: #0000ff;
--range-background: #000000;
--text-black: #000000;
--text-dark-gray: #222222;
--text-white: #ffffff;

/* Spacing */
--element-spacing: 8px;
Expand Down Expand Up @@ -89,7 +97,7 @@
body {
font-family: Arial;
font-size: 12px;
color: #222222;
color: var(--text-dark-gray);
}

button,
Expand Down Expand Up @@ -124,7 +132,7 @@ h4 {

u {
text-decoration: none;
border-bottom: 0.5px solid #222222;
border-bottom: 0.5px solid var(--text-dark-gray);
}

button {
Expand All @@ -142,7 +150,7 @@ button {
.vertical-bar {
width: 4px;
height: 20px;
background: #c0c0c0;
background: var(--surface);
box-shadow: var(--border-raised-outer), var(--border-raised-inner);
}

Expand All @@ -158,7 +166,7 @@ button:not(:disabled):active {
}

button:focus {
outline: 1px dotted #000000;
outline: 1px dotted var(--control-outline);
outline-offset: -4px;
}

Expand Down Expand Up @@ -200,7 +208,7 @@ button::-moz-focus-inner {

.title-bar-text {
font-weight: bold;
color: white;
color: var(--text-white);
letter-spacing: 0;
margin-right: 24px;
}
Expand Down Expand Up @@ -350,7 +358,7 @@ input[type="radio"]:checked + label::after {

input[type="radio"]:focus + label,
input[type="checkbox"]:focus + label {
outline: 1px dotted #000000;
outline: 1px dotted var(--control-outline);
}

input[type="radio"][disabled] + label::before {
Expand Down Expand Up @@ -494,22 +502,22 @@ input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 2px;
box-sizing: border-box;
background: black;
border-right: 1px solid grey;
border-bottom: 1px solid grey;
box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
-1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
background: var(--range-background);
border-right: 1px solid var(--control-shadow);
border-bottom: 1px solid var(--control-shadow);
box-shadow: 1px 0 0 var(--control-shadow-white), 1px 1px 0 var(--control-shadow-white), 0 1px 0 var(--control-shadow-white), -1px 0 0 var(--control-shadow-dark-gray),
-1px -1px 0 var(--control-shadow-dark-gray), 0 -1px 0 var(--control-shadow-dark-gray), -1px 1px 0 var(--control-shadow-white), 1px -1px var(--control-shadow-dark-gray);
}

input[type="range"]::-moz-range-track {
width: 100%;
height: 2px;
box-sizing: border-box;
background: black;
border-right: 1px solid grey;
border-bottom: 1px solid grey;
box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
-1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
background: var(--range-background);
border-right: 1px solid var(--control-shadow);
border-bottom: 1px solid var(--control-shadow);
box-shadow: 1px 0 0 var(--control-shadow-white), 1px 1px 0 var(--control-shadow-white), 0 1px 0 var(--control-shadow-white), -1px 0 0 var(--control-shadow-dark-gray),
-1px -1px 0 var(--control-shadow-dark-gray), 0 -1px 0 var(--control-shadow-dark-gray), -1px 1px 0 var(--control-shadow-white), 1px -1px var(--control-shadow-dark-gray);
}

.is-vertical {
Expand All @@ -529,19 +537,19 @@ input[type="range"]::-moz-range-track {
}

.is-vertical > input[type="range"]::-webkit-slider-runnable-track {
border-left: 1px solid grey;
border-left: 1px solid var(--control-shadow);
border-right: 0;
border-bottom: 1px solid grey;
box-shadow: -1px 0 0 white, -1px 1px 0 white, 0 1px 0 white, 1px 0 0 darkgrey,
1px -1px 0 darkgrey, 0 -1px 0 darkgrey, 1px 1px 0 white, -1px -1px darkgrey;
border-bottom: 1px solid var(--control-shadow);
box-shadow: -1px 0 0 var(--control-shadow-white), -1px 1px 0 var(--control-shadow-white), 0 1px 0 var(--control-shadow-white), 1px 0 0 var(--control-shadow-dark-gray),
1px -1px 0 var(--control-shadow-dark-gray), 0 -1px 0 var(--control-shadow-dark-gray), 1px 1px 0 var(--control-shadow-white), -1px -1px var(--control-shadow-dark-gray);
}

.is-vertical > input[type="range"]::-moz-range-track {
border-left: 1px solid grey;
border-left: 1px solid var(--control-shadow);
border-right: 0;
border-bottom: 1px solid grey;
box-shadow: -1px 0 0 white, -1px 1px 0 white, 0 1px 0 white, 1px 0 0 darkgrey,
1px -1px 0 darkgrey, 0 -1px 0 darkgrey, 1px 1px 0 white, -1px -1px darkgrey;
border-bottom: 1px solid var(--control-shadow);
box-shadow: -1px 0 0 var(--control-shadow-white), -1px 1px 0 var(--control-shadow-white), 0 1px 0 var(--control-shadow-white), 1px 0 0 var(--control-shadow-dark-gray),
1px -1px 0 var(--control-shadow-dark-gray), 0 -1px 0 var(--control-shadow-dark-gray), 1px 1px 0 var(--control-shadow-white), -1px -1px var(--control-shadow-dark-gray);
}

.is-vertical > input[type="range"]::-webkit-slider-thumb {
Expand All @@ -565,8 +573,8 @@ select:focus {
background-color: var(--dialog-blue);
}
select:focus option {
color: #000;
background-color: #fff;
color: var(--control-outline);
background-color: var(--button-highlight);
}

select:active {
Expand Down Expand Up @@ -595,7 +603,7 @@ ul.tree-view li {

ul.tree-view a {
text-decoration: none;
color: #000;
color: var(--text-black);
}

ul.tree-view a:focus {
Expand All @@ -612,7 +620,7 @@ ul.tree-view ul {
margin-left: 16px;
padding-left: 16px;
/* Goes down too far */
border-left: 1px dotted #808080;
border-left: 1px dotted var(--control-shadow);
}

ul.tree-view ul > li {
Expand All @@ -625,7 +633,7 @@ ul.tree-view ul > li::before {
left: -16px;
top: 6px;
width: 12px;
border-bottom: 1px dotted #808080;
border-bottom: 1px dotted var(--control-shadow);
}

/* Cover the bottom of the left dotted border */
Expand Down Expand Up @@ -659,13 +667,13 @@ ul.tree-view details > summary:before {
display: block;
float: left;
content: "+";
border: 1px solid #808080;
border: 1px solid var(--control-shadow);
width: 8px;
height: 9px;
line-height: 8px;
margin-right: 5px;
padding-left: 1px;
background-color: #fff;
background-color: var(--control-outline);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here I believe?

}

ul.tree-view details[open] > summary:before {
Expand All @@ -686,7 +694,7 @@ code * {
}

summary:focus {
outline: 1px dotted #000000;
outline: 1px dotted (--control-outline);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing var

}

::-webkit-scrollbar {
Expand Down