diff options
author | 2017-09-28 03:47:54 -0400 | |
---|---|---|
committer | 2017-09-28 05:15:01 -0400 | |
commit | 0cf6b232ac9cf128ee9183a27c08f4f74ab2e2e6 (patch) | |
tree | 7be233b8f8f65fa968c7b93f1d1e75b691952ed9 /cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less | |
parent | 63c2e2aa4b8d86349a767f611123ceafc19fa6d6 (diff) |
add api&web services for cvp
JIRA: DOVETAIL-512
add api&web services for cvp
Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less b/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less new file mode 100644 index 00000000..0f287f1a --- /dev/null +++ b/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/table-row.less @@ -0,0 +1,28 @@ +// Tables + +.table-row-variant(@state; @background) { + // Exact selectors below required to override `.table-striped` and prevent + // inheritance to nested tables. + .table > thead > tr, + .table > tbody > tr, + .table > tfoot > tr { + > td.@{state}, + > th.@{state}, + &.@{state} > td, + &.@{state} > th { + background-color: @background; + } + } + + // Hover states for `.table-hover` + // Note: this is not available for cells or rows within `thead` or `tfoot`. + .table-hover > tbody > tr { + > td.@{state}:hover, + > th.@{state}:hover, + &.@{state}:hover > td, + &:hover > .@{state}, + &.@{state}:hover > th { + background-color: darken(@background, 5%); + } + } +} |