.settings_page_njt-duplicate-settings .wrap {
margin: 0;
}
.settings_page_njt-duplicate-settings #wpbody-content {
padding: 0;
overflow-x: hidden !important;
min-height: calc(100vh - 32px);
}
@media (min-width: 783px) {
.settings_page_njt-duplicate-settings #wpbody-content {
padding-left: 0;
}
}
:root {
--large-gap: 40px;
--main-gap: 24px;
}
@media (max-width: 960px) {
:root {
--large-gap: 24px;
}
}
@media (max-width: 782px) {
:root {
--large-gap: 16px;
--main-gap: 16px;
}
}
@keyframes loading-fade {
0% {
opacity: 0.7;
}
50% {
opacity: 1;
}
to {
opacity: 0.7;
}
}
.njt-duplicate-layout * {
box-sizing: border-box;
}
.njt-duplicate-layout-primary {
margin: 40px 0 0 40px;
margin: 40px 0 0 var(--large-gap);
}
@media (min-width: 961px) {
.njt-duplicate-layout-primary {
margin-top: 40px;
}
}
@media (max-width: 782px) {
.njt-duplicate-layout-primary {
margin-top: 30px;
}
}
.njt-duplicate-layout .njt-duplicate-layout-main {
padding-right: 40px;
padding-right: var(--large-gap);
max-width: 100%;
}
.njt-duplicate-settings {
max-width: 1032px;
margin: 0 auto;
}
.njt-duplicate-settings .njt-duplicate-card {
margin-bottom: 50px;
background: #fff;
border-radius: 3px;
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
transition: box-shadow 0.2s cubic-bezier(0.4, 1, 0.4, 1);
}
.njt-duplicate-settings .njt-duplicate-card-header {
padding: 5px 24px;
border-bottom: 1px solid #e2e4e7;
}
.njt-duplicate-settings .njt-duplicate-card-title {
font-size: 20px;
line-height: 10px;
font-weight: 400;
}
.njt-duplicate-settings .njt-duplicate-card-description {
font-size: 14px;
line-height: 20px;
font-weight: 400;
margin-top: 4px;
}
.njt-duplicate-settings .njt-duplicate-card .njt-duplicate-card-body {
padding: 16px 24px;
}
.njt-duplicate-control {
display: flex;
margin-bottom: 25px;
}
@media (max-width: 782px) {
.njt-duplicate-base-control .njt-duplicate-base-control-field .njt-duplicate-select-control-input {
font-size: 16px;
}
}
.njt-duplicate-base-control {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
font-size: 13px;
margin-bottom: 16px;
}
.njt-duplicate-base-control .njt-duplicate-base-control-field {
margin-bottom: 8px;
}
.njt-duplicate-control .njt-duplicate-base-control-label {
margin-right: 40px;
min-width: 140px;
cursor: auto;
}
@media (max-width: 600px) {
.njt-duplicate-control .njt-duplicate-base-control-label {
min-width: 110px;
}
}
.njt-duplicate-control .njt-duplicate-text {
line-height: 30px;
}
.njt-duplicate-base-control .njt-duplicate-base-control-help {
margin-top: -8px;
font-style: italic;
}
.njt-duplicate-base-control .njt-duplicate-base-control-help .njt-duplicate-default-text {
font-weight: 700;
}
.njt-duplicate-text-control-input, .njt-duplicate-text-control-input[type="text"] {
width: 100%;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
font-size: 16px;
line-height: normal;
}
@media (min-width: 600px) {
.njt-duplicate-text-control-input, .njt-duplicate-text-control-input[type="text"] {
font-size: 13px;
line-height: normal;
}
}
/* Style Checkbox */
.njt-duplicate-checkbox-control-input-container {
position: relative;
display: inline-block;
margin-right: 12px;
vertical-align: middle;
width: 18px;
height: 18px;
}
.njt-duplicate-checkbox-control-input[type="checkbox"] {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
border: 1px solid #7e8993;
border-radius: 2px;
background: #fff;
color: #555;
clear: none;
cursor: pointer;
display: inline-block;
line-height: 0;
margin: 0 4px 0 0;
outline: 0;
padding: 0 !important;
text-align: center;
vertical-align: top;
width: 18px;
height: 18px;
-webkit-appearance: none;
box-shadow: 0 0 0 transparent;
transition: border-color 0.1s ease-in-out;
}
.njt-duplicate-checkbox-control-input[type="checkbox"]:focus {
border-color: #5b9dd9;
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007CBA;
outline: 2px solid transparent;
}
.njt-duplicate-checkbox-control-input[type="checkbox"]:checked {
background: #007CBA;
border-color: #007CBA;
}
.njt-duplicate-checkbox-control-input[type="checkbox"]:checked::-ms-check {
opacity: 0;
}
.njt-duplicate-checkbox-control-input[type="checkbox"]:focus:checked {
border: none;
}
.njt-duplicate-checkbox-control-input[type="checkbox"]:checked:before {
content: none;
}
@media (min-width: 600px) {
.njt-duplicate-checkbox-control-input-container {
width: 18px;
height: 18px;
}
}
svg.njt-duplicate-checkbox-control-checked {
fill: #fff;
cursor: pointer;
position: absolute;
left: 0;
top: 0;
width: 18px;
height: 18px;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
svg {
fill: currentColor;
outline: none;
}
.njt-duplicate-checkbox-control-label {
vertical-align: middle;
}
.njt-duplicate-button.is-primary {
white-space: nowrap;
background: #007CBA;
border-color: #007CBA;
color: #fff;
text-decoration: none;
text-shadow: none;
}
/* CSS button */
.njt-duplicate-button {
display: inline-flex;
text-decoration: none;
font-size: 13px;
margin: 0;
border: 0;
cursor: pointer;
-webkit-appearance: none;
background: none;
transition: box-shadow 0.1s linear;
height: 36px;
align-items: center;
box-sizing: border-box;
padding: 6px 12px;
border-radius: 2px;
color: #1e1e1e;
}
.njt-duplicate-button.is-primary:focus:enabled,
.njt-duplicate-button.is-primary:hover {
background: #0078a7;
border-color: #0078a7;
color: #fff;
}
.njt-duplicate-button.is-primary:focus:not(:disabled) {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
box-shadow: inset 0 0 0 1px #fff,0 0 0 1.5px #0078a7;
outline: 1px solid transparent;
}
.njt-duplicate-button.is-primary:active:not(:disabled) {
background: #005a87;
border-color: #005a87;
color: #fff;
}
.njt-duplicate-button.is-primary:hover:not(:disabled) {
background: #006ba1;
color: #fff;
}
.njt-duplicate-button:not([aria-disabled="true"]):active {
color: inherit;
}
.njt-duplicate-button:focus:not(:disabled) {
box-shadow: 0 0 0 1.5px #007cba;
outline: 1px solid transparent;
}
.njt-duplicate-button.is-busy:focus:not(:disabled) {
color: #fff;
background-size: 100px 100%;
background-image: linear-gradient(-45deg,#007cba 33%,#005a87 0,#005a87 70%,#007cba 0);
border-color: #007cba;
animation: NjtButtonBusy 2.5s linear infinite;
opacity: 1;
}
/* CSS Notification */
.njt-duplicate-notification {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans,
Ubuntu, Cantarell, Helvetica Neue, sans-serif;
font-size: 13px;
background-color: #32373C;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
color: #fff;
padding: 16px 24px;
width: fit-content;
max-width: 600px;
box-sizing: border-box;
cursor: pointer;
animation: NslideUp 0.5s both linear;
position: fixed;
bottom: 20px;
left: 50%;
z-index: 20;
}
@keyframes NslideUp {
from {
opacity: 0;
transform: translate3d(0, 50%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@keyframes NslideDown {
from {
opacity: 1;
transform: translate3d(0, 0, 0);
}
to {
opacity: 0;
transform: translate3d(0, 50%, 0);
}
}
@keyframes NjtButtonBusy{
0% {
background-position:200px 0;
}
}
.njt-duplicate-notification .NslideDown {
animation: NslideDown 0.5s both linear;
}
.njt-duplicate-notification-content {
display: flex;
align-items: center;
}
.njt-duplicate-notification-success-message {
background: #00a42a;
border-radius: 50%;
margin-right: 10px;
padding: 2px;
height: 20px;
width: 20px;
}