gnui 1.2.0 → 1.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/gnui.d.ts +9 -2
- package/README.md +0 -0
- package/assets/NotoSansKR-Black.otf +0 -0
- package/assets/NotoSansKR-Black.woff +0 -0
- package/assets/NotoSansKR-Black.woff2 +0 -0
- package/assets/NotoSansKR-Bold.otf +0 -0
- package/assets/NotoSansKR-Bold.woff +0 -0
- package/assets/NotoSansKR-Bold.woff2 +0 -0
- package/assets/NotoSansKR-DemiLight.otf +0 -0
- package/assets/NotoSansKR-DemiLight.woff +0 -0
- package/assets/NotoSansKR-DemiLight.woff2 +0 -0
- package/assets/NotoSansKR-Light.otf +0 -0
- package/assets/NotoSansKR-Light.woff +0 -0
- package/assets/NotoSansKR-Light.woff2 +0 -0
- package/assets/NotoSansKR-Medium.otf +0 -0
- package/assets/NotoSansKR-Medium.woff +0 -0
- package/assets/NotoSansKR-Medium.woff2 +0 -0
- package/assets/NotoSansKR-Regular.otf +0 -0
- package/assets/NotoSansKR-Regular.woff +0 -0
- package/assets/NotoSansKR-Regular.woff2 +0 -0
- package/assets/NotoSansKR-Thin.otf +0 -0
- package/assets/NotoSansKR-Thin.woff +0 -0
- package/assets/NotoSansKR-Thin.woff2 +0 -0
- package/assets/OFL.txt +0 -0
- package/assets/images/flags.png +0 -0
- package/package.json +20 -13
- package/dist/js/gnui.esm.js +0 -24295
- package/dist/js/gnui.js +0 -24303
- package/dist/js/gnui.min.js +0 -23
- package/dist/styles/default.css +0 -1
- package/dist/styles/gpi.css +0 -1
- package/dist/styles/green24.css +0 -1
- package/dist/styles/insights.css +0 -1
- package/dist/styles/nac.css +0 -1
- package/dist/styles/ztnac.css +0 -1
- package/styleguide/assets/components.js +0 -1732
- package/styleguide/assets/guide.js +0 -47
- package/styleguide/assets/image.png +0 -0
- package/styleguide/assets/okadia.css +0 -122
- package/styleguide/assets/theme.css +0 -564
- package/styleguide/category/COLOR/index.html +0 -156
- package/styleguide/category/COMPONENT/Alert(js)/index.html +0 -418
- package/styleguide/category/COMPONENT/Bignumber/index.html +0 -269
- package/styleguide/category/COMPONENT/Breadcrumb/index.html +0 -324
- package/styleguide/category/COMPONENT/Calendar(js)/index.html +0 -236
- package/styleguide/category/COMPONENT/Card/index.html +0 -184
- package/styleguide/category/COMPONENT/Chart(js)/index.html +0 -555
- package/styleguide/category/COMPONENT/Datagrid(js)/index.html +0 -693
- package/styleguide/category/COMPONENT/Datalist(js)/index.html +0 -471
- package/styleguide/category/COMPONENT/Growl(js)/index.html +0 -285
- package/styleguide/category/COMPONENT/JsonView(js)/index.html +0 -1127
- package/styleguide/category/COMPONENT/MenuButton(js)/index.html +0 -281
- package/styleguide/category/COMPONENT/Message(js)/index.html +0 -515
- package/styleguide/category/COMPONENT/Modal(js)/index.html +0 -444
- package/styleguide/category/COMPONENT/Pagination/index.html +0 -348
- package/styleguide/category/COMPONENT/Panel/index.html +0 -305
- package/styleguide/category/COMPONENT/Progressbar(js)/index.html +0 -313
- package/styleguide/category/COMPONENT/Tab(js)/index.html +0 -473
- package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +0 -260
- package/styleguide/category/COMPONENT/Tooltip(js)/index.html +0 -400
- package/styleguide/category/COMPONENT/Tree(js)/index.html +0 -404
- package/styleguide/category/CONTROLS/Button(js)/index.html +0 -455
- package/styleguide/category/CONTROLS/Checkbox/index.html +0 -194
- package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +0 -263
- package/styleguide/category/CONTROLS/Datepicker(js)/index.html +0 -292
- package/styleguide/category/CONTROLS/Dropdown(js)/index.html +0 -1062
- package/styleguide/category/CONTROLS/File/index.html +0 -312
- package/styleguide/category/CONTROLS/Form/Control/index.html +0 -227
- package/styleguide/category/CONTROLS/Form/Field/index.html +0 -254
- package/styleguide/category/CONTROLS/Form/Plain/index.html +0 -193
- package/styleguide/category/CONTROLS/Input/index.html +0 -330
- package/styleguide/category/CONTROLS/MultiText(js)/index.html +0 -273
- package/styleguide/category/CONTROLS/Picklist(js)/index.html +0 -723
- package/styleguide/category/CONTROLS/Radio/index.html +0 -197
- package/styleguide/category/CONTROLS/Select/index.html +0 -438
- package/styleguide/category/CONTROLS/SelectButton(js)/index.html +0 -291
- package/styleguide/category/CONTROLS/Slider/index.html +0 -189
- package/styleguide/category/CONTROLS/Switch(js)/index.html +0 -345
- package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +0 -480
- package/styleguide/category/CONTROLS/Textarea/index.html +0 -185
- package/styleguide/category/CONTROLS/Time(js)/index.html +0 -263
- package/styleguide/category/ELEMENTS/Box/index.html +0 -163
- package/styleguide/category/ELEMENTS/Icon/index.html +0 -305
- package/styleguide/category/ELEMENTS/Image/index.html +0 -209
- package/styleguide/category/ELEMENTS/List/index.html +0 -392
- package/styleguide/category/ELEMENTS/Table/index.html +0 -479
- package/styleguide/category/ELEMENTS/Tag/index.html +0 -251
- package/styleguide/category/ELEMENTS/Title/index.html +0 -182
- package/styleguide/category/LAYOUT/Container/index.html +0 -231
- package/styleguide/category/LAYOUT/Grid/index.html +0 -396
- package/styleguide/category/LAYOUT/Splitter(js)/index.html +0 -275
- package/styleguide/category/UTILITY/index.html +0 -365
- package/styleguide/category/Utils/index.html +0 -331
- package/styleguide/color.html +0 -169
- package/styleguide/index.html +0 -169
- package/styleguide/tag/javascript/index.html +0 -7197
- package/styleguide/tag/v.0.1.0/index.html +0 -11969
|
@@ -1,564 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR&display=swap');
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
---
|
|
5
|
-
name: Paragraph
|
|
6
|
-
category: body
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
```html
|
|
10
|
-
<p>
|
|
11
|
-
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
|
|
12
|
-
</p>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/*
|
|
18
|
-
---
|
|
19
|
-
name: Heading
|
|
20
|
-
category: body
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<h1>Heading1</h1>
|
|
25
|
-
<h2>Heading2</h2>
|
|
26
|
-
<h3>Heading3</h3>
|
|
27
|
-
<h4>Heading4</h4>
|
|
28
|
-
<h5>Heading5</h5>
|
|
29
|
-
<h6>Heading6</h6>
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
/*
|
|
35
|
-
---
|
|
36
|
-
name: Header
|
|
37
|
-
category: layout/header
|
|
38
|
-
tag:
|
|
39
|
-
- deprecated
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
```html
|
|
43
|
-
<header class="aigis-header">
|
|
44
|
-
<a href="#">Styleguide</a>
|
|
45
|
-
</header>
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
*/
|
|
49
|
-
.aigis-header {
|
|
50
|
-
position: fixed;
|
|
51
|
-
top: 0;
|
|
52
|
-
padding: 10px 30px;
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: 50px;
|
|
55
|
-
background-color: #486491;
|
|
56
|
-
z-index: 10000;
|
|
57
|
-
}
|
|
58
|
-
.aigis-header span a {
|
|
59
|
-
color: #fff;
|
|
60
|
-
font-size: 2.6em;
|
|
61
|
-
font-family: 'Noto Sans KR', 'Nanum Gothic';
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
line-height: 110%;
|
|
64
|
-
}
|
|
65
|
-
.aigis-header div {
|
|
66
|
-
float: right;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/*
|
|
70
|
-
---
|
|
71
|
-
name: Footer
|
|
72
|
-
category: layout/footer
|
|
73
|
-
tag: latest
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
```html
|
|
77
|
-
<footer class="aigis-footer">Last update at 2016/03/23 20:48</footer>
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
.aigis-footer {
|
|
82
|
-
padding-top: 2rem;
|
|
83
|
-
padding-bottom: 2rem;
|
|
84
|
-
margin-top: 2rem;
|
|
85
|
-
line-height: 1.75;
|
|
86
|
-
/* color: #7a7a7a; */
|
|
87
|
-
border-top: 1px solid #eee;
|
|
88
|
-
text-align: center;
|
|
89
|
-
font-size: 16px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/*
|
|
93
|
-
---
|
|
94
|
-
name: Preview
|
|
95
|
-
category: body
|
|
96
|
-
tag: latest
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
```html
|
|
100
|
-
<div class="aigis-preview">
|
|
101
|
-
<a class="ex-ag-btn">Button</a>
|
|
102
|
-
<button class="ex-ag-btn ex-ag-btn--primary">Button</button>
|
|
103
|
-
</div>
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
*/
|
|
107
|
-
.aigis-codeblock,
|
|
108
|
-
.aigis-preview {
|
|
109
|
-
position: relative;
|
|
110
|
-
margin: 0;
|
|
111
|
-
overflow: visible;
|
|
112
|
-
/* background: url( 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAF0lEQVR4AWP4DwVvoWCgBGAMmMQACQAAuK72AWHjK4wAAAAASUVORK5CYII=' ); */
|
|
113
|
-
}
|
|
114
|
-
.aigis-preview::before {
|
|
115
|
-
content: 'preview';
|
|
116
|
-
position: absolute;
|
|
117
|
-
right: 0;
|
|
118
|
-
top: 0;
|
|
119
|
-
font-size: 10px;
|
|
120
|
-
padding: 2px 4px 2px 5px;
|
|
121
|
-
border-bottom-left-radius: 3px;
|
|
122
|
-
color: #fff;
|
|
123
|
-
background: #181818;
|
|
124
|
-
}
|
|
125
|
-
.aigis-preview::after {
|
|
126
|
-
content: '';
|
|
127
|
-
clear: both;
|
|
128
|
-
display: block;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.ex-ag-btn {
|
|
132
|
-
-webkit-appearance: none;
|
|
133
|
-
display: inline-block;
|
|
134
|
-
border: none;
|
|
135
|
-
background-color: #3db680;
|
|
136
|
-
color: #fff;
|
|
137
|
-
padding: 10px 20px;
|
|
138
|
-
text-align: center;
|
|
139
|
-
line-height: 40px;
|
|
140
|
-
min-width: 200px;
|
|
141
|
-
font-size: 20px;
|
|
142
|
-
box-sizing: border-box;
|
|
143
|
-
}
|
|
144
|
-
.ex-ag-btn--primary {
|
|
145
|
-
color: black;
|
|
146
|
-
background-color: #ffea3a;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/*
|
|
150
|
-
---
|
|
151
|
-
name: Codeblock
|
|
152
|
-
category: body
|
|
153
|
-
tag: latest
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
```html
|
|
157
|
-
<pre><code class="lang-html"><pre class="editor editor-colors"><div class="line"><span class="text html gohtml"><span class="meta tag block any html"><span class="punctuation definition tag begin html"><span><</span></span><span class="entity name tag block any html"><span>div</span></span><span> </span><span class="entity other attribute-name html"><span>class</span></span><span>=</span><span class="string quoted double html"><span class="punctuation definition string begin html"><span>"</span></span><span>aigis-header</span><span class="punctuation definition string end html"><span>"</span></span></span><span class="punctuation definition tag end html"><span>></span></span></span></span></div><div class="line"><span class="text html gohtml"><span> hoge</span></span></div><div class="line"><span class="text html gohtml"><span class="meta tag block any html"><span class="punctuation definition tag begin html"><span></</span></span><span class="entity name tag block any html"><span>div</span></span><span class="punctuation definition tag end html"><span>></span></span></span></span></div></pre>
|
|
158
|
-
</code></pre>
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
*/
|
|
162
|
-
.aigis-module pre:not([aria-hidden='true']) {
|
|
163
|
-
background-color: #272822;
|
|
164
|
-
color: #f8f8f2;
|
|
165
|
-
font-size: 14px;
|
|
166
|
-
position: relative;
|
|
167
|
-
padding: 0.5em;
|
|
168
|
-
border-radius: 3px;
|
|
169
|
-
margin: 0 auto 3em;
|
|
170
|
-
border: 1px solid #a0a0a0;
|
|
171
|
-
max-height: 300px;
|
|
172
|
-
overflow: auto;
|
|
173
|
-
}
|
|
174
|
-
.aigis-module pre + pre {
|
|
175
|
-
margin-top: -3em;
|
|
176
|
-
margin-bottom: 3em;
|
|
177
|
-
}
|
|
178
|
-
.aigis-module > ul:not([class]) {
|
|
179
|
-
list-style: disc;
|
|
180
|
-
margin: 10px 30px;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.aigis-preview {
|
|
184
|
-
border: 1px solid #a0a0a0;
|
|
185
|
-
border-radius: 3px;
|
|
186
|
-
border-radius: 3px 3px 0 0;
|
|
187
|
-
padding: 20px 10px;
|
|
188
|
-
padding: 16px;
|
|
189
|
-
margin: 0;
|
|
190
|
-
margin-top: 10px;
|
|
191
|
-
}
|
|
192
|
-
.aigis-preview p + p {
|
|
193
|
-
margin-top: 10px;
|
|
194
|
-
}
|
|
195
|
-
.aigis-preview + pre {
|
|
196
|
-
position: relative;
|
|
197
|
-
border-radius: 0 0 3px 3px;
|
|
198
|
-
border-top: none;
|
|
199
|
-
margin-top: 0;
|
|
200
|
-
height: auto;
|
|
201
|
-
overflow-x: auto;
|
|
202
|
-
}
|
|
203
|
-
.aigis-module.Chart .aigis-preview {
|
|
204
|
-
display: block;
|
|
205
|
-
}
|
|
206
|
-
.aigis-module.Chart .aigis-preview > div,
|
|
207
|
-
.aigis-module.Chart table,
|
|
208
|
-
.aigis-module.Chart table + pre,
|
|
209
|
-
.aigis-module.Chart pre + pre {
|
|
210
|
-
display: inline-block;
|
|
211
|
-
width: 49%;
|
|
212
|
-
margin-right: 5px;
|
|
213
|
-
vertical-align: middle;
|
|
214
|
-
}
|
|
215
|
-
.aigis-module.JsonView table:not(:last-of-type) td > pre {
|
|
216
|
-
max-width: 270px;
|
|
217
|
-
}
|
|
218
|
-
/*
|
|
219
|
-
---
|
|
220
|
-
name: Sidemenu
|
|
221
|
-
category: layout/sidemenu
|
|
222
|
-
tag: latest
|
|
223
|
-
---
|
|
224
|
-
|
|
225
|
-
```html
|
|
226
|
-
<div class="aigis-sidemenu">
|
|
227
|
-
<header class="aigis-header">
|
|
228
|
-
<a href="../../index.html">Styleguide</a>
|
|
229
|
-
</header>
|
|
230
|
-
<h2 class="aigis-sidemenu__heading">Category</h2>
|
|
231
|
-
<nav class="aigis-categoryList">
|
|
232
|
-
|
|
233
|
-
</nav>
|
|
234
|
-
<h2 class="aigis-sidemenu__heading">Tag</h2>
|
|
235
|
-
<nav class="aigis-tags aigis-tagList">
|
|
236
|
-
|
|
237
|
-
</nav>
|
|
238
|
-
<h2 class="aigis-sidemenu__heading"><a href="../../color.html">All Colors</a></h2>
|
|
239
|
-
</div>
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
*/
|
|
243
|
-
.aigis-sidemenu {
|
|
244
|
-
position: fixed;
|
|
245
|
-
top: 50px;
|
|
246
|
-
bottom: 0;
|
|
247
|
-
left: 0;
|
|
248
|
-
padding-top: 20px;
|
|
249
|
-
padding-bottom: 20px;
|
|
250
|
-
width: 280px;
|
|
251
|
-
border-right: 1px solid #d4dbe4;
|
|
252
|
-
box-sizing: border-box;
|
|
253
|
-
background-color: #fff;
|
|
254
|
-
color: #33331a;
|
|
255
|
-
-ms-overflow-style: none;
|
|
256
|
-
overflow-x: auto;
|
|
257
|
-
}
|
|
258
|
-
.aigis-sidemenu::-webkit-scrollbar {
|
|
259
|
-
display: none;
|
|
260
|
-
}
|
|
261
|
-
.aigis-sidemenu__heading {
|
|
262
|
-
font-size: 30px;
|
|
263
|
-
margin: 12px 0;
|
|
264
|
-
color: #33331a;
|
|
265
|
-
font-weight: normal;
|
|
266
|
-
padding-left: 10px;
|
|
267
|
-
line-height: 1em;
|
|
268
|
-
}
|
|
269
|
-
.aigis-sidemenu__heading a {
|
|
270
|
-
color: inherit;
|
|
271
|
-
text-decoration: none;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.aigis-preview .aigis-sidemenu {
|
|
275
|
-
position: relative;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/*
|
|
279
|
-
---
|
|
280
|
-
name: Category list
|
|
281
|
-
category: layout/sidemenu
|
|
282
|
-
tag: latest
|
|
283
|
-
---
|
|
284
|
-
|
|
285
|
-
```html
|
|
286
|
-
<h2 class="aigis-sidemenu__heading">Category</h2>
|
|
287
|
-
<nav class="aigis-categoryList">
|
|
288
|
-
<ul data-path-depth="0">
|
|
289
|
-
<li data-path-depth="0">body</li>
|
|
290
|
-
<li data-path-depth="0"><a href="#">layout</a>
|
|
291
|
-
<ul data-path-depth="1">
|
|
292
|
-
<li data-path-depth="1"><a href="#">sidemenu</a></li>
|
|
293
|
-
</ul>
|
|
294
|
-
</li>
|
|
295
|
-
</ul>
|
|
296
|
-
</nav>
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
*/
|
|
300
|
-
.aigis-categoryList ul li {
|
|
301
|
-
padding: 3px 10px;
|
|
302
|
-
font-size: 14px;
|
|
303
|
-
list-style: none;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.aigis-categoryList li a {
|
|
307
|
-
display: block;
|
|
308
|
-
position: relative;
|
|
309
|
-
padding: 3px 10px 3px 10px;
|
|
310
|
-
color: #454545;
|
|
311
|
-
text-overflow: ellipsis;
|
|
312
|
-
overflow: hidden;
|
|
313
|
-
white-space: nowrap;
|
|
314
|
-
border-radius: 0px;
|
|
315
|
-
outline: none;
|
|
316
|
-
text-decoration: none;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.aigis-categoryList li:hover a[href]:hover {
|
|
320
|
-
text-decoration: underline;
|
|
321
|
-
color: #2a436b;
|
|
322
|
-
}
|
|
323
|
-
.aigis-categoryList li[data-path-depth] a:before {
|
|
324
|
-
content: '';
|
|
325
|
-
margin-right: 10px;
|
|
326
|
-
}
|
|
327
|
-
.aigis-categoryList li[data-path-depth='1'] a:before {
|
|
328
|
-
margin-left: 1em;
|
|
329
|
-
}
|
|
330
|
-
.aigis-categoryList li[data-path-depth='2'] a:before {
|
|
331
|
-
margin-left: 2em;
|
|
332
|
-
}
|
|
333
|
-
.aigis-categoryList li[data-path-depth='3'] a:before {
|
|
334
|
-
margin-left: 3em;
|
|
335
|
-
}
|
|
336
|
-
.aigis-categoryList li[data-path-depth='4'] a:before {
|
|
337
|
-
margin-left: 4em;
|
|
338
|
-
}
|
|
339
|
-
.aigis-categoryList li[data-path-depth] [data-tree-current],
|
|
340
|
-
.aigis-categoryList .current > a {
|
|
341
|
-
background-color: #d2d2d2;
|
|
342
|
-
color: #004ba9 !important;
|
|
343
|
-
text-decoration: none !important;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/*
|
|
347
|
-
---
|
|
348
|
-
name: Tag list
|
|
349
|
-
category: layout/sidemenu
|
|
350
|
-
tag: latest
|
|
351
|
-
---
|
|
352
|
-
|
|
353
|
-
```html
|
|
354
|
-
<nav class="aigis-tags aigis-tagList">
|
|
355
|
-
<a class="aigis-tags__item aigis-tags__item--deprecated" href="#">deprecated</a>
|
|
356
|
-
<a class="aigis-tags__item aigis-tags__item--latest" href="#">latest</a>
|
|
357
|
-
</nav>
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
*/
|
|
361
|
-
.aigis-tags {
|
|
362
|
-
padding: 10px;
|
|
363
|
-
padding-left: 0;
|
|
364
|
-
margin: 0;
|
|
365
|
-
}
|
|
366
|
-
/*
|
|
367
|
-
---
|
|
368
|
-
name: Module list
|
|
369
|
-
category: body
|
|
370
|
-
tag: latest
|
|
371
|
-
---
|
|
372
|
-
|
|
373
|
-
```html
|
|
374
|
-
<nav>
|
|
375
|
-
<h2 class="aigis-module__heading">Modules</h2>
|
|
376
|
-
<ul class="aigis-moduleList">
|
|
377
|
-
<li class="aigis-moduleList__item">
|
|
378
|
-
<a href="#header">header</a>
|
|
379
|
-
</li>
|
|
380
|
-
<li class="aigis-moduleList__item">
|
|
381
|
-
<a href="#sidemenu">sidemenu</a>
|
|
382
|
-
</li>
|
|
383
|
-
<li class="aigis-moduleList__item">
|
|
384
|
-
<a href="#category list">category list</a>
|
|
385
|
-
</li>
|
|
386
|
-
<li class="aigis-moduleList__item">
|
|
387
|
-
<a href="#tags">tags</a>
|
|
388
|
-
</li>
|
|
389
|
-
</ul>
|
|
390
|
-
</nav>
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
*/
|
|
394
|
-
.aigis-moduleList {
|
|
395
|
-
line-height: 1.6;
|
|
396
|
-
font-size: 16px;
|
|
397
|
-
}
|
|
398
|
-
.aigis-moduleList__item a {
|
|
399
|
-
color: #08f;
|
|
400
|
-
text-decoration: none;
|
|
401
|
-
}
|
|
402
|
-
.aigis-moduleList__item a:hover {
|
|
403
|
-
text-decoration: underline;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.aigis-module__heading {
|
|
407
|
-
padding-bottom: 0.3em;
|
|
408
|
-
font-size: 1.75em;
|
|
409
|
-
line-height: 1.225;
|
|
410
|
-
border-bottom: 1px solid #eee;
|
|
411
|
-
position: relative;
|
|
412
|
-
}
|
|
413
|
-
.aigis-module__heading:hover a {
|
|
414
|
-
position: relative;
|
|
415
|
-
}
|
|
416
|
-
.aigis-module__heading:hover a:before {
|
|
417
|
-
content: '\00a7';
|
|
418
|
-
position: absolute;
|
|
419
|
-
right: 100%;
|
|
420
|
-
bottom: 5px;
|
|
421
|
-
font-size: 20px;
|
|
422
|
-
color: #000;
|
|
423
|
-
padding-right: 5px;
|
|
424
|
-
padding-left: 5px;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/*
|
|
428
|
-
---
|
|
429
|
-
name: File path
|
|
430
|
-
category: body
|
|
431
|
-
---
|
|
432
|
-
|
|
433
|
-
```html
|
|
434
|
-
<div class="aigis-module__filepath">
|
|
435
|
-
/aigis_assets/css/theme.css
|
|
436
|
-
</div>
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
*/
|
|
440
|
-
|
|
441
|
-
.aigis-module__filepath {
|
|
442
|
-
display: block;
|
|
443
|
-
text-align: right;
|
|
444
|
-
font-size: 12px;
|
|
445
|
-
color: #adadad;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/*
|
|
449
|
-
---
|
|
450
|
-
name: Color palette
|
|
451
|
-
category: layout/special
|
|
452
|
-
tag: special
|
|
453
|
-
---
|
|
454
|
-
|
|
455
|
-
```html
|
|
456
|
-
<div class="aigis-contents__body">
|
|
457
|
-
<h2 class="aigis-module__heading">colors</h2>
|
|
458
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #428b1c;"></div><div class="aigis-colorPalette__label">#428b1c</div></div>
|
|
459
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #55b5db;"></div><div class="aigis-colorPalette__label">#55b5db</div></div>
|
|
460
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #5B594B;"></div><div class="aigis-colorPalette__label">#5B594B</div></div>
|
|
461
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #6272a4;"></div><div class="aigis-colorPalette__label">#6272a4</div></div>
|
|
462
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #666;"></div><div class="aigis-colorPalette__label">#666</div></div>
|
|
463
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #66d9ef;"></div><div class="aigis-colorPalette__label">#66d9ef</div></div>
|
|
464
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #66D9EF;"></div><div class="aigis-colorPalette__label">#66D9EF</div></div>
|
|
465
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #6be5fd;"></div><div class="aigis-colorPalette__label">#6be5fd</div></div>
|
|
466
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #728fcb;"></div><div class="aigis-colorPalette__label">#728fcb</div></div>
|
|
467
|
-
<div class="aigis-colorPalette"><div class="aigis-colorPalette__color" style="background-color: #75715E;"></div><div class="aigis-colorPalette__label">#75715E</div></div>
|
|
468
|
-
</div>
|
|
469
|
-
```
|
|
470
|
-
|
|
471
|
-
*/
|
|
472
|
-
.aigis-colorPalette {
|
|
473
|
-
margin-top: 5px;
|
|
474
|
-
}
|
|
475
|
-
.aigis-colorPalette__color {
|
|
476
|
-
display: inline-block;
|
|
477
|
-
vertical-align: middle;
|
|
478
|
-
height: 40px;
|
|
479
|
-
width: 50%;
|
|
480
|
-
margin-right: 5px;
|
|
481
|
-
}
|
|
482
|
-
.aigis-colorPalette__label {
|
|
483
|
-
display: inline-block;
|
|
484
|
-
vertical-align: middle;
|
|
485
|
-
line-height: 40px;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
body {
|
|
489
|
-
margin: 0;
|
|
490
|
-
padding: 0;
|
|
491
|
-
font-size: 1rem;
|
|
492
|
-
font-family:
|
|
493
|
-
BlinkMacSystemFont,
|
|
494
|
-
-apple-system,
|
|
495
|
-
Dhurjati 'Nanum Gothic' 'Segoe UI',
|
|
496
|
-
'Roboto',
|
|
497
|
-
'Oxygen',
|
|
498
|
-
'Ubuntu',
|
|
499
|
-
'Cantarell',
|
|
500
|
-
'Fira Sans',
|
|
501
|
-
'Droid Sans',
|
|
502
|
-
'Helvetica Neue',
|
|
503
|
-
'Helvetica',
|
|
504
|
-
'Arial',
|
|
505
|
-
sans-serif;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.aigis-module > ul code,
|
|
509
|
-
.aigis-module > p code,
|
|
510
|
-
.aigis-contents__body > ul code,
|
|
511
|
-
.aigis-contents__body > p code,
|
|
512
|
-
.aigis-contents__body > h2 code,
|
|
513
|
-
.aigis-contents__body > h3 code {
|
|
514
|
-
color: #666;
|
|
515
|
-
background-color: #f7f7f7;
|
|
516
|
-
padding: 0 3px;
|
|
517
|
-
font-size: 1.2em;
|
|
518
|
-
border-radius: 3px;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.aigis-container {
|
|
522
|
-
box-sizing: border-box;
|
|
523
|
-
width: auto;
|
|
524
|
-
min-width: 960px;
|
|
525
|
-
margin-right: auto;
|
|
526
|
-
}
|
|
527
|
-
.aigis-container:after {
|
|
528
|
-
content: '';
|
|
529
|
-
display: table;
|
|
530
|
-
clear: both;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.aigis-contents {
|
|
534
|
-
box-sizing: border-box;
|
|
535
|
-
padding-right: 10px;
|
|
536
|
-
padding-left: 280px;
|
|
537
|
-
padding-top: 50px;
|
|
538
|
-
margin: 0 auto;
|
|
539
|
-
/* font-size: 18px; */
|
|
540
|
-
}
|
|
541
|
-
.aigis-contents__body {
|
|
542
|
-
/* color: #33331a; */
|
|
543
|
-
max-width: 960px;
|
|
544
|
-
min-width: 600px;
|
|
545
|
-
padding: 20px 20px;
|
|
546
|
-
margin: 0 auto;
|
|
547
|
-
}
|
|
548
|
-
.aigis-contents__body > p {
|
|
549
|
-
margin-bottom: 1em;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/*
|
|
553
|
-
main
|
|
554
|
-
*/
|
|
555
|
-
.aigis-main-page {
|
|
556
|
-
padding: 10px;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/*
|
|
560
|
-
components
|
|
561
|
-
*/
|
|
562
|
-
.aigis-contents .type-checkbox {
|
|
563
|
-
height: 215px;
|
|
564
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width" />
|
|
6
|
-
<link href="../../../dist/styles/default.css" rel="stylesheet" id="ThemeFile" />
|
|
7
|
-
<link href="../../assets/okadia.css" rel="stylesheet" />
|
|
8
|
-
<link href="../../assets/theme.css" rel="stylesheet" />
|
|
9
|
-
<link
|
|
10
|
-
rel="stylesheet"
|
|
11
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
|
|
12
|
-
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
|
|
13
|
-
crossorigin="anonymous"
|
|
14
|
-
/>
|
|
15
|
-
<link href="https://fonts.googleapis.com/css?family=Squada+One&display=swap" rel="stylesheet" />
|
|
16
|
-
<script src="../../assets/components.js"></script>
|
|
17
|
-
<script src="../../../dist/js/gnui.js"></script>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<div class="aigis-container">
|
|
21
|
-
<header class="aigis-header gn-gcolor is-primary">
|
|
22
|
-
<span><a href="../../index.html" class="main-link" style="font-family: 'Squada One', cursive">GNUI</a></span>
|
|
23
|
-
<span class="has-text-invert" style="font-size: 1em; padding-left: 10px">Start your next web project with GNUI.</span>
|
|
24
|
-
<div class="gn-select is-medium">
|
|
25
|
-
<select id="ThemeSelector">
|
|
26
|
-
|
|
27
|
-
<option value="default">default</option>
|
|
28
|
-
|
|
29
|
-
<option value="nac">nac</option>
|
|
30
|
-
|
|
31
|
-
<option value="insights">insights</option>
|
|
32
|
-
|
|
33
|
-
<option value="gpi">gpi</option>
|
|
34
|
-
|
|
35
|
-
<option value="ztnac">ztnac</option>
|
|
36
|
-
|
|
37
|
-
<option value="green24">green24</option>
|
|
38
|
-
|
|
39
|
-
</select>
|
|
40
|
-
</div>
|
|
41
|
-
<div>
|
|
42
|
-
<a class="gn-button is-primary util-link" href="../../category/Utils/index.html">
|
|
43
|
-
<span class="gn-icon is-small">
|
|
44
|
-
<i class="fas fa-tools"></i>
|
|
45
|
-
</span>
|
|
46
|
-
Gn.util
|
|
47
|
-
</a>
|
|
48
|
-
</div>
|
|
49
|
-
</header>
|
|
50
|
-
<div class="aigis-sidemenu">
|
|
51
|
-
<nav class="gn-tree is-borderless is-large left-menu"></nav>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
<script>
|
|
55
|
-
window.Gn = window.gnui;
|
|
56
|
-
|
|
57
|
-
Gn.ready(function () {
|
|
58
|
-
var leftMenu = setTree('COLOR,COMPONENT/Alert(js),COMPONENT/Bignumber,COMPONENT/Breadcrumb,COMPONENT/Calendar(js),COMPONENT/Card,COMPONENT/Chart(js),COMPONENT/Datagrid(js),COMPONENT/Datalist(js),COMPONENT/Growl(js),COMPONENT/JsonView(js),COMPONENT/MenuButton(js),COMPONENT/Message(js),COMPONENT/Modal(js),COMPONENT/Pagination,COMPONENT/Panel,COMPONENT/Progressbar(js),COMPONENT/Tab(js),COMPONENT/Tagcloud(js),COMPONENT/Tooltip(js),COMPONENT/Tree(js),CONTROLS/Button(js),CONTROLS/Checkbox,CONTROLS/Colorpicker(js),CONTROLS/Datepicker(js),CONTROLS/Dropdown(js),CONTROLS/File,CONTROLS/Form/Control,CONTROLS/Form/Field,CONTROLS/Form/Plain,CONTROLS/Input,CONTROLS/MultiText(js),CONTROLS/Picklist(js),CONTROLS/Radio,CONTROLS/Select,CONTROLS/SelectButton(js),CONTROLS/Slider,CONTROLS/Switch(js),CONTROLS/SyntaxInput(js),CONTROLS/Textarea,CONTROLS/Time(js),ELEMENTS/Box,ELEMENTS/Icon,ELEMENTS/Image,ELEMENTS/List,ELEMENTS/Table,ELEMENTS/Tag,ELEMENTS/Title,LAYOUT/Container,LAYOUT/Grid,LAYOUT/Splitter(js),UTILITY,Utils'.split(','));
|
|
59
|
-
var jsComps = ''.split(',');
|
|
60
|
-
delete leftMenu.Utils;
|
|
61
|
-
Gn.util.append('.left-menu', renderTree(leftMenu));
|
|
62
|
-
Gn.util.scrollIntoView(Gn.util.$('.tree-item.is-active'), 300);
|
|
63
|
-
|
|
64
|
-
function renderTree(menus) {
|
|
65
|
-
var $depths = Gn.util.$('<ul></ul>');
|
|
66
|
-
Gn.util.each(menus, function (child, menu) {
|
|
67
|
-
if (Gn.util.isString(child)) {
|
|
68
|
-
Gn.util.append($depths, renderMenu(menu, '../../category/' + child + '/index.html', location.href.indexOf(child + '/') > -1));
|
|
69
|
-
} else {
|
|
70
|
-
var $_depth = renderMenu(menu, '');
|
|
71
|
-
Gn.util.append($_depth, renderTree(child));
|
|
72
|
-
Gn.util.append($depths, $_depth);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
return $depths;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function renderMenu(name, link, isActive) {
|
|
79
|
-
var $_menu;
|
|
80
|
-
if (link === '') {
|
|
81
|
-
$_menu = Gn.util.$('<li>' + name + '</li>');
|
|
82
|
-
} else {
|
|
83
|
-
var menuClass = isActive ? ' is-active' : '';
|
|
84
|
-
$_menu = Gn.util.$('<li><a href="' + link + '"><div class="tree-item' + menuClass + '">' + name.split('(js)').join('') + '</a></div></li>');
|
|
85
|
-
}
|
|
86
|
-
if (name.indexOf('(js)') > 0) {
|
|
87
|
-
Gn.util.append(Gn.util.find('.tree-item', $_menu), Gn.util.$('<span class="gn-tag is-small is-info-light">JS</span>'));
|
|
88
|
-
}
|
|
89
|
-
return $_menu;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
function setTree(categorys) {
|
|
93
|
-
var menus = {};
|
|
94
|
-
|
|
95
|
-
categorys.forEach(function (category) {
|
|
96
|
-
parseTree(menus, category.split('/'), category);
|
|
97
|
-
});
|
|
98
|
-
return menus;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
function parseTree(parents, child, catgry) {
|
|
102
|
-
var _depth = child.shift();
|
|
103
|
-
if (parents[_depth] === undefined) {
|
|
104
|
-
parents[_depth] = {};
|
|
105
|
-
}
|
|
106
|
-
if (child.length === 1) {
|
|
107
|
-
parents[_depth][child] = catgry;
|
|
108
|
-
} else if (child.length > 1) {
|
|
109
|
-
parseTree(parents[_depth], child, catgry);
|
|
110
|
-
} else {
|
|
111
|
-
parents[_depth] = catgry;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
</script>
|
|
116
|
-
|
|
117
|
-
<div class="aigis-contents">
|
|
118
|
-
<div class="aigis-contents__body">
|
|
119
|
-
|
|
120
|
-
<div>
|
|
121
|
-
|
|
122
|
-
<div class="aigis-module COLOR">
|
|
123
|
-
<h2 class="aigis-module__heading" id="COLOR">COLOR</h2>
|
|
124
|
-
<div class="aigis-module__filepath">/scss/components/color.scss</div>
|
|
125
|
-
<div class="aigis-tags">
|
|
126
|
-
|
|
127
|
-
</div>
|
|
128
|
-
<h3 id="-">색 시스템</h3>
|
|
129
|
-
<ul>
|
|
130
|
-
<li>주색 (Primary Color), 보조색 (Secondary Color), 단색 (Mono) 사용</li>
|
|
131
|
-
<li>강조할 때(Accent)와 구분할 때 (Visual Hierarchy) 사용 - 이외의 색은 임의로 사용하지 않는다. 쫌</li>
|
|
132
|
-
</ul>
|
|
133
|
-
<div class="gn-box">
|
|
134
|
-
<div class="gn-gcolor is-primary">
|
|
135
|
-
주색 (is-primary)
|
|
136
|
-
</div>
|
|
137
|
-
<div class="gn-gcolor is-secondary">
|
|
138
|
-
보조색 (is-secondary)
|
|
139
|
-
</div>
|
|
140
|
-
<div class="gn-gcolor is-mono">
|
|
141
|
-
단색 (is-mono)
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
|
|
145
|
-
</div>
|
|
146
|
-
|
|
147
|
-
</div>
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
<footer class="aigis-footer">Last update at 2024/04/15 13:52</footer>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
<script src="../../assets/guide.js"></script>
|
|
155
|
-
</body>
|
|
156
|
-
</html>
|