66 lines
1.3 KiB
CSS
Raw Normal View History

2024-11-26 17:37:03 +01:00
@property --codex-input-group-border-radius {
syntax: "<length>";
inherits: false;
initial-value: 10px;
}
@property --codex-input-group-border-color {
syntax: "<color>";
inherits: false;
initial-value: rgba(150, 150, 150, 0.2);
}
2024-10-30 19:20:43 +01:00
.input-group {
2024-11-10 09:14:09 +07:00
box-sizing: border-box;
2024-10-30 19:20:43 +01:00
> div {
flex-grow: 1;
2024-08-20 15:57:58 +02:00
2024-10-30 19:20:43 +01:00
> div {
display: flex;
align-items: flex-end;
2024-08-20 15:57:58 +02:00
2024-10-30 19:20:43 +01:00
> div:first-child {
flex: 1;
2024-10-30 19:20:43 +01:00
input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
}
}
2024-08-20 15:57:58 +02:00
2024-10-30 19:20:43 +01:00
> div:nth-child(2) {
display: flex;
align-items: center;
2024-11-26 17:37:03 +01:00
border: 1px solid var(--codex-input-group-border-color);
border-top-right-radius: var(--codex-input-group-border-radius);
border-bottom-right-radius: var(--codex-input-group-border-radius);
2024-11-10 09:14:09 +07:00
height: 64px;
box-sizing: border-box;
select {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
min-width: 110px;
border-color: transparent;
background-color: transparent;
box-shadow: none;
}
2024-10-30 19:20:43 +01:00
}
}
}
2024-10-30 19:20:43 +01:00
p {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 0;
2024-10-04 18:38:54 +02:00
2024-10-30 19:20:43 +01:00
small {
height: 15px;
display: inline-block;
}
}
2024-10-04 18:38:54 +02:00
}