youtube_live_calendar/public/css/hyAdmin/common.css

212 lines
3.0 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.main-content {
padding: 20px;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.add-channel {
text-align: center;
margin-bottom: 20px;
}
.add-channel .btn {
display: inline-block;
padding: 10px 20px;
background-color: #007BFF;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.add-channel .btn:hover {
background-color: #0056b3;
}
.admin-table {
width: 100%;
border-collapse: collapse;
margin: 0 auto;
}
.admin-table th, .admin-table td {
border: 1px solid #ddd;
padding: 10px;
text-align: center;
}
.admin-table th {
background-color: #f4f4f4;
}
.action-buttons {
display: flex;
flex-direction: column;
gap: 10px;
}
.btn {
display: block;
padding: 5px 10px;
text-align: center;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-edit {
background-color: #FFC107;
color: #fff;
}
.btn-edit:hover {
background-color: #d39e00;
}
.btn-delete {
background-color: #DC3545;
color: #fff;
}
.btn-delete:hover {
background-color: #a71d2a;
}
.btn-run {
background-color: #28A745;
color: #fff;
}
.btn-run:hover {
background-color: #1e7e34;
}
.btn-fetch {
background-color: #17A2B8;
color: #fff;
}
.btn-fetch:hover {
background-color: #117a8b;
}
form label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.date-group {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 10px;
}
.date-group label {
display: flex;
flex-direction: column;
align-items: flex-start;
}
form input {
margin-top: 5px;
padding: 5px;
width: 100%;
box-sizing: border-box;
}
.admin-form {
max-width: 500px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
}
.admin-form .form-group {
margin-bottom: 15px;
}
.admin-form .form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.admin-form .form-group input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.admin-form .form-note {
font-size: 0.9em;
color: #666;
margin-bottom: 15px;
text-align: center;
}
.admin-form .form-actions {
display: flex;
justify-content: space-between;
}
.admin-form .btn {
display: inline-block;
padding: 10px 15px;
text-align: center;
text-decoration: none;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
}
.admin-form .btn-add {
background-color: #28A745;
color: #fff;
}
.admin-form .btn-add:hover {
background-color: #218838;
}
.admin-form .btn-update {
background-color: #007BFF;
color: #fff;
}
.admin-form .btn-update:hover {
background-color: #0056b3;
}
.admin-form .btn-back {
background-color: #6C757D;
color: #fff;
}
.admin-form .btn-back:hover {
background-color: #5A6268;
}
.header-spacer {
height: 60px;
}
.main-content {
margin-top: 20px;
}