Skip to content

Commit

Permalink
test bulma v1
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed May 21, 2024
1 parent 6a9c5b2 commit 91093b7
Show file tree
Hide file tree
Showing 8 changed files with 2,091 additions and 6,936 deletions.
34 changes: 31 additions & 3 deletions _sticky-table.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
@use "node_modules/bulma/sass/utilities/css-variables.scss" as cv;

$bulma-sticky-table-zindex: 5 !default;

/*
* Bulma variables
*/

$table-background-color: cv.getVar("scheme-main") !default;

$table-cell-border-color: cv.getVar("border") !default;
$table-cell-border-style: solid !default;
$table-cell-border-width: 0 0 1px !default;

$table-head-background-color: transparent !default;
$table-body-background-color: transparent !default;
$table-foot-background-color: transparent !default;

$table-row-hover-background-color: cv.getVar("scheme-main-bis") !default;
$table-row-active-background-color: cv.getVar("primary") !default;

$table-striped-row-even-background-color: cv.getVar("scheme-main-bis") !default;
$table-striped-row-even-hover-background-color: cv.getVar(
"scheme-main-ter"
) !default;

$navbar-height: 3.25rem !default;

@media screen {
/*
* Fix borders
*/
* Fix borders
*/

.table.has-sticky-column,
.table.has-sticky-footer,
Expand All @@ -19,7 +45,9 @@ $bulma-sticky-table-zindex: 5 !default;
}

&.is-bordered {
border: $table-cell-border;
border-color: $table-cell-border-color;
border-style: $table-cell-border-style;
border-width: $table-cell-border-width;

td,
th {
Expand Down
2 changes: 1 addition & 1 deletion bulma-with-sticky-table.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bulma-with-sticky-table.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import 'node_modules/bulma/bulma';
@import 'node_modules/bulma/bulma.scss';
@import 'sticky-table';
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import gulp from 'gulp';
import dartSass from 'sass';
import * as dartSass from 'sass';
import gulpSass from 'gulp-sass';
const sass = gulpSass(dartSass);
const publicSCSSFunction = () => {
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import gulp from 'gulp'

import dartSass from 'sass'
import * as dartSass from 'sass'
import gulpSass from 'gulp-sass'
const sass = gulpSass(dartSass)

Expand Down
Loading

0 comments on commit 91093b7

Please sign in to comment.