Files
tcms/bl-kernel/admin/themes/booty/css/bludit.css
T
Ty Clifford cebb0d3af1 -
2026-07-03 07:31:09 -04:00

801 lines
14 KiB
CSS

:root {
/* Dynamic font sizing */
--font-size-xs: 0.72rem;
--font-size-sm: 0.833rem;
--font-size-base: 0.945rem;
--font-size-lg: 1.08rem;
--font-size-xl: 1.26rem;
--font-size-2xl: 1.575rem;
--font-size-3xl: 2.025rem;
/* Font weights */
--font-weight-normal: 450;
--font-weight-medium: 550;
--font-weight-semibold: 650;
--font-weight-bold: 750;
/* Royal Azure Solid Blue colors */
--primary-blue: #0078D4;
--primary-blue-dark: #005A9E;
--primary-blue-darker: #004578;
--primary-gradient: #0078D4;
/* UI colors */
--bg-main: #F8FAFC;
--bg-sidebar: #F1F5F9;
--text-primary: #1E293B;
--text-secondary: #475569;
--text-muted: #94A3B8;
--border-color: #E2E8F0;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
/* Warm neutral accents */
--bg-warm: #faf8f5;
--bg-warm-card: #f7f5f2;
--border-warm: #e8e6e3;
/* Radius scale */
--radius-sm: 4px;
--radius-md: 8px;
/* Semantic colors */
--color-info: #0078D4;
--color-danger: #DC2626;
--color-danger-dark: #B91C1C;
--color-success: #16A34A;
--color-success-dark: #15803D;
--color-secondary: #64748B;
--color-secondary-dark: #475569;
--bg-card: #FFFFFF;
--bg-light: #f8f9fa;
--border-light: #cbd5e1;
--primary-blue-hover-bg: rgba(0, 120, 212, 0.06);
}
html {
height: 100%;
font-size: var(--font-size-base);
background: var(--bg-main);
}
body {
background: var(--bg-main);
color: var(--text-primary);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
font-weight: var(--font-weight-normal);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Prevent events in iframes */
/* iframe{
pointer-events: none;
} */
/*
ICONS
*/
.fa {
margin-right: .5rem !important;
line-height: inherit;
}
/*
SIDEBAR
*/
div.sidebar {
background: var(--bg-sidebar);
border-right: 1px solid var(--border-color);
border-left: 1px solid var(--border-color);
padding: 10px 15px;
}
div.sidebar .nav-item a {
padding-left: 5px;
padding-right: 5px;
color: var(--text-primary);
padding-top: 6px;
padding-bottom: 6px;
font-size: var(--font-size-base);
font-weight: var(--font-weight-normal);
transition: color 0.2s ease, transform 0.2s ease;
}
div.sidebar .nav-item a:hover {
color: var(--primary-blue);
transform: translateX(3px);
}
div.sidebar .nav-item a.active,
div.sidebar .nav-item a:focus {
color: var(--primary-blue);
}
div.sidebar .nav-item h4 {
font-size: var(--font-size-xs);
text-transform: uppercase;
font-weight: var(--font-weight-bold);
margin-top: 15px;
padding-left: 5px;
color: var(--text-secondary);
letter-spacing: 0.8px;
}
/*
QUICK SEARCH - SPOTLIGHT STYLE
*/
/* Trigger Button */
.quick-search-trigger {
position: relative;
width: 100%;
padding: 16px;
background: white;
border: 2px solid var(--border-color);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition: all 0.2s ease;
}
.quick-search-trigger:hover {
border-color: var(--primary-blue);
}
.quick-search-trigger .quick-search-icon {
width: 40px;
height: 40px;
border-radius: var(--radius-sm);
background: var(--primary-gradient);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.quick-search-trigger .quick-search-icon .fa {
color: white;
font-size: 16px;
margin: 0 !important;
}
.quick-search-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
#hello-text {
color: var(--text-primary);
font-size: var(--font-size-base);
font-weight: var(--font-weight-medium);
}
.quick-search-hint {
color: var(--text-secondary);
font-size: var(--font-size-sm);
font-weight: var(--font-weight-normal);
}
.quick-search-shortcut {
padding: 6px 12px;
background: var(--bg-main);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
font-size: var(--font-size-sm);
color: var(--text-secondary);
font-weight: var(--font-weight-medium);
font-family: monospace;
}
/* Modal Overlay */
.quick-search-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
display: none;
align-items: flex-start;
justify-content: center;
padding-top: 15vh;
}
.quick-search-modal.active {
display: flex;
}
.quick-search-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* Modal Content */
.quick-search-content {
position: relative;
width: 90%;
max-width: 680px;
max-height: 80vh;
background: var(--bg-card);
border-radius: var(--radius-md);
box-shadow: var(--shadow-md);
animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
overflow: hidden;
display: flex;
flex-direction: column;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px) scale(0.96);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.quick-search-header {
display: flex;
align-items: center;
gap: 16px;
padding: 24px;
border-bottom: 1px solid var(--border-color);
flex-shrink: 0;
}
.quick-search-header .fa-search {
color: var(--text-secondary);
font-size: 22px;
margin: 0 !important;
flex-shrink: 0;
}
.quick-search-input {
flex: 1;
border: none !important;
background: transparent !important;
padding: 0 !important;
font-size: var(--font-size-xl) !important;
font-weight: var(--font-weight-normal) !important;
outline: none !important;
box-shadow: none !important;
line-height: 1.5 !important;
}
.quick-search-input::placeholder {
color: var(--text-muted) !important;
font-size: var(--font-size-xl) !important;
}
.quick-search-results {
flex: 1;
overflow-y: auto;
min-height: 150px;
max-height: calc(80vh - 120px);
}
.search-no-results {
padding: 32px 24px;
text-align: center;
color: var(--text-secondary);
font-size: var(--font-size-base);
}
.search-suggestion {
display: block;
padding: 12px 16px;
transition: background 0.15s ease;
cursor: pointer;
border-bottom: 1px solid rgba(0, 0, 0, 0.04);
text-decoration: none;
color: inherit;
}
.search-suggestion:last-child {
border-bottom: none;
}
.search-suggestion:hover {
background: var(--primary-blue-hover-bg);
}
.search-suggestion .fa {
color: var(--primary-blue);
margin-right: 14px !important;
width: 22px;
text-align: center;
font-size: 16px;
}
.search-suggestion-item {
font-weight: var(--font-weight-medium);
color: var(--text-primary);
margin-bottom: 6px;
font-size: var(--font-size-lg);
line-height: 1.4;
}
.search-suggestion-options {
font-size: var(--font-size-sm);
padding-top: 4px;
}
.search-suggestion-options a {
color: var(--primary-blue);
margin-right: 16px;
font-weight: var(--font-weight-medium);
text-decoration: none;
transition: color 0.2s ease;
}
.search-suggestion-options a:hover {
color: var(--primary-blue-dark);
text-decoration: underline;
}
/*
BOOTSTRAP Hacks
*/
@media (min-width: 1200px) {
.container {
max-width: 1600px;
}
}
/* for small devices */
@media (max-width: 575.98px) {
#jsmediaManagerButton,
#jscategoryButton,
#jsdescriptionButton {
width: 100%;
text-align: left;
}
}
.btn-light {
color: #212529;
background-color: #f3f3f3;
border-color: #ced4d9;
}
.btn-form {
background-color: #F3F3F3;
border-color: #DDD;
color: #000;
}
.btn-form:hover {
background-color: rgb(228, 228, 228);
border-color: #DDD;
color: #000;
}
code {
padding: 3px 5px 2px;
margin: 0 1px;
background: #eaeaea;
background: rgba(0, 0, 0, .07);
color: #444;
}
.list-group-sortable {
cursor: pointer;
}
.modal-body {
padding: 2rem;
}
.modal-footer {
background-color: rgb(247, 247, 247);
}
.modal-dialog .btn-link {
color: #000;
}
/*
LOGIN
*/
body.login {
background: rgb(255, 255, 255);
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 53%);
height: 100%;
}
/*
DASHBOARD
*/
#dashboard ul.list-group.list-group-striped {
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
overflow: hidden;
background: var(--bg-card);
}
#dashboard ul.list-group.list-group-striped li {
border: none;
overflow-wrap: anywhere;
font-size: var(--font-size-sm);
font-weight: var(--font-weight-normal);
padding: 10px 18px;
color: var(--text-primary);
transition: background 0.2s ease;
}
#dashboard ul.list-group.list-group-striped li:first-child {
background: var(--bg-card);
color: var(--text-primary);
padding: 14px 18px;
border-bottom: 1px solid var(--border-color);
}
#dashboard ul.list-group.list-group-striped li:first-child h4 {
color: var(--text-primary);
font-size: var(--font-size-sm);
font-weight: var(--font-weight-bold);
text-transform: uppercase;
letter-spacing: 0.6px;
margin: 0;
}
#dashboard ul.list-group.list-group-striped li:nth-of-type(even):not(:first-child) {
background: var(--bg-light);
}
#dashboard ul.list-group.list-group-striped li:hover:not(:first-child) {
background: var(--primary-blue-hover-bg);
}
#dashboard ul.list-group.list-group-striped li .notification-date {
color: var(--text-secondary);
font-size: var(--font-size-xs);
margin-top: 2px;
display: block;
}
#dashboard div.quick-links-icons {
font-size: 2.5em;
width: 100%;
}
#dashboard a.quick-links {
color: var(--text-secondary);
transition: all 0.2s ease;
}
#dashboard a.quick-links:hover {
text-decoration: none;
color: var(--primary-blue);
transform: translateY(-2px);
}
/*
DASHBOARD METRIC CARDS
*/
.card.metric-card {
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
height: 100%;
background: var(--bg-card);
box-shadow: none;
}
.card.metric-card .card-body > .d-flex {
padding-bottom: 12px;
border-bottom: 1px solid var(--border-color);
}
.metric-card .card-body {
padding: 22px;
}
.metric-card .card-title {
font-size: var(--font-size-sm);
font-weight: var(--font-weight-bold);
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.6px;
margin: 0;
}
.metric-value {
font-size: var(--font-size-2xl);
font-weight: var(--font-weight-bold);
color: var(--text-primary);
line-height: 1.2;
margin-bottom: 4px;
}
.metric-label {
font-size: var(--font-size-xs);
color: var(--text-muted);
font-weight: var(--font-weight-medium);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.metric-card-list {
max-height: 300px;
overflow-y: auto;
}
/*
DASHBOARD ANALYTICS SECTION
*/
.analytics-section {
padding: 22px;
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
background: var(--bg-card);
}
#dashboard .analytics-section ul.list-group.list-group-striped {
border: none;
border-radius: 0;
background: transparent;
}
#dashboard .analytics-section ul.list-group.list-group-striped li:first-child {
padding: 0 0 12px 0;
background: transparent;
border-bottom: 1px solid var(--border-color);
}
/*
ALERT
*/
#alert {
display: none;
position: fixed;
text-align: center;
border-radius: var(--radius-md);
border: 0;
z-index: 1000;
bottom: 20px;
right: 20px;
margin: 0;
font-size: var(--font-size-base);
padding: 16px 24px;
}
.alert-success {
background: var(--primary-gradient);
border-left: none !important;
color: #ffffff;
}
.alert-danger {
background: var(--color-danger);
border-left: none !important;
color: #ffffff;
}
/*
PLUGINS
*/
.plugin-form label {
display: block;
margin-top: 1rem !important;
}
.plugin-form input[type="text"],
.plugin-form textarea,
.plugin-form select {
display: block;
width: 100%;
padding: 8px 12px;
font-size: var(--font-size-base);
line-height: 1.5;
color: var(--text-primary);
background-color: var(--bg-card);
background-clip: padding-box;
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
transition: border-color .15s ease-in-out;
}
.plugin-form textarea {
min-height: 120px;
}
.plugin-form span.tip {
display: block;
font-size: 80%;
font-weight: 400;
margin-top: .25rem;
color: #6c757d !important;
}
/*
Manage > Content
*/
td.child {
padding-left: 30px;
}
/* Truncate the URL column with ellipsis when it doesn't fit. */
td.contentURL a {
display: inline-block;
max-width: 30em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
}
/* Kebab actions dropdown */
.actionsDropdownToggle {
line-height: 1;
font-size: 1.25rem;
}
.actionsDropdownToggle:focus,
.actionsDropdownToggle:hover {
text-decoration: none;
color: var(--text-primary, #1E293B);
}
.actionsDropdownToggle:focus-visible {
outline: 2px solid var(--primary-blue);
outline-offset: 2px;
}
.actionsDropdown .dropdown-item i.fa {
width: 1.25em;
text-align: center;
}
/*
Manage > New Content
*/
#jseditor {
background: #fff;
padding: 10px 5% !important;
font-size: 16px;
line-height: 1.5em;
border: 1px solid #ced4da;
}
#jseditorSidebar {
display: none;
height: calc(100% - 45px);
width: 50%;
max-width: 350px;
position: absolute;
z-index: 50;
top: 45px;
right: 15px;
background-color: #fff;
overflow-x: hidden;
transition: 0.5s;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
}
@media (max-width: 575.98px) {
#jseditorSidebar {
width: 100%;
max-width: 100%;
right: 0;
}
#jseditorToolbarRight button {
font-size: 0px !important;
}
#jseditorToolbarRight button span {
font-size: 16px !important;
}
.contentTools .btn {
font-size: 0px !important;
margin-right: 5px;
}
.contentTools .btn span {
font-size: 16px !important;
}
}
#jseditorSidebar nav {
background: #f3f3f3;
}
#jseditorSidebar nav a {
color: #000;
}
#jseditorSidebar .nav-tabs .nav-link {
border: none;
}
#jseditorSidebar .nav-link.active {
background: none;
border: none;
border-bottom: 3px solid #ccc;
}
#jsshadow {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(72, 72, 72, 0.7);
z-index: 10;
display: none;
}
img.profilePicture {
width: 30px;
height: 30px;
border-radius: 4px;
border: 1px solid #ccc;
}
/* Switch button */
.switch-button {
font-size: 0.9em;
text-transform: uppercase;
cursor: pointer;
}
.switch-icon-publish {
color: #1cb11c;
}
/* Subtle focus style for form elements */
input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.custom-select:focus,
.btn:focus {
border-color: #b0bec5 !important;
box-shadow: none !important;
outline: none !important;
}