adjust CSS to styleguide, remove left padding, prevent user-selection

This commit is contained in:
Jan-Christoph Borchardt 2014-06-05 13:12:07 +02:00
parent 9e56acbdc9
commit 24641c909e
3 changed files with 33 additions and 8 deletions

View File

@ -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;

View File

@ -122,10 +122,6 @@
/* NAVIGATION --------------------------------------------------------------- */
#content-wrapper {
padding-left: 0;
}
#navigation {
position: fixed;
top: 45px;

View File

@ -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 {