Added fix to the css

This commit is contained in:
Raynaldo Rivera 2014-10-23 00:47:15 -07:00
parent e86b36f987
commit 1dac6bbaa5
5 changed files with 10 additions and 203 deletions

View File

@ -1,105 +0,0 @@
/*
* Base structure
*/
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
}
/*
* Global add-ons
*/
.sub-header {
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
/*
* Top navigation
* Hide default border to remove 1px line.
*/
.navbar-fixed-top {
border: 0;
}
/*
* Sidebar
*/
/* Hide for mobile, show later */
.sidebar {
display: none;
}
@media (min-width: 768px) {
.sidebar {
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1000;
display: block;
padding: 20px;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
background-color: #f5f5f5;
border-right: 1px solid #eee;
}
}
/* Sidebar navigation */
.nav-sidebar {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
margin-left: -20px;
}
.nav-sidebar > li > a {
padding-right: 20px;
padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
color: #fff;
background-color: #428bca;
}
/*
* Main content
*/
.main {
padding: 20px;
}
@media (min-width: 768px) {
.main {
padding-right: 40px;
padding-left: 40px;
}
}
.main .page-header {
margin-top: 0;
}
/*
* Placeholder dashboard ideas
*/
.placeholders {
margin-bottom: 30px;
text-align: center;
}
.placeholders h4 {
margin-bottom: 0;
}
.placeholder {
margin-bottom: 20px;
}
.placeholder img {
display: inline-block;
border-radius: 50%;
}

View File

@ -1 +0,0 @@
.arrow{float:right}.glyphicon.arrow:before{content:"\e079"}.active>a>.glyphicon.arrow:before{content:"\e114"}.fa.arrow:before{content:"\f104"}.active>a>.fa.arrow:before{content:"\f107"}.plus-times{float:right}.fa.plus-times:before{content:"\f067"}.active>a>.fa.plus-times{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.plus-minus{float:right}.fa.plus-minus:before{content:"\f067"}.active>a>.fa.plus-minus:before{content:"\f068"}

View File

@ -25,6 +25,7 @@ body {
margin: 0 0 0 250px;
padding: 0 30px;
border-left: 1px solid #e7e7e7;
overflow: hidden;}
}
}

View File

@ -1,85 +0,0 @@
body
{
font-family: 'Lato', 'sans-serif';
}
.profile
{
min-height: 150px;
width: 450px;
display: inline-block;
}
figcaption.ratings
{
margin-top:20px;
}
figcaption.ratings a
{
color:#f1c40f;
font-size:11px;
}
figcaption.ratings a:hover
{
color:#f39c12;
text-decoration:none;
}
.divider
{
border-top:1px solid rgba(0,0,0,0.1);
}
.emphasis
{
border-top: 4px solid transparent;
}
.emphasis:hover
{
border-top: 4px solid #1abc9c;
}
.emphasis h2
{
margin-bottom:0;
}
span.tags
{
background: #1abc9c;
border-radius: 2px;
color: #f5f5f5;
font-weight: bold;
padding: 2px 4px;
}
.dropdown-menu
{
background-color: #34495e;
box-shadow: none;
-webkit-box-shadow: none;
width: 250px;
margin-left: -125px;
left: 50%;
}
.dropdown-menu .divider
{
background:none;
}
.dropdown-menu>li>a
{
color:#f5f5f5;
}
.dropup .dropdown-menu
{
margin-bottom:10px;
}
.dropup .dropdown-menu:before
{
content: "";
border-top: 10px solid #34495e;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
position: absolute;
bottom: -10px;
left: 50%;
margin-left: -10px;
z-index: 10;
}
.fixed_button_width {
width: 78px !important;
}

View File

@ -13,22 +13,19 @@
<div class="container-fluid">
<div class="col-md-6 col-md-offset-3">
{% if generated != "" %}
<div class="row">
{% if generated != "" %}
<textarea class="form-control" rows="10" cols="60">{{ generated }}
</textarea>
{% else %}
<div style="height: 400px;overflow:-moz-scrollbars-vertical;overflow-y:auto;">
<form class="form-signin" role="form" action="" method="POST">
{% csrf_token %}
{{ form|bootstrap }}
</div>
<br/>
<button class="btn btn-lg btn-primary btn-block" type="submit">Format</button>
</form>
</div>
{% endif %}
<form class="form-signin" role="form" action="" method="POST">
{% csrf_token %}
{{ form|bootstrap}}
<br/>
<button class="btn btn-lg btn-primary btn-block" type="submit">Format</button>
<br/>
</form>
</div>
</div>
</div>
</div>