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
|
|
|
// Button overrides
|
|
|
|
@import "common/sass/variables";
|
|
|
|
@import "common/sass/mixins";
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
@include button-size(
|
|
|
|
$padding-base-vertical,
|
|
|
|
$padding-large-horizontal,
|
|
|
|
$font-size-bump,
|
|
|
|
$line-height-base,
|
|
|
|
$border-radius
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override sizes
|
|
|
|
.btn-lg {
|
|
|
|
// line-height: ensure even-numbered height of button next to large input
|
|
|
|
@include button-size(
|
|
|
|
$padding-large-vertical,
|
|
|
|
$padding-large-horizontal,
|
|
|
|
$font-size-bump-more,
|
|
|
|
$line-height-large,
|
|
|
|
$border-radius
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.btn-sm {
|
|
|
|
// line-height: ensure proper height of button next to small input
|
|
|
|
@include button-size(
|
|
|
|
$padding-small-vertical,
|
|
|
|
$padding-small-horizontal,
|
|
|
|
$font-size-base,
|
|
|
|
$line-height-small,
|
|
|
|
$border-radius
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.btn-xs {
|
|
|
|
@include button-size(
|
|
|
|
$padding-xs-vertical,
|
|
|
|
$padding-xs-horizontal,
|
|
|
|
$font-size-small,
|
|
|
|
$line-height-small,
|
|
|
|
$border-radius
|
|
|
|
);
|
|
|
|
padding: .1rem .6rem .2rem;
|
|
|
|
}
|
2017-10-02 22:36:59 +00:00
|
|
|
// This is a "smaller" small, to accomodate overrides done in v3.
|
|
|
|
.btn-smr {
|
|
|
|
@include button-size(
|
|
|
|
.4rem,
|
|
|
|
1rem,
|
|
|
|
14px,
|
|
|
|
$line-height-base,
|
|
|
|
$border-radius
|
|
|
|
);
|
|
|
|
}
|
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
|
|
|
|
|
|
|
// Custom color
|
|
|
|
.btn-white {
|
|
|
|
@include button-variant($brand-info, rgba(255,255,255,.8), rgba(255,255,255,.8));
|
|
|
|
color: $brand-info;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Custom file button
|
|
|
|
.btn-file {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
input[type=file] {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
font-size: 100px;
|
|
|
|
text-align: right;
|
|
|
|
opacity: 0;
|
|
|
|
background: red;
|
|
|
|
cursor: inherit;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Contextual color overrides (?)
|
|
|
|
.alert .btn-info {
|
|
|
|
background-color: white;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $brand-info;
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
text-decoration: none;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
&.disabled {
|
|
|
|
background-color: white;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $brand-info;
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group .btn-default {
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
&.active {
|
|
|
|
border: 1px solid $brand-primary;
|
|
|
|
color: $brand-primary;
|
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
|
|
|
}
|