]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add component icons
authorJeremy Thomas <bbxdesign@gmail.com>
Wed, 11 Apr 2018 14:43:26 +0000 (15:43 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 11 Apr 2018 14:43:26 +0000 (15:43 +0100)
docs/_data/links.json
docs/_sass/index.sass
docs/css/bulma-docs.css
docs/documentation/components/panel.html

index 1efa1bbd119a63f7b8a3a8e83226ede18c915019..1736e3953d050bef2310447e8ddf36ce41adc671 100644 (file)
     "elements-button": {
       "name": "Button",
       "subtitle": "The classic <strong>button</strong>, in different colors, sizes, and states",
-      "color": "primary",
+      "color": "success",
       "icon": "hand-pointer",
       "icon_regular": "true",
       "path": "/documentation/elements/button"
     "elements-content": {
       "name": "Content",
       "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",
       "path": "/documentation/elements/content"
     },
     "elements-notification": {
       "name": "Notification",
       "subtitle": "Bold <strong>notification</strong> blocks, to alert your users of something",
-      "color": "danger",
+      "color": "orange",
       "icon": "exclamation-triangle",
       "path": "/documentation/elements/notification"
     },
     "elements-tag": {
       "name": "Tag",
       "subtitle": "Small <strong>tag labels</strong> to insert anywhere",
-      "color": "orange",
+      "color": "success",
       "icon": "tag",
       "path": "/documentation/elements/tag"
     },
     "components-breadcrumb": {
       "name": "Breadcrumb",
       "subtitle": "A simple <strong>breadcrumb</strong> component to improve your navigation experience",
+      "color": "star",
+      "icon": "ellipsis-h",
       "path": "/documentation/components/breadcrumb"
     },
     "components-card": {
       "name": "Card",
       "subtitle": "An all-around flexible and composable component",
+      "color": "success",
+      "icon": "id-card",
       "path": "/documentation/components/card"
     },
     "components-dropdown": {
       "name": "Dropdown",
       "subtitle": "An interactive <strong>dropdown menu</strong> for discoverable content",
+      "color": "success",
+      "icon": "angle-down",
       "path": "/documentation/components/dropdown"
     },
     "components-menu": {
       "name": "Menu",
       "subtitle": "A simple <strong>menu</strong>, for any type of vertical navigation",
+      "icon": "bars",
       "path": "/documentation/components/menu"
     },
     "components-message": {
       "name": "Message",
       "subtitle": "Colored <strong>message</strong> blocks, to emphasize part of your page",
+      "color": "info",
+      "icon": "window-maximize",
+      "icon_regular": "true",
       "path": "/documentation/components/message"
     },
     "components-modal": {
       "name": "Modal",
       "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"
     },
     "components-navbar": {
       "name": "Navbar",
       "subtitle": "A responsive horizontal <strong>navbar</strong> that can support images, links, buttons, and dropdowns",
+      "color": "primary",
+      "icon": "minus",
       "path": "/documentation/components/navbar"
     },
     "components-pagination": {
       "name": "Pagination",
       "subtitle": "A responsive, usable, and flexible <strong>pagination</strong>",
+      "color": "orange",
+      "icon": "caret-square-right",
       "path": "/documentation/components/pagination"
     },
     "components-panel": {
       "name": "Panel",
       "subtitle": "A composable <strong>panel</strong>, for compact controls",
+      "color": "grey-dark",
+      "icon": "list-alt",
+      "icon_regular": "true",
       "path": "/documentation/components/panel"
     },
     "components-tabs": {
       "name": "Tabs",
       "subtitle": "Simple responsive horizontal navigation <strong>tabs</strong>, with different styles",
+      "color": "purple",
+      "icon": "folder",
       "path": "/documentation/components/tabs"
     },
     "blog": {
index 8efe1d87b991401990ac5a6ae4f9875a23710895..670f1c604f061b89177dd93cd40a49555b9ae618 100644 (file)
@@ -2,12 +2,16 @@
 
 .bd-index-header
   text-align: center
+  a,
+  strong
+    transition-duration: $speed
+    transition-property: color
   a
     color: currentColor
     &:hover
       color: $blue
       strong
-        color: currentColor
+        color: $link
   strong
     font-weight: $weight-semibold
   .title
index 06c6ad0d229fc99aaad75aa9f77f6515d893620c..82110f50eb746274e77790fa64f7806427cd51b7 100644 (file)
@@ -10295,6 +10295,12 @@ svg {
   text-align: center;
 }
 
+.bd-index-header a,
+.bd-index-header strong {
+  transition-duration: 86ms;
+  transition-property: color;
+}
+
 .bd-index-header a {
   color: currentColor;
 }
@@ -10304,7 +10310,7 @@ svg {
 }
 
 .bd-index-header a:hover strong {
-  color: currentColor;
+  color: #3273dc;
 }
 
 .bd-index-header strong {
index 9fa379ad391afded40633947c075abce145e0306..e71456ba2ed653ab5406672eca5a05e5e7d14543 100644 (file)
@@ -108,6 +108,6 @@ meta:
   </p>
 </div>
 
-{% include elements/snippet.html content=panel_example size="one-third" %}
+{% include elements/snippet.html content=panel_example %}
 
 {% include elements/variables.html type='component' %}