umami/components/layout/FormLayout.module.css

71 lines
1.0 KiB
CSS
Raw Normal View History

2020-08-07 07:03:02 +02:00
.form {
display: flex;
flex-direction: column;
justify-content: center;
}
.form label {
2020-08-09 08:48:43 +02:00
display: block;
2020-08-07 07:03:02 +02:00
min-width: 100px;
}
.row {
display: flex;
align-items: center;
position: relative;
margin-bottom: 20px;
line-height: 1.8;
}
.buttons {
display: flex;
justify-content: center;
margin-top: 20px;
2020-08-07 07:03:02 +02:00
}
.buttons button + button {
margin-left: 10px;
}
2020-08-07 07:03:02 +02:00
.error {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
top: 0;
left: 100%;
bottom: 0;
2020-08-07 11:27:12 +02:00
margin-left: 16px;
2020-08-09 11:03:37 +02:00
}
.msg {
color: var(--gray50);
background: var(--red400);
font-size: var(--font-size-small);
padding: 4px 8px;
2020-08-07 07:03:02 +02:00
border-radius: 4px;
2020-08-09 08:48:43 +02:00
white-space: nowrap;
2020-08-07 07:03:02 +02:00
}
2020-08-07 11:27:12 +02:00
.error:after {
content: '';
position: absolute;
top: 0;
left: -5px;
bottom: 0;
margin: auto;
width: 10px;
height: 10px;
background: var(--red400);
2020-08-07 11:27:12 +02:00
transform: rotate(45deg);
}
2020-08-07 07:03:02 +02:00
.message {
text-align: center;
margin: 20px 0;
padding: 4px 8px;
border-radius: 4px;
color: var(--gray50);
background: var(--gray800);
}