]> source.dussan.org Git - nextcloud-server.git/commitdiff
more whitespace WIP
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 9 Jul 2013 18:19:25 +0000 (20:19 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 9 Jul 2013 20:04:21 +0000 (22:04 +0200)
core/css/styles.css

index 154f73f27a77153f6ee70994ade6377a9bb3bbad..1eb55aea78a4f2abbf0bc4db53b401a5639a4e6c 100644 (file)
@@ -148,7 +148,7 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
 #content { position:relative; height:100%; width:100%; }
 #content .hascontrols { position: relative; top: 2.9em; }
 #content-wrapper {
-       position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:64px;
+       position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:80px;
        -moz-box-sizing:border-box; box-sizing:border-box;
 }
 #leftcontent, .leftcontent {
@@ -274,16 +274,29 @@ li.update, li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; bac
 
 /* NAVIGATION ------------------------------------------------------------- */
 #navigation {
-       position:fixed; float:left; width:64px; padding-top:3.5em; z-index:75; height:100%;
+       position: fixed;
+       float: left;
+       width: 80px;
+       padding-top: 3.5em;
+       z-index: 75;
+       height: 100%;
        background:#383c43 url('../img/noise.png') repeat;
        -moz-box-shadow:0 0 7px #000; -webkit-box-shadow:0 0 7px #000; box-shadow:0 0 7px #000;
        overflow:hidden; box-sizing:border-box; -moz-box-sizing:border-box;
 }
-#navigation:hover { overflow-y:auto; } /* show scrollbar only on hover */
+#navigation:hover {
+       overflow-y: auto; /* show scrollbar only on hover */
+}
+#navigation li {
+       padding: 6px 0; /* some whitespace between apps */
+}
 #navigation a span {
-       display:block;
-       text-decoration:none; font-size:10px; text-align:center;
-       color:#fff; text-shadow:#000 0 -1px 0;
+       display: block;
+       text-decoration: none;
+       font-size: 11px;
+       text-align: center;
+       color: #fff;
+       text-shadow: #000 0 -1px 0;
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* ellipsize long app names */
 }
 
@@ -309,12 +322,12 @@ li.update, li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; bac
                filter: alpha(opacity=100);
                opacity: 1;
        }
-
-       /* positioning */
        #navigation .icon {
-               display:block;
-               width:32px; height:32px;
-               margin:0 16px 0; padding:8px 0 4px;
+               display: block;
+               width: 32px;
+               height: 32px;
+               margin-left: 24px;
+               padding: 8px 0 4px;
        }
        #navigation li:first-child a { padding-top:16px; }
 
@@ -472,7 +485,7 @@ div.crumb:active {
 
 /* Navigation: folder like structure */
 #app-navigation {
-       width: 250px;
+       width: 300px;
        height: 100%;
        float: left;
        -moz-box-sizing: border-box; box-sizing: border-box;
@@ -491,7 +504,8 @@ div.crumb:active {
        text-shadow: 0 1px 0 rgba(255,255,255,.9);
 }
 #app-navigation .active,
-#app-navigation .active a { /* active navigation entry or folder */
+#app-navigation .active a,
+#app-navigation li:hover > a {
        background-color: #ddd;
        text-shadow: 0 1px 0 rgba(255,255,255,.7);
 }
@@ -502,36 +516,35 @@ div.crumb:active {
 }
 
 #app-navigation .with-icon a {
-       padding-left: 32px;
-       background-size: 16px 16px; background-position: 10px center; background-repeat: no-repeat;
+       padding-left: 44px;
+       background-size: 16px 16px;
+       background-position: 14px center;
+       background-repeat: no-repeat;
 }
 
 #app-navigation li > a {
        display: block;
        width: 100%;
-       padding: 0 16px;
+       height: 44px;
+       padding-top: 12px;
        overflow: hidden;
        -moz-box-sizing: border-box; box-sizing: border-box;
-       line-height: 32px;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #333;
 }
-#app-navigation li:hover > a {
-       background-color: #ddd;
-}
 
 #app-navigation .collapse {
        display: none; /* hide collapse button intially */
 }
 #app-navigation .collapsible > .collapse {
        position: absolute;
-       left: 6px;
-       top: 5px;
-       height: 16px;
-       width: 16px;
+       height: 44px;
+       width: 44px;
+       margin: 0;
+       padding: 0;
        background: none; background-image: url('../img/actions/triangle-s.svg');
-       background-size: 16px 16px; background-repeat: no-repeat;
+       background-size: 16px 16px; background-repeat: no-repeat; background-position: center;
        border: none;
        border-radius: 0;
        outline: none !important;