Skip to content

Commit

Permalink
added a dl support #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Dessì authored and s.puddu committed Nov 13, 2013
1 parent 4270f04 commit 634d87a
Showing 1 changed file with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* dl used as list/table
========================
<div class="dl-list">
<dl class="dl-horizontal dl-striped panel">
<dt class="hidden-sm">Key</dt>
<dd>MY_LABEL</dd>
<dt><abbr title="English">english</abbr></dt>
<dd>Label</dd>
<dt><abbr title="Italiano">italiano</abbr></dt>
<dd>Etichetta</dd>
<dt class="noscreen">Actions</dt>
<dd>
<button class="btn btn-default btn-small"><span class="icon icont-edit">Edit</span></button>
<button class="btn btn-default btn-small"><span class="icon icont-remove">Delete</span></button>
</dd>
</dl>
[........]
</div>
*/

.dl-list > :nth-child(even) {
background-color: #dddddd;
}

.dl-striped > dd {
font-weight: bold;
}
.dl-striped > dt {
font-weight: normal;
}

@media (max-width: 768px) {
.dl-striped > dt {
padding-top: 0.4em;
vertical-align: bottom;
}

.dl-striped > dd {
padding-bottom: 0.4em;
vertical-align: top;
}

}

0 comments on commit 634d87a

Please sign in to comment.