-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
162 lines (136 loc) · 6.39 KB
/
index.html
File metadata and controls
162 lines (136 loc) · 6.39 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
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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<title>CSSG multipurpose converter</title>
<meta name="keywords" content="CSS, CSSG, converter, tool, CSS-o-Gram">
<meta name="author" content="https://github.com/CSSG">
<link href="css/cssg.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Cabin:400,600,400italic|Ubuntu:400,700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
</head>
<body>
<div class="cssg-converter-container">
<h1>
CSSG multipurpose converter
<small>v 0.1.0 alpha</small>
</h1>
<div class="cssg-converter">
<div class="cssg-converter_head">
<h2>Settings</h2>
<div class="cssg-converter_settings">
<div class="cssg-converter_col cssg-converter_setting">
<label><input type="checkbox" name="autorecalc" checked><span>Auto recalculate</span></label>
</div>
<div class="cssg-converter_col cssg-converter_setting">
<label><input type="checkbox" name="rulespace" checked><span>Rule space</span></label>
</div>
<div class="cssg-converter_col cssg-converter_setting">
<label><input type="checkbox" name="trimtext" checked><span>Trim text</span></label>
</div>
<div class="cssg-converter_col cssg-converter_setting">
<label><input type="checkbox" name="tagnames"><span>Keep tag names</span></label>
</div>
<br>
<div class="cssg-converter_col cssg-converter_setting">
<label>Modifier:</label>
<label><input type="radio" value="0" name="modifier" checked><span>'__'</span></label>
<label><input type="radio" value="1" name="modifier"><span>'_'</span></label>
<label><input type="radio" value="2" name="modifier"><span>'--'</span></label>
<label><input type="radio" value="3" name="modifier"><span>'-'</span></label>
</div>
<div class="cssg-converter_col cssg-converter_setting">
<label>Output:</label>
<label><input type="radio" value="0" name="output" checked><span>cssg</span></label>
<label><input type="radio" value="1" name="output"><span>css</span></label>
<label><input type="radio" value="2" name="output"><span>haml</span></label>
</div>
<br>
<div class="cssg-converter_col cssg-converter_setting">
<label>Indentation:</label>
<label><input type="radio" value="0" name="indentation" ><span>tab</span></label>
<label><input type="radio" value="1" name="indentation" checked><span>2 spaces</span></label>
<label><input type="radio" value="2" name="indentation"><span>4 spaces</span></label>
</div>
<div class="cssg-converter_col cssg-converter_setting">
<label>Line height:</label>
<label><input type="radio" value="0" name="lineheight"><span>regular</span></label>
<label><input type="radio" value="1" name="lineheight" checked><span>compact</span></label>
<label><input type="radio" value="2" name="lineheight"><span>loose</span></label>
</div>
</div>
<!--
<div class="cssg-converter_settings">
<div class="cssg-converter_col cssg-filter">
<input type="text" value="" name="baseclass" placeholder="base class" />
</div>
</div>
-->
<div class="cssg-converter_settings">
<button class="cssg-converter_btn" id="cssgClear">Clear</button>
</div>
</div>
<div class="cssg-converter_body">
<div class="cssg-converter_col cssg-input">
<h2>Input</h2>
<div class="cssg-converter_content">
<textarea name="cssgInput" id="cssgInput" cols="30" rows="10">
<ul class="widget-list">
<li class="widget-list_i">
<div class="widget">
<a href="#" class="widget_cnt">
<span class="widget_ico ic12 ic12_comment"></span>
<span class="widget_tx">Comment</span>
<span class="widget_delim"></span>
<span class="widget_count js-count">8</span>
</a>
</div>
</li>
<li class="widget-list_i">
<div id="id2">
<div class="widget __disabled __nohover __compact">
<button class="widget_cnt">
<span class="widget_ico ic12 ic12_share"></span>
<span class="widget_tx">Share</span>
<span class="widget_delim"></span>
<span class="widget_count js-count">0</span>
</button>
</div>
</div>
</li>
<li class="widget-list_i">
<div id="id3">
<div class="widget __compact">
<button class="widget_cnt controls-list_lk">
<span class="widget_ico ic12 ic12_klass"></span>
<span class="widget_tx">Like</span>
<span class="widget_delim"></span>
<span class="widget_count js-count">12</span>
</button>
</div>
</div>
</li>
</ul>
</textarea>
</div>
</div><!--
--><div class="cssg-converter_col cssg-output">
<h2>
Output
<small>maximum DOM level: <span id="cssgLevels">0</span></small>
</h2>
<div class="cssg-converter_content">
<textarea name="cssgOutput" id="cssgOutput" readonly cols="30" rows="10"></textarea>
</div>
</div>
</div>
<div class="cssg-converter_foot">
<div class="cssg-converter_controls">
<button class="cssg-converter_btn" id="cssgInit">Process</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/cssg.js"></script>
</body>
</html>