mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
* wip * Commenting stuff to keep the build happy * Revealing sections * Custom select elements & more form work * Range input styles * Text fields with inputs do the right thing * Safari & Firefox fixes * Large compress select * oops * MozJPEG options updated * OptPNG options * These asserts weren't true * Generic options * WebP options * Hiding "edit" when "original image" * Download icon * Copy setting button - still not happy with this * Progress indicator * Loading icon enter/exit anim * Preventing controls going under options * Ahh so that's what was causing scrolling * Ahh so that's what was causing outlines * Simplifying range styles and fixing cross-browser * Processing custom element styles * Get precision from step by default * I don't know how or when this happened. * Don't need that many steps * Avoid having an element that covers the pinch zoom * Preventing overlap with zoom controls * Prevent ts warning * Fixing spinner position * Simplifying FileSize
34 lines
467 B
SCSS
34 lines
467 B
SCSS
.select {
|
|
position: relative;
|
|
}
|
|
|
|
.native-select {
|
|
background: #2f2f2f;
|
|
border-radius: 4px;
|
|
font: inherit;
|
|
padding: 4px 25px 4px 10px;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
border: none;
|
|
color: #fff;
|
|
width: 100%;
|
|
}
|
|
|
|
.arrow {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
fill: #fff;
|
|
width: 10px;
|
|
}
|
|
|
|
.large {
|
|
padding: 10px 35px 10px 10px;
|
|
background: #151515;
|
|
|
|
& .arrow {
|
|
right: 13px;
|
|
}
|
|
}
|