247 lines
3.8 KiB
CSS
247 lines
3.8 KiB
CSS
.saved-configs {
|
|
background-color: #f9f9f9;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Dark mode styles for Saved Configs */
|
|
body.dark-mode .saved-configs {
|
|
background-color: #1f1f1f;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.saved-configs-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.saved-configs-header h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.save-new-button {
|
|
padding: 8px 12px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
|
|
body.dark-mode .save-new-button {
|
|
background-color: #388e3c;
|
|
}
|
|
|
|
.save-new-button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
body.dark-mode .save-new-button:hover {
|
|
background-color: #2e7d32;
|
|
}
|
|
|
|
.save-dialog {
|
|
background-color: #fff;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
body.dark-mode .save-dialog {
|
|
background-color: #282828;
|
|
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.save-dialog input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
margin-bottom: 10px;
|
|
background-color: #fff;
|
|
color: #333;
|
|
}
|
|
|
|
body.dark-mode .save-dialog input {
|
|
background-color: #333;
|
|
color: #e0e0e0;
|
|
border-color: #555;
|
|
}
|
|
|
|
.dialog-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.dialog-buttons button {
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dialog-buttons button:first-child {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
}
|
|
|
|
body.dark-mode .dialog-buttons button:first-child {
|
|
background-color: #388e3c;
|
|
}
|
|
|
|
.dialog-buttons button:last-child {
|
|
background-color: #f0f0f0;
|
|
color: #333;
|
|
}
|
|
|
|
body.dark-mode .dialog-buttons button:last-child {
|
|
background-color: #555;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.dialog-buttons button:disabled {
|
|
background-color: #cccccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
body.dark-mode .dialog-buttons button:disabled {
|
|
background-color: #555;
|
|
color: #aaa;
|
|
}
|
|
|
|
.no-configs {
|
|
text-align: center;
|
|
color: #888;
|
|
font-style: italic;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
body.dark-mode .no-configs {
|
|
color: #aaa;
|
|
}
|
|
|
|
.configs-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.config-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
body.dark-mode .config-item {
|
|
border-bottom-color: #333;
|
|
}
|
|
|
|
.config-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.config-item:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
body.dark-mode .config-item:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
.config-info h4 {
|
|
margin: 0 0 5px 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.config-info p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
body.dark-mode .config-info p {
|
|
color: #bbb;
|
|
}
|
|
|
|
.config-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.load-button,
|
|
.delete-button {
|
|
padding: 6px 10px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.load-button {
|
|
background-color: #4285F4;
|
|
color: white;
|
|
}
|
|
|
|
body.dark-mode .load-button {
|
|
background-color: #61dafb;
|
|
color: #121212;
|
|
}
|
|
|
|
.delete-button {
|
|
background-color: #f44336;
|
|
color: white;
|
|
}
|
|
|
|
body.dark-mode .delete-button {
|
|
background-color: #d32f2f;
|
|
}
|
|
|
|
.load-button:hover {
|
|
background-color: #3367d6;
|
|
}
|
|
|
|
body.dark-mode .load-button:hover {
|
|
background-color: #a9e9ff;
|
|
}
|
|
|
|
.delete-button:hover {
|
|
background-color: #d32f2f;
|
|
}
|
|
|
|
body.dark-mode .delete-button:hover {
|
|
background-color: #c62828;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.saved-configs-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.config-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.config-actions {
|
|
align-self: stretch;
|
|
}
|
|
|
|
.load-button,
|
|
.delete-button {
|
|
flex: 1;
|
|
}
|
|
}
|