diff --git a/docs/_sass/specific.sass b/docs/_sass/specific.sass index 75954645..6e402acf 100644 --- a/docs/_sass/specific.sass +++ b/docs/_sass/specific.sass @@ -34,6 +34,14 @@ &:hover border-bottom-color: $primary +.anchor-title + padding-top: 1.5rem + position: relative + +.anchor-link + position: absolute + right: calc(100% + 1rem) + .article-image background-color: $primary display: block diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index bacf8958..9e5d70a9 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -3477,6 +3477,42 @@ input[type="submit"].button { font-size: 1.25rem; } +.tag.is-delete { + margin-left: 1px; + padding: 0; + position: relative; + width: 2em; +} + +.tag.is-delete:before, .tag.is-delete:after { + background-color: currentColor; + content: ""; + display: block; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%) rotate(45deg); + transform-origin: center center; +} + +.tag.is-delete:before { + height: 1px; + width: 50%; +} + +.tag.is-delete:after { + height: 50%; + width: 1px; +} + +.tag.is-delete:hover, .tag.is-delete:focus { + background-color: #e8e8e8; +} + +.tag.is-delete:active { + background-color: #dbdbdb; +} + .tag.is-rounded { border-radius: 290486px; } @@ -8432,6 +8468,16 @@ html.route-index #carbon { border-bottom-color: #00d1b2; } +.anchor-title { + padding-top: 1.5rem; + position: relative; +} + +.anchor-link { + position: absolute; + right: calc(100% + 1rem); +} + .article-image { background-color: #00d1b2; display: block; diff --git a/docs/documentation/elements/tag.html b/docs/documentation/elements/tag.html index a2d35a9a..078e8b2d 100644 --- a/docs/documentation/elements/tag.html +++ b/docs/documentation/elements/tag.html @@ -16,7 +16,7 @@ variables: {% endcapture %} -{% capture tags %} +{% capture tags_colors %} Black Dark Light @@ -52,8 +52,137 @@ variables: {% endcapture %} +{% capture is_delete %} + +{% endcapture %} + +{% capture tags %} +
+{% endcapture %} + +{% capture tags_multiple %} + +{% endcapture %} + +{% capture tags_addons %} + +{% endcapture %} + +{% capture tags_field_addons %} +