mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 20:54:30 -07:00
Add component icons
This commit is contained in:
@@ -289,7 +289,7 @@
|
|||||||
"elements-button": {
|
"elements-button": {
|
||||||
"name": "Button",
|
"name": "Button",
|
||||||
"subtitle": "The classic <strong>button</strong>, in different colors, sizes, and states",
|
"subtitle": "The classic <strong>button</strong>, in different colors, sizes, and states",
|
||||||
"color": "primary",
|
"color": "success",
|
||||||
"icon": "hand-pointer",
|
"icon": "hand-pointer",
|
||||||
"icon_regular": "true",
|
"icon_regular": "true",
|
||||||
"path": "/documentation/elements/button"
|
"path": "/documentation/elements/button"
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
"elements-content": {
|
"elements-content": {
|
||||||
"name": "Content",
|
"name": "Content",
|
||||||
"subtitle": "A single class to handle <strong>WYSIWYG</strong> generated content, where only <strong>HTML tags</strong> are available",
|
"subtitle": "A single class to handle <strong>WYSIWYG</strong> generated content, where only <strong>HTML tags</strong> are available",
|
||||||
"color": "success",
|
"color": "primary",
|
||||||
"icon": "align-left",
|
"icon": "align-left",
|
||||||
"path": "/documentation/elements/content"
|
"path": "/documentation/elements/content"
|
||||||
},
|
},
|
||||||
@@ -325,7 +325,7 @@
|
|||||||
"elements-notification": {
|
"elements-notification": {
|
||||||
"name": "Notification",
|
"name": "Notification",
|
||||||
"subtitle": "Bold <strong>notification</strong> blocks, to alert your users of something",
|
"subtitle": "Bold <strong>notification</strong> blocks, to alert your users of something",
|
||||||
"color": "danger",
|
"color": "orange",
|
||||||
"icon": "exclamation-triangle",
|
"icon": "exclamation-triangle",
|
||||||
"path": "/documentation/elements/notification"
|
"path": "/documentation/elements/notification"
|
||||||
},
|
},
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
"elements-tag": {
|
"elements-tag": {
|
||||||
"name": "Tag",
|
"name": "Tag",
|
||||||
"subtitle": "Small <strong>tag labels</strong> to insert anywhere",
|
"subtitle": "Small <strong>tag labels</strong> to insert anywhere",
|
||||||
"color": "orange",
|
"color": "success",
|
||||||
"icon": "tag",
|
"icon": "tag",
|
||||||
"path": "/documentation/elements/tag"
|
"path": "/documentation/elements/tag"
|
||||||
},
|
},
|
||||||
@@ -367,51 +367,72 @@
|
|||||||
"components-breadcrumb": {
|
"components-breadcrumb": {
|
||||||
"name": "Breadcrumb",
|
"name": "Breadcrumb",
|
||||||
"subtitle": "A simple <strong>breadcrumb</strong> component to improve your navigation experience",
|
"subtitle": "A simple <strong>breadcrumb</strong> component to improve your navigation experience",
|
||||||
|
"color": "star",
|
||||||
|
"icon": "ellipsis-h",
|
||||||
"path": "/documentation/components/breadcrumb"
|
"path": "/documentation/components/breadcrumb"
|
||||||
},
|
},
|
||||||
"components-card": {
|
"components-card": {
|
||||||
"name": "Card",
|
"name": "Card",
|
||||||
"subtitle": "An all-around flexible and composable component",
|
"subtitle": "An all-around flexible and composable component",
|
||||||
|
"color": "success",
|
||||||
|
"icon": "id-card",
|
||||||
"path": "/documentation/components/card"
|
"path": "/documentation/components/card"
|
||||||
},
|
},
|
||||||
"components-dropdown": {
|
"components-dropdown": {
|
||||||
"name": "Dropdown",
|
"name": "Dropdown",
|
||||||
"subtitle": "An interactive <strong>dropdown menu</strong> for discoverable content",
|
"subtitle": "An interactive <strong>dropdown menu</strong> for discoverable content",
|
||||||
|
"color": "success",
|
||||||
|
"icon": "angle-down",
|
||||||
"path": "/documentation/components/dropdown"
|
"path": "/documentation/components/dropdown"
|
||||||
},
|
},
|
||||||
"components-menu": {
|
"components-menu": {
|
||||||
"name": "Menu",
|
"name": "Menu",
|
||||||
"subtitle": "A simple <strong>menu</strong>, for any type of vertical navigation",
|
"subtitle": "A simple <strong>menu</strong>, for any type of vertical navigation",
|
||||||
|
"icon": "bars",
|
||||||
"path": "/documentation/components/menu"
|
"path": "/documentation/components/menu"
|
||||||
},
|
},
|
||||||
"components-message": {
|
"components-message": {
|
||||||
"name": "Message",
|
"name": "Message",
|
||||||
"subtitle": "Colored <strong>message</strong> blocks, to emphasize part of your page",
|
"subtitle": "Colored <strong>message</strong> blocks, to emphasize part of your page",
|
||||||
|
"color": "info",
|
||||||
|
"icon": "window-maximize",
|
||||||
|
"icon_regular": "true",
|
||||||
"path": "/documentation/components/message"
|
"path": "/documentation/components/message"
|
||||||
},
|
},
|
||||||
"components-modal": {
|
"components-modal": {
|
||||||
"name": "Modal",
|
"name": "Modal",
|
||||||
"subtitle": "A classic <strong>modal</strong> overlay, in which you can include <em>any</em> content you want",
|
"subtitle": "A classic <strong>modal</strong> overlay, in which you can include <em>any</em> content you want",
|
||||||
|
"color": "danger",
|
||||||
|
"icon": "clone",
|
||||||
"path": "/documentation/components/modal"
|
"path": "/documentation/components/modal"
|
||||||
},
|
},
|
||||||
"components-navbar": {
|
"components-navbar": {
|
||||||
"name": "Navbar",
|
"name": "Navbar",
|
||||||
"subtitle": "A responsive horizontal <strong>navbar</strong> that can support images, links, buttons, and dropdowns",
|
"subtitle": "A responsive horizontal <strong>navbar</strong> that can support images, links, buttons, and dropdowns",
|
||||||
|
"color": "primary",
|
||||||
|
"icon": "minus",
|
||||||
"path": "/documentation/components/navbar"
|
"path": "/documentation/components/navbar"
|
||||||
},
|
},
|
||||||
"components-pagination": {
|
"components-pagination": {
|
||||||
"name": "Pagination",
|
"name": "Pagination",
|
||||||
"subtitle": "A responsive, usable, and flexible <strong>pagination</strong>",
|
"subtitle": "A responsive, usable, and flexible <strong>pagination</strong>",
|
||||||
|
"color": "orange",
|
||||||
|
"icon": "caret-square-right",
|
||||||
"path": "/documentation/components/pagination"
|
"path": "/documentation/components/pagination"
|
||||||
},
|
},
|
||||||
"components-panel": {
|
"components-panel": {
|
||||||
"name": "Panel",
|
"name": "Panel",
|
||||||
"subtitle": "A composable <strong>panel</strong>, for compact controls",
|
"subtitle": "A composable <strong>panel</strong>, for compact controls",
|
||||||
|
"color": "grey-dark",
|
||||||
|
"icon": "list-alt",
|
||||||
|
"icon_regular": "true",
|
||||||
"path": "/documentation/components/panel"
|
"path": "/documentation/components/panel"
|
||||||
},
|
},
|
||||||
"components-tabs": {
|
"components-tabs": {
|
||||||
"name": "Tabs",
|
"name": "Tabs",
|
||||||
"subtitle": "Simple responsive horizontal navigation <strong>tabs</strong>, with different styles",
|
"subtitle": "Simple responsive horizontal navigation <strong>tabs</strong>, with different styles",
|
||||||
|
"color": "purple",
|
||||||
|
"icon": "folder",
|
||||||
"path": "/documentation/components/tabs"
|
"path": "/documentation/components/tabs"
|
||||||
},
|
},
|
||||||
"blog": {
|
"blog": {
|
||||||
|
|||||||
@@ -2,12 +2,16 @@
|
|||||||
|
|
||||||
.bd-index-header
|
.bd-index-header
|
||||||
text-align: center
|
text-align: center
|
||||||
|
a,
|
||||||
|
strong
|
||||||
|
transition-duration: $speed
|
||||||
|
transition-property: color
|
||||||
a
|
a
|
||||||
color: currentColor
|
color: currentColor
|
||||||
&:hover
|
&:hover
|
||||||
color: $blue
|
color: $blue
|
||||||
strong
|
strong
|
||||||
color: currentColor
|
color: $link
|
||||||
strong
|
strong
|
||||||
font-weight: $weight-semibold
|
font-weight: $weight-semibold
|
||||||
.title
|
.title
|
||||||
|
|||||||
@@ -10295,6 +10295,12 @@ svg {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bd-index-header a,
|
||||||
|
.bd-index-header strong {
|
||||||
|
transition-duration: 86ms;
|
||||||
|
transition-property: color;
|
||||||
|
}
|
||||||
|
|
||||||
.bd-index-header a {
|
.bd-index-header a {
|
||||||
color: currentColor;
|
color: currentColor;
|
||||||
}
|
}
|
||||||
@@ -10304,7 +10310,7 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bd-index-header a:hover strong {
|
.bd-index-header a:hover strong {
|
||||||
color: currentColor;
|
color: #3273dc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-index-header strong {
|
.bd-index-header strong {
|
||||||
|
|||||||
@@ -108,6 +108,6 @@ meta:
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include elements/snippet.html content=panel_example size="one-third" %}
|
{% include elements/snippet.html content=panel_example %}
|
||||||
|
|
||||||
{% include elements/variables.html type='component' %}
|
{% include elements/variables.html type='component' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user