| 1 |
/* Adding CSS classes should be done with consideration and rarely */ |
| 2 |
@tailwind base; |
| 3 |
@tailwind components; |
| 4 |
@tailwind utilities; |
| 5 |
|
| 6 |
.extendify-launch button:not(:disabled) { |
| 7 |
@apply cursor-pointer; |
| 8 |
} |
| 9 |
|
| 10 |
.extendify-launch { |
| 11 |
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/); |
| 12 |
--tw-ring-offset-width: 0px; |
| 13 |
--tw-ring-offset-color: transparent; |
| 14 |
--tw-ring-color: var(--ext-design-main, #2c39bd); |
| 15 |
--tw-translate-x: 0; |
| 16 |
--tw-translate-y: 0; |
| 17 |
--tw-rotate: 0; |
| 18 |
--tw-skew-x: 0; |
| 19 |
--tw-skew-y: 0; |
| 20 |
--tw-scale-x: 1; |
| 21 |
--tw-scale-y: 1; |
| 22 |
} |
| 23 |
|
| 24 |
.extendify-launch *, |
| 25 |
.extendify-launch *:after, |
| 26 |
.extendify-launch *:before { |
| 27 |
box-sizing: border-box; |
| 28 |
border: 0 solid #e5e7eb; |
| 29 |
} |
| 30 |
|
| 31 |
.extendify-launch { |
| 32 |
-webkit-font-smoothing: antialiased; |
| 33 |
} |
| 34 |
|
| 35 |
.extendify-launch .button-focus { |
| 36 |
@apply rounded-lg text-center text-base no-underline outline-none ring-design-main ring-offset-2 ring-offset-white focus:shadow-none focus:ring-wp; |
| 37 |
} |
| 38 |
|
| 39 |
.extendify-launch .input-focus { |
| 40 |
@apply rounded-lg text-base outline-none ring-design-main ring-offset-2 ring-offset-white focus:shadow-none focus:ring-wp; |
| 41 |
} |
| 42 |
|
| 43 |
.extendify-launch .button-card { |
| 44 |
@apply m-0 block flex-1 overflow-hidden border p-4; |
| 45 |
} |
| 46 |
|
| 47 |
.extendify-launch .block-editor-block-preview__container { |
| 48 |
overflow: visible !important; |
| 49 |
} |
| 50 |
|
| 51 |
.extendify-launch .spin { |
| 52 |
animation: extendify-loading-spinner 1s linear infinite; |
| 53 |
} |
| 54 |
|
| 55 |
@keyframes extendify-loading-spinner { |
| 56 |
to { |
| 57 |
transform: rotate(1turn); |
| 58 |
} |
| 59 |
} |
| 60 |
@keyframes extendify-loading-skeleton { |
| 61 |
0% { |
| 62 |
background-position: 0 0; |
| 63 |
} |
| 64 |
25% { |
| 65 |
background-position: 100% 0; |
| 66 |
} |
| 67 |
50% { |
| 68 |
background-position: 100% 100%; |
| 69 |
} |
| 70 |
75% { |
| 71 |
background-position: 0 100%; |
| 72 |
} |
| 73 |
100% { |
| 74 |
background-position: 0 0; |
| 75 |
} |
| 76 |
} |
| 77 |
|
| 78 |
/* Checkbox styles for page selection step. */ |
| 79 |
.extendify-launch input[type="checkbox"]:not(:checked) { |
| 80 |
@apply border border-gray-900; |
| 81 |
} |
| 82 |
.extendify-launch input[type="checkbox"]:focus { |
| 83 |
@apply outline-none ring-wp ring-design-main ring-offset-2 ring-offset-white; |
| 84 |
} |
| 85 |
.extendify-launch input[type="checkbox"]:checked { |
| 86 |
@apply bg-design-main; |
| 87 |
} |
| 88 |
.extendify-launch input[type="checkbox"]:checked::before { |
| 89 |
content: ""; |
| 90 |
width: 0 !important; |
| 91 |
height: 0 !important; |
| 92 |
} |
| 93 |
|
| 94 |
/* Goal checkbox */ |
| 95 |
.extendify-launch .goal-select .components-base-control__field { |
| 96 |
@apply mb-0; |
| 97 |
} |
| 98 |
.block-editor-block-preview__content { |
| 99 |
@apply left-0 top-0 m-0 overflow-visible; |
| 100 |
transform-origin: top left; |
| 101 |
text-align: initial; |
| 102 |
min-height: auto; |
| 103 |
} |
| 104 |
|
| 105 |
html[dir="rtl"] .block-editor-block-preview__content { |
| 106 |
transform-origin: top right; |
| 107 |
} |
| 108 |
|
| 109 |
body.site-assistant_page_extendify-launch, |
| 110 |
body.site-launcher_page_extendify-launch { |
| 111 |
background: white; |
| 112 |
} |
| 113 |
|
| 114 |
.site-assistant_page_extendify-launch #adminmenumain, |
| 115 |
.site-launcher_page_extendify-launch #adminmenumain, |
| 116 |
.site-assistant_page_extendify-launch #wpadminbar, |
| 117 |
.site-launcher_page_extendify-launch #wpadminbar { |
| 118 |
display: none; |
| 119 |
} |
| 120 |
|