Browse Source

Add fixes for table

pull/3704/head
Jack Lukic 9 years ago
parent
commit
21768696e4
3 changed files with 23 additions and 3 deletions
  1. 2
      RELEASE-NOTES.md
  2. 15
      src/definitions/collections/table.less
  3. 9
      src/themes/default/collections/table.variables

2
RELEASE-NOTES.md

@ -8,9 +8,11 @@
- **API** - Fixes bug where `beforeSend` would not correctly cancel request when `return false;` is used in callback. #3660 - **API** - Fixes bug where `beforeSend` would not correctly cancel request when `return false;` is used in callback. #3660
- **Modal** - Fixes issue where RGB values set for dimmer `background-color` werent being correctly interpreted #3665 **Thanks @larsbo** - **Modal** - Fixes issue where RGB values set for dimmer `background-color` werent being correctly interpreted #3665 **Thanks @larsbo**
- **Form** - Fixed use of deprecated `size()` method in `prompt` #3655 **Thanks @SimonArdrey** - **Form** - Fixed use of deprecated `size()` method in `prompt` #3655 **Thanks @SimonArdrey**
-**Table** - Fixed issue where `striped selectable` table would not correctly show hover color on striped rows
**Enhancements** **Enhancements**
- **Build Tools** - Added new `autoInstall` option to allow for Semantic to be installed without user interaction. See [docs explanation]() for how to use. #3616 **Thanks @algorithme** - **Build Tools** - Added new `autoInstall` option to allow for Semantic to be installed without user interaction. See [docs explanation]() for how to use. #3616 **Thanks @algorithme**
-**Table** - Added more granular variablaes for controlling style on first column in a `definition table`
### Version 2.1.8 - Jan 7, 2016 ### Version 2.1.8 - Jan 7, 2016

15
src/definitions/collections/table.less

@ -272,8 +272,15 @@
background: @definitionColumnBackground; background: @definitionColumnBackground;
font-weight: @definitionColumnFontWeight; font-weight: @definitionColumnFontWeight;
color: @definitionColumnColor; color: @definitionColumnColor;
text-transform: @definitionColumnTextTransform;
box-shadow: @definitionColumnBoxShadow;
text-align: @definitionColumnTextAlign;
font-size: @definitionColumnFontSize;
padding-left: @definitionColumnHorizontalPadding;
padding-right: @definitionColumnHorizontalPadding;
} }
/* Fix 2nd Column */ /* Fix 2nd Column */
.ui.definition.table thead:not(.full-width) th:nth-child(2) { .ui.definition.table thead:not(.full-width) th:nth-child(2) {
border-left: @borderWidth solid @borderColor; border-left: @borderWidth solid @borderColor;
@ -599,6 +606,12 @@
background-color: @invertedStripedBackground; background-color: @invertedStripedBackground;
} }
/* Allow striped active hover */
.ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
background: @activeHoverBackgroundColor !important;
color: @activeColor !important;
}
/*-------------- /*--------------
Single Line Single Line
---------------*/ ---------------*/
@ -1098,4 +1111,4 @@
font-size: @large; font-size: @large;
} }
.loadUIOverrides();
.loadUIOverrides();

9
src/themes/default/collections/table.variables

@ -90,8 +90,13 @@
@definitionFooterFontWeight: @definitionHeaderFontWeight; @definitionFooterFontWeight: @definitionHeaderFontWeight;
@definitionColumnBackground: @subtleTransparentBlack; @definitionColumnBackground: @subtleTransparentBlack;
@definitionColumnColor: @selectedTextColor;
@definitionColumnFontWeight: bold; @definitionColumnFontWeight: bold;
@definitionColumnColor: @selectedTextColor;
@definitionColumnFontSize: @relativeMedium;
@definitionColumnTextTransform: '';
@definitionColumnBoxShadow: '';
@definitionColumnTextAlign: '';
@definitionColumnHorizontalPadding: '';
/*-------------- /*--------------
@ -238,4 +243,4 @@
/* Sizes */ /* Sizes */
@small: 0.9em; @small: 0.9em;
@medium: 1em; @medium: 1em;
@large: 1.1em;
@large: 1.1em;
Loading…
Cancel
Save