.sp-smart-toolbar-design-library { span { display: flex; height: 36px; padding: 12px; justify-content: center; align-items: center; gap: 8px; border-radius: 2px; background: #6F22DD; color: #FFF; font-size: 13px; line-height: 14px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: all 0.3s ease-in-out; } } .sp-smart-skeleton__image { height: 300px; width: 300px; border-radius: 4px; } .sp-smart-skeleton__circle { height: 300px; width: 300px; border-radius: 50%; } .sp-smart-skeleton__title { height: 20px; width: 100%; border-radius: 4px; } .sp-smart-skeleton__button { height: 40px; width: 90px; border-radius: 4px; } .sp_smart_frequency { position: relative; background-color: #e2e2e2; &.loop { margin-bottom: 10px; &:last-child { margin-bottom: 0; } } overflow: hidden; } .sp_smart_frequency::after { display: block; content: ''; position: absolute; width: 100%; height: 100%; transform: translateX(-100%); background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent)); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); animation: loadings 0.8s infinite; } .skeletonOverflow { overflow: hidden; } @keyframes loadings { 100% { transform: translateX(100%); } } .sp-smart-popup-open { .sp-smart-builder-modal.sp-smart-blocks-layouts { display: block; position: fixed; z-index: 999999; height: 100%; width: 90%; top: 20px; right: 90px; } } /* Modal component for Design template end */ .sp-smart-popup-header { position: sticky; top: 0; z-index: 9999; background: #F5F6FF; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.10); } .sp-smart-popup-header .sp-smart-popup-filter { padding: 30px 5px; max-width: 600px; margin: 0 auto; display: flex; align-items: center; justify-content: center; } .sp-smart-popup-filter-title { position: relative; padding: 0 30px; background-color: #F5F6FF; display: flex; justify-content: space-between; height: 72px; } .sp-smart-popup-filter-title:not(:has(.sp-smart-popup-filter-nav)) { padding-top: 18px; padding-bottom: 18px; height: auto; } .sp-smart-btn-close { color: #fff; svg { margin-right: -1px; } box-shadow: none; cursor: pointer; transition: .3s; border-radius: 4px; border: 1px solid #2F2F2F; background: #2F2F2F; width: 32px; height: 32px; text-align: center; display: flex; align-items: center; justify-content: center; } .sp-smart-btn-close:hover { color: #fff; background: var(--sp-smart-primary-2-400); border-color: var(--sp-smart-primary-2-400); } .sp-smart-btn-close span { font-size: 26px; width: auto; height: auto; vertical-align: middle; } .sp-smart-btn-close:focus { outline: 0; } .sp-smart-popup-filter-image-head { display: flex; align-items: center; svg { color: var(--sp-smart-primary-2-400); } } .sp-smart-popup-filter-image-head svg { width: 35px; height: 23px; } .sp-smart-popup-filter-image-head span { text-transform: capitalize; font-weight: 600; margin-left: 6px; font-size: 15px; } .sp-smart-popup-filter-sync-close { display: flex; align-items: center; justify-content: flex-end; width: 220px; } .sp-smart-popup-filter-sync-close .sp-smart-popup-sync { cursor: pointer; margin-right: 50px; display: flex; gap: 5px; align-items: center; transition: var(--postx-transition-400); } .sp-smart-popup-filter-nav { text-align: center; margin-top: 24px; } .sp-smart-popup-tab-title { padding: 14px; display: inline-block; font-size: 16px; border-left: 1px solid transparent; border-right: 1px solid transparent; color: #091f36; line-height: 20px; } .sp-smart-popup-tab-title.sp-smart-active { background-color: #fff; border-left: 1px solid #6F22DD; border-right: 1px solid #6F22DD; border-top: 1px solid #6F22DD; border-top-right-radius: 3px; border-top-left-radius: 3px; color: #6F22DD; position: relative; // border-bottom: 2px solid transparent; } // .sp-smart-popup-tab-title.sp-smart-active::after { // content: ""; // position: absolute; // bottom: -4px; // left: -1px; // width: calc(100% + 3px); // height: 4px; // background-color: #fff; // } .sp-smart-popup-tab-title:hover { cursor: pointer; } .sp-smart-builder-modal-shadow { right: 0; bottom: 0; background-color: rgba(0, 0, 0, .8); z-index: 100000; position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; backdrop-filter: blur(4px); } /* ========== Header Part ========== */ .sp-smart-popup-wrap { width: 100%; margin: 30px auto; position: relative; -ms-overflow-style: none; scrollbar-width: none; overflow-x: auto; background: #fff; max-width: 97%; border-radius: 5px; } .sp-smart-template-wrap { display: flex; } .sp-smart-template-wrap .sp-smart-pattern-list-container { width: -webkit-fill-available; width: -moz-available; position: relative; height: 88vh; overflow-y: auto; overflow-x: hidden; } .sp-smart-pattern-list-container .sp-smart-pattern-grid, .sp-smart-pattern-list-container .sp-smart-post-starter-content { background: #fff !important; } .sp-smart-pattern-list-container { padding: 50px 48px 16px; } .sp-smart-popup-wrap .sp-smart-pattern-list-container .sp-smart-pattern-grid .sp-smart-item-list { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; border-radius: 4px; border: 1px solid #efe6fb; background: #FFF; // box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.08); padding: 20px; transition: all 0.3s ease; img { width: 100%; } &:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); } } // .sp-smart-pattern-card-body { // background: #ffffff; // border-radius: 4px; // box-shadow: 0 1px 2px 0 rgba(8, 40, 70, 0.15); // display: flex; // flex-direction: column; // gap: 10px; // justify-content: space-between; // padding: 10px; // } // .sp-smart-popup-sync { // margin-left: 2px; // margin-top: 2px; // } .sp-smart-pattern-list-container .sp-smart-pattern-grid, .sp-smart-pattern-list-container .sp-smart-post-starter-content { display: grid; gap: 30px; padding: 32px 0; } .sp-smart-pattern-list-container .sp-smart-pattern-col2 { grid-template-columns: repeat(2, 1fr); } .sp-smart-pattern-list-container .sp-smart-pattern-col3 { grid-template-columns: repeat(3, 1fr); } .sp-smart-item-list-info { display: flex; justify-content: space-between; align-items: center; text-transform: capitalize; cursor: pointer; a { color: inherit; text-decoration: none; } } .sp-smart-item-list-info span { font-size: 16px; font-weight: 500; } .smart-post-action-btn a, .smart-post-action-btn span { height: 36px; line-height: 36px; padding: 0 14px; color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; text-transform: uppercase; position: relative; } .sp-smart-import-or-pro-tooltip { position: absolute; background-color: #3c434a; color: #fff; border-radius: 4px; top: calc(-100% - 10px); white-space: nowrap; left: 50%; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; font-size: 11px; text-transform: capitalize; transition: all 0.3s ease-in-out; span { text-transform: none; padding: 0 10px; } &::before { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #3c434a; } } .sp-smart-import-btn:hover .sp-smart-import-or-pro-tooltip, .sp-smart-btn-pro:hover .sp-smart-import-or-pro-tooltip { opacity: 1; pointer-events: auto; visibility: visible; } .smart-post-action-btn a { svg { vertical-align: middle; margin-right: 6px; margin-top: -3px; } } .smart-post-action-btn .sp-smart-import-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; border-radius: 4px; background-color: #3D9E56; transition: background-color 400ms; cursor: auto; svg { vertical-align: middle; margin-top: -2px; margin-right: 5px; color: #fff; } } // .smart-post-action-btn .sp-smart-import-btn:hover { // background-color: #18dda0; // } .smart-post-action-btn .sp-smart-btn-pro { border-radius: 4px; background: #EA7E11; transition: background-color 400ms; display: flex; align-items: center; cursor: auto; } // .smart-post-action-btn .sp-smart-btn-pro:hover { // background-color: #ff9336; // } .smart-post-action-btn:has(.sp-smart-pattern-wishlist) { display: flex; align-items: center; gap: 8px; cursor: pointer; } .sp-smart-pattern-wishlist.sp-smart-pattern-wishlist-active { background: #404040; } .sp-smart-pattern-wishlist.sp-smart-pattern-wishlist-active svg { fill: #fff !important; } .smart-post-action-btn .sp-smart-pattern-wishlist { height: 36px; line-height: 36px; width: 36px; padding: 0; color: #757575; display: flex; align-items: center; border-radius: 50%; justify-content: center; border: 1px solid #F0F0F0; background: #FFF; box-shadow: 1px 1px 5px 1px rgba(76, 189, 246, 0.10); svg { height: 16px; width: 16px; color: #F26262; } // i { // margin: auto; // line-height: 36px; // font-size: 14px; // } } .sp-smart-pattern-img { display: block; width: 100%; } .sp-smart-pattern-overlay { font-weight: 600; width: 100%; height: 100%; justify-content: center; align-items: center; top: 0; left: 0; position: absolute; display: flex; background: rgba(0, 0, 0, 0); transition: all 0.3s ease; } .sp-smart-item-list-overlay { cursor: pointer; box-sizing: border-box; text-align: center; position: relative; line-height: 0; border-radius: 6px; overflow: hidden; border: 1px solid transparent; } .sp-smart-item-list:hover .sp-smart-pattern-overlay { background: rgba(0, 0, 0, 0.7); border-radius: 4px; } .sp-smart-overlay-view { opacity: 0; border-radius: 4px; border: 1px solid #E0E0E0; background: rgba(255, 255, 255, 0.10); display: flex; padding: 12px 16px; justify-content: center; align-items: center; gap: 6px; text-decoration: none; color: #FFF; font-size: 14px; font-style: normal; font-weight: 600; line-height: 20px; transition: all 0.3s ease-in-out; &:focus { color: #FFF; } } .sp-smart-item-list:hover .sp-smart-overlay-view { opacity: 1; } .sp-smart-overlay-view:hover { opacity: 1; background: #6F22DD; border-color: #6F22DD; text-decoration: none; color: #FFF; } // Error Boundary Styles .sp-smart-error-boundary { display: flex; align-items: center; justify-content: center; min-height: 400px; padding: 40px; background: #fff; border-radius: 8px; .sp-smart-error-content { text-align: center; max-width: 500px; h3 { color: #d63638; margin-bottom: 16px; font-size: 20px; } p { margin-bottom: 24px; color: #50575e; line-height: 1.6; } .sp-smart-error-details { margin: 20px 0; text-align: left; background: #f6f7f7; border-radius: 4px; summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: #50575e; border-bottom: 1px solid #dcdcde; } pre { padding: 16px; margin: 0; font-size: 12px; color: #646970; overflow-x: auto; white-space: pre-wrap; } } .sp-smart-retry-button { background: var(--sp-smart-primary-2-400, #6F22DD); color: #fff; border: none; padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease; &:hover { background: var(--sp-smart-primary-2-500, #5a1bb3); } &:focus { outline: 2px solid var(--sp-smart-primary-2-400, #6F22DD); outline-offset: 2px; } } } } .sp-smart-image-rotate { font-size: 30px; padding: 20px 0; display: block; line-height: 1.5; } .sp-smart-template-library-sidebar-wrapper { position: sticky; top: 0px; width: 320px; display: flex; flex-direction: column; margin: 18px 0 0 48px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(224, 224, 224) transparent; border-radius: 0px; padding: 0px; gap: 16px; /* Firefox Configuration */ scrollbar-width: thin; scrollbar-color: transparent transparent; /* Opacity 0 by default */ transition: scrollbar-color 0.50s ease-in-out; /* 2-Second smooth transition */ /* Chrome, Safari, and Edge Configuration */ &::-webkit-scrollbar { width: 6px !important; /* Always allocated so layout doesn't shift */ } &::-webkit-scrollbar-track { background: transparent !important; } &::-webkit-scrollbar-thumb { /* Default: Opacity 0 (completely transparent gray) */ background-color: rgba(210, 210, 210, 0) !important; border-radius: 4px !important; /* Tells WebKit to transition the color change smoothly over 2 seconds */ transition: scrollbar-color 0.50s ease-in-out; /* Super fast transition */ } /* --- Hover State: Smoothly Fade In over 2 Seconds --- */ &:hover { /* Firefox Fade In */ scrollbar-color: rgb(210, 210, 210) transparent; /* Chrome/Safari/Edge Fade In */ &::-webkit-scrollbar-thumb { background-color: rgba(210, 210, 210, 1) !important; /* Opacity 1 */ } } .sp-smart-template-library-sidebar-header { color: #00073a; font-size: 18px; font-style: normal; font-weight: 600; line-height: 20px; // margin: 28px 0 28px; display: flex; align-items: center; gap: 8px; /* 1. Targets the Block Types header specifically */ &.Block-Types { margin: 32px 0 28px; } /* 2. Optional: Targets the Pattern Types header specifically */ &.Pattern-Types { margin: 28px 0 28px; } } // .sp-smart-template-filter-category > .sp-smart-template-library-sidebar-header:first-child { // margin-top: 2px; // } .sp-smart-sidebar-category-filter { display: flex; flex-direction: column; gap: 0; } .sp-smart-sidebar-option { display: flex; align-items: center; cursor: pointer; padding: 12px; border-radius: 5px; transition: .2s; margin-bottom: 4px; background: 0 0; input[type=radio] { margin: 0 12px 0 0; width: 13px; height: 13px; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; position: relative; border-radius: 50%; background: #fff; border: 1px solid #7983a6; flex-shrink: 0; box-sizing: border-box; display: none; } .sp-smart-radio-label { flex: 1; font-size: 14px; color: #00073a; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 500; } input[type=radio]:checked+.sp-smart-radio-label { color: var(--sp-smart-primary-2-600); } &:hover { background: var(--sp-smart-primary-2-50); } &.sp-active { background: var( --sp-smart-primary-2-50 ); } } } .sp-smart-popup-wrap { .sp-smart-template-wrap { position: relative; height: calc(100% - 90px); } .sp-smart-pattern-list-container { height: 100%; } } // Starter Site Design. .sp-smart-post-starter-content { h1,h2,h3,h4,h5,h6,p { margin: 0; } .sp-smart-starter-img { img { width: 100%; height: 100%; } } .sp-smart-item-list { border-radius: 4px; border: 1px solid #E0E0E0; background: #FFF; box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.08); } .sp-smart-item-list-info { padding: 16px; } .sp-smart-item-list-overlay { margin: 0 16px 16px; } .sp-ready-page-card { .sp-smart-item-list-overlay { margin: 16px 16px 0; } } .sp-smart-starter-overlay { font-weight: 600; width: 100%; height: 100%; justify-content: center; align-items: center; top: 0; left: 0; position: absolute; display: flex; flex-direction: column; gap: 16px; background: rgba(0, 0, 0, 0); } .sp-smart-item-list:hover .sp-smart-starter-overlay { background: rgba(0, 0, 0, 0.7); border-radius: 4px; } .sp-starter-site-title { color: #1E1E1E; font-size: 16px; font-style: normal; font-weight: 600; line-height: 120%; text-transform: capitalize; } .sp-starter-site-template-count { color: #757575; font-size: 13px; font-style: normal; font-weight: 500; line-height: 120%; text-transform: capitalize; margin-top: 4px; } .smart-post-action-btn { display: flex; align-items: center; gap: 8px; .sp-smart-starter-wishlist { display: flex; width: 36px; height: 36px; justify-content: center; align-items: center; gap: 7px; border-radius: 50%; border: 1px solid #F0F0F0; background: #FFF; box-shadow: 1px 1px 5px 1px rgba(76, 189, 246, 0.10); padding: 0; svg { width: 16px; height: 16px; color: var(--sp-smart-primary-2-400); } } .sp-smart-btn-free { border-radius: 4px; background-color: #3D9E56; } } } .sp-smart-post-starter-site-selected-site-container { display: flex; overflow: hidden; height: calc( 100% - 72px ); .sp-smart-post-starter-site-wrapper { display: flex; flex-direction: column; gap: 24px; padding: 32px 48px; width: 100%; } .sp-smart-post-starter-site-header-content { display: flex; flex-direction: row; justify-content: space-between; align-items: center; border-radius: 6px; border: 1px solid #ECECEC; padding: 16px 32px; box-sizing: border-box; width: 100%; .sp-smart-info-area { display: flex; gap: 16px; align-items: center; text-transform: capitalize; button.sp-smart-info-text { cursor: pointer; padding: 0; } .sp-smart-info-text { color:#2F2F2F; font-size: 16px; font-style: normal; font-weight: 600; line-height: 1.2; border: none; background-color: transparent; } .sp-smart-info-divider { font-size: 20px; line-height: 1; color: #ECEDF0; } } .sp-smart-button-area { display: flex; align-items: center; gap: 16px; .sp-smart-preview-btn, .sp-smart-import-btn { display: flex; padding: 12px 16px; justify-content: center; align-items: center; gap: 6px; align-self: stretch; border-radius: 4px; color: #fff; background: #3D9E56; font-size: 14px; border: none; cursor: pointer; } .sp-smart-preview-btn { color: #757575; border: 1px solid #E0E0E0; background: transparent; text-decoration: none; } } } .spsp-starter-site-content-container { border-radius: 6px; border: 1px solid #F0F0F0; background: #FFF; overflow: hidden; } .spsp-starter-site-content-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; .spsp-starter-site-wrapper { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: #F5F6FF; box-shadow: 1px 0 4px 0 rgba(0, 0, 0, 0.10); height: calc( 100vh - 340px ); overflow-y: scroll; &::-webkit-scrollbar { width: 4px; background-color: transparent; } &::-webkit-scrollbar-thumb { width: 3px; background-color: var(--sp-smart-primary-2-100); border-radius: 20px; } .spsp-starter-site-note { display: flex; gap: 6px; align-self: flex-start; font-size: 12px; font-style: normal; font-weight: 400; line-height: 20px; color: #3D9E56; border-radius: 2px; background: #3d9e561a; padding: 2px 6px; margin: 0; a { color: #3D9E56; text-decoration-line: underline; text-decoration-style: solid; text-decoration-skip-ink: none; text-decoration-thickness: auto; text-underline-offset: 25%; } } } } .spsp-stater-sites-card-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; .sp-page-card-wrapper { padding: 8px; background: #FFF; border: 1px solid #E0E0E0; border-radius: 4px; cursor: pointer; &.sp-active { border: 1px solid #6F22DD; } .sp-page-card-content { display: flex; flex-direction: column; gap: 8px; height: 100%; .sp-page-card-image { height: 100%; img { width: 100%; height: 100%; } } .sp-page-card-title { color: #2F2F2F; text-align: center; font-size: 14px; font-style: normal; font-weight: 600; line-height: 1.2; } } } } .spsp-starter-site-page-preview { .spsp-starter-site-selected-page-preview { height: calc( 100vh - 320px ); overflow-y: scroll; &::-webkit-scrollbar { width: 4px; background-color: transparent; } &::-webkit-scrollbar-thumb { width: 3px; background-color: var(--sp-smart-primary-2-100); border-radius: 20px; } } } .spsp-starter-site-selected-page-preview { img { width: 100%; height: auto !important; } } .sp-smart-post-page-import { width: 16px; height: 16px; svg { width: 16px; height: 16px; } } } .sp-smart-post-starter-container { .sp-smart-page-import { background-color: #3D9E56; height: 36px; line-height: 36px; padding: 0 14px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; border-radius: 4px; cursor: pointer; .sp-smart-post-page-import { display: flex; svg { width: 16px; height: 16px; } } } } .sp-rotate svg { animation: rotate 1.5s linear infinite; } @keyframes rotate { to { transform: rotate(360deg); } }