pages/assets18/css/disclaimer.css

89 lines
1.5 KiB
CSS
Raw Normal View History

2024-02-02 01:26:55 +01:00
/*
* Author: Pierre-Henry Soria <hi@ph7.me>
* Copyright: (c) 2020, Pierre-Henry Soria. All Rights Reserved.
*/
#disclaimer-dialog {
display: none;
position: absolute;
border-radius: 10px;
z-index: 1002;
margin: 1rem;
min-width: 350px;
background: #fff;
border: 5px solid #666;
padding: 12px;
overflow: hidden;
}
/* 420px or less */
@media (max-width: 420px) {
#disclaimer-dialog {
margin: 1rem 0 1rem 0;
border: 0;
}
}
#disclaimer-dialog h1 {
text-align: center;
font-weight: 700;
padding: 3px;
}
#disclaimer-dialog p {
margin-top: 12px;
}
#disclaimer-background {
display: none;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #333;
position: fixed;
z-index: 1001;
}
#disclaimer-dialog .center {
margin-left: auto;
margin-right: auto;
width: 80%;
text-align: center;
}
#disclaimer-dialog .underline {
text-decoration: underline;
}
#disclaimer-dialog .italic {
font-style: italic;
}
#disclaimer-dialog .bold {
font-weight: bold;
}
#disclaimer-dialog button {
text-transform: uppercase;
display: inline-block;
cursor: pointer;
text-align: center;
font-weight: 400;
white-space: nowrap;
vertical-align: middle;
border: 1px solid transparent;
padding: 8px 12px;
font-size: 14px;
border-radius: 5px;
color: #fff;
}
#disclaimer-dialog button.agree {
background-color: #5cb85c;
}
#disclaimer-dialog button.disagree {
background-color: #d9534f;
}