72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 0fr);
|
|
}
|
|
|
|
div > div {
|
|
padding: 10px;
|
|
}
|
|
|
|
/* HIDE RADIO */
|
|
[type=radio] {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
/* IMAGE STYLES */
|
|
[type=radio] + img {
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
}
|
|
|
|
/* CHECKED STYLES */
|
|
[type=radio]:checked + img {
|
|
outline: 2px solid black;
|
|
filter: brightness(120%);
|
|
}
|
|
|
|
.isa_info, .isa_success, .isa_warning, .isa_error {
|
|
margin: 10px 0px;
|
|
padding:12px;
|
|
|
|
}
|
|
.isa_info {
|
|
color: #00529B;
|
|
background-color: #BDE5F8;
|
|
}
|
|
.isa_success {
|
|
color: #4F8A10;
|
|
background-color: #DFF2BF;
|
|
}
|
|
.isa_warning {
|
|
color: #9F6000;
|
|
background-color: #FEEFB3;
|
|
}
|
|
.isa_error {
|
|
color: #D8000C;
|
|
background-color: #FFD2D2;
|
|
}
|
|
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
|
|
margin:10px 22px;
|
|
font-size:2em;
|
|
vertical-align:middle;
|
|
}
|
|
|
|
#root {
|
|
width: fit-content;
|
|
/* To adjust the height as well */
|
|
height: fit-content;
|
|
}
|
|
|
|
input[type=submit] {
|
|
background-color: #4CAF50; /* Green */
|
|
border: none;
|
|
color: white;
|
|
padding: 15px 32px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 16px;
|
|
} |