From 7bd5f97ce4c4a0ee9406d607cde0b0ad39b2f2e2 Mon Sep 17 00:00:00 2001 From: roiLeo Date: Sun, 14 Aug 2022 14:40:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9E=20bulma=20table=20&=20loading=20co?= =?UTF-8?q?ntainer=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/shared/Loader.vue | 8 ++++---- styles/derived-variables.scss | 20 +++++++------------- styles/themes/light.scss | 25 +++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/components/shared/Loader.vue b/components/shared/Loader.vue index 501b9191dd..3788e9887d 100644 --- a/components/shared/Loader.vue +++ b/components/shared/Loader.vue @@ -9,7 +9,10 @@
- +
{{ randomFunFactQuestion }}
@@ -106,9 +109,6 @@ export default class Loader extends Vue { border-bottom: 1px solid #fff; padding: 0.5rem 1rem; } -.funfact-icon { - color: $primary-light; -} .question { min-height: 70px; } diff --git a/styles/derived-variables.scss b/styles/derived-variables.scss index 5feaa0362d..ab710760dd 100644 --- a/styles/derived-variables.scss +++ b/styles/derived-variables.scss @@ -19,8 +19,7 @@ $success: $green; // $light: $white-ter; $dark: $black; -// // Invert colors - +// Invert colors // $orange-invert: findColorInvert($orange); // $yellow-invert: findColorInvert($yellow); // $green-invert: findColorInvert($green); @@ -48,9 +47,8 @@ $dark: $black; // $light-invert: findColorInvert($light); // $dark-invert: findColorInvert($dark); -// // General colors +// General colors $scheme-main: #181717; -// $scheme-main: $black; $scheme-main-bis: $black-bis; $scheme-main-ter: $black-ter; $scheme-invert: $white; @@ -67,23 +65,20 @@ $text-light-theme: #1f1f1f; // $border-light: $grey-lightest; // $border-light-hover: $grey-light; -// // Text colors - +// Text colors $text: #f8f4f6; // $text-invert: findColorInvert($text); // $text-light: $grey; // $text-strong: $grey-darker; -// // Code colors - +// Code colors // $code: darken($red, 15%); // $code-background: $background; // $pre: $text; // $pre-background: $background; -// // Link colors - +// Link colors $link: #fff; // $link: $primary; // $link-invert: findColorInvert($link); @@ -100,8 +95,7 @@ $link-hover: $primary; // $link-active: $grey-darker; // $link-active-border: $grey-dark; -// // Typography - +// Typography $family-primary: $family-monospace; // $family-secondary: $family-sans-serif; // $family-code: $family-monospace; @@ -111,7 +105,7 @@ $family-primary: $family-monospace; // $size-medium: $size-5; // $size-large: $size-4; -// // Lists and maps +// Lists and maps // $custom-colors: null; // $custom-shades: null; diff --git a/styles/themes/light.scss b/styles/themes/light.scss index dee681fd90..fea3667e7d 100644 --- a/styles/themes/light.scss +++ b/styles/themes/light.scss @@ -159,4 +159,29 @@ html.light-mode { color: $primary; } } + + .table { + color: $text-light-theme; + background-color: #fff; + + &.is-hoverable tbody tr:not(.is-selected):hover { + background-color: hsl(0deg, 0%, 92%); + } + + th { + color: hsl(0deg, 0%, 8%); + } + } + + .b-table .table-wrapper.has-sticky-header tr:first-child th { + background-color: #fff; + } + + .loading-container { + background: rgba(243, 243, 243, 0.88); + + .funfact-text { + color: $text-light-theme; + } + } }