1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/css/itcss/components/gas-slider.scss
Dan J Miller 803eaaf968 [NewUI] SendV2-#8: Send container handles tokens; gas info dynamic from state (#2364)
* Adds memo field to send-v2.

* Vertical align transaction with flexbox.

* Customize Gas UI

* Remove internal state from InputNumber and fix use in gastooltip.

* Move customize-gas-modal to its own folder and minor cleanup

* Create send container, get account info from state, and make currency display more reusable

* Adjusts send-v2 and container for send-token. Dynamically getting suggested gas prices.
2017-10-13 13:19:22 -07:00

51 lines
858 B
SCSS

.gas-slider {
position: relative;
width: 313px;
&__input {
width: 317px;
margin-left: -2px;
z-index: 2;
}
input[type=range] {
-webkit-appearance: none !important;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none !important;
height: 26px;
width: 26px;
border: 2px solid #B8B8B8;
background-color: #FFFFFF;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
border-radius: 50%;
position: relative;
z-index: 10;
}
&__bar {
height: 6px;
width: 313px;
background: $alto;
display: flex;
justify-content: space-between;
position: absolute;
top: 11px;
z-index: 0;
}
&__low, &__high {
height: 6px;
width: 49px;
z-index: 1;
}
&__low {
background-color: $crimson;
}
&__high {
background-color: $caribbean-green;
}
}