diff --git a/appinfo/app.php b/appinfo/app.php index 4ed6c854..ac9a54ec 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -30,7 +30,7 @@ OCP\App::addNavigationEntry(array( 'id' => 'documents_index', 'order' => 80, 'href' => OCP\Util::linkTo('documents', 'index.php'), - 'icon' => OCP\Util::imagePath('documents', 'documents.png'), + 'icon' => OCP\Util::imagePath('documents', 'documents.svg'), 'name' => 'Documents') ); @@ -42,4 +42,4 @@ OC::$CLASSPATH['OCA\Documents\Download_Simple'] = 'documents/lib/download/simple OC::$CLASSPATH['OCA\Documents\Download_Range'] = 'documents/lib/download/range.php'; //Listen to delete file signal -\OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA\Documents\Storage", "onDelete"); \ No newline at end of file +\OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA\Documents\Storage", "onDelete"); diff --git a/css/editor.css b/css/editor.css index c852c2be..71fea4be 100644 --- a/css/editor.css +++ b/css/editor.css @@ -31,7 +31,6 @@ html, body, #mainContainer { text-align: center; background-color: #FAFAFA; overflow: auto; - position: absolute; top: 30px; bottom: 0; diff --git a/css/style.css b/css/style.css index 6e9ff779..58784f8d 100755 --- a/css/style.css +++ b/css/style.css @@ -9,8 +9,10 @@ display: inline-block; height: 200px; width: 200px; + background-color: #e8e8e8; margin: 1em; vertical-align: top; + border-radius: 5px; } .add-document a { display: inline-block; @@ -31,17 +33,26 @@ position: absolute; bottom: 5px; width: 100%; - color: white; - text-shadow: 0 0 10px #000; + font-weight: normal; text-align: center; } + .documentslist .document { display: inline-block; height: 200px; width: 200px; + background-color: #e8e8e8; margin: 1em; vertical-align: top; + border-radius: 5px; } +.documentslist .document:hover, +.documentslist .document:focus, +.documentslist .add-document:hover, +.documentslist .add-document:focus { + background-color: #ddd; +} + .documentslist .session-active { position: relative; margin-left: 128px; @@ -61,9 +72,15 @@ position: absolute; bottom: 5px; width: 100%; - color: white; - text-shadow: 0 0 10px #000; + font-weight: normal; + text-overflow: ellipsis; + overflow: hidden; text-align: center; + padding: 0 8px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + white-space: nowrap; } #odf-toolbar{ @@ -86,16 +103,11 @@ margin-left:-50%; } #odf-close{ - float:left; + float: right; } #odf-invite{ - float:right; -} - -#mainContainer #collaboration{ - float:right;position: relative;z-index: 1; - width: 70px;padding:5px; + float: left; } #invite-block{ @@ -124,10 +136,11 @@ width: 100%; height: 100%; filter:alpha(opacity=30); - opacity: 0.3; + opacity: .3; z-index: 1000; - background: #000 url('%webroot%/core/img/loading-dark.gif') 50% 50% no-repeat; + background: #111 url('%webroot%/core/img/loading-dark.gif') 50% 50% no-repeat; } + #documents-overlay-below{ left:0; top:0; @@ -137,10 +150,6 @@ z-index: 999; } -#members{ - padding-top: 3em !important; -} - #file_upload_start{ position:relative; left:0; top:0; width:200px; height:200px; @@ -149,4 +158,30 @@ font-size:1em; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; z-index:20; -} \ No newline at end of file +} + + +/* override WebODF styling here */ + +#mainContainer #collaboration{ + float:right;position: relative;z-index: 1; + width: 70px;padding:5px; +} + +#members{ + padding-top: 3em !important; +} + +#editor { + box-shadow: 0px 0px 14px #555 !important; +} + +#toolbar { + border-bottom: none !important; + padding: 6px 0 !important; +} + +#container { + background-color: #ddd !important; + top: 38px !important; +} diff --git a/img/documents.png b/img/documents.png index 9c7ff264..cc70b4d3 100644 Binary files a/img/documents.png and b/img/documents.png differ diff --git a/img/documents.svg b/img/documents.svg index 8ebf861f..0b767a53 100644 --- a/img/documents.svg +++ b/img/documents.svg @@ -1,128 +1,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + image/svg+xml + + + + + + + + + +