Files
bookmarkly2/include/css/style.css
T
2025-09-28 16:05:53 +02:00

190 lines
4.0 KiB
CSS

/* Custom CSS for Bookmarkly */
html {
font-size: 14px;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
/* Background properties will be set dynamically via settings */
}
@media (min-width: 1280px) {
.container {
max-width: 1400px;
}
}
body[style*="background-image"] {
background-color: transparent !important;
}
.h5 {
font-weight: 600 !important;
}
.bookmark-link {
background-color: transparent !important;
border: none !important;
padding: 0.5rem 1rem 0.5rem 0 !important;
color: inherit !important;
font-weight: 500 !important;
transition: transform 0.2s ease-in-out;
}
.bookmark-link:hover {
transform: translateY(-3px);
}
.bookmark-link > div {
min-width: 0;
}
.bookmark-link span {
display: block;
}
.bookmark-link span,
.bookmark-link small {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bookmark-icon {
width: 14px;
height: 14px;
object-fit: contain;
}
.bookmark-favorite-icon {
width: 48px;
height: 48px;
object-fit: contain;
}
.category-column {
background-color: rgba(var(--bs-body-bg-rgb), var(--theme-transparency, 0.85));
backdrop-filter: blur(10px);
padding: 15px;
border-radius: 8px;
height: 100%;
}
.list-group-item {
background-color: transparent !important;
border: none !important;
padding: 0.5rem 0 !important;
color: inherit !important;
text-align: left;
transition: transform 0.2s ease-in-out;
font-weight: 400 !important;
font-size: 0.9rem !important;
}
.list-group-item-action:hover {
background-color: transparent !important;
transform: translateX(5px);
}
.list-group-item span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.navbar-brand {
display: flex;
align-items: center;
gap: 0.5rem; /* Space between logo and title */
color: #f8f9fa !important;
font-size: 1.5rem; /* Increased font size for site title */
}
/* Class to force light text color when background is dark */
body.dark-background-active {
color: #f8f9fa !important;
}
body.dark-background-active h1,
body.dark-background-active h2,
body.dark-background-active h3,
body.dark-background-active h4,
body.dark-background-active h5,
body.dark-background-active .card,
body.dark-background-active .nav-link,
body.dark-background-active label {
color: #fff !important;
}
body.dark-background-active .form-range::-webkit-slider-thumb {
background: #fff;
}
body.dark-background-active .form-range::-moz-range-thumb {
background: #fff;
}
body.dark-background-active .text-muted {
color: rgba(255, 255, 255, 0.6) !important;
font-weight: 100 !important;
}
.sort-handle {
cursor: move;
}
/* Make links more readable on dark backgrounds */
body.dark-background-active .bookmark-list a {
color: var(--bs-light);
}
body.dark-background-active .bookmark-list a:hover {
color: var(--bs-gray-400);
}
[data-bs-theme="dark"] .form-control {
background-color: var(--bs-dark);
color: var(--bs-light);
border-color: var(--bs-gray-700);
}
[data-bs-theme="dark"] .form-control:focus {
background-color: var(--bs-dark);
color: var(--bs-light);
border-color: var(--bs-primary);
box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
.bookmark-list a {
text-decoration: none;
}
.bookmark-list a:hover {
text-decoration: underline;
}
#v-pills-tab .nav-link {
text-align: left;
}
body.dark-background-active .form-text,
[data-bs-theme="dark"] .form-text {
color: rgba(255, 255, 255, 0.55);
}
[data-bs-theme="dark"] .list-group-item {
background-color: var(--bs-gray-800);
border-color: var(--bs-gray-700);
}
/* Custom styles for transparent theme */
[data-bs-theme="transparent"] {
}