Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/vendor/bulma/sass/elements/table.sass')
-rw-r--r--assets/vendor/bulma/sass/elements/table.sass32
1 files changed, 22 insertions, 10 deletions
diff --git a/assets/vendor/bulma/sass/elements/table.sass b/assets/vendor/bulma/sass/elements/table.sass
index d0e94e5..48d7d93 100644
--- a/assets/vendor/bulma/sass/elements/table.sass
+++ b/assets/vendor/bulma/sass/elements/table.sass
@@ -1,7 +1,7 @@
-$table-color: $grey-darker !default
-$table-background-color: $white !default
+$table-color: $text-strong !default
+$table-background-color: $scheme-main !default
-$table-cell-border: 1px solid $grey-lighter !default
+$table-cell-border: 1px solid $border !default
$table-cell-border-width: 0 0 1px !default
$table-cell-padding: 0.5em 0.75em !default
$table-cell-heading-color: $text-strong !default
@@ -11,16 +11,20 @@ $table-head-cell-color: $text-strong !default
$table-foot-cell-border-width: 2px 0 0 !default
$table-foot-cell-color: $text-strong !default
-$table-row-hover-background-color: $white-bis !default
+$table-head-background-color: transparent !default
+$table-body-background-color: transparent !default
+$table-foot-background-color: transparent !default
+
+$table-row-hover-background-color: $scheme-main-bis !default
$table-row-active-background-color: $primary !default
$table-row-active-color: $primary-invert !default
-$table-striped-row-even-background-color: $white-bis !default
-$table-striped-row-even-hover-background-color: $white-ter !default
+$table-striped-row-even-background-color: $scheme-main-bis !default
+$table-striped-row-even-hover-background-color: $scheme-main-ter !default
.table
- +block
+ @extend %block
background-color: $table-background-color
color: $table-color
td,
@@ -47,9 +51,12 @@ $table-striped-row-even-hover-background-color: $white-ter !default
a,
strong
color: currentColor
+ &.is-vcentered
+ vertical-align: middle
th
color: $table-cell-heading-color
- text-align: left
+ &:not([align])
+ text-align: inherit
tr
&.is-selected
background-color: $table-row-active-background-color
@@ -62,16 +69,19 @@ $table-striped-row-even-hover-background-color: $white-ter !default
border-color: $table-row-active-color
color: currentColor
thead
+ background-color: $table-head-background-color
td,
th
border-width: $table-head-cell-border-width
color: $table-head-cell-color
tfoot
+ background-color: $table-foot-background-color
td,
th
border-width: $table-foot-cell-border-width
color: $table-foot-cell-color
tbody
+ background-color: $table-body-background-color
tr
&:last-child
td,
@@ -98,7 +108,9 @@ $table-striped-row-even-hover-background-color: $white-ter !default
tbody
tr:not(.is-selected)
&:hover
- background-color: $table-striped-row-even-hover-background-color
+ background-color: $table-row-hover-background-color
+ &:nth-child(even)
+ background-color: $table-striped-row-even-hover-background-color
&.is-narrow
td,
th
@@ -110,7 +122,7 @@ $table-striped-row-even-hover-background-color: $white-ter !default
background-color: $table-striped-row-even-background-color
.table-container
- +block
+ @extend %block
+overflow-touch
overflow: auto
overflow-y: hidden