Continue the cleanup train (#396)

* Improve links and search page controls... I know it looks kinda insane

* Fix donation padding Fixes #393

* Improve text field styling

* white icon

* Improve pagination and disabled button colors

* Round tab indicator

* Fix rounding of home page points card

* I hate browsers

* Change verbiage of legacy options
This commit is contained in:
Prospector
2022-03-06 19:34:40 -08:00
committed by GitHub
parent a50e109043
commit b82efb6e3c
9 changed files with 196 additions and 79 deletions

View File

@@ -5,6 +5,29 @@
display: inline-flex;
position: relative;
&:hover:not([disabled]):not(:focus-within) {
input:not(:focus) {
background-color: var(--color-button-bg-hover);
color: var(--color-button-text-hover);
border-color: var(--color-divider-dark);
}
svg {
color: var(--color-button-text-hover);
}
}
&:focus-within {
input {
outline: none !important;
border-color: var(--color-brand);
}
svg {
color: var(--color-button-text-active) !important;
}
}
input {
padding-left: 2rem;
width: 100%;
@@ -42,7 +65,7 @@
color: var(--color-button-text-hover);
}
&:active, {
&:active {
background-color: var(--color-button-bg-active);
color: var(--color-button-text-active);
}
@@ -85,13 +108,26 @@
.text-link {
color: var(--color-link);
text-decoration: underline;
&:focus-visible,
&:hover {
color: var(--color-link-hover);
}
&:active {
color: var(--color-link-active);
}
}
.title-link {
&:hover {
color: var(--color-link);
}
text-decoration: underline;
&:focus-visible,
&:hover {
color: var(--color-heading);
}
&:active {
color: var(--color-text-dark);
}
}
.markdown-body {
@@ -331,9 +367,11 @@
}
&:disabled,
&[disabled] {
opacity: 0.6;
background-color: transparent;
box-shadow: inset 0 0 0 1px var(--color-button-bg-disabled);
color: var(--color-button-text-disabled);
pointer-events: none;
cursor: not-allowed;
cursor: default;
}
}
@@ -443,6 +481,12 @@
line-height: 20px;
}
}
.multiselect--above {
.multiselect__content-wrapper {
border-top-left-radius: var(--size-rounded-card);
border-top-right-radius: var(--size-rounded-card);
}
}
.multiselect__content-wrapper {
background: var(--color-dropdown-bg);
border: none;
@@ -661,6 +705,7 @@ label {
height: 4px;
bottom: 0;
left: 20%;
border-radius: var(--size-rounded-max);
}
&:hover,

View File

@@ -30,7 +30,7 @@ html {
--color-button-text-hover: #1b1e24;
--color-button-bg-active: #c3c6cb;
--color-button-text-active: var(--color-button-text-hover);
--color-button-bg-disabled: #eceef0;
--color-button-bg-disabled: #cacdd2;
--color-button-text-disabled: #9da3ac;
--color-transparent-button-bg-hover: var(--color-button-bg);
--color-transparent-button-text-hover: var(--color-text-dark);
@@ -55,7 +55,12 @@ html {
--shadow-dropdown-strong: 3px 3px 10px hsla(0, 0%, 0%, 0.3);
--shadow-tooltip: 0.2rem 0.2rem 10px rgba(0, 0, 0, 0.15);
--color-grey-link: var(--color-text);
--color-grey-link-hover: var(--color-heading);
--color-grey-link-active: var(--color-text-dark);
--color-link: #2089ff;
--color-link-hover: #1a76e7;
--color-link-active: #146fd7;
--color-badge-gray-text: #646161;
--color-badge-gray-bg: #c8c1c1;
@@ -106,7 +111,8 @@ html {
--color-button-text-hover: #ffffff;
--color-button-bg-active: #616570;
--color-button-text-active: var(--color-button-text-hover);
--color-button-text-disabled: #797979;
--color-button-bg-disabled: #3a434d;
--color-button-text-disabled: #555d65;
--color-transparent-button-bg-hover: var(--color-button-bg);
--color-transparent-button-text-hover: var(--color-text-dark);
--color-transparent-button-bg-active: var(--color-button-bg-hover);
@@ -131,6 +137,8 @@ html {
--shadow-tooltip: 0.2rem 0.2rem 10px rgba(0, 0, 0, 0.15);
--color-link: #74b6f3;
--color-link-hover: #92c0f5;
--color-link-active: #b5d5fd;
--color-badge-gray-bg: #646161;
--color-badge-gray-text: #c8c1c1;
@@ -253,12 +261,14 @@ textarea {
&:hover:not([disabled]):not(:focus) {
background: var(--color-button-bg-hover);
color: var(--color-text);
color: var(--color-button-text-hover);
border-color: var(--color-divider-dark);
}
&:focus {
background: var(--color-raised-bg);
border-color: var(--color-divider-dark);
outline: none !important;
border-color: var(--color-brand);
color: var(--color-button-text-active);
}
&:disabled,