Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
7690f686
Commit
7690f686
authored
Apr 03, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_document_scanner: add related less file
parent
11699254
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
11 deletions
+8
-11
bt5/erp5_document_scanner/PathTemplateItem/web_page_module/scanner_gadget_document_scanner_css.css
...m/web_page_module/scanner_gadget_document_scanner_css.css
+0
-6
bt5/erp5_document_scanner/PathTemplateItem/web_page_module/scanner_gadget_document_scanner_css.xml
...m/web_page_module/scanner_gadget_document_scanner_css.xml
+2
-2
bt5/erp5_document_scanner/SkinTemplateItem/portal_skins/erp5_document_scanner/documentscannercss.less.txt
...l_skins/erp5_document_scanner/documentscannercss.less.txt
+6
-3
No files found.
bt5/erp5_document_scanner/PathTemplateItem/web_page_module/scanner_gadget_document_scanner_css.css
View file @
7690f686
...
@@ -102,12 +102,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .camera-input {
...
@@ -102,12 +102,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] .camera-input {
/* Never limit the container height here */
/* Never limit the container height here */
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
/*
img {
max-width: 100%;
width: 100%;
}
*/
}
}
div
[
data-gadget-url
$
=
"gadget_document_scanner.html"
]
.img-container
img
,
div
[
data-gadget-url
$
=
"gadget_document_scanner.html"
]
.img-container
img
,
div
[
data-gadget-url
$
=
"gadget_document_scanner.html"
]
.camera-input
img
,
div
[
data-gadget-url
$
=
"gadget_document_scanner.html"
]
.camera-input
img
,
...
...
bt5/erp5_document_scanner/PathTemplateItem/web_page_module/scanner_gadget_document_scanner_css.xml
View file @
7690f686
...
@@ -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.6
1619.4758.3413
3
</string>
</value>
<value>
<string>
982.6
2568.19112.6130
3
</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>
1585
846327.08
</float>
<float>
1585
903332.52
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_document_scanner/SkinTemplateItem/portal_skins/erp5_document_scanner/documentscannercss.less.txt
View file @
7690f686
...
@@ -13,7 +13,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
...
@@ -13,7 +13,6 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
.photo, .video, .camera-output, .canvas {
.photo, .video, .camera-output, .canvas {
max-width: 100%;
max-width: 100%;
width: auto;
width: auto;
max-height: 500px;
filter: brightness(1);
filter: brightness(1);
text-align: center;
text-align: center;
}
}
...
@@ -100,9 +99,13 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
...
@@ -100,9 +99,13 @@ div[data-gadget-url$="gadget_document_scanner.html"] {
height: calc(6em + 1px);
height: calc(6em + 1px);
}
}
.img-container {
.img-container
, .camera-input
{
/* Never limit the container height here */
/* Never limit the container height here */
max-width: 100%;
position: relative;
width: 100%;
img, video {
max-height: 75vh;
}
}
}
.btn-thumbnail:before {
.btn-thumbnail:before {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment