222 lines
4.1 KiB
CSS
222 lines
4.1 KiB
CSS
@import "tailwindcss";
|
|
|
|
@layer base {
|
|
/* Sticky footer base styles */
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#app {
|
|
flex: 1 0 auto; /* Make #app grow to fill available space */
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main {
|
|
flex-grow: 1; /* Ensure main grows within #app */
|
|
}
|
|
|
|
footer {
|
|
flex-shrink: 0; /* Prevent footer from shrinking */
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.spinner {
|
|
border: 4px solid rgba(255, 225, 225, 0.3);
|
|
border-top: 4px solid #ffffff;
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
animation: spin 1s linear infinite;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
#notificationContainer {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.notification {
|
|
background-color: #1f2937;
|
|
color: white;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
margin-top: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.notification.success {
|
|
background-color: #158106;
|
|
}
|
|
|
|
.notification.error {
|
|
background-color: #b91c1c;
|
|
}
|
|
|
|
#dockerLogsTerminal {
|
|
background-color: #1f2937;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem;
|
|
max-height: 12rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.xterm .xterm-viewport {
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #4b5563 #1f2937;
|
|
}
|
|
|
|
.xterm .xterm-viewport::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.xterm .xterm-viewport::-webkit-scrollbar-track {
|
|
background: #1f2937;
|
|
}
|
|
|
|
.xterm .xterm-viewport::-webkit-scrollbar-thumb {
|
|
background: #4b5563;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.xterm .xterm-viewport::-webkit-scrollbar-thumb:hover {
|
|
background: #6b7280;
|
|
}
|
|
|
|
.xterm .xterm-screen {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.control-btn {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
transition: all 0.2s ease;
|
|
min-width: 80px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.control-btn:hover:not(.disabled-btn) {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.control-btn:active:not(.disabled-btn) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #1f2937;
|
|
padding: 1.5rem;
|
|
border-radius: 0.5rem;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
position: relative;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #4b5563 #1f2937;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar-track {
|
|
background: #1f2937;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar-thumb {
|
|
background: #4b5563;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar-thumb:hover {
|
|
background: #6b7280;
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 1.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.disabled-btn {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
/* Add any custom utilities if needed */
|
|
}
|
|
|
|
/* Media queries */
|
|
@media (max-width: 640px) {
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg .grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg p {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg a,
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg span {
|
|
word-break: break-all;
|
|
overflow-wrap: anywhere;
|
|
white-space: normal;
|
|
}
|
|
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg button {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* Additional styles */
|
|
.bg-gray-800.p-6.rounded-lg.shadow-lg .grid {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.bg-gray-800.p-6.rounded-lg.shadow p {
|
|
max-width: 100%;
|
|
} |