Files
grin-web-wallet/styles/maintenance_notification.css
2024-12-20 18:08:44 -08:00

134 lines
2.6 KiB
CSS
Executable File

@charset "UTF-8";
section.maintenanceNotification {
display: none;
display: flex;
justify-content: center;
align-items: center;
background: white;
position: absolute;
top: 0;
left: 0;
right: 0;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
min-width: 250px;
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
z-index: 10;
}
section.maintenanceNotification.hide {
display: flex;
transform: translateY(-100%);
box-shadow: none;
}
section.maintenanceNotification.hide.noFocus {
visibility: hidden;
}
section.maintenanceNotification * {
cursor: default !important;
}
section.maintenanceNotification > div {
width: 100%;
display: flex;
flex-direction: row;
padding: 1em 0;
align-items: center;
}
section.maintenanceNotification > div > span {
height: 4em;
flex-shrink: 0;
margin-left: 1.5em;
width: 4em;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
section.maintenanceNotification > div > span::after {
font-family: "Font Awesome";
font-weight: bold;
content: "\F7D9";
font-size: 3.5em;
color: rgba(12, 12, 13, 0.83);
}
@media only screen and (max-width: 350px) {
section.maintenanceNotification > div > span {
display: none;
}
}
section.maintenanceNotification > div > p {
font-size: 11.7pt;
line-height: 1.5em;
color: rgb(12, 12, 13);
flex-grow: 1;
flex-shrink: 1;
padding: 0 1em;
word-wrap: break-word;
min-width: 0;
}
@media only screen and (max-width: 350px) {
section.maintenanceNotification > div > p {
padding: 0 1em 0 1.5em;
text-align: center;
min-width: 30%;
}
}
section.maintenanceNotification > div > button {
margin: 0 1.5em 0 0;
flex-shrink: 0;
background: rgba(12, 12, 13, 0.1);
font-size: 11pt;
border-radius: 2px;
border: 0;
cursor: pointer !important;
color: rgb(12, 12, 13);
font-weight: bold;
text-transform: uppercase;
line-height: unset;
white-space: normal;
white-space: break-spaces;
font-family: Arial, sans-serif;
overflow: hidden;
line-height: 1.5em;
padding: 0.6em 1em 0.5em 1em;
min-width: calc(1em * 2 + 1.5em);
}
@media only screen and (any-hover: hover) {
section.maintenanceNotification > div > button:hover {
background: rgba(12, 12, 13, 0.2);
color: rgb(12, 12, 13);
}
}
section.maintenanceNotification > div > button:focus {
background: rgba(12, 12, 13, 0.2);
color: rgb(12, 12, 13);
box-shadow: none;
}
section.maintenanceNotification > div > button:active {
background: rgba(12, 12, 13, 0.3);
color: rgb(12, 12, 13);
}
section.maintenanceNotification > div > button > span {
min-height: auto;
white-space: normal;
white-space: break-spaces;
cursor: pointer !important;
}