feat(SW-612): Add popover component
This commit is contained in:
committed by
Christel Westerberg
parent
beb776bac9
commit
17df6d6c47
27
components/TempDesignSystem/Popover/popover.module.css
Normal file
27
components/TempDesignSystem/Popover/popover.module.css
Normal file
@@ -0,0 +1,27 @@
|
||||
.root {
|
||||
background-color: var(--Base-Surface-Primary-light-Normal);
|
||||
border-radius: var(--Corner-radius-Medium);
|
||||
box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.1);
|
||||
padding: var(--Spacing-x2);
|
||||
max-width: calc(360px + var(--Spacing-x2) * 2);
|
||||
}
|
||||
|
||||
.root section:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.trigger {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.closeButton {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user