From: Jan-Christoph Borchardt Date: Thu, 5 Jun 2014 11:12:07 +0000 (+0200) Subject: adjust CSS to styleguide, remove left padding, prevent user-selection X-Git-Tag: v7.0.0alpha2~88^2~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=24641c909ee45e82d5ec7602a3a31e153cbbbb35;p=nextcloud-server.git adjust CSS to styleguide, remove left padding, prevent user-selection --- diff --git a/core/css/apps.css b/core/css/apps.css index 4bcf89c7ee4..f48750545f3 100644 --- a/core/css/apps.css +++ b/core/css/apps.css @@ -1,4 +1,5 @@ -/* ---- APP STYLING ---- */ +/* APP STYLING -------------------------------------------------------------- */ + #app { height: 100%; @@ -8,6 +9,13 @@ -moz-box-sizing: border-box; box-sizing: border-box; } + + + + +/* APP-NAVIGATION ------------------------------------------------------------*/ + + /* Navigation: folder like structure */ #app-navigation { width: 230px; @@ -17,6 +25,10 @@ background-color: #f8f8f8; border-right: 1px solid #ccc; padding-bottom: 44px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } #app-navigation > ul { position: relative; @@ -166,6 +178,11 @@ + + +/* APP-CONTENT ---------------------------------------------------------------*/ + + /* Part where the content will be loaded into */ #app-content { position: relative; diff --git a/core/css/header.css b/core/css/header.css index 83612c67445..d04895d27cf 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -122,10 +122,6 @@ /* NAVIGATION --------------------------------------------------------------- */ -#content-wrapper { - padding-left: 0; -} - #navigation { position: fixed; top: 45px; diff --git a/core/css/styles.css b/core/css/styles.css index 6eb09e6e942..082a6496a28 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -253,6 +253,10 @@ input[type="submit"].enabled { background: #eee; border-bottom: 1px solid #e7e7e7; z-index: 50; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } #controls .button, #controls button, @@ -272,14 +276,22 @@ input[type="submit"].enabled { display: none; } -#content { position:relative; height:100%; width:100%; } +#content { + position: relative; + height: 100%; + width: 100%; +} #content .hascontrols { position: relative; top: 45px; } #content-wrapper { - position:absolute; height:100%; width:100%; padding-left:80px; padding-top: 45px; - -moz-box-sizing:border-box; box-sizing:border-box; + position: absolute; + height: 100%; + width: 100%; + padding-top: 45px; + -moz-box-sizing:border-box; + box-sizing:border-box; } #emptycontent {