first commit
This commit is contained in:
380
css/style.css
Normal file
380
css/style.css
Normal file
@@ -0,0 +1,380 @@
|
||||
/* [ LIGHT theme ] */
|
||||
:root {
|
||||
--clr-background: #ffffff; /* white */
|
||||
--clr-surface: #f8f9fa; /* Very Light gray */
|
||||
--clr-text-primary: #333333; /* dark gray */
|
||||
--clr-text-secondary: #555555; /* medium gray */
|
||||
--clr-accent-primary: #5a9bd5; /* muted blue */
|
||||
--clr-accent-hover: #4784b3; /* slightly darker mute blue */
|
||||
--clr-accent-secondary: #6c757d; /* muted gray */
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
line-height: 1.6;
|
||||
background-color: #f0f2f5; /* Light Grey BG */
|
||||
color: #333; /* Dark Grey */
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
background-color: #fff; /* white BG */
|
||||
padding: 20px 30px;
|
||||
border-radius: 10px;
|
||||
box-shaddow: 0 4px 15px rgba(0, 0, 0, 0.1)
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #007bff; /* Primary Blue */
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid #eee; /* Light Grey */
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
li {
|
||||
background-color: #e9f2ff; /* Very Light Blue */
|
||||
margin-bottom: 10px;
|
||||
padding: 12px 20px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-itmes: center;
|
||||
border-left: 5px; solid #007bff; /* Primary Blue */
|
||||
}
|
||||
|
||||
li:hover {
|
||||
background-color: #dae8ff; /* slightly Darker Blue */
|
||||
}
|
||||
|
||||
li a {
|
||||
text-decoration: none;
|
||||
color: #0056b3; /* Darker Blue */
|
||||
font-wieght: bold;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
li a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
form {
|
||||
background-color: #fefefe; /* Near White */
|
||||
padding: 25px;
|
||||
border-radius: 8px;
|
||||
margin-top: 25px;
|
||||
border: 1px solid #eee; /* Light Grey */
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: bold;
|
||||
color: #555; /* Medium Grey */
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 18px;
|
||||
border: 1px solid #ccc; /* Light Grey */
|
||||
border-radius: 5px;
|
||||
font-size: 1rem;
|
||||
font-family: inherit;
|
||||
color: #333; /* Dark Grey */
|
||||
background-color: #fff; /* White */
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
.button {
|
||||
background-color: 007bff; /* Primary Blue */
|
||||
color: #fff; /* white */
|
||||
padding: 12px 25px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 1.05rem;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
transition: background-color 0.2s ease;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover,
|
||||
.button:hover {
|
||||
background-color: #0056b3; /* Darker Blue */
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
background-color: #6c757d; /* grey */
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
background-color: #5a6268; /* Darker Grey */
|
||||
}
|
||||
|
||||
.button-danger {
|
||||
background-color: #dc3545; /* red */
|
||||
}
|
||||
|
||||
.button-danger:hover {
|
||||
background-color: #c82333; /* Darker Red */
|
||||
}
|
||||
|
||||
line-height: 1.6;
|
||||
background-color: #f0f2f5; /* Lt. Blue Grey BG */
|
||||
color: #333;
|
||||
padding: 20px;
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
background-color: #fff;
|
||||
padding: 20px 30px;
|
||||
border-radius: 10px;
|
||||
box-shaddow: 0 4px 15px rgba(0, 0, 0, 0.1max-width: 960px;
|
||||
|
||||
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #007bff; /* Primary Blue */
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid #eee;
|
||||
} }
|
||||
|
||||
h2 {
|
||||
font-size: 2.2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
li {
|
||||
background-color: #e9f2ff; /* Very Light Blue */
|
||||
margin-bottom: 10px;
|
||||
padding: 12px 20px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-itmes: center;
|
||||
border-left: 5px; solid #007bff; /* accent border */
|
||||
}
|
||||
|
||||
li:hover {
|
||||
background-color: #dae8ff; /* slightly darker on hover */
|
||||
}
|
||||
|
||||
li a {
|
||||
text-decoration: none;
|
||||
color: #005ight} /* Dark Grey * /* white BG * /* Light Grey *PrDmary B
|
||||
/* Darker Blue *font-wieght: bold;
|
||||
flex-grow: 1;/
|
||||
|
||||
li a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
form {
|
||||
background-color: #fefefe; /* Near White */
|
||||
padding: 25px;
|
||||
border-radius: 8px;
|
||||
margin-top: 25px;
|
||||
border: 1px solid #eee; /* Light Grey */
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: bold;
|
||||
color: #555; /* Medium Grey */
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 18px;
|
||||
border: 1px solid #ccc; /* Light Grey */
|
||||
|
||||
border-radius: 5px;
|
||||
font-size: 1rem;
|
||||
font-family: inherit;
|
||||
color: #333; /* Dark Grey */
|
||||
background-color: #fff; /* White */ }
|
||||
|
||||
input[type="submit"],
|
||||
.button {
|
||||
background-color: 007bff; /* Primary Blue */
|
||||
color: #fff; /* white */
|
||||
padding: 12px 25px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 1.05rem;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
transition: background-color 0.2s ease;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover,
|
||||
.button:hover {
|
||||
background-color: #0056b3; /* Darker Blue */
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
background-color: #6c757d; /* grey */
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
background-color: #5a6268; /* Darker Grey */
|
||||
}
|
||||
|
||||
.button-danger {
|
||||
background-color: #dc3545; /* red */
|
||||
}
|
||||
|
||||
.button-danger:hover {
|
||||
background-color: #c82333; /* Darker Red */
|
||||
}
|
||||
|
||||
.logout-link {
|
||||
display: block;
|
||||
margin-top: 30px;
|
||||
text-align: right;
|
||||
color: 007bff; /* Primary Blue */
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.logout-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding: 12px 20px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 6px;
|
||||
font-weight: bold;
|
||||
color: #fff; /* white */
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background-color: dc3545; /* Red - Error */
|
||||
}
|
||||
|
||||
.message.success {
|
||||
background-color: #28a745; /* Green Success */
|
||||
}
|
||||
|
||||
.message.info {
|
||||
background-color: #17a2b8; /* Cyan Info */
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-colapse: colapse;
|
||||
margin-bottom: 20px;
|
||||
background-color: #fff; /* white */
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Light Grey */
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
border: 1px solid #e0e0e0; /* Light Grey */
|
||||
padding: 12px 15px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #f8f9fa; /* Light Grey */
|
||||
color: #495057; /* Dark Grey */
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
table tr:nth-child(even) {
|
||||
background-color: #fdfdfe; /* Very Light Grey */
|
||||
}
|
||||
|
||||
table tr:hover {
|
||||
background-color: #f0f8ff; /* Very Light Blue */
|
||||
}
|
||||
|
||||
table td form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
table td input[type="password"] {
|
||||
width: auto;
|
||||
max-width: 150px;
|
||||
margin-bottom: 0;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.list-item-actions .button {
|
||||
padding: 6px 12px;
|
||||
font-size: 0.85em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.list-item-completed {
|
||||
text-decoration: line-through;
|
||||
color: #6c757d; /* Grey */
|
||||
border-left-color: #6c757d; /* Grey */
|
||||
background-color: #e2e6ea; /* Light Grey */
|
||||
}
|
||||
|
Reference in New Issue
Block a user