2018-12-26 08:45:53 +01:00
|
|
|
button,
|
|
|
|
.button,
|
|
|
|
input[type="button"],
|
|
|
|
input[type="reset"],
|
|
|
|
input[type="submit"] {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-02));
|
2019-01-03 23:30:27 +01:00
|
|
|
padding: 0.125em 1em;
|
2018-12-26 08:45:53 +01:00
|
|
|
margin: 0 0 1em 0;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-text));
|
2018-12-26 08:45:53 +01:00
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
min-height: 2.5em;
|
|
|
|
line-height: 1;
|
|
|
|
border: 0;
|
2018-12-27 17:50:30 +01:00
|
|
|
border-top-width: var(--line-width);
|
|
|
|
border-bottom-width: var(--line-width);
|
2018-12-26 08:45:53 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
|
|
|
border-radius: var(--radius);
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: none;
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-12-26 18:43:38 +01:00
|
|
|
button:hover,
|
|
|
|
button:focus,
|
|
|
|
.button:hover,
|
|
|
|
.button:focus,
|
|
|
|
input[type="button"]:hover,
|
|
|
|
input[type="button"]:focus,
|
|
|
|
input[type="reset"]:hover,
|
|
|
|
input[type="reset"]:focus,
|
|
|
|
input[type="submit"]:hover,
|
|
|
|
input[type="submit"]:focus {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-03));
|
|
|
|
border-bottom-color: rgb(var(--gray-08));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-text-hover-focus));
|
2019-01-24 21:28:11 +01:00
|
|
|
outline: none;
|
2018-12-26 18:43:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button:active,
|
|
|
|
.button:active,
|
|
|
|
input[type="button"]:active,
|
|
|
|
input[type="reset"]:active,
|
|
|
|
input[type="submit"]:active {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-04));
|
2019-01-13 23:54:48 +01:00
|
|
|
border-bottom-color: rgb(var(--accent));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-text-active));
|
2018-12-26 18:43:38 +01:00
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[disabled],
|
|
|
|
.button[disabled],
|
|
|
|
button[disabled]:hover,
|
|
|
|
.button[disabled]:hover,
|
|
|
|
button[disabled]:focus,
|
|
|
|
.button[disabled]:focus,
|
|
|
|
button[disabled]:active,
|
|
|
|
.button[disabled]:active {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-02));
|
2018-12-26 18:43:38 +01:00
|
|
|
border-color: transparent;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-text-disabled));
|
2018-12-26 18:43:38 +01:00
|
|
|
cursor: default;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
.button-text {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
button [class^="icon-"],
|
|
|
|
button [class*=" icon-"],
|
|
|
|
.button [class^="icon-"],
|
|
|
|
.button [class*=" icon-"] {
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2018-12-26 18:43:38 +01:00
|
|
|
.button.active {
|
|
|
|
border-bottom-color: rgb(var(--accent));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-text-active));
|
2018-12-26 18:43:38 +01:00
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.button-small {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.button-block {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
button [class^="button-"],
|
|
|
|
button [class*=" button-"],
|
|
|
|
.button [class^="button-"],
|
|
|
|
.button [class*=" button-"] {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
button [class^="button-"]:first-child,
|
|
|
|
button [class*=" button-"]:first-child,
|
|
|
|
.button [class^="button-"]:first-child,
|
|
|
|
.button [class*=" button-"]:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button [class^="button-"]:last-child,
|
|
|
|
button [class*=" button-"]:last-child,
|
|
|
|
.button [class^="button-"]:last-child,
|
|
|
|
.button [class*=" button-"]:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-01-24 21:28:11 +01:00
|
|
|
|
|
|
|
.button-link {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-link-text));
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
.button-link:hover,
|
|
|
|
.button-link:focus {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: transparent;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-link-text-hover-focus));
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
.button-link:active {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: transparent;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--button-link-text-active));
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
.button-link[disabled] {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: transparent;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: transparent;
|
|
|
|
pointer-events: none;
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
.button-link:hover[disabled],
|
|
|
|
.button-link:focus[disabled] {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: transparent;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: transparent;
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
2019-06-04 20:08:15 +02:00
|
|
|
|
|
|
|
.button-wrap {
|
|
|
|
padding: 0.5em 0;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|