mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-25 02:20:24 +00:00
9cac0298a2
* Manage modal focus * Add isOpen prop to CustomNodeModal * Remove outline overrides * Update outline style for inputs * Fix modal focus management & Cleanup CustomNodeModal * Add aria-label on modal close button * Fix modal scroll to top * Add aria-live property for notifications * Add aria-busy to Spinner component * Fix border styles for generatewallet password inputs * Update token balances inputs * Remove multiple h1's & Update styles * Add alt text to all img elements * Update swap link from bity to shapeshift * Update aria-labels and alt text * Only show keystore password input when required * Revert "Only show keystore password input when required" This reverts commit 7ec5de52da0982cd3131f365b142f6915638d831. * address changes requested
96 lines
2.1 KiB
SCSS
96 lines
2.1 KiB
SCSS
@import 'common/sass/variables';
|
|
|
|
.Select {
|
|
border-radius: 2px;
|
|
background-color: white;
|
|
border: 1px solid #e5ecf3;
|
|
border-radius: 2px;
|
|
font-weight: 400;
|
|
font-size: 1rem;
|
|
box-shadow: inset 0 1px 0 0 rgba(63, 63, 68, 0.05);
|
|
transition: border-color 120ms, box-shadow 120ms;
|
|
height: 3rem;
|
|
&-control {
|
|
min-width: 7.5rem;
|
|
height: inherit;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
&:hover {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
&-placeholder {
|
|
line-height: $line-height-base;
|
|
}
|
|
&-input {
|
|
position: absolute;
|
|
> input {
|
|
line-height: $line-height-base;
|
|
padding: 0;
|
|
}
|
|
}
|
|
&-placeholder,
|
|
&-input {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
padding: 0rem 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: block;
|
|
height: auto;
|
|
}
|
|
&-option {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
&-menu-outer {
|
|
z-index: 3;
|
|
width: calc(100% + 2px);
|
|
left: -1px;
|
|
border-radius: 2px;
|
|
background-color: white;
|
|
border: none;
|
|
border-left: 2px solid #5694b8;
|
|
border-right: 2px solid #5694b8;
|
|
border-bottom: 2px solid #5694b8;
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
border-bottom-left-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
border-color: inherit;
|
|
}
|
|
&-menu {
|
|
max-height: 8.625rem;
|
|
}
|
|
&.invalid.has-blurred {
|
|
border-color: $brand-danger;
|
|
box-shadow: inset 0px 0px 0px 1px $brand-danger;
|
|
}
|
|
&.is-focused {
|
|
border-color: #4295bc;
|
|
box-shadow: inset 0px 0px 0px 1px #4295bc;
|
|
&.valid {
|
|
border-color: #8dd17b;
|
|
box-shadow: inset 0px 0px 0px 1px #8dd17b;
|
|
}
|
|
}
|
|
&-value {
|
|
line-height: $line-height-base !important;
|
|
padding-left: 0 !important;
|
|
padding: 0.75rem 1rem !important;
|
|
height: inherit !important;
|
|
&-label {
|
|
position: relative;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: block;
|
|
}
|
|
}
|
|
&-multi-value-wrapper {
|
|
display: block;
|
|
position: relative;
|
|
height: inherit;
|
|
}
|
|
}
|