Skip to content

Commit 31e0a81

Browse files
committed
Merge pull request #368 from MDCox/v0.2.1
Clustering controls has uniform styling
2 parents 9d537c1 + 10d2643 commit 31e0a81

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

app/scripts/alchemy/clustering/clustering.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ class alchemy.clustering
6363
alchemy.clusterControls =
6464
init: ()->
6565
changeClusterHTML = """
66-
<h4>Cluster By:</h4>
67-
<input class='form-control' id='cluster-key' placeholder="Cluster Key"></input>
66+
<input class='form-control form-inline' id='cluster-key' placeholder="Cluster Key"></input>
6867
"""
6968
d3.select("#clustering-container")
7069
.append("div")
7170
.attr("id", "cluster-key-container")
71+
.attr('class', 'property form-inline form-group')
7272
.html(changeClusterHTML)
7373
.style("display", "none")
7474

app/styles/_controls.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,19 @@
290290

291291
#clustering {
292292
padding: 0.5em 1em;
293+
cursor: pointer;
294+
color: white;
295+
border-bottom: thin dashed #E89619;
293296
#cluster_control_header, #cluster-key-container {
294297
padding: 10px 10px 0 10px;
295298
}
299+
#cluster-key {
300+
color: #333;
301+
background-color: #000;
302+
border-radius: 4px;
303+
border: thin solid #333;
304+
text-align: center;
305+
display: inline-block;
306+
width: 100%;
307+
}
296308
}

site/app/styles/_landing.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ hr{
231231
}
232232

233233
#nav-tabs{
234-
height: 95px;
235234
display: block;
236235
}
237236

0 commit comments

Comments
 (0)