Created
March 25, 2021 15:59
-
-
Save oksuz/291391a84eff6ceb52023f31b912b489 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Yemeksepeti Webgüvercin Printable", | |
"description": "Injects printable css into webguvercin webpage in order to print order trough thermal printer", | |
"version": "1.0", | |
"permissions": ["activeTab"], | |
"manifest_version": 3, | |
"content_scripts": [ | |
{ | |
"matches": ["https://siparistakip.yemeksepeti.com/*"], | |
"css": ["print.css"] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media print { | |
body { | |
margin: 0 !important; | |
padding: 0 !important; | |
font-weight: bold; | |
color: black; | |
} | |
table.order-detail-table tbody tr td { | |
font-size: 15px !important; | |
} | |
table.order-detail-table thead th:nth-child(4) { | |
display: none; | |
} | |
table.order-detail-table tbody td:nth-child(4) { | |
display: none; | |
} | |
table.order-detail-table tbody tr:last-child td { | |
font-size: 20px !important; | |
} | |
.order-list-table { | |
margin: 0 !important; | |
padding: 0 !important; | |
} | |
div.row { | |
padding: 0 !important; | |
margin: 0 !important; | |
} | |
div[class^=col-] { | |
margin: 0 !important; | |
padding: 0 !important; | |
} | |
.container { | |
padding: 0 !important; | |
margin: 0 !important; | |
} | |
.alert, | |
.cookie-alert, | |
.page-header-top, | |
.last-signal, | |
.restaurant-container, | |
.page-footer, | |
.page-header, | |
.restaurant-control { | |
display: none !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment