diff options
| author | Mark McArdle | 2013-05-18 13:10:05 +0100 | 
|---|---|---|
| committer | Mark McArdle | 2013-05-18 13:10:05 +0100 | 
| commit | 611919aa0aee261100a3cbfa9ed9b746d56ce3da (patch) | |
| tree | 7a152862409f2f590a858e95c3e29efa4160e216 /rest_framework/static | |
| parent | 2a3056d03844a31373f1e30aec58e70616115838 (diff) | |
| download | django-rest-framework-611919aa0aee261100a3cbfa9ed9b746d56ce3da.tar.bz2 | |
Initial commit of fix for https://github.com/tomchristie/django-rest-framework/issues/775
Diffstat (limited to 'rest_framework/static')
| -rw-r--r-- | rest_framework/static/rest_framework/css/bootstrap-tweaks.css | 159 | ||||
| -rw-r--r-- | rest_framework/static/rest_framework/css/default.css | 149 | 
2 files changed, 159 insertions, 149 deletions
diff --git a/rest_framework/static/rest_framework/css/bootstrap-tweaks.css b/rest_framework/static/rest_framework/css/bootstrap-tweaks.css index c650ef2e..69e1e70d 100644 --- a/rest_framework/static/rest_framework/css/bootstrap-tweaks.css +++ b/rest_framework/static/rest_framework/css/bootstrap-tweaks.css @@ -19,4 +19,163 @@ a single block in the template.  .navbar-inverse .brand:hover a {      color: white;      text-decoration: none; +} + +/* custom navigation styles */ +.wrapper .navbar{ +  width: 100%; +  position: absolute; +  left: 0; +  top: 0; +} + +.navbar .navbar-inner{ +  background: #2C2C2C; +  color: white; +  border: none; +  border-top: 5px solid #A30000; +  border-radius: 0px; +} + +.navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand{ +  color: white; +} + +.nav-list > .active > a, .nav-list > .active > a:hover { +  background: #2c2c2c; +} + +.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ + color: #A30000; +} +.navbar .navbar-inner .dropdown-menu li a:hover{ +  background: #eeeeee; +  color: #c20000; +} + +/*=== dabapps bootstrap styles ====*/ + +html{ +  width:100%; +  background: none; +} + +body, .navbar .navbar-inner .container-fluid { +  max-width: 1150px; +  margin: 0 auto; +} + +body{ +  background: url("../img/grid.png") repeat-x; +  background-attachment: fixed; +} + +#content{ +    margin: 0; +} + +/* sticky footer and footer */ +html, body { +  height: 100%; +} +.wrapper { +  min-height: 100%; +  height: auto !important; +  height: 100%; +  margin: 0 auto -60px; +} + +.form-switcher { +    margin-bottom: 0; +} + +.well { +    -webkit-box-shadow: none; +       -moz-box-shadow: none; +            box-shadow: none; +} + +.well .form-actions { +    padding-bottom: 0; +    margin-bottom: 0; +} + +.well form { +    margin-bottom: 0; +} + +.nav-tabs { +    border: 0; +} + +.nav-tabs > li { +    float: right; +} + +.nav-tabs li a { +    margin-right: 0; +} + +.nav-tabs > .active > a { +    background: #f5f5f5; +} + +.nav-tabs > .active > a:hover { +    background: #f5f5f5; +} + +.tabbable.first-tab-active .tab-content +{ +    border-top-right-radius: 0; +} + +#footer, #push { +  height: 60px; /* .push must be the same height as .footer */ +} + +#footer{ +    text-align: right; +} + +#footer p { +  text-align: center; +  color: gray; +  border-top: 1px solid #DDD; +  padding-top: 10px; +} + +#footer a { +  color: gray; +  font-weight: bold; +} + +#footer a:hover { +  color: gray; +} + +.page-header { +    border-bottom: none; +    padding-bottom: 0px; +    margin-bottom: 20px; +} + +/* custom general page styles */ +.hero-unit h2, .hero-unit h1{ +  color: #A30000; +} + +body a, body a{ +  color: #A30000; +} + +body a:hover{ +  color: #c20000; +} + +#content a span{ +    text-decoration: underline; + } + +.request-info { +    clear:both;  }
\ No newline at end of file diff --git a/rest_framework/static/rest_framework/css/default.css b/rest_framework/static/rest_framework/css/default.css index d806267b..0261a303 100644 --- a/rest_framework/static/rest_framework/css/default.css +++ b/rest_framework/static/rest_framework/css/default.css @@ -69,152 +69,3 @@ pre {      margin-bottom: 20px;  } - -/*=== dabapps bootstrap styles ====*/ - -html{ -  width:100%; -  background: none; -} - -body, .navbar .navbar-inner .container-fluid { -  max-width: 1150px; -  margin: 0 auto; -} - -body{ -  background: url("../img/grid.png") repeat-x; -  background-attachment: fixed; -} - -#content{ -    margin: 0; -} -/* custom navigation styles */ -.wrapper .navbar{ -  width: 100%; -  position: absolute; -  left: 0; -  top: 0; -} - -.navbar .navbar-inner{ -  background: #2C2C2C; -  color: white; -  border: none; -  border-top: 5px solid #A30000; -  border-radius: 0px; -} - -.navbar .navbar-inner .nav li, .navbar .navbar-inner .nav li a, .navbar .navbar-inner .brand{ -  color: white;  -} - -.nav-list > .active > a, .nav-list > .active > a:hover { -  background: #2c2c2c; -} - -.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ - color: #A30000;  -} -.navbar .navbar-inner .dropdown-menu li a:hover{ -  background: #eeeeee; -  color: #c20000; -} - -/* custom general page styles */ -.hero-unit h2, .hero-unit h1{ -  color: #A30000; -} - -body a, body a{ -  color: #A30000; -} - -body a:hover{ -  color: #c20000; -} - -#content a span{ -    text-decoration: underline; - } - -/* sticky footer and footer */ -html, body { -  height: 100%; -} -.wrapper { -  min-height: 100%; -  height: auto !important; -  height: 100%; -  margin: 0 auto -60px; -} - -.form-switcher { -    margin-bottom: 0; -} - -.well { -    -webkit-box-shadow: none; -       -moz-box-shadow: none; -            box-shadow: none; -} - -.well .form-actions { -    padding-bottom: 0; -    margin-bottom: 0; -} - -.well form { -    margin-bottom: 0; -} - -.nav-tabs { -    border: 0; -} - -.nav-tabs > li { -    float: right; -} - -.nav-tabs li a { -    margin-right: 0; -} - -.nav-tabs > .active > a { -    background: #f5f5f5; -} - -.nav-tabs > .active > a:hover { -    background: #f5f5f5; -} - -.tabbable.first-tab-active .tab-content -{ -    border-top-right-radius: 0; -} - -#footer, #push { -  height: 60px; /* .push must be the same height as .footer */ -} - -#footer{ -    text-align: right; -} - -#footer p { -  text-align: center; -  color: gray; -  border-top: 1px solid #DDD; -  padding-top: 10px; -} - -#footer a { -  color: gray; -  font-weight: bold; -} - -#footer a:hover { -  color: gray; -} -  | 
