| 1 |
/* Cooked Admin Styling |
| 2 |
* @since 1.0.0 |
| 3 |
*/ |
| 4 |
|
| 5 |
.cooked-clearfix:after { content: ""; display: table; clear: both; } |
| 6 |
|
| 7 |
/* Hide the recipe content editor window, but leave it there for Yoast and other SEO plugins to read from */ |
| 8 |
#post-body-content #postdivrich { display:none; } |
| 9 |
|
| 10 |
body.post-type-cp_recipe .wp-list-table thead th.check-column, |
| 11 |
body.post-type-cp_recipe .wp-list-table tfoot th.check-column { padding:15px 0 0 7px; } |
| 12 |
body.post-type-cp_recipe .wp-list-table thead th, |
| 13 |
body.post-type-cp_recipe .wp-list-table tfoot th, |
| 14 |
body.post-type-cp_recipe .wp-list-table thead td, |
| 15 |
body.post-type-cp_recipe .wp-list-table tfoot td { padding:10px 10px; } |
| 16 |
|
| 17 |
body.post-type-cp_recipe .wp-list-table thead th.sortable a, body.post-type-cp_recipe .wp-list-table thead th.sorted a, |
| 18 |
body.post-type-cp_recipe .wp-list-table tfoot th.sortable a, body.post-type-cp_recipe .wp-list-table tfoot th.sorted a { padding-left:0; padding-right:0; } |
| 19 |
|
| 20 |
body.post-type-cp_recipe .wp-list-table tbody th.check-column { padding:15px 0 0 10px; } |
| 21 |
body.post-type-cp_recipe .wp-list-table tbody th, |
| 22 |
body.post-type-cp_recipe .wp-list-table tbody td { padding:12px 10px; } |
| 23 |
body.post-type-cp_recipe .wp-list-table tbody td.column-title strong { margin-top:6px; } |
| 24 |
body.post-type-cp_recipe .wp-list-table tbody td.column-title strong .row-title { padding-top:10px; font-size:1rem !important; } |
| 25 |
|
| 26 |
th.column-featured_image { width:50px; text-align:center; } |
| 27 |
td.column-featured_image { width:50px; text-align:center; } |
| 28 |
.cooked-admin-recipes-list-image img { width:49px; height:auto; border-radius:3px; position:relative; top:3px; } |
| 29 |
|
| 30 |
body.post-type-cp_recipe #titlediv #title { box-shadow:none; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; padding:0 12px; font-weight:400; font-size:19px; letter-spacing:0; height:44px; } |
| 31 |
body.post-type-cp_recipe #titlediv #title-prompt-text { font-size:15px; color:#888; font-weight:400; letter-spacing:0; padding:12px 15px; } |
| 32 |
|
| 33 |
/* TinyMCE fullscreen above admin menu and Cooked sticky UI */ |
| 34 |
body.post-type-cp_recipe .mce-fullscreen { |
| 35 |
z-index: 100100 !important; |
| 36 |
} |
| 37 |
|
| 38 |
#cooked-settings-prewrap { display:flex; justify-content:center; } |
| 39 |
#cooked-settings-wrap { |
| 40 |
position: relative; |
| 41 |
border-radius: 10px; |
| 42 |
margin: 40px 40px 40px 20px; |
| 43 |
max-width: 1200px; |
| 44 |
min-width: 1000px; |
| 45 |
background: #fff; |
| 46 |
box-shadow: |
| 47 |
0 4px 4px rgba(0,0,0,0.05), |
| 48 |
0 8px 8px rgba(0,0,0,0.05), |
| 49 |
0 32px 32px rgba(0,0,0,0.05), |
| 50 |
0 64px 64px rgba(0,0,0,0.05) |
| 51 |
} |
| 52 |
|
| 53 |
#cooked-settings-wrap.is-stuck { position:static !important; } |
| 54 |
#cooked-settings-wrap .cooked-settings-update-button { position:absolute; top:30px; right:30px; } |
| 55 |
#cooked-settings-wrap .cooked-settings-update-button > .button-primary { box-shadow:none; border:none; } |
| 56 |
#cooked-settings-wrap.is-stuck .cooked-settings-update-button { position:fixed; top:35px; right:11px; z-index:100001; } |
| 57 |
|
| 58 |
|
| 59 |
#cooked-recipe-tabs { list-style:none; padding:0; margin:0; position:absolute; top:0; left:0; width:100%; } |
| 60 |
#cooked-recipe-tabs li { font-size:0.9rem; line-height:3rem; height:3rem; font-weight:500; display:inline-block; padding:0 1.25rem; margin:0; color:#fff; } |
| 61 |
#cooked-recipe-tabs li:hover { cursor:pointer; } |
| 62 |
#cooked-recipe-tabs li.active, |
| 63 |
#cooked-recipe-tabs li.active:hover { cursor:default; } |
| 64 |
#cooked-recipe-tabs li:last-child { border-right:none !important; } |
| 65 |
#cooked-recipe-tabs li.cooked-loading { opacity:0; background:none; color:#fff; position:absolute; top:0; right:0; cursor:default; font-size:14px; width:40px; height:40px; text-align:center; display:block; line-height:40px; padding:0; } |
| 66 |
#cooked-recipe-tabs li.cooked-loading:hover { background:none; color:#fff; } |
| 67 |
#cooked_recipe_settings.cooked-loading #cooked-recipe-tabs li.cooked-loading { opacity:1; } |
| 68 |
|
| 69 |
#cooked_recipe_settings .inside { padding-top:60px; margin: 0} |
| 70 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs { |
| 71 |
position: fixed; |
| 72 |
width: auto; |
| 73 |
top: 32px; |
| 74 |
left: 23px; |
| 75 |
z-index: 100000; |
| 76 |
margin-left: 160px; |
| 77 |
box-shadow: 0 3px 50px rgba(0,0,0,0.25); |
| 78 |
} |
| 79 |
|
| 80 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs li.cooked-loading { right:160px; } |
| 81 |
|
| 82 |
.cooked-recipe-tab-content-wrapper .cooked-recipe-tab-content { display:none; } |
| 83 |
.cooked-recipe-tab-content-wrapper .cooked-recipe-tab-content:first-child { display:block; } |
| 84 |
|
| 85 |
/* Positioning */ |
| 86 |
.cooked-left { float:left; display:inline-block; width:auto; } |
| 87 |
.cooked-right { float:right; display:inline-block; width:auto; } |
| 88 |
|
| 89 |
#cooked_field--cooked_pro_license_key { font-family:monospace; } |
| 90 |
|
| 91 |
#cooked_recipe_settings .cooked-bm-5 { margin-bottom:5px !important; } |
| 92 |
#cooked_recipe_settings .cooked-bm-10 { margin-bottom:10px !important; } |
| 93 |
#cooked_recipe_settings .cooked-tm-10 { margin-top:10px !important; } |
| 94 |
#cooked_recipe_settings .cooked-bm-15 { margin-bottom:15px !important; } |
| 95 |
#cooked_recipe_settings .cooked-bm-20 { margin-bottom:20px !important; } |
| 96 |
#cooked_recipe_settings .cooked-bm-30 { margin-bottom:30px !important; } |
| 97 |
#cooked_recipe_settings .cooked-bm-5-up { margin-bottom:-5px !important; } |
| 98 |
#cooked_recipe_settings .cooked-bm-10-up { margin-bottom:-10px !important; } |
| 99 |
#cooked_recipe_settings .cooked-bm-15-up { margin-bottom:-15px !important; } |
| 100 |
#cooked_recipe_settings .cooked-bm-20-up { margin-bottom:-20px !important; } |
| 101 |
#cooked_recipe_settings .cooked-bm-30-up { margin-bottom:-30px !important; } |
| 102 |
#cooked_recipe_settings .cooked-hr { border:none; border-top:2px solid #ddd; margin:10px 0 0 0; padding:15px 0 0 0; } |
| 103 |
#cooked_recipe_settings .cooked-conditional-hidden { display:none; } |
| 104 |
#cooked_recipe_settings .cooked-recipe-tab-content { padding:23px 30px 15px 30px; } |
| 105 |
#cooked_recipe_settings .recipe-setting-block { margin:0 0 20px; width:100%; } |
| 106 |
#cooked_recipe_settings .recipe-setting-block p { font-size:0.9rem; line-height:1.5rem; margin:0 0 1rem; padding:0; } |
| 107 |
#cooked_recipe_settings .recipe-setting-block p.cooked-padded { line-height: 1.75rem; font-size: 0.85rem; } |
| 108 |
#cooked_recipe_settings .recipe-setting-block .cooked-conditional-hidden { padding:0; } |
| 109 |
#cooked_recipe_settings textarea { width:100%; height:75px; padding:15px; box-sizing:border-box; position:relative; top:5px; } |
| 110 |
#cooked_recipe_settings .recipe-setting-block > label.cooked-select-label { top:5px; } |
| 111 |
#cooked_recipe_settings select { cursor:pointer; -webkit-appearance:none; -moz-appearance:none; appearance:none; box-shadow: none; border-radius: 3px; padding: 0 45px 0 9px; line-height: 31px; height: 33px; box-sizing: border-box; background:#fff; } |
| 112 |
#cooked_recipe_settings .cooked-select-wrapper { background:#fff; position:relative; width:auto; display:inline-block; border-radius: 3px; margin:0 5px 0 0; } |
| 113 |
#cooked_recipe_settings .cooked-select-wrapper select { margin:0; background:transparent; position:relative; } |
| 114 |
#cooked_recipe_settings .cooked-select-wrapper:before { font-family:'CookedIcons'; display:block; width:15px; height:15px; line-height:14px; color:#000; font-size:14px; content:"\f00b"; position:absolute; right:12px; top:11px; color:rgba(0,0,0,0.3); } |
| 115 |
#cooked_recipe_settings .cooked-select-wrapper:hover:before { color:#000; } |
| 116 |
#cooked_recipe_settings .cooked-select-wrapper:hover select { border-color:#ccc; } |
| 117 |
#cooked_recipe_settings .cooked-checkbox-radio-label { position:relative; left:1px; } |
| 118 |
#cooked_recipe_settings .recipe-setting-block input[type="checkbox"], |
| 119 |
#cooked_recipe_settings .recipe-setting-block input[type="radio"] { margin-top:0; } |
| 120 |
#cooked_recipe_settings .recipe-setting-block input[type="number"] { width:65px; } |
| 121 |
#cooked_recipe_settings .recipe-setting-block input[type="text"], |
| 122 |
#cooked_recipe_settings .recipe-setting-block input[type="password"] { width:75%; } |
| 123 |
#cooked_recipe_settings .recipe-setting-block input[type="text"], |
| 124 |
#cooked_recipe_settings .recipe-setting-block input[type="password"], |
| 125 |
#cooked_recipe_settings .recipe-setting-block input[type="number"] { margin: 0 6px 5px 0; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; height: 33px; box-shadow: none; position: relative; top: 2px; padding: 0 10px; } |
| 126 |
#cooked_recipe_settings .recipe-setting-block p.cooked-measurement-inputs .cooked-measurement-column { width:43%; margin-right:3%; display:inline-block; } |
| 127 |
#cooked_recipe_settings .recipe-setting-block p.cooked-measurement-inputs label, |
| 128 |
#cooked_recipe_settings .recipe-setting-block p.cooked-measurement-inputs input, |
| 129 |
#cooked_recipe_settings .recipe-setting-block p.cooked-measurement-inputs .cooked-select-wrapper { width:100%; display:block; } |
| 130 |
#cooked_recipe_settings .recipe-setting-block p.cooked-measurement-inputs .cooked-select-wrapper select { width:100%; } |
| 131 |
#cooked_recipe_settings .recipe-setting-block input[type="number"], |
| 132 |
#cooked_recipe_settings .recipe-setting-block input[type="text"].cooked-small-textfield, |
| 133 |
#cooked_recipe_settings .recipe-setting-block input[type="password"].cooked-small-textfield { width:150px; } |
| 134 |
#cooked_recipe_settings small { display:block; line-height:1.5; font-size:12px; color:#888; padding:10px 0 0; } |
| 135 |
#cooked_recipe_settings .recipe-setting-block em { color:#aaa; } |
| 136 |
#cooked_recipe_settings .recipe-setting-block, |
| 137 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned { display:block; position:relative; box-sizing:border-box; line-height:1; } |
| 138 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned { padding-left:157px; } |
| 139 |
#cooked_recipe_settings .recipe-setting-block h3.cooked-settings-title { width:70%; position:relative; z-index:2; padding:0.5rem 0 0.5rem; margin:0; font-size:1rem; line-height:1.5rem; font-weight:600; } |
| 140 |
#cooked_recipe_settings .recipe-setting-block strong.cooked-heading { font-size:14px; } |
| 141 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned > label { position:absolute; top:1px; left:0; width:147px; cursor:default; font-weight:600; } |
| 142 |
#cooked_recipe_settings .recipe-setting-block .cooked-tooltip-icon { color:#aaa; cursor:help; display:inline-block; margin-left:10px; } |
| 143 |
#cooked_recipe_settings .recipe-setting-block .cooked-tooltip-icon:hover { color:#eee; } |
| 144 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned > .cooked-checkbox-radio-label { top:7px; } |
| 145 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned > label { top:auto; height: 33px; line-height: 30px; padding:0; width:130px; } |
| 146 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned:first-child label:first-child { padding-top:12px; margin-top:-12px; } |
| 147 |
#cooked_recipe_settings .recipe-setting-block .cooked-repositioned span.cooked-padded { padding:0 0 15px; display:block; line-height:1.9; } |
| 148 |
#cooked_recipe_settings .recipe-setting-block .wp-picker-container .cooked-color-field.wp-color-picker { padding: 5px; height: 25px; top:0; margin:0; width:74px; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; border:1px solid #ccc; } |
| 149 |
#cooked_recipe_settings .recipe-setting-block input[type="text"].cooked-shortcode-field { font-family:monospace; background:#f5f5f5; font-size:12px; } |
| 150 |
#cooked_recipe_settings .cooked-banner-block { margin:30px -30px -17px; display:block; box-sizing:content-box; padding:10px 30px 15px; background:#f9f9f9; width:100%; border-top:1px solid #e5e5e5; } |
| 151 |
#cooked_recipe_settings .cooked-advanced-options-hr { border:none; border-bottom:1px solid #ddd; height:1px; padding:10px 0 0 0; margin:0 0 20px; } |
| 152 |
#cooked_recipe_settings .recipe-setting-block input.cooked-time-picker { top:0; width:100%; padding-right:70%; margin:0 0 3px; } |
| 153 |
#cooked_recipe_settings .recipe-setting-block .cooked-time-picker-text { position:absolute; bottom:13px; right:40px; color:#888; } |
| 154 |
#cooked_recipe_settings .cooked-alert-block { background:#fffbdc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; margin:10px 0 15px; padding:10px 22px 2px; border:2px solid #ece8c4; } |
| 155 |
#cooked_recipe_settings .recipe-setting-block.cooked-template { display:none; } |
| 156 |
#cooked_recipe_settings ul.cooked-admin-ul { font-size:0.9rem; margin:0 0 1rem 2rem; list-style:disc; } |
| 157 |
#cooked_recipe_settings ul.cooked-admin-ul li { font-size:0.9rem; padding:0; margin:0 0 0.5rem } |
| 158 |
#cooked_recipe_settings .cooked-html-block { background:#fff; width:auto; min-width:300px; display:inline-block; padding:0.5rem 1.3rem 0.25rem; border-radius:3px; box-shadow:0 1px 3px rgba(0,0,0,0.15); } |
| 159 |
#cooked_recipe_settings .recipe-setting-block .cooked-html-block h3.cooked-settings-title { width:100%; color:#333; } |
| 160 |
#cooked_recipe_settings .recipe-setting-block .cooked-html-block.valid { background:#fff; border:2px solid #0aa780; box-shadow:none; border-radius:5px; } |
| 161 |
#cooked_recipe_settings .recipe-setting-block .cooked-html-block.valid > .cooked-settings-title { color:#0aa780; } |
| 162 |
#cooked_recipe_settings .recipe-setting-block .cooked-html-block.expired { border:2px solid #ca4a20; } |
| 163 |
|
| 164 |
/* Heading Element Styles */ |
| 165 |
#cooked-ingredients-builder .cooked-ingredient-block:hover > .cooked-heading-name, |
| 166 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-heading-name, |
| 167 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-heading-element > .cooked-heading-name, |
| 168 |
#cooked-directions-builder .cooked-direction-block:hover > .cooked-heading-name, |
| 169 |
#cooked-directions-builder .cooked-direction-block.cooked-expanded > .cooked-heading-name, |
| 170 |
#cooked-directions-builder .cooked-direction-block.cooked-has-heading-element > .cooked-heading-name { |
| 171 |
padding-right: 32px; |
| 172 |
} |
| 173 |
|
| 174 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-heading-element, |
| 175 |
#cooked-directions-builder .cooked-direction-block .cooked-show-heading-element { |
| 176 |
opacity: 0; |
| 177 |
cursor: pointer; |
| 178 |
font-size: 14px; |
| 179 |
position: absolute; |
| 180 |
top: 14px; |
| 181 |
right: 35px; |
| 182 |
} |
| 183 |
|
| 184 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-heading-element .cooked-icon, |
| 185 |
#cooked-directions-builder .cooked-direction-block .cooked-show-heading-element .cooked-icon { |
| 186 |
color: #888; |
| 187 |
} |
| 188 |
|
| 189 |
#cooked-ingredients-builder .cooked-ingredient-block:hover .cooked-show-heading-element, |
| 190 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded .cooked-show-heading-element, |
| 191 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-heading-element .cooked-show-heading-element, |
| 192 |
#cooked-directions-builder .cooked-direction-block:hover .cooked-show-heading-element, |
| 193 |
#cooked-directions-builder .cooked-direction-block.cooked-expanded .cooked-show-heading-element, |
| 194 |
#cooked-directions-builder .cooked-direction-block.cooked-has-heading-element .cooked-show-heading-element { |
| 195 |
opacity: 1; |
| 196 |
} |
| 197 |
|
| 198 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-heading-element .cooked-icon:hover, |
| 199 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded .cooked-show-heading-element .cooked-icon, |
| 200 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-heading-element .cooked-show-heading-element .cooked-icon, |
| 201 |
#cooked-directions-builder .cooked-direction-block .cooked-show-heading-element .cooked-icon:hover, |
| 202 |
#cooked-directions-builder .cooked-direction-block.cooked-expanded .cooked-show-heading-element .cooked-icon, |
| 203 |
#cooked-directions-builder .cooked-direction-block.cooked-has-heading-element .cooked-show-heading-element .cooked-icon { |
| 204 |
color: #0685ba; |
| 205 |
} |
| 206 |
|
| 207 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-heading-element, |
| 208 |
#cooked-directions-builder .cooked-direction-block > .cooked-heading-element { |
| 209 |
display: none; |
| 210 |
width: 65%; |
| 211 |
float: right; |
| 212 |
margin-top: 4px; |
| 213 |
padding-right: 32px; |
| 214 |
} |
| 215 |
|
| 216 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-heading-element select, |
| 217 |
#cooked-directions-builder .cooked-direction-block > .cooked-heading-element select { |
| 218 |
color: #0685ba; |
| 219 |
width: 100%; |
| 220 |
} |
| 221 |
|
| 222 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-heading-element label, |
| 223 |
#cooked-directions-builder .cooked-direction-block > .cooked-heading-element label { |
| 224 |
font-weight: 600; |
| 225 |
} |
| 226 |
|
| 227 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-heading-element, |
| 228 |
#cooked-directions-builder .cooked-direction-block.cooked-expanded > .cooked-heading-element { |
| 229 |
display: block; |
| 230 |
} |
| 231 |
|
| 232 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-substitution { opacity:0; cursor:pointer; font-size:14px; position:absolute; top:15px; right:58px; } |
| 233 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-substitution .cooked-icon { color:#888; } |
| 234 |
#cooked-ingredients-builder .cooked-ingredient-block:hover .cooked-show-substitution, |
| 235 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded .cooked-show-substitution, |
| 236 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-substitution .cooked-show-substitution { opacity:1; right:50px; } |
| 237 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-substitution .cooked-icon:hover, |
| 238 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded .cooked-show-substitution .cooked-icon, |
| 239 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-substitution .cooked-show-substitution .cooked-icon { color:#0685ba; } |
| 240 |
|
| 241 |
#cooked-ingredients-builder .cooked-ingredient-block:hover > .cooked-ingredient-name, |
| 242 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-ingredient-name, |
| 243 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-substitution > .cooked-ingredient-name { padding-right:32px; } |
| 244 |
|
| 245 |
/* Switchery */ |
| 246 |
body.post-type-cp_recipe .switchery-small, |
| 247 |
#cooked_recipe_settings .switchery-small { height:1rem; width:1.75rem; border-radius:1rem; margin-right:0.4rem; } |
| 248 |
body.post-type-cp_recipe .switchery-small > small, |
| 249 |
#cooked_recipe_settings .switchery-small > small { width:1rem; height:1rem; padding:0; } |
| 250 |
|
| 251 |
.cooked-tooltip-buttons .cooked-icon-spin { margin-top:10px; font-size:15px; } |
| 252 |
.cooked-tooltip-buttons .cooked-saved-default { height:28px; line-height:28px; font-weight:bold; font-size:15px; color:#888; } |
| 253 |
|
| 254 |
.cooked-progress { display:none; position:relative; background:#eee; width:100%; height:6px; padding:0; border-radius:3px; margin:10px 0 0 0; } |
| 255 |
.cooked-progress-text { display:none; font-size:10px; color:#aaa; padding:2px 0 5px; } |
| 256 |
.cooked-progress.cooked-active, .cooked-progress-text.cooked-active { display:block; } |
| 257 |
.cooked-progress .cooked-progress-bar { display:block; position:absolute; background:#0085ba; width:0%; height:6px; top:0; left:0; border-radius:3px; } |
| 258 |
|
| 259 |
#cooked-migration-progress.cooked-progress, #cooked-import-progress.cooked-progress { background:#ccc; margin:25px 0 0 0; border-radius:6px; height:12px; max-width:600px; } |
| 260 |
#cooked-migration-progress.cooked-progress .cooked-progress-bar, #cooked-import-progress.cooked-progress .cooked-progress-bar { border-radius:6px; height:12px; } |
| 261 |
#cooked-migration-progress-text.cooked-progress-text, #cooked-import-progress-text.cooked-progress-text { font-size:11px; color:#888; max-width:600px; } |
| 262 |
#cooked-migration-completed, #cooked-import-completed { display:none; } |
| 263 |
#cooked-migration-completed.cooked-active, #cooked-import-completed.cooked-active { display:block; } |
| 264 |
#cooked-csv-import-progress.cooked-progress { background:#ccc; margin:25px 0 0 0; border-radius:6px; height:12px; max-width:600px; } |
| 265 |
#cooked-csv-import-progress.cooked-progress .cooked-progress-bar { border-radius:6px; height:12px; } |
| 266 |
#cooked-csv-import-progress-text.cooked-progress-text { font-size:11px; color:#888; max-width:600px; } |
| 267 |
#cooked-csv-import-completed { display:none; } |
| 268 |
#cooked-csv-import-completed.cooked-active { display:block; } |
| 269 |
#cooked-csv-import-form { max-width:100%; box-sizing:border-box; } |
| 270 |
#cooked-csv-import-form input[type="file"] { max-width:100%; box-sizing:border-box; width:100%; } |
| 271 |
#cooked-csv-import-errors { max-width:100%; box-sizing:border-box; word-wrap:break-word; } |
| 272 |
#cooked-migration-progress.cooked-progress, #cooked-import-progress.cooked-progress, #cooked-related-progress.cooked-progress { background:#ccc; margin:25px 0 0 0; border-radius:6px; height:12px; max-width:600px; } |
| 273 |
#cooked-migration-progress.cooked-progress .cooked-progress-bar, #cooked-import-progress.cooked-progress .cooked-progress-bar, #cooked-related-progress.cooked-progress .cooked-progress-bar { border-radius:6px; height:12px; } |
| 274 |
#cooked-migration-progress-text.cooked-progress-text, #cooked-import-progress-text.cooked-progress-text, #cooked-related-progress-text.cooked-progress-text { font-size:11px; color:#888; max-width:600px; } |
| 275 |
#cooked-migration-completed, #cooked-import-completed, #cooked-related-completed { display:none; } |
| 276 |
#cooked-migration-completed.cooked-active, #cooked-import-completed.cooked-active, #cooked-related-completed.cooked-active { display:block; } |
| 277 |
|
| 278 |
/* Related Recipes Tools status (last run + completed) */ |
| 279 |
.cooked-related-status { margin:0 0 12px 0; padding:8px 12px; font-size:13px; line-height:1.4; border-radius:4px; border-left:3px solid #00a878; background:#f0f9f6; color:#2d4a42; max-width:480px; } |
| 280 |
#cooked-related-last-done.cooked-related-status { border-left-color:#8c9b99; background:#f6f8f7; color:#5c6b69; } |
| 281 |
|
| 282 |
/* Save as Default */ |
| 283 |
#cooked_recipe_settings .cooked-layout-save-default { position:relative; top:-2px; z-index:10; margin:0 0 0 15px; padding:0 8px 1px; } |
| 284 |
#cooked_recipe_settings .cooked-layout-load-default { position:relative; top:-2px; z-index:10; margin:0 0 0 10px; padding:0 8px 1px; } |
| 285 |
body .button.button-cooked-reset { color:#999; } |
| 286 |
body .button.button-cooked-reset:hover { color:#555; } |
| 287 |
|
| 288 |
|
| 289 |
/* Ingredients Builder */ |
| 290 |
#cooked_recipe_settings .cooked-ingredient-headers { display:block; padding:5px 25px 0 35px; } |
| 291 |
#cooked_recipe_settings .cooked-ingredient-headers span { font-size:0.7rem; font-weight:700; letter-spacing:0.03rem; text-transform:uppercase; color:#0085ba; box-sizing:border-box; display:inline-block; float:left; } |
| 292 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-amount { width:15%; } |
| 293 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-measurement { width:20%; } |
| 294 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-item { width:65%; } |
| 295 |
#cooked-ingredients-builder { margin:0 0 20px; } |
| 296 |
#cooked-ingredients-builder .cooked-ingredient-block { display:block; padding:5px 45px 5px 35px; } |
| 297 |
#cooked-ingredients-builder .cooked-ingredient-block:hover { background:#eee; } |
| 298 |
#cooked-ingredients-builder .cooked-ingredient-block input[type="text"], |
| 299 |
#cooked-ingredients-builder .cooked-ingredient-block input[type="number"], |
| 300 |
#cooked-ingredients-builder .cooked-ingredient-block select { margin:0; display:block; top:0; } |
| 301 |
#cooked-ingredients-builder .cooked-ingredient-block > div { display:inline-block; float:left; box-sizing:border-box; padding-right:10px; } |
| 302 |
#cooked-ingredients-builder .cooked-ingredient-block > div input[type="text"] { width:100%; } |
| 303 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-amount { width:15%; } |
| 304 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-measurement { width:20%; } |
| 305 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-measurement .cooked-select-wrapper { width:100%; } |
| 306 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-measurement .cooked-select-wrapper select { width:100%; } |
| 307 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-substitution-fields > .cooked-ingredient-measurement .cooked-select-wrapper { width:100%; } |
| 308 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-substitution-fields > .cooked-ingredient-measurement .cooked-select-wrapper select { width:100%; } |
| 309 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-name { width:65%; } |
| 310 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-heading-name { width:100%; } |
| 311 |
#cooked-ingredients-builder .cooked-ingredient-block > div small.cooked-input-ex { display:block; padding:5px 0 0 2px; } |
| 312 |
#cooked-ingredients-builder .cooked-ingredient-block { margin:0; } |
| 313 |
#cooked-ingredients-builder .cooked-ingredient-block i.cooked-icon-drag { cursor:move; color:#ccc; font-size:32px; position:absolute; top:5px; left:1px; touch-action:none; } |
| 314 |
#cooked-ingredients-builder .cooked-ingredient-block:hover i.cooked-icon-drag { color:#888; } |
| 315 |
#cooked-ingredients-builder .cooked-ingredient-block.ui-sortable-helper { background:#f5f5f5; box-shadow:0 10px 20px rgba(0,0,0,0.15); -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; } |
| 316 |
#cooked-ingredients-builder .cooked-ingredient-block.ui-sortable-placeholder { visibility:visible !important; background:#eee; display:block; width:100%; height:43px; border-top:6px solid #fff; border-bottom:6px solid #fff; } |
| 317 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-delete-ingredient { cursor:pointer; font-size:14px; position:absolute; top:14px; right:11px; } |
| 318 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-delete-ingredient .cooked-icon { color:#fff; } |
| 319 |
#cooked-ingredients-builder .cooked-ingredient-block:hover .cooked-delete-ingredient .cooked-icon { color:#888; } |
| 320 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-delete-ingredient .cooked-icon:hover { color:#de2020; } |
| 321 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-ingredient-heading { margin:10px 0; } |
| 322 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-ingredient-heading > div input[type="text"] { padding:0px 7px; font-size:16px; background:#f9f9f9; font-weight:600; } |
| 323 |
|
| 324 |
#cooked-directions-builder { margin:0 0 20px; } |
| 325 |
#cooked-directions-builder .cooked-direction-block { display:block; padding:15px 25px 15px 35px; } |
| 326 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading { padding:5px 25px 5px 35px; } |
| 327 |
#cooked-directions-builder .cooked-direction-block:hover { background:#f5f5f5; } |
| 328 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading:hover { background:#eee; } |
| 329 |
#cooked-directions-builder .cooked-direction-block textarea { margin:0; display:block; height:250px; top:0; } |
| 330 |
#cooked-directions-builder .cooked-direction-block > div { display:inline-block; float:left; box-sizing:border-box; padding-right:15px; } |
| 331 |
#cooked-directions-builder .cooked-direction-block > div:last-child { padding:0; } |
| 332 |
#cooked-directions-builder .cooked-direction-block > div input[type="text"] { width:100%; } |
| 333 |
#cooked-directions-builder .cooked-direction-block .mce-statusbar { display:none; } |
| 334 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image { width:135px; position:absolute; top:15px; left:35px; } |
| 335 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image img { cursor:pointer; display:none; border-radius:3px; } |
| 336 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image .cooked-direction-img-placeholder { box-sizing: border-box; cursor:pointer; border-radius:3px; width:100%; padding-bottom:100%; background:none; border:2px dashed #ddd; border-radius:3px; margin-top:15px; } |
| 337 |
#cooked-directions-builder .cooked-direction-block:hover > .cooked-direction-image .cooked-direction-img-placeholder { background:none; } |
| 338 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image .cooked-direction-img-placeholder:hover { background:#ddd; border:2px solid #ddd; } |
| 339 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image .direction-image-button { width:100%; text-align:center; } |
| 340 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image .remove-image-button { display:none; position:absolute; top:43px; right:15px; } |
| 341 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image.cooked-has-image .remove-image-button { display:inline-block; padding:10px; background:rgba(0,0,0,0.25); color:#fff; } |
| 342 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image.cooked-has-image .remove-image-button:hover { background:#ff0100; } |
| 343 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image.cooked-has-image img { width:100%; height:auto; display:block; margin:15px 0 0; } |
| 344 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image.cooked-has-image .cooked-direction-img-placeholder { display:none; } |
| 345 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-content { width:100%; padding-left:175px; padding-right:175px; } |
| 346 |
#cooked-directions-builder .cooked-direction-block .cooked-direction-number { opacity:0.4; position:absolute; display:inline-block; font-weight:800; top:17px; left:35px; font-size:1.25rem; line-height:1; } |
| 347 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-has-number > .cooked-direction-image { left: 65px; } |
| 348 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-has-number > .cooked-direction-content { padding-left:175px; padding-right:175px; } |
| 349 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-has-number-wide > .cooked-direction-content { padding-left:185px; padding-right:175px; } |
| 350 |
#cooked-directions-builder .cooked-direction-block > .cooked-heading-name { width:100%; } |
| 351 |
#cooked-directions-builder .cooked-direction-block { margin:0; } |
| 352 |
#cooked-directions-builder .cooked-direction-block i.cooked-icon-drag { cursor:move; color:#ccc; font-size:32px; position:absolute; top:13px; left:1px; touch-action:none; } |
| 353 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading i.cooked-icon-drag { top:5px; } |
| 354 |
#cooked-directions-builder .cooked-direction-block:hover i.cooked-icon-drag { color:#888; } |
| 355 |
#cooked-directions-builder .cooked-direction-block.ui-sortable-helper { background:#f5f5f5; box-shadow:0 10px 20px rgba(0,0,0,0.15); -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; } |
| 356 |
#cooked-directions-builder .cooked-direction-block.ui-sortable-placeholder { visibility:visible !important; background:#eee; display:block; width:100%; height:280px; border-top:6px solid #fff; border-bottom:6px solid #fff; } |
| 357 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading.ui-sortable-placeholder { height:43px; } |
| 358 |
#cooked-directions-builder .cooked-direction-block .cooked-delete-direction { cursor:pointer; font-size:14px; position:absolute; right:14px; } |
| 359 |
#cooked-directions-builder .cooked-direction-block .cooked-delete-direction .cooked-icon { color:#fff; } |
| 360 |
#cooked-directions-builder .cooked-direction-block:hover .cooked-delete-direction .cooked-icon { color:#888; } |
| 361 |
#cooked-directions-builder .cooked-direction-block .cooked-delete-direction .cooked-icon:hover { color:#de2020; } |
| 362 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video { width:135px; position:absolute; top:15px; right:25px; } |
| 363 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading { margin:10px 0; } |
| 364 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading > div input[type="text"] { padding:0px 7px; font-size:16px; background:#f9f9f9; font-weight:600; top:0; margin:0; } |
| 365 |
#cooked-directions-builder .cooked-direction-block .cooked-delete-direction { top:16px; } |
| 366 |
#cooked-directions-builder .cooked-direction-block.cooked-direction-heading .cooked-delete-direction { top:14px; } |
| 367 |
|
| 368 |
/* Settings image field */ |
| 369 |
.cooked-settings-image-field { position:relative; display:inline-block; max-width:150px; } |
| 370 |
.cooked-settings-image-field .cooked-settings-image-preview-img { display:none; width:100%; height:auto; margin:10px 0 0; border-radius:3px; } |
| 371 |
.cooked-settings-image-field .cooked-settings-image-remove { display:none; position:absolute; top:50px; right:0; padding:10px; background:rgba(0,0,0,0.25); color:#fff; border-radius: 3px; } |
| 372 |
.cooked-settings-image-field.cooked-has-image .cooked-settings-image-remove { display:inline-block; } |
| 373 |
.cooked-settings-image-field.cooked-has-image .cooked-settings-image-remove:hover { background:#ff0100; } |
| 374 |
.cooked-settings-image-field.cooked-has-image .cooked-settings-image-preview-img { display:block; } |
| 375 |
|
| 376 |
/* Direction Video */ |
| 377 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video .cooked-direction-video-preview { display:none; width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:3px; cursor:pointer; } |
| 378 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video .cooked-direction-video-placeholder { box-sizing:border-box; cursor:pointer; border-radius:3px; width:100%; padding-bottom:100%; background:none; border:2px dashed #ddd; margin-top:15px; } |
| 379 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video .cooked-direction-video-placeholder:hover { background:#ddd; border:2px solid #ddd; } |
| 380 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video .direction-video-button { width:100%; text-align:center; } |
| 381 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video.cooked-has-video .cooked-direction-video-placeholder { display:none; } |
| 382 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video.cooked-has-video .cooked-direction-video-preview { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; margin-top:15px; } |
| 383 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video .remove-video-button { display:none; position:absolute; top:43px; right:15px; } |
| 384 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video.cooked-has-video .remove-video-button { display:inline-block; padding:10px; background:rgba(0,0,0,0.25); color:#fff; } |
| 385 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-video.cooked-has-video .remove-video-button:hover { background:#ff0100; } |
| 386 |
|
| 387 |
/* Direction Steps: Responsive (below 1440px) — stack content above image+video */ |
| 388 |
@media screen and (max-width: 1440px) { |
| 389 |
#cooked-directions-builder .cooked-direction-block:not(.cooked-direction-heading) { |
| 390 |
display: grid; |
| 391 |
grid-template-columns: 1fr 1fr; |
| 392 |
grid-template-areas: |
| 393 |
"content content" |
| 394 |
"image video"; |
| 395 |
gap: 10px; |
| 396 |
padding: 15px 0px 15px 0px; |
| 397 |
} |
| 398 |
#cooked-directions-builder .cooked-direction-block:not(.cooked-direction-heading) > .cooked-direction-content { |
| 399 |
grid-area: content; |
| 400 |
padding: 14px 14px 0 14px!important; |
| 401 |
min-height: 80px; |
| 402 |
} |
| 403 |
#cooked-directions-builder .cooked-direction-block:not(.cooked-direction-heading) > .cooked-direction-image { |
| 404 |
grid-area: image; |
| 405 |
position: relative; |
| 406 |
width: auto; |
| 407 |
left: auto; |
| 408 |
top: auto; |
| 409 |
padding-left: 15px; |
| 410 |
padding-right: 0; |
| 411 |
} |
| 412 |
#cooked-directions-builder .cooked-direction-block:not(.cooked-direction-heading) > .cooked-direction-video { |
| 413 |
grid-area: video; |
| 414 |
position: relative; |
| 415 |
width: auto; |
| 416 |
right: auto; |
| 417 |
top: auto; |
| 418 |
} |
| 419 |
#cooked_recipe_settings .cooked-recipe-tab-content { |
| 420 |
padding: 0px 0px 15px 0px; |
| 421 |
} |
| 422 |
#cooked-recipe-tabs { |
| 423 |
white-space: nowrap; |
| 424 |
overflow-x: auto; |
| 425 |
scrollbar-width: none; |
| 426 |
-ms-overflow-style: none; |
| 427 |
top: 0; |
| 428 |
width: 100%; |
| 429 |
} |
| 430 |
#cooked-recipe-tabs::-webkit-scrollbar { |
| 431 |
display: none; |
| 432 |
} |
| 433 |
#cooked-recipe-tabs li { |
| 434 |
float: none; |
| 435 |
} |
| 436 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs { |
| 437 |
position: fixed; |
| 438 |
top: 32px; |
| 439 |
left: 0; |
| 440 |
width: 100%; |
| 441 |
margin-left: 0; |
| 442 |
} |
| 443 |
} |
| 444 |
|
| 445 |
/* Recipe Gallery */ |
| 446 |
#cooked-recipe-image-gallery { margin:0 -1% 0; } |
| 447 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item { position:relative; overflow:hidden; cursor:move; box-sizing:border-box; display:inline-block; width:18%; height:auto; padding:0; margin:0 1% 2% 1%; } |
| 448 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item:hover { opacity:0.9; } |
| 449 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item img { width:100%; height:auto; border-radius:3px; display:block; margin:0; padding:0; border:none; } |
| 450 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item.ui-sortable-helper, #cooked-recipe-image-gallery .cooked-recipe-gallery-item.ui-sortable-helper:hover { opacity:0.75; box-shadow:0 10px 20px rgba(0,0,0,0.15); } |
| 451 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item.ui-sortable-placeholder { width:18%; height:auto; visibility:visible !important; border-radius:3px; background:#ddd; display:inline-block; } |
| 452 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item .remove-image-button { border-radius:0 3px 0 0; display:inline-block; position:absolute; top:0; right:0; padding:10px; background:rgba(0,0,0,0.25); color:#fff; } |
| 453 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item .remove-image-button:hover { background:#ff0100; } |
| 454 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item .cooked-gallery-edit-button { border-radius:3px 0 0 0; display:inline-block; position:absolute; top:0; left:0; padding:10px; background:rgba(0,0,0,0.25); color:#fff; } |
| 455 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item .cooked-gallery-edit-button:hover { background:#0084bc; } |
| 456 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item .cooked-gallery-item-title { position:absolute; left:0; bottom:0; box-sizing:border-box; width:100%; border-radius:0 0 3px 3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; padding:10px 10px 11px; text-align:center; background:#000; background:rgba(0,0,0,0.3); color:#fff; font-size:12px; } |
| 457 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item:hover .cooked-gallery-item-title { background:#000; background:rgba(0,0,0,0.75); } |
| 458 |
|
| 459 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item.ui-sortable-helper { |
| 460 |
-webkit-animation: cooked-wiggle 0.4s infinite; |
| 461 |
-moz-animation: cooked-wiggle 0.4s infinite; |
| 462 |
-o-animation: cooked-wiggle 0.4s infinite; |
| 463 |
animation: cooked-wiggle 0.4s infinite; |
| 464 |
} |
| 465 |
|
| 466 |
/* Nutrition Label */ |
| 467 |
#cooked_recipe_settings label.cooked-nutrition-label { display:block; font-size:0.7rem; letter-spacing:0.03rem; font-weight:700; text-transform:uppercase; line-height:1; margin:0 0 7px; } |
| 468 |
#cooked_recipe_settings #cooked-nutrition-label { |
| 469 |
line-height:1.6; |
| 470 |
font-size:1.1rem; |
| 471 |
border:1px solid #aaa; |
| 472 |
-moz-border-radius:3px; |
| 473 |
-webkit-border-radius:3px; |
| 474 |
border-radius:3px; |
| 475 |
padding:5%; |
| 476 |
margin:0 0 2rem; |
| 477 |
font-family: 'Helvetica', 'Arial', sans-serif; |
| 478 |
container-name: nutrition-label; |
| 479 |
container-type: inline-size; |
| 480 |
} |
| 481 |
|
| 482 |
#cooked_recipe_settings #cooked-nutrition-label h2 { |
| 483 |
font-size:2.5rem; |
| 484 |
line-height:1; |
| 485 |
letter-spacing:0; |
| 486 |
font-weight:800; |
| 487 |
padding:0 0 0.5rem 0; |
| 488 |
margin:0 0 0.4rem; |
| 489 |
color:#333; |
| 490 |
border-bottom:1px solid #aaa; |
| 491 |
} |
| 492 |
|
| 493 |
@container nutrition-label (max-width:303px) { |
| 494 |
#cooked_recipe_settings #cooked-nutrition-label h2 { |
| 495 |
font-size: 2rem; |
| 496 |
} |
| 497 |
} |
| 498 |
|
| 499 |
@container nutrition-label (max-width:263px) { |
| 500 |
#cooked_recipe_settings #cooked-nutrition-label h2 { |
| 501 |
font-size: 1.8rem; |
| 502 |
} |
| 503 |
} |
| 504 |
|
| 505 |
@container nutrition-label (max-width:215px) { |
| 506 |
#cooked_recipe_settings #cooked-nutrition-label h2 { |
| 507 |
font-size: 1.4rem; |
| 508 |
} |
| 509 |
} |
| 510 |
|
| 511 |
#cooked_recipe_settings #cooked-nutrition-label p { margin:0; padding:0; font-size:1rem; } |
| 512 |
#cooked_recipe_settings #cooked-nutrition-label p.cooked-daily-value-text { padding:0.5rem 0 0 0; margin:0; font-size:0.9rem; } |
| 513 |
#cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-servings p { font-size:1.5rem; } |
| 514 |
#cooked_recipe_settings #cooked-nutrition-label ul { list-style:none; margin:0; padding:0; } |
| 515 |
#cooked_recipe_settings #cooked-nutrition-label li { position:relative; margin:0; padding:0 0 3px 0; border-top:1px solid #aaa; } |
| 516 |
#cooked_recipe_settings #cooked-nutrition-label li li { padding:3px 0 0; margin:3px 0 0; } |
| 517 |
#cooked_recipe_settings #cooked-nutrition-label li:after { content: ""; display: table; clear: both; } |
| 518 |
#cooked_recipe_settings #cooked-nutrition-label li.no-after:after { content: none; } |
| 519 |
#cooked_recipe_settings #cooked-nutrition-label li.cooked-nut-spacer { border:none; height:0.6rem; padding:0; background:#333; } |
| 520 |
#cooked_recipe_settings #cooked-nutrition-label > ul > li:first-child, |
| 521 |
#cooked_recipe_settings #cooked-nutrition-label ul li.cooked-nut-no-border { border:none; } |
| 522 |
#cooked_recipe_settings #cooked-nutrition-label li ul { padding:0; margin:0 0 0 20px; } |
| 523 |
#cooked_recipe_settings #cooked-nutrition-label li ul.cooked-right { margin:0; } |
| 524 |
#cooked_recipe_settings #cooked-nutrition-label li ul.cooked-right li { border:none; padding:0; margin:0; } |
| 525 |
#cooked_recipe_settings #cooked-nutrition-label li.cooked-calories ul.cooked-right li strong.cooked-nut-label { font-size: 2.5rem; line-height:1; } |
| 526 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-calories { |
| 527 |
border-top:none; |
| 528 |
display: flex; |
| 529 |
justify-content: space-between; |
| 530 |
align-items: baseline; |
| 531 |
padding: 0; |
| 532 |
} |
| 533 |
|
| 534 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-calories strong, |
| 535 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-calories strong.cooked-nut-label { |
| 536 |
font-size: 2rem; |
| 537 |
font-weight: 800; |
| 538 |
} |
| 539 |
#cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-servings li { border: none; } |
| 540 |
#cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-servings { margin: 0; } |
| 541 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-nut-hr { border:none; border-top:1.3rem solid #333; margin:0.1rem 0 0; padding:0; } |
| 542 |
#cooked_recipe_settings #cooked-nutrition-label strong { font-weight:800; } |
| 543 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-serving-size strong, |
| 544 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-serving-size strong.cooked-nut-label { font-size: 1.5rem; font-weight: 800; } |
| 545 |
#cooked_recipe_settings #cooked-nutrition-label strong.cooked-nut-heading { font-size:1rem; } |
| 546 |
#cooked_recipe_settings #cooked-nutrition-label strong.cooked-nut-label { font-weight:400; } |
| 547 |
|
| 548 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-nut-right { float:right; } |
| 549 |
#cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-bottom { margin:0 0 0.75rem; } |
| 550 |
#cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-bottom li { |
| 551 |
border-top:none; |
| 552 |
border-bottom:1px solid #aaa; |
| 553 |
float:left; |
| 554 |
width:100%; |
| 555 |
box-sizing:border-box; |
| 556 |
} |
| 557 |
/* @TODO: This does not work because the last child could be hidden. */ |
| 558 |
/* #cooked_recipe_settings #cooked-nutrition-label ul.cooked-nut-bottom li:last-child { |
| 559 |
border-bottom:none; |
| 560 |
} */ |
| 561 |
#cooked_recipe_settings .cooked-measurement-inputs .cooked-select-wrapper:before { top:8px; } |
| 562 |
|
| 563 |
/* Highlight button class */ |
| 564 |
.cooked-auto-nutrition { |
| 565 |
display: flex; |
| 566 |
justify-content: end; |
| 567 |
margin: 0 0 1rem; |
| 568 |
} |
| 569 |
#cooked-tooltip-auto-nutrition-notice { |
| 570 |
margin: 0; |
| 571 |
} |
| 572 |
|
| 573 |
.cooked-settings-header { border-radius: 10px 10px 0 0; width: auto; height: 90px; line-height: 85px; padding: 0 30px; font-weight: 600; box-sizing: border-box; background:#33373c; color:#fff; font-size: 29px; letter-spacing: -0.03rem; } |
| 574 |
.cooked-settings-header .cooked-icon { color:#00e0a9; } |
| 575 |
.cooked-settings-submit-wrap { padding:0 0 35px 35px; margin:-20px 0 0; } |
| 576 |
#cooked_recipe_settings .recipe-setting-block .cooked-permalink-field-wrapper span { font-size:14px; display:inline-block; line-height:32px; padding:5px 0 0 0; } |
| 577 |
#cooked_recipe_settings .recipe-setting-block input[type="text"].cooked-permalink-field { position:relative; top:0; display:inline-block; width:150px; margin:0 10px; } |
| 578 |
|
| 579 |
#cooked-settings-panel { position:relative; margin:0; padding:0; } |
| 580 |
#cooked-settings-tabs { display:flex; width:auto; padding:0 20px 0 0; margin:0; list-style:none; } |
| 581 |
#cooked-settings-tabs li { font-size:13px; line-height:1; font-weight:400; display:block; padding:0; margin:0; color:#fff; } |
| 582 |
#cooked-settings-tabs li .cooked-icon { font-size:14px; } |
| 583 |
#cooked-settings-tabs li .cooked-icon.cooked-icon-recipe-icon { font-size:20px; top:2px; position:relative; } |
| 584 |
#cooked-settings-tabs li:hover { cursor:pointer; } |
| 585 |
#cooked-settings-tabs li.active, |
| 586 |
#cooked-settings-tabs li.active:hover { cursor:default; } |
| 587 |
#cooked-settings-tabs a { line-height:41px; font-size:0.9rem; letter-spacing:0.03rem; padding:2px 15px 4px; display:block; outline:none; box-shadow:none; border:none; white-space:nowrap; } |
| 588 |
#cooked-settings-panel.stuck { padding-top:41px; } |
| 589 |
#cooked-settings-panel.stuck #cooked-settings-tabs { position: fixed; width:calc(100% - 180px); top:32px; left:0; z-index: 100000; margin-left:160px; } |
| 590 |
#cooked-settings-panel .cooked-settings-tab-content-wrapper .cooked-settings-tab-content { display:none; } |
| 591 |
#cooked-settings-panel .cooked-settings-tab-content-wrapper .cooked-settings-tab-content:first-child { display:block; } |
| 592 |
#cooked-settings-panel .cooked-settings-tab-content { padding:25px 35px; margin-right:0; } |
| 593 |
#cooked-settings-panel #cooked_recipe_settings .recipe-setting-block h3.cooked-settings-title { padding-bottom:0.2rem; } |
| 594 |
|
| 595 |
|
| 596 |
/* Settings Columns */ |
| 597 |
#cooked_recipe_settings .cooked-setting-column-14 { position:relative; width:25%; float:left; padding-right:20px; box-sizing:border-box; } |
| 598 |
#cooked_recipe_settings .cooked-setting-column-13 { position:relative; width:33%; float:left; padding-right:20px; box-sizing:border-box; } |
| 599 |
#cooked_recipe_settings .cooked-setting-column-23 { position:relative; width:66%; float:left; padding-right:20px; box-sizing:border-box; } |
| 600 |
#cooked_recipe_settings .cooked-setting-column-12 { position:relative; width:50%; float:left; padding-right:20px; box-sizing:border-box; } |
| 601 |
#cooked_recipe_settings .cooked-setting-column-14 input[type="text"], |
| 602 |
#cooked_recipe_settings .cooked-setting-column-13 input[type="text"], |
| 603 |
#cooked_recipe_settings .cooked-setting-column-23 input[type="text"], |
| 604 |
#cooked_recipe_settings .cooked-setting-column-12 input[type="text"], |
| 605 |
#cooked_recipe_settings .recipe-setting-block input[type="text"].cooked-shortcode-field { width:95%; } |
| 606 |
#cooked_recipe_settings .cooked-setting-column-14 select, |
| 607 |
#cooked_recipe_settings .cooked-setting-column-13 select, |
| 608 |
#cooked_recipe_settings .cooked-setting-column-23 select, |
| 609 |
#cooked_recipe_settings .cooked-setting-column-12 select, |
| 610 |
#cooked_recipe_settings .cooked-setting-column-14 .cooked-select-wrapper, |
| 611 |
#cooked_recipe_settings .cooked-setting-column-13 .cooked-select-wrapper, |
| 612 |
#cooked_recipe_settings .cooked-setting-column-12 .cooked-select-wrapper { width:100%; } |
| 613 |
#cooked_recipe_settings .cooked-setting-column-14.cooked-tb-col { padding:0; } |
| 614 |
|
| 615 |
#cooked-welcome-screen { padding:15px 50px 0 30px; position:relative; } |
| 616 |
#cooked-welcome-screen .cooked-badge { position:absolute; top:0; right:0; } |
| 617 |
#cooked-welcome-screen .cooked-badge img { border:none; width:150px; height:150px; display:block; margin:0; } |
| 618 |
#cooked-welcome-screen .about-text { margin-bottom:40px; line-height:1.8; font-size:17px; margin-right:260px; } |
| 619 |
#cooked-welcome-screen .about-wrap { margin:25px auto 0; max-width:1000px; } |
| 620 |
#cooked-welcome-screen .about-wrap h1 { font-size:2.25rem; } |
| 621 |
#cooked-welcome-screen .about-wrap p { font-size:1rem; margin:0 0 2rem; line-height:1.7rem; } |
| 622 |
#cooked-welcome-screen #cooked-welcome-panel { background: #fff; padding:30px 30px 15px 30px; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; border:none; box-shadow:0 4px 4px rgba(0,0,0,.05),0 8px 8px rgba(0,0,0,.05),0 32px 32px rgba(0,0,0,.05),0 64px 64px rgba(0,0,0,.05); } |
| 623 |
#cooked-welcome-screen #cooked-welcome-panel img.cooked-welcome-banner { border:none; display:block; padding:0; margin:0 0 30px; box-sizing:border-box; border-radius:5px 5px 0 0; } |
| 624 |
|
| 625 |
#cooked-welcome-screen #cooked-welcome-panel .cooked-welcome-panel-intro { text-align:center; margin:0 50px 2rem; padding:15px 0; border-bottom:1px solid #e5e5e5; } |
| 626 |
#cooked-welcome-screen #cooked-welcome-panel .cooked-welcome-panel-intro h1 { font-size:1.75rem; margin:0 0 1rem; padding:0; } |
| 627 |
#cooked-welcome-screen #cooked-welcome-panel .cooked-welcome-panel-intro p { max-width:600px; font-size:1.1rem; line-height:1.8rem; margin:0 auto 2rem; padding:0; } |
| 628 |
|
| 629 |
#cooked-welcome-screen .cooked-welcome-panel a { text-decoration:none; } |
| 630 |
#cooked-welcome-screen .cooked-welcome-panel-column { display:block !important; } |
| 631 |
#cooked-welcome-screen .cooked-welcome-panel-column > strong { font-size:1rem; } |
| 632 |
|
| 633 |
#cooked-welcome-screen .cooked-welcome-panel-column h3 { font-size:1.75rem; margin:0 0 1rem; position:relative; } |
| 634 |
#cooked-welcome-screen .cooked-welcome-panel-column h3 a { position:absolute; top:0; right:0; font-size:12px; font-weight:400; } |
| 635 |
#cooked-welcome-screen .cooked-welcome-panel-column h3 a i.fa { position:relative; top:1px; } |
| 636 |
|
| 637 |
#cooked-welcome-screen .cooked-welcome-panel-column h4 { font-size:1.25rem; margin:0 0 1rem; position:relative; } |
| 638 |
#cooked-welcome-screen .cooked-welcome-panel-column h4 a { position:absolute; top:0; right:0; font-size:12px; font-weight:400; } |
| 639 |
#cooked-welcome-screen .cooked-welcome-panel-column h4 a i.fa { position:relative; top:1px; } |
| 640 |
|
| 641 |
#cooked-welcome-screen .cooked-welcome-panel-column.cooked-welcome-panel-full { width:100%; padding-right:0; float:none; } |
| 642 |
#cooked-welcome-screen .cooked-welcome-panel-column.cooked-welcome-panel-last { width:70%; padding-right:0; float:right; } |
| 643 |
#cooked-welcome-screen .cooked-welcome-panel-column .fa-external-link { color:#888; } |
| 644 |
|
| 645 |
#cooked-welcome-screen .cooked-welcome-panel-content { min-height: 1px; padding:10px 50px 20px; margin:0; } |
| 646 |
#cooked-welcome-screen .cooked-welcome-panel .cooked-welcome-panel-column-container { display:flex; justify-content:between !important; padding:0 !important; flex-wrap:wrap; } |
| 647 |
#cooked-welcome-screen .cooked-welcome-panel-column { box-sizing:border-box; padding-right:2rem; width:30%; } |
| 648 |
#cooked-welcome-screen .cooked-pro-features { width:85%; margin:0 auto; padding:0 0 10px; display:flex; flex-wrap:wrap; } |
| 649 |
|
| 650 |
#cooked-welcome-screen ul.cooked-whatsnew-list { margin-right:0; } |
| 651 |
#cooked-welcome-screen ul.cooked-whatsnew-list li { line-height:1.7; position:relative; margin-right:0; border-top:1px solid #e5e5e5; padding:8px 0 4px 0 } |
| 652 |
#cooked-welcome-screen ul.cooked-whatsnew-list li:first-child { border:none; padding-top:0; } |
| 653 |
#cooked-welcome-screen ul.cooked-whatsnew-list strong.new, |
| 654 |
#cooked-welcome-screen ul.cooked-whatsnew-list strong.tweak, |
| 655 |
#cooked-welcome-screen ul.cooked-whatsnew-list em.fix { position:absolute; font-style:normal; display:inline-block; background:#aaa; text-transform:uppercase; top:11px; left:0; color:#fff; font-weight:600; -moz-border-radius:3px; -webkit-border-radius:3px; text-align:center; width:38px; border-radius:3px; font-size:10px; line-height:19px; height:19px; padding:0 6px; margin:0 6px 0 0; } |
| 656 |
#cooked-welcome-screen ul.cooked-whatsnew-list li:first-child strong.new, |
| 657 |
#cooked-welcome-screen ul.cooked-whatsnew-list li:first-child strong.tweak, |
| 658 |
#cooked-welcome-screen ul.cooked-whatsnew-list li:first-child em.fix { top:3px; } |
| 659 |
#cooked-welcome-screen ul.cooked-whatsnew-list strong.new { background:#56C477; } |
| 660 |
#cooked-welcome-screen ul.cooked-whatsnew-list strong.tweak { background:#0073aa; } |
| 661 |
#cooked-welcome-screen ul.cooked-whatsnew-list em.fix { background:#ffad10; } |
| 662 |
#cooked-welcome-screen ul li.cooked-pro i.cooked-icon { color:#ffad10; } |
| 663 |
#cooked-welcome-screen ul li.cooked-pro a { font-weight:600; color:#ffad10; } |
| 664 |
#cooked-welcome-screen ul li.cooked-pro a:hover { color:#D3910F; } |
| 665 |
#cooked-welcome-screen ul.cooked-whatsnew-pro { margin-bottom:0; flex:1 0 auto; width:33.333%; } |
| 666 |
#cooked-welcome-screen ul.cooked-whatsnew-pro li { padding-left:0; font-size:1.15rem; font-weight:400; } |
| 667 |
#cooked-welcome-screen ul.cooked-whatsnew-pro li i.cooked-icon-star { color:#ffad10; margin:0 7px 0 0; font-size:19px; position:relative; top:1px; } |
| 668 |
#cooked-welcome-screen .cooked-welcome-bottom { text-align:center; background:#f9f9f9; margin:30px -80px -15px; border-top:1px solid #f1f1f1; } |
| 669 |
#cooked-welcome-screen .cooked-pro-button { display:inline-block; clear:both; text-align:center; width:auto; margin:30px auto; padding:20px 25px 21px; font-size:1.25rem; line-height:1rem; font-weight:600; color:#fff; background:#ffad10; border-radius:50px; } |
| 670 |
#cooked-welcome-screen .cooked-pro-button:hover { background:#e08704; } |
| 671 |
#cooked-welcome-screen .cooked-coupon-code { color:#4c5e65; display:inline-block; font-size:17px; padding:0 0 0 1.5rem; } |
| 672 |
|
| 673 |
@media screen and (max-width:1050px){ |
| 674 |
#cooked-welcome-screen ul.cooked-whatsnew-pro { width:100%; margin-top:0; } |
| 675 |
#cooked-welcome-screen ul.cooked-whatsnew-pro:first-child { margin-top:10px; } |
| 676 |
#cooked-welcome-screen ul.cooked-whatsnew-pro li:first-child { border-top:1px solid #e5e5e5; padding-top:8px; } |
| 677 |
#cooked-welcome-screen ul.cooked-whatsnew-pro:first-child li:first-child { border:none; padding-top:0; } |
| 678 |
} |
| 679 |
@media screen and (max-width:870px){ |
| 680 |
#cooked-welcome-screen .cooked-pro-features { width:90%; } |
| 681 |
#cooked-welcome-screen .cooked-welcome-panel-column { padding-right:0; } |
| 682 |
#cooked-welcome-screen .cooked-welcome-panel-column.cooked-welcome-panel-last { width:100%; padding-top:20px; } |
| 683 |
#cooked-welcome-screen .about-wrap { margin-top:0; } |
| 684 |
#cooked-welcome-screen .cooked-welcome-panel .cooked-welcome-panel-column li { display:block; } |
| 685 |
} |
| 686 |
|
| 687 |
@media screen and (max-width:782px){ |
| 688 |
#cooked-welcome-screen .cooked-pro-features { width:100%; } |
| 689 |
#cooked-welcome-screen { padding:15px 40px 0 30px; } |
| 690 |
#cooked-welcome-screen .cooked-badge { display:none; } |
| 691 |
#cooked-welcome-screen .about-wrap h1, |
| 692 |
#cooked-welcome-screen .about-text { margin-right:0; } |
| 693 |
#cooked-welcome-screen .cooked-welcome-panel-column h3 a { display:block; position:relative; } |
| 694 |
} |
| 695 |
|
| 696 |
@media screen and (max-width:500px){ |
| 697 |
#cooked-welcome-screen #cooked-welcome-panel img.cooked-welcome-banner { display:none; } |
| 698 |
#cooked-welcome-screen .about-wrap h1 { font-size:1.8rem; } |
| 699 |
#cooked-welcome-screen .about-text { font-size:15px; } |
| 700 |
} |
| 701 |
|
| 702 |
/* Cooked Colors */ |
| 703 |
#cooked_recipe_settings .recipe-setting-block h3.cooked-settings-title, |
| 704 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-nut-label { color:#0173aa; } |
| 705 |
/* #cooked_recipe_settings #cooked-nutrition-label .cooked-calories .cooked-right .cooked-nut-label, |
| 706 |
#cooked_recipe_settings #cooked-nutrition-label .cooked-serving-size .cooked-right .cooked-nut-label { color: unset; } */ |
| 707 |
#cooked_recipe_settings .recipe-setting-block.cooked-danger h3.cooked-settings-title { color:#d44d1f; } |
| 708 |
#cooked_recipe_settings .cooked-alert-block h3.cooked-settings-title { color:#c02a2a; } |
| 709 |
#cooked-recipe-tabs { background:#fff; } |
| 710 |
#cooked-recipe-tabs li { background:#454b52; color:#fff; color:rgba(255,255,255,0.75); border-right:1px solid rgba(0,0,0,0.15); } |
| 711 |
#cooked-recipe-tabs li:hover { background:#535a62; color:#fff; border-right:1px solid rgba(0,0,0,0.15); } |
| 712 |
#cooked-recipe-tabs li.active { background:#fff; color:#333; border-right:1px solid #fff; } |
| 713 |
#cooked-settings-tabs { background:#454b52; } |
| 714 |
#cooked-settings-tabs a { color:#fff; text-decoration:none; } |
| 715 |
#cooked-settings-tabs li { background:#454b52; color:#fff; color:rgba(255,255,255,0.75); } |
| 716 |
#cooked-settings-tabs li:hover { background:#535a62; color:#fff; } |
| 717 |
#cooked-settings-tabs li.active { background:#fff; } |
| 718 |
#cooked-settings-tabs li.active a { color:#000; } |
| 719 |
|
| 720 |
/* Animations */ |
| 721 |
#cooked_recipe_settings .cooked-tooltip-icon, |
| 722 |
#cooked_recipe_settings select, |
| 723 |
#cooked-directions-builder .cooked-direction-block > .cooked-direction-image .cooked-direction-img-placeholder, |
| 724 |
#cooked-migration-progress.cooked-progress .cooked-progress-bar, |
| 725 |
#cooked-related-progress.cooked-progress .cooked-progress-bar, |
| 726 |
#cooked_recipe_settings .cooked-select-wrapper:before { -webkit-transition: all .15s ease-out; -moz-transition: all .15s ease-out; transition: all .15s ease-out; } |
| 727 |
#cooked-recipe-image-gallery .cooked-recipe-gallery-item { -webkit-transition: transform .15s ease-out; -moz-transition: all .15s ease-out; transition: transform .15s ease-out; } |
| 728 |
#cooked-recipe-tabs li.cooked-loading { -webkit-transition: opacity .15s ease-out; -moz-transition: all .15s ease-out; transition: opacity .15s ease-out; } |
| 729 |
|
| 730 |
@-webkit-keyframes cooked-wiggle { |
| 731 |
0% { -webkit-transform: scale(1); } |
| 732 |
50% { -webkit-transform: scale(1.03); } |
| 733 |
100% { -webkit-transform: scale(1); } |
| 734 |
} |
| 735 |
@-moz-keyframes cooked-wiggle { |
| 736 |
0% { -moz-transform: scale(1); } |
| 737 |
50% { -moz-transform: scale(1.03); } |
| 738 |
100% { -moz-transform: scale(1); } |
| 739 |
} |
| 740 |
@-o-keyframes cooked-wiggle { |
| 741 |
0% { -o-transform: scale(1); } |
| 742 |
50% { -o-transform: scale(1.03); } |
| 743 |
100% { -o-transform: scale(1); } |
| 744 |
} |
| 745 |
@keyframes cooked-wiggle { |
| 746 |
0% { transform: scale(1); } |
| 747 |
50% { transform: scale(1.03); } |
| 748 |
100% { transform: scale(1); } |
| 749 |
} |
| 750 |
|
| 751 |
@media screen and ( max-width: 1150px ) { |
| 752 |
#cooked-recipe-tabs li { font-size:0.8rem; padding:0 1.2rem 0 0.7rem; } |
| 753 |
#cooked-recipe-tabs li .cooked-icon { display:none; } |
| 754 |
} |
| 755 |
|
| 756 |
@media screen and ( max-width: 960px ) { |
| 757 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs { margin-left:36px; } |
| 758 |
} |
| 759 |
|
| 760 |
@media screen and ( max-width: 768px ) { |
| 761 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs { |
| 762 |
position: absolute; |
| 763 |
top: 0; |
| 764 |
left: 0; |
| 765 |
width: 100%; |
| 766 |
margin-left: 0; |
| 767 |
box-shadow: 0 3px 50px rgba(0,0,0,0.25); |
| 768 |
} |
| 769 |
#cooked_recipe_settings .cooked-clearfix:has(> .cooked-setting-column-14) { |
| 770 |
display: grid; |
| 771 |
grid-template-columns: 1fr 1fr; |
| 772 |
gap: 10px; |
| 773 |
} |
| 774 |
#cooked_recipe_settings .cooked-setting-column-14 { |
| 775 |
width: 100%; |
| 776 |
float: none; |
| 777 |
padding-right: 0; |
| 778 |
} |
| 779 |
#cooked_recipe_settings .recipe-setting-block h3.cooked-settings-title { |
| 780 |
width: 60%; |
| 781 |
} |
| 782 |
|
| 783 |
|
| 784 |
} |
| 785 |
|
| 786 |
@media screen and ( max-width: 600px ) { |
| 787 |
#cooked_recipe_settings .recipe-setting-block h3.cooked-settings-title { |
| 788 |
display: flex; |
| 789 |
flex-wrap: wrap; |
| 790 |
align-items: center; |
| 791 |
row-gap: 10px; |
| 792 |
} |
| 793 |
#cooked_recipe_settings .recipe-setting-block:has(#cooked-nutrition-label) .cooked-setting-column-12 { |
| 794 |
width: 100%; |
| 795 |
float: none; |
| 796 |
padding-right: 0; |
| 797 |
} |
| 798 |
#cooked_recipe_settings .recipe-setting-block:has(#cooked-nutrition-label) p.cooked-measurement-inputs { |
| 799 |
display: flex; |
| 800 |
gap: 10px; |
| 801 |
} |
| 802 |
#cooked_recipe_settings .recipe-setting-block:has(#cooked-nutrition-label) p.cooked-measurement-inputs .cooked-measurement-column { |
| 803 |
width: 50%; |
| 804 |
margin-right: 0; |
| 805 |
flex: 1; |
| 806 |
} |
| 807 |
#cooked-ingredients-builder .cooked-ingredient-block { |
| 808 |
display: grid; |
| 809 |
grid-template-columns: 1fr 1fr; |
| 810 |
column-gap: 8px; |
| 811 |
row-gap: 4px; |
| 812 |
padding-left: 30px; |
| 813 |
padding-right: 35px; |
| 814 |
} |
| 815 |
#cooked-ingredients-builder .cooked-ingredient-block > div { |
| 816 |
display: block; |
| 817 |
float: none; |
| 818 |
padding-right: 0; |
| 819 |
} |
| 820 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-amount { |
| 821 |
width: auto; |
| 822 |
grid-column: 1; |
| 823 |
} |
| 824 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-measurement { |
| 825 |
width: auto; |
| 826 |
grid-column: 2; |
| 827 |
} |
| 828 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-ingredient-name { |
| 829 |
width: auto; |
| 830 |
grid-column: 1 / -1; |
| 831 |
padding-right: 40px; |
| 832 |
} |
| 833 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields { |
| 834 |
width: auto; |
| 835 |
float: none; |
| 836 |
clear: none; |
| 837 |
grid-column: 1 / -1; |
| 838 |
} |
| 839 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-heading-name { |
| 840 |
grid-column: 1 / -1; |
| 841 |
} |
| 842 |
#cooked_recipe_settings .cooked-ingredient-headers { |
| 843 |
display: grid; |
| 844 |
grid-template-columns: 1fr 1fr; |
| 845 |
padding-left: 30px; |
| 846 |
padding-right: 35px; |
| 847 |
} |
| 848 |
#cooked_recipe_settings .cooked-ingredient-headers span { |
| 849 |
display: block; |
| 850 |
float: none; |
| 851 |
} |
| 852 |
#cooked_recipe_settings .cooked-layout-save-default { |
| 853 |
margin: 0; |
| 854 |
} |
| 855 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-amount { |
| 856 |
width: auto; |
| 857 |
} |
| 858 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-measurement { |
| 859 |
width: auto; |
| 860 |
} |
| 861 |
#cooked_recipe_settings .cooked-ingredient-headers span.cooked-ingredient-header-item { |
| 862 |
width: auto; |
| 863 |
grid-column: 1 / -1; |
| 864 |
padding-top: 2px; |
| 865 |
} |
| 866 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields { |
| 867 |
display: grid; |
| 868 |
grid-template-columns: 1fr 1fr; |
| 869 |
column-gap: 8px; |
| 870 |
row-gap: 4px; |
| 871 |
} |
| 872 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields > div { |
| 873 |
display: block; |
| 874 |
float: none; |
| 875 |
padding-right: 0; |
| 876 |
} |
| 877 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields .cooked-ingredient-amount, |
| 878 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields .cooked-ingredient-measurement { |
| 879 |
width: 100%; |
| 880 |
display: block; |
| 881 |
} |
| 882 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields .cooked-ingredient-name { |
| 883 |
width: auto; |
| 884 |
grid-column: 1 / -1; |
| 885 |
padding-top: 0; |
| 886 |
} |
| 887 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded > .cooked-substitution-fields .cooked-sub-label { |
| 888 |
grid-column: 1 / -1; |
| 889 |
} |
| 890 |
#cooked-ingredients-builder .cooked-ingredient-block { |
| 891 |
position: relative; |
| 892 |
} |
| 893 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-show-substitution { |
| 894 |
top: 60px; |
| 895 |
right: 42px; |
| 896 |
} |
| 897 |
#cooked-ingredients-builder .cooked-ingredient-block:hover .cooked-show-substitution, |
| 898 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-expanded .cooked-show-substitution, |
| 899 |
#cooked-ingredients-builder .cooked-ingredient-block.cooked-has-substitution .cooked-show-substitution { |
| 900 |
right: 42px; |
| 901 |
} |
| 902 |
#cooked-ingredients-builder .cooked-ingredient-block .cooked-delete-ingredient { |
| 903 |
right: 11px; |
| 904 |
} |
| 905 |
|
| 906 |
} |
| 907 |
|
| 908 |
@media screen and ( max-width: 500px ) { |
| 909 |
#cooked_recipe_settings .cooked-clearfix:has(> .cooked-setting-column-14) { |
| 910 |
grid-template-columns: 1fr; |
| 911 |
} |
| 912 |
|
| 913 |
#cooked_recipe_settings.stuck #cooked-recipe-tabs { |
| 914 |
width: 100%; |
| 915 |
} |
| 916 |
} |
| 917 |
|
| 918 |
/* Substitution Fields */ |
| 919 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields { |
| 920 |
width: 100%; |
| 921 |
float: left; |
| 922 |
clear: both; |
| 923 |
margin-top: 10px; |
| 924 |
padding-top: 10px; |
| 925 |
padding-right: 0; |
| 926 |
padding-left: 0; |
| 927 |
margin-left: 0; |
| 928 |
box-sizing: border-box; |
| 929 |
padding-bottom: 5px; |
| 930 |
position: relative; |
| 931 |
} |
| 932 |
|
| 933 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields .cooked-ingredient-amount { width: 15%; } |
| 934 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields .cooked-ingredient-measurement { width: 20%; } |
| 935 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields .cooked-ingredient-name { width: 65%; } |
| 936 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields .cooked-sub-label { |
| 937 |
color: #7c7c7c; |
| 938 |
font-size: 14px; |
| 939 |
font-weight: 300; |
| 940 |
} |
| 941 |
|
| 942 |
#cooked-ingredients-builder .cooked-ingredient-block > .cooked-substitution-fields > div { |
| 943 |
display: inline-block; |
| 944 |
float: left; |
| 945 |
box-sizing: border-box; |
| 946 |
padding-right: 10px; |
| 947 |
} |
| 948 |
|
| 949 |
/* Bulk Add Modal */ |
| 950 |
.cooked-bulk-add-overlay { |
| 951 |
position: fixed; |
| 952 |
top: 0; |
| 953 |
left: 0; |
| 954 |
right: 0; |
| 955 |
bottom: 0; |
| 956 |
background: rgba(0, 0, 0, 0.6); |
| 957 |
z-index: 100100; |
| 958 |
display: flex; |
| 959 |
align-items: center; |
| 960 |
justify-content: center; |
| 961 |
} |
| 962 |
.cooked-bulk-add-modal { |
| 963 |
background: #fff; |
| 964 |
border-radius: 6px; |
| 965 |
width: 600px; |
| 966 |
max-width: 90vw; |
| 967 |
max-height: 80vh; |
| 968 |
display: flex; |
| 969 |
flex-direction: column; |
| 970 |
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); |
| 971 |
} |
| 972 |
.cooked-bulk-add-header { |
| 973 |
display: flex; |
| 974 |
align-items: center; |
| 975 |
justify-content: space-between; |
| 976 |
padding: 16px 20px; |
| 977 |
border-bottom: 1px solid #ddd; |
| 978 |
} |
| 979 |
.cooked-bulk-add-header h2 { |
| 980 |
margin: 0; |
| 981 |
font-size: 18px; |
| 982 |
line-height: 1.3; |
| 983 |
} |
| 984 |
.cooked-bulk-add-close { |
| 985 |
font-size: 24px; |
| 986 |
text-decoration: none; |
| 987 |
color: #666; |
| 988 |
line-height: 1; |
| 989 |
padding: 0 4px; |
| 990 |
} |
| 991 |
.cooked-bulk-add-close:hover { color: #d63638; } |
| 992 |
.cooked-bulk-add-body { |
| 993 |
padding: 20px; |
| 994 |
overflow-y: auto; |
| 995 |
flex: 1; |
| 996 |
} |
| 997 |
.cooked-bulk-add-help { |
| 998 |
margin-top: 0; |
| 999 |
color: #666; |
| 1000 |
font-size: 13px; |
| 1001 |
} |
| 1002 |
#cooked-bulk-add-textarea { |
| 1003 |
width: 100%; |
| 1004 |
min-height: 160px; |
| 1005 |
font-size: 14px; |
| 1006 |
padding: 10px; |
| 1007 |
box-sizing: border-box; |
| 1008 |
resize: vertical; |
| 1009 |
} |
| 1010 |
.cooked-bulk-add-preview { |
| 1011 |
margin-top: 16px; |
| 1012 |
} |
| 1013 |
.cooked-bulk-add-preview-label { |
| 1014 |
margin: 0 0 8px; |
| 1015 |
font-size: 13px; |
| 1016 |
} |
| 1017 |
.cooked-bulk-add-preview-notice-ingredients { |
| 1018 |
display: none; |
| 1019 |
margin: 10px 0 0; |
| 1020 |
font-size: 12px; |
| 1021 |
line-height: 1.45; |
| 1022 |
color: #b45309; |
| 1023 |
font-weight: 700; |
| 1024 |
gap: 6px; |
| 1025 |
align-items: flex-start; |
| 1026 |
} |
| 1027 |
#cooked-bulk-add-preview[data-bulk-type="ingredients"] .cooked-bulk-add-preview-notice-ingredients { |
| 1028 |
display: flex; |
| 1029 |
} |
| 1030 |
.cooked-bulk-add-preview-notice-mark { |
| 1031 |
flex-shrink: 0; |
| 1032 |
font-weight: 700; |
| 1033 |
line-height: 1.45; |
| 1034 |
color: #b45309; |
| 1035 |
} |
| 1036 |
.cooked-bulk-add-preview-notice-text { |
| 1037 |
flex: 1; |
| 1038 |
min-width: 0; |
| 1039 |
font-weight: 700; |
| 1040 |
color: #b45309; |
| 1041 |
} |
| 1042 |
.cooked-bulk-add-preview-list { |
| 1043 |
max-height: 200px; |
| 1044 |
overflow-y: auto; |
| 1045 |
border: 1px solid #ddd; |
| 1046 |
border-radius: 4px; |
| 1047 |
padding: 4px; |
| 1048 |
} |
| 1049 |
.cooked-bulk-add-preview-row { |
| 1050 |
display: flex; |
| 1051 |
align-items: center; |
| 1052 |
gap: 8px; |
| 1053 |
padding: 4px 6px; |
| 1054 |
border-bottom: 1px solid #f0f0f0; |
| 1055 |
} |
| 1056 |
.cooked-bulk-add-preview-row:last-child { border-bottom: 0; } |
| 1057 |
.cooked-bulk-add-heading-toggle { |
| 1058 |
display: flex; |
| 1059 |
align-items: center; |
| 1060 |
gap: 4px; |
| 1061 |
white-space: nowrap; |
| 1062 |
font-size: 12px; |
| 1063 |
color: #666; |
| 1064 |
cursor: pointer; |
| 1065 |
flex-shrink: 0; |
| 1066 |
} |
| 1067 |
.cooked-bulk-add-heading-toggle input[type="checkbox"] { margin: 0; } |
| 1068 |
.cooked-bulk-add-preview-text { |
| 1069 |
flex: 1; |
| 1070 |
border: 1px solid #ddd; |
| 1071 |
border-radius: 3px; |
| 1072 |
padding: 4px 8px; |
| 1073 |
font-size: 13px; |
| 1074 |
} |
| 1075 |
.cooked-bulk-add-preview-row:not(.cooked-bulk-add-preview-row-ingredient).cooked-bulk-add-is-heading .cooked-bulk-add-preview-text { font-weight: 700; } |
| 1076 |
.cooked-bulk-add-preview-row-ingredient .cooked-bulk-add-heading-line-wrap { |
| 1077 |
display: none; |
| 1078 |
flex: 1; |
| 1079 |
align-items: center; |
| 1080 |
gap: 8px; |
| 1081 |
min-width: 0; |
| 1082 |
} |
| 1083 |
.cooked-bulk-add-preview-row-ingredient.cooked-bulk-add-is-heading .cooked-bulk-add-heading-line-wrap { display: flex; } |
| 1084 |
.cooked-bulk-add-preview-row-ingredient.cooked-bulk-add-is-heading .cooked-bulk-add-parsed-amount, |
| 1085 |
.cooked-bulk-add-preview-row-ingredient.cooked-bulk-add-is-heading .cooked-bulk-add-parsed-unit, |
| 1086 |
.cooked-bulk-add-preview-row-ingredient.cooked-bulk-add-is-heading .cooked-bulk-add-parsed-name { display: none; } |
| 1087 |
.cooked-bulk-add-heading-line-label { |
| 1088 |
flex-shrink: 0; |
| 1089 |
font-size: 12px; |
| 1090 |
font-weight: 600; |
| 1091 |
color: #666; |
| 1092 |
} |
| 1093 |
.cooked-bulk-add-preview-row-ingredient .cooked-bulk-add-heading-line-wrap .cooked-bulk-add-preview-text { |
| 1094 |
flex: 1; |
| 1095 |
min-width: 0; |
| 1096 |
border: 1px solid #ddd; |
| 1097 |
border-radius: 3px; |
| 1098 |
padding: 4px 8px; |
| 1099 |
font-size: 13px; |
| 1100 |
font-weight: 600; |
| 1101 |
} |
| 1102 |
.cooked-bulk-add-preview-header { |
| 1103 |
display: flex; |
| 1104 |
align-items: center; |
| 1105 |
gap: 8px; |
| 1106 |
padding: 4px 6px 6px; |
| 1107 |
border-bottom: 1px solid #ddd; |
| 1108 |
font-size: 11px; |
| 1109 |
font-weight: 600; |
| 1110 |
color: #999; |
| 1111 |
text-transform: uppercase; |
| 1112 |
letter-spacing: 0.5px; |
| 1113 |
} |
| 1114 |
.cooked-bulk-add-col-heading { flex-shrink: 0; width: 108px; } |
| 1115 |
.cooked-bulk-add-col-amount { width: 72px; flex-shrink: 0; } |
| 1116 |
.cooked-bulk-add-col-unit { width: 108px; flex-shrink: 0; } |
| 1117 |
.cooked-bulk-add-col-name { flex: 1; } |
| 1118 |
.cooked-bulk-add-parsed-amount { |
| 1119 |
width: 72px; |
| 1120 |
flex-shrink: 0; |
| 1121 |
border: 1px solid #ddd; |
| 1122 |
border-radius: 3px; |
| 1123 |
padding: 4px 6px; |
| 1124 |
font-size: 13px; |
| 1125 |
text-align: center; |
| 1126 |
} |
| 1127 |
.cooked-bulk-add-parsed-unit { |
| 1128 |
width: 108px; |
| 1129 |
flex-shrink: 0; |
| 1130 |
border: 1px solid #ddd; |
| 1131 |
border-radius: 3px; |
| 1132 |
padding: 4px 6px; |
| 1133 |
font-size: 13px; |
| 1134 |
} |
| 1135 |
.cooked-bulk-add-parsed-name { |
| 1136 |
flex: 1; |
| 1137 |
border: 1px solid #ddd; |
| 1138 |
border-radius: 3px; |
| 1139 |
padding: 4px 6px; |
| 1140 |
font-size: 13px; |
| 1141 |
} |
| 1142 |
.cooked-bulk-add-footer { |
| 1143 |
display: flex; |
| 1144 |
align-items: center; |
| 1145 |
justify-content: flex-end; |
| 1146 |
gap: 8px; |
| 1147 |
padding: 14px 20px; |
| 1148 |
border-top: 1px solid #ddd; |
| 1149 |
} |
| 1150 |
.cooked-bulk-add-footer .button, |
| 1151 |
.cooked-bulk-add-footer .button.button-primary { |
| 1152 |
float: none; |
| 1153 |
margin: 0; |
| 1154 |
vertical-align: middle; |
| 1155 |
} |
| 1156 |
.cooked-bulk-add-spinner { |
| 1157 |
float: none !important; |
| 1158 |
margin: 0 !important; |
| 1159 |
} |
| 1160 |
|
| 1161 |
/* Allergen Checkboxes (Sidebar Meta Box) */ |
| 1162 |
#cooked_allergens .cooked-allergens-checkboxes { |
| 1163 |
display: flex; |
| 1164 |
flex-direction: column; |
| 1165 |
gap: 8px; |
| 1166 |
} |
| 1167 |
|
| 1168 |
#cooked_allergens .cooked-allergen-checkbox { |
| 1169 |
display: flex; |
| 1170 |
align-items: center; |
| 1171 |
gap: 8px; |
| 1172 |
cursor: pointer; |
| 1173 |
} |
| 1174 |
|
| 1175 |
#cooked_allergens .cooked-allergen-checkbox input[type="checkbox"] { |
| 1176 |
margin: 0; |
| 1177 |
} |
| 1178 |
|
| 1179 |
#cooked_allergens .cooked-allergen { |
| 1180 |
display: inline-flex; |
| 1181 |
align-items: center; |
| 1182 |
justify-content: center; |
| 1183 |
flex-shrink: 0; |
| 1184 |
} |
| 1185 |
|
| 1186 |
#cooked_allergens .cooked-allergen .cooked-icon { |
| 1187 |
font-size: 1.5rem; |
| 1188 |
line-height: 1; |
| 1189 |
} |
| 1190 |
|
| 1191 |
#cooked_allergens .cooked-allergen, |
| 1192 |
#cooked_allergens .cooked-allergen .cooked-icon { |
| 1193 |
color: rgba(0, 0, 0, 0.4); |
| 1194 |
} |
| 1195 |
|
| 1196 |
#cooked_allergens .cooked-allergen-label { |
| 1197 |
font-size: 13px; |
| 1198 |
color: #333; |
| 1199 |
} |
| 1200 |
|