From 75080fa3bc75a08b25369626b6d92fe3c70a759f Mon Sep 17 00:00:00 2001 From: Maxime Moraine Date: Thu, 7 May 2020 10:55:53 +0200 Subject: [PATCH] fix #19 --- docs/.vuepress/theme/styles/_tables.scss | 37 ++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/theme/styles/_tables.scss b/docs/.vuepress/theme/styles/_tables.scss index 34a1146..afb38db 100644 --- a/docs/.vuepress/theme/styles/_tables.scss +++ b/docs/.vuepress/theme/styles/_tables.scss @@ -75,15 +75,46 @@ table { } } - .data-table { - table { - tbody { + .v-data-table__wrapper { + >table { + >tbody { tr { background-color: #fff; &:hover { background-color: #eee !important; + &.v-data-table__expanded__content { + background-color: #fff !important; + } } td { + thead { + + tr { + background-color: $color-table-header-bg; + color: #fff; + &:hover { + background-color: $color-table-header-bg !important; + } + th { + color: #fff !important; + i { + color: #fff !important; + } + } + } + } + tbody { + tr { + &:nth-of-type(even) { + background-color: $color-light-gray; + } + &:nth-of-type(odd):hover { + background-color: inherit !important; + } + td { + } + } + } } } }