Skip to content
Snippets Groups Projects
Commit 799cb214 authored by Arkerthan's avatar Arkerthan
Browse files

use existing color variables where possible

parent 42483d64
No related branches found
No related tags found
No related merge requests found
div.tabbar button.show-warning { /* dumb name, but warning and error already exist */
background-color: #b30000;
border-color: #b30000;
}
div.tabbar button.show-warning:hover {
background-color: #e60000
}
div.tabbar button.show-warning.active {
background-color: #4d0000;
}
div.tabbar { div.tabbar {
overflow: hidden; overflow: hidden;
} }
div.tabbar button { div.tabbar button {
background-color: #252525; background-color: var(--button-color);
border: solid 2px #252525; border: solid 2px var(--button-color);
color: #68d; color: var(--link-color);
float: left; float: left;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
...@@ -38,14 +25,27 @@ div.tabbar button.card.active { ...@@ -38,14 +25,27 @@ div.tabbar button.card.active {
} }
div.tabbar button:hover { div.tabbar button:hover {
background-color: #414141; background-color: var(--button-hover-color);
} }
div.tabbar button.active { div.tabbar button.active {
background-color: #050505; background-color: var(--button-selected-color);
color: #c7cedf; color: #c7cedf;
} }
div.tabbar button.show-warning { /* dumb name, but warning and error already exist */
background-color: #b30000;
border-color: #b30000;
}
div.tabbar button.show-warning:hover {
background-color: #e60000
}
div.tabbar button.show-warning.active {
background-color: #4d0000;
}
div.tabbar a.active { div.tabbar a.active {
color: white; color: white;
pointer-events: none; pointer-events: none;
......
...@@ -180,7 +180,7 @@ span.zeroButton > a:hover { text-decoration: none; } ...@@ -180,7 +180,7 @@ span.zeroButton > a:hover { text-decoration: none; }
/* Colors are made as css classes, to allow them to be changed for a light color scheme (for example). */ /* Colors are made as css classes, to allow them to be changed for a light color scheme (for example). */
/* a version is for this case: <span class="-.."><a>text</a></span> */ /* a version is for this case: <span class="-.."><a>text</a></span> */
.link, .link a { color: #68D } /* link color */ .link, .link a { color: var(--link-color) } /* link color */
.aquamarine, .aquamarine a, .skill, .skill a { color: aquamarine } .aquamarine, .aquamarine a, .skill, .skill a { color: aquamarine }
.coral, .coral a, .fetish.loss, .fetish.loss a { color: coral } .coral, .coral a, .fetish.loss, .fetish.loss a { color: coral }
.cyan, .cyan a { color: cyan } /* used for aphrodisiac & neighbor arcs */ .cyan, .cyan a { color: cyan } /* used for aphrodisiac & neighbor arcs */
...@@ -240,7 +240,7 @@ white-space: normal; ...@@ -240,7 +240,7 @@ white-space: normal;
/* css rules for rules assistant */ /* css rules for rules assistant */
.rajs-listitem { .rajs-listitem {
display: inline-block; display: inline-block;
color: #68D; color: var(--link-color);
margin-right: 1em; margin-right: 1em;
} }
.rajs-listitem.selected { .rajs-listitem.selected {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment