mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Reduce more HTML elements thanks to data-icon="" attribute
This commit is contained in:
parent
997f0da59f
commit
bf19f72a6b
25 changed files with 42 additions and 149 deletions
BIN
vendors/fontastic/fonts/snappymail.woff
vendored
BIN
vendors/fontastic/fonts/snappymail.woff
vendored
Binary file not shown.
BIN
vendors/fontastic/fonts/snappymail.woff2
vendored
BIN
vendors/fontastic/fonts/snappymail.woff2
vendored
Binary file not shown.
4
vendors/fontastic/icons-reference.html
vendored
4
vendors/fontastic/icons-reference.html
vendored
|
|
@ -172,10 +172,6 @@
|
|||
<div class="icon icon-at"></div>
|
||||
<input type="text" readonly="readonly" value="at">
|
||||
</li>
|
||||
<li>
|
||||
<div class="icon icon-list-add"></div>
|
||||
<input type="text" readonly="readonly" value="list-add">
|
||||
</li>
|
||||
<li>
|
||||
<div class="icon icon-google"></div>
|
||||
<input type="text" readonly="readonly" value="google">
|
||||
|
|
|
|||
6
vendors/fontastic/styles.css
vendored
6
vendors/fontastic/styles.css
vendored
|
|
@ -26,8 +26,9 @@
|
|||
[data-icon]::before {
|
||||
content: attr(data-icon);
|
||||
display: inline-block;
|
||||
width: 1.5em;
|
||||
height: 1em;
|
||||
margin-right: 0.5em;
|
||||
min-width: 1em;
|
||||
}
|
||||
|
||||
.icon-arrows-in::before {
|
||||
|
|
@ -48,9 +49,6 @@
|
|||
.icon-down-mini::before {
|
||||
content: "\e01f"; /* › rotate 90 */
|
||||
}
|
||||
.icon-list-add::before {
|
||||
content: "\e024";
|
||||
}
|
||||
.icon-warning-alt::before {
|
||||
content: "\e02a";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue