format invoices table, add link icons (#8204)

This commit is contained in:
Serghei Mihai 2015-09-19 16:31:05 +02:00
parent 9b8a00b98b
commit d955f96237
1 changed files with 54 additions and 0 deletions

View File

@ -1,3 +1,11 @@
@font-face {
font-family: 'FontAwesome';
src: url('../xstatic/fonts/fontawesome-webfont.eot?v=4.1.0');
src: url('../xstatic/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('../xstatic/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('../xstatic/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('../xstatic/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
html, body {
margin: 0;
padding: 0;
@ -144,3 +152,49 @@ div.textcell h2,
div.textcell h3 {
font-weight: normal;
}
/* icons styles */
[class^="icon-"]:after, [class*=" icon-"]:after,
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: none;
}
a[class^="icon-"], a[class*=" icon-"] {
display: inline-block;
text-decoration: none;
border: none;
color: #FF7800;
}
#items {
border-collapse: collapse;
}
#items thead tr {
background: #ccc;
font-weight: bold;
}
#items td {
padding: 0 5px;
}
#items tr.grey {
background:#eee;
}
#items tr.white {
background: #fff;
}
#items a.icon-view:before {
content: '\f06e';
}
#items a.icon-pdf:before {
content: '\f1c1';
}