5138 lines
102 KiB
CSS
5138 lines
102 KiB
CSS
/* Error pages */
|
|
|
|
.error-page-content {
|
|
width: 100%;
|
|
max-width: 52rem;
|
|
}
|
|
|
|
/* Media picker and gallery */
|
|
|
|
.media-picker-item {
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: .375rem;
|
|
background: var(--bs-body-bg);
|
|
padding: .5rem;
|
|
color: inherit;
|
|
}
|
|
|
|
.media-picker-item:hover,
|
|
.media-picker-item:focus-visible {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .2);
|
|
}
|
|
|
|
.media-picker-item-preview {
|
|
display: block;
|
|
aspect-ratio: 16 / 9;
|
|
background: var(--bs-tertiary-bg);
|
|
margin-bottom: .5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.media-picker-item-preview img,
|
|
.media-picker-item-preview video {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.media-gallery-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.media-gallery-count {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.media-gallery-search {
|
|
width: min(100%, 52rem);
|
|
}
|
|
|
|
.media-gallery-controls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: .75rem;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.media-gallery-controls {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.media-gallery-search {
|
|
width: auto;
|
|
flex: 0 1 auto;
|
|
flex-wrap: nowrap !important;
|
|
min-width: 0;
|
|
}
|
|
|
|
.media-gallery-search .input-group {
|
|
min-width: 10rem;
|
|
width: 28rem;
|
|
max-width: 28rem;
|
|
}
|
|
}
|
|
|
|
.media-gallery-search .input-group {
|
|
min-width: 15rem;
|
|
flex: 1 1 18rem;
|
|
}
|
|
|
|
.media-gallery-search .form-select {
|
|
flex: 0 1 9rem;
|
|
}
|
|
|
|
.media-gallery-card {
|
|
position: relative;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: .375rem;
|
|
background: var(--bs-body-bg);
|
|
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .04);
|
|
}
|
|
|
|
.media-gallery-card-selected {
|
|
border-color: var(--bs-primary);
|
|
background: var(--bs-primary-bg-subtle);
|
|
outline: 3px solid rgba(var(--bs-primary-rgb), .3);
|
|
outline-offset: -3px;
|
|
}
|
|
|
|
.media-gallery-card-selected::after {
|
|
position: absolute;
|
|
top: .65rem;
|
|
right: .65rem;
|
|
z-index: 2;
|
|
padding: .25rem .5rem;
|
|
border-radius: .25rem;
|
|
background: var(--bs-primary);
|
|
color: var(--bs-white);
|
|
content: 'Selected';
|
|
font-size: .75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.media-gallery-card-selection-disabled {
|
|
opacity: .72;
|
|
}
|
|
|
|
.media-gallery-card-selection-disabled::before {
|
|
position: absolute;
|
|
top: .65rem;
|
|
left: .65rem;
|
|
z-index: 2;
|
|
padding: .25rem .5rem;
|
|
border-radius: .25rem;
|
|
background: var(--bs-secondary);
|
|
color: var(--bs-white);
|
|
content: 'In use';
|
|
font-size: .75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.media-gallery-selection-mode .media-gallery-card.media-gallery-card-selection-disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.media-gallery-selection-mode .media-gallery-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.media-gallery-preview {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
aspect-ratio: 4 / 3;
|
|
overflow: hidden;
|
|
background: var(--bs-tertiary-bg);
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.media-gallery-preview img,
|
|
.media-gallery-preview video {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.media-gallery-preview:focus-visible {
|
|
outline: .2rem solid var(--bs-primary);
|
|
outline-offset: -.2rem;
|
|
}
|
|
|
|
.media-gallery-type {
|
|
position: absolute;
|
|
top: .75rem;
|
|
left: .75rem;
|
|
padding: .2rem .45rem;
|
|
border-radius: .25rem;
|
|
background: rgba(0, 0, 0, .65);
|
|
color: #fff;
|
|
font-size: .7rem;
|
|
font-weight: 700;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.media-gallery-play {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #fff;
|
|
font-size: 2.5rem;
|
|
text-shadow: 0 .1rem .35rem rgba(0, 0, 0, .55);
|
|
}
|
|
|
|
.media-gallery-details {
|
|
position: relative;
|
|
padding: .6rem .75rem .75rem;
|
|
}
|
|
|
|
.media-gallery-name {
|
|
min-width: 0;
|
|
min-height: 1.425rem;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-size: .95rem;
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
line-height: 1.425rem;
|
|
}
|
|
|
|
.media-gallery-header {
|
|
display: block;
|
|
min-width: 0;
|
|
padding-right: 2.75rem;
|
|
}
|
|
|
|
.media-gallery-action {
|
|
position: absolute;
|
|
right: .75rem;
|
|
bottom: .75rem;
|
|
}
|
|
|
|
.media-gallery-action button {
|
|
display: block;
|
|
}
|
|
|
|
.media-gallery-meta {
|
|
color: var(--bs-secondary-color);
|
|
font-size: .8rem;
|
|
}
|
|
|
|
.media-gallery-empty {
|
|
padding: 3rem 1rem;
|
|
border: 1px dashed var(--bs-border-color);
|
|
border-radius: .375rem;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.media-gallery-controls {
|
|
width: 100%;
|
|
}
|
|
|
|
.media-gallery-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.media-gallery-search .input-group,
|
|
.media-gallery-search .form-select {
|
|
flex-basis: 100%;
|
|
}
|
|
}
|
|
|
|
.media-gallery-preview-modal-body {
|
|
display: grid;
|
|
min-height: min(70vh, 42rem);
|
|
place-items: center;
|
|
background: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.media-gallery-preview-modal-body img,
|
|
.media-gallery-preview-modal-body video {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: min(72vh, 48rem);
|
|
object-fit: contain;
|
|
}
|
|
/* Connection status indicators */
|
|
|
|
.status-dot {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 0.75rem;
|
|
height: 0.75rem;
|
|
border-radius: 999px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.status-dot--online {
|
|
background: #28a745;
|
|
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.2);
|
|
}
|
|
|
|
.status-dot--idle {
|
|
background: #0d6efd;
|
|
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
|
|
}
|
|
|
|
.status-dot--offline {
|
|
background: #dc3545;
|
|
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.2);
|
|
}
|
|
|
|
.status-dot--unknown {
|
|
background: #adb5bd;
|
|
box-shadow: 0 0 0 0.2rem rgba(173, 181, 189, 0.18);
|
|
}
|
|
|
|
/* Account menu */
|
|
|
|
.user-menu-avatar {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, #0d6efd, #6610f2);
|
|
color: #fff;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.user-menu-avatar--lg {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.user-menu-name {
|
|
line-height: 1;
|
|
}
|
|
|
|
.user-menu-dropdown .user-header {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.user-menu-dropdown .user-header p {
|
|
margin: 0.75rem 0 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.user-menu-dropdown .user-header small {
|
|
display: table;
|
|
margin-top: 0.25rem;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.user-menu-dropdown .user-footer {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem 1rem;
|
|
}
|
|
|
|
.user-menu-dropdown .user-footer .btn {
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
/* Application shell and sidebar */
|
|
|
|
.app-header .navbar-nav {
|
|
--bs-navbar-nav-link-padding-x: 10px;
|
|
}
|
|
|
|
.app-header {
|
|
top: 0;
|
|
z-index: 1030;
|
|
}
|
|
|
|
.app-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar-wrapper {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.min-h-0 {
|
|
min-height: 0;
|
|
}
|
|
|
|
.min-w-0 {
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-brand .brand-text.fw-light {
|
|
margin: 0;
|
|
}
|
|
|
|
.sidebar-version {
|
|
font-size: 0.8rem;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.sidebar-version__inner {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Application settings */
|
|
|
|
.settings-nav-card {
|
|
position: sticky;
|
|
top: 1rem;
|
|
}
|
|
|
|
.settings-section-card h4.text-uppercase {
|
|
color: var(--bs-emphasis-color) !important;
|
|
font-size: 0.86rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.settings-audit-retention-input {
|
|
max-width: 18rem;
|
|
}
|
|
|
|
.settings-audit-category-label {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.settings-nav-card {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
/* Cards, authentication and email previews */
|
|
|
|
.card {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.login-card {
|
|
border-radius: var(--bs-border-radius-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-card .login-box-msg {
|
|
margin: 0 0 1.25rem;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.login-card .form-label {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.login-card .input-group-text {
|
|
min-width: 2.75rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-or-divider {
|
|
align-items: center;
|
|
color: var(--bs-secondary-color);
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: center;
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
.login-or-divider::before,
|
|
.login-or-divider::after {
|
|
background: var(--bs-border-color);
|
|
content: "";
|
|
flex: 1;
|
|
height: 1px;
|
|
}
|
|
|
|
@media (max-width: 359.98px) {
|
|
.login-card [data-login-actions] {
|
|
align-items: flex-start !important;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.login-card [data-login-submit] {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.email-verified-card {
|
|
max-width: 26rem;
|
|
}
|
|
|
|
.email-verified-card__header {
|
|
align-items: center;
|
|
background: #111827;
|
|
color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 1.75rem 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-verified-card__icon {
|
|
align-items: center;
|
|
background: #198754;
|
|
border: 4px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
font-size: 1.75rem;
|
|
height: 4rem;
|
|
justify-content: center;
|
|
width: 4rem;
|
|
}
|
|
|
|
.email-verification-error-card {
|
|
max-width: 26rem;
|
|
}
|
|
|
|
.email-verification-error-card__header {
|
|
align-items: center;
|
|
background: #111827;
|
|
color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 1.75rem 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-verification-error-card__icon {
|
|
align-items: center;
|
|
background: #dc3545;
|
|
border: 4px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
font-size: 1.75rem;
|
|
height: 4rem;
|
|
justify-content: center;
|
|
width: 4rem;
|
|
}
|
|
|
|
.email-template-preview {
|
|
background: #f4f4f5;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.email-template-preview__shell {
|
|
background: #fff;
|
|
border-radius: 0.25rem;
|
|
color: #27364b;
|
|
min-height: 220px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.email-template-preview__brand {
|
|
color: #111827;
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.25rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-template-preview__message p {
|
|
margin-bottom: 0.75rem;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.email-template-preview__button-wrap {
|
|
margin-top: 1.25rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-template-preview__button {
|
|
background: #111827;
|
|
border-radius: 0.25rem;
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-weight: 600;
|
|
padding: 0.65rem 1.1rem;
|
|
}
|
|
|
|
/* Shared card headers and search controls */
|
|
|
|
.card-header {
|
|
position: relative;
|
|
}
|
|
|
|
.card-header .card-tools > .btn,
|
|
.card-header .card-tools > a.btn {
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.card-header .card-tools .input-group {
|
|
flex: 1 1 11rem;
|
|
min-width: 8rem;
|
|
max-width: 14rem;
|
|
}
|
|
|
|
[data-table-search-container] > .card-header:has(> .card-tools) {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
[data-table-search-container] > .card-header:has(> .card-tools) > .card-tools {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* Template animation preview controls */
|
|
|
|
.template-preview-card .card-body {
|
|
gap: 0.75rem 1rem;
|
|
}
|
|
|
|
.template-preview-card.is-previewing {
|
|
border-color: rgba(var(--bs-primary-rgb), 0.45);
|
|
}
|
|
|
|
.template-preview-card.is-previewing .card-title {
|
|
position: relative;
|
|
padding-right: 6.25rem;
|
|
}
|
|
|
|
.template-preview-card.is-previewing .card-title::after {
|
|
content: ' previewing';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: calc(100% + 0.35rem);
|
|
color: var(--bs-primary);
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
white-space: nowrap;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.template-preview-card .btn-group {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Audit log change details */
|
|
|
|
.audit-change-summary {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
min-width: 12rem;
|
|
}
|
|
.audit-change-paths {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
align-items: baseline;
|
|
}
|
|
.audit-change-path {
|
|
font-size: 0.72rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.audit-diff-changes {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
.audit-diff-change {
|
|
min-width: 0;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
}
|
|
.audit-diff-path {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.audit-diff-pair {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
.audit-diff-column {
|
|
min-width: 0;
|
|
}
|
|
.audit-diff-label {
|
|
margin-bottom: 0.25rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
.audit-diff-pane {
|
|
max-height: 24rem;
|
|
min-height: 8rem;
|
|
margin: 0;
|
|
overflow: auto;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.25rem;
|
|
background: var(--bs-tertiary-bg);
|
|
color: var(--bs-body-color);
|
|
font-size: 0.8rem;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
}
|
|
.audit-diff-removed {
|
|
background: var(--bs-danger-bg-subtle);
|
|
color: var(--bs-danger-text-emphasis);
|
|
text-decoration: line-through;
|
|
}
|
|
.audit-diff-added {
|
|
background: var(--bs-success-bg-subtle);
|
|
color: var(--bs-success-text-emphasis);
|
|
text-decoration: none;
|
|
}
|
|
@media (max-width: 767.98px) {
|
|
.audit-diff-pair {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
/* Template preview states and permission tables */
|
|
|
|
.template-preview-card .btn-group .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.template-preview-card[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.template-designer-form--previewing .designer-stage {
|
|
box-shadow: none !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-designer-form--previewing .designer-overlay {
|
|
cursor: progress;
|
|
}
|
|
|
|
.template-designer-form--previewing .designer-rect {
|
|
transition: none !important;
|
|
}
|
|
|
|
.template-designer-form--previewing .resize-handle {
|
|
display: none;
|
|
}
|
|
|
|
.template-designer-form--previewing .region-item,
|
|
.template-designer-form--previewing .template-details-card,
|
|
.template-designer-form--previewing .template-options-card,
|
|
.template-designer-form--previewing .region-info-card {
|
|
opacity: 0.84;
|
|
}
|
|
|
|
.rbac-permissions-table tbody tr:last-child > * {
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
.rbac-permissions-table > thead > tr > * {
|
|
background-color: var(--bs-tertiary-bg) !important;
|
|
color: var(--bs-emphasis-color) !important;
|
|
border-bottom-color: var(--bs-border-color) !important;
|
|
}
|
|
|
|
.template-designer-form--previewing .region-item [disabled],
|
|
.template-designer-form--previewing .template-details-card [disabled],
|
|
.template-designer-form--previewing .template-options-card [disabled],
|
|
.template-designer-form--previewing .region-info-card [disabled] {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Announcement icon, type and screen pickers */
|
|
|
|
.announcement-icon-picker {
|
|
position: relative;
|
|
}
|
|
|
|
.announcement-type-picker {
|
|
position: relative;
|
|
}
|
|
|
|
.announcement-icon-picker__toggle,
|
|
.announcement-type-picker__toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
width: 100%;
|
|
min-height: calc(2.375rem + 2px);
|
|
padding: 0.375rem 0.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.875rem;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
text-align: left;
|
|
}
|
|
|
|
.announcement-icon-picker__toggle:focus-visible,
|
|
.announcement-type-picker__toggle:focus-visible {
|
|
outline: 0;
|
|
box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
|
|
}
|
|
|
|
.announcement-icon-picker__toggle-icon,
|
|
.announcement-type-picker__toggle-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border-radius: 0.7rem;
|
|
background: rgba(var(--bs-primary-rgb), 0.1);
|
|
color: var(--bs-primary);
|
|
font-size: 1rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.announcement-icon-picker__toggle-content,
|
|
.announcement-type-picker__toggle-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.announcement-icon-picker__toggle-label,
|
|
.announcement-type-picker__toggle-label {
|
|
font-weight: 600;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.announcement-icon-picker__toggle-hint,
|
|
.announcement-type-picker__toggle-hint {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.78rem;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.announcement-icon-picker__caret,
|
|
.announcement-type-picker__caret {
|
|
flex: 0 0 auto;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.announcement-icon-picker__menu,
|
|
.announcement-type-picker__menu {
|
|
position: absolute;
|
|
z-index: 20;
|
|
top: calc(100% + 0.5rem);
|
|
bottom: auto;
|
|
left: 0;
|
|
width: min(100%, 28rem);
|
|
max-width: calc(100vw - 1rem);
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 1rem;
|
|
background: var(--bs-body-bg);
|
|
box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18);
|
|
}
|
|
|
|
.announcement-icon-picker__menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
max-height: min(32rem, calc(100vh - 3rem));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.announcement-type-picker__menu.is-open-above,
|
|
.announcement-icon-picker__menu.is-open-above {
|
|
top: auto;
|
|
bottom: calc(100% + 0.5rem);
|
|
}
|
|
|
|
.announcement-icon-picker__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.announcement-icon-picker__search {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.announcement-icon-picker__search .input-group-text {
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.announcement-icon-picker__section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.announcement-icon-picker__section-count {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
.announcement-icon-picker__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(2.75rem, 1fr));
|
|
gap: 0.5rem;
|
|
align-content: start;
|
|
}
|
|
|
|
.announcement-icon-picker__search-empty {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.announcement-type-picker__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.announcement-icon-picker__option,
|
|
.announcement-type-picker__option,
|
|
.announcement-screen-chip,
|
|
.announcement-color-picker__option {
|
|
transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
|
|
}
|
|
|
|
.announcement-icon-picker__option {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.75rem;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.announcement-type-picker__option,
|
|
.announcement-color-picker__option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.75rem;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
text-align: left;
|
|
}
|
|
|
|
.announcement-type-picker__option {
|
|
gap: 0.5rem;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.announcement-icon-picker__option:hover,
|
|
.announcement-icon-picker__option:focus-visible,
|
|
.announcement-type-picker__option:hover,
|
|
.announcement-type-picker__option:focus-visible,
|
|
.announcement-screen-chip:hover,
|
|
.announcement-screen-chip:focus-visible,
|
|
.announcement-color-picker__option:hover,
|
|
.announcement-color-picker__option:focus-visible {
|
|
border-color: rgba(var(--bs-primary-rgb), 0.7);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.announcement-icon-picker__option:hover,
|
|
.announcement-icon-picker__option:focus-visible,
|
|
.announcement-type-picker__option:hover,
|
|
.announcement-type-picker__option:focus-visible {
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.15);
|
|
}
|
|
|
|
.announcement-icon-picker__option:hover,
|
|
.announcement-icon-picker__option:focus-visible {
|
|
background: rgba(var(--bs-primary-rgb), 0.08);
|
|
}
|
|
|
|
.announcement-type-picker__option:hover,
|
|
.announcement-type-picker__option:focus-visible {
|
|
background: rgba(var(--bs-primary-rgb), 0.04);
|
|
}
|
|
|
|
.announcement-icon-picker__option.is-selected,
|
|
.announcement-type-picker__option.is-selected {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.12);
|
|
}
|
|
|
|
.announcement-icon-picker__option.is-selected {
|
|
background: rgba(var(--bs-primary-rgb), 0.12);
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.announcement-icon-picker__option i {
|
|
font-size: 1.05rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.announcement-type-picker__option-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 2.5rem;
|
|
border-radius: 0.65rem;
|
|
background: rgba(var(--bs-primary-rgb), 0.1);
|
|
color: var(--bs-primary);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.announcement-type-picker__option-icon i {
|
|
line-height: 1;
|
|
}
|
|
|
|
.announcement-type-picker__label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
line-height: 1.1;
|
|
text-align: center;
|
|
}
|
|
|
|
.announcement-screen-picker {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 0.5rem;
|
|
max-height: 18rem;
|
|
padding: 0.25rem;
|
|
overflow: auto;
|
|
}
|
|
|
|
.announcement-screen-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.announcement-screen-action {
|
|
flex: 1 1 9rem;
|
|
}
|
|
|
|
.announcement-screen-option {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.announcement-screen-option > .btn-check {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.announcement-screen-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
min-height: 2.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.875rem;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.announcement-screen-chip:hover,
|
|
.announcement-screen-chip:focus-visible {
|
|
background: rgba(var(--bs-primary-rgb), 0.04);
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.12);
|
|
}
|
|
|
|
.announcement-screen-option > .btn-check:checked + .announcement-screen-chip {
|
|
border-color: var(--bs-primary);
|
|
background: rgba(var(--bs-primary-rgb), 0.08);
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.12);
|
|
}
|
|
|
|
.announcement-screen-chip__check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 999px;
|
|
background: rgba(var(--bs-primary-rgb), 0.1);
|
|
color: var(--bs-primary);
|
|
opacity: 0;
|
|
transform: scale(0.85);
|
|
transition: opacity 120ms ease, transform 120ms ease, background-color 120ms ease, color 120ms ease;
|
|
}
|
|
|
|
.announcement-screen-chip__check-icon {
|
|
font-size: 0.9rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.announcement-screen-option > .btn-check:checked + .announcement-screen-chip .announcement-screen-chip__check {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.announcement-screen-chip__text {
|
|
display: block;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.announcement-screen-picker {
|
|
max-height: 16rem;
|
|
}
|
|
|
|
.announcement-type-picker__menu,
|
|
.announcement-icon-picker__menu {
|
|
width: calc(100vw - 2rem);
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
.announcement-type-picker__grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
|
|
}
|
|
|
|
.announcement-icon-picker__grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(2.5rem, 1fr));
|
|
}
|
|
}
|
|
|
|
/* Background task controls */
|
|
|
|
.background-tasks-task-tools {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.background-tasks-task-search {
|
|
flex: 0 1 12rem;
|
|
min-width: 9rem;
|
|
max-width: 12rem;
|
|
}
|
|
|
|
.background-tasks-page {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Paginated page layout */
|
|
|
|
.table-pagination-page .app-main {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.table-pagination-page .app-content {
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.table-pagination-page .app-content .container-fluid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
/* Background task page layout */
|
|
|
|
.background-tasks-page .app-content .container-fluid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.background-tasks-page .app-main {
|
|
height: 100%;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.background-tasks-page .app-content {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Media library page layout */
|
|
|
|
.media-library-page {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.media-library-page .app-wrapper {
|
|
height: 100vh;
|
|
}
|
|
|
|
.media-library-page .app-main {
|
|
padding-bottom: 0;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.media-library-page .app-content {
|
|
flex: 1 1 0;
|
|
height: auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.media-library-page .app-content .container-fluid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.media-library-page .media-gallery {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* Shared table pagination and responsive search */
|
|
|
|
[data-table-pagination-card] {
|
|
display: flex;
|
|
flex: 0 1 auto;
|
|
flex-direction: column;
|
|
min-height: var(--table-pagination-card-min-height, 0);
|
|
max-height: var(--table-pagination-card-max-height, var(--background-tasks-task-card-max-height, calc(100dvh - 12rem)));
|
|
overflow: hidden;
|
|
}
|
|
|
|
[data-table-pagination-card] > .card-body.table-responsive {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
[data-table-pagination-card] > .card-header {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
[data-table-pagination-card] > .card-footer {
|
|
margin-top: auto;
|
|
background: var(--bs-body-bg);
|
|
border-top: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.table-search-group .input-group-text[data-table-search-toggle] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
[data-table-search-container] > .card-header > .card-tools,
|
|
[data-table-search-container] > .card-header > .background-tasks-task-tools,
|
|
[data-table-search-container] > .card-header > .background-tasks-recurring-tools {
|
|
position: relative;
|
|
width: auto;
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
[data-table-search-container] > .card-header > .card-tools .table-search-group,
|
|
[data-table-search-container] > .card-header > .background-tasks-task-tools .table-search-group,
|
|
[data-table-search-container] > .card-header > .background-tasks-recurring-tools .table-search-group {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: var(--table-search-action-offset, 0px);
|
|
z-index: 2;
|
|
transform: translateY(-50%);
|
|
flex: 0 0 2.25rem;
|
|
height: 100%;
|
|
margin: 0 !important;
|
|
min-width: 0 !important;
|
|
width: 2.25rem !important;
|
|
max-width: 2.25rem;
|
|
overflow: hidden;
|
|
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius);
|
|
background: var(--bs-tertiary-bg);
|
|
transition: width 160ms ease;
|
|
}
|
|
|
|
[data-table-search-container] .table-search-group .input-group-text[data-table-search-toggle] {
|
|
flex: 1 0 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: 0;
|
|
color: var(--bs-body-color);
|
|
background: transparent;
|
|
}
|
|
|
|
[data-table-search-container] > .card-header > .card-tools .table-search-group:focus-within,
|
|
[data-table-search-container] > .card-header > .background-tasks-task-tools .table-search-group:focus-within,
|
|
[data-table-search-container] > .card-header > .background-tasks-recurring-tools .table-search-group:focus-within {
|
|
flex: 1 1 auto;
|
|
width: min(14rem, calc(100vw - 6rem)) !important;
|
|
height: auto;
|
|
max-width: none;
|
|
overflow: visible;
|
|
border-color: var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius-sm);
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
[data-table-search-container] .table-search-group input {
|
|
min-width: 0;
|
|
width: 0;
|
|
flex: 0 0 0;
|
|
padding: 0 !important;
|
|
border: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
[data-table-search-container] .table-search-group:focus-within input {
|
|
width: auto;
|
|
flex: 1 1 auto;
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.5rem;
|
|
border-left: var(--bs-border-width) solid var(--bs-border-color);
|
|
opacity: 1;
|
|
}
|
|
|
|
[data-table-search-container] .table-search-group:focus-within .input-group-text[data-table-search-toggle] {
|
|
flex: 0 0 auto;
|
|
width: auto;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
[data-table-search-container] .table-action-context {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Device onboarding, pairing PIN and QR scanner */
|
|
|
|
.onboarding-pairing-card > .card-header {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.onboarding-pairing-card .card-body {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.onboarding-pairing-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.onboarding-pairing-card > .card-footer {
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
.onboarding-pin-inputs {
|
|
display: flex;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.onboarding-pin-inputs .form-control {
|
|
flex: 1 1 0;
|
|
width: auto;
|
|
min-width: 0;
|
|
max-width: 3.5rem;
|
|
height: 3.5rem;
|
|
padding: 0.25rem;
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.onboarding-pin-inputs .form-control + .form-control {
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.onboarding-pin-inputs .form-control:first-child {
|
|
border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
|
|
}
|
|
|
|
.onboarding-pin-inputs .form-control:last-child {
|
|
border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
|
|
}
|
|
|
|
.onboarding-pin-inputs .form-control:focus {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.onboarding-scanner {
|
|
position: fixed;
|
|
z-index: 1050;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 1rem;
|
|
background: rgba(0, 0, 0, 0.68);
|
|
}
|
|
|
|
.onboarding-scanner-panel {
|
|
width: min(100%, 32rem);
|
|
padding: 1rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius-lg);
|
|
background: var(--bs-body-bg);
|
|
box-shadow: var(--bs-box-shadow-lg);
|
|
}
|
|
|
|
.onboarding-scanner-video {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
object-fit: cover;
|
|
border-radius: var(--bs-border-radius);
|
|
background: #000;
|
|
}
|
|
|
|
/* Timetable entry tables */
|
|
|
|
.timetable-entries-table-shell {
|
|
overflow: hidden;
|
|
border-bottom-left-radius: calc(var(--bs-border-radius) - 1px);
|
|
border-bottom-right-radius: calc(var(--bs-border-radius) - 1px);
|
|
}
|
|
|
|
.timetable-entries-table-shell > .table-responsive {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.timetable-entries-table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.timetable-entries-table > thead > tr:first-child > * {
|
|
border-top-width: 0;
|
|
}
|
|
|
|
.timetable-entries-table > :not(caption) > * > :first-child {
|
|
border-left-width: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.timetable-entries-table > :not(caption) > * > :last-child {
|
|
border-right-width: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.timetable-entries-table > tbody > tr:last-child > * {
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
/* Dashboard and connected screen controls */
|
|
|
|
.dashboard-hero {
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(32, 201, 151, 0.08));
|
|
}
|
|
|
|
.dashboard-hero-body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.dashboard-hero-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.3rem 0.65rem;
|
|
border-radius: 999px;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-primary);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.dashboard-hero-title {
|
|
margin: 0.75rem 0 0;
|
|
font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.dashboard-hero-copy {
|
|
margin: 0.75rem 0 0;
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.dashboard-hero-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
min-width: min(100%, 22rem);
|
|
}
|
|
|
|
.dashboard-hero-stat {
|
|
display: grid;
|
|
gap: 0.15rem;
|
|
min-width: 0;
|
|
padding: 0.85rem 1rem;
|
|
border-radius: 1rem;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.dashboard-hero-stat-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.dashboard-hero-stat-label {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.8rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dashboard-actions-card .card-header,
|
|
.dashboard-screen-card-shell .card-header {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.dashboard-card-heading {
|
|
display: grid;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.dashboard-card-heading .card-title {
|
|
float: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-card-subtitle {
|
|
margin: 0;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.dashboard-action-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dashboard-action-form {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-action-button {
|
|
justify-content: center;
|
|
}
|
|
|
|
.dashboard-action-help {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.dashboard-launcher-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
align-items: flex-end;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dashboard-launcher-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dashboard-launcher-copy {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-confirmation {
|
|
background: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-confirmation .form-check.form-switch {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-confirmation .form-check-input {
|
|
float: none;
|
|
margin: 0;
|
|
transform: scale(0.92);
|
|
transform-origin: left center;
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-confirmation .form-check-label {
|
|
letter-spacing: 0.01em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.dashboard-launcher-open-button {
|
|
min-width: 5rem;
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-download {
|
|
text-align: left;
|
|
}
|
|
|
|
.dashboard-kiosk-launcher-download.disabled,
|
|
.dashboard-kiosk-launcher-download[aria-disabled='true'] {
|
|
pointer-events: none;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.screen-command-card .card-header {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.screen-command-panel {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(12rem, 0.7fr);
|
|
gap: 1rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.screen-command-panel-pairing-only {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.screen-command-panel-left {
|
|
display: grid;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.screen-command-panel-right {
|
|
display: grid;
|
|
align-content: start;
|
|
padding: 0.9rem 1rem;
|
|
border-left: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.screen-command-selector-field {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.screen-command-selector-label {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.screen-command-summary {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
align-content: start;
|
|
min-width: 0;
|
|
}
|
|
|
|
.screen-command-summary strong {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.screen-command-summary-meta {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.screen-command-pairing {
|
|
display: grid;
|
|
gap: 0.65rem;
|
|
align-content: start;
|
|
padding: 0.9rem 0 0.9rem 1rem;
|
|
border-left: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.screen-command-pairing > div {
|
|
display: grid;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.screen-command-pairing .btn {
|
|
justify-self: start;
|
|
}
|
|
|
|
.screen-command-panel-pairing-only .screen-command-pairing {
|
|
padding-left: 0;
|
|
border-left: 0;
|
|
}
|
|
|
|
.screen-command-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
width: fit-content;
|
|
padding: 0.35rem 0.7rem;
|
|
border-radius: 999px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.screen-command-pill.is-live {
|
|
background: rgba(13, 110, 253, 0.12);
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.screen-command-pill.is-idle {
|
|
background: rgba(108, 117, 125, 0.12);
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.screen-command-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.screen-command-actions .btn {
|
|
min-width: 8.75rem;
|
|
}
|
|
|
|
.screen-command-actions .inline-form {
|
|
margin: 0;
|
|
}
|
|
|
|
.clients-mobile-clients {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.clients-page-header p {
|
|
display: none;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-panel-right {
|
|
display: none;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-pairing {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-pairing > div {
|
|
display: none;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-pairing .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.clients-screen-command-card .screen-command-actions .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.clients-client-table-card {
|
|
display: none;
|
|
}
|
|
|
|
.clients-mobile-clients {
|
|
display: block;
|
|
}
|
|
|
|
.clients-mobile-client-tools {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.65rem;
|
|
}
|
|
|
|
.clients-mobile-client-tools > div:first-child {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.clients-mobile-client-tools h3 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
line-height: 1.15;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.clients-mobile-client-search {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
width: 2.25rem;
|
|
min-width: 0;
|
|
height: 2.25rem;
|
|
overflow: hidden;
|
|
transform: translateY(-50%);
|
|
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius);
|
|
background: var(--bs-tertiary-bg);
|
|
transition: width 160ms ease;
|
|
}
|
|
|
|
.clients-mobile-client-search:focus-within {
|
|
left: 0;
|
|
width: auto;
|
|
overflow: visible;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.clients-mobile-client-search label {
|
|
display: none;
|
|
}
|
|
|
|
.clients-mobile-client-search .input-group-text {
|
|
flex: 1 0 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: 0;
|
|
color: var(--bs-body-color);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.clients-mobile-client-search:focus-within .input-group-text {
|
|
flex: 0 0 auto;
|
|
width: auto;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.clients-mobile-client-search input {
|
|
min-width: 0;
|
|
width: 0;
|
|
flex: 0 0 0;
|
|
padding: 0 !important;
|
|
border: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.clients-mobile-client-search:focus-within input {
|
|
width: auto;
|
|
flex: 1 1 auto;
|
|
padding-right: 0.5rem !important;
|
|
padding-left: 0.5rem !important;
|
|
border-left: var(--bs-border-width) solid var(--bs-border-color);
|
|
opacity: 1;
|
|
}
|
|
|
|
.clients-mobile-client {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.clients-mobile-client-header {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.clients-mobile-client-header h4 {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.clients-mobile-client-details {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.75rem;
|
|
margin: 0.9rem 0;
|
|
padding: 0.75rem 0;
|
|
border-top: 1px solid var(--bs-border-color);
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.clients-mobile-client-details small {
|
|
display: block;
|
|
margin-bottom: 0.2rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.clients-mobile-client-details strong {
|
|
display: -webkit-box;
|
|
min-height: 2.5em;
|
|
overflow: hidden;
|
|
overflow-wrap: anywhere;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25;
|
|
line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.clients-mobile-client-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.clients-mobile-client-actions .wide {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.clients-mobile-client-actions .btn {
|
|
width: 100%;
|
|
min-height: 2.4rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.screen-command-panel {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.screen-command-panel-right {
|
|
padding: 0;
|
|
border-left: 0;
|
|
}
|
|
|
|
.screen-command-pairing {
|
|
padding: 0;
|
|
border-left: 0;
|
|
}
|
|
|
|
.screen-command-actions {
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.screen-command-actions .btn {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
|
|
.dashboard-screen-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dashboard-screen-card-header .dashboard-card-heading {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-screen-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dashboard-screen-tile {
|
|
display: grid;
|
|
gap: 0.95rem;
|
|
padding: 1rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: calc(var(--bs-border-radius) + 0.25rem);
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.dashboard-screen-tile-top {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.dashboard-screen-tile-text {
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-screen-name {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dashboard-screen-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
padding: 0.3rem 0.6rem;
|
|
border-radius: 999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dashboard-screen-pill.is-live {
|
|
background: rgba(25, 135, 84, 0.12);
|
|
color: var(--bs-success);
|
|
}
|
|
|
|
.dashboard-screen-pill.is-idle {
|
|
background: rgba(108, 117, 125, 0.12);
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.dashboard-screen-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-screen-meta div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-screen-meta dt {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.dashboard-screen-meta dd {
|
|
margin: 0.15rem 0 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.dashboard-screen-empty {
|
|
margin: 0;
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
/* Shared page headers, tables and text utilities */
|
|
|
|
.page-header {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0 0 0.5rem;
|
|
}
|
|
|
|
.page-header h2 {
|
|
margin: 0;
|
|
font-size: clamp(1.45rem, 1.2rem + 0.6vw, 2rem);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.page-header p {
|
|
margin: 0.35rem 0 0;
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.page-header > div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.no-access-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: max(28rem, calc(100dvh - 8rem));
|
|
}
|
|
|
|
.no-access-panel {
|
|
display: grid;
|
|
flex: 1;
|
|
place-items: center;
|
|
padding: 1.5rem 0 2.5rem;
|
|
}
|
|
|
|
.no-access-card {
|
|
width: min(100%, 36rem);
|
|
}
|
|
|
|
.view-as-banner {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1020;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.7rem 1.25rem;
|
|
border-bottom: 1px solid var(--bs-warning-border-subtle);
|
|
background: var(--bs-warning-bg-subtle);
|
|
color: var(--bs-warning-text-emphasis);
|
|
}
|
|
|
|
.view-as-banner-copy {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.view-as-banner-copy > i {
|
|
margin-top: 0.15rem;
|
|
color: var(--bs-warning);
|
|
}
|
|
|
|
.view-as-banner-copy > div {
|
|
display: grid;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.view-as-banner-copy span {
|
|
overflow-wrap: anywhere;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.view-as-banner {
|
|
align-items: flex-start;
|
|
padding: 0.65rem 0.75rem;
|
|
}
|
|
|
|
.view-as-banner .btn {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.changelog-eyebrow {
|
|
margin-bottom: 0.35rem;
|
|
color: var(--bs-primary);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.changelog-feed {
|
|
max-width: 76rem;
|
|
margin: 1rem auto 0 0.35rem;
|
|
border-left: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.changelog-release {
|
|
position: relative;
|
|
margin-left: 1rem;
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.changelog-release-summary {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
min-height: 4rem;
|
|
padding: 0.85rem 1rem;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
|
|
.changelog-release-summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.changelog-release-summary:hover {
|
|
background: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.changelog-release-summary:focus-visible {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.changelog-release-indicator {
|
|
position: absolute;
|
|
top: 1.55rem;
|
|
left: -1.36rem;
|
|
width: 0.7rem;
|
|
aspect-ratio: 1;
|
|
border: 2px solid var(--bs-secondary-color);
|
|
border-radius: 50%;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.changelog-release[open] .changelog-release-indicator {
|
|
border-color: var(--bs-primary);
|
|
background: var(--bs-primary);
|
|
box-shadow: 0 0 0 3px var(--bs-body-bg), 0 0 0 4px var(--bs-primary);
|
|
}
|
|
|
|
.changelog-release-heading {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.changelog-version {
|
|
color: var(--bs-emphasis-color);
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.changelog-latest {
|
|
color: var(--bs-primary);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.changelog-release-date {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.changelog-release-chevron {
|
|
color: var(--bs-secondary-color);
|
|
transition: transform 150ms ease;
|
|
}
|
|
|
|
.changelog-release[open] .changelog-release-chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.changelog-release-content {
|
|
display: grid;
|
|
gap: 1rem;
|
|
padding: 0.25rem 1rem 1.35rem;
|
|
}
|
|
|
|
.changelog-category {
|
|
display: grid;
|
|
grid-template-columns: 7rem minmax(0, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.changelog-category-title {
|
|
margin: 0.1rem 0 0;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.changelog-items {
|
|
display: grid;
|
|
gap: 0.55rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.changelog-items li {
|
|
position: relative;
|
|
padding-left: 1rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.changelog-items li::before {
|
|
position: absolute;
|
|
top: 0.62em;
|
|
left: 0;
|
|
width: 0.35rem;
|
|
aspect-ratio: 1;
|
|
border-radius: 50%;
|
|
background: var(--bs-primary);
|
|
content: '';
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.changelog-feed {
|
|
margin-left: 0.1rem;
|
|
}
|
|
|
|
.changelog-release-summary {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
column-gap: 0.65rem;
|
|
row-gap: 0.15rem;
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.75rem;
|
|
}
|
|
|
|
.changelog-release-date {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.changelog-release-chevron {
|
|
grid-column: 2;
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
.changelog-release-content {
|
|
padding-right: 0.5rem;
|
|
padding-left: 0.75rem;
|
|
}
|
|
|
|
.changelog-category {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.35rem;
|
|
}
|
|
}
|
|
|
|
.card.card-outline > .card-header {
|
|
align-items: center;
|
|
min-height: 3.25rem;
|
|
}
|
|
|
|
.card-body.table-responsive {
|
|
border-bottom-left-radius: calc(var(--bs-border-radius) - 1px);
|
|
border-bottom-right-radius: calc(var(--bs-border-radius) - 1px);
|
|
}
|
|
|
|
.playlist-items-table-responsive {
|
|
overflow: hidden;
|
|
border-bottom-left-radius: calc(var(--bs-border-radius) - 1px);
|
|
border-bottom-right-radius: calc(var(--bs-border-radius) - 1px);
|
|
}
|
|
|
|
.playlist-items-table-responsive > table.table {
|
|
width: 100%;
|
|
table-layout: auto;
|
|
}
|
|
|
|
.card-body.table-responsive > table.table > thead th,
|
|
.playlist-items-table-responsive > table.table > thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background: var(--bs-body-bg);
|
|
box-shadow: inset 0 -1px 0 var(--bs-border-color);
|
|
}
|
|
|
|
.card-body.table-responsive > table.table > tbody > tr:last-child > * {
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 999px;
|
|
background: var(--bs-secondary-bg);
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.empty {
|
|
color: var(--bs-secondary-color);
|
|
font-style: italic;
|
|
}
|
|
|
|
.subtle {
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.connected-updated-secondary {
|
|
font-style: italic;
|
|
}
|
|
|
|
.connection-count,
|
|
td[data-label="Name"],
|
|
td[data-label="Title"],
|
|
td[data-label="Client"],
|
|
td[data-label="Current Screen"],
|
|
td[data-label="Current Slide"],
|
|
td[data-label="IP"],
|
|
td[data-label="Viewport"],
|
|
td[data-label="Connected/Updated"],
|
|
td[data-label="Template"],
|
|
td[data-label="Slides"] {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.table-responsive > table.table > tbody > tr > td:is(
|
|
[data-label="Name"],
|
|
[data-label="Title"],
|
|
[data-label="Template"],
|
|
[data-label="Description"],
|
|
[data-label="Client"],
|
|
[data-label="Current Screen"],
|
|
[data-label="Current Slide"],
|
|
[data-label="Slides"]
|
|
) {
|
|
min-width: 14rem;
|
|
overflow-wrap: break-word;
|
|
}
|
|
}
|
|
|
|
/* Slide editor layout */
|
|
|
|
.slide-editor-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
|
|
gap: 1rem;
|
|
align-items: start;
|
|
position: relative;
|
|
}
|
|
|
|
.slide-editor-sidebar {
|
|
align-self: start;
|
|
}
|
|
|
|
.slide-form-stack {
|
|
display: grid;
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.slide-editor-shell .slide-preview-card {
|
|
width: 100%;
|
|
max-width: 24rem;
|
|
justify-self: end;
|
|
}
|
|
|
|
.slide-editor-shell .slide-preview-card .card-body {
|
|
padding: 0.875rem;
|
|
}
|
|
|
|
.slide-editor-shell .slide-preview-scroll {
|
|
max-height: calc(100vh - 8rem);
|
|
overflow: auto;
|
|
}
|
|
|
|
.slide-preview-header h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.slide-preview-header .muted {
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* TinyMCE integration, including library-generated markup */
|
|
|
|
.slide-form-stack .editor-holder,
|
|
.template-field-card .editor-holder {
|
|
position: relative;
|
|
}
|
|
|
|
.slide-form-stack .editor-holder textarea,
|
|
.template-field-card .editor-holder textarea {
|
|
width: 100%;
|
|
min-height: 10rem;
|
|
}
|
|
|
|
.slide-form-stack .tox,
|
|
.template-field-card .tox {
|
|
border: 1px solid var(--bs-border-color);
|
|
overflow: visible !important;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.slide-form-stack .tox.tox-tinymce,
|
|
.template-field-card .tox.tox-tinymce {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.slide-form-stack .tox.tox-edit-focus,
|
|
.template-field-card .tox.tox-edit-focus {
|
|
border-color: rgba(var(--bs-primary-rgb), 0.22) !important;
|
|
box-shadow: 0 0 0 0.05rem rgba(var(--bs-primary-rgb), 0.05) !important;
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-edit-area::before,
|
|
.template-field-card .tox .tox-edit-area::before {
|
|
border: 1px solid rgba(var(--bs-primary-rgb), 0.08) !important;
|
|
}
|
|
|
|
.slide-form-stack .tox.tox-edit-focus .tox-edit-area::before,
|
|
.template-field-card .tox.tox-edit-focus .tox-edit-area::before {
|
|
opacity: 0.35 !important;
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-editor-header,
|
|
.template-field-card .tox .tox-editor-header {
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-toolbar,
|
|
.template-field-card .tox .tox-toolbar {
|
|
background: var(--bs-tertiary-bg);
|
|
border: 0;
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-toolbar__group,
|
|
.template-field-card .tox .tox-toolbar__group {
|
|
border-color: var(--bs-border-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-tbtn,
|
|
.template-field-card .tox .tox-tbtn {
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-tbtn:hover,
|
|
.template-field-card .tox .tox-tbtn:hover {
|
|
background: var(--bs-secondary-bg);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-tbtn--enabled,
|
|
.template-field-card .tox .tox-tbtn--enabled {
|
|
background: rgba(var(--bs-primary-rgb), 0.12);
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-tbtn--disabled,
|
|
.template-field-card .tox .tox-tbtn--disabled {
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-edit-area__iframe,
|
|
.template-field-card .tox .tox-edit-area__iframe {
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-edit-area,
|
|
.template-field-card .tox .tox-edit-area {
|
|
min-height: 10rem;
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-edit-area__iframe,
|
|
.template-field-card .tox .tox-edit-area__iframe {
|
|
min-height: 10rem;
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-statusbar,
|
|
.template-field-card .tox .tox-statusbar {
|
|
border-top: 1px solid var(--bs-border-color);
|
|
background: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-menu,
|
|
.template-field-card .tox .tox-menu,
|
|
.slide-form-stack .tox .tox-collection,
|
|
.template-field-card .tox .tox-collection {
|
|
background: var(--bs-body-bg);
|
|
border-color: var(--bs-border-color);
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-collection__item,
|
|
.template-field-card .tox .tox-collection__item {
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-collection__item:hover,
|
|
.template-field-card .tox .tox-collection__item:hover {
|
|
background: var(--bs-secondary-bg);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-input,
|
|
.template-field-card .tox .tox-input {
|
|
background: var(--bs-body-bg);
|
|
border-color: var(--bs-border-color);
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-input:focus,
|
|
.template-field-card .tox .tox-input:focus {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
|
|
}
|
|
|
|
.slide-form-stack .tox .tox-edit-area__iframe,
|
|
.template-field-card .tox .tox-edit-area__iframe {
|
|
font-family: inherit;
|
|
}
|
|
|
|
.slide-form-stack .tox-content,
|
|
.template-field-card .tox-content {
|
|
font-family: inherit;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.slide-form-stack .tox-content h1,
|
|
.slide-form-stack .tox-content h2,
|
|
.slide-form-stack .tox-content h3,
|
|
.slide-form-stack .tox-content h4,
|
|
.slide-form-stack .tox-content h5,
|
|
.slide-form-stack .tox-content h6,
|
|
.template-field-card .tox-content h1,
|
|
.template-field-card .tox-content h2,
|
|
.template-field-card .tox-content h3,
|
|
.template-field-card .tox-content h4,
|
|
.template-field-card .tox-content h5,
|
|
.template-field-card .tox-content h6 {
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-form-stack .tox-content p,
|
|
.template-field-card .tox-content p {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
html[data-bs-theme='dark'] .slide-form-stack .tox,
|
|
html[data-bs-theme='dark'] .template-field-card .tox,
|
|
html[data-bs-theme='dark'] .slide-form-stack .tox .tox-menu,
|
|
html[data-bs-theme='dark'] .template-field-card .tox .tox-menu,
|
|
html[data-bs-theme='dark'] .slide-form-stack .tox .tox-collection,
|
|
html[data-bs-theme='dark'] .template-field-card .tox .tox-collection {
|
|
background: var(--bs-body-bg) !important;
|
|
background-color: var(--bs-body-bg) !important;
|
|
border-color: var(--bs-border-color) !important;
|
|
color: var(--bs-body-color) !important;
|
|
}
|
|
|
|
|
|
/* Slide preview and layout / animation dialogs */
|
|
|
|
.slide-preview-dimensions-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 999px;
|
|
background: var(--bs-secondary-bg);
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.slide-preview-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
border-radius: 0;
|
|
background: #111;
|
|
}
|
|
|
|
#slide-layout-modal,
|
|
#slide-animation-modal,
|
|
#region-default-content-modal {
|
|
left: var(--slide-layout-left, 0px);
|
|
width: calc(100% - var(--slide-layout-left, 0px));
|
|
}
|
|
|
|
.slide-layout-dialog {
|
|
width: calc(100% - 2rem);
|
|
max-width: none;
|
|
height: calc(100dvh - 4rem);
|
|
max-height: 860px;
|
|
min-height: 0;
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
.template-picker-current {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: .5rem;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-picker-current strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-picker-toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(14rem, 1fr) minmax(12rem, 20rem);
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.template-picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.template-picker-option {
|
|
min-width: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
color: var(--bs-body-color);
|
|
background: var(--bs-body-bg);
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.template-picker-option:hover,
|
|
.template-picker-option:focus-visible {
|
|
border-color: var(--bs-primary);
|
|
outline: none;
|
|
}
|
|
|
|
.template-picker-option[aria-pressed="true"] {
|
|
border: 2px solid var(--bs-primary);
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--bs-primary) 22%, transparent);
|
|
}
|
|
|
|
.template-picker-preview {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
background-color: #111;
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
|
|
.template-picker-preview-none {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--bs-secondary-color);
|
|
background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(128, 128, 128, .12) 12px 13px);
|
|
}
|
|
|
|
.template-picker-preview-background,
|
|
.template-picker-region-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.template-picker-preview-background {
|
|
object-fit: cover;
|
|
}
|
|
|
|
.template-picker-region-layer {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.template-picker-region {
|
|
position: absolute;
|
|
border: 1px solid rgba(255, 255, 255, .82);
|
|
background: rgba(50, 150, 170, .16);
|
|
}
|
|
|
|
.template-picker-details {
|
|
display: grid;
|
|
gap: .2rem;
|
|
padding: .65rem .75rem;
|
|
}
|
|
|
|
.template-picker-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-default-content-dialog {
|
|
width: calc(100% - 2rem);
|
|
max-width: none;
|
|
height: calc(100dvh - 4rem);
|
|
max-height: 860px;
|
|
min-height: 0;
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
.template-default-content-dialog .modal-content {
|
|
height: 100%;
|
|
}
|
|
|
|
.slide-animation-body.template-default-content-body {
|
|
grid-template-columns: minmax(0, 1fr) 21rem;
|
|
}
|
|
|
|
.template-default-content-workspace {
|
|
container-type: size;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.template-default-content-preview-stage {
|
|
position: relative;
|
|
width: min(100%, calc(100cqh * var(--template-preview-ratio, 1.777778)));
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
outline: 1px solid var(--bs-border-color);
|
|
background: #111;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.template-default-content-preview-frame {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-default-content-preview-background,
|
|
.template-default-content-preview-canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
transform-origin: top left;
|
|
}
|
|
|
|
.template-default-content-preview-background {
|
|
object-fit: fill;
|
|
}
|
|
|
|
.template-default-content-preview-label {
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
max-width: calc(100% - 8px);
|
|
overflow: hidden;
|
|
padding: 2px 4px;
|
|
color: #fff;
|
|
background: rgba(0, 0, 0, .65);
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.template-default-content-properties {
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.template-default-content-properties .template-field-card {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.slide-layout-dialog .modal-content {
|
|
height: 100%;
|
|
}
|
|
|
|
.slide-layout-body {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 21rem;
|
|
gap: 1.25rem;
|
|
min-height: 0;
|
|
}
|
|
|
|
.slide-layout-workspace {
|
|
container-type: size;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.slide-layout-stage {
|
|
width: min(100%, calc(100cqh * var(--slide-layout-ratio, 1.777778)));
|
|
flex-shrink: 0;
|
|
overflow: visible;
|
|
outline: 1px solid var(--bs-border-color);
|
|
isolation: isolate;
|
|
touch-action: none;
|
|
}
|
|
|
|
.slide-layout-stage .slide-preview-canvas {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.slide-layout-properties {
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.slide-layout-properties .region-field-grid--size,
|
|
.slide-layout-properties .region-field-grid--position {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.slide-animation-body {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 21rem;
|
|
gap: 1.25rem;
|
|
min-height: 0;
|
|
}
|
|
|
|
.slide-animation-properties {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.slide-animation-advanced-overlay {
|
|
z-index: 1075;
|
|
}
|
|
|
|
.slide-animation-advanced-backdrop {
|
|
z-index: 1070;
|
|
}
|
|
|
|
.slide-animation-controls {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.slide-animation-controls .region-field-grid--animation {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.slide-animation-controls .region-field-grid--animation label {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.slide-animation-preview-panel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
#slide-animation-preview {
|
|
container-type: size;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#slide-animation-preview .slide-preview-stage {
|
|
width: min(100cqw, calc(100cqh * var(--slide-layout-ratio, 1.777778)));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.slide-animation-properties [data-slide-animation-preview][aria-pressed="true"] {
|
|
color: var(--bs-btn-active-color, #fff);
|
|
background-color: var(--bs-info);
|
|
border-color: var(--bs-info);
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.slide-animation-body {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.slide-animation-preview-panel {
|
|
height: min(55dvh, 32rem);
|
|
}
|
|
|
|
.slide-animation-controls {
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
/* Template snapping and shared alignment guides */
|
|
|
|
.template-designer-main-header::after {
|
|
display: none;
|
|
}
|
|
|
|
.template-snap-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.template-snap-control .form-check-input {
|
|
float: none;
|
|
margin: 0;
|
|
flex: 0 0 auto;
|
|
order: 2;
|
|
}
|
|
|
|
.template-snap-control .form-check-label {
|
|
order: 1;
|
|
}
|
|
|
|
.slide-layout-layer[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.slide-layout-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
--designer-overlay-scale: 1;
|
|
}
|
|
|
|
.slide-layout-hit {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.slide-layout-hit.selected {
|
|
z-index: 4;
|
|
}
|
|
|
|
.slide-layout-hit:focus-visible {
|
|
outline: 3px solid #ffc107;
|
|
}
|
|
|
|
.layout-alignment-guide {
|
|
position: absolute;
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
background: #ff4081;
|
|
}
|
|
|
|
.layout-alignment-guide--x {
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 1px;
|
|
}
|
|
|
|
.layout-alignment-guide--y {
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.template-picker-toolbar {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.template-picker-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
}
|
|
|
|
.slide-layout-dialog {
|
|
width: calc(100% - 1rem);
|
|
height: calc(100dvh - 2rem);
|
|
margin: 1rem auto;
|
|
}
|
|
|
|
.template-default-content-dialog {
|
|
width: calc(100% - 1rem);
|
|
height: calc(100dvh - 2rem);
|
|
margin: 1rem auto;
|
|
}
|
|
|
|
.slide-layout-body {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: minmax(14rem, 1fr) auto;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.slide-layout-properties {
|
|
overflow: visible;
|
|
}
|
|
|
|
.slide-animation-body.template-default-content-body {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto minmax(14rem, 1fr);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.template-default-content-properties {
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
/* Slide preview canvas and popup */
|
|
|
|
.slide-preview-canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
transform-origin: top left;
|
|
will-change: transform;
|
|
}
|
|
|
|
.slide-preview-background,
|
|
.slide-preview-overlay,
|
|
.slide-preview-empty {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.slide-preview-region {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.slide-preview-region.timetable .timetable-region-entry > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.slide-preview-text-content {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.slide-preview-text-content ul,
|
|
.slide-preview-text-content ol {
|
|
padding-left: 1.2em;
|
|
}
|
|
|
|
.slide-preview-text-content code {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.slide-preview-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.slide-preview-video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.slide-preview-background {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.slide-preview-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
text-align: center;
|
|
background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(255, 255, 255, 0.04));
|
|
}
|
|
|
|
.slide-preview-overlay {
|
|
z-index: 2;
|
|
}
|
|
|
|
.slide-preview-background {
|
|
z-index: 1;
|
|
}
|
|
|
|
.slide-preview-empty {
|
|
z-index: 0;
|
|
}
|
|
|
|
.slide-preview-popup-body {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.slide-preview-popup-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.slide-preview-popup-canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
transform-origin: top left;
|
|
will-change: transform;
|
|
}
|
|
|
|
.slide-preview-popup-canvas,
|
|
.slide-preview-popup-stage {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Image cropping, uploads and media picker dialogs */
|
|
|
|
.slide-image-cropper-frame {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 560px;
|
|
min-height: 360px;
|
|
max-height: 70vh;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.slide-image-cropper-frame.is-loading > :not(.slide-image-cropper-loading-overlay) {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
|
|
.slide-image-cropper-loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 3;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.72);
|
|
backdrop-filter: blur(1px);
|
|
}
|
|
|
|
.slide-image-cropper-frame.is-loading .slide-image-cropper-loading-overlay {
|
|
display: flex;
|
|
}
|
|
|
|
.slide-image-cropper-loading-spinner {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
}
|
|
|
|
.slide-image-cropper-frame img {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: 65vh;
|
|
}
|
|
|
|
.slide-image-cropper-frame > .cropper-container {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
max-width: 100% !important;
|
|
max-height: 100% !important;
|
|
display: block;
|
|
}
|
|
|
|
.slide-image-cropper-frame > .cropper-container img {
|
|
max-width: none !important;
|
|
max-height: none !important;
|
|
}
|
|
|
|
.slide-image-cropper-frame .cropper-container,
|
|
.slide-image-cropper-frame .cropper-canvas,
|
|
.slide-image-cropper-frame .cropper-wrap-box,
|
|
.slide-image-cropper-frame .cropper-crop-box,
|
|
.slide-image-cropper-frame .cropper-view-box,
|
|
.slide-image-cropper-frame .cropper-face {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.slide-image-cropper-frame .cropper-wrap-box,
|
|
.slide-image-cropper-frame .cropper-crop-box {
|
|
border: 0 !important;
|
|
}
|
|
|
|
.slide-image-cropper-toolbar .btn {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#slide-image-cropper-status:empty {
|
|
display: none;
|
|
}
|
|
|
|
.slide-image-region-preview-box {
|
|
display: grid;
|
|
gap: 0;
|
|
justify-items: end;
|
|
}
|
|
|
|
.slide-image-region-preview-shell {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 288px;
|
|
height: 176px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.slide-image-region-preview-shell:focus-visible,
|
|
.slide-image-region-preview-shell:hover .slide-image-region-preview-remove,
|
|
.slide-image-region-preview-shell:focus-visible .slide-image-region-preview-remove {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
|
|
.slide-image-region-preview-remove {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
border-radius: 999px;
|
|
background: rgba(33, 37, 41, 0.82);
|
|
color: #fff;
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(0.92);
|
|
transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.slide-image-region-preview-shell:hover .slide-image-region-preview-remove,
|
|
.slide-image-region-preview-shell:focus-visible .slide-image-region-preview-remove {
|
|
background: rgba(var(--bs-danger-rgb), 0.92);
|
|
}
|
|
|
|
.slide-image-region-preview-remove i {
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.slide-image-region-upload-zone {
|
|
flex: 1 1 auto;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
gap: 0.9rem;
|
|
min-height: 176px;
|
|
padding: 1rem 1.1rem;
|
|
border: 1px dashed var(--bs-border-color);
|
|
border-radius: 0;
|
|
background: var(--bs-tertiary-bg);
|
|
color: var(--bs-body-color);
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.slide-image-region-upload-zone-content,
|
|
.slide-image-region-upload-zone-progress {
|
|
display: contents;
|
|
}
|
|
|
|
.slide-image-region-upload-zone-progress {
|
|
display: none;
|
|
grid-column: 1 / -1;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.slide-image-region-upload-zone-progress-label {
|
|
font-weight: 600;
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.slide-image-region-upload-zone-progress-bar {
|
|
width: 100%;
|
|
height: 0.85rem;
|
|
}
|
|
|
|
.slide-image-region-upload-zone-limit {
|
|
color: var(--bs-danger);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.slide-image-region-upload-zone.is-uploading {
|
|
grid-template-columns: 1fr;
|
|
pointer-events: none;
|
|
cursor: progress;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.slide-image-region-upload-zone.is-uploading .slide-image-region-upload-zone-content {
|
|
display: none;
|
|
}
|
|
|
|
.slide-image-region-upload-zone.is-uploading .slide-image-region-upload-zone-progress {
|
|
display: grid;
|
|
}
|
|
|
|
.slide-image-region-upload-zone:hover,
|
|
.slide-image-region-upload-zone:focus-within,
|
|
.slide-image-region-upload-zone.is-dragover {
|
|
border-color: var(--bs-primary);
|
|
background: var(--bs-secondary-bg);
|
|
box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.12);
|
|
}
|
|
|
|
.slide-image-region-upload-zone-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
font-size: 1.25rem;
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.slide-image-region-upload-zone-copy {
|
|
display: grid;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.slide-image-region-upload-zone-copy span {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.media-library-upload-zone {
|
|
min-height: 132px;
|
|
padding: 2rem 2.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.media-library-upload-zone .slide-image-region-upload-zone-limit {
|
|
color: var(--bs-body-color);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.media-picker-toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 12rem auto;
|
|
gap: 0.75rem;
|
|
background: var(--bs-modal-bg);
|
|
}
|
|
|
|
#media-picker-modal .modal-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#media-picker-modal .media-picker-scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
#media-picker-modal [data-media-picker-no-results]:not([hidden]) {
|
|
display: block;
|
|
min-height: 4rem;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.media-picker-toolbar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.media-picker-toolbar .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.slide-image-region-preview {
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 288px;
|
|
height: 176px;
|
|
object-fit: contain;
|
|
border-radius: 0;
|
|
background: var(--bs-tertiary-bg);
|
|
border: 0;
|
|
}
|
|
|
|
.slide-image-region-preview-shell video.slide-image-region-preview {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.slide-image-region-preview-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Template designer canvas, selection and resize handles */
|
|
|
|
.template-designer-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 25rem;
|
|
gap: 1rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.template-designer-main,
|
|
.template-designer-sidebar {
|
|
min-width: 0;
|
|
}
|
|
|
|
.designer-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 18rem;
|
|
overflow: visible;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
.designer-stage > img,
|
|
.designer-stage > .empty-bg,
|
|
.designer-stage > .designer-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.designer-stage > img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.designer-stage > .empty-bg {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--bs-secondary-color);
|
|
background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(108, 117, 125, 0.05));
|
|
}
|
|
|
|
.designer-overlay {
|
|
z-index: 2;
|
|
cursor: default;
|
|
--designer-overlay-scale: 1;
|
|
}
|
|
|
|
.designer-rect {
|
|
position: absolute;
|
|
overflow: visible;
|
|
z-index: 3;
|
|
border: 0;
|
|
outline: 2px solid rgba(13, 110, 253, 0.95);
|
|
outline-offset: -2px;
|
|
background: rgba(13, 110, 253, 0.12);
|
|
box-sizing: border-box;
|
|
border-radius: 0;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
cursor: move;
|
|
}
|
|
|
|
.designer-rect.selected {
|
|
outline-color: rgba(25, 135, 84, 1);
|
|
background: rgba(25, 135, 84, 0.14);
|
|
}
|
|
|
|
.designer-rect-label {
|
|
position: absolute;
|
|
left: calc(6px * var(--designer-overlay-scale, 1));
|
|
top: calc(6px * var(--designer-overlay-scale, 1));
|
|
max-width: 100%;
|
|
padding: calc(2px * var(--designer-overlay-scale, 1)) calc(7px * var(--designer-overlay-scale, 1));
|
|
border-radius: 999px;
|
|
background: rgba(33, 37, 41, 0.92);
|
|
color: #fff;
|
|
font-size: calc(0.75rem * var(--designer-overlay-scale, 1));
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.designer-rect.selected .designer-rect-label {
|
|
background: rgba(25, 135, 84, 0.95);
|
|
}
|
|
|
|
.resize-handle {
|
|
position: absolute;
|
|
z-index: 4;
|
|
width: 12px;
|
|
height: 12px;
|
|
box-sizing: border-box;
|
|
border-radius: 999px;
|
|
border: 2px solid #fff;
|
|
background: rgba(13, 110, 253, 1);
|
|
box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.35);
|
|
}
|
|
|
|
.resize-handle.nw {
|
|
left: 0;
|
|
top: 0;
|
|
transform: translate(-40%, -40%);
|
|
cursor: nwse-resize;
|
|
}
|
|
|
|
.resize-handle.ne {
|
|
right: 0;
|
|
top: 0;
|
|
transform: translate(40%, -40%);
|
|
cursor: nesw-resize;
|
|
}
|
|
|
|
.resize-handle.sw {
|
|
left: 0;
|
|
bottom: 0;
|
|
transform: translate(-40%, 40%);
|
|
cursor: nesw-resize;
|
|
}
|
|
|
|
.resize-handle.se {
|
|
right: 0;
|
|
bottom: 0;
|
|
transform: translate(40%, 40%);
|
|
cursor: nwse-resize;
|
|
}
|
|
|
|
.designer-draft {
|
|
border-style: dashed;
|
|
background: rgba(13, 110, 253, 0.08);
|
|
}
|
|
|
|
/* Template designer sidebar and region fields */
|
|
|
|
.template-designer-sidebar {
|
|
position: sticky;
|
|
top: 1rem;
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.template-designer-sidebar .card-body.d-grid {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.template-designer-sidebar .btn-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.template-actions-group {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: minmax(0, 1fr);
|
|
gap: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.template-actions-group > * {
|
|
width: 100%;
|
|
}
|
|
|
|
.template-actions-group > .btn-warning,
|
|
.template-actions-group > .btn-danger {
|
|
flex: 1 1 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.save-action-group > .dropdown-toggle-split {
|
|
flex: 0 0 2.35rem;
|
|
width: 2.35rem;
|
|
min-width: 2.35rem;
|
|
padding-left: 0.5rem;
|
|
padding-right: 0.5rem;
|
|
}
|
|
|
|
.save-action-group > .dropdown-toggle-split::after {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.slide-actions-group .save-action-group > .dropdown-toggle-split {
|
|
flex-basis: 3rem;
|
|
width: 3rem;
|
|
min-width: 3rem;
|
|
}
|
|
|
|
.region-info-card .card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.region-info-card .card-title {
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.region-selector-block .form-label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.region-list {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.region-item {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.region-item label {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--bs-body-color);
|
|
}
|
|
|
|
.region-item input,
|
|
.region-item select {
|
|
width: 100%;
|
|
}
|
|
|
|
.region-field-grid {
|
|
display: grid;
|
|
width: 100%;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.region-field-grid--identity {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.region-field-grid--position {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.region-field-grid--size {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.region-field-grid--animation {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.region-field-grid--animation [data-animation-preset][hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.region-field-grid > label {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.region-field-grid > label > .form-control,
|
|
.region-field-grid > label > .form-select {
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-field-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: nowrap;
|
|
gap: 0;
|
|
min-height: 3.25rem;
|
|
}
|
|
|
|
.template-field-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.template-editor-size-controls {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.template-editor-size-controls .btn {
|
|
min-width: 2rem;
|
|
padding-inline: 0.45rem;
|
|
}
|
|
|
|
.template-field-head strong {
|
|
font-size: 0.95rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-field-head .chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 999px;
|
|
background: var(--bs-secondary-bg);
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.75rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.template-field-card {
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.template-field-card.collapsed-card {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-field-card.collapsed-card > .card-body {
|
|
display: block !important;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-field-card.collapsed-card .card-header {
|
|
border-bottom-left-radius: var(--bs-border-radius);
|
|
border-bottom-right-radius: var(--bs-border-radius);
|
|
}
|
|
|
|
.template-field-body {
|
|
min-width: 0;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
.template-field-card.collapsing-card .template-field-body,
|
|
.template-field-card.collapsed-card .template-field-body {
|
|
opacity: 0;
|
|
}
|
|
|
|
.template-field-card.expanding-card .template-field-body {
|
|
opacity: 1;
|
|
}
|
|
|
|
.template-field-card .card-header,
|
|
.region-item .card-header {
|
|
background: var(--bs-tertiary-bg);
|
|
border-bottom: 1px solid var(--bs-border-color-translucent);
|
|
}
|
|
|
|
.template-field-card label,
|
|
.region-item label {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.template-field-card .form-label,
|
|
.region-item .form-label {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.template-field-card .form-control,
|
|
.template-field-card .form-select,
|
|
.template-field-card textarea,
|
|
.template-field-card input[type='file'],
|
|
.region-item .form-control,
|
|
.region-item .form-select,
|
|
.region-item input[type='number'],
|
|
.region-item input[type='text'] {
|
|
width: 100%;
|
|
}
|
|
|
|
.template-field-card .editor-holder {
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-field-card .editor-holder[data-editor-height] {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-field-card .editor-holder .tox.tox-tinymce {
|
|
height: 100% !important;
|
|
}
|
|
|
|
/* Announcement color picker and list icons */
|
|
|
|
.announcement-color-picker {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.announcement-color-picker__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.announcement-color-picker__option {
|
|
gap: 0.375rem;
|
|
padding: 0.375rem;
|
|
}
|
|
|
|
.announcement-color-picker__option:hover,
|
|
.announcement-color-picker__option:focus-visible {
|
|
background: rgba(var(--bs-primary-rgb), 0.04);
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.15);
|
|
}
|
|
|
|
.announcement-color-picker__option.is-selected {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.12);
|
|
}
|
|
|
|
.announcement-color-picker__swatch {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 2.5rem;
|
|
border-radius: 0.65rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.announcement-color-picker__check {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
transition: opacity 120ms ease, transform 120ms ease;
|
|
}
|
|
|
|
.announcement-color-picker__option.is-selected .announcement-color-picker__check {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.announcement-color-picker__label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
line-height: 1.1;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.announcement-color-picker__grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.announcement-color-picker__grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.announcement-list-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
border-radius: 999px;
|
|
flex: 0 0 auto;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* API region placeholders and sample responses */
|
|
|
|
.api-region-placeholder-section {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
padding-top: 0.125rem;
|
|
padding-bottom: 0.25rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.api-region-placeholder-title {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.api-region-placeholder-title-help {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
}
|
|
|
|
.placeholder-chip {
|
|
padding: 0.2rem 0.45rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.3rem;
|
|
background: transparent;
|
|
color: var(--bs-secondary-color);
|
|
font-family: var(--bs-font-monospace);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.placeholder-chip:hover {
|
|
border-color: var(--bs-secondary-color);
|
|
background: var(--bs-tertiary-bg);
|
|
}
|
|
|
|
.placeholder-chip:focus-visible {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.api-region-sample-accordion {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.api-region-sample-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.api-region-sample-toggle {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
box-sizing: border-box;
|
|
height: 2.5rem;
|
|
padding: 0.375rem 0.75rem;
|
|
cursor: pointer;
|
|
font-size: 0.875rem;
|
|
font-weight: 800;
|
|
text-align: left;
|
|
}
|
|
|
|
.api-region-sample-toggle:focus-visible {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.api-region-sample-chevron {
|
|
transition: transform 120ms ease;
|
|
}
|
|
|
|
.api-region-sample-accordion.is-open .api-region-sample-chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.api-region-sample-body {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.api-region-sample-body[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.api-region-sample-meta {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.api-region-sample-preview {
|
|
margin: 0;
|
|
padding: 0.75rem;
|
|
border: 0;
|
|
border-radius: 0.375rem;
|
|
background: var(--bs-secondary-bg);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 0.78rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
/* Region field controls and responsive editor layout */
|
|
|
|
.template-field-card .slide-image-file,
|
|
.region-item .slide-image-file {
|
|
margin: 0;
|
|
}
|
|
|
|
.region-item [data-region-remove-button] {
|
|
width: 100%;
|
|
}
|
|
|
|
.region-item [data-region-remove-button]:disabled {
|
|
opacity: 0.65;
|
|
box-shadow: none;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.region-item .form-control:focus,
|
|
.region-item .form-select:focus,
|
|
.region-item input[type='number']:focus,
|
|
.region-item input[type='text']:focus {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.region-info-card .card-header {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.region-field-grid--identity,
|
|
.region-field-grid--position,
|
|
.region-field-grid--size,
|
|
.region-field-grid--animation {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1199.98px) {
|
|
.template-designer-layout {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.template-designer-sidebar,
|
|
.slide-editor-shell,
|
|
.slide-editor-shell .slide-preview-card {
|
|
position: static;
|
|
}
|
|
|
|
.slide-editor-sidebar {
|
|
position: static;
|
|
top: auto;
|
|
}
|
|
|
|
.slide-editor-shell {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.slide-editor-shell .slide-preview-card {
|
|
max-width: none;
|
|
justify-self: stretch;
|
|
}
|
|
|
|
}
|
|
|
|
/* Popup frames, toasts and visibility utilities */
|
|
|
|
.frame-popup-card-body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.frame-popup-card-body .slide-schedule-card {
|
|
width: min(100%, 40rem);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.toast-container {
|
|
z-index: 1085;
|
|
}
|
|
|
|
.app-toast-container {
|
|
top: calc(40px + 1rem);
|
|
}
|
|
|
|
.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Playlist slide picker */
|
|
|
|
.playlist-slide-picker-modal-body {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.playlist-slide-picker-toolbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
padding-bottom: 0.25rem;
|
|
background: var(--bs-modal-bg, var(--bs-body-bg));
|
|
}
|
|
|
|
.playlist-slide-picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 1.25rem;
|
|
max-height: min(64vh, 48rem);
|
|
overflow: auto;
|
|
padding: 0.25rem 0.5rem 0.5rem 0.25rem;
|
|
}
|
|
|
|
.playlist-slide-picker-card {
|
|
appearance: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 8px;
|
|
background: var(--bs-body-bg);
|
|
color: var(--bs-body-color);
|
|
padding: 0;
|
|
gap: 0.3rem;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.playlist-slide-picker-card:hover {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
|
|
transform: translateY(-1px);
|
|
outline: 0;
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-selected {
|
|
border-color: var(--bs-primary);
|
|
box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.2);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-assigned,
|
|
.playlist-slide-picker-card:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-assigned {
|
|
border-color: rgba(var(--bs-primary-rgb), 0.35);
|
|
background: rgba(var(--bs-primary-rgb), 0.08);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-mismatch {
|
|
border-color: var(--bs-border-color-translucent);
|
|
background: rgba(var(--bs-secondary-rgb), 0.08);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-assigned .playlist-slide-picker-media {
|
|
filter: saturate(0.85) grayscale(0.25);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-mismatch .playlist-slide-picker-media {
|
|
filter: saturate(0.8) grayscale(0.45);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-assigned .playlist-slide-picker-title {
|
|
color: var(--bs-body-secondary);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-mismatch .playlist-slide-picker-title {
|
|
color: var(--bs-body-secondary);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.playlist-slide-picker-media {
|
|
position: relative;
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
border-radius: 7px 7px 0 0;
|
|
background: rgba(15, 23, 42, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.playlist-slide-picker-thumb-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.playlist-slide-picker-thumb-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.35rem;
|
|
color: var(--bs-secondary-color, #6c757d);
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 100%),
|
|
repeating-linear-gradient(45deg, rgba(108, 117, 125, 0.08), rgba(108, 117, 125, 0.08) 12px, rgba(108, 117, 125, 0.04) 12px, rgba(108, 117, 125, 0.04) 24px);
|
|
font-size: 0.8rem;
|
|
text-align: center;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.playlist-slide-picker-thumb-placeholder-icon {
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.playlist-slide-picker-thumb-placeholder-label {
|
|
display: block;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.playlist-slide-picker-title {
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
min-height: 0;
|
|
font-size: 0.98rem;
|
|
padding: 0 0.9rem 0.6rem;
|
|
}
|
|
|
|
.playlist-slide-picker-filter-button {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.playlist-slide-picker-check {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
z-index: 1;
|
|
color: var(--bs-primary);
|
|
opacity: 0;
|
|
background: rgba(var(--bs-body-bg-rgb), 0.88);
|
|
border-radius: 999px;
|
|
padding: 0.2rem 0.45rem;
|
|
box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-selected .playlist-slide-picker-check {
|
|
opacity: 1;
|
|
}
|
|
|
|
.playlist-slide-picker-badge {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0.5rem;
|
|
top: 0.5rem;
|
|
z-index: 1;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.playlist-slide-picker-card.is-assigned .playlist-slide-picker-badge {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.playlist-slide-picker-empty.is-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Playlist scheduling controls and dialog */
|
|
|
|
.schedule-day-grid .schedule-day-button {
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option > .btn-check {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option > .schedule-day-button {
|
|
width: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option:first-child > .schedule-day-button {
|
|
border-top-left-radius: var(--bs-btn-border-radius);
|
|
border-bottom-left-radius: var(--bs-btn-border-radius);
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option:last-child > .schedule-day-button {
|
|
border-top-right-radius: var(--bs-btn-border-radius);
|
|
border-bottom-right-radius: var(--bs-btn-border-radius);
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-option + .schedule-day-option {
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.schedule-day-grid .schedule-day-button.is-invalid {
|
|
color: var(--bs-danger);
|
|
border-color: var(--bs-danger);
|
|
background-color: rgba(var(--bs-danger-rgb), 0.08);
|
|
}
|
|
|
|
.schedule-day-grid .btn-check:checked + .schedule-day-button.is-invalid {
|
|
color: #fff;
|
|
border-color: var(--bs-danger);
|
|
background-color: var(--bs-danger);
|
|
}
|
|
|
|
.slide-schedule-dialog {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
max-width: none;
|
|
overflow: hidden;
|
|
width: min(calc(100vw - 2rem), 56rem);
|
|
height: calc(100vh - 2rem);
|
|
max-height: calc(100vh - 2rem);
|
|
margin: 0;
|
|
}
|
|
|
|
.slide-schedule-dialog::backdrop {
|
|
background: rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.slide-schedule-content {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.slide-schedule-content .slide-schedule-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.slide-schedule-content .slide-schedule-card form {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.slide-schedule-content .slide-schedule-card .card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.slide-schedule-content #schedule-rule-list {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
scrollbar-gutter: stable both-edges;
|
|
}
|
|
|
|
.slide-schedule-card > form > .card-footer::after {
|
|
content: none;
|
|
}
|
|
|
|
.slide-schedule-content .schedule-rule-card .card-header {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.slide-schedule-content .schedule-rule-card.collapsed-card {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.slide-schedule-content .schedule-rule-card.collapsed-card > .card-body,
|
|
.slide-schedule-content .schedule-rule-card.collapsed-card > .card-footer {
|
|
display: none;
|
|
}
|
|
|
|
.slide-schedule-content .schedule-rule-card.collapsed-card .card-header {
|
|
border-bottom-left-radius: var(--bs-border-radius);
|
|
border-bottom-right-radius: var(--bs-border-radius);
|
|
}
|
|
|
|
.slide-schedule-content .schedule-rule-card .card-body {
|
|
padding-top: 0.75rem;
|
|
}
|
|
|
|
/* Shared table actions */
|
|
|
|
.actions,
|
|
.playlist-item-actions,
|
|
.users-row-actions {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table.table > :not(caption) > thead > tr > th:last-child,
|
|
table.table > :not(caption) > tbody > tr > td:last-child,
|
|
td[data-label="Actions"] {
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td[data-label="Actions"] {
|
|
text-align: right;
|
|
}
|
|
|
|
td[data-label="Actions"] > div {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.actions .inline-form,
|
|
.playlist-item-actions .inline-form,
|
|
.users-row-actions .inline-form {
|
|
margin: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* Playlist duration and playback configuration */
|
|
|
|
.playlist-duration-input,
|
|
.playlist-group-block-quota {
|
|
width: 4rem !important;
|
|
min-width: 0 !important;
|
|
flex: 1 1 4rem !important;
|
|
}
|
|
|
|
.playlist-duration-input-group,
|
|
.playlist-group-block-quota-wrap {
|
|
display: inline-flex !important;
|
|
flex: 0 0 auto !important;
|
|
width: 6rem !important;
|
|
max-width: 6rem !important;
|
|
flex-wrap: nowrap;
|
|
border-radius: var(--bs-border-radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.playlist-group-block-quota-wrap {
|
|
width: calc(6rem + 0.5rem + 2rem) !important;
|
|
max-width: calc(6rem + 0.5rem + 2rem) !important;
|
|
}
|
|
|
|
.playlist-use-video-duration,
|
|
.playlist-disable-audio,
|
|
[data-playlist-group-shuffle] {
|
|
flex: 0 0 2rem;
|
|
width: 2rem;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.playlist-duration-input::-webkit-outer-spin-button,
|
|
.playlist-duration-input::-webkit-inner-spin-button,
|
|
.playlist-group-block-quota::-webkit-outer-spin-button,
|
|
.playlist-group-block-quota::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.playlist-duration-input,
|
|
.playlist-group-block-quota {
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
}
|
|
|
|
.playlist-duration-field {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 0.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.playlist-duration-prefix {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.playlist-use-video-duration {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td[data-label="Duration"],
|
|
td[data-label="Config"] {
|
|
text-align: left;
|
|
}
|
|
|
|
table.table > :not(caption) > * > * {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Slide table content and thumbnails */
|
|
|
|
.playlist-slide-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.playlist-slide-cell-content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.playlist-slide-title {
|
|
display: block;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.playlist-slide-thumb {
|
|
flex: 0 0 auto;
|
|
width: min(5.5rem, calc(5.5rem * (var(--playlist-slide-thumb-aspect-ratio, 16 / 9))));
|
|
min-height: 0;
|
|
max-width: 5.5rem;
|
|
max-height: 5.5rem;
|
|
aspect-ratio: var(--playlist-slide-thumb-aspect-ratio, 16 / 9);
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
background: rgba(15, 23, 42, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.slide-list-thumbnail-button {
|
|
padding: 0;
|
|
border: 0;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.slide-list-thumbnail-button:focus-visible {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.slide-list-preview-frame {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: var(--slide-preview-aspect-ratio, 16 / 9);
|
|
border: 0;
|
|
background: var(--bs-body-bg);
|
|
}
|
|
|
|
#slide-preview-modal .modal-content {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#slide-preview-modal .modal-dialog {
|
|
width: var(--slide-preview-modal-width, min(90vw, 1140px));
|
|
max-width: 90vw;
|
|
}
|
|
|
|
.card .table td[data-label="Thumbnail"] {
|
|
width: 1%;
|
|
padding-inline: 0.5rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td[data-label="Thumbnail"] > .playlist-slide-thumb {
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.playlist-slide-thumb-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.playlist-slide-thumb-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
color: var(--bs-secondary-color, #6c757d);
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
|
|
rgba(15, 23, 42, 0.18);
|
|
font-size: 2.25rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Playlist ordering and groups */
|
|
|
|
.playlist-order-cell {
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
vertical-align: top;
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
.playlist-order-cell-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.playlist-order-stepper {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.02rem;
|
|
}
|
|
|
|
.playlist-group-block-row > td {
|
|
padding: 0.5rem 0.5rem !important;
|
|
border-top: 1px solid var(--bs-border-color) !important;
|
|
border-bottom: 1px solid var(--bs-border-color) !important;
|
|
background: color-mix(in srgb, var(--playlist-group-bg, var(--bs-primary-bg-subtle)) 45%, var(--bs-table-bg)) !important;
|
|
}
|
|
|
|
.playlist-group-icon {
|
|
color: var(--playlist-group-accent, var(--bs-primary));
|
|
}
|
|
|
|
.playlist-group-block-row > td[data-label="Actions"] {
|
|
padding-right: 1.5rem !important;
|
|
}
|
|
|
|
.playlist-group-block-row > td[data-label="Order"] {
|
|
padding-left: 1.5rem !important;
|
|
}
|
|
|
|
.playlist-group-block-slide {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.6rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.playlist-group-block-name {
|
|
flex: 1 1 8rem;
|
|
width: auto;
|
|
min-width: 6rem;
|
|
max-width: 24rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.playlist-group-mode {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
[data-playlist-group-select-controls][hidden],
|
|
[data-playlist-group-repeat-controls][hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.playlist-group-child > td[data-label="Slide"] {
|
|
padding-left: 1.5rem !important;
|
|
}
|
|
|
|
.playlist-group-empty > td {
|
|
height: 3.5rem;
|
|
}
|
|
|
|
.playlist-group-child > td {
|
|
background-color: color-mix(in srgb, var(--playlist-group-bg, var(--bs-primary-bg-subtle)) 45%, var(--bs-table-bg));
|
|
}
|
|
|
|
.table > tbody > tr.playlist-group-block-row > td {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.table > tbody > tr.playlist-group-child > td:first-child {
|
|
box-shadow: inset 4px 0 var(--playlist-group-accent, var(--bs-primary)), inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
|
|
}
|
|
|
|
.playlist-schedule-conflict-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
margin-left: 0.35rem;
|
|
border: 1px solid var(--bs-danger-border-subtle);
|
|
background: var(--bs-danger-bg-subtle);
|
|
color: var(--bs-danger-text-emphasis);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Playlist drag-and-drop states and previews */
|
|
|
|
.playlist-group-block-dragging > td {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.playlist-group-block-placeholder > td {
|
|
border-bottom: 1px dashed var(--bs-border-color) !important;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.playlist-group-drag-preview {
|
|
overflow: hidden;
|
|
padding: 0.65rem;
|
|
border: 1px solid var(--playlist-group-accent, var(--bs-primary));
|
|
border-left-width: 4px;
|
|
border-radius: 0.25rem;
|
|
background: color-mix(in srgb, var(--playlist-group-bg, var(--bs-primary-bg-subtle)) 45%, var(--bs-body-bg));
|
|
box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.32);
|
|
opacity: 0.98;
|
|
}
|
|
|
|
.playlist-group-drag-preview-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding-bottom: 0.45rem;
|
|
border-bottom: 1px solid var(--bs-border-color);
|
|
}
|
|
|
|
.playlist-group-drag-preview-members {
|
|
padding-top: 0.35rem;
|
|
}
|
|
|
|
.playlist-group-drag-preview-member {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
min-width: 0;
|
|
padding: 0.2rem 0;
|
|
}
|
|
|
|
.playlist-group-drag-preview-member img,
|
|
.playlist-group-drag-preview-placeholder {
|
|
flex: 0 0 2.5rem;
|
|
width: 2.5rem;
|
|
height: 1.45rem;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.playlist-group-drag-preview-placeholder {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bs-secondary-bg);
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.playlist-group-drag-preview-member > span:last-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.playlist-group-drag-preview-more {
|
|
padding: 0.25rem 0 0 3.05rem;
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.playlist-drag-handle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.35rem;
|
|
height: 1.35rem;
|
|
line-height: 1;
|
|
cursor: grab !important;
|
|
text-decoration: none;
|
|
touch-action: none;
|
|
}
|
|
|
|
.playlist-drag-handle:hover,
|
|
.playlist-drag-handle:focus {
|
|
cursor: grab !important;
|
|
}
|
|
|
|
.playlist-drag-handle:active,
|
|
.playlist-drag-handle[aria-grabbed="true"] {
|
|
cursor: grabbing !important;
|
|
}
|
|
|
|
.playlist-drag-handle-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.playlist-order-move {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.15rem;
|
|
height: 1.15rem;
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.playlist-order-move:hover,
|
|
.playlist-order-move:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.playlist-drag-handle:active,
|
|
.playlist-drag-handle:hover,
|
|
.playlist-drag-handle:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.playlist-drag-handle:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.playlist-row-ghost {
|
|
background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08) !important;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.playlist-row-ghost.playlist-group-child {
|
|
background: color-mix(in srgb, var(--playlist-group-bg, var(--bs-primary-bg-subtle)) 45%, var(--bs-table-bg)) !important;
|
|
}
|
|
|
|
.playlist-row-dragging {
|
|
box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.18);
|
|
opacity: 0.98;
|
|
}
|
|
|
|
.playlist-row-drag-layer {
|
|
will-change: transform;
|
|
}
|
|
|
|
/* Table sorting */
|
|
|
|
table.table thead th.sortable {
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table.table thead th.sortable .table-sort-indicator {
|
|
font-size: 0.8em;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
table.table thead th.sort-asc .table-sort-indicator,
|
|
table.table thead th.sort-desc .table-sort-indicator {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Account menu and responsive dashboard overrides */
|
|
|
|
.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
|
|
min-height: 100px;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.dashboard-hero-body {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.dashboard-hero-stats {
|
|
grid-template-columns: 1fr;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-action-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.page-header {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-body.table-responsive > table.table > thead th {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
/* Weather previews */
|
|
|
|
.weather-preview-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.weather-preview-card-body {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.weather-preview-card-footer {
|
|
min-height: 3.5rem;
|
|
}
|
|
|
|
.weather-preview-icon {
|
|
font-size: 4rem;
|
|
color: #e0a11a;
|
|
}
|
|
|
|
.weather-preview-forecast-icon {
|
|
display: block;
|
|
font-size: 2rem;
|
|
color: #e0a11a;
|
|
margin: 1rem 0 0.65rem;
|
|
}
|
|
|
|
.weather-daily-forecast {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.weather-daily-forecast > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.weather-daily-forecast {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.weather-daily-forecast {
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.weather-preview-hourly-item {
|
|
width: 7.5rem;
|
|
}
|
|
|
|
/* Gradient stop editor */
|
|
|
|
.gradient-stop-bar {
|
|
position: relative;
|
|
height: 2.25rem;
|
|
padding: 0.45rem 0;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.gradient-stop-bar-track {
|
|
height: 1.35rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: 0.35rem;
|
|
background: var(--bs-secondary-bg);
|
|
}
|
|
|
|
.gradient-stop-bar-handles {
|
|
position: absolute;
|
|
inset: 0 0.25rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.gradient-stop-handle {
|
|
position: absolute;
|
|
top: 0.1rem;
|
|
width: 1rem;
|
|
height: 2rem;
|
|
padding: 0;
|
|
border: 2px solid var(--bs-body-bg);
|
|
border-radius: 0.35rem;
|
|
box-shadow: 0 0 0 1px var(--bs-body-color);
|
|
transform: translateX(-50%);
|
|
cursor: grab;
|
|
pointer-events: auto;
|
|
touch-action: none;
|
|
}
|
|
|
|
.gradient-stop-handle:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Media selection states and large dialogs */
|
|
|
|
.media-picker-item-selected-card .media-picker-item {
|
|
border-color: var(--bs-success);
|
|
box-shadow: 0 0 0 .15rem rgba(var(--bs-success-rgb), .2);
|
|
}
|
|
|
|
.media-picker-item-statuses {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: .5rem;
|
|
margin-top: .35rem;
|
|
min-height: 1.2rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.media-picker-item-statuses [hidden] {
|
|
display: inline;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.media-picker-item-selected {
|
|
color: var(--bs-success-text-emphasis, var(--bs-success));
|
|
font-size: .8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.media-picker-item-current {
|
|
color: var(--bs-info-text-emphasis, var(--bs-info));
|
|
font-size: .8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-dialog.modal-xxl {
|
|
width: calc(100% - 2rem);
|
|
max-width: 1440px;
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.modal-dialog.modal-xxl {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.media-gallery-scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
max-height: none;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding-right: .5rem;
|
|
padding-bottom: 1rem;
|
|
} |