Skip to content

Commit

Permalink
Fix panels height
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4501 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
ionmx committed Mar 18, 2010
1 parent be1f939 commit 65536c5
Showing 1 changed file with 56 additions and 14 deletions.
70 changes: 56 additions & 14 deletions static/css/CTK.css
Expand Up @@ -52,12 +52,12 @@ ul {list-style: none;}
/* General styles
*/
html { height: 100%; }
body { background: #def url(/static/images/bg-bar.png) top left repeat-x; font-family: Helvetica, Arial, Tahoma, sans-serif; font-size: 12px; color: #000; text-align: center; height: 100%; }
body { background: #def url(/static/images/bg-body.png) top center repeat-y; font-family: Helvetica, Arial, Tahoma, sans-serif; font-size: 12px; color: #000; text-align: center; }
a { color: #27c; }
a:hover { color: #c00; text-decoration: underline; }
a:active { outline: none; }
a:focus { -moz-outline-style: none; }
h1 { color: #c00; font-weight: normal; padding: 16px 0; font-size: 20px; }
h1 { color: #c00; font-weight: normal; padding: 16px 0 16px 16px; font-size: 20px; }
h2 { color: #666; font-weight: normal; padding: 8px 0; font-size: 18px; }

/* Form Styles
Expand All @@ -72,8 +72,9 @@ select { border: 1px solid #b0bfce; ibackground: #fff; padding: 2px; outline: no
*/
html>body #container { min-height: 100%; }
#container { width: 960px; margin: 0 auto; text-align: left; height: 100%; }
#topbar { background: #fff url(/static/images/bg-bar.png) top left repeat-x; }
#main { background: #fff; border: 1px solid #cde; padding: 0 0 8px 0; margin: 0; }
#topbar-container { background: #def url(/static/images/bg-bar.png) top left repeat-x; }
#topbar { background: #fff url(/static/images/bg-bar.png) top left repeat-x; width: 960px; margin: 0 auto; text-align: left; }
#main { background: #fff; padding: 0; margin: 0; }

#nav { float: right; padding:0; font-size: 11px; }
#nav li {float: left; margin: 0;padding: 0;text-align: center; width: 64px; height: 50px; }
Expand All @@ -92,6 +93,7 @@ html>body #container { min-height: 100%; }
#body-vservers #nav-vservers a { background: transparent url(/static/images/nav-selected.gif) no-repeat center 47px; }
#nav-advanced { background: transparent url(/static/images/advanced.png) no-repeat center 6px; }
#body-advanced #nav-advanced a { background: transparent url(/static/images/nav-selected.gif) no-repeat center 47px; }
#body-source { overflow: hidden; }

/* JQuery Helpers
*/
Expand Down Expand Up @@ -173,8 +175,9 @@ a.button:active span, button:active .button-inner {
*/
.propstable { width: 100%; }
.propstable .entry { padding: 8px 0; }
.propstable .entry .title { float: left; width: 240px; padding-top: 6px; }
.propstable .entry .comment { text-align: left; color: #888; font: 90%; }
.propstable .entry .title { float: left; width: 240px; padding-top: 6px; font-weight: bold; }
.propstable .entry .notice { display: none; }
.propstable .entry .comment { text-align: left; color: #999; font: 11px; padding: 4px 0; }

/* Optional text entries
*/
Expand All @@ -186,7 +189,7 @@ a.button:active span, button:active .button-inner {
#help {
position: absolute;
width: 964px;
padding-top: 22px;
padding-top: 10px;
}

a.helpbutton {
Expand Down Expand Up @@ -339,8 +342,7 @@ a.helpbutton span {
color: #3b3929;
height: 32px;
border: none;
border-left: 1px solid #edd400;
border-right: 1px solid #edd400;
border-bottom: 1px solid #edd400;
display: none;
}

Expand All @@ -352,41 +354,81 @@ a.helpbutton span {
.panel {
border: 1px solid #cde;
border-left: none;
background-color: #def;
background-color: #f0f7ff;
width: 240px;
float: left;
height: 400px;
}

.panel h2 {
padding-left: 16px;
font-size: 16px;
color: #27c;
text-shadow: #fff 0px 1px 0px;
}

#source_panel {
background: #fff;
height: 320px;
margin: 2px;
border: 1px solid #cde;
overflow: auto;
overflow-x: hidden;
}

.panel table {
background-color: #fff;
border-collapse: collapse;
width: 100%;
}

.panel table tr td {
background-color: #fff;
border-bottom: 1px solid #cde;
}

.panel-buttons {
height: 48px;
padding: 8px;
}

.dragHandle {
width: 18px;
cursor: move;
background: transparent url(/CTK/images/arrow_ns.png) center center no-repeat;
cursor: move;
}

.row_content {
padding: 4px;
}

.panel-selected {
background-color: #27c;
color: #fff;
}

.source_content {
width: 600px;
.source_content {
width: 719px;
padding: 0;
float: right;
background-color: #f0f7ff;
}
.source_content h2 {
padding-left: 16px;
color: #27c;
text-shadow: #fff 0px 1px 0px;
font-size: 16px;
}

.source_content .submitter {
padding-left: 16px;
background-color: #fff;
border-top: 1px solid #cde;
overflow: auto;
}

/* Information sources */
.nick { font-weight: bold; float: left; }
.type { font-size: 11px; border: 1px solid #cde; background-color: #def; float: right; padding: 1px;}
.host { clear: both; color: #999; font-size: 11px; white-space: nowrap; width: 200px;}
.inter { color: #999; font-size: 11px; white-space: nowrap; width: 200px; }

0 comments on commit 65536c5

Please sign in to comment.