浏览代码

Allow is-selected class on <td> and <th> tags (#1380)

* Allow is-active class on <td> and <th> tags

* Fix incorrect selectors
Philip White 7 年之前
父节点
当前提交
2fed27a83d
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      sass/elements/table.sass

+ 6 - 0
sass/elements/table.sass

@@ -41,6 +41,12 @@ $table-striped-row-even-hover-background-color: $white-ter !default
     &.is-narrow
       white-space: nowrap
       width: 1%
+    &.is-selected
+      background-color: $table-row-active-background-color
+      color: $table-row-active-color
+      a,
+      strong
+        color: currentColor
   th
     color: $table-cell-heading-color
     text-align: left