-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframework-css.html
490 lines (452 loc) · 19.1 KB
/
framework-css.html
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Test Site · A website for testing</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="A website for testing"/><meta name="docsearch:language" content="en"/><meta property="og:title" content="Test Site · A website for testing"/><meta property="og:type" content="website"/><meta property="og:url" content="https://SLedunois.github.io/test-documentation/"/><meta property="og:description" content="A website for testing"/><meta property="og:image" content="https://SLedunois.github.io/test-documentation/img/undraw_online.svg"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://SLedunois.github.io/test-documentation/img/undraw_tweetstorm.svg"/><link rel="shortcut icon" href="/test-documentation/img/favicon.ico"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="alternate" type="application/atom+xml" href="https://SLedunois.github.io/test-documentation/blog/atom.xml" title="Test Site Blog ATOM Feed"/><link rel="alternate" type="application/rss+xml" href="https://SLedunois.github.io/test-documentation/blog/feed.xml" title="Test Site Blog RSS Feed"/><script type="text/javascript" src="https://buttons.github.io/buttons.js"></script><script src="/test-documentation/js/scrollSpy.js"></script><link rel="stylesheet" href="/test-documentation/css/main.css"/><script src="/test-documentation/js/codetabs.js"></script></head><body><div class="fixedHeaderContainer"><div class="headerWrapper wrapper"><header><a href="/test-documentation/"><img class="logo" src="/test-documentation/img/favicon.ico" alt="Test Site"/><h2 class="headerTitleWithLogo">Test Site</h2></a><div class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul class="nav-site nav-site-internal"><li class=""><a href="/test-documentation/docs/SUMMARY" target="_self">Docs</a></li><li class=""><a href="/test-documentation/help" target="_self">Help</a></li><li class=""><a href="/test-documentation/blog/" target="_self">Blog</a></li><li class="siteNavItemActive"><a href="/test-documentation/framework-css" target="_self">Documentation CSS</a></li></ul></nav></div></header></div></div><div class="navPusher"><div><!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<script src="highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<style>
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype');
}
* {
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
line-height: 1.8;
margin: 0;
display: flex;
color: #002D38;
}
.container {
width: calc(100% - 300px);
margin: 50px 50px 50px 350px;
}
.container__title {
margin: -50px -50px 50px -50px;
color: white;
font-size: 50px;
text-align: center;
padding: 150px 50px;
background-color: #4bafd5;
background-image: url(../framework-css/images/bg.svg);
text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}
.container img {
border: 1px solid #ccc;
}
.container a {
color: #4bafd5;
}
h1 {
font-size: 40px;
color: #4bafd5;
}
h1::after {
content: "";
border-top: 1px solid #4bafd5;
display: block;
margin-top: -30px;
}
h1 span {
background-color: white;
padding-right: 10px;
}
h2 {
font-size: 30px;
margin-top: 50px;
}
img {
max-width: 100%;
}
table {
border: 1px solid #ccc;
border-collapse: collapse;
}
table.full {
width: 100%;
}
table th {
background-color: #4bafd5;
padding: 25px;
}
table th + th {
border-left: 1px solid #2d98c0;
}
table tr + tr {
border-top: 1px solid #ccc;
}
table tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
table td {
padding: 10px 20px;
}
table td + td {
border-left: 1px solid #ccc;
}
table td:first-of-type {
font-weight: bold;
}
table td img {
border: none!important;
color: #ddd;
vertical-align: middle;
}
.logo {
padding: 35px 0 0 25px;
}
nav {
height: 100vh;
overflow-y: auto;
position: fixed;
background-color: #F2F2F2;
box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.35);
width: 300px;
z-index: 1000;
}
nav a {
display: block;
padding: 10px 25px;
color: #555;
text-decoration: none;
}
nav a:first-child {
margin-top: 25px;
color: #333;
}
nav a:not(:first-child) {
padding-left: 50px;
}
nav a:hover {
color: white;
background-color: #4bafd5;
}
nav strong {
font-size: 20px;
}
iframe {
width: 100%;
min-height: 350px;
border: none;
overflow: hidden!important;
}
code,
.path {
vertical-align: middle;
background-color: #333;
padding: 5px 15px;
color: #ccc;
font-weight: normal;
border-radius: 5px;
}
code {
font-size: 14px;
}
.path {
font-size: 16px;
}
.hljs {
font-size: 14px;
padding: 0 25px;
}
</style>
<title>ODE CSS Framework</title>
</head>
<body>
<nav>
<div class="sticky">
<img class="logo" src="framework-css/images/logo.svg" alt="Logo ODE">
<section>
<a href="#elements"><strong>Elements</strong></a>
<a href="#typography">Typography</a>
<a href="#colors">Colors</a>
<a href="#tables">Tables</a>
<a href="#buttons">Buttons</a>
<a href="#forms">Forms</a>
<a href="#font-icon">Font-icon</a>
<a href="#label">Labels</a>
</section>
<section>
<a href="#layouts"><strong>Layouts</strong></a>
<a href="#flexbox">Flexbox grid</a>
<a href="#responsive">Responsive</a>
<a href="#navbar">Navbar</a>
</section>
<section>
<a href="components"><strong>Components</strong></a>
<a href="#accordions">Accordions</a>
<a href="#alphabetical">Alphabetical</a>
<a href="#apps-view">Apps view</a>
<a href="#articles">Articles</a>
<a href="#assistant">Assistant</a>
<a href="#badge">Badge</a>
<a href="#bubble-container">Bubble container</a>
<a href="#cards">Cards</a>
<a href="#checkboxes">Checkboxes</a>
<a href="#chips">Chips</a>
<a href="#color-picker">Color picker</a>
<a href="#dominos">Dominos</a>
<a href="#dots-menu">Dots menu</a>
<a href="#dropdown">Dropdown</a>
<a href="#dropdown-buttons">Dropdown buttons</a>
<a href="#embedder">Embedder</a>
<a href="#explorer">Explorer</a>
<a href="#flashmsg">Flashmsg</a>
<a href="#forms">Forms</a>
<a href="#help">Help</a>
<a href="#icons-view">Icons view</a>
<a href="#illustrated-links">Illustrated links</a>
<a href="#illustrated-list">Illustrated list</a>
<a href="#images">Images</a>
<a href="#infotips">Infotips</a>
<a href="#letter-picker">Letter picker</a>
<a href="#lightbox">Lightbox</a>
<a href="#"></a>
</section>
</div>
</nav>
<div class="container">
<h1 class="container__title">ODE CSS Documentation</h1>
<section id="elements">
<h1><span>Elements</span></h1>
<h2 id="typography">Typography</h2>
<img src="framework-css/images/font-roboto.png" alt="Roboto font">
<h3>Web Content Accessibility Guidelines (WCAG)</h3>
<p>The minimum size of typography is 14px. If in doubt, 16px font with 1.5 line height is pretty good safe for body copy.</p>
<p>The medium level of contrast is implemented : WCAG AA. Take a look at our color guidelines !</p>
<p>As much as possible, using multiples of 6 to define our spacing is a great way to achieve vertical rhythm (ex : Title { line-height = 30px}, body { line-height = 24px})</p>
<h2 id="colors">Colors</h2>
<table>
<thead>
<tr>
<th>Color</th>
<th>Name color</th>
<th>Hexadecimal</th>
</tr>
</thead>
<tr>
<td><img src="framework-css/images/color/colorscheme-cyan.png" alt="Cyan"></td>
<td><code>$cyan</code></td>
<td>#4bafd5</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-green.png" alt="Green"></td>
<td><code>$green</code></td>
<td>#46bfaf</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-yellow.png" alt="Yellow"></td>
<td><code>$yellow</code></td>
<td>#ecbe30</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-orange.png" alt="Orange"></td>
<td><code>$orange</code></td>
<td>#ff8500</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-red.png" alt="Red"></td>
<td><code>$red</code></td>
<td>#e13a3a</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-pink.png" alt="Pink"></td>
<td><code>$pink</code></td>
<td>#b930a2</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-purple.png" alt="Purple"></td>
<td><code>$purple</code></td>
<td>#763294</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-indigo.png" alt="Indigo"></td>
<td><code>$indigo</code></td>
<td>#1a22a2</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-white.png" alt="White"></td>
<td><code>$white</code></td>
<td>#ffffff</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-lightest-grey.png" alt="Lightest grey"></td>
<td><code>$lightest-grey</code></td>
<td>#f9f9f9</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-light-grey.png" alt="Light grey"></td>
<td><code>$light-grey</code></td>
<td>#F0F0F0</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-neutral-grey.png" alt="Neutral grey"></td>
<td><code>$neutral-grey</code></td>
<td>#dddddd</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-medium-grey.png" alt="Medium grey"></td>
<td><code>$medium-grey</code></td>
<td>#cccccc</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-solid-grey.png" alt="Solid grey"></td>
<td><code>$solid-grey</code></td>
<td>#aaaaaa</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-grey.png" alt="Grey"></td>
<td><code>$grey</code></td>
<td>#555555</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-darkest-grey.png" alt="Darkest grey"></td>
<td><code>$darkest-grey</code></td>
<td>#333333</td>
</tr>
<tr>
<td><img src="framework-css/images/color/colorscheme-black.png" alt="Black"></td>
<td><code>$black</code></td>
<td>#2222222</td>
</tr>
</table>
<h2 id="buttons">Buttons</h2>
<table class="full">
<thead>
<tr>
<th>Button type</th>
<th>Class to apply</th>
<th>State initial</th>
<th>State hover</th>
<th>State inactive</th>
</tr>
</thead>
<tr>
<td>Button primary</td>
<td><code>???</code></td>
<td><img src="framework-css/images/button-main.png" alt="Button primary"></td>
<td><img src="framework-css/images/button-main--hover.png" alt="Button primary hover"></td>
<td><img src="framework-css/images/button-main--inactive.png" alt="Button primary inactive"></td>
</tr>
<tr>
<td>Button secondary</td>
<td><code>.classic-link</code></td>
<td><img src="framework-css/images/button-secondary.png" alt="Button secondary"></td>
<td><img src="framework-css/images/button-secondary--hover.png" alt="Button secondary hover"></td>
<td><img src="framework-css/images/button-secondary--inactive.png" alt="Button secondary inactive"></td>
</tr>
<tr>
<td>Button tertiary</td>
<td><code>.comment</code></td>
<td><img src="framework-css/images/button-tertiary.png" alt="Button tertiary"></td>
<td><img src="framework-css/images/button-tertiary--hover.png" alt="Button tertiary hover"></td>
<td><img src="framework-css/images/button-tertiary--inactive.png" alt="Button tertiary inactive"></td>
</tr>
<tr>
<td>Button quartenary</td>
<td><code>???</code></td>
<td><img src="framework-css/images/button-quartenary.png" alt="Button quartenary"></td>
<td><img src="framework-css/images/button-quartenary--hover.png" alt="Button quartenary hover"></td>
<td><img src="framework-css/images/button-quartenary--inactive.png" alt="Button quartenary inactive"></td>
</tr>
</table>
</section>
<section id="layouts">
<h1><span>Layouts</span></h1>
<h2>Breakpoints</h2>
<p><code>$wide-screen: 1200px;</code>Beginning wide desktop screen</p>
<p><code>$tablette: 800px;</code> Beginning landscape tablet and / or small desktop screen</p>
<p><code>$small-tablette: 650px;</code> Beginning large tablet portrait</p>
<p><code>$fat-mobile: 550px;</code> Beginning small tablet portrait</p>
<p><code>$small-mobile: 420px;</code> Beginning fat mobile portrait</p>
<h2>Flexbox grid</h2>
<p>Coming soon !</p>
<h2>Responsive</h2>
<p>Coming soon !</p>
<h2>Navbar</h2>
<p>Coming soon !</p>
</section>
<section id="components">
<h1 id="components"><span>Components</span></h1>
<h2 id="accordions">Accordions</h2>
<iframe src="framework-css/components/accordion.html"></iframe>
<h2 id="alphabetical">Alphabetical</h2>
<p>Obsolète</p>
<iframe src="framework-css/components/alphabetical.html"></iframe>
<h2 id="apps-view">Apps view</h2>
<iframe scrolling="no" src="framework-css/components/apps-view.html"></iframe>
<h2 id="articles">Articles</h2>
<!-- <iframe src="framework-css/components/articles.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="assistant">Assistant</h2>
<!-- <iframe src="framework-css/components/assistant.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="badge">Badge</h2>
<!-- <iframe src="framework-css/components/badge.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="bubble-container">Bubble container</h2>
<!-- <iframe src="framework-css/components/bubble-container.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="cards">Cards</h2>
<iframe src="framework-css/components/cards.html"></iframe>
<h2 id="checkboxes">Checkboxes</h2>
<iframe height="100" src="framework-css/components/checkboxes.html"></iframe>
<h2 id="chips">Chips</h2>
<iframe src="framework-css/components/chips.html"></iframe>
<h2 id="color-picker">Color picker</h2>
<iframe src="framework-css/components/color-picker.html"></iframe>
<h2 id="dominos">Dominos</h2>
<iframe src="framework-css/components/dominos.html"></iframe>
<h2 id="dots-menu">Dots menu</h2>
<!-- <iframe src="framework-css/components/dots-menu.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="dropdown">Dropdown</h2>
<!-- <iframe src="framework-css/components/dropdown.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="dropdown-buttons">Dropdown buttons</h2>
<!-- <iframe src="framework-css/components/dropdown-buttons.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="embedder">Embedder</h2>
<!-- <iframe src="framework-css/components/embedder.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="explorer">Explorer</h2>
<iframe src="framework-css/components/explorer.html"></iframe>
<h2 id="flashmsg">Flashmsg</h2>
<!-- <iframe src="framework-css/components/flashmsg.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="forgot-panel">Forgot panel</h2>
<!-- <iframe src="framework-css/components/forgot-panel.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="forms">Forms</h2>
<iframe src="framework-css/components/forms.html"></iframe>
<h2 id="help">Help</h2>
<iframe src="framework-css/components/help.html"></iframe>
<h2 id="icons-view">Icons view</h2>
<iframe src="framework-css/components/icons-view.html"></iframe>
<h2 id="illustrated-links">Illustrated links</h2>
<iframe src="framework-css/components/illustrated-links.html"></iframe>
<h2 id="illustrated-list">Illustrated list</h2>
<!-- <iframe src="framework-css/components/illustrated-list.html"></iframe> -->
<h2 id="images">Images</h2>
<!-- <iframe src="framework-css/components/images.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="infotips">Infotips</h2>
<iframe src="framework-css/components/infotips.html"></iframe>
<h2 id="infotuto">Info tuto (obsolète ?)</h2>
<!-- <iframe src="framework-css/components/info-tuto.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="letter-picker">Letter picker</h2>
<!-- <iframe src="framework-css/components/letter-picker.html"></iframe> -->
<p>Coming soon !</p>
<h2 id="lightboxr">Lightbox</h2>
<iframe src="framework-css/components/lightbox.html"></iframe>
<!-- _accordions.scss _alphabetical.scss _apps-view.scss _articles.scss _assistant.scss _badges.scss _bubble-container.scss _buttons.scss _buttons-set.scss _cards.scss _checkboxes-custom.scss _chips.scss _color-picker.scss _dominos.scss _dots-menu.scss _dropdown-buttons.scss _drop-down.scss _embedder.scss _explorer.scss _flashmsg.scss _forgot-panel.scss _forms.scss _help.scss _icons-view.scss _illustrated-links.scss _illustrated-list.scss _images.scss _infotips.scss _info-tuto.scss _letter-picker.scss _lightbox.scss /// _lists.scss _loading-list.scss _loading-panel.scss _mailbox.scss _modules.scss _multi-combo.scss _navigations.scss _notifications.scss _panel.scss _pills.scss _pulsar.scss _recipient-list.scss _ribbon.scss _schedule.scss _select-blocks.scss _select-list.scss _side-panel.scss _sniplets.scss _sticky-row.scss _tabs.scss _timeline-story.scss _toaster.scss _toggle-panel.scss _tooltips.scss _widgets.scss -->
</section>
</div>
</body>
</html>
</div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/test-documentation/" class="nav-home"><img src="/test-documentation/img/favicon.ico" alt="Test Site" width="66" height="58"/></a><div><h5>Docs</h5><a href="/test-documentation/docs/en/doc1.html">Getting Started (or other categories)</a><a href="/test-documentation/docs/en/doc2.html">Guides (or other categories)</a><a href="/test-documentation/docs/en/doc3.html">API Reference (or other categories)</a></div><div><h5>Community</h5><a href="/test-documentation/en/users.html">User Showcase</a><a href="https://stackoverflow.com/questions/tagged/" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://discordapp.com/">Project Chat</a><a href="https://twitter.com/" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="/test-documentation/blog">Blog</a><a href="https://github.com/">GitHub</a><a class="github-button" data-icon="octicon-star" data-count-href="/facebook/docusaurus/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><a href="https://opensource.facebook.com/" target="_blank" rel="noreferrer noopener" class="fbOpenSource"><img src="/test-documentation/img/oss_logo.png" alt="Facebook Open Source" width="170" height="45"/></a><section class="copyright">Copyright © 2019 Your Name or Your Company Name</section></footer></div></body></html>