-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoczrc.js
More file actions
132 lines (116 loc) · 3.05 KB
/
doczrc.js
File metadata and controls
132 lines (116 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
import pkg from './package.json';
// Only major and minor;
let version = pkg.version.split(".");
version = `${version[0]}.${version[1]}`;
export default {
title: 'Reactware',
description: 'Reactware is an open source toolkit for developing desktop PWA with HTML, CSS, and JS',
dest: `./docs/v${version}`,
src: './src',
base: `/v${version}/`,
hashRouter: true,
wrapper: undefined,
indexHtml: '',
themeConfig: {
showPlaygroundEditor: true,
},
htmlContext: {
head: {
links: [
{
rel: 'stylesheet',
href: '.docz/public/index.css',
},
{
rel: 'stylesheet',
href: 'https://codemirror.net/theme/eclipse.css'
}
],
raw: [`
<style>
.Rw_Layouts_Flex > div > div {
border: 1px solid #ced4dd;
margin-right: 15px;
padding: 10px;
border-radius: 1px;
text-align:center;
background: #eef1f5
}
.Rw_Layouts_Grid > div,
.Rw_Layouts_Grid > div > div > div {
grid-gap: 16px;
}
.Rw_Layouts_Grid > div > div,
.Rw_Layouts_Grid > div > div > div > div {
border: 1px solid #ced4dd;
padding: 10px;
text-align: center;
background: #eef1f5
}
.Rw_Layouts_Grid_Alignments > div > div {
height: 75px;
}
.Rw_Layouts_Grid_Alignments > div > div > div {
border: 1px dotted silver;
}
.Rw_Layouts_Absolute {
height: 150px;
}
.Rw_Layouts_Absolute > div {
border: 1px solid #ced4dd;
padding: 10px;
background: #eef1f5
}
.Rw_Layouts_Absolute > div > div {
border: 1px solid #ced4dd;
padding: 10px;
background: #d7d9de;
}
.Rw_Layouts_Fixed {
height: 215px;
}
.Rw_Layouts_Fixed iframe {
width: 100%;
border: none;
top: 0;
left: 0px;
position: absolute;
height: 215px;
}
.Rw_Utils_Frame iframe {
border: 1px dotted #ced4dd;
}
.Rw_UI_Tooltip {
padding: 25px;
text-align: center;
}
.Rw_UI_Tooltip > span > div {
display: block;
position: relative;
height: 73px;
width: 96px;
border: 1px dotted gray;
border-radius: 3px;
}
.Rw_UI_Tooltip > span > div:after {
content: "Hover Me";
top: 0;
left: 0;
right: 0;
bottom: 0px;
padding-top: 35%;
display: block;
position: absolute;
color: gray;
}
.Rw_UI_Tooltip_long {
padding-top: 5em !important;
}
.dark_theme {
background: #535353
}
</style>
`],
},
},
};