PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / restaurant-menu / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/restaurant-menu/style.css

195 lines 12.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-rm-wrapper {
2 box-sizing: border-box;
3 width: 100%;
4 }
5
6 /* Tab bar */
7 .bkbg-rm-tab-bar {
8 display: flex;
9 gap: 6px;
10 flex-wrap: wrap;
11 margin-bottom: 32px;
12 }
13 .bkbg-rm-tab-btn {
14 display: inline-flex;
15 align-items: center;
16 gap: 7px;
17 padding: 9px 18px;
18 border-radius: 99px;
19 border: none;
20 cursor: pointer;
21 font-family: var(--bkrm-cn-font-family, inherit);
22 font-size: var(--bkrm-cn-font-size-d, var(--bkbg-rm-cat-name-sz, 13px));
23 font-weight: var(--bkrm-cn-font-weight, 700);
24 font-style: var(--bkrm-cn-font-style, normal);
25 text-transform: var(--bkrm-cn-text-transform, none);
26 text-decoration: var(--bkrm-cn-text-decoration, none);
27 letter-spacing: var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing, normal));
28 word-spacing: var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing, normal));
29 line-height: var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height, 1));
30 background: var(--bkbg-rm-inactive-tab-bg, #f3f4f6);
31 color: var(--bkbg-rm-inactive-tab-color, #374151);
32 transition: background 0.2s, color 0.2s;
33 }
34 .bkbg-rm-tab-btn.is-active,
35 .bkbg-rm-tab-btn[aria-selected="true"] {
36 background: var(--bkbg-rm-active-tab-bg, #6c3fb5);
37 color: var(--bkbg-rm-active-tab-color, #fff);
38 }
39 .bkbg-rm-tab-btn:hover:not(.is-active):not([aria-selected="true"]) {
40 filter: brightness(0.95);
41 }
42 .bkbg-rm-tab-icon { font-size: 15px; }
43
44 /* Sections layout */
45 .bkbg-rm--sections .bkbg-rm-category-section { margin-bottom: 40px; }
46 .bkbg-rm--sections .bkbg-rm-category-section:last-child { margin-bottom: 0; }
47 .bkbg-rm--sections .bkbg-rm-category-header {
48 display: flex;
49 align-items: center;
50 gap: 10px;
51 margin-bottom: 20px;
52 }
53 .bkbg-rm--sections .bkbg-rm-cat-icon { font-size: 28px; }
54 .bkbg-rm-cat-icon svg { width: 1em; height: 1em; fill: currentColor; }
55 .bkbg-rm-cat-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
56 .bkbg-rm-cat-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
57 .bkbg-rm-tab-icon svg { width: 1em; height: 1em; fill: currentColor; }
58 .bkbg-rm-tab-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
59 .bkbg-rm-tab-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
60 .bkbg-rm--sections .bkbg-rm-cat-name {
61 margin: 0;
62 color: var(--bkbg-rm-item-name-color, #111827);
63 }
64 .bkbg-rm-category-header h3.bkbg-rm-cat-name {
65 font-family: var(--bkrm-cn-font-family);
66 font-size: var(--bkrm-cn-font-size-d, 22px);
67 font-weight: var(--bkrm-cn-font-weight, 800);
68 font-style: var(--bkrm-cn-font-style);
69 text-transform: var(--bkrm-cn-text-transform);
70 text-decoration: var(--bkrm-cn-text-decoration);
71 letter-spacing: var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing));
72 word-spacing: var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing));
73 line-height: var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height));
74 margin: 0;
75 color: var(--bkbg-rm-item-name-color, #111827);
76 }
77
78 /* Tabs layout – hide inactive panels */
79 .bkbg-rm--tabs .bkbg-rm-category-section { display: none; }
80 .bkbg-rm--tabs .bkbg-rm-category-section.is-active,
81 .bkbg-rm--tabs .bkbg-rm-category-section[aria-hidden="false"] { display: block; }
82
83 /* Items list */
84 .bkbg-rm-item {
85 display: flex;
86 align-items: flex-start;
87 gap: 12px;
88 box-sizing: border-box;
89 }
90 .bkbg-rm-items--list .bkbg-rm-item {
91 padding: 14px 0;
92 border-bottom: 1px solid var(--bkbg-rm-separator-color, #f3f4f6);
93 }
94 .bkbg-rm-items--list .bkbg-rm-item:first-child { padding-top: 0; }
95 .bkbg-rm-items--list .bkbg-rm-item:last-child { border-bottom: none; }
96
97 /* Card items */
98 .bkbg-rm-items--card .bkbg-rm-items { display: grid; grid-template-columns: repeat(1, 1fr); gap: 12px; }
99 .bkbg-rm-item--card {
100 background: var(--bkbg-rm-card-bg, #fff);
101 border: 1px solid var(--bkbg-rm-card-border, #e5e7eb);
102 border-radius: var(--bkbg-rm-card-r, 12px);
103 padding: var(--bkbg-rm-card-pad, 18px);
104 transition: box-shadow 0.2s;
105 }
106 .bkbg-rm-item--card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
107
108 .bkbg-rm-item-info { flex: 1; min-width: 0; }
109 .bkbg-rm-item-name {
110 display: block;
111 font-family: var(--bkrm-in-font-family, inherit);
112 font-size: var(--bkrm-in-font-size-d, var(--bkbg-rm-item-name-sz, 16px));
113 font-weight: var(--bkrm-in-font-weight, 700);
114 font-style: var(--bkrm-in-font-style, normal);
115 text-transform: var(--bkrm-in-text-transform, none);
116 text-decoration: var(--bkrm-in-text-decoration, none);
117 letter-spacing: var(--bkrm-in-letter-spacing-d, var(--bkrm-in-letter-spacing, normal));
118 word-spacing: var(--bkrm-in-word-spacing-d, var(--bkrm-in-word-spacing, normal));
119 line-height: var(--bkrm-in-line-height-d, var(--bkrm-in-line-height, normal));
120 color: var(--bkbg-rm-item-name-color, #111827);
121 }
122 .bkbg-rm-item-desc {
123 margin: 4px 0 0;
124 font-family: var(--bkrm-ds-font-family, inherit);
125 font-size: var(--bkrm-ds-font-size-d, var(--bkbg-rm-desc-sz, 14px));
126 font-weight: var(--bkrm-ds-font-weight, normal);
127 font-style: var(--bkrm-ds-font-style, normal);
128 text-transform: var(--bkrm-ds-text-transform, none);
129 text-decoration: var(--bkrm-ds-text-decoration, none);
130 letter-spacing: var(--bkrm-ds-letter-spacing-d, var(--bkrm-ds-letter-spacing, normal));
131 word-spacing: var(--bkrm-ds-word-spacing-d, var(--bkrm-ds-word-spacing, normal));
132 line-height: var(--bkrm-ds-line-height-d, var(--bkrm-ds-line-height, 1.55));
133 color: var(--bkbg-rm-desc-color, #6b7280);
134 }
135 .bkbg-rm-item-price {
136 flex-shrink: 0;
137 font-family: var(--bkrm-pr-font-family, inherit);
138 font-size: var(--bkrm-pr-font-size-d, var(--bkbg-rm-price-sz, 16px));
139 font-weight: var(--bkrm-pr-font-weight, 800);
140 font-style: var(--bkrm-pr-font-style, normal);
141 text-transform: var(--bkrm-pr-text-transform, none);
142 text-decoration: var(--bkrm-pr-text-decoration, none);
143 letter-spacing: var(--bkrm-pr-letter-spacing-d, var(--bkrm-pr-letter-spacing, normal));
144 word-spacing: var(--bkrm-pr-word-spacing-d, var(--bkrm-pr-word-spacing, normal));
145 line-height: var(--bkrm-pr-line-height-d, var(--bkrm-pr-line-height, normal));
146 color: var(--bkbg-rm-price-color, #6c3fb5);
147 white-space: nowrap;
148 }
149
150 /* Dietary badges */
151 .bkbg-rm-badges { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
152 .bkbg-rm-badge {
153 display: inline-block;
154 padding: 2px 7px;
155 border-radius: var(--bkbg-rm-badge-r, 4px);
156 font-size: var(--bkbg-rm-badge-sz, 11px);
157 font-weight: 700;
158 line-height: 1.6;
159 }
160 .bkbg-rm-badge--v { background: #16a34a1a; color: #16a34a; }
161 .bkbg-rm-badge--vg { background: #0596691a; color: #059669; }
162 .bkbg-rm-badge--gf { background: #ca8a041a; color: #ca8a04; }
163 .bkbg-rm-badge--df { background: #0ea5e91a; color: #0ea5e9; }
164 .bkbg-rm-badge--hot { background: #ef44441a; color: #ef4444; }
165 .bkbg-rm-badge--new { background: #6c3fb51a; color: #6c3fb5; }
166
167 /* Link inheritance for text-decoration */
168 .bkbg-rm-item-name a,
169 .bkbg-rm-item-desc a,
170 .bkbg-rm-category-header .bkbg-rm-cat-name a {
171 text-decoration: inherit;
172 }
173
174 /* Responsive typography */
175 @media (max-width: 1024px) {
176 .bkbg-rm-tab-btn { font-size: var(--bkrm-cn-font-size-t, var(--bkrm-cn-font-size-d, var(--bkbg-rm-cat-name-sz, 13px)));line-height:var(--bkrm-cn-line-height-t, var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height)));letter-spacing:var(--bkrm-cn-letter-spacing-t, var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing)));word-spacing:var(--bkrm-cn-word-spacing-t, var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing)))}
177 .bkbg-rm-category-header .bkbg-rm-cat-name { font-size: var(--bkrm-cn-font-size-t, var(--bkrm-cn-font-size-d, 22px));line-height:var(--bkrm-cn-line-height-t, var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height)));letter-spacing:var(--bkrm-cn-letter-spacing-t, var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing)));word-spacing:var(--bkrm-cn-word-spacing-t, var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing)))}
178 .bkbg-rm-item-name { font-size: var(--bkrm-in-font-size-t, var(--bkrm-in-font-size-d, var(--bkbg-rm-item-name-sz, 16px)));line-height:var(--bkrm-in-line-height-t, var(--bkrm-in-line-height-d, var(--bkrm-in-line-height, normal)));letter-spacing:var(--bkrm-in-letter-spacing-t, var(--bkrm-in-letter-spacing-d, var(--bkrm-in-letter-spacing, normal)));word-spacing:var(--bkrm-in-word-spacing-t, var(--bkrm-in-word-spacing-d, var(--bkrm-in-word-spacing, normal)))}
179 .bkbg-rm-item-desc { font-size: var(--bkrm-ds-font-size-t, var(--bkrm-ds-font-size-d, var(--bkbg-rm-desc-sz, 14px)));line-height:var(--bkrm-ds-line-height-t, var(--bkrm-ds-line-height-d, var(--bkrm-ds-line-height, 1.55)));letter-spacing:var(--bkrm-ds-letter-spacing-t, var(--bkrm-ds-letter-spacing-d, var(--bkrm-ds-letter-spacing, normal)));word-spacing:var(--bkrm-ds-word-spacing-t, var(--bkrm-ds-word-spacing-d, var(--bkrm-ds-word-spacing, normal)))}
180 .bkbg-rm-item-price { font-size: var(--bkrm-pr-font-size-t, var(--bkrm-pr-font-size-d, var(--bkbg-rm-price-sz, 16px)));line-height:var(--bkrm-pr-line-height-t, var(--bkrm-pr-line-height-d, var(--bkrm-pr-line-height, normal)));letter-spacing:var(--bkrm-pr-letter-spacing-t, var(--bkrm-pr-letter-spacing-d, var(--bkrm-pr-letter-spacing, normal)));word-spacing:var(--bkrm-pr-word-spacing-t, var(--bkrm-pr-word-spacing-d, var(--bkrm-pr-word-spacing, normal)))}
181 }
182 @media (max-width: 767px) {
183 .bkbg-rm-tab-btn { font-size: var(--bkrm-cn-font-size-m, var(--bkrm-cn-font-size-t, var(--bkrm-cn-font-size-d, var(--bkbg-rm-cat-name-sz, 13px))));line-height:var(--bkrm-cn-line-height-m, var(--bkrm-cn-line-height-t, var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height))));letter-spacing:var(--bkrm-cn-letter-spacing-m, var(--bkrm-cn-letter-spacing-t, var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing))));word-spacing:var(--bkrm-cn-word-spacing-m, var(--bkrm-cn-word-spacing-t, var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing))))}
184 .bkbg-rm-category-header .bkbg-rm-cat-name { font-size: var(--bkrm-cn-font-size-m, var(--bkrm-cn-font-size-t, var(--bkrm-cn-font-size-d, 22px)));line-height:var(--bkrm-cn-line-height-m, var(--bkrm-cn-line-height-t, var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height))));letter-spacing:var(--bkrm-cn-letter-spacing-m, var(--bkrm-cn-letter-spacing-t, var(--bkrm-cn-letter-spacing-d, var(--bkrm-cn-letter-spacing))));word-spacing:var(--bkrm-cn-word-spacing-m, var(--bkrm-cn-word-spacing-t, var(--bkrm-cn-word-spacing-d, var(--bkrm-cn-word-spacing))))}
185 .bkbg-rm-item-name { font-size: var(--bkrm-in-font-size-m, var(--bkrm-in-font-size-t, var(--bkrm-in-font-size-d, var(--bkbg-rm-item-name-sz, 16px))));line-height:var(--bkrm-in-line-height-m, var(--bkrm-in-line-height-t, var(--bkrm-in-line-height-d, var(--bkrm-in-line-height, normal))));letter-spacing:var(--bkrm-in-letter-spacing-m, var(--bkrm-in-letter-spacing-t, var(--bkrm-in-letter-spacing-d, var(--bkrm-in-letter-spacing, normal))));word-spacing:var(--bkrm-in-word-spacing-m, var(--bkrm-in-word-spacing-t, var(--bkrm-in-word-spacing-d, var(--bkrm-in-word-spacing, normal))))}
186 .bkbg-rm-item-desc { font-size: var(--bkrm-ds-font-size-m, var(--bkrm-ds-font-size-t, var(--bkrm-ds-font-size-d, var(--bkbg-rm-desc-sz, 14px))));line-height:var(--bkrm-ds-line-height-m, var(--bkrm-ds-line-height-t, var(--bkrm-ds-line-height-d, var(--bkrm-ds-line-height, 1.55))));letter-spacing:var(--bkrm-ds-letter-spacing-m, var(--bkrm-ds-letter-spacing-t, var(--bkrm-ds-letter-spacing-d, var(--bkrm-ds-letter-spacing, normal))));word-spacing:var(--bkrm-ds-word-spacing-m, var(--bkrm-ds-word-spacing-t, var(--bkrm-ds-word-spacing-d, var(--bkrm-ds-word-spacing, normal))))}
187 .bkbg-rm-item-price { font-size: var(--bkrm-pr-font-size-m, var(--bkrm-pr-font-size-t, var(--bkrm-pr-font-size-d, var(--bkbg-rm-price-sz, 16px))));line-height:var(--bkrm-pr-line-height-m, var(--bkrm-pr-line-height-t, var(--bkrm-pr-line-height-d, var(--bkrm-pr-line-height, normal))));letter-spacing:var(--bkrm-pr-letter-spacing-m, var(--bkrm-pr-letter-spacing-t, var(--bkrm-pr-letter-spacing-d, var(--bkrm-pr-letter-spacing, normal))));word-spacing:var(--bkrm-pr-word-spacing-m, var(--bkrm-pr-word-spacing-t, var(--bkrm-pr-word-spacing-d, var(--bkrm-pr-word-spacing, normal))))}
188 }
189 @media (max-width: 640px) {
190 line-height: var(--bkrm-pr-line-height-m, var(--bkrm-pr-line-height-t, var(--bkrm-pr-line-height-d, var(--bkrm-pr-line-height, normal))));
191 line-height: var(--bkrm-cn-line-height-m, var(--bkrm-cn-line-height-t, var(--bkrm-cn-line-height-d, var(--bkrm-cn-line-height))));
192 .bkbg-rm-tab-bar { gap: 4px; }
193 .bkbg-rm-tab-btn { padding: 7px 14px; }
194 }
195