mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
better cheatsheet selecting
This commit is contained in:
@@ -40,9 +40,16 @@
|
||||
<span class="step">72</span>
|
||||
</div>
|
||||
<div class="usage">
|
||||
<span class="ionicon">{{html_code}}</span>
|
||||
<label>Selectable:</label>
|
||||
<span class="ion">{{html_code}}</span>
|
||||
|
||||
<label>Classname:</label>
|
||||
<input class="name" type="text" readonly="readonly" onClick="this.select();" value="{{prefix}}{{name}}" />
|
||||
|
||||
<label>Escaped HTML:</label>
|
||||
<input class="html" type="text" readonly="readonly" onClick="this.select();" value="{{escaped_html_code}}" />
|
||||
|
||||
<label>CSS Content:</label>
|
||||
<input class="css" type="text" readonly="readonly" onClick="this.select();" value="{{css_code}}" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -9,6 +9,12 @@
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -55,8 +61,13 @@
|
||||
padding: 10px 0 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.ionicon {
|
||||
padding-right: 30px;
|
||||
.ion {
|
||||
-webkit-touch-callout: text;
|
||||
-webkit-user-select: text;
|
||||
-khtml-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.preview-icon { vertical-align: bottom; }
|
||||
@@ -100,11 +111,23 @@
|
||||
margin-right: 3px;
|
||||
padding: 2px 5px;
|
||||
text-align: center;
|
||||
-webkit-touch-callout: text;
|
||||
-webkit-user-select: text;
|
||||
-khtml-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.usage .name { width: 250px; }
|
||||
.usage .html { width: 150px; }
|
||||
.usage .css { width: 150px; }
|
||||
.usage label {
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
padding: 0 5px 0 35px;
|
||||
}
|
||||
.usage label:first-child { padding-left: 0; }
|
||||
.usage .name { width: 200px; }
|
||||
.usage .html { width: 100px; }
|
||||
.usage .css { width: 100px; }
|
||||
|
||||
footer {
|
||||
color: #888;
|
||||
|
||||
+2828
-355
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user