mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 13:59:36 -07:00
Do elements
This commit is contained in:
@@ -40,10 +40,50 @@
|
|||||||
"name": "Elements",
|
"name": "Elements",
|
||||||
"path": "/documentation/elements"
|
"path": "/documentation/elements"
|
||||||
},
|
},
|
||||||
"button": {
|
"elements-box": {
|
||||||
|
"name": "Box",
|
||||||
|
"path": "/documentation/elements/box"
|
||||||
|
},
|
||||||
|
"elements-button": {
|
||||||
"name": "Button",
|
"name": "Button",
|
||||||
"path": "/documentation/elements/button"
|
"path": "/documentation/elements/button"
|
||||||
},
|
},
|
||||||
|
"elements-content": {
|
||||||
|
"name": "Content",
|
||||||
|
"path": "/documentation/elements/content"
|
||||||
|
},
|
||||||
|
"elements-delete": {
|
||||||
|
"name": "Delete",
|
||||||
|
"path": "/documentation/elements/delete"
|
||||||
|
},
|
||||||
|
"elements-icon": {
|
||||||
|
"name": "Icon",
|
||||||
|
"path": "/documentation/elements/icon"
|
||||||
|
},
|
||||||
|
"elements-image": {
|
||||||
|
"name": "Image",
|
||||||
|
"path": "/documentation/elements/image"
|
||||||
|
},
|
||||||
|
"elements-notification": {
|
||||||
|
"name": "Notification",
|
||||||
|
"path": "/documentation/elements/notification"
|
||||||
|
},
|
||||||
|
"elements-progress": {
|
||||||
|
"name": "Progress bars",
|
||||||
|
"path": "/documentation/elements/progress"
|
||||||
|
},
|
||||||
|
"elements-table": {
|
||||||
|
"name": "Table",
|
||||||
|
"path": "/documentation/elements/table"
|
||||||
|
},
|
||||||
|
"elements-tag": {
|
||||||
|
"name": "Tag",
|
||||||
|
"path": "/documentation/elements/tag"
|
||||||
|
},
|
||||||
|
"elements-title": {
|
||||||
|
"name": "Title",
|
||||||
|
"path": "/documentation/elements/title"
|
||||||
|
},
|
||||||
"components": {
|
"components": {
|
||||||
"name": "Components",
|
"name": "Components",
|
||||||
"path": "/documentation/components"
|
"path": "/documentation/components"
|
||||||
@@ -91,6 +131,7 @@
|
|||||||
},
|
},
|
||||||
"order": {
|
"order": {
|
||||||
"columns": ["columns-basics", "columns-sizes", "columns-responsiveness", "columns-nesting", "columns-gap", "columns-options"],
|
"columns": ["columns-basics", "columns-sizes", "columns-responsiveness", "columns-nesting", "columns-gap", "columns-options"],
|
||||||
|
"elements": ["elements-box", "elements-button", "elements-content", "elements-delete", "elements-icon", "elements-image", "elements-notification", "elements-progress", "elements-table", "elements-tag", "elements-title"],
|
||||||
"components": ["components-breadcrumb", "components-card", "components-dropdown", "components-menu", "components-message", "components-modal", "components-navbar", "components-pagination", "components-panel", "components-tabs"]
|
"components": ["components-breadcrumb", "components-card", "components-dropdown", "components-menu", "components-message", "components-modal", "components-navbar", "components-pagination", "components-panel", "components-tabs"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<section class="section bd-typo">
|
<div class="bd-typo">
|
||||||
<div class="container">
|
|
||||||
<p class="has-text-grey-light">
|
<p class="has-text-grey-light">
|
||||||
<a href="{{ site.url }}/made-with-bulma/">
|
<a href="{{ site.url }}/made-with-bulma/">
|
||||||
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
|
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
|
||||||
@@ -13,4 +12,3 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ route: documentation
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
{% if previous_link or next_link %}
|
||||||
<nav class="bd-prev-next">
|
<nav class="bd-prev-next">
|
||||||
{% if previous_link %}
|
{% if previous_link %}
|
||||||
<a href="{{ site.url }}{{ previous_link.path }}" title="{{ previous_link.name }}">
|
<a href="{{ site.url }}{{ previous_link.path }}" title="{{ previous_link.name }}">
|
||||||
@@ -62,6 +63,7 @@ route: documentation
|
|||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<header class="bd-header">
|
<header class="bd-header">
|
||||||
@@ -71,6 +73,15 @@ route: documentation
|
|||||||
<p class="subtitle is-4">
|
<p class="subtitle is-4">
|
||||||
{{ page.subtitle }}
|
{{ page.subtitle }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
{% if page.meta %}
|
||||||
|
{%
|
||||||
|
include meta.html
|
||||||
|
colors=page.meta.colors
|
||||||
|
sizes=page.meta.sizes
|
||||||
|
variables=page.meta.variables
|
||||||
|
%}
|
||||||
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="bd-content">
|
<div class="bd-content">
|
||||||
|
|||||||
@@ -81,6 +81,7 @@
|
|||||||
.bd-main
|
.bd-main
|
||||||
padding: 0 3rem
|
padding: 0 3rem
|
||||||
.bd-lead
|
.bd-lead
|
||||||
padding: 3rem 3rem 3rem 0
|
margin-left: -3rem
|
||||||
|
padding: 3rem
|
||||||
.bd-side
|
.bd-side
|
||||||
padding: 3rem 0 3rem 1.5rem
|
padding: 3rem 0 3rem 1.5rem
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
.native-js
|
.native-js
|
||||||
|
border-top: 2px solid $background
|
||||||
display: none
|
display: none
|
||||||
font-size: 1rem
|
font-size: 1rem
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
.bd-typo
|
||||||
|
margin-top: 3rem
|
||||||
|
|
||||||
.bd-has-text-rss
|
.bd-has-text-rss
|
||||||
color: $rss
|
color: $rss
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
width: 0.5em;
|
width: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box:not(:last-child), .content:not(:last-child), .notification:not(:last-child), .progress:not(:last-child), .table-container:not(:last-child), .title:not(:last-child),
|
.box:not(:last-child), .content:not(:last-child), .notification:not(:last-child), .progress:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child),
|
||||||
.subtitle:not(:last-child), .block:not(:last-child), .highlight:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .tabs:not(:last-child), .bd-snippet:not(:last-child), .bd-callout:not(:last-child) {
|
.subtitle:not(:last-child), .block:not(:last-child), .highlight:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .tabs:not(:last-child), .bd-snippet:not(:last-child), .bd-callout:not(:last-child) {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
@@ -4545,7 +4545,6 @@ a.box:active {
|
|||||||
.table {
|
.table {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: #363636;
|
color: #363636;
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table td,
|
.table td,
|
||||||
@@ -9592,7 +9591,8 @@ label.panel-block:hover {
|
|||||||
padding: 0 3rem;
|
padding: 0 3rem;
|
||||||
}
|
}
|
||||||
.bd-lead {
|
.bd-lead {
|
||||||
padding: 3rem 3rem 3rem 0;
|
margin-left: -3rem;
|
||||||
|
padding: 3rem;
|
||||||
}
|
}
|
||||||
.bd-side {
|
.bd-side {
|
||||||
padding: 3rem 0 3rem 1.5rem;
|
padding: 3rem 0 3rem 1.5rem;
|
||||||
@@ -10391,6 +10391,10 @@ svg {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bd-typo {
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
.bd-has-text-rss {
|
.bd-has-text-rss {
|
||||||
color: #f26522;
|
color: #f26522;
|
||||||
}
|
}
|
||||||
@@ -12330,6 +12334,7 @@ html.route-index .hero.is-primary a.column:hover .title strong {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.native-js {
|
.native-js {
|
||||||
|
border-top: 2px solid whitesmoke;
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
8
docs/documentation.html
Normal file
8
docs/documentation.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Documentation
|
||||||
|
subtitle: "Everything you need to <strong>create a website</strong> with Bulma"
|
||||||
|
layout: documentation
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
---
|
||||||
@@ -10,10 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-breadcrumb
|
- components-breadcrumb
|
||||||
meta:
|
meta:
|
||||||
- since: "0.4.3"
|
variables: true
|
||||||
- variables: true
|
colors: false
|
||||||
- colors: false
|
sizes: true
|
||||||
- sizes: true
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture breadcrumb_example %}
|
{% capture breadcrumb_example %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Card
|
title: Card
|
||||||
subtile: "An all-around flexible and composable component"
|
subtitle: "An all-around flexible and composable component"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: components
|
doc-tab: components
|
||||||
doc-subtab: card
|
doc-subtab: card
|
||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-card
|
- components-card
|
||||||
meta:
|
meta:
|
||||||
- variables: true
|
variables: true
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: false
|
sizes: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture card_example %}
|
{% capture card_example %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-dropdown
|
- components-dropdown
|
||||||
meta:
|
meta:
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: false
|
sizes: false
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture dropdown_example %}
|
{% capture dropdown_example %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-menu
|
- components-menu
|
||||||
meta:
|
meta:
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: false
|
sizes: false
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture menu_example %}
|
{% capture menu_example %}
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ subtitle: "Colored <strong>message</strong> blocks, to emphasize part of your pa
|
|||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: components
|
doc-tab: components
|
||||||
doc-subtab: message
|
doc-subtab: message
|
||||||
meta:
|
|
||||||
- colors: true
|
|
||||||
- sizes: true
|
|
||||||
- variables: true
|
|
||||||
breadcrumb:
|
breadcrumb:
|
||||||
- home
|
- home
|
||||||
- documentation
|
- documentation
|
||||||
- components
|
- components
|
||||||
- components-message
|
- components-message
|
||||||
|
meta:
|
||||||
|
colors: true
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture message_example %}
|
{% capture message_example %}
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ subtitle: "A classic <strong>modal</strong> overlay, in which you can include <e
|
|||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: components
|
doc-tab: components
|
||||||
doc-subtab: modal
|
doc-subtab: modal
|
||||||
meta:
|
|
||||||
- colors: false
|
|
||||||
- sizes: false
|
|
||||||
- variables: true
|
|
||||||
breadcrumb:
|
breadcrumb:
|
||||||
- home
|
- home
|
||||||
- documentation
|
- documentation
|
||||||
- components
|
- components
|
||||||
- components-modal
|
- components-modal
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: false
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture modal %}
|
{% capture modal %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-navbar
|
- components-navbar
|
||||||
meta:
|
meta:
|
||||||
- colors: true
|
colors: true
|
||||||
- sizes: false
|
sizes: false
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture navbar_example %}
|
{% capture navbar_example %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-pagination
|
- components-pagination
|
||||||
meta:
|
meta:
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: true
|
sizes: true
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture pagination_example %}
|
{% capture pagination_example %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-panel
|
- components-panel
|
||||||
meta:
|
meta:
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: false
|
sizes: false
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture panel_example %}
|
{% capture panel_example %}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ breadcrumb:
|
|||||||
- components
|
- components
|
||||||
- components-tabs
|
- components-tabs
|
||||||
meta:
|
meta:
|
||||||
- colors: false
|
colors: false
|
||||||
- sizes: true
|
sizes: true
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture tabs_example %}
|
{% capture tabs_example %}
|
||||||
|
|||||||
@@ -1,12 +1,20 @@
|
|||||||
---
|
---
|
||||||
title: Box
|
title: Box
|
||||||
|
subtitle: "A white <strong>box</strong> to contain other elements"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: box
|
doc-subtab: box
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-box
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: false
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
{% capture box_example %}
|
{% capture box_example %}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<article class="media">
|
<article class="media">
|
||||||
@@ -47,21 +55,6 @@ doc-subtab: box
|
|||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Box</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
A white <strong>box</strong> to contain other elements
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=false
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
The <code>.box</code> element is simply a container with a shadow, a border, a radius, and some padding.
|
The <code>.box</code> element is simply a container with a shadow, a border, a radius, and some padding.
|
||||||
@@ -73,6 +66,3 @@ doc-subtab: box
|
|||||||
{% include snippet.html content=box_example more=true %}
|
{% include snippet.html content=box_example more=true %}
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ breadcrumb:
|
|||||||
- home
|
- home
|
||||||
- documentation
|
- documentation
|
||||||
- elements
|
- elements
|
||||||
- button
|
- elements-button
|
||||||
meta:
|
meta:
|
||||||
- colors: true
|
colors: true
|
||||||
- sizes: true
|
sizes: true
|
||||||
- variables: true
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture button_example %}
|
{% capture button_example %}
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Content
|
title: Content
|
||||||
|
subtitle: "A single class to handle WYSIWYG generated content, where only <strong>HTML tags</strong> are available"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: content
|
doc-subtab: content
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-content
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture content_pre %}
|
{% capture content_pre %}
|
||||||
@@ -101,23 +111,6 @@ doc-subtab: content
|
|||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Content</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
A single class to handle WYSIWYG generated content, where only <strong>HTML tags</strong> are available
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=true
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use <code>content</code> as container. It can handle almost any HTML tag:</p>
|
<p>When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use <code>content</code> as container. It can handle almost any HTML tag:</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -182,6 +175,3 @@ doc-subtab: content
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Delete
|
title: Delete
|
||||||
|
subtitle: "A versatile <strong>delete</strong> cross"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: delete
|
doc-subtab: delete
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-delete
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: true
|
||||||
|
variables: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture cross_example %}
|
{% capture cross_example %}
|
||||||
@@ -40,23 +50,6 @@ doc-subtab: delete
|
|||||||
</article>
|
</article>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Delete</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
A versatile <strong>delete</strong> cross
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=true
|
|
||||||
variables=false
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
The <code>.delete</code> element is a stand-alone element that can be used in different contexts.
|
The <code>.delete</code> element is a stand-alone element that can be used in different contexts.
|
||||||
@@ -87,6 +80,3 @@ doc-subtab: delete
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include snippet.html content=cross_elements_example %}
|
{% include snippet.html content=cross_elements_example %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Icon
|
title: Icon
|
||||||
|
subtitle: 'Bulma is compatible with <strong>all icon font libraries</strong>: <a href="https://fontawesome.com/">Font Awesome 5</a>, <a href="http://fontawesome.io/">Font Awesome 4</a>, <a href="https://materialdesignicons.com">Material Design Icons</a>, <a href="https://useiconic.com/open">Open Iconic</a>, <a href="http://ionicons.com/">Ionicons</a> etc.'
|
||||||
fontawesome4: true
|
fontawesome4: true
|
||||||
iconic: true
|
iconic: true
|
||||||
ionicons: true
|
ionicons: true
|
||||||
@@ -7,6 +8,15 @@ mdi: true
|
|||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: icon
|
doc-subtab: icon
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-icon
|
||||||
|
meta:
|
||||||
|
colors: true
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture icon_example %}
|
{% capture icon_example %}
|
||||||
@@ -48,22 +58,23 @@ doc-subtab: icon
|
|||||||
</span>
|
</span>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
{% capture stacked_medium %}
|
||||||
|
<span class="icon is-medium">
|
||||||
|
<span class="fa-stack">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-flag fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
<section class="section">
|
{% capture stacked_large %}
|
||||||
<div class="container">
|
<span class="icon is-large">
|
||||||
<h1 class="title">Icons</h1>
|
<span class="fa-stack fa-lg">
|
||||||
<h2 class="subtitle">
|
<i class="fas fa-camera fa-stack-1x"></i>
|
||||||
Bulma is compatible with <strong>all icon font libraries</strong>: <a href="https://fontawesome.com/">Font Awesome 5</a>, <a href="http://fontawesome.io/">Font Awesome 4</a>, <a href="https://materialdesignicons.com">Material Design Icons</a>, <a href="https://useiconic.com/open">Open Iconic</a>, <a href="http://ionicons.com/">Ionicons</a> etc.
|
<i class="fas fa-ban fa-stack-2x has-text-danger"></i>
|
||||||
</h2>
|
</span>
|
||||||
{%
|
</span>
|
||||||
include meta.html
|
{% endcapture %}
|
||||||
colors=true
|
|
||||||
sizes=true
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
@@ -388,12 +399,7 @@ doc-subtab: icon
|
|||||||
Stacked
|
Stacked
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% highlight html %}<span class="icon is-medium">
|
{% highlight html %}{{ stacked_medium }}{% endhighlight %}
|
||||||
<span class="fa-stack">
|
|
||||||
<i class="fas fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fas fa-flag fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</span>{% endhighlight %}
|
|
||||||
</td>
|
</td>
|
||||||
<td class="bd-icon-size">
|
<td class="bd-icon-size">
|
||||||
<span class="icon is-medium">
|
<span class="icon is-medium">
|
||||||
@@ -406,12 +412,7 @@ doc-subtab: icon
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% highlight html %}<span class="icon is-large">
|
{% highlight html %}{{ stacked_large }}{% endhighlight %}
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fas fa-camera fa-stack-1x"></i>
|
|
||||||
<i class="fas fa-ban fa-stack-2x has-text-danger"></i>
|
|
||||||
</span>
|
|
||||||
</span>{% endhighlight %}
|
|
||||||
</td>
|
</td>
|
||||||
<td class="bd-icon-size">
|
<td class="bd-icon-size">
|
||||||
<span class="icon is-large">
|
<span class="icon is-large">
|
||||||
@@ -946,6 +947,3 @@ doc-subtab: icon
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Image
|
title: Image
|
||||||
|
subtitle: "A container for <strong>responsive images</strong>"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: image
|
doc-subtab: image
|
||||||
@@ -11,6 +12,15 @@ dimensions:
|
|||||||
- 64
|
- 64
|
||||||
- 96
|
- 96
|
||||||
- 128
|
- 128
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-image
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: false
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture image %}
|
{% capture image %}
|
||||||
@@ -25,23 +35,6 @@ dimensions:
|
|||||||
</figure>
|
</figure>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Images</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
A container for <strong>responsive images</strong>
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=false
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>Because images can take a few seconds to load (or not at all), use the <code>.image</code> container to specify a <strong>precisely sized</strong> container so that your layout isn't broken because of image loading or image errors.</p>
|
<p>Because images can take a few seconds to load (or not at all), use the <code>.image</code> container to specify a <strong>precisely sized</strong> container so that your layout isn't broken because of image loading or image errors.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -170,6 +163,3 @@ dimensions:
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Notification
|
title: Notification
|
||||||
|
subtitle: "Bold <strong>notification</strong> blocks, to alert your users of something"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: notification
|
doc-subtab: notification
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-notification
|
||||||
|
meta:
|
||||||
|
colors: true
|
||||||
|
sizes: false
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture notification %}
|
{% capture notification %}
|
||||||
@@ -25,23 +35,6 @@ doc-subtab: notification
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Notifications</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
Bold <strong>notification</strong> blocks, to alert your users of something
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=true
|
|
||||||
sizes=false
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
{% include snippet.html content=notification %}
|
{% include snippet.html content=notification %}
|
||||||
|
|
||||||
{% include anchor.html name="Colors" %}
|
{% include anchor.html name="Colors" %}
|
||||||
@@ -49,6 +42,3 @@ doc-subtab: notification
|
|||||||
{% include snippet.html content=notification_colors %}
|
{% include snippet.html content=notification_colors %}
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Progress Bar
|
title: Progress Bar
|
||||||
|
subtitle: "Native HTML <strong>progress</strong> bars"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: progress
|
doc-subtab: progress
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-progress
|
||||||
|
meta:
|
||||||
|
colors: true
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture progress %}
|
{% capture progress %}
|
||||||
@@ -25,23 +35,6 @@ doc-subtab: progress
|
|||||||
<progress class="progress is-large" value="60" max="100">60%</progress>
|
<progress class="progress is-large" value="60" max="100">60%</progress>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Progress bars</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
Native HTML <strong>progress</strong> bars
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=true
|
|
||||||
sizes=true
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
{% include snippet.html content=progress %}
|
{% include snippet.html content=progress %}
|
||||||
|
|
||||||
{% include anchor.html name="Colors" %}
|
{% include anchor.html name="Colors" %}
|
||||||
@@ -53,6 +46,3 @@ doc-subtab: progress
|
|||||||
{% include snippet.html content=progress_sizes %}
|
{% include snippet.html content=progress_sizes %}
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Table
|
title: Table
|
||||||
|
subtitle: "The inevitable HTML <strong>table</strong>, with special case cells"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: table
|
doc-subtab: table
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-table
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: false
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture table_example %}
|
{% capture table_example %}
|
||||||
@@ -305,21 +315,6 @@ doc-subtab: table
|
|||||||
</table>
|
</table>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Tables</h1>
|
|
||||||
<h2 class="subtitle">The inevitable HTML <strong>table</strong>, with special case cells</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=false
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>You simply need to attach a single <code>.table</code> CSS class on a <code><table></code> with the following structure:</p>
|
<p>You simply need to attach a single <code>.table</code> CSS class on a <code><table></code> with the following structure:</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -591,6 +586,3 @@ doc-subtab: table
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Tags
|
title: Tags
|
||||||
|
subtitle: "Small <strong>tag labels</strong> to insert anywhere"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: tag
|
doc-subtab: tag
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-tag
|
||||||
|
meta:
|
||||||
|
colors: true
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture tag %}
|
{% capture tag %}
|
||||||
@@ -179,21 +189,6 @@ doc-subtab: tag
|
|||||||
</div>
|
</div>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Tags</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
Small <strong>tag labels</strong> to insert anywhere
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=true
|
|
||||||
sizes=true
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-4">
|
<div class="column is-4">
|
||||||
By default, a <strong>tag</strong> is a 1.5rem high label.
|
By default, a <strong>tag</strong> is a 1.5rem high label.
|
||||||
@@ -448,5 +443,3 @@ doc-subtab: tag
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Title and Subtitle
|
title: Title and Subtitle
|
||||||
|
subtitle: "Simple <strong>headings</strong> to add depth to your page"
|
||||||
layout: documentation
|
layout: documentation
|
||||||
doc-tab: elements
|
doc-tab: elements
|
||||||
doc-subtab: title
|
doc-subtab: title
|
||||||
|
breadcrumb:
|
||||||
|
- home
|
||||||
|
- documentation
|
||||||
|
- elements
|
||||||
|
- elements-title
|
||||||
|
meta:
|
||||||
|
colors: false
|
||||||
|
sizes: true
|
||||||
|
variables: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture default %}
|
{% capture default %}
|
||||||
@@ -50,23 +60,6 @@ doc-subtab: title
|
|||||||
<p class="subtitle is-5">Subtitle 5</p>
|
<p class="subtitle is-5">Subtitle 5</p>
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% include subnav/subnav-elements.html %}
|
|
||||||
|
|
||||||
<section class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="title">Titles</h1>
|
|
||||||
<h2 class="subtitle">
|
|
||||||
Simple <strong>headings</strong> to add depth to your page
|
|
||||||
</h2>
|
|
||||||
{%
|
|
||||||
include meta.html
|
|
||||||
colors=false
|
|
||||||
sizes=true
|
|
||||||
variables=true
|
|
||||||
%}
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -183,6 +176,3 @@ doc-subtab: title
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include variables.html type='element' %}
|
{% include variables.html type='element' %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ $table-striped-row-even-background-color: $white-bis !default
|
|||||||
$table-striped-row-even-hover-background-color: $white-ter !default
|
$table-striped-row-even-hover-background-color: $white-ter !default
|
||||||
|
|
||||||
.table
|
.table
|
||||||
|
+block
|
||||||
background-color: $table-background-color
|
background-color: $table-background-color
|
||||||
color: $table-color
|
color: $table-color
|
||||||
margin-bottom: 1.5rem
|
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
border: $table-cell-border
|
border: $table-cell-border
|
||||||
|
|||||||
Reference in New Issue
Block a user