2017-08-06 22:02:31 +02:00
|
|
|
/*
|
|
|
|
Buttons
|
|
|
|
*/
|
|
|
|
|
2018-05-29 23:33:29 +02:00
|
|
|
.btn-default,
|
2018-03-26 07:19:42 +02:00
|
|
|
.btn-primary,
|
2018-06-23 08:52:45 +02:00
|
|
|
.btn-secondary,
|
|
|
|
.btn-confirm {
|
2018-05-29 23:33:29 +02:00
|
|
|
height: 44px;
|
2018-03-26 07:19:42 +02:00
|
|
|
background: $white;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 14px;
|
2018-06-23 08:52:45 +02:00
|
|
|
font-weight: 400;
|
2018-03-26 07:19:42 +02:00
|
|
|
transition: border-color .3s ease;
|
2018-05-20 08:04:19 +02:00
|
|
|
padding: 0 16px;
|
2018-03-26 07:19:42 +02:00
|
|
|
min-width: 140px;
|
2018-05-20 08:04:19 +02:00
|
|
|
width: 100%;
|
2018-03-26 07:19:42 +02:00
|
|
|
text-transform: uppercase;
|
2018-05-03 19:51:15 +02:00
|
|
|
outline: none;
|
2018-06-23 08:52:45 +02:00
|
|
|
font-family: Roboto;
|
2018-05-29 23:33:29 +02:00
|
|
|
|
|
|
|
&--disabled,
|
|
|
|
&[disabled] {
|
|
|
|
cursor: auto;
|
|
|
|
opacity: .5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2018-03-26 07:19:42 +02:00
|
|
|
}
|
|
|
|
|
2018-05-29 23:33:29 +02:00
|
|
|
.btn-primary {
|
2018-03-26 07:19:42 +02:00
|
|
|
color: $curious-blue;
|
|
|
|
border: 2px solid $spindle;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: $zumthor;
|
|
|
|
border-color: $curious-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $curious-blue;
|
|
|
|
}
|
2018-05-29 23:33:29 +02:00
|
|
|
}
|
2018-03-26 07:19:42 +02:00
|
|
|
|
2018-05-29 23:33:29 +02:00
|
|
|
.btn-secondary {
|
|
|
|
color: $monzo;
|
|
|
|
border: 2px solid lighten($monzo, 40%);
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: lighten($monzo, 55%);
|
|
|
|
border-color: $monzo;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $monzo;
|
2018-03-26 07:19:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-29 23:33:29 +02:00
|
|
|
.btn-default {
|
2018-03-26 07:19:42 +02:00
|
|
|
color: $scorpion;
|
|
|
|
border: 2px solid $dusty-gray;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: $gallery;
|
|
|
|
border-color: $dusty-gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $scorpion;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-23 08:52:45 +02:00
|
|
|
.btn-confirm {
|
|
|
|
color: $white;
|
|
|
|
border: 2px solid $curious-blue;
|
|
|
|
background-color: $curious-blue;
|
|
|
|
}
|
|
|
|
|
2018-05-29 23:33:29 +02:00
|
|
|
.btn--large {
|
2018-03-26 07:19:42 +02:00
|
|
|
height: 54px;
|
|
|
|
}
|
|
|
|
|
2017-08-06 22:02:31 +02:00
|
|
|
.btn-green {
|
2017-08-14 10:31:27 +02:00
|
|
|
background-color: #02c9b1; // TODO: reusable color in colors.css
|
2017-08-06 22:02:31 +02:00
|
|
|
}
|
|
|
|
|
2018-01-12 01:30:07 +01:00
|
|
|
.btn-clear {
|
2017-08-14 10:31:27 +02:00
|
|
|
background: $white;
|
2018-01-12 01:30:07 +01:00
|
|
|
text-align: center;
|
|
|
|
padding: .8rem 1rem;
|
|
|
|
color: $curious-blue;
|
|
|
|
border: 2px solid $spindle;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: .85rem;
|
|
|
|
font-weight: 400;
|
|
|
|
transition: border-color .3s ease;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $curious-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled,
|
|
|
|
&[disabled] {
|
|
|
|
cursor: auto;
|
|
|
|
opacity: .5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-cancel {
|
|
|
|
background: $white;
|
|
|
|
text-align: center;
|
|
|
|
padding: .9rem 1rem;
|
|
|
|
color: $scorpion;
|
|
|
|
border: 2px solid $dusty-gray;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: .85rem;
|
|
|
|
font-weight: 400;
|
|
|
|
transition: border-color .3s ease;
|
2018-05-20 08:04:19 +02:00
|
|
|
width: 100%;
|
2018-01-12 01:30:07 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $scorpion;
|
|
|
|
}
|
2017-08-06 22:02:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// No longer used in flat design, remove when modal buttons done
|
|
|
|
// div.wallet-btn {
|
|
|
|
// border: 1px solid rgb(91, 93, 103);
|
|
|
|
// border-radius: 2px;
|
|
|
|
// height: 30px;
|
|
|
|
// width: 75px;
|
|
|
|
// font-size: 0.8em;
|
|
|
|
// text-align: center;
|
|
|
|
// line-height: 25px;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// .btn-red {
|
|
|
|
// background: rgba(254, 35, 17, 1);
|
|
|
|
// box-shadow: 0px 3px 6px rgba(254, 35, 17, 0.36);
|
|
|
|
// }
|
|
|
|
|
2017-08-29 17:39:47 +02:00
|
|
|
button[disabled],
|
|
|
|
input[type="submit"][disabled] {
|
2017-08-21 13:46:38 +02:00
|
|
|
cursor: not-allowed;
|
2017-09-22 03:44:52 +02:00
|
|
|
opacity: .5;
|
|
|
|
// background: rgba(197, 197, 197, 1);
|
|
|
|
// box-shadow: 0 3px 6px rgba(197, 197, 197, .36);
|
2017-08-21 13:46:38 +02:00
|
|
|
}
|
2017-08-06 22:02:31 +02:00
|
|
|
|
|
|
|
// button.spaced {
|
|
|
|
// margin: 2px;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// button:not([disabled]):hover, input[type="submit"]:not([disabled]):hover {
|
|
|
|
// transform: scale(1.1);
|
|
|
|
// }
|
|
|
|
// button:not([disabled]):active, input[type="submit"]:not([disabled]):active {
|
|
|
|
// transform: scale(0.95);
|
|
|
|
// }
|
|
|
|
|
|
|
|
button.primary {
|
|
|
|
padding: 8px 12px;
|
2017-08-14 10:31:27 +02:00
|
|
|
background: #f7861c;
|
|
|
|
box-shadow: 0 3px 6px rgba(247, 134, 28, .36);
|
|
|
|
color: $white;
|
2017-08-06 22:02:31 +02:00
|
|
|
font-size: 1.1em;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
2017-08-06 22:02:31 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-light {
|
|
|
|
padding: 8px 12px;
|
|
|
|
// background: #FFFFFF; // $bg-white
|
2017-08-14 10:31:27 +02:00
|
|
|
box-shadow: 0 3px 6px rgba(247, 134, 28, .36);
|
|
|
|
color: #585d67; // TODO: make reusable light button color
|
2017-08-06 22:02:31 +02:00
|
|
|
font-size: 1.1em;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
2017-08-06 22:02:31 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 20px;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #979797; // #TODO: make reusable light border color
|
2017-08-14 10:31:27 +02:00
|
|
|
opacity: .5;
|
2017-08-06 22:02:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: cleanup: not used anywhere
|
|
|
|
button.btn-thin {
|
|
|
|
border: 1px solid;
|
2017-08-14 10:31:27 +02:00
|
|
|
border-color: #4d4d4d;
|
|
|
|
color: #4d4d4d;
|
2017-08-06 22:02:31 +02:00
|
|
|
background: rgb(255, 174, 41);
|
|
|
|
border-radius: 4px;
|
|
|
|
min-width: 200px;
|
|
|
|
margin: 12px 0;
|
|
|
|
padding: 6px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2017-09-12 07:14:09 +02:00
|
|
|
|
|
|
|
.btn-tertiary {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: transparent;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 16px 42px;
|
|
|
|
}
|