2018-01-24 00:33:11 +00:00
|
|
|
@import './variables';
|
|
|
|
@import '~bootstrap-sass/assets/stylesheets/bootstrap/mixins';
|
2017-07-15 04:16:36 +00:00
|
|
|
|
2017-07-15 06:26:43 +00:00
|
|
|
@mixin reset-button {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-08-28 17:43:57 +00:00
|
|
|
|
|
|
|
@mixin clearfix {
|
|
|
|
&:after {
|
2018-01-24 00:33:11 +00:00
|
|
|
content: '';
|
2017-08-28 17:43:57 +00:00
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
|
|
|
|
@mixin mono {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-weight: normal;
|
2018-01-24 00:33:11 +00:00
|
|
|
letter-spacing: 0.02em;
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin ellipsis {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-10-10 22:57:15 +00:00
|
|
|
|
|
|
|
// Alpha agreement, noscript, bad browser, etc.
|
|
|
|
@mixin cover-message {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
overflow: auto;
|
|
|
|
background: $brand-info;
|
|
|
|
z-index: $zindex-top;
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
max-width: 580px;
|
|
|
|
padding: 20px;
|
|
|
|
margin: 0 auto;
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: 1px 1px 1px rgba(#000, 0.12);
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 40px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-01 19:46:28 +00:00
|
|
|
|
|
|
|
@mixin triangle($size, $color, $direction) {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: $size / 2;
|
|
|
|
|
|
|
|
@if $direction == up {
|
|
|
|
border-bottom-color: $color;
|
|
|
|
} @else if $direction == right {
|
|
|
|
border-left-color: $color;
|
|
|
|
} @else if $direction == down {
|
|
|
|
border-top-color: $color;
|
|
|
|
} @else if $direction == left {
|
|
|
|
border-right-color: $color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin show-tooltip-on-hover {
|
|
|
|
&:hover .Tooltip {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
2018-05-11 15:15:32 +00:00
|
|
|
transform: translate(-50%, -100%) translateY(-$tooltip-hover-distance);
|
2018-01-01 19:46:28 +00:00
|
|
|
transition-delay: 400ms, 400ms, 300ms;
|
2018-05-11 15:15:32 +00:00
|
|
|
|
|
|
|
&.is-direction-left {
|
|
|
|
transform: translate(-100%, -50%) translateX(-$tooltip-hover-distance);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-direction-right {
|
|
|
|
transform: translate(100%, -50%) translateX($tooltip-hover-distance);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-direction-bottom {
|
|
|
|
transform: translate(-50%, 100%) translateY($tooltip-hover-distance);
|
|
|
|
}
|
2018-01-01 19:46:28 +00:00
|
|
|
}
|
|
|
|
}
|
2018-01-24 00:33:11 +00:00
|
|
|
|
|
|
|
@mixin input-shadow($color) {
|
|
|
|
box-shadow: inset 0 1px 1px rgba(black, 0.075), 0 0 1px rgba($color, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin input-focus-shadow($color) {
|
|
|
|
box-shadow: inset 0 1px 2px rgba(black, 0.125), 0 0 1px rgba($color, 0.5);
|
|
|
|
}
|