97 lines
1.7 KiB
CSS
97 lines
1.7 KiB
CSS
.main-area {
|
|
display: grid;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
grid-auto-columns: auto;
|
|
grid-auto-flow: column;
|
|
grid-template-columns: max-content;
|
|
}
|
|
|
|
.gridFrame {
|
|
background: #eee;
|
|
border-radius: 12px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: 0.5s ease-in-out;
|
|
height: fit-content;
|
|
display: grid;
|
|
grid-row-gap: 10px;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.gridFrame h2 {
|
|
text-align: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.gridFrame:hover {
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.loginRow {
|
|
width: 300px;
|
|
height: 40px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.loginRow input {
|
|
width: calc(100% - 6px);
|
|
border: 1px solid black;
|
|
padding: 1px 2px;
|
|
}
|
|
|
|
.loginRow input:focus {
|
|
border-color: brown;
|
|
}
|
|
|
|
.loginRow button {
|
|
width: calc(50% - 15px);
|
|
background-color: darkblue;
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: white;
|
|
height: 30px;
|
|
}
|
|
|
|
.loginRow button:last-of-type{
|
|
float: right;
|
|
}
|
|
|
|
.signalBlock {
|
|
display: flex;
|
|
width: min-content;
|
|
margin-top: 5px;;
|
|
}
|
|
|
|
.signalBlock > :nth-child(1) {
|
|
border: solid #040 1px;
|
|
border-radius: 15px;
|
|
padding: 5px 20px;
|
|
background-color: greenyellow;
|
|
align-self: center;
|
|
margin: 0;
|
|
width: 100px;
|
|
}
|
|
|
|
.signalBlock > :nth-child(2) {
|
|
padding: 0 30px;
|
|
font-size: 30px;
|
|
align-content: center;
|
|
margin: 0;
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
.signalBlock > :nth-child(3) {
|
|
padding: 10px 30px;
|
|
border: solid #000 1px;
|
|
border-radius: 15px;
|
|
background-color: #F44;
|
|
text-align: center;
|
|
}
|
|
|
|
.signalBlock > :nth-child(3):hover {
|
|
background-color: #f00;
|
|
} |