1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-13 08:34:45 +02:00

fix: reapply color changes from #39ab174

This commit is contained in:
Jonas Kuske
2019-05-27 23:22:49 +02:00
parent f248fce30f
commit d4a00eb526
6 changed files with 25 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ body {
padding: 0 10px; padding: 0 10px;
color: var(--text-main); color: var(--text-main);
background: var(--background); background: var(--background-body);
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }

View File

@@ -1,6 +1,6 @@
code, code,
kbd { kbd {
background: var(--background-alt); background: var(--background);
color: var(--code); color: var(--code);
padding: 2.5px 5px; padding: 2.5px 5px;
border-radius: 6px; border-radius: 6px;

View File

@@ -10,9 +10,12 @@ select {
display: block; display: block;
} }
input, select, button, textarea { input,
select,
button,
textarea {
color: var(--form-text); color: var(--form-text);
background-color: var(--background-alt); background-color: var(--background);
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;
@@ -27,7 +30,9 @@ input, select, button, textarea {
} }
input:not([type='checkbox']):not([type='radio']), input:not([type='checkbox']):not([type='radio']),
select, button, textarea { select,
button,
textarea {
-webkit-appearance: none; -webkit-appearance: none;
} }
@@ -38,7 +43,9 @@ textarea {
resize: vertical; resize: vertical;
} }
button, input[type='submit'], input[type='button'] { button,
input[type='submit'],
input[type='button'] {
padding-right: 30px; padding-right: 30px;
padding-left: 30px; padding-left: 30px;
} }
@@ -69,7 +76,7 @@ select:disabled,
button:disabled, button:disabled,
textarea:disabled { textarea:disabled {
cursor: not-allowed; cursor: not-allowed;
opacity: .5; opacity: 0.5;
} }
::placeholder { ::placeholder {

View File

@@ -14,7 +14,8 @@ table {
width: 100%; width: 100%;
} }
td, th { td,
th {
padding: 6px; padding: 6px;
text-align: left; text-align: left;
} }
@@ -33,7 +34,7 @@ tbody tr:nth-child(even) {
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: var(--background-alt); background: var(--background);
border-radius: 6px; border-radius: 6px;
} }

View File

@@ -1,6 +1,7 @@
:root { :root {
--background: #202b38; --background-body: #202b38;
--background-alt: #161f27; --background: #161f27;
--background-alt: #1a242f;
--selection: #161f27; --selection: #161f27;

View File

@@ -1,6 +1,7 @@
:root { :root {
--background: #ffffff; --background-body: #ffffff;
--background-alt: #efefef; --background: #efefef;
--background-alt: #f7f7f7;
--selection: #9e9e9e; --selection: #9e9e9e;