made css to make icons vanish when printing
This commit is contained in:
parent
4eedb1faa0
commit
eb27d6c289
2 changed files with 8 additions and 2 deletions
5
static/css/icon-print.css
Normal file
5
static/css/icon-print.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
@media print {
|
||||
* {
|
||||
display: none;
|
||||
}
|
||||
}
|
|
@ -3,9 +3,10 @@
|
|||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 455.731 455.731" xml:space="preserve">
|
||||
<style>
|
||||
@layer color-import, futureproof;
|
||||
@layer import-color, base, print;
|
||||
@import url("/static/css/icon-colors.css") layer(import-color);
|
||||
@layer futureproof{
|
||||
@import url("/static/css/icon-print.css") layer(print);
|
||||
@layer base{
|
||||
.box {
|
||||
fill: var(--background-color);
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in a new issue