mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Inline .dropdown, .popup
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -331,16 +331,6 @@ label.input {
|
||||
background-color: var(--color-negative);
|
||||
}
|
||||
|
||||
.dropdown, .popup {
|
||||
background-color: var(--color-foreground-background);
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.5rem 0;
|
||||
position: absolute;
|
||||
box-shadow: 16px 16px 32px 32px var(--color-shadow);
|
||||
z-index: 10;
|
||||
border-radius: var(--border-radius-small);
|
||||
}
|
||||
|
||||
.error {
|
||||
color: var(--color-negative) !important;
|
||||
border-color: var(--color-negative) !important;
|
||||
|
||||
@@ -12,6 +12,16 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.dropdown {
|
||||
background-color: var(--color-foreground-background);
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.5rem 0;
|
||||
position: absolute;
|
||||
box-shadow: 16px 16px 32px 32px var(--color-shadow);
|
||||
z-index: 10;
|
||||
border-radius: var(--border-radius-small);
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
@@ -22,8 +22,14 @@
|
||||
background-color: var(--color-foreground-background-lighter);
|
||||
}
|
||||
.dropdown {
|
||||
background-color: var(--color-foreground-background);
|
||||
border-radius: var(--border-radius-small);
|
||||
box-shadow: 16px 16px 32px 32px var(--color-shadow);
|
||||
margin-top: 0.5rem;
|
||||
padding: 1rem;
|
||||
position: absolute;
|
||||
width: 24rem;
|
||||
z-index: 10;
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.dropdown {
|
||||
|
||||
@@ -13,11 +13,17 @@
|
||||
position: absolute;
|
||||
}
|
||||
.popup {
|
||||
width: 14rem;
|
||||
left: -1rem;
|
||||
z-index: 99;
|
||||
background-color: var(--color-foreground-background);
|
||||
border-radius: var(--border-radius-small);
|
||||
box-shadow: 16px 16px 32px 32px var(--color-shadow);
|
||||
color: var(--color-foreground);
|
||||
font-size: 0.75rem;
|
||||
left: -1rem;
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.5rem 0;
|
||||
position: absolute;
|
||||
width: 14rem;
|
||||
z-index: 99;
|
||||
}
|
||||
.header {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user