mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-03 01:19:19 -05:00
tweaks to undefined space popup styling
This commit is contained in:
+25
-5
@@ -165,27 +165,47 @@ select {
|
||||
|
||||
max-width: min(37rem, calc(100vw - 10rem));
|
||||
|
||||
background: var(--rio-local-bg);
|
||||
// background: var(--rio-local-bg);
|
||||
border-radius: var(--rio-global-corner-radius-small);
|
||||
overflow: hidden;
|
||||
|
||||
display: grid;
|
||||
row-gap: 0.5rem;
|
||||
column-gap: 0.5rem;
|
||||
|
||||
box-shadow: 0 0.4rem 1rem var(--rio-global-shadow-color);
|
||||
|
||||
.top-bar {
|
||||
background-color: var(--rio-global-warning-bg);
|
||||
height: 0.5rem;
|
||||
@include barber-pole(var(--rio-global-warning-bg));
|
||||
|
||||
position: relative;
|
||||
height: 0.6rem;
|
||||
|
||||
grid-column: 1 / 3;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.top-bar::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
background: var(--rio-global-warning-bg-variant);
|
||||
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 5rem;
|
||||
width: 4rem;
|
||||
align-self: flex-start;
|
||||
margin: 0.5rem;
|
||||
|
||||
margin-left: 0.5rem;
|
||||
// No margin on top or bottom, because the SVG itself already has some
|
||||
// empty space.
|
||||
|
||||
grid-column: 1;
|
||||
grid-row: 2 / 5;
|
||||
|
||||
Reference in New Issue
Block a user