Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browse page styling and hello text #97

Merged
merged 3 commits into from
May 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 32 additions & 27 deletions public/sass/browse.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
.browse {
.panel {
margin: 0;
}
overflow-x: hidden;

.panel-body {
padding: 15px 0;
}
.panel {
margin: 0;
}

.panel-heading {
cursor: pointer;
p {
display: inline;
}
}
.form-group {
display: inline-block;
vertical-align: top;
min-width: 200px;
}
.filters {
border-bottom: 1px solid gray;
margin-bottom: 15px;
}
.btn {
padding: 2px 5px;
box-shadow: none;
}
.load-btn {
float: right;
.panel-body {
padding: 15px 0;
}

.panel-heading {
cursor: pointer;
p {
display: inline;
}
}
.form-group {
display: inline-block;
vertical-align: top;
min-width: 200px;
}
.filters {
border-bottom: 1px solid gray;
margin-bottom: 15px;
}
.btn {
padding: 2px 5px;
box-shadow: none;
}
.load-btn {
float: right;
}
.plan-rows {
margin-bottom: 10px;
}
}
2 changes: 1 addition & 1 deletion public/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@
margin-top: -5px;
padding: 10px;
font-size: 24px;
}
}
2 changes: 1 addition & 1 deletion public/views/browse.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Public Plans</h1>
</div>
</div>
</div>
<div class="row">
<div class="row plan-rows">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default" ng-repeat="plan in plans | planFilter:filters"
ng-class="{ 'panel-primary': $parent.selectedPlan === plan }">
Expand Down
4 changes: 2 additions & 2 deletions public/views/empty-view.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container" id="empty-view">
<h3>To get started, click "Add Year" below</h3>
<h3>You could also try clicking <b>Browse</b> and selecting someone else's shared plan</h3>
<h3>To get started, click "Add Year" below.</h3>
<h3>If you log in, you can <a href="/browse"><b>Browse</b></a> and select someone else's shared plan.</h3>
</div>