PluginProbe
Extendify / 0.8.2
Extendify v0.8.2
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / src / Library / app.css

app.css in Extendify 0.8.2, at src/Library/app.css

152 lines 4.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Adding CSS classes should be done with consideration and rarely */
2 @tailwind base;
3 @tailwind components;
4 @tailwind utilities;
5
6 .extendify {
7 --tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
8 --tw-ring-offset-width: 0px;
9 --tw-ring-offset-color: transparent;
10 --tw-ring-color: var(--wp-admin-theme-color);
11 }
12
13 .extendify *,
14 .extendify *:after,
15 .extendify *:before {
16 box-sizing: border-box;
17 border: 0 solid #e5e7eb;
18 }
19 .extendify .button-focus {
20 @apply outline-none focus:shadow-none focus:ring-wp focus:ring-wp-theme-500;
21 }
22 .extendify select.button-focus,
23 .extendify input.button-focus {
24 @apply focus:outline-none focus:border-transparent focus:shadow-none;
25 }
26
27 div.extendify button.extendify-skip-to-sr-link:focus {
28 @apply fixed top-0 z-high bg-white p-4;
29 }
30
31 .button-extendify-main {
32 @apply button-focus cursor-pointer whitespace-nowrap rounded bg-extendify-main p-1.5 px-3 text-base text-white no-underline transition duration-200 hover:bg-extendify-main-dark hover:text-white focus:text-white active:bg-gray-900 active:text-white;
33 }
34 #extendify-search-input:focus ~ svg,
35 #extendify-search-input:not(:placeholder-shown) ~ svg {
36 @apply hidden;
37 }
38 #extendify-search-input::-webkit-textfield-decoration-container {
39 @apply mr-3;
40 }
41
42 /* WP tweaks and overrides */
43 .extendify .components-panel__body > .components-panel__body-title {
44 /* Override WP aggressive border:none and border:0 */
45 border-bottom: 1px solid #e0e0e0 !important;
46 @apply bg-transparent;
47 }
48 .extendify .components-modal__header {
49 @apply border-b border-gray-300;
50 }
51
52 /* A shim to ensure live previews w/o iframes display properly */
53 .block-editor-block-preview__content
54 .block-editor-block-list__layout.is-root-container
55 > .ext {
56 @apply max-w-none;
57 }
58
59 .extendify .block-editor-block-preview__container {
60 /* no important */
61 @apply opacity-0;
62 animation: extendifyOpacityIn 200ms cubic-bezier(0.694, 0, 0.335, 1)
63 forwards 0ms;
64 }
65
66 /* Remove excess margin for top-level patterns on < 5.9 */
67 .extendify .is-root-container > [data-block],
68 .extendify .is-root-container > [data-align="full"],
69 .extendify .is-root-container > [data-align="full"] > .wp-block {
70 @apply my-0 !important;
71 }
72
73 /* Remove excess margin for top-level patterns on 5.9+ */
74 .editor-styles-wrapper:not(.block-editor-writing-flow)
75 > .is-root-container
76 :where(.wp-block)[data-align="full"] {
77 @apply my-0 !important;
78 }
79
80 @keyframes extendifyOpacityIn {
81 0% {
82 opacity: 0;
83 }
84 100% {
85 opacity: 1;
86 }
87 }
88
89 .extendify .with-light-shadow::after {
90 content: "";
91 @apply absolute inset-0 border-0 shadow-inner-sm;
92 }
93 .extendify .with-light-shadow:hover::after {
94 @apply shadow-inner-md;
95 }
96
97 /* Fallback as FireFox does not support backdrop filter */
98 @supports not (
99 (-webkit-backdrop-filter: saturate(2) blur(24px)) or
100 (backdrop-filter: saturate(2) blur(24px))
101 ) {
102 div.extendify .bg-extendify-transparent-white {
103 @apply bg-gray-100;
104 }
105 }
106
107 /* Style contentType/pageType control in sidebar */
108 .components-panel__body.ext-type-control .components-panel__body-title {
109 @apply my-0 -mx-4 border-b-0 px-5;
110 }
111
112 .extendify .animate-pulse {
113 animation: extendifyPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
114 }
115
116 @keyframes extendifyPulse {
117 0%,
118 100% {
119 opacity: 1;
120 }
121 50% {
122 opacity: 0.5;
123 }
124 }
125
126 .is-template--inactive::before,
127 .is-template--in-review::before {
128 content: "";
129 @apply absolute top-0 left-0 bottom-0 right-0 z-40 h-full w-full border-8 border-solid border-extendify-secondary;
130 }
131
132 .is-template--inactive::before {
133 border-color: #fdeab6;
134 }
135
136 .extendify-tooltip-default:not(.is-without-arrow)[data-y-axis="bottom"]::after {
137 border-bottom-color: #1e1e1e;
138 }
139 .extendify-tooltip-default:not(.is-without-arrow)::before {
140 @apply border-transparent;
141 }
142 .extendify-tooltip-default:not(.is-without-arrow) .components-popover__content {
143 min-width: 250px;
144 @apply border-transparent bg-gray-900 p-4 text-white;
145 }
146 .extendify-bottom-arrow::after {
147 content: "";
148 bottom: -15px;
149 @apply absolute inline-block h-0 w-0 -translate-y-px transform border-8 border-transparent;
150 border-top-color: #1e1e1e !important;
151 }
152