Commit b88046eb by Carlton Gibson

Merge pull request #1788 from cezar77/fix-1719

Browsable API cleanups. Fixes #1719
parents 2536b93c 53808892
...@@ -6,7 +6,6 @@ a single block in the template. ...@@ -6,7 +6,6 @@ a single block in the template.
*/ */
.form-actions { .form-actions {
background: transparent; background: transparent;
border-top-color: transparent; border-top-color: transparent;
...@@ -14,7 +13,7 @@ a single block in the template. ...@@ -14,7 +13,7 @@ a single block in the template.
} }
.navbar-inverse .brand a { .navbar-inverse .brand a {
color: #999; color: #999999;
} }
.navbar-inverse .brand:hover a { .navbar-inverse .brand:hover a {
color: white; color: white;
...@@ -22,14 +21,15 @@ a single block in the template. ...@@ -22,14 +21,15 @@ a single block in the template.
} }
/* custom navigation styles */ /* custom navigation styles */
.wrapper .navbar{ .navbar {
width: 100%; width: 100%;
position: absolute; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
z-index: 3;
} }
.navbar .navbar-inner{ .navbar .navbar-inner {
background: #2C2C2C; background: #2C2C2C;
color: white; color: white;
border: none; border: none;
...@@ -37,25 +37,26 @@ a single block in the template. ...@@ -37,25 +37,26 @@ a single block in the template.
border-radius: 0px; border-radius: 0px;
} }
.navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand:hover{ .navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand:hover {
color: white; color: white;
} }
.nav-list > .active > a, .nav-list > .active > a:hover { .nav-list > .active > a, .nav-list > .active > a:hover {
background: #2c2c2c; background: #2C2C2C;
} }
.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ .navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li {
color: #A30000; color: #A30000;
} }
.navbar .navbar-inner .dropdown-menu li a:hover{
background: #eeeeee; .navbar .navbar-inner .dropdown-menu li a:hover {
color: #c20000; background: #EEEEEE;
color: #C20000;
} }
/*=== dabapps bootstrap styles ====*/ /*=== dabapps bootstrap styles ====*/
html{ html {
width:100%; width:100%;
background: none; background: none;
} }
...@@ -65,24 +66,28 @@ body, .navbar .navbar-inner .container-fluid { ...@@ -65,24 +66,28 @@ body, .navbar .navbar-inner .container-fluid {
margin: 0 auto; margin: 0 auto;
} }
body{ body {
background: url("../img/grid.png") repeat-x; background: url("../img/grid.png") repeat-x;
background-attachment: fixed; background-attachment: fixed;
} }
#content{ #content {
margin: 0; margin: 0;
padding-bottom: 60px;
} }
/* sticky footer and footer */ /* sticky footer and footer */
html, body { html, body {
height: 100%; height: 100%;
} }
.wrapper { .wrapper {
position: relative;
top: 0;
left: 0;
padding-top: 60px;
margin: -60px 0;
min-height: 100%; min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -60px;
} }
.form-switcher { .form-switcher {
...@@ -105,7 +110,7 @@ html, body { ...@@ -105,7 +110,7 @@ html, body {
} }
.well form .help-block { .well form .help-block {
color: #999; color: #999999;
} }
.nav-tabs { .nav-tabs {
...@@ -121,39 +126,41 @@ html, body { ...@@ -121,39 +126,41 @@ html, body {
} }
.nav-tabs > .active > a { .nav-tabs > .active > a {
background: #f5f5f5; background: #F5F5F5;
} }
.nav-tabs > .active > a:hover { .nav-tabs > .active > a:hover {
background: #f5f5f5; background: #F5F5F5;
} }
.tabbable.first-tab-active .tab-content .tabbable.first-tab-active .tab-content {
{
border-top-right-radius: 0; border-top-right-radius: 0;
} }
#footer, #push { footer {
height: 60px; /* .push must be the same height as .footer */ position: absolute;
} bottom: 0;
left: 0;
#footer{ clear: both;
text-align: right; z-index: 10;
height: 60px;
width: 95%;
margin: 0 2.5%;
} }
#footer p { footer p {
text-align: center; text-align: center;
color: gray; color: gray;
border-top: 1px solid #DDD; border-top: 1px solid #DDDDDD;
padding-top: 10px; padding-top: 10px;
} }
#footer a { footer a {
color: gray; color: gray !important;
font-weight: bold; font-weight: bold;
} }
#footer a:hover { footer a:hover {
color: gray; color: gray;
} }
...@@ -164,19 +171,19 @@ html, body { ...@@ -164,19 +171,19 @@ html, body {
} }
/* custom general page styles */ /* custom general page styles */
.hero-unit h2, .hero-unit h1{ .hero-unit h1, .hero-unit h2 {
color: #A30000; color: #A30000;
} }
body a, body a{ body a {
color: #A30000; color: #A30000;
} }
body a:hover{ body a:hover {
color: #c20000; color: #c20000;
} }
#content a span{ #content a span {
text-decoration: underline; text-decoration: underline;
} }
......
...@@ -33,7 +33,7 @@ h2, h3 { ...@@ -33,7 +33,7 @@ h2, h3 {
} }
ul.breadcrumb { ul.breadcrumb {
margin: 58px 0 0 0; margin: 80px 0 0 0;
} }
form select, form input, form textarea { form select, form input, form textarea {
...@@ -43,6 +43,7 @@ form select, form input, form textarea { ...@@ -43,6 +43,7 @@ form select, form input, form textarea {
form select[multiple] { form select[multiple] {
height: 150px; height: 150px;
} }
/* To allow tooltips to work on disabled elements */ /* To allow tooltips to work on disabled elements */
.disabled-tooltip-shield { .disabled-tooltip-shield {
position: absolute; position: absolute;
...@@ -68,4 +69,3 @@ pre { ...@@ -68,4 +69,3 @@ pre {
padding-bottom: 0px; padding-bottom: 0px;
margin-bottom: 20px; margin-bottom: 20px;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment