mirror of
https://github.com/dockpeek/dockpeek.git
synced 2026-04-29 03:40:15 -05:00
1477 lines
24 KiB
CSS
1477 lines
24 KiB
CSS
@import "./fonts.css";
|
|
@import "tailwindcss";
|
|
|
|
body {
|
|
font-family: "Inter", sans-serif;
|
|
background-color: #f6f8fa;
|
|
color: #24292e;
|
|
}
|
|
|
|
.login-box {
|
|
background-color: #161b22;
|
|
}
|
|
|
|
.login-box input {
|
|
background-color: #0d1117;
|
|
border-color: #30363d;
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
.login-box input:focus {
|
|
outline: none;
|
|
border-color: #58a6ff;
|
|
box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
|
|
}
|
|
|
|
.login-box label {
|
|
color: #8b949e;
|
|
}
|
|
|
|
button svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.login-box button {
|
|
background-color: #238636;
|
|
}
|
|
|
|
.login-box button:hover {
|
|
background-color: #2ea043;
|
|
}
|
|
|
|
.container {
|
|
background-color: #ffffff;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.logo-title {
|
|
margin-right: 1em;
|
|
color: #e1e4e8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.dark-mode .logo-title {
|
|
color: #2a2f37;
|
|
}
|
|
|
|
.github {
|
|
color: #acb1b9;
|
|
}
|
|
|
|
body.dark-mode .github {
|
|
color: #6a737d;
|
|
}
|
|
|
|
.footer {
|
|
color: #b7b9bd;
|
|
background-color: transparent !important;
|
|
border-radius: 0;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.footer-center {
|
|
text-align: center;
|
|
}
|
|
|
|
body.dark-mode .footer {
|
|
color: #424b5d;
|
|
}
|
|
|
|
.status-none {
|
|
color: #b8bcc3;
|
|
}
|
|
|
|
body.dark-mode .status-none {
|
|
color: #474c55;
|
|
}
|
|
|
|
|
|
[data-content="ports"] svg {
|
|
color: #b8bcc3;
|
|
}
|
|
|
|
body.dark-mode [data-content="ports"] svg {
|
|
color: #474c55;
|
|
}
|
|
|
|
.data-content-name {
|
|
font-weight: 500;
|
|
color: #3e4043;
|
|
}
|
|
|
|
.data-content-server {
|
|
color: #6a737d;
|
|
}
|
|
|
|
body.dark-mode .data-content-server {
|
|
color: #8b949e;
|
|
}
|
|
|
|
body.dark-mode .data-content-name {
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
.text-gray-800 {
|
|
color: #949da7;
|
|
}
|
|
|
|
.text-gray-600 {
|
|
color: #586069;
|
|
}
|
|
|
|
.text-gray-700 {
|
|
color: #24292e;
|
|
}
|
|
|
|
.text-gray-900 {
|
|
color: #30363d;
|
|
}
|
|
|
|
.bg-gray-100 {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.border-gray-200 {
|
|
border-color: #e1e4e8;
|
|
}
|
|
|
|
.hover\:bg-gray-50:hover {
|
|
background-color: #fafafa !important;
|
|
}
|
|
|
|
.text-muted,
|
|
.text-secondary {
|
|
color: #6a737d;
|
|
}
|
|
|
|
[data-content="ports"] .badge {
|
|
background-color: #e1e4e8;
|
|
color: #2188ff;
|
|
border-radius: 0.375rem;
|
|
padding: 0.08rem 0.35em;
|
|
font-weight: 400;
|
|
display: inline-block;
|
|
}
|
|
|
|
body.dark-mode [data-content="ports"] .badge {
|
|
background-color: #21262d;
|
|
color: #2188ff;
|
|
}
|
|
|
|
[data-content="ports"] .custom-port .badge {
|
|
color: #959595 !important;
|
|
}
|
|
|
|
body.dark-mode [data-content="ports"] .custom-port .badge {
|
|
color: #6d7789 !important;
|
|
}
|
|
|
|
.sortable-header {
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.sortable-header::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 5px solid #24292e;
|
|
}
|
|
|
|
.sortable-header.desc::after {
|
|
border-top: 5px solid #24292e;
|
|
border-bottom: none;
|
|
}
|
|
|
|
input[type="text"] {
|
|
background-color: #f6f8fa;
|
|
border: 1px solid #ebebeb;
|
|
border-radius: 0.5rem;
|
|
color: #54595f;
|
|
padding: 0.75rem;
|
|
width: 100%;
|
|
}
|
|
|
|
#search-input {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px #ebebeb !important;
|
|
border-color: transparent;
|
|
}
|
|
|
|
#search-input:focus {
|
|
box-shadow: 0 0 0 2px #e1e4e8 !important;
|
|
}
|
|
|
|
body.dark-mode #search-input {
|
|
box-shadow: 0 0 0 2px #22262d !important;
|
|
}
|
|
|
|
body.dark-mode #search-input:focus {
|
|
box-shadow: 0 0 0 2px #31363d !important;
|
|
}
|
|
|
|
#search-input::placeholder {
|
|
color: #bbbfc5;
|
|
}
|
|
|
|
#theme-switcher,
|
|
#refresh-button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
background-color: #e1e4e8;
|
|
color: #626c78;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
#theme-switcher:hover,
|
|
#refresh-button:hover {
|
|
background-color: #d1d5da;
|
|
}
|
|
|
|
#theme-switcher:focus,
|
|
#refresh-button:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.75);
|
|
}
|
|
|
|
.source-link[data-tooltip-top-right]::after {
|
|
max-width: 600px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: inline-block;
|
|
}
|
|
|
|
.source-link:not(.hidden) {
|
|
color: #99a1af !important;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
padding-left: 4px;
|
|
}
|
|
svg {
|
|
pointer-events: none;
|
|
}
|
|
.source-link svg {
|
|
display: block;
|
|
}
|
|
|
|
|
|
.source-link:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
body.dark-mode .source-link {
|
|
color: #474c55 !important;
|
|
}
|
|
|
|
body.dark-mode .source-link:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
.server-column [data-content="server-name"] {
|
|
color: #808993;
|
|
}
|
|
|
|
|
|
body.dark-mode .server-column [data-content="server-name"] {
|
|
color: #5a626b;
|
|
}
|
|
|
|
.container-name-wrapper {}
|
|
|
|
.container-name-cell [data-tooltip-right]::after {
|
|
max-width: 600px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Custom link color for container names */
|
|
.container-name-cell {
|
|
color: #4e5051 !important;
|
|
}
|
|
|
|
body.dark-mode .container-name-cell {
|
|
color: #e1e1e1 !important;
|
|
}
|
|
|
|
.container-name-cell a {
|
|
color: #3e71e9 !important;
|
|
}
|
|
|
|
.container-name-cell a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
/* Dark mode version */
|
|
body.dark-mode .container-name-cell a {
|
|
color: #85a3d1 !important;
|
|
}
|
|
|
|
body.dark-mode .container-name-cell a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
.table-cell-stack a {
|
|
color: #838c95 !important;
|
|
}
|
|
|
|
.table-cell-stack a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
/* Dark mode version */
|
|
body.dark-mode .table-cell-stack a {
|
|
color: #737b85 !important;
|
|
}
|
|
|
|
body.dark-mode .table-cell-stack a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
/*
|
|
#refresh-button.loading svg {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
*/
|
|
.text-red-500 {
|
|
color: #cb2431;
|
|
}
|
|
|
|
.table-cell-status {
|
|
text-align: center;
|
|
}
|
|
|
|
.table-cell-status,
|
|
.server-column {
|
|
cursor: default;
|
|
}
|
|
|
|
/* Green - OK/Running states */
|
|
.status-running {
|
|
color: #28a745;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-healthy {
|
|
color: #28a745;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Red - Error/Failed states */
|
|
.status-exited {
|
|
color: #dc3545;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-unhealthy {
|
|
color: #dc3545;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-dead {
|
|
color: #dc3545;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-unknown {
|
|
color: #dc3545;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Orange - Transitional/Warning states */
|
|
.status-starting {
|
|
color: #99a1af;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-restarting {
|
|
color: #99a1af;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-removing {
|
|
color: #99a1af;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Gray/White - Temporary/Inactive states */
|
|
.status-paused {
|
|
color: #fd7e14;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-created {
|
|
color: #99a1af;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.status-none {
|
|
color: #99a1af;
|
|
font-weight: 400;
|
|
}
|
|
|
|
code {
|
|
background-color: #f3f4f6;
|
|
color: #24292e;
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.filter-button {
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 0.5rem;
|
|
background-color: #e1e4e8;
|
|
color: #3e4043;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
box-shadow: 0.2s ease-in-out;
|
|
}
|
|
|
|
.filter-button:hover {
|
|
background-color: #e9eaeb;
|
|
}
|
|
|
|
.filter-button.active {
|
|
background-color: #2188ff;
|
|
color: white;
|
|
}
|
|
|
|
.filter-button.inactive {
|
|
color: #d2d3d3;
|
|
background-color: #f3f3f3;
|
|
}
|
|
|
|
body.dark-mode .filter-button {
|
|
background-color: #232831;
|
|
color: #b3b9bf;
|
|
}
|
|
|
|
body.dark-mode .filter-button:hover {
|
|
background-color: #202329;
|
|
}
|
|
|
|
body.dark-mode .filter-button.active {
|
|
background-color: #2188ff;
|
|
color: white;
|
|
}
|
|
|
|
body.dark-mode .filter-button.inactive {
|
|
color: #30353d;
|
|
background-color: #15181c;
|
|
}
|
|
|
|
.table-single-server .server-column {
|
|
display: none;
|
|
}
|
|
|
|
/* Dark Mode Styles */
|
|
body.dark-mode {
|
|
background-color: #0d1117;
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
body.dark-mode .container {
|
|
background-color: #161b22;
|
|
}
|
|
|
|
body.dark-mode .text-gray-800 {
|
|
color: #24292e;
|
|
}
|
|
|
|
body.dark-mode .text-gray-600 {
|
|
color: #8b949e;
|
|
}
|
|
|
|
body.dark-mode .text-gray-700 {
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
body.dark-mode .text-gray-900 {
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
body.dark-mode .bg-gray-100 {
|
|
background-color: #21262d;
|
|
}
|
|
|
|
body.dark-mode .border-gray-200 {
|
|
border-color: #232831;
|
|
}
|
|
|
|
body.dark-mode table {
|
|
background-color: #161b22;
|
|
border-color: #232831;
|
|
}
|
|
|
|
.main-table-header {
|
|
background-color: #f7f7f7;
|
|
color: #c7c7c7;
|
|
}
|
|
|
|
body.dark-mode .main-table-header {
|
|
background-color: #21262d;
|
|
color: #c7c7c7;
|
|
}
|
|
|
|
body.dark-mode .hover\:bg-gray-50:hover {
|
|
background-color: #21262d !important;
|
|
}
|
|
|
|
body.dark-mode .text-muted,
|
|
body.dark-mode .text-secondary {
|
|
color: #8b949e;
|
|
}
|
|
|
|
body.dark-mode .sortable-header::after {
|
|
border-bottom-color: #c9d1d9;
|
|
border-top-color: #c9d1d9;
|
|
}
|
|
|
|
body.dark-mode input[type="text"] {
|
|
background-color: #0d1117;
|
|
border-color: #30363d;
|
|
color: #aab0b5;
|
|
}
|
|
|
|
body.dark-mode #search-input::placeholder {
|
|
color: #41464b;
|
|
}
|
|
|
|
body.dark-mode #theme-switcher,
|
|
body.dark-mode #refresh-button {
|
|
background-color: #21262d;
|
|
color: #97a1ab;
|
|
}
|
|
|
|
body.dark-mode #theme-switcher:hover,
|
|
body.dark-mode #refresh-button:hover {
|
|
background-color: #30363d;
|
|
}
|
|
|
|
body.dark-mode .text-red-500 {
|
|
color: #f85149;
|
|
}
|
|
|
|
body.dark-mode code {
|
|
background-color: #21262d;
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
/* Confirmation Modal Styles */
|
|
.modal-overlay:not(.hidden) {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.modal-content:not(.hidden) {
|
|
background-color: #ffffff;
|
|
padding: 2rem;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
width: 90%;
|
|
max-width: 700px;
|
|
max-height: 80vh;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body.dark-mode .modal-content {
|
|
background-color: #161b22;
|
|
border: 1px solid #30363d;
|
|
}
|
|
|
|
body.dark-mode #modal-cancel-button {
|
|
background-color: #21262d;
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
body.dark-mode #modal-cancel-button:hover {
|
|
background-color: #30363d;
|
|
}
|
|
|
|
/* Updates Modal Styles */
|
|
|
|
#updates-modal .modal-content:not(.hidden) {
|
|
max-width: 900px !important;
|
|
}
|
|
|
|
#updates-modal-message {
|
|
margin-bottom: 1.5rem;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
#updates-list {
|
|
background-color: #f8f9fa;
|
|
padding: 1rem;
|
|
border-radius: 0.375rem;
|
|
border: 1px solid #e1e4e8;
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
min-height: 100px;
|
|
}
|
|
|
|
#updates-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
white-space: nowrap;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid #e1e4e8;
|
|
}
|
|
|
|
#updates-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
#updates-list .stack-name {
|
|
color: #a6b4c3;
|
|
font-weight: normal;
|
|
font-size: 0.857rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#updates-list .server-name {
|
|
color: #a1aab4;
|
|
font-weight: normal;
|
|
font-size: 0.875rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#updates-list .image-name {
|
|
color: #a6b4c3;
|
|
font-style: italic;
|
|
font-size: 0.8rem;
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
margin-left: auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
direction: rtl;
|
|
text-align: left;
|
|
min-width: 0;
|
|
}
|
|
|
|
body.dark-mode #updates-list {
|
|
background-color: #21262d;
|
|
border-color: #30363d;
|
|
}
|
|
|
|
body.dark-mode #updates-list li {
|
|
border-bottom-color: #30363d;
|
|
}
|
|
|
|
body.dark-mode #updates-list .server-name {
|
|
color: #6a737d;
|
|
}
|
|
|
|
body.dark-mode #updates-list .image-name {
|
|
color: #6a737d;
|
|
}
|
|
|
|
#updates-list .no-updates-message {
|
|
list-style: none;
|
|
color: #28a745;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
white-space: normal;
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
body.dark-mode #updates-list .no-updates-message {
|
|
color: #56d364;
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
#updates-list::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
#updates-list::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#updates-list::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#updates-list::-webkit-scrollbar-thumb:hover {
|
|
background: #a1a1a1;
|
|
}
|
|
|
|
body.dark-mode #updates-list::-webkit-scrollbar-track {
|
|
background: #30363d;
|
|
}
|
|
|
|
body.dark-mode #updates-list::-webkit-scrollbar-thumb {
|
|
background: #6a737d;
|
|
}
|
|
|
|
body.dark-mode #updates-list::-webkit-scrollbar-thumb:hover {
|
|
background: #8b949e;
|
|
}
|
|
|
|
/* Loading Spinner */
|
|
.loader {
|
|
border: 4px solid #f3f3f3;
|
|
border-top: 4px solid #3498db;
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
animation: spin 1s linear infinite;
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
body.dark-mode .loader {
|
|
border-color: #21262d;
|
|
border-top-color: #2188ff;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes spin-reverse {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
/* Update indicator styles */
|
|
.update-indicator:not(.hidden) {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.update-indicator svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: #d67a10;
|
|
}
|
|
|
|
body.dark-mode .update-indicator svg {
|
|
color: #b9711f;
|
|
}
|
|
|
|
.image-wrapper {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.image-wrapper-inline {
|
|
display: inline;
|
|
}
|
|
|
|
|
|
.table-cell-image code {
|
|
display: inline;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
background-color: #ededed;
|
|
color: #3e4043;
|
|
border-radius: 0.25rem;
|
|
padding: 0.2rem 0.4rem;
|
|
white-space: break-spaces;
|
|
word-break: break-all;
|
|
box-decoration-break: clone;
|
|
-webkit-box-decoration-break: clone;
|
|
}
|
|
|
|
body.dark-mode .table-cell-image code {
|
|
background-color: #22262d;
|
|
color: #d5d5d5;
|
|
}
|
|
|
|
#check-updates-button {
|
|
background-color: #e1e4e8;
|
|
color: #626c78;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
#check-updates-button:hover {
|
|
background-color: #d1d5da;
|
|
}
|
|
|
|
/* Ukryj SVG podczas ładowania */
|
|
|
|
#check-updates-button svg {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
#check-updates-button.loading svg {
|
|
display: none;
|
|
}
|
|
|
|
/* Pokaż spinner podczas ładowania */
|
|
#check-updates-button.loading::before {
|
|
content: "";
|
|
display: inline-block;
|
|
border: 2px solid #f3f3f3;
|
|
border-top: 2px solid #d67a10;
|
|
border-radius: 50%;
|
|
width: 18px;
|
|
height: 18px;
|
|
animation: spin 1s linear infinite;
|
|
vertical-align: middle;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
/* Animacja spinnera */
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Dark mode */
|
|
body.dark-mode #check-updates-button {
|
|
background-color: #21262d;
|
|
color: #97a1ab;
|
|
}
|
|
|
|
body.dark-mode #check-updates-button:hover {
|
|
background-color: #30363d;
|
|
}
|
|
|
|
/* Dark mode spinner */
|
|
body.dark-mode #check-updates-button.loading::before {
|
|
border: 2px solid #30363d;
|
|
border-top: 2px solid #b9711f;
|
|
}
|
|
|
|
/* Toggle Switch Styles */
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 44px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #e1e4e8;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: white;
|
|
border-radius: 50%;
|
|
transition: transform 0.1s ease-in-out;
|
|
}
|
|
|
|
input:checked+.slider {
|
|
background-color: #3f88fe;
|
|
}
|
|
|
|
input:checked+.slider:before {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
body.dark-mode .slider {
|
|
background-color: #33393f;
|
|
}
|
|
|
|
body.dark-mode .slider:before {
|
|
background-color: #181c25;
|
|
}
|
|
|
|
body.dark-mode input:checked+.slider {
|
|
background-color: #567bd4;
|
|
}
|
|
|
|
#filter-updates-checkbox:checked+.slider {
|
|
background-color: #d67a10;
|
|
}
|
|
|
|
body.dark-mode #filter-updates-checkbox:checked+.slider {
|
|
background-color: #d67a10;
|
|
}
|
|
|
|
#filter-running-checkbox:checked+.slider {
|
|
background-color: #3ec93c;
|
|
}
|
|
|
|
body.dark-mode #filter-running-checkbox:checked+.slider {
|
|
background-color: #3b8531;
|
|
}
|
|
|
|
label[for="filter-running-checkbox"] {
|
|
color: #babdc1;
|
|
}
|
|
|
|
body.dark-mode label[for="filter-running-checkbox"] {
|
|
color: #4d525b;
|
|
}
|
|
|
|
#modal-message {
|
|
white-space: pre-line;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
button:focus {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Kolory dla linków Traefik */
|
|
.traefik-route a {
|
|
color: #3e71e9 !important;
|
|
}
|
|
|
|
.traefik-route a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
/* Dark mode version */
|
|
body.dark-mode .traefik-route a {
|
|
color: #2572cb !important;
|
|
}
|
|
|
|
body.dark-mode .traefik-route a:hover {
|
|
color: #2b7fff !important;
|
|
}
|
|
|
|
/* Column Menu Styles */
|
|
.column-menu-container {
|
|
margin-left: 16px;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.column-menu-reset {
|
|
text-align: right;
|
|
/* ustawia zawartość po prawej */
|
|
}
|
|
|
|
.reset-columns-btn {
|
|
display: inline-block;
|
|
color: #767983;
|
|
font-weight: normal;
|
|
padding-top: 0.75em;
|
|
padding-right: 0.3em;
|
|
}
|
|
/* Klikalny kontener (div) */
|
|
.column-menu-container {
|
|
height: 32px;
|
|
width: 32px;
|
|
cursor: pointer;
|
|
border-radius: 0.375rem;
|
|
transition: all 0.2s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Ikona w środku */
|
|
.column-menu-svg {
|
|
height: 26px;
|
|
width: 26px;
|
|
color: #c0c4c9;
|
|
pointer-events: none; /* <-- ważne, żeby klik szedł w kontener, a nie w SVG */
|
|
}
|
|
|
|
/* Hover dla całego przycisku */
|
|
.column-menu-container:hover .column-menu-svg {
|
|
color: #a2a6aa;
|
|
}
|
|
|
|
/* Dark mode */
|
|
body.dark-mode .column-menu-svg {
|
|
color: #767e87;
|
|
}
|
|
|
|
body.dark-mode .column-menu-container:hover .column-menu-svg {
|
|
color: #40464d;
|
|
}
|
|
|
|
|
|
.column-menu {
|
|
position: absolute;
|
|
top: calc(100% + 0px);
|
|
right: 0;
|
|
background-color: #ffffff;
|
|
border: 1px solid #e1e4e8;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
|
|
padding: 0.75rem;
|
|
min-width: 180px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.column-menu-item {
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.5rem 0;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.column-menu-item:not(:last-child) {
|
|
border-bottom: 1px solid #f1f3f4;
|
|
}
|
|
|
|
.column-menu-item span {
|
|
color: #24292e;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Dark mode styles */
|
|
body.dark-mode .column-menu-button {
|
|
background-color: #21262d;
|
|
color: #97a1ab;
|
|
}
|
|
|
|
body.dark-mode .column-menu-button:hover {
|
|
background-color: #30363d;
|
|
}
|
|
|
|
body.dark-mode .column-menu {
|
|
background-color: #1c2129;
|
|
border-color: #282d33;
|
|
box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
body.dark-mode .column-menu-item {
|
|
border-bottom-color: #282d33;
|
|
}
|
|
|
|
body.dark-mode .column-menu-item span {
|
|
color: #c9d1d9;
|
|
}
|
|
|
|
/* Column visibility classes */
|
|
.column-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Responsive Styles */
|
|
@media (max-width: 576px) {
|
|
body {
|
|
padding: 0;
|
|
}
|
|
|
|
#search-input::placeholder {
|
|
opacity: 0;
|
|
}
|
|
|
|
.container {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.flex.justify-between.items-center.mb-6 {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.controls-container {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.controls-container>* {
|
|
margin-bottom: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.py-3.px-4 {
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
.min-w-full {
|
|
min-width: unset;
|
|
}
|
|
|
|
.overflow-x-auto {
|
|
/* overflow-x: hidden;*/
|
|
}
|
|
|
|
.update-indicator {
|
|
display: none;
|
|
}
|
|
|
|
.min-w-full {
|
|
min-width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
/* Responsive Styles */
|
|
@media (max-width: 768px) {
|
|
|
|
.container {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.column-menu-container {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.right-18 {
|
|
right: calc(var(--spacing) * 14);
|
|
}
|
|
|
|
[data-tooltip-left]::after,
|
|
[data-tooltip-left]::before,
|
|
[data-tooltip-right]::after,
|
|
[data-tooltip-right]::before,
|
|
[data-tooltip]::after,
|
|
[data-tooltip]::before {
|
|
display: none !important;
|
|
content: none !important;
|
|
}
|
|
|
|
.flex.justify-between.items-center.mb-6 {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.status-filter {
|
|
display: flex;
|
|
justify-content: right;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.column-menu-container {
|
|
display: flex;
|
|
justify-content: right;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.controls-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.controls-container>* {
|
|
margin-bottom: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.py-3.px-4 {
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
.min-w-full {
|
|
min-width: unset;
|
|
}
|
|
|
|
.min-w-full {
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
.traefik-route a {
|
|
display: inline-block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.traefik-route a .traefik-text {
|
|
display: inline;
|
|
}
|
|
|
|
|
|
/* domyślnie (dla dużych ekranów) */
|
|
label[for="filter-running-checkbox"] {
|
|
display: inline;
|
|
}
|
|
|
|
/* ukryj dla ekranów <= 1023px */
|
|
@media (max-width: 1023px) {
|
|
label[for="filter-running-checkbox"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* przywróć widoczność dla ekranów <= 768px (nadpisze regułę powyżej) */
|
|
@media (max-width: 768px) {
|
|
label[for="filter-running-checkbox"] {
|
|
display: inline;
|
|
}
|
|
}
|
|
|
|
/* jawne ustawienie dla >= 1024px (opcjonalne, domyślne już to daje) */
|
|
@media (min-width: 1024px) {
|
|
label[for="filter-running-checkbox"] {
|
|
display: inline;
|
|
}
|
|
}
|
|
|
|
.tag-badge {
|
|
max-width: 120px;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
background-color: #ededed;
|
|
color: #727373;
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
padding: 2px 7px;
|
|
border-radius: 9999px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tag-badge:hover {
|
|
background-color: #e1e4e8;
|
|
}
|
|
|
|
.dark-mode .tag-badge {
|
|
background-color: #22262d;
|
|
color: #90939b;
|
|
}
|
|
|
|
.dark-mode .tag-badge:hover {
|
|
background-color: #2d3137;
|
|
}
|
|
|
|
.tags-container {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
max-width: 250px;
|
|
}
|
|
|
|
.column-menu {
|
|
min-width: 200px;
|
|
}
|
|
|
|
.column-menu-header {
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.column-list {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.column-menu-item.draggable {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: move;
|
|
padding: 8px 4px;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
margin: 2px 8px;
|
|
}
|
|
|
|
.column-menu-item.dragging {
|
|
opacity: 0.5;
|
|
background-color: #f3f4f6;
|
|
border-color: #d1d5db;
|
|
}
|
|
|
|
|
|
.dark-mode .column-menu-item.dragging {
|
|
opacity: 0.5;
|
|
background-color: #454850;
|
|
border-color: #373b44;
|
|
}
|
|
|
|
|
|
.column-menu-item.drag-over {
|
|
border-top: 2px solid #3b82f6;
|
|
}
|
|
|
|
.drag-handle {
|
|
color: #9ca3af;
|
|
font-weight: bold;
|
|
margin-right: 8px;
|
|
user-select: none;
|
|
line-height: 1;
|
|
}
|
|
|
|
.drag-handle:hover {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.column-menu-item label {
|
|
flex: 1;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* ======================================== */
|
|
/* Custom Tooltip Styles (JS-Driven) */
|
|
/* ======================================== */
|
|
|
|
/* Główny kontener tooltipa, tworzony przez JS. */
|
|
.custom-tooltip {
|
|
position: absolute;
|
|
/* Pozycję (top, left) ustawi JavaScript */
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
|
|
}
|
|
|
|
/* Klasa dodawana przez JS, aby pokazać tooltip */
|
|
.custom-tooltip.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
/* Dymek tooltipa */
|
|
.custom-tooltip-box {
|
|
background-color: #ffffff;
|
|
color: #4f5359;
|
|
font-size: 0.8rem;
|
|
font-weight: 400;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 0.375rem;
|
|
white-space: nowrap;
|
|
box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.2);
|
|
max-width: 600px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Strzałka/trójkąt */
|
|
.custom-tooltip-arrow {
|
|
content: "";
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-style: solid;
|
|
}
|
|
|
|
/* --- Modyfikatory Pozycji Strzałki --- */
|
|
|
|
/* Pozycja: Góra (domyślna) */
|
|
.custom-tooltip-arrow.arrow-top {
|
|
border-width: 6px 6px 0 6px;
|
|
border-color: #ffffff transparent transparent transparent;
|
|
left: 50%;
|
|
top: 100%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
/* Pozycja: Lewo */
|
|
.custom-tooltip-arrow.arrow-left {
|
|
border-width: 10px 0 10px 10px;
|
|
border-color: transparent transparent transparent #ffffff;
|
|
top: 50%;
|
|
left: 100%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
/* Pozycja: Prawo */
|
|
.custom-tooltip-arrow.arrow-right {
|
|
border-width: 10px 10px 10px 0;
|
|
border-color: transparent #ffffff transparent transparent;
|
|
top: 50%;
|
|
right: 100%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
|
|
/* === Style Tooltipa dla Trybu Ciemnego === */
|
|
body.dark-mode .custom-tooltip-box {
|
|
background-color: #31363d;
|
|
color: #f6f8fa;
|
|
box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
body.dark-mode .custom-tooltip-arrow.arrow-top {
|
|
border-top-color: #31363d;
|
|
}
|
|
|
|
body.dark-mode .custom-tooltip-arrow.arrow-left {
|
|
border-left-color: #31363d;
|
|
}
|
|
|
|
body.dark-mode .custom-tooltip-arrow.arrow-right {
|
|
border-right-color: #31363d;
|
|
} |