Browse Source

Slight formatting fixes table, fixes doubling grid spacing

pull/912/head
jlukic 11 years ago
parent
commit
664e352290
2 changed files with 14 additions and 5 deletions
  1. 7
      src/definitions/collections/grid.less
  2. 12
      src/definitions/collections/table.less

7
src/definitions/collections/grid.less

@ -95,8 +95,8 @@ body > .ui.grid {
/* Vertical padding when no rows */
.ui.grid > .column:not(.row) {
margin-top: @rowSpacing;
margin-bottom: @rowSpacing;
margin-top: (@rowSpacing / 2);
margin-bottom: (@rowSpacing / 2);
}
/*-------------------
@ -828,6 +828,9 @@ body > .ui.grid {
.ui.doubling.grid > .row {
display: inline;
}
.ui.doubling.grid > .row > .column {
margin-bottom: @doublingRowSpacing;
}
.ui.two.column.doubling.grid > .row > .column,
.ui.two.column.doubling.grid > .column,
.ui.grid > .two.column.doubling.row > .column {

12
src/definitions/collections/table.less

@ -69,7 +69,7 @@
/* Table Cells */
.ui.table td {
padding: 0.40em 0.7em;
padding: 0.5em 0.7em;
vertical-align: middle;
}
@ -452,6 +452,12 @@
.ui.celled.table.segment td:last-child {
border-right: none;
}
.ui.celled.table.segment tr:first-child td {
border-top: none;
}
.ui.celled.table.segment tr:last-child td {
border-bottom: none;
}
/*--------------
Sortable
@ -534,10 +540,10 @@
padding: 0.5em;
}
.ui.basic.table tbody tr {
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ui.basic.table td {
padding: 0.8em 0.5em;
padding: 0.8em 1em;
}
.ui.basic.table tbody tr:nth-child(2n) {
background-color: transparent !important;

Loading…
Cancel
Save