Chart.js/docs/.vuepress/styles/index.styl
Evert Timberg ed2b96eeaf
Switch docs to Vuepress to match other chart.js repositories (#8751)
* Initial work

* Update doc commands

* Updated sidebar config

* Move docs

* Update theme version and enable

* Convert to chart.js sample

* Update scripts to point to local build

* Chart.js from local build

* Simplify getting-started example

* Axis docs updated except for imported content

* Common ticks import works

* Chart type docs ported to editor plugin

* Last pages to use editor

* Fix small errors

* Frontmatter title to heading

* Remove duplicate example

* Update sidebar

* Add paths

* Remove paths

* Add getting-started back

* Update menus and add copyright to license section of the docs

* Add GA plugin

* Style sub-groups

* Remove unneeded license page since it is covered on the main page

* Remove docusaurus readme page

* Remove docusaurus files

* Fix issues in docs

* Build and deploy scripts for docs work

* Conditional base URL for nice local testing

* Use eslint-plugin-markdown

* Remove hard coded lines

* Remove mentions of docusaurus

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2021-03-30 10:32:39 -04:00

37 lines
890 B
Stylus

@require '~vuepress-plugin-tabs/dist/themes/default.styl'
.sidebar-group.is-sub-group.depth-1
> .sidebar-group-items
border-left 1px solid rgba($accentColor, 0.25)
> .sidebar-heading:not(.open)
border-left 1px solid rgba($accentColor, 0.25)
margin-left: 0
> .sidebar-heading
padding-left calc(1.475rem - 1px)
transition border-color .25s
padding 0.35rem 1.475rem
border-left-width 3px
margin-left -1px
font-size 1em
line-height 1.4
opacity 1 !important
&.active, &.open
border-left-color $accentColor
color $accentColor
font-weight bold
>.arrow
display none
>.sidebar-group-items
padding-left: 0
.sidebar-group.is-sub-group.depth-1:hover .sidebar-heading:not(.open)
color $accentColor
margin-left -1px
border-left 3px solid rgba($accentColor, 0.25)
padding-left calc(1.475rem - 1px)