Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

🎨 clean up hover state borders in night shift #1077

Merged
merged 2 commits into from
Jan 22, 2019
Merged
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
32 changes: 30 additions & 2 deletions app/styles/app-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ input,
background: color-mod(var(--lightgrey));
}

input:focus,
.gh-input:focus,
.gh-select:focus,
.gh-select select:focus {
border-color: color-mod(var(--lightgrey) l(+10%));
}

.for-checkbox label:hover input:not(:checked) + .input-toggle-component,
.for-radio label:hover input:not(:checked) + .input-toggle-component {
/* light=>dark theme => lightgrey=>middarkgrey */
border-color: color-mod(var(--lightgrey) l(+10%));
}

.gh-nav,
.settings-menu-container {
background: #212A2E;
Expand Down Expand Up @@ -151,13 +164,26 @@ input,
color: color-mod(var(--darkgrey) l(-27%) blackness(+15%));
text-shadow: none;
}

.gh-btn:hover:not(.gh-btn-link) {
border-color: color-mod(var(--darkgrey) l(-10%));
color: color-mod(var(--darkgrey) l(-10%));
}

.gh-btn-blue,
.gh-btn-green,
.gh-btn-red {
color: #fff;
border: 0;
}

.gh-btn-blue:hover,
.gh-btn-green:hover,
.gh-btn-red:hover {
border-color: white;
color: white;
}

.gh-btn-link {
border: none;
}
Expand All @@ -180,7 +206,8 @@ input,
color: color-mod(var(--lightgrey) lightness(+20%));
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > li > button:hover, .dropdown-menu > li > button:focus {
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus,
.dropdown-menu > li > button:hover, .dropdown-menu > li > button:focus {
color: var(--lightgrey);
}

Expand Down Expand Up @@ -240,7 +267,8 @@ input,
color: var(--darkgrey);
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > li > button:hover, .dropdown-menu > li > button:focus {
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus,
.dropdown-menu > li > button:hover, .dropdown-menu > li > button:focus {
color: #fff;
}

Expand Down