2016-10-18 21:57:29 +13:00
|
|
|
|
2016-10-26 21:20:48 +13:00
|
|
|
button,
|
|
|
|
|
textarea,
|
|
|
|
|
input[type="text"],
|
|
|
|
|
input[type="email"],
|
|
|
|
|
input[type="number"],
|
|
|
|
|
input[type="email"],
|
|
|
|
|
input[type="date"] {
|
|
|
|
|
padding: 10px 14px;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
color: #000000;
|
|
|
|
|
font-family: "Archivo Narrow", Helvetica, Arial, sans-serif;
|
|
|
|
|
font-size: 14px;
|
2016-10-18 21:57:29 +13:00
|
|
|
}
|
|
|
|
|
|
2016-11-11 09:33:35 +13:00
|
|
|
.button-wrapper {
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
margin-top: -1px;
|
|
|
|
|
|
|
|
|
|
&.large {
|
|
|
|
|
padding: 16px 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-21 10:22:43 +13:00
|
|
|
.text-button {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
&.destructive {
|
|
|
|
|
color: $red;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-26 21:20:48 +13:00
|
|
|
.button,
|
2016-10-18 21:57:29 +13:00
|
|
|
button,
|
|
|
|
|
input[type="button"],
|
|
|
|
|
input[type="submit"] {
|
2016-10-26 21:20:48 +13:00
|
|
|
@include animate();
|
|
|
|
|
padding: 10px 20px;
|
2016-10-18 21:57:29 +13:00
|
|
|
border: 0;
|
2017-02-07 10:00:29 +13:00
|
|
|
margin: 0 10px 5px 0;
|
2016-10-26 21:20:48 +13:00
|
|
|
color: #000000;
|
|
|
|
|
background: $light_grey;
|
|
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: darken( $light_grey, 6%);
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-11 09:33:35 +13:00
|
|
|
&.large {
|
|
|
|
|
padding: 16px 24px;
|
2017-02-06 09:10:05 +13:00
|
|
|
|
|
|
|
|
@include responsive( $bp_medium ){
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
}
|
2016-11-11 09:33:35 +13:00
|
|
|
}
|
|
|
|
|
|
2017-02-07 10:00:29 +13:00
|
|
|
&.rounded {
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
min-width: 140px;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-07 20:07:04 +13:00
|
|
|
&.outline {
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
padding: 9px 19px;
|
|
|
|
|
border: 1px solid $darkest_grey;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: $darkest_grey;
|
|
|
|
|
|
|
|
|
|
&.white {
|
|
|
|
|
border-color: #FFFFFF;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
background: rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(0,0,0,0.4);
|
|
|
|
|
border-color: inherit;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: $turquoise;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-26 21:20:48 +13:00
|
|
|
&.primary {
|
|
|
|
|
background: $turquoise;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: darken( $turquoise, 6% );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-27 16:58:11 +13:00
|
|
|
&.secondary {
|
|
|
|
|
background: #000000;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten( #000000, 20% );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-11 09:33:35 +13:00
|
|
|
&.tertiary {
|
|
|
|
|
background: $mid_grey;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: darken( $mid_grey, 6% );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-01 10:10:31 +13:00
|
|
|
&.discrete {
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
|
|
|
|
|
&[disabled],
|
|
|
|
|
&[disabled="disabled"] {
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $turquoise;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-26 21:20:48 +13:00
|
|
|
&.confirming,
|
|
|
|
|
&.destructive {
|
|
|
|
|
background: $red;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: darken( $red, 6% );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-27 16:58:11 +13:00
|
|
|
&.timing-out {
|
|
|
|
|
position: relative;
|
|
|
|
|
&::before {
|
|
|
|
|
@include animate_timeout(2s);
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
background: rgba(255,255,255,0.15);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-31 08:44:12 +13:00
|
|
|
&.wide {
|
|
|
|
|
display: inline-block;
|
2016-11-14 11:30:24 +13:00
|
|
|
min-width: 200px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-left: 30px;
|
|
|
|
|
padding-right: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-26 21:20:48 +13:00
|
|
|
&[disabled],
|
2017-01-31 08:44:12 +13:00
|
|
|
&[disabled="disabled"]{
|
2016-11-14 17:32:36 +13:00
|
|
|
background: rgba(200,200,200,0.4) !important;
|
2016-10-26 21:20:48 +13:00
|
|
|
color: $mid_grey !important;
|
|
|
|
|
cursor: not-allowed !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-14 11:20:02 +13:00
|
|
|
.field {
|
2016-10-26 21:20:48 +13:00
|
|
|
display: block;
|
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
@include clearfix;
|
|
|
|
|
|
2016-11-14 11:20:02 +13:00
|
|
|
.name {
|
2016-10-26 21:20:48 +13:00
|
|
|
display: block;
|
|
|
|
|
padding-top: 10px;
|
|
|
|
|
width: 15%;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-14 11:20:02 +13:00
|
|
|
label {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-20 07:56:42 +13:00
|
|
|
.description {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 10px 14px;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-28 09:14:29 +13:00
|
|
|
.input {
|
|
|
|
|
width: 85%;
|
|
|
|
|
float: left;
|
|
|
|
|
|
2016-12-05 10:20:01 +13:00
|
|
|
input,
|
|
|
|
|
select,
|
|
|
|
|
textarea {
|
2016-11-14 11:30:24 +13:00
|
|
|
width: 100%;
|
2016-10-28 09:14:29 +13:00
|
|
|
}
|
2016-11-06 15:47:37 +13:00
|
|
|
|
|
|
|
|
.text {
|
2016-11-10 10:26:15 +13:00
|
|
|
display: block;
|
2016-12-05 10:20:01 +13:00
|
|
|
padding: 10px 14px 10px 0;
|
2016-11-06 15:47:37 +13:00
|
|
|
}
|
2016-10-26 21:20:48 +13:00
|
|
|
}
|
|
|
|
|
|
2016-11-14 11:20:02 +13:00
|
|
|
&.radio,
|
|
|
|
|
&.checkbox {
|
|
|
|
|
|
|
|
|
|
input{
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2016-11-14 11:30:24 +13:00
|
|
|
|
2016-11-14 11:20:02 +13:00
|
|
|
.input {
|
|
|
|
|
padding-top: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
float: none;
|
|
|
|
|
width: auto;
|
|
|
|
|
padding: 5px 30px 5px 30px;
|
|
|
|
|
position: relative;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.radio {
|
|
|
|
|
|
|
|
|
|
input + .label:before {
|
|
|
|
|
content: ' ';
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 1px solid #000000;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 4px;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .label:before {
|
|
|
|
|
background: #000000;
|
|
|
|
|
box-shadow: inset 0px 0px 0px 4px #f5f5f5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.white {
|
|
|
|
|
input + .label:before {
|
|
|
|
|
border-color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .label:before {
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
box-shadow: inset 0px 0px 0px 4px #222222;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.checkbox {
|
|
|
|
|
|
|
|
|
|
input + .label:before {
|
|
|
|
|
font-family: FontAwesome;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
content: ' ';
|
|
|
|
|
color: #000000;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 13px;
|
|
|
|
|
height: 13px;
|
|
|
|
|
padding: 3px 0 0 3px;
|
|
|
|
|
border: 1px solid #000000;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 5px;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .label:before {
|
|
|
|
|
content: '\f00c';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.white {
|
|
|
|
|
input + .label:before {
|
|
|
|
|
border-color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .label:before {
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-28 07:27:30 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include responsive( $bp_medium ){
|
|
|
|
|
.field {
|
|
|
|
|
|
|
|
|
|
.name {
|
|
|
|
|
float: none;
|
|
|
|
|
width: auto;
|
|
|
|
|
padding: 0 0 4px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input {
|
|
|
|
|
float: none;
|
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2016-11-14 11:20:02 +13:00
|
|
|
}
|