Skip to content

Commit

Permalink
Change margins and columns for org list and view
Browse files Browse the repository at this point in the history
  • Loading branch information
abkruse committed Dec 30, 2016
1 parent 623e329 commit 638ccbf
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
11 changes: 9 additions & 2 deletions members/static/css/members.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ p {
}

/* Body */
.row.main {
margin-bottom: 0;
}

.messages {
margin-top: 3%;
}
Expand Down Expand Up @@ -714,7 +718,7 @@ textarea#id_bio {
}

.org-list {
padding-left: 5%;
margin-left: 5%;
}

.org-card {
Expand Down Expand Up @@ -1915,6 +1919,7 @@ footer.sticky-footer {
}

@media only screen and (max-width: 1100px) {

p.pf-input.form-url.col.s6.offset-s2, p.cap-label.col.s6.offset-s2 {
margin-left: 0;
}
Expand All @@ -1940,7 +1945,6 @@ footer.sticky-footer {
width: 2%;
}


#profile_form, #registration_form {
margin-left: 2%;
min-width: 600px;
Expand Down Expand Up @@ -1968,6 +1972,9 @@ footer.sticky-footer {
.eModal-content {
margin-top: 10%;
}
.org-list {
margin-left: 10%;
}
}


Expand Down
4 changes: 2 additions & 2 deletions members/templates/members/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h2 id='add-event-header'>Add Event to Public Calendar</h2>
<script>
$(document).ready(function() {
$('.button-collapse').sideNav();

$('.timepicker').timepicker({
timeFormat: 'h:mm p',
interval: 30,
Expand Down Expand Up @@ -211,7 +211,7 @@ <h2 id='add-event-header'>Add Event to Public Calendar</h2>
center: 'title',
right: 'month,basicWeek,basicDay'
};
options.defaultView = 'basicWeek';
options.defaultView = 'listWeek';
} else {
options.header = {
left: 'prev,next today',
Expand Down
11 changes: 10 additions & 1 deletion members/templates/members/org_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@
{% block sub-title %}Organization | {% endblock %}

{% block style %}
@media only screen and (max-width: 1100px) {
.row .col.offset-s1.s10 {
margin-left: 0;
}

.row .col.s10 {
width: 100%;
}
}
{% endblock %}

{% block content %}
<h3 class='oswald' style='text-align:center;'>Organizations at {{ site.name }}</h3>
<div class='ui-widget row'>
<form class='col s12 m7 l7 offset-m6 offset-l6' id='org-search-form' action="." method='POST'>
{% csrf_token %}
<input class='col s9' id='org-search' name='terms' type='text' placeholder="Search for an Organization" />
<input class='col s8' id='org-search' name='terms' type='text' placeholder="Search for an Organization" />
<input class='btn search-btn col s3 m2 l2' type='submit' value='Search' />
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion members/templates/members/org_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
position: absolute;
}

.row {
.row {
margin-bottom: 0;
}
}
Expand Down

0 comments on commit 638ccbf

Please sign in to comment.