101 lines
No EOL
1.7 KiB
Text
101 lines
No EOL
1.7 KiB
Text
//dialog always uses the white coloring, regardless of ui theme
|
|
.dialog {
|
|
min-width: 250px;
|
|
max-width: 400px;
|
|
margin-top: 50px;
|
|
background: white;
|
|
color: black;
|
|
box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
|
|
z-index: 999;
|
|
padding: 10px;
|
|
border: 2px solid #AAA;
|
|
line-height: 170%;
|
|
transition-property: -webkit-transform;
|
|
transition-duration: .3s;
|
|
transition-timing-function: ease-in-out;
|
|
-webkit-transform: translateY(0px) rotateX(0);
|
|
|
|
.enter & {
|
|
-webkit-transform: translateY(-20px) rotateX(-45deg);
|
|
}
|
|
|
|
.text {
|
|
white-space: pre-wrap;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-top: 10px;
|
|
font-size: 16px;
|
|
|
|
button {
|
|
padding: 8px;
|
|
border: 1px solid #888;
|
|
text-align: center;
|
|
background: white;
|
|
color: black;
|
|
min-width: 75px;
|
|
box-shadow: 4px 4px 8px rgba(0, 0, 0, .1);
|
|
|
|
&:hover {
|
|
border: 1px solid black;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
content: "";
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(0, 0, 0, .2);
|
|
z-index: 99;
|
|
transition-duration: .2s;
|
|
transition-timing-function: linear;
|
|
transition-property: opacity;
|
|
opacity: 1;
|
|
-webkit-transform: translateZ(0);
|
|
z-index: 999;
|
|
|
|
&.enter {
|
|
opacity: .2;
|
|
}
|
|
}
|
|
|
|
.credits {
|
|
white-space: initial;
|
|
|
|
h2 {
|
|
font-size: 18px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
a, a:visited {
|
|
color: @accent;
|
|
}
|
|
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
|
|
li {
|
|
padding: 0;
|
|
margin: 0;
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
} |