Commit 8c83b52d authored by Eric Poirier's avatar Eric Poirier
Browse files

Update styles for projects page


Signed-off-by: Eric Poirier's avatarEric Poirier <eric.poirier@eclipse-foundation.org>
parent 36983ccd
......@@ -12,10 +12,10 @@
<section class="first row-fluid" id="projects">
<div class="row" id="project-list">
<div class="col-md-16 col-md-offset-4 search-and-sort">
<div class="col-md-16 col-md-offset-4 search-and-sort margin-top-30">
<input type="text" class="form-control search center-block" placeholder="Start typing to filter projects…">
<div class="margin-top-30 margin-bottom-20">
<p>Sort by:</p>
<p class="margin-bottom-0">Sort by:</p>
<button class="btn btn-xs sort btn-secondary " data-sort="downloads">
Downloads
</button>
......
......@@ -97,9 +97,20 @@ img[src*="#img-responsive"] {
}
#project-list {
hr {
margin-top:30px;
margin-bottom:30px;
}
.logo {
max-width:150px;
max-height:80px;
margin-bottom:30px;
}
.media p {
margin-bottom:10px;
font-size:16px;
.badge {
font-size:12px;
}
}
}
......@@ -14784,8 +14784,19 @@ img[src*="#img-responsive"] {
min-width: 180px;
max-width: 180px;
}
#project-list hr {
margin-top: 30px;
margin-bottom: 30px;
}
#project-list .logo {
max-width: 150px;
max-height: 80px;
margin-bottom: 30px;
}
#project-list .media p {
margin-bottom: 10px;
font-size: 16px;
}
#project-list .media p .badge {
font-size: 12px;
}
......@@ -265,7 +265,7 @@ var project_state_aliases = {
projectInfo.labels = '';
for (var k in projectsAssociation) {
if (projectsAssociation[k][value.id]) {
projectInfo.labels += ' ' + ' <span class="label label-warning">' + k + '</span>'
projectInfo.labels += ' ' + ' <span class="badge">' + k + '</span>'
}
}
......@@ -302,8 +302,8 @@ var project_state_aliases = {
<p class="downloads" style="display:none;"></p>\
<div class="col-md-24"><p>Monthly downloads: <span class="badge downloadsHuman">50K+</span></a></p></div>\
<div class="col-md-24"><p>Latest release: <span class="badge version">1.4</span></a></p></div>\
<div class="col-md-24"><p>Project status: <span class="badge project_state">Incubating</span></a></p></div>\
<div class="col-md-24"><p><a class="btn btn-sm btn-info downloadUrl" href="#">Getting Started</a></p></div>\
<div class="col-md-24 margin-bottom-10"><p>Project status: <span class="badge project_state">Incubating</span></a></p></div>\
<div class="col-md-24"><p><a class="btn btn-sm btn-primary downloadUrl" href="#">Getting Started</a></p></div>\
</div></div>\
</div>\
</div></div>\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment