Feature #44: Image capture WebRTC & HTML5 FileIO

Silverlight was previously used to capture webcam pictures and upload
file attachments. HTML5 FileIO is now used for all attachment uploading
- including drag-drop support. WebRTC is used to capture webcam images -
this falls back to a Flash polyfill when WebRTC isn't supported.
This commit is contained in:
Gary Sharp
2014-06-05 21:01:43 +10:00
parent d040ab094c
commit b64ac3b16f
40 changed files with 3221 additions and 2444 deletions
+13 -7
View File
@@ -206,12 +206,17 @@
#userShowResources {
#Attachments {
#AttachmentsContainer {
padding: 0;
}
#Attachments {
position: relative;
border: 1px solid @SubtleBorderColour;
background-color: @white;
div.attachmentOutput {
position: relative;
height: 115px;
overflow: auto;
font-size: 0.95em;
@@ -256,6 +261,10 @@
img {
height: 48px;
width: 48px;
&.loading {
display: none;
}
}
}
@@ -272,8 +281,7 @@
cursor: pointer;
opacity: 0;
&:hover
{
&:hover {
opacity: 1;
}
}
@@ -290,8 +298,7 @@
background-color: @white;
padding: 3px;
span.action
{
span.action {
color: @HeaderBackgroundColour;
display: block;
margin: 0 4px 0 0;
@@ -301,8 +308,7 @@
border: 1px solid @white;
padding: .5em;
&:hover
{
&:hover {
color: @HyperLinkColour;
background-color: @SubtleColour;
border: 1px solid @SubtleBorderColour;