diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index d1109e1a5..bc5456167 100644 --- a/RELEASE-NOTES.md +++ b/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 - **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** +-**Table** - Fixed issue where `striped selectable` table would not correctly show hover color on striped rows **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** +-**Table** - Added more granular variablaes for controlling style on first column in a `definition table` ### Version 2.1.8 - Jan 7, 2016 diff --git a/src/definitions/collections/table.less b/src/definitions/collections/table.less index b9d83971a..5dd817eb9 100755 --- a/src/definitions/collections/table.less +++ b/src/definitions/collections/table.less @@ -272,8 +272,15 @@ background: @definitionColumnBackground; font-weight: @definitionColumnFontWeight; color: @definitionColumnColor; + text-transform: @definitionColumnTextTransform; + box-shadow: @definitionColumnBoxShadow; + text-align: @definitionColumnTextAlign; + font-size: @definitionColumnFontSize; + padding-left: @definitionColumnHorizontalPadding; + padding-right: @definitionColumnHorizontalPadding; } + /* Fix 2nd Column */ .ui.definition.table thead:not(.full-width) th:nth-child(2) { border-left: @borderWidth solid @borderColor; @@ -599,6 +606,12 @@ 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 ---------------*/ @@ -1098,4 +1111,4 @@ font-size: @large; } -.loadUIOverrides(); \ No newline at end of file +.loadUIOverrides(); diff --git a/src/themes/default/collections/table.variables b/src/themes/default/collections/table.variables index 69d555835..4660f6ce1 100644 --- a/src/themes/default/collections/table.variables +++ b/src/themes/default/collections/table.variables @@ -90,8 +90,13 @@ @definitionFooterFontWeight: @definitionHeaderFontWeight; @definitionColumnBackground: @subtleTransparentBlack; -@definitionColumnColor: @selectedTextColor; @definitionColumnFontWeight: bold; +@definitionColumnColor: @selectedTextColor; +@definitionColumnFontSize: @relativeMedium; +@definitionColumnTextTransform: ''; +@definitionColumnBoxShadow: ''; +@definitionColumnTextAlign: ''; +@definitionColumnHorizontalPadding: ''; /*-------------- @@ -238,4 +243,4 @@ /* Sizes */ @small: 0.9em; @medium: 1em; -@large: 1.1em; \ No newline at end of file +@large: 1.1em;