mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
overhaul nav and shit again
- drop the index pages save for examples - comment out the extend section for now - fix up spacing fix on team list
This commit is contained in:
parent
ea803e55ff
commit
e615ae053c
@ -1,18 +1,13 @@
|
|||||||
- title: Getting started
|
- title: Getting started
|
||||||
pages:
|
pages:
|
||||||
|
- title: Overview
|
||||||
- title: Download
|
- title: Download
|
||||||
sections:
|
|
||||||
- title: Precompiled
|
|
||||||
- title: Source
|
|
||||||
- title: Bower
|
|
||||||
- title: npm
|
|
||||||
- title: Contents
|
- title: Contents
|
||||||
- title: JavaScript
|
- title: JavaScript
|
||||||
- title: Compiling
|
- title: Compiling
|
||||||
- title: Customize
|
- title: Customize
|
||||||
- title: Flexbox
|
- title: Flexbox
|
||||||
- title: Support
|
- title: Support
|
||||||
# - title: Third party support
|
|
||||||
- title: Accessibility
|
- title: Accessibility
|
||||||
|
|
||||||
- title: Layout
|
- title: Layout
|
||||||
@ -21,117 +16,27 @@
|
|||||||
- title: Media queries
|
- title: Media queries
|
||||||
- title: Containers
|
- title: Containers
|
||||||
- title: Grid
|
- title: Grid
|
||||||
sections:
|
|
||||||
- title: Introduction
|
|
||||||
- title: Media queries
|
|
||||||
- title: Grid options
|
|
||||||
- title: Semantic mixins
|
|
||||||
- title: Ex Stacked to horizontal
|
|
||||||
- title: Ex Fluid container
|
|
||||||
- title: Ex Mobile and desktop
|
|
||||||
- title: Ex Mobile tablet desktops
|
|
||||||
- title: Ex Column wrapping
|
|
||||||
- title: Ex Responsive column resets
|
|
||||||
- title: Ex Offsetting columns
|
|
||||||
- title: Ex Nesting columns
|
|
||||||
- title: Ex Column ordering
|
|
||||||
- title: Media
|
- title: Media
|
||||||
- title: Responsive utilities
|
- title: Responsive utilities
|
||||||
sections:
|
|
||||||
- title: Viewports
|
|
||||||
- title: Print
|
|
||||||
- title: Test cases
|
|
||||||
|
|
||||||
- title: Components
|
- title: Components
|
||||||
pages:
|
pages:
|
||||||
- title: Reboot
|
- title: Reboot
|
||||||
sections:
|
|
||||||
- title: Approach
|
|
||||||
- title: Page defaults
|
|
||||||
- title: Headings and paragraphs
|
|
||||||
- title: Lists
|
|
||||||
- title: Preformatted text
|
|
||||||
- title: Tables
|
|
||||||
- title: Forms
|
|
||||||
- title: Misc elements
|
|
||||||
- title: Typography
|
- title: Typography
|
||||||
sections:
|
|
||||||
# - title: Scale
|
|
||||||
- title: Global settings
|
|
||||||
- title: Headings
|
|
||||||
- title: Lead
|
|
||||||
- title: Inline text elements
|
|
||||||
- title: Abbreviations
|
|
||||||
- title: Blockquotes
|
|
||||||
- title: Lists
|
|
||||||
- title: Images
|
- title: Images
|
||||||
- title: Code
|
- title: Code
|
||||||
sections:
|
|
||||||
- title: Inline code
|
|
||||||
- title: Preformatted text
|
|
||||||
- title: Variables
|
|
||||||
- title: User input
|
|
||||||
- title: Sample output
|
|
||||||
- title: Tables
|
- title: Tables
|
||||||
- title: Buttons
|
- title: Buttons
|
||||||
sections:
|
|
||||||
- title: Examples
|
|
||||||
- title: Button tags
|
|
||||||
- title: Sizes
|
|
||||||
- title: Active state
|
|
||||||
- title: Disabled state
|
|
||||||
# - title: JavaScript behavior
|
|
||||||
- title: Custom states
|
|
||||||
- title: Single toggle
|
|
||||||
- title: Checkbox and radio
|
|
||||||
- title: Methods
|
|
||||||
- title: Button group
|
- title: Button group
|
||||||
- title: Button dropdown
|
- title: Button dropdown
|
||||||
- title: Forms
|
- title: Forms
|
||||||
sections:
|
|
||||||
- title: Form controls
|
|
||||||
- title: Form groups
|
|
||||||
- title: Inline forms
|
|
||||||
- title: Using the Grid
|
|
||||||
- title: Checkboxes and radios
|
|
||||||
- title: Static controls
|
|
||||||
- title: Focus state
|
|
||||||
- title: Disabled state
|
|
||||||
- title: Readonly inputs
|
|
||||||
- title: Validation
|
|
||||||
- title: Control sizing
|
|
||||||
- title: Column sizing
|
|
||||||
- title: Help text
|
|
||||||
- title: Custom forms
|
|
||||||
# - title: Checkboxes and radios
|
|
||||||
# - title: Select menu
|
|
||||||
# - title: File browser
|
|
||||||
- title: Input group
|
- title: Input group
|
||||||
sections:
|
|
||||||
- title: Basic example
|
|
||||||
- title: Sizing
|
|
||||||
- title: Checkboes and radio buttons
|
|
||||||
- title: Button addons
|
|
||||||
- title: Buttons with dropdowns
|
|
||||||
- title: Segmented buttons
|
|
||||||
- title: Accessibility
|
|
||||||
- title: Dropdowns
|
- title: Dropdowns
|
||||||
- title: Jumbotron
|
- title: Jumbotron
|
||||||
- title: Badges
|
- title: Badges
|
||||||
- title: Label
|
- title: Label
|
||||||
- title: Alerts
|
- title: Alerts
|
||||||
- title: Card
|
- title: Card
|
||||||
sections:
|
|
||||||
- title: Basic example
|
|
||||||
- title: Text alignment
|
|
||||||
- title: Header and footer
|
|
||||||
- title: Image caps
|
|
||||||
- title: Image overlays
|
|
||||||
- title: Inverted text
|
|
||||||
- title: Background variants
|
|
||||||
- title: Groups
|
|
||||||
- title: Sets
|
|
||||||
- title: Columns
|
|
||||||
- title: Navs
|
- title: Navs
|
||||||
- title: Navbar
|
- title: Navbar
|
||||||
- title: Breadcrumb
|
- title: Breadcrumb
|
||||||
@ -145,19 +50,6 @@
|
|||||||
- title: Collapse
|
- title: Collapse
|
||||||
- title: Carousel
|
- title: Carousel
|
||||||
- title: Utilities
|
- title: Utilities
|
||||||
sections:
|
|
||||||
- title: Text alignment
|
|
||||||
- title: Text transform
|
|
||||||
- title: Contextual colors
|
|
||||||
- title: Contextual backgrounds
|
|
||||||
- title: Close icon
|
|
||||||
- title: Floats
|
|
||||||
- title: Center content
|
|
||||||
- title: Hidden content
|
|
||||||
- title: Invisible content
|
|
||||||
- title: Screen readers
|
|
||||||
- title: Image replacement
|
|
||||||
- title: Responsive embed
|
|
||||||
|
|
||||||
- title: Examples
|
- title: Examples
|
||||||
pages:
|
pages:
|
||||||
@ -179,11 +71,10 @@
|
|||||||
- title: Sticky footer with navbar
|
- title: Sticky footer with navbar
|
||||||
- title: Offcanvas
|
- title: Offcanvas
|
||||||
|
|
||||||
- title: Extend
|
# - title: Extend
|
||||||
pages:
|
# pages:
|
||||||
- title: Approach
|
# - title: Approach
|
||||||
- title: Icon fonts
|
# - title: Icon fonts
|
||||||
# - title: Accessibility
|
|
||||||
|
|
||||||
- title: About
|
- title: About
|
||||||
pages:
|
pages:
|
||||||
@ -192,6 +83,5 @@
|
|||||||
- title: Brand
|
- title: Brand
|
||||||
- title: License
|
- title: License
|
||||||
- title: Translations
|
- title: Translations
|
||||||
# - title: Credits
|
|
||||||
|
|
||||||
- title: Migration
|
- title: Migration
|
||||||
|
@ -23,7 +23,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="bd-toc-item {{ active }}">
|
<div class="bd-toc-item {{ active }}">
|
||||||
<a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/">
|
{% if slug == "examples" %}
|
||||||
|
<a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/">
|
||||||
|
{% else %}
|
||||||
|
<a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}">
|
||||||
|
{% endif %}
|
||||||
{{ group.title }}
|
{{ group.title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<a class="bd-header-mark hidden-xs-down" href="{{ site.baseurl }}">Bootstrap 4 Alpha</a>
|
<a class="bd-header-mark hidden-xs-down" href="{{ site.baseurl }}">Bootstrap 4 Alpha</a>
|
||||||
|
|
||||||
<nav class="nav nav-pills bd-header-nav">
|
<nav class="nav nav-pills bd-header-nav">
|
||||||
<a class="nav-link" href="{{ site.baseurl }}/getting-started/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
<a class="nav-link" href="{{ site.baseurl }}/getting-started/overview/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
||||||
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
|
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
|
||||||
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
|
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
layout: page
|
|
||||||
title: About
|
|
||||||
---
|
|
||||||
|
|
||||||
todo: this entire page
|
|
@ -3,20 +3,25 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.bd-team {
|
.bd-team {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
|
||||||
.team-member {
|
.team-member {
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-member:hover {
|
.team-member:hover {
|
||||||
color: #333;
|
color: #333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.github-btn {
|
.github-btn {
|
||||||
float: right;
|
float: right;
|
||||||
width: 180px;
|
width: 180px;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
margin-top: .25rem;
|
margin-top: .25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
float: left;
|
float: left;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
|
@ -1,57 +0,0 @@
|
|||||||
---
|
|
||||||
layout: page
|
|
||||||
title: Components
|
|
||||||
---
|
|
||||||
|
|
||||||
## Reboot
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/reboot">Reboot</a>
|
|
||||||
|
|
||||||
## Type
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/typography">Typography</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/code">Code</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/tables">Tables</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/images">Images</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/jumbotron">Jumbotron</a>
|
|
||||||
|
|
||||||
## Buttons
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/buttons">Buttons</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/button-group">Button group</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/button-dropdown">Button dropdown</a>
|
|
||||||
|
|
||||||
## Forms
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/forms">Forms</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/input-groups">Input group</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/progress">Progress</a>
|
|
||||||
|
|
||||||
## Navigation
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/navs">Navs</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/navbar">Navbar</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/breadcrumb">Breadcrumb</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/pagination">Pagination</a>
|
|
||||||
|
|
||||||
## Components
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/label">Label</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/badges">Badges</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/dropdowns">Dropdowns</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/alerts">Alerts</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/card">Card</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/list-group">List group</a>
|
|
||||||
|
|
||||||
## JavaScript
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/modal">Modal</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/scrollspy">Scrollspy</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/tooltips">Tooltips</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/popovers">Popovers</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/collapse">Collapse</a>
|
|
||||||
- <a href="{{ site.baseurl }}/components/carousel">Carousel</a>
|
|
||||||
|
|
||||||
## Utilities
|
|
||||||
|
|
||||||
- <a href="{{ site.baseurl }}/components/utilities">Utilities</a>
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
layout: page
|
|
||||||
title: Layout
|
|
||||||
---
|
|
||||||
|
|
||||||
todo: this entire page
|
|
Loading…
Reference in New Issue
Block a user