daster/public/style.css

213 lines
3.2 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.main-button {
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
}
.table-content {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
}
div.group-content {
height: 55vh;
}
div.body-rows {
height: calc(100% - 55px);
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 {
border-top: 1px solid #fff;
}
tr.row:hover, tr.row:nth-child(even):hover {
background-color: #f6f6f6;
color: #003eff;
cursor: pointer;
border-bottom: 1px solid #c5c5c5;
border-top: 1px solid #c5c5c5;
}
/* EDIT NUMBER */
.number-label, .sms-label, .ussd-label, .server-label {
color: #333;
text-align: right;
}
.number-value, .server-value {
height: 30px;
}
.server-value {
text-align: left;
padding-left: 10px;
}
.server-input {
height: 100%;
}
.server-button {
margin-top: 30px;
}
.sms-label-text, .ussd-label-text {
vertical-align:top
}
.sms-value, .ussd-value {
width: 300px;
text-align: left;
}
.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-name {
padding: 15px 0 5px 0;
}
.comment-content, .sms-content, .ussd-content {
width: 100%;
height: 100%;
}
#number-comment, #sms-content, #ussd-content {
width: calc(100% - 6px);
resize: none;
}
#sms-content, #ussd-content {
height: 150px;
outline: none;
border: 1px solid#c5c5c5;
color: #333;
width: 400px;
padding: 5px 10px 5px 10px;
}
th.sms-content-width, td.sms-content-width, th.ussd-content-width, td.ussd-content-width {
width: 155px;
}
th.ussd-content-width-type, td.ussd-content-width-type {
width: 240px;
}