1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-30 08:20:39 +02:00

Merge branch 'master' into bugfix/custom-boxes

This commit is contained in:
Kognise
2019-08-26 13:23:15 -04:00
28 changed files with 889 additions and 119 deletions

99
dist/light.css vendored
View File

@@ -174,7 +174,11 @@ button,
input[type='submit'],
input[type='button'],
input[type='checkbox'],
<<<<<<< HEAD
input[type='radio'] {
=======
input[type='range'] {
>>>>>>> master
cursor: pointer;
}
@@ -184,7 +188,6 @@ select {
}
input,
select,
button,
textarea {
color: var(--form-text);
@@ -202,7 +205,12 @@ textarea {
outline: none;
}
<<<<<<< HEAD
input,
=======
input:not([type='checkbox']):not([type='radio']),
input[type='range'],
>>>>>>> master
select,
button,
textarea {
@@ -275,6 +283,7 @@ input[type='checkbox']:active,
input[type='radio']:active,
input[type='submit']:active,
input[type='button']:active,
input[type='range']:active,
button:active {
transform: translateY(2px);
}
@@ -303,6 +312,94 @@ textarea:disabled {
color: var(--form-placeholder);
}
input[type='range'] {
margin: 10px 0;
padding: 10px 0;
background: transparent;
}
input[type='range']:focus {
outline: none;
}
input[type='range']::-webkit-slider-runnable-track {
width: 100%;
height: 9.5px;
transition: 0.2s;
background: var(--background);
border-radius: 3px;
}
input[type='range']::-webkit-slider-thumb {
box-shadow: 0px 1px 1px #000000, 0px 0px 1px #0d0d0d;
height: 20px;
width: 20px;
border-radius: 50%;
background: var(--border);
-webkit-appearance: none;
margin-top: -7px;
}
input[type='range']:focus::-webkit-slider-runnable-track {
background: var(--background);
}
input[type='range']::-moz-range-track {
width: 100%;
height: 9.5px;
transition: 0.2s;
background: var(--background);
border-radius: 3px;
}
input[type='range']::-moz-range-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
height: 20px;
width: 20px;
border-radius: 50%;
background: var(--border);
}
input[type='range']::-ms-track {
width: 100%;
height: 9.5px;
background: transparent;
border-color: transparent;
border-width: 16px 0;
color: transparent;
}
input[type='range']::-ms-fill-lower {
background: var(--background);
border: 0.2px solid #010101;
border-radius: 3px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type='range']::-ms-fill-upper {
background: var(--background);
border: 0.2px solid #010101;
border-radius: 3px;
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type='range']::-ms-thumb {
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
border: 1px solid #000000;
height: 20px;
width: 20px;
border-radius: 50%;
background: var(--border);
}
input[type='range']:focus::-ms-fill-lower {
background: var(--background);
}
input[type='range']:focus::-ms-fill-upper {
background: var(--background);
}
a {
text-decoration: none;
color: var(--links);