mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -07:00
Docs/variables data (#1314)
* Replace variables.json with colors.json and update related files accordingly * Add variables data files * Update variables include template and all related files to use new variables data * Fix mobile breakpoint id typo in responsivness docs page * Fix Liquid syntax error in made-with-bulma docs page * Update bulma sass files count in modular docs page * Use breakpoints data in responsiveness helpers docs page * Use breakpoints and variables data in typography helpers docs page * Add missing page titles in docs pages front matter
This commit is contained in:
@@ -1,64 +1,8 @@
|
||||
---
|
||||
title: Navbar
|
||||
layout: documentation
|
||||
doc-tab: components
|
||||
doc-subtab: navbar
|
||||
variables:
|
||||
- name: $navbar-background-color
|
||||
value: $white
|
||||
- name: $navbar-height
|
||||
value: 3.25rem
|
||||
- name: $navbar-item-color
|
||||
value: $grey-dark
|
||||
- name: $navbar-item-hover-color
|
||||
value: $black
|
||||
- name: $navbar-item-hover-background-color
|
||||
value: $background
|
||||
- name: $navbar-item-active-color
|
||||
value: $black
|
||||
- name: $navbar-item-active-background-color
|
||||
value: transparent
|
||||
- name: $navbar-item-img-max-height
|
||||
value: 1.75rem
|
||||
- name: $navbar-tab-hover-background-color
|
||||
value: transparent
|
||||
- name: $navbar-tab-hover-border-bottom-color
|
||||
value: $primary
|
||||
- name: $navbar-tab-active-color
|
||||
value: $primary
|
||||
- name: $navbar-tab-active-background-color
|
||||
value: transparent
|
||||
- name: $navbar-tab-active-border-bottom-color
|
||||
value: $primary
|
||||
- name: $navbar-tab-active-border-bottom-style
|
||||
value: solid
|
||||
- name: $navbar-tab-active-border-bottom-width
|
||||
value: 3px
|
||||
- name: $navbar-dropdown-background-color
|
||||
value: $white
|
||||
- name: $navbar-dropdown-border-top
|
||||
value: 1px solid $border
|
||||
- name: $navbar-dropdown-offset
|
||||
value: -4px
|
||||
- name: $navbar-dropdown-arrow
|
||||
value: $link
|
||||
- name: $navbar-dropdown-radius
|
||||
value: $radius-large
|
||||
- name: $navbar-dropdown-z
|
||||
value: 20
|
||||
- name: $navbar-dropdown-boxed-radius
|
||||
value: $radius-large
|
||||
- name: $navbar-dropdown-boxed-shadow
|
||||
value: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
|
||||
- name: $navbar-dropdown-item-hover-color
|
||||
value: $black
|
||||
- name: $navbar-dropdown-item-hover-background-color
|
||||
value: $background
|
||||
- name: $navbar-dropdown-item-active-color
|
||||
value: $primary
|
||||
- name: $navbar-dropdown-item-active-background-color
|
||||
value: $background
|
||||
- name: $navbar-divider-background-color
|
||||
value: $border
|
||||
---
|
||||
|
||||
{% include subnav-components.html %}
|
||||
@@ -1072,7 +1016,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
{% include examples/navbar-color.html color="white" light=true %}
|
||||
</div>
|
||||
|
||||
{% include variables.html %}
|
||||
{% include variables.html type='component' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user