Added em-dash when facet cell is empty.
Other minor visual adjustments. HFJ-1620pull/17/head
parent
a398589c80
commit
a41ecccb9a
|
@ -222,7 +222,7 @@ var H5PDataView = (function ($) {
|
||||||
facets += '<span class="h5p-facet" role="button" tabindex="0" data-id="' + input.id + '" data-col="' + col + '">' + input.title + '</span>';
|
facets += '<span class="h5p-facet" role="button" tabindex="0" data-id="' + input.id + '" data-col="' + col + '">' + input.title + '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return facets;
|
return facets === '' ? '—' : facets;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -257,8 +257,8 @@ button.h5p-admin.disabled:hover {
|
||||||
}
|
}
|
||||||
.h5p-data-view input[type="text"] {
|
.h5p-data-view input[type="text"] {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
.h5p-data-view input[type="text"]::-ms-clear {
|
.h5p-data-view input[type="text"]::-ms-clear {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -299,10 +299,11 @@ button.h5p-admin.disabled:hover {
|
||||||
box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);
|
box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);
|
||||||
}
|
}
|
||||||
.h5p-data-view .h5p-facet-wrapper {
|
.h5p-data-view .h5p-facet-wrapper {
|
||||||
line-height: 27px;
|
line-height: 23px;
|
||||||
}
|
}
|
||||||
.h5p-data-view .h5p-facet-tag {
|
.h5p-data-view .h5p-facet-tag {
|
||||||
margin-left: 10px;
|
margin: 2px 0 0 0.5em;
|
||||||
|
font-size: 12px;
|
||||||
background: #e8e8e8;
|
background: #e8e8e8;
|
||||||
border: 1px solid #cbcbcc;
|
border: 1px solid #cbcbcc;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
Loading…
Reference in New Issue