@import './settings/controls'; @import './settings/input'; @import './settings/tab-settings'; @import './settings/tab-styling'; @import './settings/tab-paylater-configurator'; // Container and Tab Settings .ppcp-r-tabs.settings, .ppcp-r-container--settings { --max-container-width: var(--max-width-settings); .ppcp-r-inner-container { max-width: var(--max-container-width); } } // Todo List and Feature Items .ppcp-r-todo-items { display: flex; flex-direction: column; } .ppcp-r-todo-item { position: relative; border-bottom: 1px solid $color-gray-300; padding-bottom: 16px; padding-top: 16px; opacity: 1; transform: translateY(0); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); &:first-child, &.is-dismissing:first-child + .ppcp-r-todo-item { padding-top: 0; } &:last-child, &:not(.is-dismissing):has(+ .is-dismissing:last-child) { border-bottom: none; padding-bottom: 0; } &.is-dismissing { opacity: 0; transform: translateY(-4px); height: 0; margin: 0; padding: 0; border: 0; .ppcp-r-todo-item__inner { height: 0; padding: 0; margin: 0; } } &:hover { cursor: pointer; .ppcp-r-todo-item__inner { .ppcp-r-todo-item__description { color: $color-text-text; } } } &.is-completed { .ppcp-r-todo-item__icon { border-style: solid; background-color: $color-blueberry; display: flex; align-items: center; justify-content: center; .dashicons { color: #fff; font-size: 18px; width: 18px; height: 18px; } } .ppcp-r-todo-item__content { text-decoration: line-through; } } p { @include font(14, 20, 400); } &__inner { position: relative; height: auto; overflow: hidden; display: flex; align-items: center; gap: 18px; width: 100%; padding-right: 36px; transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1); } &__dismiss { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background-color: transparent; border: none; padding: 4px; cursor: pointer; color: $color-gray-400; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; opacity: 1; &:hover { background-color: $color-gray-100; color: $color-gray-700; } .dashicons { font-size: 14px; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; } } .ppcp-r__checkbox { .components-flex { gap: 12px; } label { @include font(13, 20, 400); color: $color-blueberry; } } &__description { @include font(13, 20, 400); color: $color-blueberry; } &__icon { border: 1px dashed #949494; background: #fff; border-radius: 50%; width: 24px; height: 24px; flex-shrink: 0; } } .ppcp-r-tab-overview-features { --block-header-gap: 12px; } .ppcp-r-tab-overview-help { --block-header-gap: 8px; } .ppcp-r-settings-block__feature { .ppcp--action-buttons { display: flex; gap: 18px; .components-button.is-tertiary { padding-left: 0; padding-right: 0; } } .ppcp--item-notes { display: flex; flex-direction: column; span { font-weight: 500; } margin-top: 24px; } } // Feature Refresh .ppcp-r-feature-refresh { display: flex; gap: 12px; margin-bottom: 24px; &__row { display: flex; align-items: center; } &__content { width: 100%; &-title { @include font(16, 20, 700); color: $color-black; display: block; margin: 0 0 4px 0; } p { @include font(12, 20, 400); color: $color-gray-700; margin: 0; } } button { display: flex; gap: 4px; @include font(13, 20, 400); } } // Payment Methods .ppcp-r-payment-methods { display: flex; flex-direction: column; gap: 48px; } .ppcp-highlight { animation: ppcp-highlight-fade 2s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid $color-blueberry; border-radius: var(--container-border-radius); position: relative; z-index: 1; } @keyframes ppcp-highlight-fade { 0%, 20% { background-color: rgba($color-blueberry, 0.08); border-color: $color-blueberry; border-width: 1px; } 100% { background-color: transparent; border-color: $color-gray-300; border-width: 1px; } }