PluginProbe
Cooked – Recipe Management / 1.11.4
Cooked – Recipe Management v1.11.4
1.16.1 1.16.0 1.15.0 trunk 1.10.0 1.11.0 1.11.1 1.11.2 1.11.3 1.11.4 1.12.0 1.13.0 1.14.0 1.7.10 1.7.11 1.7.12 1.7.13 1.7.15.1 1.7.15.3 1.7.15.4 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 All 37 releases
cooked / assets / css / colors.php

colors.php in Cooked – Recipe Management 1.11.4, at assets/css/colors.php

60 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 $_cooked_settings = Cooked_Settings::get();
4
5 ?>/* Main Color */
6 .cooked-button,
7 .cooked-fsm .cooked-fsm-top,
8 .cooked-fsm .cooked-fsm-mobile-nav,
9 .cooked-fsm .cooked-fsm-mobile-nav a.cooked-active,
10 .cooked-browse-search-button,
11 .cooked-icon-loading,
12 .cooked-progress span,
13 .cooked-recipe-search .cooked-taxonomy-selected,
14 .cooked-recipe-card-modern:hover .cooked-recipe-card-sep,
15 .cooked-recipe-card-modern-centered:hover .cooked-recipe-card-sep { background:<?php echo esc_html( $_cooked_settings['main_color'] ); ?>; }
16 .cooked-timer-obj,
17 .cooked-fsm a { color:<?php echo esc_html( $_cooked_settings['main_color'] ); ?>; }
18
19 /* Main Color Darker */
20 .cooked-button:hover,
21 .cooked-recipe-search .cooked-taxonomy-selected:hover,
22 .cooked-browse-search-button:hover { background:<?php echo esc_html( $_cooked_settings['main_color_hover'] ); ?>; }<?php
23
24 if ( isset($_cooked_settings['dark_mode']) && in_array('enabled', $_cooked_settings['dark_mode']) ):
25
26 ?>/* Dark Mode */
27 .cooked-recipe-search .cooked-browse-select { background:rgba(255,255,255,0.075); box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05); }
28 .cooked-recipe-search .cooked-browse-select:hover { background:rgba(255,255,255,0.10); box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05); }
29 .cooked-recipe-search .cooked-browse-select-block { background:rgba(0,0,0,0.95); box-shadow:none; border-radius:5px; }
30 .cooked-recipe-search input[type="text"] { background:rgba(0,0,0,0.25); border-color:rgba(255,255,255,0.15); }
31 .cooked-recipe-search .cooked-sortby-wrap { background:rgba(255,255,255,0.10); }
32 .cooked-recipe-search .cooked-sortby-wrap:hover { background:rgba(255,255,255,0.15); }
33 .cooked-recipe-search .cooked-sortby-wrap > select { border-color:rgba(0,0,0,0.15); }
34 .cooked-recipe-search .cooked-sortby-wrap > select > option { color:#333; }
35 .cooked-recipe-grid .cooked-recipe-inside { background:rgba(0,0,0,0.25); box-shadow:none !important }
36 .cooked-pagination-numbered > span { color:rgba(255,255,255,0.5); }
37 .cooked-recipe-info span.cooked-print > a,
38 .cooked-recipe-info span.cooked-fsm-button { color:rgba(255,255,255,0.5); }
39 .cooked-recipe-info span.cooked-print > a:hover,
40 .cooked-recipe-info span.cooked-fsm-button:hover { color:#fff; }
41 .cooked-recipe-ingredients .cooked-ingredient-checkbox { border-color:rgba(255,255,255,0.25); }
42 .cooked-recipe-ingredients .cooked-ingredient-checkbox:hover { border-color:rgba(255,255,255,0.5); }
43 .cooked-nutrition-label { background:rgba(0,0,0,0.25); border:none; border-radius:5px; }
44 .cooked-nutrition-label .cooked-nutrition-title { color:#fff; }
45 body .cooked-nutrition-label .cooked-nut-hr { border-color:rgba(255,255,255,0.15); }
46 body .cooked-nutrition-label dt.cooked-nut-spacer, body .cooked-nutrition-label dl.cooked-nut-spacer { background:rgba(255,255,255,0.15); }
47 body .cooked-nutrition-label dt,
48 body .cooked-nutrition-label dl.cooked-nut-bottom dt,
49 body .cooked-nutrition-label dl.cooked-nut-bottom dt:nth-last-child(2):nth-child(2n) { border-color:rgba(255,255,255,0.15); }
50 .cooked-recipe-card { background:rgba(0,0,0,0.25); box-shadow:none !important; }
51 .cooked-recipe-card-modern .cooked-recipe-card-sep, .cooked-recipe-card-modern-centered .cooked-recipe-card-sep { background:rgba(255,255,255,0.25); }
52 .cooked-recipe-grid .cooked-recipe-image-empty { background:rgba(255,255,255,0.15); }
53 .cooked-fsm { background:#000; color:#fff; }
54 .cooked-fsm .cooked-fsm-ingredients { background:rgba(255,255,255,0.1); }
55 .cooked-recipe .cooked-rating-stars > .cooked-rating-star.cooked-rating-star-empty,
56 .cooked-recipe .cooked-ratable .cooked-rating-stars.cooked-user-rated > .cooked-rating-star.cooked-rating-star-empty { color:rgba(255,255,255,0.25); }
57 <?php
58
59 endif;
60