Files
php-vulnerabilities/index.css
2025-05-19 12:55:11 +03:00

123 lines
1.8 KiB
CSS

body {
font-family: Arial, sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 10px;
}
.product {
background: #f5f5f5;
padding: 15px;
margin-bottom: 10px;
border-radius: 5px;
}
label {
display: block;
margin-bottom: 5px;
}
input, textarea, select {
width: 100%;
padding: 8px;
margin-bottom: 10px;
max-width: 400px;
}
button {
padding: 0.5rem 1rem;
background: #4CAF50;
color: white;
border: none;
cursor: pointer;
font-weight: bold;
border-radius: 3px;
text-decoration: none;
display: inline-block;
}
button:hover {
background-color: #45a049;
}
.delete {
background: #f44336;
}
.search {
background: #2196F3;
}
.warning {
color: #f44336;
font-weight: bold;
}
header {
background-color: #333;
color: white;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
display: flex;
gap: 1.5rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: bold;
}
.nav-links a:hover {
text-decoration: underline;
}
.auth-section {
display: flex;
align-items: start;
gap: 0.75rem;
}
#authenticate-form {
display: flex;
gap: 0.5rem;
align-items: start;
}
#authenticate-form input {
padding: 0.5rem;
border: none;
border-radius: 3px;
}
.register-btn {
background-color: #2196F3;
}
.register-btn:hover {
background-color: #0b7dda;
}
.user-info {
display: flex;
align-items: center;
gap: 1rem;
}
.username {
font-weight: bold;
}
.logout-link {
color: #ff9999;
text-decoration: none;
}
.logout-link:hover {
text-decoration: underline;
}
#product-forms {
padding: 0px 10px;
display: flex;
justify-content: space-between;
}