mirror of https://github.com/hashicorp/consul
63 lines
1011 B
CSS
63 lines
1011 B
CSS
.dialogOverlay {
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
height: 100%;
|
|
left: 0;
|
|
overflow-y: auto;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 666666667 /* higher than global nav */;
|
|
}
|
|
|
|
.dialogWrapper {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
padding: 24px;
|
|
place-items: center;
|
|
}
|
|
|
|
.dialogContent {
|
|
background-color: var(--gray-1);
|
|
color: var(--white);
|
|
max-width: 800px;
|
|
outline: none;
|
|
overflow-y: auto;
|
|
padding: 24px;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px;
|
|
}
|
|
}
|
|
|
|
.dialogClose {
|
|
appearance: none;
|
|
background-color: transparent;
|
|
border: 0;
|
|
composes: g-type-display-5 from global;
|
|
cursor: pointer;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
color: var(--white);
|
|
right: 24px;
|
|
top: 24px;
|
|
z-index: 1;
|
|
|
|
@media (min-width: 768px) {
|
|
right: 48px;
|
|
top: 48px;
|
|
}
|
|
|
|
@nest html[dir='rtl'] & {
|
|
left: 24px;
|
|
right: auto;
|
|
|
|
@media (min-width: 768px) {
|
|
left: 48px;
|
|
right: auto;
|
|
}
|
|
}
|
|
}
|