Skip to content

Commit

Permalink
🌞 bulma table & loading container fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed Aug 14, 2022
1 parent 18ea812 commit 7bd5f97
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 17 deletions.
8 changes: 4 additions & 4 deletions components/shared/Loader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
</div>
<br />
<div class="pl-4 pr-4">
<b-icon size="is-large" icon="lightbulb" class="funfact-icon" />
<b-icon
size="is-large"
icon="lightbulb"
class="has-text-primary-light" />
<div class="question">{{ randomFunFactQuestion }}</div>
</div>
</div>
Expand Down Expand Up @@ -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;
}
Expand Down
20 changes: 7 additions & 13 deletions styles/derived-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand All @@ -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);
Expand All @@ -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;
Expand All @@ -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;

Expand Down
25 changes: 25 additions & 0 deletions styles/themes/light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 7bd5f97

Please sign in to comment.