mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 01:07:18 +00:00
# Conflicts: # codecs/cpp.Dockerfile # codecs/imagequant/example.html # codecs/webp/dec/webp_dec.d.ts # codecs/webp/dec/webp_dec.js # codecs/webp/dec/webp_dec.wasm # codecs/webp/enc/webp_enc.d.ts # codecs/webp/enc/webp_enc.js # codecs/webp/enc/webp_enc.wasm # package-lock.json # package.json # src/codecs/tiny.webp # src_old/codecs/encoders.ts # src_old/codecs/processor-worker/tiny.avif # src_old/codecs/processor-worker/tiny.webp # src_old/codecs/tiny.webp # src_old/components/compress/index.tsx # src_old/lib/util.ts # src_old/sw/util.ts
56 lines
886 B
SCSS
56 lines
886 B
SCSS
.range {
|
|
position: relative;
|
|
z-index: 0;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.label-text {
|
|
color: #fff; /* TEMP */
|
|
}
|
|
|
|
.range-wc-container {
|
|
position: relative;
|
|
z-index: 1;
|
|
grid-row: 2 / 3;
|
|
grid-column: 1 / 3;
|
|
}
|
|
|
|
.range-wc {
|
|
width: 100%;
|
|
}
|
|
|
|
.text-input {
|
|
grid-row: 1 / 2;
|
|
grid-column: 2 / 3;
|
|
|
|
text-align: right;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
border: none;
|
|
padding: 2px 5px;
|
|
box-sizing: border-box;
|
|
text-decoration: underline;
|
|
text-decoration-style: dotted;
|
|
text-underline-position: under;
|
|
width: 48px;
|
|
position: relative;
|
|
left: 5px;
|
|
|
|
&:focus {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
// Remove the number controls
|
|
-moz-appearance: textfield;
|
|
|
|
&::-webkit-outer-spin-button,
|
|
&::-webkit-inner-spin-button {
|
|
-moz-appearance: none;
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
}
|