Skip to content

Commit

Permalink
Remove styles from index and move to application.css.
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniew committed Jun 10, 2018
1 parent 3339787 commit 55e201d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
34 changes: 34 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,37 @@ tr.negative {
tr.positive {
background-color: #DFD;
}


/* ONBOARDING MODAL BOX */

.modal-dialog h4.modal-title {
font-family: 'Source Sans Pro',sans-serif;
}

.modal-dialog.onboarding_steps .modal-body,
.modal-dialog.onboarding_steps .modal-footer {
font-family: 'Source Sans Pro',sans-serif;
text-align: center;
}

.modal-dialog.onboarding_steps .modal-body h3 {
margin-top: 30px;
}

.modal-dialog.onboarding_steps .modal-body ul {
list-style: none;
padding: 0;
}

.modal-dialog.onboarding_steps .modal-body li {
line-height: 1.25em;
margin-bottom: 15px;
color: #555;
}

@media (min-width: 768px) {
.modal-dialog.onboarding_steps {
width: 700px;
}
}
35 changes: 0 additions & 35 deletions app/views/partners/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -103,38 +103,3 @@
</div><!-- /.box-body -->
</div><!-- /.box -->
</section><!-- /.content -->


<style>

@media (min-width: 768px) {
.modal-dialog.onboarding_steps {
width: 700px;
}
}

.modal-dialog h4.modal-title {
font-family: 'Source Sans Pro',sans-serif;
}

.modal-dialog.onboarding_steps .modal-body {
font-family: 'Source Sans Pro',sans-serif;
text-align: center;
}
.modal-dialog.onboarding_steps .modal-body h3 {
margin-top: 30px;
}

.modal-dialog.onboarding_steps .modal-body ul {
list-style: none;
padding: 0;
}
.modal-dialog.onboarding_steps .modal-body li {
line-height: 1.25em;
margin-bottom: 15px;
color: #555;
}
.modal-dialog.onboarding_steps .modal-footer {
text-align: center;
}
</style>

0 comments on commit 55e201d

Please sign in to comment.