|
21 | 21 | ->addOption("homePageLogoImageCSS", "css", "", [ |
22 | 22 | "cssTypes" => ["cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssSize"], |
23 | 23 | "cssOutput" => [ |
24 | | - ["rule", ".template-home-page-logo", "box-sizing:border-box;display:inline-block;overflow:hidden;font-size:0;"], |
| 24 | + ["rule", ".template-home-page-logo", "box-sizing:border-box;overflow:hidden;font-size:0;"], |
25 | 25 | ["selector", ".template-home-page-logo"] |
26 | 26 | ] |
27 | 27 | ]); |
|
51 | 51 | ]) |
52 | 52 | ->addOption("homePageTitleCSS", "css", "", [ |
53 | 53 | "cssOutput" => [ |
54 | | - ["rule", ".template-home-page-title", "display:inline-block;text-decoration:none;"], |
| 54 | + ["rule", ".template-home-page-title", "box-sizing:border-box;display:inline-block;text-decoration:none;"], |
55 | 55 | ["selector", ".template-home-page-title"] |
56 | 56 | ] |
57 | 57 | ]); |
|
97 | 97 | ]); |
98 | 98 |
|
99 | 99 |
|
100 | | -$homePageContentGroup = $homePageGroup->addGroup(__("bearcms.themes.focus.options.Other content")); |
| 100 | +$homePageContentGroup = $homePageGroup->addGroup(__("bearcms.themes.focus.options.Content")); |
101 | 101 | $homePageContentGroup |
102 | 102 | ->addOption("homePageContentCSS", "css", "", [ |
103 | 103 | "cssTypes" => ["cssPadding", "cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize"], |
|
127 | 127 | ] |
128 | 128 | ]); |
129 | 129 |
|
130 | | -$otherPagesGroup = $schema->addGroup(__("bearcms.themes.focus.options.Other pages")); |
| 130 | +$pagesGroup = $schema->addGroup(__("bearcms.themes.focus.options.Other pages")); |
131 | 131 |
|
132 | | -$pageBackToHomeGroup = $otherPagesGroup->addGroup(__("bearcms.themes.focus.options.Back to home button")); |
| 132 | +$pageBackToHomeGroup = $pagesGroup->addGroup(__("bearcms.themes.focus.options.Back to home button")); |
133 | 133 | $pageBackToHomeGroup |
134 | 134 | ->addOption("pageBackToHomeButtonCSS", "css", "", [ |
135 | 135 | "cssTypes" => ["cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize"], |
|
149 | 149 | ] |
150 | 150 | ]); |
151 | 151 |
|
152 | | -$pageContentGroup = $otherPagesGroup->addGroup(__("bearcms.themes.focus.options.Content")); |
153 | | -$pageContentGroup |
| 152 | +$pagesGroup |
154 | 153 | ->addOption("pageContentCSS", "css", "", [ |
155 | 154 | "cssTypes" => ["cssPadding", "cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize"], |
156 | 155 | "cssOutput" => [ |
157 | 156 | ["rule", ".template-page-content", "box-sizing:border-box;"], |
158 | 157 | ["selector", ".template-page-content"] |
159 | 158 | ] |
160 | 159 | ]); |
161 | | -$pageContentGroup->addElementsGroup('pageContentElements', '.template-page-content'); |
162 | 160 |
|
163 | | -$pageContentElementsContainerGroup = $pageContentGroup->addGroup(__("bearcms.themes.focus.options.Container")); |
| 161 | +$pagesContentGroup = $pagesGroup->addGroup(__("bearcms.themes.focus.options.Content")); |
| 162 | + |
| 163 | +$pagesContentGroup->addElementsGroup('pageContentElements', '.template-page-content'); |
| 164 | +$pagesContentGroup->addPages(); |
| 165 | + |
| 166 | +$pageContentElementsContainerGroup = $pagesGroup->addGroup(__("bearcms.themes.focus.options.Container")); |
164 | 167 | $pageContentElementsContainerGroup |
165 | 168 | ->addOption("pageContentElementsContainerCSS", "css", "", [ |
166 | 169 | "cssTypes" => ["cssPadding", "cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize", "cssTextAlign"], |
|
179 | 182 | ] |
180 | 183 | ]); |
181 | 184 |
|
182 | | -$schema->addPagesGroup(); |
183 | 185 |
|
184 | 186 |
|
185 | 187 | return $schema; |
0 commit comments