forked from maxsteenbergen/Fibonacci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (72 loc) · 3.92 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/screen.css">
<link rel="stylesheet" type="text/css" href="css/fibonacci.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/styles/monokai_sublime.min.css">
<title>Fibonacci – Flexbox Composer</title>
</head>
<body>
<header id="header" class="">
<h1>Fibonacci</h1>
<h2>Flexbox Composer</h2>
</header>
<div id='flexcanvas' class='rowParent'>
<div id="optionsBar" class="disabled flexChild">
<img src="img/expand.png" id="growDivButton" alt="Expand div" title="Expand div"></img>
<img src="img/shrink.png" id="shrinkDivButton" alt="Shrink div" title="Shrink div"></img>
<img id="removeDivButton" src="img/trash.png" alt="Delete div" title="Delete div"></img>
<label for="justifyButton">Justification: </label>
<select id="justifyButton" alt="Set justification within parent" title="Set justification within parent">
<option val="flex-start">flex-start</option>
<option val="flex-end">flex-end</option>
<option val="center">center</option>
<option val="space-between">space-between</option>
<option val="space-around">space-around</option>
</select>
<label for="allAlignmentButton">Align within parent: </label>
<select id="allAlignmentButton" alt="Set alignment for all in parent" title="Set alignment for all in parent">
<option val="flex-start">flex-start</option>
<option val="flex-end">flex-end</option>
<option val="center">center</option>
<option val="baseline">baseline</option>
<option val="stretch">stretch</option>
</select>
<label for="singleAlignmentButton">Align single: </label>
<select id="singleAlignmentButton" alt="Set single alignment" title="Set single alignment">
<option val="auto">auto</option>
<option val="flex-start">flex-start</option>
<option val="flex-end">flex-end</option>
<option val="center">center</option>
<option val="baseline">baseline</option>
<option val="stretch">stretch</option>
</select>
<input id="widthInput" type="text" placeholder="Fixed width">
<button id="enterWidthButton" title="width">Enter width</button>
<input id="heightInput" type="text" placeholder="Fixed height">
<button id="enterHeightButton" title="height">Enter height</button>
<input class='disabled' id="parentDimensionSizeInput" placeholder="Parent's dimension" type="text">
<button class='disabled' id="enterParentDimensionButton">Enter</button><br>
</div>
<div id='container' class="flexChild">
</div>
</div>
<pre><code id='codeExportTextarea'></code></pre>
<img id="triggerHTMLCode" src="img/HTMLFile.png" alt="Export HTML">
<img id="triggerCSSCode" src="img/CSSFile.png" alt="Export CSS">
<img id="triggerInfo" src="img/info.png" alt="Export CSS">
<br>
<span class='action'>Export HTML</span>
<span class='action'>Export CSS</span>
<span class='action'>About Fibonacci</span>
<footer>
A project by <a href='https://maxsteenbergen.com'>Max Steenbergen</a>
</footer>
<a href="https://github.com/maxsteenbergen/Fibonacci"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"></a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="js/autoprefixer.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/highlight.min.js"></script>
<script src="js/fibonacci.js" type="text/javascript"></script>
</body>
</html>