Commit e13b0dc0 authored by Romain Courteaud's avatar Romain Courteaud

erp5_document_scanner: disable the black layer around the image

parent 26341eab
...@@ -18,9 +18,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .canvas { ...@@ -18,9 +18,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .canvas {
filter: brightness(1); filter: brightness(1);
text-align: center; text-align: center;
} }
div[data-gadget-url$="gadget_document_scanner.html"] .camera-input {
background-color: rgba(0, 0, 0, 0.5);
}
div[data-gadget-url$="gadget_document_scanner.html"] .page-number { div[data-gadget-url$="gadget_document_scanner.html"] .page-number {
display: inline; display: inline;
} }
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.62568.19112.61303</string> </value> <value> <string>982.62805.13685.6178</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1585903332.52</float> <float>1585917504.3</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
} }
.cropper-modal { .cropper-modal {
background-color: #000; /* Disable the black layer around the image
background-color: #000;*/
opacity: 0.5; opacity: 0.5;
} }
......
...@@ -17,11 +17,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] { ...@@ -17,11 +17,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
text-align: center; text-align: center;
} }
.camera-input {
// Mimic cropper background
background-color: rgba(0, 0, 0, 0.5);
}
.page-number { .page-number {
display: inline; display: inline;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment