Browse Source

Fix table active hover color, fix top/botom margins

pull/1009/head
jlukic 10 years ago
parent
commit
3c0931b95b
1 changed files with 13 additions and 5 deletions
  1. 18
      src/definitions/collections/table.less

18
src/definitions/collections/table.less

@ -32,13 +32,21 @@
box-shadow: @boxShadow; box-shadow: @boxShadow;
border-radius: @borderRadius; border-radius: @borderRadius;
color: @color; color: @color;
}
.ui.table {
border-collapse: @borderCollapse; border-collapse: @borderCollapse;
border-spacing: @borderSpacing; border-spacing: @borderSpacing;
} }
.ui.table:first-child {
margin-top: 0em;
}
.ui.table:last-child {
margin-bottom: 0em;
}
/*******************************
Parts
*******************************/
/* Table Content */ /* Table Content */
.ui.table th, .ui.table th,
.ui.table td { .ui.table td {
@ -284,8 +292,8 @@
.ui.table tr.active:hover td, .ui.table tr.active:hover td,
.ui.table td:hover.active, .ui.table td:hover.active,
.ui.table th:hover.active { .ui.table th:hover.active {
background: @warningBackgroundHover !important;
color: @warningColorHover !important;
background: @activeBackgroundColor !important;
color: @activeColor !important;
} }

Loading…
Cancel
Save