Skip to content

Commit

Permalink
jaegertracing#730 Upgrade bulma to 1.0.2
Browse files Browse the repository at this point in the history
Use dartsass transpiler because bulma no longer supports
the hugo default libsass.
Remove semicolon at end of indented lines because of build errors.

Signed-off-by: Miroljub Enjakovic <[email protected]>
  • Loading branch information
EpicGuy4000 committed Sep 2, 2024
1 parent f302d14 commit c895202
Show file tree
Hide file tree
Showing 151 changed files with 93,958 additions and 13,251 deletions.
11 changes: 6 additions & 5 deletions themes/jaeger-docs/assets/sass/article.sass
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* Rules for the main "article" sections of page domains (docs, download, taxonomies, etc.) */
@import "bulma/sass/utilities/mixins"
@import "variables"

.notification .content
Expand Down Expand Up @@ -39,11 +40,11 @@
// Scroll to the right position from anchors
// https://tscanlin.github.io/tocbot/#fixed-headers
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before
display: block;
content: " ";
height: 120px;
margin-top: -120px;
visibility: hidden;
display: block
content: " "
height: 120px
margin-top: -120px
visibility: hidden

// Styling for code samples inside normal text
p, h1, h2, h3, h4 ,h5, h6, li, a
Expand Down
36 changes: 18 additions & 18 deletions themes/jaeger-docs/assets/sass/copy-button.sass
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
.copy-code-button
color: #272822;
background-color: #FFF;
border-color: #272822;
border: 2px solid;
border-radius: 3px 3px 0px 0px;
color: #272822
background-color: #FFF
border-color: #272822
border: 2px solid
border-radius: 3px 3px 0px 0px

/* right-align */
display: block;
margin-left: auto;
margin-top: -1.25em;
margin-right: -1.25em;
margin-bottom: -1.0em;
padding: 3px 8px;
font-size: 0.8em;
display: block
margin-left: auto
margin-top: -1.25em
margin-right: -1.25em
margin-bottom: -1.0em
padding: 3px 8px
font-size: 0.8em


.copy-code-button:hover
cursor: pointer;
background-color: #F2F2F2;
cursor: pointer
background-color: #F2F2F2


.copy-code-button:focus

background-color: #E6E6E6;
outline: 0;
background-color: #E6E6E6
outline: 0


.copy-code-button:active
background-color: #D9D9D9;
background-color: #D9D9D9


.highlight pre
/* Avoid pushing up the copy buttons. */
margin: 0;
margin: 0
2 changes: 1 addition & 1 deletion themes/jaeger-docs/assets/sass/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
@import "toc"
@import "ukraine"

@import "bulma-tooltip/dist/css/bulma-tooltip"
@import "bulma-tooltip/dist/css/bulma-tooltip.min"
@import "latest-articles"
4 changes: 2 additions & 2 deletions themes/jaeger-docs/layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{{ $sass := "sass/style.sass" }}
{{ $target := "css/style.css" }}
{{ $includePaths := (slice "node_modules") }}
{{ $cssDevOpts := (dict "targetPath" $target "includePaths" $includePaths "enableSourceMap" true) }}
{{ $cssProdOpts := (dict "targetPath" $target "includePaths" $includePaths "outputStyle" "compressed") }}
{{ $cssDevOpts := (dict "targetPath" $target "includePaths" $includePaths "enableSourceMap" true "transpiler" "dartsass") }}
{{ $cssProdOpts := (dict "targetPath" $target "includePaths" $includePaths "outputStyle" "compressed" "transpiler" "dartsass") }}
{{ $isDocs := eq .Section "docs" }}
{{ if $isDocs }}
<link rel="stylesheet" href="/css/tocbot.css">
Expand Down
19 changes: 19 additions & 0 deletions themes/jaeger-docs/node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 29 additions & 59 deletions themes/jaeger-docs/node_modules/bulma-tooltip/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c895202

Please sign in to comment.