453 lines
12 KiB
CSS
Vendored
453 lines
12 KiB
CSS
Vendored
/* XB behavior glue only. Native FUC styles control primary geometry. */
|
|
.preview-note{display:none!important}body[data-native-mode] .native-unavailable{cursor:not-allowed}body[data-native-mode=user] .main-menu{top:0}body[data-native-mode=user] .main-menu.menu-fixed{position:fixed;top:0}body[data-native-mode=user] .dropdown-menu.show{display:block}body[data-native-mode=user] .navigation-main a{cursor:pointer}body[data-native-mode=user] .nav-link.active{cursor:default}.native-donut{margin:20px auto;display:grid;place-items:center;width:220px;height:220px;border-radius:50%;background:conic-gradient(#7d72f1 var(--remaining),#ff9f43 0)}.native-donut>span{background:#fff;border-radius:50%;width:180px;height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column}.native-donut small{font-size:12px;color:#999}.native-donut strong{font-size:20px;margin-top:8px}.dark-layout .native-donut>span{background:#10163a}body.native-public{background:#fff}.native-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:9999;background:#292733;color:white;border-radius:5px;padding:12px 22px}.native-public .hero-bottom-shape img{max-width:100%}body[data-native-mode=user] .tab-pane{display:none}body[data-native-mode=user] .tab-pane.active{display:block}
|
|
|
|
|
|
/* Runtime accessibility and source AJAX fragments only. */
|
|
body[data-native-mode=user] .page-wrapper{margin-left:260px;padding:7rem 2.2rem 0}body.modal-open{overflow:hidden}.modal.show{overflow-y:auto}.modal-body p{overflow-wrap:anywhere}.native-toast{max-width:90vw}body[data-native-mode=user] .table-responsive{max-width:100%;overflow-x:auto}body[data-native-mode=user] .modal{z-index:1050}body[data-native-mode=user] .modal-backdrop{z-index:1040}body[data-native-mode=user] .faq [hidden]{display:none!important}body[data-native-mode=user] .native-empty{padding:2rem;text-align:center}@media(max-width:1199.98px){body[data-native-mode=user] .page-wrapper{margin-left:0;padding:7rem 1rem 0}}
|
|
|
|
/* Extend the scroll clip behind the transparent brand header without moving the rows. */
|
|
body[data-native-mode=user] .main-menu {
|
|
--fuc-menu-shadow-bleed: 10px;
|
|
}
|
|
|
|
body[data-native-mode=user] .main-menu > .navbar-header {
|
|
z-index: 1;
|
|
}
|
|
|
|
body[data-native-mode=user] .main-menu .main-menu-content {
|
|
margin-block-start: calc(-1 * var(--fuc-menu-shadow-bleed));
|
|
height: calc(100% - 6rem + var(--fuc-menu-shadow-bleed)) !important;
|
|
}
|
|
|
|
body[data-native-mode=user] .main-menu .navigation-main {
|
|
padding-block-start: var(--fuc-menu-shadow-bleed);
|
|
}
|
|
|
|
@media (max-width: 1199.98px) {
|
|
body[data-native-mode=user] .main-menu .main-menu-content {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior-y: contain;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
body[data-native-mode=user] .main-menu .main-menu-content::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
[data-dashboard-notice] :is(.card-header h4, .card-content :not(i, svg, svg *)) {
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
/* The intermediate layout stacks all four stats beside the welcome card. */
|
|
@media (min-width: 992px) and (max-width: 1199.98px) {
|
|
.fuc-dashboard-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.fuc-dashboard-summary > div {
|
|
grid-column: 2;
|
|
max-width: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
.fuc-dashboard-summary > .fuc-dashboard-welcome {
|
|
display: flex;
|
|
grid-area: 1 / 1 / span 2;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.fuc-dashboard-welcome > .card,
|
|
.fuc-dashboard-welcome .card-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.fuc-dashboard-welcome .card-content {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
/* The dashboard columns and sidebar can narrow the tutorial card independently of the viewport. */
|
|
.card-body:has(> .dashboard-tabs) {
|
|
container: fuc-tutorials / inline-size;
|
|
}
|
|
|
|
.dashboard-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.dashboard-tabs > .nav-item {
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.dashboard-tabs .nav-link {
|
|
min-width: 0;
|
|
padding-inline: min(1.5rem, 12%);
|
|
}
|
|
|
|
@container fuc-tutorials (min-width: 480px) {
|
|
.dashboard-tabs {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
html:has(> body[data-native-mode=user][data-native-page=dashboard]) {
|
|
overflow-x: clip;
|
|
}
|
|
|
|
#dashboard-analytics .tab-pane .card-spacer-x > .d-flex {
|
|
flex-wrap: wrap;
|
|
gap: .65rem;
|
|
}
|
|
|
|
#dashboard-analytics .tab-pane .card-spacer-x > .d-flex > .d-flex {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
#dashboard-analytics .tab-pane .card-spacer-x > .d-flex > .d-flex:last-child {
|
|
flex-wrap: wrap;
|
|
row-gap: .5rem;
|
|
}
|
|
|
|
#dashboard-analytics .card-stats .row > .col {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
#dashboard-analytics :is(.btn-sub, .btn-shadowrocket) {
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
}
|
|
|
|
#dashboard-analytics #donut-chart {
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
/* Read-only unsupported fields retain the source input appearance. */
|
|
body[data-native-mode=auth] .form-control[readonly]{background-color:#fff;opacity:1}
|
|
|
|
/* iOS zooms focused controls below 16px and keeps that visual zoom after SPA
|
|
navigation. Size the controls themselves; never disable the user's zoom. */
|
|
@media (max-width: 1199.98px), (pointer: coarse) {
|
|
body[data-native-mode] :is(input:not([type=checkbox]):not([type=radio]), textarea, select) {
|
|
font-size: max(16px, 1rem);
|
|
}
|
|
}
|
|
|
|
/* Enlarge the login mark without shifting the form below it. */
|
|
.auth-wrapper .card-body:has(> #login_form) .fuc-auth-mark {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Keep the approved legacy-page sidebar compensation in the original menu transition. */
|
|
body[data-native-mode=user] .page-wrapper{transition:300ms ease all}
|
|
@media(min-width:1200px){body[data-native-mode=user].menu-collapsed .page-wrapper{margin-left:80px}}
|
|
|
|
/* Tabler's small negative spacing maps to a much larger Cool utility. Keep
|
|
document metadata on its own line within the approved usable legacy layout. */
|
|
body[data-native-mode=user][data-native-page=knowledge] .list-group-item .mt-n1{margin-top:0!important}
|
|
|
|
/* Keep the top bar in the page flow with the original desktop and mobile widths. */
|
|
body[data-native-mode=user] .header-navbar.floating-nav {
|
|
position: relative;
|
|
right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
body[data-native-mode=user] .header-navbar-shadow {
|
|
display: none;
|
|
}
|
|
|
|
html body[data-native-mode=user] .content.app-content .content-wrapper {
|
|
margin-top: 0;
|
|
}
|
|
|
|
body[data-native-mode=user] .page-wrapper {
|
|
padding-top: 1.1rem;
|
|
}
|
|
|
|
/* Short pages reach the viewport bottom. Long pages keep the footer in flow. */
|
|
body[data-native-mode=user] #app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
}
|
|
|
|
body[data-native-mode=user] #app > .footer {
|
|
margin-top: auto;
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
body[data-native-mode=user].vertical-menu-modern #app > .footer {
|
|
margin-left: 260px;
|
|
transition: margin-left 300ms ease;
|
|
}
|
|
|
|
body[data-native-mode=user].menu-collapsed:not(:has(.main-menu.expanded)) #app > .footer {
|
|
margin-left: 80px;
|
|
}
|
|
}
|
|
|
|
body[data-native-mode=user]:has(#cw-bubble-holder .woot-elements--right) #app > .footer {
|
|
padding-right: 100px;
|
|
}
|
|
|
|
body[data-native-mode=user].modal-open #cw-bubble-holder {
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.plan-action-links,
|
|
.checkout-modal-actions {
|
|
gap: .5rem;
|
|
}
|
|
|
|
.plan-period-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .5rem;
|
|
padding-inline: .8rem;
|
|
}
|
|
|
|
.fuc-purchase-card {
|
|
max-width: 500px;
|
|
}
|
|
|
|
#fuc-checkout-modal .modal-content {
|
|
--checkout-inset: clamp(1rem, 4vw, 1.5rem);
|
|
}
|
|
|
|
#fuc-checkout-modal :is(.modal-header, .modal-body, .modal-footer) {
|
|
padding: .875rem var(--checkout-inset);
|
|
}
|
|
|
|
/* Keep the cards' shadow inside the scrollable part of the dialog. */
|
|
#fuc-checkout-modal .modal-body:has(.fuc-payment-options) {
|
|
padding-block-end: 1.75rem;
|
|
}
|
|
|
|
#fuc-checkout-modal .modal-header {
|
|
align-items: center;
|
|
}
|
|
|
|
body[data-native-mode=user] #fuc-checkout-modal .modal-header .close {
|
|
margin: 0 0 0 auto;
|
|
transform: none;
|
|
}
|
|
|
|
.fuc-checkout-product {
|
|
gap: .5rem;
|
|
margin-bottom: .75rem;
|
|
}
|
|
|
|
#fuc-checkout-modal [data-order-settlement] {
|
|
margin-bottom: .875rem;
|
|
}
|
|
|
|
#fuc-checkout-modal [data-order-settlement] > div {
|
|
margin-bottom: .375rem !important;
|
|
}
|
|
|
|
.fuc-checkout-product,
|
|
[data-order-settlement] > [data-settlement-divider] {
|
|
border-bottom: 1px solid rgba(136, 136, 136, .25);
|
|
padding-bottom: .5rem;
|
|
}
|
|
|
|
#fuc-checkout-modal [data-order-settlement] > :last-child {
|
|
border-top: 1px solid rgba(136, 136, 136, .25);
|
|
margin-top: .5rem;
|
|
padding-top: .5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#fuc-checkout-modal [data-order-settlement] > [data-settlement-divider] + :last-child {
|
|
border-top: 0;
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
#fuc-checkout-modal #payment-result:empty {
|
|
display: none;
|
|
}
|
|
|
|
#fuc-checkout-modal .modal-footer:empty {
|
|
display: none;
|
|
}
|
|
|
|
.fuc-payment-methods {
|
|
min-width: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.fuc-payment-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 10.5rem));
|
|
gap: 1rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.fuc-payment-options .fuc-payment-choice .nav-link {
|
|
min-width: 0;
|
|
min-height: 10.5rem;
|
|
justify-content: center;
|
|
gap: .625rem;
|
|
padding: .875rem .5rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.fuc-payment-choice .nav-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.fuc-payment-options {
|
|
/* Keep the original card width from the three-column row with 2rem gutters. */
|
|
grid-template-columns: repeat(3, calc((100% - 4rem) / 3));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.fuc-payment-options {
|
|
gap: .75rem;
|
|
}
|
|
|
|
.fuc-payment-options .fuc-payment-choice .nav-link {
|
|
min-height: 7rem;
|
|
gap: .5rem;
|
|
}
|
|
|
|
.fuc-payment-choice .nav-icon .icon-2x {
|
|
font-size: 1.75rem !important;
|
|
}
|
|
|
|
.fuc-payment-choice .fuc-payment-icon {
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
}
|
|
}
|
|
|
|
.fuc-payment-choice {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
#fuc-checkout-modal .checkout-modal-actions > .btn {
|
|
margin: 0;
|
|
}
|
|
|
|
.btn.btn-order-refresh {
|
|
color: #855b00;
|
|
background-color: transparent;
|
|
border-color: #c38c16;
|
|
}
|
|
|
|
.btn.btn-order-refresh[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
body.dark-layout .btn.btn-order-refresh {
|
|
color: #f5c451;
|
|
border-color: #f5c451;
|
|
}
|
|
|
|
.btn.btn-order-refresh:is(:hover, :active) {
|
|
background-color: rgba(245, 196, 81, .16);
|
|
}
|
|
|
|
.btn.btn-order-refresh:focus-visible {
|
|
outline: 2px solid #c38c16;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.fuc-payment-choice input:focus-visible + .nav-link {
|
|
outline: 2px solid currentColor;
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.fuc-payment-icon {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* The original floating close control protrudes beyond narrow viewports. */
|
|
@media (max-width: 575.98px) {
|
|
body[data-native-mode=user] .modal .modal-header .close {
|
|
margin: 0 0 0 auto;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
body[data-native-mode=user] .card-profile-stats > div {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: .5rem;
|
|
}
|
|
|
|
body[data-native-mode=user] .card-profile-stats .heading {
|
|
font-size: 1.1rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
body[data-native-mode=user] [data-fuc-richtext] {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
body[data-native-mode=user] [data-fuc-richtext] img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
body[data-native-mode=user] [data-fuc-richtext] img:is(
|
|
[src="/theme/Fuc/assets/native/images/brand/fuc-notice-bulb.svg"],
|
|
[src="/theme/Fuc/assets/native/images/brand/fuc-notice-tag.svg"]
|
|
) {
|
|
inline-size: 1.4em;
|
|
block-size: 1.4em;
|
|
margin-inline-end: .28em;
|
|
vertical-align: -.3em;
|
|
object-fit: contain;
|
|
}
|
|
|
|
body[data-native-mode=user] .fuc-pagination > .btn {
|
|
cursor: pointer;
|
|
}
|
|
|
|
body[data-native-page=orders] #data-table {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
body[data-native-page=orders] #data-table :is(th, td):last-child {
|
|
width: 1%;
|
|
text-align: right;
|
|
}
|
|
|
|
body[data-native-page=orders] #data-table .plan-action-links {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
body[data-native-page=orders] .fuc-pagination {
|
|
gap: .65rem;
|
|
padding: .5rem 1rem 1rem;
|
|
flex-wrap: wrap;
|
|
}
|