| @@ -1,460 +1,708 @@ | ||
| 1 | +@charset "UTF-8"; | |
| 1 | 2 | :root { |
| 2 | - --wowp-blue: #005BBF; | |
| 3 | - --wowp-yellow: #FFD500; | |
| 4 | - --wowp-border: #cccccc; | |
| 5 | - --wowp-dark: #14102C; | |
| 6 | - --wowp-orange: #E86E2C; | |
| 7 | - --wowp-bg: #EEF3EB; | |
| 8 | - --wowp-success: #00BF04; | |
| 9 | - --wowp-danger: #BF0400; | |
| 3 | + --wowp-border: #E4E4E7; | |
| 4 | + --wowp-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); | |
| 5 | + --wowp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); | |
| 6 | + --wowp-gray-500: #6a7282; | |
| 7 | + --wowp-gray-400: #99a1af; | |
| 8 | + --wowp-gray-100: #f3f4f6; | |
| 9 | + --wowp-gray-200: #e5e7eb; | |
| 10 | + --wowp-gray-900: #101828; | |
| 11 | + --wowp-gray-700: #364153; | |
| 12 | + --wowp-color-blue: #2b7fff; | |
| 13 | + --wowp-color-yellow: #f0b100; | |
| 14 | + --wowp-color-red: #fb2c36; | |
| 15 | + --wowp-color-green: #00c950; | |
| 10 | 16 | } |
| 11 | 17 | |
| 12 | -.wowp-box { | |
| 13 | - padding: 1.5rem 1.25rem; | |
| 14 | - margin-top: 50px; | |
| 15 | - position: relative; | |
| 16 | - box-sizing: border-box; | |
| 17 | - background: #ffffff; | |
| 18 | - background-clip: padding-box; | |
| 19 | - border: solid 2px transparent; | |
| 20 | - border-radius: 4px; | |
| 18 | +.wowp { | |
| 19 | + width: calc(100% - 20px); | |
| 21 | 20 | } |
| 22 | -.wowp-box::before { | |
| 23 | - content: ""; | |
| 24 | - position: absolute; | |
| 25 | - top: 0; | |
| 26 | - right: 0; | |
| 27 | - bottom: 0; | |
| 28 | - left: 0; | |
| 29 | - z-index: -1; | |
| 30 | - margin: -2px; | |
| 31 | - border-radius: inherit; | |
| 32 | - background: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow)); | |
| 21 | +.wowp .wowp-header { | |
| 22 | + display: grid; | |
| 23 | + grid-template-areas: "logo title" "logo links"; | |
| 24 | + grid-template-columns: auto 1fr; | |
| 25 | + align-items: center; | |
| 26 | + column-gap: 1rem; | |
| 27 | + margin-block: 1rem; | |
| 28 | + row-gap: 0.5rem; | |
| 33 | 29 | } |
| 34 | - | |
| 35 | -.wowp-header-border { | |
| 36 | - height: 5px; | |
| 37 | - background: linear-gradient(to right, var(--wowp-blue), var(--wowp-yellow)); | |
| 38 | - margin-left: -20px; | |
| 30 | +.wowp .wowp-header__logo { | |
| 31 | + grid-area: logo; | |
| 39 | 32 | } |
| 40 | - | |
| 41 | -.wowp-header { | |
| 42 | - position: relative; | |
| 43 | - padding: 32px 20px; | |
| 44 | - margin-left: -20px; | |
| 45 | - background: #ffffff; | |
| 33 | +.wowp .wowp-header__title { | |
| 34 | + all: unset; | |
| 35 | + grid-area: title; | |
| 36 | + font-size: 1.75rem; | |
| 37 | + font-weight: 700; | |
| 38 | + line-height: 1.3; | |
| 39 | + color: var(--wowp-gray-900); | |
| 40 | +} | |
| 41 | +.wowp .wowp-header__title-version { | |
| 42 | + font-size: 0.75rem; | |
| 43 | + font-weight: normal; | |
| 44 | + color: var(--wowp-color-blue); | |
| 45 | + margin-left: 0.5rem; | |
| 46 | +} | |
| 47 | +.wowp .wowp-header__links { | |
| 48 | + grid-area: links; | |
| 46 | 49 | display: flex; |
| 50 | + flex-wrap: wrap; | |
| 51 | + gap: 0.5rem; | |
| 52 | +} | |
| 53 | +.wowp .wowp-page-header { | |
| 54 | + display: flex; | |
| 47 | 55 | align-items: center; |
| 56 | + background: #ffffff; | |
| 57 | + margin-inline: -20px; | |
| 58 | + padding-inline: 20px; | |
| 59 | + padding-block: 0.75rem; | |
| 60 | + border-top: 1px solid var(--wowp-border); | |
| 61 | + border-bottom: 1px solid var(--wowp-border); | |
| 48 | 62 | gap: 1rem; |
| 49 | - flex-wrap: wrap; | |
| 50 | 63 | } |
| 51 | - | |
| 52 | -.wowp-logo { | |
| 64 | +.wowp .wowp-page-header__title { | |
| 65 | + font-size: 1.25rem; | |
| 66 | + line-height: 1.75rem; | |
| 67 | + font-weight: 700; | |
| 68 | + margin: 0; | |
| 69 | +} | |
| 70 | +.wowp .wowp-settings { | |
| 71 | + background-color: white; | |
| 72 | + margin-inline-end: 20px; | |
| 73 | + margin-block: 1.5rem; | |
| 74 | + border: 1px solid var(--wowp-gray-100); | |
| 75 | + border-radius: 0.5rem; | |
| 76 | + box-shadow: var(--wowp-shadow); | |
| 77 | + padding: 1rem; | |
| 78 | +} | |
| 79 | +@media (width >= 48rem) { | |
| 80 | + .wowp .wowp-settins__tabs > .popover-container { | |
| 81 | + margin-inline-start: auto; | |
| 82 | + } | |
| 83 | +} | |
| 84 | +.wowp .wowp-page-box { | |
| 85 | + max-width: 1400px; | |
| 86 | + margin-inline: auto; | |
| 87 | +} | |
| 88 | +.wowp .wowp-settings__header { | |
| 89 | + margin-block: 1.5rem; | |
| 90 | + margin-inline-end: 20px; | |
| 91 | + padding: 1rem; | |
| 92 | + background-color: #ffffff; | |
| 93 | + border: 1px solid var(--wowp-gray-100); | |
| 94 | + border-radius: 0.5rem; | |
| 95 | + box-shadow: var(--wowp-shadow); | |
| 96 | +} | |
| 97 | +.wowp .wowp-settings__title { | |
| 53 | 98 | display: flex; |
| 54 | 99 | align-items: center; |
| 100 | + flex-wrap: wrap; | |
| 101 | + position: relative; | |
| 55 | 102 | } |
| 56 | - | |
| 57 | -.wowp-logo img { | |
| 58 | - width: 40px; | |
| 103 | +.wowp .wowp-settings__title #title { | |
| 104 | + flex: 1; | |
| 105 | + padding-inline-end: 80px; | |
| 59 | 106 | } |
| 60 | - | |
| 61 | -.wowp-header h1 { | |
| 62 | - position: relative; | |
| 63 | - margin: 0 35px 0 0; | |
| 107 | +.wowp .wowp-settings__title input { | |
| 108 | + height: 40px; | |
| 109 | + font-size: 16px; | |
| 110 | + line-height: 1; | |
| 64 | 111 | } |
| 65 | - | |
| 66 | -.wowp-version { | |
| 112 | +.wowp .wowp-settings__title #plugin-activate, | |
| 113 | +.wowp .wowp-settings__title #submit_settings { | |
| 67 | 114 | position: absolute; |
| 68 | - transform: translateY(-50%) translateX(50%); | |
| 69 | - font-size: 12px; | |
| 70 | - font-weight: normal; | |
| 115 | + min-height: 32px; | |
| 116 | + height: 32px; | |
| 117 | + right: 8px; | |
| 118 | + margin: 0; | |
| 71 | 119 | } |
| 72 | - | |
| 73 | -.wowp-links { | |
| 74 | - position: absolute; | |
| 75 | - top: 0; | |
| 76 | - right: 20px; | |
| 120 | +.wowp .wowp-settings__publish { | |
| 121 | + margin-inline: -1rem; | |
| 122 | + padding-inline: 1rem; | |
| 123 | + margin-block: 1rem; | |
| 124 | + padding-block: 1rem; | |
| 125 | + border-block: 1px solid var(--wowp-gray-100); | |
| 77 | 126 | display: flex; |
| 78 | - border-radius: 0 0 4px 4px; | |
| 79 | - border: 2px solid; | |
| 80 | - border-top: none; | |
| 81 | - background-color: #DFE2FC; | |
| 82 | - border-image: linear-gradient(to right, #14102C, #E86E2C); | |
| 83 | - border-image-slice: 1; | |
| 127 | + flex-direction: column; | |
| 128 | + flex-wrap: wrap; | |
| 129 | + gap: 0.5rem; | |
| 84 | 130 | } |
| 85 | -@media screen and (max-width: 850px) { | |
| 86 | - .wowp-links { | |
| 87 | - display: none; | |
| 131 | +.wowp .wowp-settings__publish .wowp-settings__publish-hide, | |
| 132 | +.wowp .wowp-settings__publish .wowp-settings__publish-info, | |
| 133 | +.wowp .wowp-settings__publish .wowp-settings__publish-status { | |
| 134 | + display: flex; | |
| 135 | + gap: 0.5rem; | |
| 136 | +} | |
| 137 | +.wowp .wowp-settings__publish .wowp-settings__publish-hide { | |
| 138 | + order: 3; | |
| 139 | + width: 100%; | |
| 140 | +} | |
| 141 | +.wowp .wowp-settings__publish .wowp-settings__publish-info { | |
| 142 | + flex-direction: column; | |
| 143 | +} | |
| 144 | +@media (width >= 48rem) { | |
| 145 | + .wowp .wowp-settings__publish .wowp-settings__publish-info { | |
| 146 | + flex-direction: row; | |
| 88 | 147 | } |
| 89 | 148 | } |
| 90 | -.wowp-links img { | |
| 91 | - width: 15px; | |
| 92 | - height: 15px; | |
| 149 | +@media (width >= 80rem) { | |
| 150 | + .wowp .wowp-settings__publish { | |
| 151 | + flex-direction: row; | |
| 152 | + justify-content: space-between; | |
| 153 | + } | |
| 154 | + .wowp .wowp-settings__publish .wowp-settings__publish-status { | |
| 155 | + order: 2; | |
| 156 | + } | |
| 93 | 157 | } |
| 94 | - | |
| 95 | -.wowp-links a { | |
| 96 | - text-decoration: none; | |
| 97 | - color: #14102C; | |
| 158 | +.wowp .wowp-settins__tabs { | |
| 98 | 159 | display: flex; |
| 160 | + flex-wrap: wrap; | |
| 99 | 161 | flex-direction: column; |
| 100 | - font-size: 12px; | |
| 101 | - align-items: center; | |
| 102 | - padding: 5px; | |
| 103 | - transition: all 0.15s linear; | |
| 162 | + gap: 0.5rem; | |
| 104 | 163 | } |
| 105 | - | |
| 106 | -.wowp-links a:hover { | |
| 107 | - background-color: #F6C8AF; | |
| 164 | +@media (width >= 48rem) { | |
| 165 | + .wowp .wowp-settins__tabs { | |
| 166 | + gap: unset; | |
| 167 | + flex-direction: row; | |
| 168 | + align-items: center; | |
| 169 | + } | |
| 108 | 170 | } |
| 109 | - | |
| 110 | -.wowp-links .dashicons { | |
| 111 | - width: 15px; | |
| 112 | - height: 15px; | |
| 113 | - font-size: 15px; | |
| 114 | - color: #596FF9; | |
| 171 | +.wowp .wowp-settins__tabs-radio { | |
| 172 | + display: none; | |
| 115 | 173 | } |
| 116 | - | |
| 117 | -.wowp-wrap .nav-tab-wrapper .nav-tab-active { | |
| 118 | - color: var(--wowp-blue); | |
| 174 | +.wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab { | |
| 175 | + color: var(--wowp-gray-700); | |
| 176 | + position: relative; | |
| 119 | 177 | } |
| 120 | - | |
| 121 | -.wowp-list { | |
| 122 | - padding: 50px 0; | |
| 178 | +.wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab:before { | |
| 179 | + position: absolute; | |
| 180 | + content: ""; | |
| 181 | + display: block; | |
| 182 | + width: 100%; | |
| 183 | + height: 3px; | |
| 184 | + background-color: var(--wowp-gray-900); | |
| 185 | + bottom: -9px; | |
| 186 | + left: 0; | |
| 123 | 187 | } |
| 124 | - | |
| 125 | -@media screen and (max-width: 782px) { | |
| 126 | - .wowp-list td.column-mode span:first-child { | |
| 127 | - margin-left: 0; | |
| 188 | +.wowp .wowp-settins__tabs-tab { | |
| 189 | + padding: 0.5rem 1rem; | |
| 190 | + color: var(--wowp-gray-400); | |
| 191 | + cursor: pointer; | |
| 192 | + border-radius: 0.25rem; | |
| 193 | + font-size: 14px; | |
| 194 | +} | |
| 195 | +.wowp .wowp-settins__tabs-tab:hover { | |
| 196 | + color: var(--wowp-gray-700); | |
| 197 | + background-color: var(--wowp-gray-100); | |
| 198 | +} | |
| 199 | +.wowp .wowp-settins__tabs-content { | |
| 200 | + position: absolute; | |
| 201 | + top: -99999px; | |
| 202 | + left: -99999px; | |
| 203 | + width: 100%; | |
| 204 | + border-top: 1px solid var(--wowp-gray-100); | |
| 205 | + margin-block-start: 0.5rem; | |
| 206 | + margin-inline: -1rem; | |
| 207 | + padding-inline: 1rem; | |
| 208 | +} | |
| 209 | +.wowp #wowp-tab-html-code:checked ~ [data-content=wowp-tab-html-code], | |
| 210 | +.wowp #wowp-tab-css-code:checked ~ [data-content=wowp-tab-css-code], | |
| 211 | +.wowp #wowp-tab-js-code:checked ~ [data-content=wowp-tab-js-code], | |
| 212 | +.wowp #wowp-tab-php-code:checked ~ [data-content=wowp-tab-php-code], | |
| 213 | +.wowp #wowp-tab-include:checked ~ [data-content=wowp-tab-include], | |
| 214 | +.wowp #wowp-tab-settings:checked ~ [data-content=wowp-tab-settings], | |
| 215 | +.wowp #wowp-tab-attributes:checked ~ [data-content=wowp-tab-attributes], | |
| 216 | +.wowp #wowp-tab-pro:checked ~ [data-content=wowp-tab-pro] { | |
| 217 | + position: static; | |
| 218 | +} | |
| 219 | +.wowp .wowp-settings__page { | |
| 220 | + display: flex; | |
| 221 | + flex-direction: column; | |
| 222 | + flex-wrap: wrap; | |
| 223 | + padding-block: 1.5rem 0; | |
| 224 | + gap: 1.5rem; | |
| 225 | +} | |
| 226 | +@media (width >= 48rem) { | |
| 227 | + .wowp .wowp-settings__page { | |
| 228 | + flex-direction: row; | |
| 128 | 229 | } |
| 129 | 230 | } |
| 130 | -.wowp-list .row-actions .duplicate a { | |
| 131 | - color: green; | |
| 231 | +.wowp .wowp-settings__page-content { | |
| 232 | + order: 1; | |
| 233 | + flex: 1; | |
| 132 | 234 | } |
| 133 | -.wowp-list .row-actions .export a { | |
| 134 | - color: orange; | |
| 235 | +.wowp .wowp-settings__page-sidebar { | |
| 236 | + position: relative; | |
| 237 | + display: flex; | |
| 238 | + flex-direction: column; | |
| 239 | + gap: 1rem; | |
| 240 | + order: -1; | |
| 135 | 241 | } |
| 136 | - | |
| 137 | -.wowp-status-on, | |
| 138 | -.wowp-status-off { | |
| 139 | - display: inline-block; | |
| 140 | - width: 14px; | |
| 141 | - height: 14px; | |
| 142 | - border-radius: 50%; | |
| 242 | +@media (width >= 48rem) { | |
| 243 | + .wowp .wowp-settings__page-sidebar { | |
| 244 | + order: 2; | |
| 245 | + width: 200px; | |
| 246 | + } | |
| 143 | 247 | } |
| 144 | - | |
| 145 | -.wowp-status-on { | |
| 146 | - background-color: green; | |
| 248 | +.wowp .wowp-settings__page-sidebar .wowp-fields__group { | |
| 249 | + flex-direction: column; | |
| 250 | + gap: 1rem; | |
| 251 | + align-items: initial; | |
| 147 | 252 | } |
| 148 | - | |
| 149 | -.wowp-status-off { | |
| 150 | - background-color: red; | |
| 253 | +.wowp .wowp-settings__page-sidebar-title { | |
| 254 | + color: var(--wowp-gray-500); | |
| 255 | + font-weight: 500; | |
| 151 | 256 | } |
| 152 | - | |
| 153 | -.wowp-wrap fieldset { | |
| 154 | - border: 2px solid var(--wowp-border); | |
| 155 | - padding: 20px; | |
| 257 | +.wowp .wowp-settings__page-footer { | |
| 258 | + border-top: 1px solid var(--wowp-gray-100); | |
| 259 | + padding-block-start: 1rem; | |
| 260 | + margin-inline: -1rem; | |
| 261 | + padding-inline: 1rem; | |
| 262 | + order: 3; | |
| 263 | + width: 100%; | |
| 156 | 264 | display: flex; |
| 157 | - flex-wrap: wrap; | |
| 158 | - gap: 15px; | |
| 159 | - margin-bottom: 24px; | |
| 265 | + flex-direction: column; | |
| 266 | + gap: 1rem; | |
| 160 | 267 | } |
| 161 | -.wowp-wrap legend { | |
| 162 | - font-weight: bold; | |
| 163 | - color: var(--wowp-dark); | |
| 164 | - padding: 0 8px; | |
| 165 | - font-size: 15px; | |
| 268 | +@media (width >= 64rem) { | |
| 269 | + .wowp .wowp-settings__page-footer { | |
| 270 | + flex-direction: row; | |
| 271 | + align-items: center; | |
| 272 | + justify-content: space-between; | |
| 273 | + } | |
| 166 | 274 | } |
| 167 | - | |
| 168 | -.wowp-field { | |
| 275 | +.wowp .CodeMirror { | |
| 276 | + min-height: 700px; | |
| 277 | + font-size: 0.875rem; | |
| 278 | + line-height: 1.25rem; | |
| 279 | + box-shadow: var(--wowp-shadow-sm); | |
| 280 | + border: 1px solid var(--wowp-gray-100); | |
| 281 | + border-radius: 0.5rem; | |
| 282 | +} | |
| 283 | +.wowp .wowp-php-nav-menu { | |
| 284 | + position: sticky; | |
| 285 | + top: 0; | |
| 286 | + margin: 0; | |
| 287 | + padding-left: 1rem; | |
| 288 | +} | |
| 289 | +.wowp .wowp-php-nav-menu li { | |
| 169 | 290 | position: relative; |
| 170 | - box-sizing: border-box; | |
| 171 | 291 | } |
| 172 | -.wowp-field > input:not([type=checkbox], [type=radio]), .wowp-field > select { | |
| 173 | - height: 40px; | |
| 174 | - line-height: 40px; | |
| 175 | - width: 100%; | |
| 176 | - border: 1px solid var(--wowp-blue); | |
| 177 | - max-width: 100%; | |
| 292 | +.wowp .wowp-php-nav-menu li:first-child { | |
| 293 | + padding-top: 0.5rem; | |
| 178 | 294 | } |
| 179 | -.wowp-field .label { | |
| 295 | +.wowp .wowp-php-nav-menu li:first-child:before { | |
| 296 | + content: ""; | |
| 180 | 297 | position: absolute; |
| 298 | + width: calc(100% + 1rem); | |
| 299 | + height: 1px; | |
| 181 | 300 | top: 0; |
| 182 | - left: 10px; | |
| 183 | - transform: translateY(-50%); | |
| 184 | - font-size: 12px; | |
| 185 | - font-weight: 700; | |
| 186 | - padding: 0 5px; | |
| 187 | - color: #004A9B; | |
| 301 | + left: -1rem; | |
| 302 | + background-color: var(--wowp-gray-100); | |
| 188 | 303 | } |
| 189 | -.wowp-field .label:after { | |
| 304 | +.wowp .wowp-php-nav-menu li:last-child { | |
| 305 | + padding-bottom: 0.5rem; | |
| 306 | +} | |
| 307 | +.wowp .wowp-php-nav-menu li:last-child:after { | |
| 308 | + content: ""; | |
| 190 | 309 | position: absolute; |
| 191 | - content: " "; | |
| 192 | - height: 3px; | |
| 193 | - background: #fff; | |
| 310 | + width: calc(100% + 1rem); | |
| 311 | + height: 1px; | |
| 312 | + bottom: 0; | |
| 313 | + left: -1rem; | |
| 314 | + background-color: var(--wowp-gray-100); | |
| 315 | +} | |
| 316 | +.wowp .wowp-php-nav-menu a { | |
| 317 | + color: var(--wowp-gray-700); | |
| 318 | +} | |
| 319 | +.wowp .wowp-preview { | |
| 320 | + margin-block: 1.5rem; | |
| 321 | + margin-inline-end: 20px; | |
| 322 | + background-color: #ffffff; | |
| 323 | + border: 1px solid var(--wowp-gray-100); | |
| 324 | + border-radius: 0.5rem; | |
| 325 | + box-shadow: var(--wowp-shadow); | |
| 326 | +} | |
| 327 | +.wowp .wowp-preview__title { | |
| 328 | + margin: 0; | |
| 329 | + padding: 1rem 1rem 0 1rem; | |
| 330 | + color: var(--wowp-gray-900); | |
| 331 | +} | |
| 332 | +.wowp .wowp-preview__subtitle { | |
| 333 | + margin: 0; | |
| 334 | + color: var(--wowp-gray-500); | |
| 335 | + padding-inline: 1rem; | |
| 336 | +} | |
| 337 | +.wowp .wowp-preview__iframe { | |
| 338 | + resize: both; | |
| 339 | + overflow: auto; | |
| 340 | + min-height: 450px; | |
| 341 | + max-width: calc(100% - 1.5rem); | |
| 342 | + margin: 0.5rem 0.5rem 1rem 0.5rem; | |
| 343 | + scrollbar-gutter: stable; | |
| 344 | + scrollbar-width: none; | |
| 345 | + border: 3px solid #f1f1f1; | |
| 346 | + border-top-left-radius: 4px; | |
| 347 | + border-top-right-radius: 4px; | |
| 348 | +} | |
| 349 | +.wowp .wowp-preview__iframe.is-toggled { | |
| 350 | + min-height: auto; | |
| 351 | + resize: none; | |
| 352 | +} | |
| 353 | +.wowp .wowp-preview__iframe #wowp-preview { | |
| 194 | 354 | width: 100%; |
| 195 | - top: 50%; | |
| 196 | - left: 0; | |
| 197 | - z-index: -1; | |
| 198 | - transform: translateY(-50%); | |
| 355 | + height: calc(100% - 50px); | |
| 356 | + min-height: 400px; | |
| 357 | + box-sizing: border-box; | |
| 199 | 358 | } |
| 200 | - | |
| 201 | -.wowp-field { | |
| 202 | - width: calc(100%/3 - 15px/2 - 2.5px); | |
| 359 | +.wowp .wowp-preview__top { | |
| 360 | + padding: 10px; | |
| 361 | + background: #f1f1f1; | |
| 362 | + border-top-left-radius: 4px; | |
| 363 | + border-top-right-radius: 4px; | |
| 364 | + display: flex; | |
| 365 | + gap: 0.5rem; | |
| 203 | 366 | } |
| 204 | -@media screen and (max-width: 1024px) { | |
| 205 | - .wowp-field { | |
| 206 | - width: 100%; | |
| 207 | - } | |
| 367 | +.wowp .wowp-preview__top .wowp-preview__size { | |
| 368 | + margin-left: auto; | |
| 369 | + font-size: 11px; | |
| 208 | 370 | } |
| 209 | - | |
| 210 | -.wowp-field.has-chackbox { | |
| 371 | +.wowp .wowp-preview__dot { | |
| 372 | + height: 16px; | |
| 373 | + width: 16px; | |
| 374 | + background-color: #bbb; | |
| 375 | + border-radius: 50%; | |
| 211 | 376 | display: flex; |
| 212 | - padding: 0 8px; | |
| 213 | 377 | align-items: center; |
| 214 | - border: 1px solid var(--wowp-blue); | |
| 215 | - border-radius: 3px; | |
| 216 | - height: 40px; | |
| 217 | - line-height: 40px; | |
| 218 | - gap: 8px; | |
| 219 | - width: calc(100%/3 - 15px/2 - 2.5px - 2.5px); | |
| 378 | + justify-content: center; | |
| 379 | + cursor: pointer; | |
| 380 | + transition: background-color 0.2s ease-in-out; | |
| 220 | 381 | } |
| 221 | -@media screen and (max-width: 1024px) { | |
| 222 | - .wowp-field.has-chackbox { | |
| 223 | - width: 100%; | |
| 224 | - } | |
| 382 | +.wowp .wowp-preview__dot .dashicons { | |
| 383 | + font-size: 10px; | |
| 384 | + display: flex; | |
| 385 | + align-items: center; | |
| 386 | + justify-content: center; | |
| 225 | 387 | } |
| 226 | -.wowp-field.has-chackbox input[type=checkbox] { | |
| 227 | - margin: 0; | |
| 388 | +.wowp .wowp-preview__dot .dashicons.is-hidden { | |
| 389 | + display: none; | |
| 228 | 390 | } |
| 229 | -.wowp-field.has-chackbox .label { | |
| 230 | - line-height: initial; | |
| 391 | +.wowp .wowp-preview__dot.is-close:hover { | |
| 392 | + background-color: #ff5f57; | |
| 231 | 393 | } |
| 232 | - | |
| 233 | -.wowp-field.has-addon { | |
| 394 | +.wowp .wowp-preview__dot.is-toggle:hover, .wowp .wowp-preview__dot.is-toggle.is-active { | |
| 395 | + background-color: #ffbd2e; | |
| 396 | +} | |
| 397 | +.wowp .wowp-preview__dot.is-reset:hover { | |
| 398 | + background-color: #28c840; | |
| 399 | +} | |
| 400 | +.wowp .wowp-field { | |
| 401 | + position: relative; | |
| 402 | + box-sizing: border-box; | |
| 234 | 403 | display: flex; |
| 404 | +} | |
| 405 | +.wowp .wowp-field.has-addon { | |
| 235 | 406 | align-items: center; |
| 236 | 407 | } |
| 237 | -.wowp-field.has-addon .is-addon { | |
| 238 | - box-sizing: inherit; | |
| 408 | +.wowp .wowp-field.has-addon label { | |
| 409 | + background-color: transparent; | |
| 410 | +} | |
| 411 | +.wowp .wowp-field.is-column { | |
| 412 | + flex-direction: column; | |
| 413 | + gap: 0.5rem; | |
| 414 | +} | |
| 415 | +.wowp .wowp-field input[type=text], | |
| 416 | +.wowp .wowp-field input[type=url], | |
| 417 | +.wowp .wowp-field input[type=time], | |
| 418 | +.wowp .wowp-field input[type=number], | |
| 419 | +.wowp .wowp-field input[type=datetime], | |
| 420 | +.wowp .wowp-field input[type=date], | |
| 421 | +.wowp .wowp-field select { | |
| 239 | 422 | height: 40px; |
| 240 | 423 | line-height: 40px; |
| 241 | - padding: 0 8px; | |
| 242 | - background-color: #DFE2FC; | |
| 243 | - color: var(--wowp-dark); | |
| 244 | - border: 1px solid var(--wowp-blue); | |
| 245 | - border-radius: 3px 0 0 3px; | |
| 246 | - border-right: none; | |
| 247 | - margin-right: -2px; | |
| 424 | + width: 100%; | |
| 425 | + max-width: 100%; | |
| 426 | + min-width: 200px; | |
| 427 | + padding-inline-start: 12px; | |
| 248 | 428 | } |
| 249 | -.wowp-field.has-addon input:not([type=checkbox], [type=radio]) { | |
| 250 | - border-radius: 0 3px 3px 0; | |
| 429 | +.wowp .wowp-field textarea { | |
| 430 | + width: 100%; | |
| 431 | + min-height: 400px; | |
| 432 | + padding: 12px; | |
| 433 | + resize: vertical; | |
| 434 | + font-size: 0.875rem; | |
| 435 | + line-height: 1.25rem; | |
| 436 | + box-shadow: var(--wowp-shadow-sm); | |
| 437 | + border: 1px solid var(--wowp-gray-100); | |
| 438 | + border-radius: 0.5rem; | |
| 251 | 439 | } |
| 252 | - | |
| 253 | -.wowp-field.has-addon .is-addon .dashicons { | |
| 254 | - line-height: 40px; | |
| 440 | +.wowp .wowp-field textarea[readonly] { | |
| 441 | + color: var(--wowp-gray-400); | |
| 442 | + background-color: #ffffff; | |
| 255 | 443 | } |
| 256 | - | |
| 257 | -.wowp-field.border-default .is-addon { | |
| 258 | - background-color: #dcdcde; | |
| 259 | - color: #50575e; | |
| 260 | - border-color: #8c8f94; | |
| 444 | +.wowp .wowp-field .label { | |
| 445 | + position: absolute; | |
| 446 | + top: 0; | |
| 447 | + left: 8px; | |
| 448 | + transform: translateY(-50%); | |
| 449 | + font-size: 12px; | |
| 450 | + font-weight: 700; | |
| 451 | + padding-inline: 4px 5px; | |
| 452 | + color: var(--wowp-gray-900); | |
| 453 | + z-index: 9; | |
| 454 | + background-color: #ffffff; | |
| 261 | 455 | } |
| 262 | -.wowp-field.border-default input:not([type=checkbox], [type=radio]) { | |
| 263 | - border: 1px solid #8c8f94; | |
| 456 | +.wowp .wowp-field label { | |
| 457 | + width: 100%; | |
| 264 | 458 | } |
| 265 | - | |
| 266 | -.wowp-field.is-full { | |
| 267 | - width: 100%; | |
| 459 | +.wowp .wowp-field.has-checkbox { | |
| 460 | + align-items: center; | |
| 461 | + gap: 0.5rem; | |
| 462 | + border: 1px solid var(--wowp-gray-100); | |
| 463 | + border-radius: 0.25rem; | |
| 464 | + padding: 0.5rem; | |
| 268 | 465 | } |
| 269 | - | |
| 270 | -.wowp-fields-group { | |
| 271 | - display: flex; | |
| 272 | - gap: 15px; | |
| 273 | - flex-wrap: wrap; | |
| 274 | - width: 100%; | |
| 466 | +.wowp .wowp-field.has-checkbox.is-reverse { | |
| 467 | + flex-direction: row-reverse; | |
| 468 | + justify-content: left; | |
| 275 | 469 | } |
| 276 | - | |
| 277 | -.wowp-notice { | |
| 278 | - padding: 0.75rem 1.25rem; | |
| 470 | +.wowp .wowp-field.has-checkbox .label { | |
| 471 | + left: 0; | |
| 472 | + padding-inline: 0; | |
| 473 | + position: static; | |
| 474 | + transform: unset; | |
| 279 | 475 | } |
| 280 | - | |
| 281 | -.wowp-error { | |
| 282 | - background: #FAD0D0; | |
| 283 | - color: #14102C; | |
| 284 | - border-left: 6px solid #E82C2C; | |
| 476 | +.wowp .wowp-field.has-checkbox .switch { | |
| 477 | + position: relative; | |
| 478 | + top: 0; | |
| 479 | + left: auto; | |
| 480 | + display: inline-block; | |
| 481 | + width: 36px; | |
| 482 | + height: 20px; | |
| 483 | + transform: unset; | |
| 285 | 484 | } |
| 286 | - | |
| 287 | -.wowp-success { | |
| 288 | - padding: 1.25rem; | |
| 289 | - background: #D0FAD0; | |
| 290 | - color: #14102C; | |
| 291 | - border-left: 6px solid #109610; | |
| 485 | +.wowp .wowp-field.has-checkbox .switch input { | |
| 486 | + opacity: 0; | |
| 487 | + width: 0; | |
| 488 | + height: 0; | |
| 292 | 489 | } |
| 293 | - | |
| 294 | -.wowp-file input::file-selector-button { | |
| 295 | - color: #14102C; | |
| 296 | - padding: 0.5em; | |
| 297 | - border: thin solid var(--wowp-yellow); | |
| 490 | +.wowp .wowp-field.has-checkbox .slider { | |
| 491 | + position: absolute; | |
| 492 | + cursor: pointer; | |
| 493 | + top: 0; | |
| 494 | + left: 0; | |
| 495 | + right: 0; | |
| 496 | + bottom: 0; | |
| 497 | + background-color: var(--wowp-gray-400); | |
| 498 | + -webkit-transition: 0.4s; | |
| 499 | + transition: 0.4s; | |
| 500 | + border-radius: 34px; | |
| 501 | +} | |
| 502 | +.wowp .wowp-field.has-checkbox .slider:before { | |
| 503 | + position: absolute; | |
| 504 | + content: ""; | |
| 505 | + height: 16px; | |
| 506 | + width: 16px; | |
| 507 | + left: 2px; | |
| 508 | + bottom: 2px; | |
| 509 | + background-color: white; | |
| 510 | + -webkit-transition: 0.4s; | |
| 511 | + transition: 0.4s; | |
| 512 | + border-radius: 50%; | |
| 513 | +} | |
| 514 | +.wowp .wowp-field.has-checkbox input:checked ~ .slider { | |
| 515 | + background-color: var(--wowp-gray-700); | |
| 516 | +} | |
| 517 | +.wowp .wowp-field.has-checkbox input:focus ~ .slider { | |
| 518 | + box-shadow: var(--wowp-shadow-sm); | |
| 519 | +} | |
| 520 | +.wowp .wowp-field.has-checkbox input:checked ~ .slider:before { | |
| 521 | + transform: translateX(16px); | |
| 522 | +} | |
| 523 | +.wowp .wowp-field.has-addon { | |
| 524 | + position: relative; | |
| 525 | +} | |
| 526 | +.wowp .wowp-field.has-addon label { | |
| 527 | + top: 50%; | |
| 528 | + left: 5px; | |
| 529 | + padding: 0; | |
| 530 | + height: 32px; | |
| 531 | + background-color: var(--wowp-gray-200); | |
| 532 | + display: flex; | |
| 533 | + align-items: center; | |
| 534 | + justify-content: center; | |
| 535 | + width: 32px; | |
| 298 | 536 | border-radius: 4px; |
| 537 | + transform: translateY(-50%); | |
| 538 | + z-index: 2; | |
| 299 | 539 | } |
| 300 | - | |
| 301 | -.wowp-file input[type=file]:valid { | |
| 302 | - color: var(--wowp-orange); | |
| 540 | +.wowp .wowp-field.has-addon input[type=text], | |
| 541 | +.wowp .wowp-field.has-addon input[type=url] { | |
| 542 | + padding-inline-start: 42px; | |
| 303 | 543 | } |
| 304 | - | |
| 305 | -.wowp-settings h4 { | |
| 544 | +.wowp .wowp-settings__publish-template { | |
| 306 | 545 | display: flex; |
| 307 | - width: max-content; | |
| 308 | - gap: 8px; | |
| 309 | - align-items: center; | |
| 310 | - margin: 0 0 1.5rem 0; | |
| 311 | - font-weight: 800; | |
| 312 | - box-sizing: border-box; | |
| 313 | - color: var(--wowp-blue); | |
| 314 | - font-size: 16px; | |
| 315 | - letter-spacing: -1.08px; | |
| 316 | - line-height: 18px; | |
| 317 | - text-align: left; | |
| 318 | - -webkit-font-smoothing: antialiased; | |
| 319 | - background-color: var(--wowp-bg); | |
| 320 | - padding: 4px 8px; | |
| 321 | - border-radius: 25px; | |
| 546 | + gap: 0.5rem; | |
| 322 | 547 | } |
| 323 | - | |
| 324 | -.wowp-icon { | |
| 325 | - color: var(--wowp-orange); | |
| 548 | +.wowp .wowp-settings__publish-template select { | |
| 549 | + width: auto; | |
| 550 | + min-width: 200px; | |
| 326 | 551 | } |
| 327 | - | |
| 328 | -.nav-tab-wrapper.wowp-tab { | |
| 329 | - cursor: pointer; | |
| 552 | +.wowp .wowp-field__title { | |
| 553 | + color: var(--wowp-gray-900); | |
| 554 | + font-size: 1rem; | |
| 555 | + font-weight: 600; | |
| 330 | 556 | } |
| 331 | - | |
| 332 | -.wowp-tab .nav-tab-active { | |
| 333 | - background-color: #ffffff; | |
| 334 | - border-bottom: 1px solid #ffffff; | |
| 557 | +.wowp .wowp-fieldset { | |
| 558 | + border: 1px solid var(--wowp-gray-100); | |
| 559 | + padding: 1rem; | |
| 560 | + border-radius: 0.5rem; | |
| 561 | + box-shadow: var(--wowp-shadow-sm); | |
| 562 | + margin-block: 1.5rem; | |
| 335 | 563 | } |
| 336 | - | |
| 337 | -.wowp-tab-content { | |
| 338 | - padding: 1.5rem 1.25rem; | |
| 339 | - background-color: #ffffff; | |
| 340 | - border-width: 1px; | |
| 341 | - border-style: solid; | |
| 342 | - border-image: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow)) 1 100%; | |
| 564 | +.wowp .wowp-fieldset__header { | |
| 565 | + margin-inline: -1rem; | |
| 566 | + padding-inline: 1rem; | |
| 567 | + display: flex; | |
| 568 | + flex-direction: column; | |
| 569 | + gap: 1rem; | |
| 343 | 570 | } |
| 344 | -.wowp-tab-content .tab-content { | |
| 345 | - display: none; | |
| 571 | +@media (width >= 48rem) { | |
| 572 | + .wowp .wowp-fieldset__header { | |
| 573 | + flex-direction: row; | |
| 574 | + justify-content: space-between; | |
| 575 | + align-items: center; | |
| 576 | + } | |
| 346 | 577 | } |
| 347 | -.wowp-tab-content .tab-content.tab-content-active { | |
| 348 | - display: block; | |
| 578 | +.wowp .wowp-fieldset__header + .wowp-fields__group { | |
| 579 | + margin-top: 1rem; | |
| 580 | + margin-inline: -1rem; | |
| 581 | + padding-inline: 1rem; | |
| 582 | + border-top: 1px solid var(--wowp-gray-100); | |
| 349 | 583 | } |
| 350 | - | |
| 351 | -.wowp-text-helper { | |
| 352 | - width: 100%; | |
| 584 | +.wowp .wowp-fieldset__header-title { | |
| 585 | + font-size: 1.125rem; | |
| 586 | + line-height: 1.75; | |
| 587 | + font-weight: 500; | |
| 588 | + color: var(--wowp-gray-700); | |
| 353 | 589 | } |
| 354 | - | |
| 355 | -.CodeMirror { | |
| 356 | - border: 1px solid var(--wowp-border); | |
| 357 | - font-size: 13px; | |
| 358 | - resize: vertical; | |
| 359 | - overflow: auto; | |
| 590 | +.wowp .wowp-fieldset__header-title p { | |
| 591 | + font-size: 0.875rem; | |
| 592 | + line-height: 1.25rem; | |
| 593 | + color: var(--wowp-gray-400); | |
| 594 | + margin: 0; | |
| 595 | + font-weight: 400; | |
| 360 | 596 | } |
| 361 | - | |
| 362 | -.wowp-sidebar-pub-section { | |
| 597 | +.wowp .wowp-fields__group { | |
| 598 | + padding-top: 1rem; | |
| 363 | 599 | display: flex; |
| 364 | - flex-direction: column; | |
| 365 | - gap: 15px; | |
| 600 | + gap: 1rem; | |
| 601 | + align-items: center; | |
| 602 | + flex-wrap: wrap; | |
| 366 | 603 | } |
| 367 | - | |
| 368 | -.wowp-sidebar-pub-section .wowp-field { | |
| 604 | +.wowp .wowp-fields__group.column-3 > *:not(.is-full) { | |
| 605 | + flex: 1 1 calc(33.333% - 1rem); | |
| 606 | + min-width: 200px; | |
| 607 | +} | |
| 608 | +.wowp #wp-support-message-wrap { | |
| 369 | 609 | width: 100%; |
| 370 | 610 | } |
| 371 | - | |
| 372 | -.wowp-sidebar-pub-section .wowp-field .is-addon { | |
| 373 | - height: 32px; | |
| 374 | - line-height: 32px; | |
| 611 | +.wowp .wowp-button__icon { | |
| 612 | + --_color: var(--wowp-gray-700); | |
| 613 | + display: flex; | |
| 614 | + justify-content: center; | |
| 615 | + align-items: center; | |
| 616 | + width: 40px; | |
| 617 | + height: 40px; | |
| 618 | + cursor: pointer; | |
| 619 | + appearance: button; | |
| 620 | + background-color: color-mix(in srgb, var(--_color) 7%, white); | |
| 621 | + border-color: var(--_color); | |
| 622 | + border-width: 1px; | |
| 623 | + border-style: solid; | |
| 624 | + border-radius: 0.25rem; | |
| 625 | + color: var(--_color); | |
| 375 | 626 | } |
| 376 | -.wowp-sidebar-pub-section .wowp-field .is-addon .dashicons { | |
| 377 | - line-height: 32px; | |
| 627 | +.wowp .wowp-button__icon:hover { | |
| 628 | + background-color: color-mix(in srgb, var(--_color) 15%, white); | |
| 378 | 629 | } |
| 379 | -.wowp-sidebar-pub-section .wowp-field .is-addon a { | |
| 380 | - text-decoration: none; | |
| 630 | +.wowp .wowp-button__icon.is-remove { | |
| 631 | + --_color: var(--wowp-color-red); | |
| 381 | 632 | } |
| 382 | -.wowp-sidebar-pub-section .wowp-field input:not([type=checkbox], [type=radio]) { | |
| 383 | - height: 32px; | |
| 633 | +.wowp .wowp-button { | |
| 634 | + display: inline-flex; | |
| 635 | + align-items: center; | |
| 636 | + gap: 0.5rem; | |
| 384 | 637 | } |
| 385 | - | |
| 386 | -.wowp-sidebar-pub-section [list]::-webkit-calendar-picker-indicator { | |
| 387 | - display: none !important; | |
| 638 | +.wowp .wowp-button.button-secondary { | |
| 639 | + border-color: transparent; | |
| 640 | + color: var(--wowp-gray-900); | |
| 641 | + font-weight: 500; | |
| 388 | 642 | } |
| 389 | - | |
| 390 | -.wowp-sidebar #major-publishing-actions { | |
| 391 | - margin: 0 -12px -12px -12px; | |
| 392 | - padding: 12px 24px; | |
| 643 | +.wowp .wowp-button.button-primary { | |
| 644 | + font-weight: 500; | |
| 393 | 645 | } |
| 394 | - | |
| 395 | -.wowp-sidebar #minor-publishing-actions { | |
| 396 | - padding: 0; | |
| 397 | -} | |
| 398 | - | |
| 399 | -.button._is-success { | |
| 400 | - background-color: var(--wowp-success); | |
| 401 | - border-color: var(--wowp-success); | |
| 646 | +.wowp .wowp-button.button-dark { | |
| 647 | + font-weight: 500; | |
| 648 | + border-color: transparent; | |
| 649 | + background-color: var(--wowp-gray-900); | |
| 402 | 650 | color: #ffffff; |
| 403 | 651 | } |
| 404 | -.button._is-success:focus, .button._is-success:hover { | |
| 405 | - background-color: #007602; | |
| 406 | - border-color: #007602; | |
| 407 | - color: #ffffff; | |
| 652 | +.wowp .wowp-button.button-dark:hover { | |
| 653 | + background-color: var(--wowp-gray-700); | |
| 408 | 654 | } |
| 409 | - | |
| 410 | -.button._is-danger { | |
| 411 | - background-color: var(--wowp-danger); | |
| 412 | - border-color: var(--wowp-danger); | |
| 655 | +.wowp .wowp-button.button-red { | |
| 656 | + font-weight: 500; | |
| 657 | + border-color: transparent; | |
| 658 | + background-color: var(--wowp-color-red); | |
| 413 | 659 | color: #ffffff; |
| 414 | 660 | } |
| 415 | -.button._is-danger:focus, .button._is-danger:hover { | |
| 416 | - background-color: #760200; | |
| 417 | - border-color: #760200; | |
| 418 | - color: #ffffff; | |
| 661 | +.wowp .wowp-button.button-red:hover { | |
| 662 | + background-color: color-mix(in srgb, var(--wowp-color-red) 61.54%, black); | |
| 419 | 663 | } |
| 420 | - | |
| 421 | -.has-tooltip { | |
| 664 | +.wowp .wowp-tooltip { | |
| 422 | 665 | position: relative; |
| 666 | + font-weight: 400; | |
| 423 | 667 | cursor: help; |
| 424 | 668 | } |
| 425 | -.has-tooltip::before, .has-tooltip::after { | |
| 669 | +.wowp .wowp-tooltip.is-pointer { | |
| 670 | + cursor: pointer; | |
| 671 | +} | |
| 672 | +.wowp .wowp-tooltip::before, .wowp .wowp-tooltip::after { | |
| 426 | 673 | color: #efefef; |
| 427 | - font-family: monospace; | |
| 428 | 674 | font-size: 12px; |
| 429 | 675 | opacity: 0; |
| 430 | 676 | pointer-events: none; |
| 431 | 677 | text-align: center; |
| 432 | 678 | } |
| 433 | -.has-tooltip::before { | |
| 679 | +.wowp .wowp-tooltip::before { | |
| 434 | 680 | position: absolute; |
| 435 | 681 | top: 0; |
| 436 | 682 | left: 50%; |
| 437 | - background-color: #2B222A; | |
| 438 | - border-radius: 5px; | |
| 439 | - color: #fff; | |
| 683 | + background-color: rgba(0, 0, 0, 0.85); | |
| 684 | + border-radius: 2px; | |
| 685 | + color: #ffffff; | |
| 440 | 686 | content: attr(data-tooltip); |
| 441 | - padding: 5px 10px; | |
| 687 | + padding: 10px; | |
| 442 | 688 | text-transform: none; |
| 443 | 689 | transition: all 0.5s ease; |
| 444 | - width: 160px; | |
| 690 | + max-width: 200px; | |
| 691 | + width: max-content; | |
| 445 | 692 | transform: translateY(calc(-100% - 7px)) translateX(-50%); |
| 446 | 693 | word-wrap: break-word; |
| 447 | 694 | white-space: break-spaces; |
| 448 | - line-height: 1.1; | |
| 695 | + line-height: 1.5; | |
| 696 | + text-align: left; | |
| 449 | 697 | } |
| 450 | -.has-tooltip::after { | |
| 698 | +.wowp .wowp-tooltip::after { | |
| 451 | 699 | position: absolute; |
| 452 | 700 | top: -7px; |
| 453 | 701 | left: 50%; |
| 454 | 702 | border-left: 5px solid transparent; |
| 455 | 703 | border-right: 5px solid transparent; |
| 456 | - border-top: 5px solid #2B222A; | |
| 704 | + border-top: 5px solid var(--wowp-gray-900); | |
| 457 | 705 | content: " "; |
| 458 | 706 | font-size: 0; |
| 459 | 707 | line-height: 0; |
| 460 | 708 | margin-left: -5px; |
| @@ -460,242 +708,513 @@ | ||
| 460 | 708 | margin-left: -5px; |
| 461 | 709 | width: 0; |
| 462 | 710 | transform: translateX(-50%); |
| 463 | 711 | } |
| 464 | -.has-tooltip:focus::before, .has-tooltip:focus::after, .has-tooltip:hover::before, .has-tooltip:hover::after { | |
| 712 | +.wowp .wowp-tooltip:focus-visible::before, .wowp .wowp-tooltip:focus-visible::after, .wowp .wowp-tooltip:focus::before, .wowp .wowp-tooltip:focus::after, .wowp .wowp-tooltip:hover::before, .wowp .wowp-tooltip:hover::after { | |
| 465 | 713 | opacity: 1; |
| 466 | 714 | transition: all 0.75s ease; |
| 467 | 715 | } |
| 468 | -.has-tooltip.on-right::before { | |
| 716 | +.wowp .wowp-tooltip.on-right::before { | |
| 469 | 717 | top: 50%; |
| 470 | 718 | left: 100%; |
| 471 | 719 | transform: translateY(-50%) translateX(4px); |
| 472 | 720 | } |
| 473 | -.has-tooltip.on-right::after { | |
| 721 | +.wowp .wowp-tooltip.on-right::after { | |
| 474 | 722 | top: 50%; |
| 475 | 723 | left: calc(100% + 2px); |
| 476 | 724 | rotate: 90deg; |
| 477 | 725 | transform: translateX(calc(-50% + 2.5px)); |
| 478 | 726 | } |
| 479 | -.has-tooltip.on-left::before { | |
| 727 | +.wowp .wowp-tooltip.on-left::before { | |
| 480 | 728 | top: 50%; |
| 481 | 729 | left: -2px; |
| 482 | 730 | transform: translateY(-50%) translateX(-100%); |
| 483 | 731 | } |
| 484 | -.has-tooltip.on-left::after { | |
| 732 | +.wowp .wowp-tooltip.on-left::after { | |
| 485 | 733 | top: 50%; |
| 486 | 734 | left: 0; |
| 487 | 735 | rotate: -90deg; |
| 488 | 736 | transform: translateX(calc(-50% + 7px)); |
| 489 | 737 | } |
| 490 | - | |
| 491 | -.wowp-toogle { | |
| 738 | +.wowp .wowp-tooltip.on-bottom::before { | |
| 739 | + top: unset; | |
| 740 | + bottom: 0; | |
| 741 | + transform: translateY(calc(100% + 7px)) translateX(-50%); | |
| 742 | +} | |
| 743 | +.wowp .wowp-tooltip.on-bottom::after { | |
| 744 | + top: unset; | |
| 745 | + bottom: -7px; | |
| 746 | + rotate: 180deg; | |
| 747 | +} | |
| 748 | +.wowp .is-hidden { | |
| 749 | + display: none; | |
| 750 | +} | |
| 751 | +.wowp .wowp-color-blue { | |
| 752 | + color: var(--wowp-color-blue); | |
| 753 | +} | |
| 754 | +.wowp .wowp-color-yellow { | |
| 755 | + color: var(--wowp-color-yellow); | |
| 756 | +} | |
| 757 | +.wowp .wowp-color-red { | |
| 758 | + color: var(--wowp-color-red); | |
| 759 | +} | |
| 760 | +.wowp .wowp-color-green { | |
| 761 | + color: var(--wowp-color-green); | |
| 762 | +} | |
| 763 | +.wowp .is-italic { | |
| 764 | + font-style: italic; | |
| 765 | +} | |
| 766 | +.wowp .is-full { | |
| 767 | + width: 100%; | |
| 768 | +} | |
| 769 | +.wowp .m-w-48 { | |
| 770 | + max-width: 48rem; | |
| 771 | + margin-inline: auto; | |
| 772 | +} | |
| 773 | +.wowp .m-top { | |
| 774 | + margin-top: 1.5rem; | |
| 775 | +} | |
| 776 | +.wowp .wowp-command { | |
| 777 | + max-width: 450px; | |
| 778 | + width: 100%; | |
| 779 | + max-height: 380px; | |
| 780 | + height: 100%; | |
| 781 | + border: none; | |
| 782 | + border-radius: 0.5rem; | |
| 783 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); | |
| 784 | + border-color: var(--wowp-gray-100); | |
| 785 | + padding: 0; | |
| 786 | +} | |
| 787 | +.wowp .wowp-command .wowp-field { | |
| 788 | + position: sticky; | |
| 789 | + top: 0; | |
| 790 | + background: #fff; | |
| 791 | + z-index: 10; | |
| 792 | + padding: 8px; | |
| 793 | + border-bottom: 1px solid #ddd; | |
| 794 | +} | |
| 795 | +.wowp .wowp-quickcodes-search { | |
| 796 | + width: 100%; | |
| 797 | + border: none; | |
| 798 | + border-radius: 0; | |
| 799 | +} | |
| 800 | +.wowp .wowp-quickcodes-search:focus { | |
| 801 | + outline: none; | |
| 802 | + box-shadow: none; | |
| 803 | + border-color: var(--wowp-gray-100); | |
| 804 | +} | |
| 805 | +.wowp .wowp-qc-list { | |
| 806 | + margin: 0; | |
| 807 | + padding: 4px; | |
| 808 | + max-height: 300px; | |
| 809 | + /* або інше значення */ | |
| 810 | + overflow-y: auto; | |
| 811 | + scrollbar-width: thin; | |
| 812 | + /* Firefox */ | |
| 813 | + scrollbar-color: #ccc transparent; | |
| 814 | + /* Firefox */ | |
| 815 | +} | |
| 816 | +.wowp .wowp-qc-list li { | |
| 817 | + padding: 0.375rem 0.75rem; | |
| 818 | + margin: 0; | |
| 819 | + color: var(--wowp-gray-900); | |
| 820 | + font-weight: 500; | |
| 492 | 821 | display: flex; |
| 493 | - align-items: center; | |
| 822 | + flex-direction: column; | |
| 823 | +} | |
| 824 | +.wowp .wowp-qc-list li .description { | |
| 825 | + font-weight: normal; | |
| 826 | + color: var(--wowp-gray-700); | |
| 827 | +} | |
| 828 | +.wowp .wowp-qc-list li .description code { | |
| 829 | + font-size: 0.75rem; | |
| 830 | +} | |
| 831 | +.wowp .wowp-qc-list li.is-active { | |
| 832 | + background-color: #f0f0f0; | |
| 833 | + outline: 1px solid #007cba; | |
| 834 | +} | |
| 835 | +.wowp .wowp-qc-list .qc-title { | |
| 836 | + color: var(--wowp-gray-400); | |
| 837 | + font-weight: 500; | |
| 838 | + font-size: 0.75rem; | |
| 839 | + line-height: 1rem; | |
| 840 | +} | |
| 841 | +.wowp .wowp-qc-list .quickcode { | |
| 842 | + cursor: pointer; | |
| 843 | + border-radius: 0.25rem; | |
| 844 | +} | |
| 845 | +.wowp .wowp-qc-list .quickcode:hover { | |
| 846 | + background-color: var(--wowp-gray-100); | |
| 847 | +} | |
| 848 | +.wowp .wowp-qc-list::-webkit-scrollbar { | |
| 849 | + width: 6px; | |
| 850 | +} | |
| 851 | +.wowp .wowp-qc-list::-webkit-scrollbar-thumb { | |
| 852 | + background-color: #ccc; | |
| 853 | + border-radius: 4px; | |
| 854 | +} | |
| 855 | +.wowp .wowp-qc-list::-webkit-scrollbar-track { | |
| 856 | + background: transparent; | |
| 857 | +} | |
| 858 | +.wowp .wowp-tools { | |
| 859 | + max-width: 64rem; | |
| 860 | + width: 100%; | |
| 861 | +} | |
| 862 | +.wowp .wowp-tools .wowp-button { | |
| 863 | + margin-top: 1rem; | |
| 864 | +} | |
| 865 | +.wowp .wowp-snippets { | |
| 866 | + max-width: 64rem; | |
| 867 | + width: 100%; | |
| 868 | +} | |
| 869 | +.wowp .wowp-snippets__header { | |
| 870 | + padding-bottom: 0.75rem; | |
| 871 | + border-bottom: 1px solid var(--wowp-gray-100); | |
| 872 | +} | |
| 873 | +.wowp .wowp-snippets__header-title { | |
| 874 | + margin: 0; | |
| 875 | +} | |
| 876 | +.wowp .wowp-snippets__header-description { | |
| 877 | + font-size: 0.875rem; | |
| 878 | + line-height: 1.25rem; | |
| 879 | + color: var(--wowp-gray-400); | |
| 880 | + margin: 0; | |
| 881 | +} | |
| 882 | +.wowp .wowp-snippet__list { | |
| 883 | + display: flex; | |
| 884 | + flex-direction: column; | |
| 885 | + gap: 0.75rem; | |
| 886 | + margin-top: 0.75rem; | |
| 887 | +} | |
| 888 | +.wowp .wowp-snippet__item { | |
| 494 | 889 | position: relative; |
| 495 | - text-decoration: none; | |
| 496 | - color: #ffffff; | |
| 497 | - width: 40px; | |
| 498 | - height: 28px; | |
| 499 | - border-radius: 50px; | |
| 500 | - padding: 0 4px; | |
| 890 | + display: flex; | |
| 891 | + justify-content: space-between; | |
| 892 | + gap: 1rem; | |
| 893 | + border: 1px solid var(--wowp-gray-100); | |
| 894 | + border-radius: 0.5rem; | |
| 895 | + padding: 1rem; | |
| 896 | + flex-wrap: wrap; | |
| 897 | + overflow: hidden; | |
| 501 | 898 | } |
| 502 | -.wowp-toogle:focus, .wowp-toogle:hover { | |
| 503 | - color: #ffffff; | |
| 899 | +.wowp .wowp-snippet__item > .wowp-field.has-checkbox { | |
| 900 | + border: none; | |
| 504 | 901 | } |
| 505 | - | |
| 506 | -.wowp-toogle span { | |
| 507 | - height: 20px; | |
| 508 | - width: 20px; | |
| 902 | +.wowp .wowp-snippet__item:has(> .wowp-field.has-checkbox input[type=checkbox]:checked):before { | |
| 903 | + content: ""; | |
| 904 | + position: absolute; | |
| 905 | + top: 0; | |
| 906 | + left: 0; | |
| 907 | + height: 100%; | |
| 908 | + width: 4px; | |
| 909 | + background-color: var(--wowp-color-blue); | |
| 910 | +} | |
| 911 | +.wowp .wowp-snippet__item-header { | |
| 912 | + flex: 1; | |
| 913 | +} | |
| 914 | +.wowp .wowp-snippet__item-header label { | |
| 915 | + font-weight: 600; | |
| 916 | + font-size: 1rem; | |
| 917 | + line-height: 1.5rem; | |
| 918 | + color: var(--wowp-gray-900); | |
| 919 | +} | |
| 920 | +.wowp .wowp-snippet__item-description { | |
| 921 | + font-size: 0.8rem; | |
| 922 | + margin-top: 0.25rem; | |
| 923 | + margin-bottom: 0; | |
| 924 | + color: var(--wowp-gray-500); | |
| 925 | +} | |
| 926 | +.wowp .wowp-snippet__item-expand { | |
| 927 | + width: 100%; | |
| 928 | + border-top: 1px solid var(--wowp-gray-100); | |
| 929 | + padding-top: 1rem; | |
| 930 | +} | |
| 931 | +.wowp .wowp-snippet__expand-title { | |
| 932 | + font-weight: 500; | |
| 933 | + font-size: 0.875rem; | |
| 934 | + margin: 0; | |
| 935 | +} | |
| 936 | +.wowp .wowp-snippets__tabs { | |
| 509 | 937 | display: flex; |
| 938 | + gap: 2.5rem; | |
| 939 | + margin-top: 0.75rem; | |
| 940 | +} | |
| 941 | +.wowp .wowp-snippets__tabs-radio { | |
| 942 | + display: none; | |
| 943 | +} | |
| 944 | +.wowp .wowp-snippets__tabs-labels { | |
| 945 | + display: flex; | |
| 946 | + flex-direction: column; | |
| 947 | + gap: 0.5rem; | |
| 948 | + width: 15rem; | |
| 949 | +} | |
| 950 | +.wowp .wowp-snippets__tabs-tab { | |
| 951 | + font-weight: 500; | |
| 952 | + font-size: 0.875rem; | |
| 953 | + line-height: 1.25rem; | |
| 954 | + padding: 0.5rem 1rem; | |
| 955 | + cursor: pointer; | |
| 956 | + border-radius: 0.25rem; | |
| 957 | + color: var(--wowp-gray-900); | |
| 958 | + display: flex; | |
| 510 | 959 | align-items: center; |
| 511 | - justify-content: center; | |
| 512 | - border-radius: 50%; | |
| 513 | - font-size: 8px; | |
| 960 | + gap: 0.75rem; | |
| 514 | 961 | } |
| 515 | - | |
| 516 | -.wowp-toogle.is-on { | |
| 517 | - background-color: #BFFFC0; | |
| 962 | +.wowp .wowp-snippets__tabs-tab .icon { | |
| 963 | + font-size: 1rem; | |
| 518 | 964 | } |
| 519 | - | |
| 520 | -.wowp-toogle.is-on span { | |
| 521 | - background-color: #00BF04; | |
| 965 | +.wowp .wowp-snippets__tabs-tab:hover { | |
| 966 | + color: var(--wowp-color-blue); | |
| 522 | 967 | } |
| 523 | -.wowp-toogle.is-on:focus span, .wowp-toogle.is-on:hover span { | |
| 524 | - background-color: #007602; | |
| 968 | +.wowp .wowp-snippets__tabs-content { | |
| 969 | + position: absolute; | |
| 970 | + top: -99999px; | |
| 971 | + left: -99999px; | |
| 972 | + max-width: 42rem; | |
| 973 | + width: 100%; | |
| 525 | 974 | } |
| 526 | - | |
| 527 | -.wowp-toogle.is-off { | |
| 528 | - flex-direction: row-reverse; | |
| 529 | - background-color: #FFC0BF; | |
| 975 | +.wowp .wowp-snippets__tabs-content > .wowp-button { | |
| 976 | + margin-top: 1rem; | |
| 530 | 977 | } |
| 531 | - | |
| 532 | -.wowp-toogle.is-off span { | |
| 533 | - background-color: #BF0400; | |
| 978 | +.wowp #wowp-tab-content:checked ~ [data-content=wowp-tab-content] { | |
| 979 | + position: static; | |
| 534 | 980 | } |
| 535 | -.wowp-toogle.is-off:focus span, .wowp-toogle.is-off:hover span { | |
| 536 | - background-color: #760200; | |
| 981 | +.wowp #wowp-tab-content:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-content] { | |
| 982 | + background-color: var(--wowp-gray-100); | |
| 537 | 983 | } |
| 538 | - | |
| 539 | -.wowp-wrap .has-shadow { | |
| 540 | - box-shadow: 0 0 10px 3px rgba(0, 91, 191, 0.1); | |
| 984 | +.wowp #wowp-tab-admin:checked ~ [data-content=wowp-tab-admin] { | |
| 985 | + position: static; | |
| 541 | 986 | } |
| 542 | -.wowp-wrap .has-padding { | |
| 987 | +.wowp #wowp-tab-admin:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-admin] { | |
| 988 | + background-color: var(--wowp-gray-100); | |
| 989 | +} | |
| 990 | +.wowp #wowp-tab-login:checked ~ [data-content=wowp-tab-login] { | |
| 991 | + position: static; | |
| 992 | +} | |
| 993 | +.wowp #wowp-tab-login:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-login] { | |
| 994 | + background-color: var(--wowp-gray-100); | |
| 995 | +} | |
| 996 | +.wowp #wowp-tab-media:checked ~ [data-content=wowp-tab-media] { | |
| 997 | + position: static; | |
| 998 | +} | |
| 999 | +.wowp #wowp-tab-media:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-media] { | |
| 1000 | + background-color: var(--wowp-gray-100); | |
| 1001 | +} | |
| 1002 | +.wowp #wowp-tab-core:checked ~ [data-content=wowp-tab-core] { | |
| 1003 | + position: static; | |
| 1004 | +} | |
| 1005 | +.wowp #wowp-tab-core:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-core] { | |
| 1006 | + background-color: var(--wowp-gray-100); | |
| 1007 | +} | |
| 1008 | +.wowp #wowp-tab-comments:checked ~ [data-content=wowp-tab-comments] { | |
| 1009 | + position: static; | |
| 1010 | +} | |
| 1011 | +.wowp #wowp-tab-comments:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-comments] { | |
| 1012 | + background-color: var(--wowp-gray-100); | |
| 1013 | +} | |
| 1014 | +.wowp #wowp-tab-optimization:checked ~ [data-content=wowp-tab-optimization] { | |
| 1015 | + position: static; | |
| 1016 | +} | |
| 1017 | +.wowp #wowp-tab-optimization:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-optimization] { | |
| 1018 | + background-color: var(--wowp-gray-100); | |
| 1019 | +} | |
| 1020 | +.wowp .popover-container { | |
| 1021 | + position: relative; | |
| 1022 | + display: inline-block; | |
| 1023 | +} | |
| 1024 | +.wowp .popover { | |
| 1025 | + position: absolute; | |
| 1026 | + top: calc(100% + 0.75rem); | |
| 1027 | + right: 0; | |
| 1028 | + background: white; | |
| 1029 | + border: 1px solid var(--wowp-gray-100); | |
| 543 | 1030 | padding: 10px; |
| 544 | - margin: 0 -10px; | |
| 1031 | + border-radius: 6px; | |
| 1032 | + box-shadow: var(--wowp-shadow); | |
| 1033 | + display: none; | |
| 1034 | + z-index: 1000; | |
| 1035 | + width: 160px; | |
| 545 | 1036 | } |
| 546 | -.wowp-wrap .is-hidden { | |
| 1037 | +.wowp .wowp-pro { | |
| 1038 | + margin-block: 1.5rem; | |
| 1039 | +} | |
| 1040 | +.wowp .wowp-pro + input[type=submit] { | |
| 547 | 1041 | display: none; |
| 548 | 1042 | } |
| 549 | -.wowp-wrap .has-radius { | |
| 550 | - border-radius: 4px; | |
| 1043 | +.wowp .wowp-pro .wowp-fieldset__header { | |
| 1044 | + padding-inline: 1.5rem; | |
| 551 | 1045 | } |
| 552 | -.wowp-wrap .w_has-border { | |
| 553 | - border: 2px solid; | |
| 554 | - border-image: linear-gradient(to bottom, var(--wowp-blue), var(--wowp-yellow)) 1; | |
| 1046 | +.wowp .wowp-pro__features { | |
| 1047 | + display: grid; | |
| 1048 | + grid-template-columns: repeat(1, minmax(0, 1fr)); | |
| 1049 | + margin-top: 2.5rem; | |
| 1050 | + max-width: 96rem; | |
| 1051 | + width: 100%; | |
| 1052 | + margin-inline: auto; | |
| 1053 | + gap: 2rem; | |
| 1054 | + padding-inline: 0.5rem; | |
| 555 | 1055 | } |
| 556 | -.wowp-wrap .w_width-750 { | |
| 557 | - max-width: 750px; | |
| 1056 | +@media (width >= 80rem) { | |
| 1057 | + .wowp .wowp-pro__features { | |
| 1058 | + grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 1059 | + } | |
| 558 | 1060 | } |
| 559 | -.wowp-wrap .has-mt { | |
| 560 | - margin-top: 24px; | |
| 1061 | +.wowp .wowp-pro__feature { | |
| 1062 | + display: flex; | |
| 1063 | + gap: 1rem; | |
| 561 | 1064 | } |
| 562 | - | |
| 563 | -.w_block { | |
| 564 | - background-color: #ebf3ff; | |
| 565 | - padding: 50px 32px; | |
| 566 | - max-width: 1200px; | |
| 567 | - margin: 50px auto; | |
| 1065 | +.wowp .wowp-pro-feature__icon { | |
| 1066 | + width: 3rem; | |
| 1067 | + height: 3rem; | |
| 1068 | + display: flex; | |
| 1069 | + align-items: center; | |
| 1070 | + justify-content: center; | |
| 1071 | + box-shadow: var(--wowp-shadow); | |
| 1072 | + border-radius: 0.25rem; | |
| 568 | 1073 | } |
| 569 | -.w_block-titles { | |
| 570 | - position: relative; | |
| 571 | - width: max-content; | |
| 572 | - margin: 0 auto; | |
| 1074 | +.wowp .wowp-pro-feature__icon span { | |
| 1075 | + font-size: 1.5rem; | |
| 1076 | + color: var(--wowp-gray-900); | |
| 1077 | +} | |
| 1078 | +.wowp .wowp-pro-feature__content { | |
| 573 | 1079 | display: flex; |
| 574 | 1080 | flex-direction: column; |
| 575 | - gap: 15px; | |
| 1081 | + gap: 0.25rem; | |
| 1082 | + flex: 1; | |
| 576 | 1083 | } |
| 577 | -.w_block-subtitle { | |
| 578 | - color: #f16046; | |
| 579 | - font-size: 16px; | |
| 1084 | +.wowp .wowp-pro-feature__title { | |
| 1085 | + color: var(--wowp-gray-900); | |
| 580 | 1086 | font-weight: 700; |
| 581 | - line-height: 20px; | |
| 582 | - margin: 0; | |
| 1087 | + font-size: 1.25rem; | |
| 1088 | + line-height: 1.75rem; | |
| 583 | 1089 | } |
| 584 | -.w_block-title { | |
| 1090 | +.wowp .wowp-pro-feature__desc { | |
| 1091 | + color: var(--wowp-gray-500); | |
| 1092 | + font-weight: 300; | |
| 1093 | + font-size: 1.25rem; | |
| 1094 | + line-height: 1.75rem; | |
| 1095 | +} | |
| 1096 | + | |
| 1097 | +.wowp-notification { | |
| 1098 | + --_color: var(--wowp-gray-900); | |
| 585 | 1099 | position: relative; |
| 586 | - font-size: 40px; | |
| 587 | - font-weight: 600; | |
| 588 | - line-height: 45px; | |
| 589 | - margin: 0; | |
| 590 | - background: linear-gradient(to right, #14102C 0%, #14102C 30%, #E86E2C 81%, #14102C 100%); | |
| 591 | - -webkit-background-clip: text; | |
| 592 | - -webkit-text-fill-color: transparent; | |
| 593 | - color: #14102C; | |
| 1100 | + background-color: color-mix(in srgb, var(--_color) 7%, white); | |
| 1101 | + border-width: 1px; | |
| 1102 | + border-style: solid; | |
| 1103 | + border-color: var(--_color); | |
| 1104 | + padding-block: 1.25rem; | |
| 1105 | + padding-inline: 3rem 1.25rem; | |
| 1106 | + border-radius: 4px; | |
| 1107 | + margin-block: 1rem; | |
| 594 | 1108 | } |
| 595 | -.w_block-btns { | |
| 596 | - width: max-content; | |
| 597 | - margin: 48px auto 68px; | |
| 1109 | +.wowp-notification:before { | |
| 1110 | + position: absolute; | |
| 1111 | + left: 0.5rem; | |
| 1112 | + top: 50%; | |
| 1113 | + transform: translateY(-50%); | |
| 1114 | + content: ""; | |
| 1115 | + font-family: dashicons; | |
| 1116 | + font-size: 1.5rem; | |
| 1117 | + width: 2rem; | |
| 1118 | + height: 2rem; | |
| 598 | 1119 | display: flex; |
| 599 | - gap: 25px; | |
| 1120 | + align-items: center; | |
| 1121 | + justify-content: center; | |
| 1122 | + color: var(--_color); | |
| 600 | 1123 | } |
| 601 | -@media screen and (max-width: 768px) { | |
| 602 | - .w_block-btns { | |
| 603 | - flex-direction: column; | |
| 604 | - } | |
| 1124 | +.wowp-notification:after { | |
| 1125 | + position: absolute; | |
| 1126 | + content: ""; | |
| 1127 | + left: 0; | |
| 1128 | + top: 50%; | |
| 1129 | + transform: translateY(-50%); | |
| 1130 | + height: 2rem; | |
| 1131 | + width: 3px; | |
| 1132 | + border-radius: 0 3px 3px 0; | |
| 1133 | + background-color: var(--_color); | |
| 605 | 1134 | } |
| 606 | -.w_block-btns [class^=w_btn] { | |
| 607 | - display: inline-block; | |
| 608 | - width: 220px; | |
| 609 | - height: 50px; | |
| 610 | - margin: 0 15px; | |
| 611 | - line-height: 50px; | |
| 612 | - font-size: 20px; | |
| 613 | - text-decoration: none; | |
| 614 | - color: #fff; | |
| 615 | - border-width: 1px; | |
| 616 | - border-style: solid; | |
| 617 | - text-align: center; | |
| 618 | - border-radius: 8px; | |
| 619 | - text-transform: uppercase; | |
| 620 | - transition: 0.5s; | |
| 621 | - background-size: 200% auto; | |
| 1135 | +.wowp-notification.notification-info { | |
| 1136 | + --_color: var(--wowp-color-blue); | |
| 622 | 1137 | } |
| 623 | -.w_block-btns [class^=w_btn]:hover { | |
| 624 | - background-position: right center; | |
| 1138 | +.wowp-notification.notification-info:before { | |
| 1139 | + content: ""; | |
| 625 | 1140 | } |
| 626 | -.w_block-btns .w_btn-pro { | |
| 627 | - background-image: linear-gradient(to right, #FFD500 0%, #E86E2C 51%, #FFD500 100%); | |
| 1141 | +.wowp-notification.notification-warning { | |
| 1142 | + --_color: var(--wowp-color-yellow); | |
| 628 | 1143 | } |
| 629 | -.w_block-btns .w_btn-demo { | |
| 630 | - background-image: linear-gradient(to right, #005BBF 0%, #800080 51%, #005BBF 100%); | |
| 1144 | +.wowp-notification.notification-warning:before { | |
| 1145 | + content: ""; | |
| 631 | 1146 | } |
| 1147 | +.wowp-notification.notification-error { | |
| 1148 | + --_color: var(--wowp-color-red); | |
| 1149 | +} | |
| 1150 | +.wowp-notification.notification-error:before { | |
| 1151 | + content: ""; | |
| 1152 | +} | |
| 1153 | +.wowp-notification.notification-lock { | |
| 1154 | + --_color: var(--wowp-color-red); | |
| 1155 | +} | |
| 1156 | +.wowp-notification.notification-lock:before { | |
| 1157 | + content: ""; | |
| 1158 | +} | |
| 1159 | +.wowp-notification.notification-success { | |
| 1160 | + --_color: var(--wowp-color-green); | |
| 1161 | +} | |
| 1162 | +.wowp-notification.notification-success:before { | |
| 1163 | + content: ""; | |
| 1164 | +} | |
| 632 | 1165 | |
| 633 | -h4.wowp-title { | |
| 634 | - font-size: 32px; | |
| 635 | - font-weight: 600; | |
| 636 | - line-height: 1.125; | |
| 637 | - margin: 0 0 48px; | |
| 638 | - padding: 0; | |
| 639 | - color: var(--wowp-dark); | |
| 1166 | +.wowp-list { | |
| 1167 | + padding: 50px 46px 50px 16px; | |
| 640 | 1168 | } |
| 1169 | +.wowp-list .wowp-field input[type=text] { | |
| 1170 | + min-width: unset; | |
| 1171 | + width: auto; | |
| 1172 | +} | |
| 641 | 1173 | |
| 642 | -.w_card { | |
| 1174 | +.wowp-toogle { | |
| 1175 | + display: flex; | |
| 1176 | + align-items: center; | |
| 643 | 1177 | position: relative; |
| 644 | - background-color: #fff; | |
| 645 | - border-radius: 6px; | |
| 646 | - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02); | |
| 647 | - padding: 15px; | |
| 648 | 1178 | text-decoration: none; |
| 649 | - color: #363636; | |
| 1179 | + color: #ffffff; | |
| 1180 | + width: 40px; | |
| 1181 | + height: 28px; | |
| 1182 | + border-radius: 50px; | |
| 1183 | + padding: 0 4px; | |
| 650 | 1184 | } |
| 651 | -.w_card-media { | |
| 652 | - position: absolute; | |
| 653 | - top: -6px; | |
| 654 | - left: -12px; | |
| 655 | - background-color: #fdf2ed; | |
| 656 | - width: 56px; | |
| 657 | - height: 56px; | |
| 658 | - border-radius: 6px; | |
| 1185 | +.wowp-toogle:focus, .wowp-toogle:hover { | |
| 1186 | + color: #ffffff; | |
| 1187 | +} | |
| 1188 | + | |
| 1189 | +.wowp-toogle span { | |
| 1190 | + height: 20px; | |
| 1191 | + width: 20px; | |
| 659 | 1192 | display: flex; |
| 660 | 1193 | align-items: center; |
| 661 | - color: orange; | |
| 662 | - font-size: 32px; | |
| 663 | 1194 | justify-content: center; |
| 664 | - margin: 0; | |
| 1195 | + border-radius: 50%; | |
| 1196 | + font-size: 8px; | |
| 665 | 1197 | } |
| 666 | -.w_card-content { | |
| 667 | - display: flex; | |
| 668 | - gap: 28px; | |
| 669 | - flex-direction: column; | |
| 1198 | + | |
| 1199 | +.wowp-toogle.is-on { | |
| 1200 | + background-color: color-mix(in srgb, var(--wowp-color-green) 20%, white); | |
| 670 | 1201 | } |
| 671 | -.w_card-title { | |
| 672 | - font-size: 22px; | |
| 673 | - font-weight: 700; | |
| 674 | - margin: 0 0 0 44px; | |
| 1202 | + | |
| 1203 | +.wowp-toogle.is-on span { | |
| 1204 | + background-color: var(--wowp-color-green); | |
| 675 | 1205 | } |
| 676 | -.w_card-description { | |
| 677 | - font-size: 16px; | |
| 678 | - display: -webkit-box; | |
| 679 | - -webkit-line-clamp: 2; | |
| 680 | - -webkit-box-orient: vertical; | |
| 681 | - overflow: hidden; | |
| 682 | - text-overflow: ellipsis; | |
| 683 | - cursor: pointer; | |
| 684 | - margin: 0; | |
| 1206 | +.wowp-toogle.is-on:focus span, .wowp-toogle.is-on:hover span { | |
| 1207 | + background-color: color-mix(in srgb, var(--wowp-color-green) 90%, black); | |
| 685 | 1208 | } |
| 686 | -.w_card-description.is-open { | |
| 687 | - overflow: visible; | |
| 688 | - display: block; | |
| 689 | - -webkit-line-clamp: unset; | |
| 1209 | + | |
| 1210 | +.wowp-toogle.is-off { | |
| 1211 | + flex-direction: row-reverse; | |
| 1212 | + background-color: color-mix(in srgb, var(--wowp-color-red) 20%, white); | |
| 690 | 1213 | } |
| 691 | 1214 | |
| 692 | -[class^=w_boxes] { | |
| 693 | - display: grid; | |
| 694 | - gap: 22px; | |
| 1215 | +.wowp-toogle.is-off span { | |
| 1216 | + background-color: var(--wowp-color-red); | |
| 695 | 1217 | } |
| 696 | - | |
| 697 | -.w_boxes__3-col { | |
| 698 | - grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); | |
| 1218 | +.wowp-toogle.is-off:focus span, .wowp-toogle.is-off:hover span { | |
| 1219 | + background-color: color-mix(in srgb, var(--wowp-color-red) 90%, black); | |
| 699 | 1220 | } |
| 700 | - | |
| 701 | -/*# sourceMappingURL=admin.css.map */ | |