daster/public/style.css

108 lines
1.5 KiB
CSS

@font-face {
font-family: Scada;
src: url(Scada-Regular.ttf);
}
body {
display: flex;
align-items: center;
height: 100vh;
overflow: hidden;
flex-direction: column;
color: #333;
margin: 0;
opacity: 0;
font-family: Scada;
}
div.div-header {
display: flex;
align-items: center;
width: 60%;
justify-content: center;
margin-top: 30px
}
/* HEADER */
/* div.div-add {
margin-right: 20px
} */
div.div-search {
display: flex;
height: 100%
}
div.div-user {
flex-grow: 1;
text-align: center;
color: #333;
}
input {
text-align: center;
color: #333;
}
.input-focus {
border: 1px solid#c5c5c5;
}
.input-focus:hover {
border: 1px solid #ccc
}
.input-focus::placeholder {
color: #333
}
.input-focus:focus {
outline: none;
box-shadow: 1px 1px 10px 1px #007fff;
border: 1px solid #003eff;
}
/* BODY */
.content {
width: 60%;
margin-top: 20px
}
.content table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
}
div.body-rows {
max-height: 55vh;
overflow-x: auto;
border: 1px solid #c5c5c5;
border-top: 0;
}
th {
color: #333;
height: 50px;
background-color: #f6f6f6;
border: 1px solid #c5c5c5;
font-weight: normal;
}
td {
text-align: center;
}
.body-rows tbody tr:nth-child(even){
background: #fff;
}
tr.row:hover, tr.row:nth-child(even):hover {
background-color: #c5c5c5;
color: #fff;
cursor: pointer;
}