Browse Source

Fixes celled table headers and darkens headers across ui table

pull/2229/head
jlukic 11 years ago
parent
commit
11153b04e1
1 changed files with 19 additions and 13 deletions
  1. 32
      src/collections/table.less

32
src/collections/table.less

@ -41,10 +41,13 @@
.ui.table thead { .ui.table thead {
border-bottom: 1px solid rgba(0, 0, 0, 0.03); border-bottom: 1px solid rgba(0, 0, 0, 0.03);
} }
.ui.table tfoot th {
background-color: rgba(0, 0, 0, 0.03);
}
.ui.table th { .ui.table th {
cursor: auto; cursor: auto;
background-color: rgba(0, 0, 0, 0.03);
background-color: rgba(0, 0, 0, 0.1);
text-align: left; text-align: left;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
@ -156,19 +159,23 @@
---------------*/ ---------------*/
/* Sortable */ /* Sortable */
.ui.sortable.table thead th:hover {
background-image: none;
color: rgba(0, 0, 0, 0.8);
}
.ui.sortable.table th.disabled:hover { .ui.sortable.table th.disabled:hover {
cursor: auto; cursor: auto;
background-color: rgba(0, 0, 0, 0.1);
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
} }
.ui.sortable.table thead th:hover {
background-color: rgba(0, 0, 0, 0.13);
color: rgba(0, 0, 0, 0.8);
}
/* Inverted Sortable */
.ui.inverted.sortable.table thead th:hover {
background-color: rgba(255, 255, 255, 0.13);
color: rgba(255, 255, 255, 1);
}
/*-------------- /*--------------
@ -432,18 +439,17 @@
border: none; border: none;
} }
.ui.celled.table th, .ui.celled.table th,
.ui.celled.table tbody td {
.ui.celled.table td {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
} }
/* Coupling with segment */ /* Coupling with segment */
.ui.celled.table.segment th {
border: none;
}
.ui.celled.table.segment tbody td:first-child {
.ui.celled.table.segment th:first-child,
.ui.celled.table.segment td:first-child {
border-left: none; border-left: none;
} }
.ui.celled.table.segment tbody td:last-child {
.ui.celled.table.segment th:last-child,
.ui.celled.table.segment td:last-child {
border-right: none; border-right: none;
} }

Loading…
Cancel
Save