daster/public/style.css

160 lines
2.2 KiB
CSS
Raw Normal View History

@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:not([disabled]) {
border: 1px solid #999;
box-shadow: 1px 1px 10px 1px #ccc;
}
.input-focus::placeholder {
color: #333
}
.input-focus:focus:not([disabled]) {
outline: none;
box-shadow: 1px 1px 10px 1px #666;
border: 1px solid #555;
}
/* 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 td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.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;
}
/* EDIT NUMBER */
.number-label {
color: #333;
text-align: right;
}
.number-value {
height: 30px;
}
.number-input-main {
height: 25px;
width: 194px;
margin: 0 10px 0 10px;
}
.number-input-cc {
height: 25px;
width: 50px;
margin: 0 10px 0 10px;
}
.div-advanced {
display: flex;
flex-direction: column;
}
.comment {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.comment-content {
width: 100%;
height: 100%;
}
#number-comment {
width: calc(100% - 6px);
resize: none;
}