2020-08-04 08:20:35 +02:00
|
|
|
.button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-08-06 08:03:07 +02:00
|
|
|
font-size: var(--font-size-normal);
|
2020-09-20 10:33:39 +02:00
|
|
|
color: var(--gray900);
|
2020-08-06 08:03:07 +02:00
|
|
|
background: var(--gray100);
|
2020-08-06 04:04:02 +02:00
|
|
|
padding: 8px 16px;
|
2020-08-04 08:20:35 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
2020-08-15 10:17:15 +02:00
|
|
|
position: relative;
|
2020-08-04 08:20:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover {
|
2020-09-13 10:26:54 +02:00
|
|
|
background: var(--gray200);
|
2020-08-04 08:20:35 +02:00
|
|
|
}
|
2020-08-07 09:24:01 +02:00
|
|
|
|
2020-09-02 07:52:20 +02:00
|
|
|
.button:active {
|
2020-09-22 06:34:55 +02:00
|
|
|
color: var(--gray900);
|
2020-09-02 07:52:20 +02:00
|
|
|
}
|
|
|
|
|
2020-09-26 08:38:28 +02:00
|
|
|
.label {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 300px;
|
2020-08-09 12:04:48 +02:00
|
|
|
}
|
|
|
|
|
2020-09-26 08:38:28 +02:00
|
|
|
.large {
|
|
|
|
font-size: var(--font-size-large);
|
2020-08-09 12:04:48 +02:00
|
|
|
}
|
|
|
|
|
2020-08-07 09:24:01 +02:00
|
|
|
.small {
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
}
|
|
|
|
|
2020-08-09 12:04:48 +02:00
|
|
|
.xsmall {
|
|
|
|
font-size: var(--font-size-xsmall);
|
2020-08-07 09:24:01 +02:00
|
|
|
}
|
2020-08-08 02:19:42 +02:00
|
|
|
|
2020-09-26 07:31:18 +02:00
|
|
|
.action,
|
|
|
|
.action:active {
|
2020-09-13 10:26:54 +02:00
|
|
|
color: var(--gray50);
|
|
|
|
background: var(--gray900);
|
2020-08-08 02:19:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.action:hover {
|
2020-09-13 10:26:54 +02:00
|
|
|
background: var(--gray800);
|
2020-08-08 02:19:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.danger {
|
2020-09-13 10:26:54 +02:00
|
|
|
color: var(--gray50);
|
|
|
|
background: var(--red500);
|
2020-08-08 02:19:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.danger:hover {
|
2020-09-13 10:26:54 +02:00
|
|
|
background: var(--red400);
|
|
|
|
}
|
|
|
|
|
2020-09-13 20:33:57 +02:00
|
|
|
.light {
|
2020-09-20 11:54:38 +02:00
|
|
|
background: transparent;
|
2020-09-13 20:33:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.light:hover {
|
2020-09-20 12:28:05 +02:00
|
|
|
background: inherit;
|
2020-09-13 20:33:57 +02:00
|
|
|
}
|
|
|
|
|
2020-09-26 08:38:28 +02:00
|
|
|
.button .icon + * {
|
2020-09-26 07:31:18 +02:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.iconRight .icon {
|
|
|
|
order: 1;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2020-09-26 08:38:28 +02:00
|
|
|
.button.iconRight .icon + * {
|
2020-09-26 07:31:18 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-09-13 10:26:54 +02:00
|
|
|
.button:disabled {
|
2020-09-13 20:33:57 +02:00
|
|
|
cursor: default;
|
2020-09-13 10:26:54 +02:00
|
|
|
color: var(--gray500);
|
|
|
|
background: var(--gray75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:disabled:active {
|
|
|
|
color: var(--gray500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:disabled:hover {
|
|
|
|
background: var(--gray75);
|
2020-08-08 02:19:42 +02:00
|
|
|
}
|
2020-09-13 20:33:57 +02:00
|
|
|
|
|
|
|
.button.light:disabled {
|
|
|
|
background: var(--gray50);
|
|
|
|
}
|