fix(SW-2165): map navigate on enter press * fix(SW-2165): navigate on enter press and refactor * fix(SW-2165): responsive design * fix(SW-2165): replace spacing variables * fix(SW-2165): resolve pr comment * fix(SW-2165): remove isOpen, hide/show logic already handled * fix(SW-2165): remove dialog * fix(SW-2165): use buttonicon * fix(SW-2165): do not focus on close button without tab * fix(SW-2165): remove unneccessary css Approved-by: Christian Andolf
77 lines
1.3 KiB
CSS
77 lines
1.3 KiB
CSS
.container {
|
|
border: 1px solid var(--Base-Border-Subtle);
|
|
border-radius: var(--Corner-radius-md);
|
|
min-width: 358px;
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
}
|
|
|
|
.content {
|
|
padding: var(--Space-x15);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x15);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
gap: var(--Space-x15);
|
|
}
|
|
|
|
.name {
|
|
height: 48px;
|
|
max-width: 180px;
|
|
margin-bottom: var(--Space-x05);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.facilities {
|
|
display: flex;
|
|
gap: 0 var(--Space-x15);
|
|
}
|
|
|
|
.priceCard {
|
|
border-radius: var(--Corner-radius-md);
|
|
padding: var(--Space-x05) var(--Space-x1);
|
|
background: var(--Base-Surface-Secondary-light-Normal);
|
|
margin-top: var(--Space-x1);
|
|
}
|
|
|
|
.prices {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x1);
|
|
justify-content: space-between;
|
|
}
|
|
.bottomContainer {
|
|
display: flex;
|
|
border-top: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-top: var(--Space-x2);
|
|
padding-bottom: var(--Space-x05);
|
|
}
|
|
|
|
.pricesContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
height: 44px;
|
|
}
|
|
|
|
.listingPrices {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Space-x1);
|
|
}
|
|
|
|
.content .button {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.closeButton {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
}
|