Forráskód Böngészése

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 éve
szülő
commit
2fed27a83d
1 módosított fájl, 6 hozzáadás és 0 törlés
  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
     &.is-narrow
       white-space: nowrap
       white-space: nowrap
       width: 1%
       width: 1%
+    &.is-selected
+      background-color: $table-row-active-background-color
+      color: $table-row-active-color
+      a,
+      strong
+        color: currentColor
   th
   th
     color: $table-cell-heading-color
     color: $table-cell-heading-color
     text-align: left
     text-align: left