1<?php
2/**
3 * DokuWiki Congrid Template: Default layout
4 *
5 * This default layout is used if no matching layout is found or if
6 * the JSON parsing of the layout failes. This should NOT be changed.
7 *
8 * @author  LarsDW223
9 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
10 */
11
12global $default_layout;
13
14$default_layout =
15'{
16    "layouts":
17    [
18        {
19            "select": [ "*" ],
20            "background":"cicada-stripes",
21            "top":"5vh",
22            "height":"90vh",
23            "grid-vert-space":"20",
24            "toc":"on-page",
25            "grid":
26            [
27                [ "title",      "title",      "title",       "content", "content", "content", "content", "content", "content", "space" ],
28                [ "title",      "title",      "title",       "content", "content", "content", "content", "content", "content", "space" ],
29                [ "breadcrumbs","breadcrumbs","breadcrumbs", "content", "content", "content", "content", "content", "content", "scroll-up-area"      ],
30                [ "breadcrumbs","breadcrumbs","breadcrumbs", "content", "content", "content", "content", "content", "content", "pagetools"      ],
31                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "pagetools"      ],
32                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "pagetools"      ],
33                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "pagetools"      ],
34                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "pagetools"      ],
35                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "pagetools"      ],
36                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "scroll-down-area" ],
37                [ "cont-side",  "cont-side",  "cont-side",   "content", "content", "content", "content", "content", "content", "space"          ],
38                [ "cont-tools", "cont-tools", "cont-tools",  "content", "content", "content", "content", "content", "content", "space"          ],
39                [ "cont-tools", "cont-tools", "cont-tools",  "content", "content", "content", "content", "content", "content", "space"          ],
40                [ "cont-tools", "cont-tools", "cont-tools",  "content", "content", "content", "content", "content", "content", "space"          ],
41                [ "footer",     "footer",     "footer",      "footer",  "footer",  "footer",  "footer",  "footer",  "footer",  "space"         ]
42            ],
43            "cells":
44            [
45                {
46                    "id":"default",
47                    "border":"semi-transparent",
48                    "corners":"round"
49                },
50                {
51                    "id":"pagetools",
52                    "list-type":"no-text",
53                    "border":"semi-transparent",
54                    "corners":"round",
55                    "css":
56                    {
57                        "opacity":"0.5"
58                    }
59                },
60                {
61                    "id":"cont-side",
62                    "flex":
63                    {
64                        "direction":"column"
65                    },
66                    "pages": ["sidebar"],
67                    "border":"semi-transparent",
68                    "corners":"round",
69                    "css":
70                    {
71                        "opacity":"0.75"
72                    }
73                },
74                {
75                    "id":"cont-tools",
76                    "flex":
77                    {
78                        "direction":"column"
79                    },
80                    "items": ["usertools", "sitetools"],
81                    "border":"semi-transparent",
82                    "corners":"round",
83                    "css":
84                    {
85                        "opacity":"0.75"
86                    }
87                },
88                {
89                    "id":"breadcrumbs",
90                    "css":
91                    {
92                        "padding":"0",
93                        "margin":"0",
94                        "opacity":"0.75"
95                    },
96                    "border":"semi-transparent",
97                    "items": ["trace", "youarehere"]
98                },
99                {
100                    "id":"trace"
101                },
102                {
103                    "id":"youarehere"
104                },
105                {
106                    "id":"scroll-up-area",
107                    "css":
108                    {
109                        "margin":"auto auto 10px auto",
110                        "opacity":"0.5",
111                        "height":"48px",
112                        "width":"48px"
113                    }
114                },
115                {
116                    "id":"scroll-down-area",
117                    "css":
118                    {
119                        "margin":"10px auto auto auto",
120                        "opacity":"0.5",
121                        "height":"48px",
122                        "width":"48px"
123                    }
124                },
125                {
126                    "id":"sitetools"
127                },
128                {
129                    "id":"usertools"
130                },
131                {
132                    "id":"title",
133                    "border":"semi-transparent",
134                    "flex":
135                    {
136                        "direction":"row"
137                    },
138                    "css":
139                    {
140                        "background-color":"MediumSeaGreen",
141                        "color":"white",
142                        "text-shadow":"-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000",
143                        "opacity":"0.85"
144                    }
145                },
146                {
147                    "id":"footer",
148                    "flex":
149                    {
150                        "direction":"column"
151                    },
152                    "border":"semi-transparent",
153                    "corners":"round",
154                    "css":
155                    {
156                        "margin":"auto 0",
157                        "font-size":"0.75em",
158                        "padding":"0.5em 2em",
159                        "text-align":"center",
160                        "opacity":"0.75"
161                    }
162                }
163            ]
164        }
165    ]
166}';
167