resman/backend/public/css/style.css
2026-04-06 18:21:01 +02:00

238 lines
3.1 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 40px;
background: #f4f6f8;
}
h1 {
margin-bottom: 30px;
}
section {
background: white;
padding: 20px;
margin-bottom: 30px;
border-radius: 8px;
border-left: 4px solid #3b82f6;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
th, td {
padding: 8px;
border-bottom: 1px solid #ddd;
text-align: left;
}
th {
background: #1e3a8a;
color: white;
}
td {
vertical-align: top;
}
button {
background: #3b82f6;
color: white;
border: none;
border-radius: 4px;
padding: 6px 10px;
margin: 2px;
cursor: pointer;
}
button:hover {
background: #1e40af;
}
input, textarea {
padding: 6px;
margin: 4px;
width: 95%;
}
.provider {
background: #e9f2ff;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
}
.ip {
font-size: 12px;
background: #f4f4f4;
padding: 2px 6px;
margin: 2px;
border-radius: 4px;
display: inline-block;
}
.system {
font-size: 13px;
color: #333;
}
.modal {
display: none;
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-50%);
background: white;
padding: 20px;
width: 600px;
max-height: 80vh;
overflow: auto;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
border-radius: 6px;
z-index: 999;
}
.modal-content {
background: white;
padding: 20px;
border-radius: 8px;
width: 600px;
max-height: 80vh;
overflow: auto;
}
.modal input,
.modal textarea,
.modal select {
width: 95%;
padding: 6px;
margin: 4px 0;
background: #f4f4f4;
border: 1px solid #ccc;
border-radius: 4px;
}
.modal input[type="date"] {
background: #f4f4f4;
}
.modal-meta{
font-size:13px;
color:#64748b;
margin:-6px 0 12px 0;
}
.subdomain{
margin-left:15px;
font-size:13px;
color:#555;
}
.subdomain-detail{
margin-left:15px;
font-size:13px;
color:#555;
}
.infra-server{
font-weight:bold;
margin-top:10px;
}
.infra-ip{
margin-left:10px;
}
.infra-domain{
margin-left:20px;
}
.infra-sub{
margin-left:30px;
color:#555;
}
.clickable{
cursor:pointer;
}
.clickable:hover{
color:#1e3a8a;
text-decoration:underline;
}
#lastUpdate{
font-size:13px;
margin-bottom:10px;
}
#ipList div{
display:flex;
align-items:center;
margin-bottom:6px;
}
#ipList .ip{
flex:1;
}
#ipList button{
margin-left:6px;
font-size:11px;
}
#ipForm.edit-mode{
border:2px solid #3b82f6;
padding:10px;
border-radius:6px;
background:#eef4ff;
}
.ip.public{
background:#22c55e;
color:white;
font-weight:bold;
}
body.dark{
background:#111827;
color:#e5e7eb;
}
body.dark section{
background:#1f2937;
}
body.dark th{
background:#111827;
}
body.dark td{
border-color:#374151;
}
body.dark .provider{
background:#1e3a8a;
color:white;
}
body.dark .ip{
background:#374151;
}
body.dark .ip.public{
background:#16a34a;
color:white;
}
body.dark .modal-meta{
color:#94a3b8;
}