mirror of
https://github.com/WenPai-org/lelms-copyright.git
synced 2025-08-03 04:08:45 +08:00
41 lines
737 B
CSS
41 lines
737 B
CSS
#lelms-watermark {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 999;
|
|
}
|
|
|
|
.watermark-text {
|
|
position: absolute;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Allow form elements to interact */
|
|
input, textarea, select, button,
|
|
[contenteditable="true"],
|
|
a, button {
|
|
pointer-events: auto !important;
|
|
user-select: auto !important;
|
|
}
|
|
|
|
@media print {
|
|
#lelms-watermark {
|
|
display: none !important;
|
|
}
|
|
|
|
body * {
|
|
display: none !important;
|
|
}
|
|
|
|
body:after {
|
|
content: "Printing is disabled";
|
|
display: block !important;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
margin-top: 50px;
|
|
}
|
|
}
|