From d6dd2cb02305c3a6ffdd015e5c94ed334a05c648 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Mon, 4 Dec 2017 13:45:14 +0000 Subject: [PATCH] Fix rounded tabs --- docs/css/bulma-docs.css | 24 +++++++-------- docs/documentation/components/tabs.html | 39 +++++++++++++++++++++++++ sass/components/tabs.sass | 18 +++++++----- 3 files changed, 61 insertions(+), 20 deletions(-) diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 6816530b26..059b1097ca 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -7406,22 +7406,10 @@ label.panel-block:hover { border-radius: 3px 0 0 3px; } -.tabs.is-toggle li:first-child a.is-rounded { - border-top-left-radius: 290486px; - border-bottom-left-radius: 290486px; - padding-left: 1.25em; -} - .tabs.is-toggle li:last-child a { border-radius: 0 3px 3px 0; } -.tabs.is-toggle li:last-child a.is-rounded { - border-top-right-radius: 290486px; - border-bottom-right-radius: 290486px; - padding-right: 1.25em; -} - .tabs.is-toggle li.is-active a { background-color: #3273dc; border-color: #3273dc; @@ -7433,6 +7421,18 @@ label.panel-block:hover { border-bottom: none; } +.tabs.is-toggle.is-toggle-rounded li:first-child a { + border-bottom-left-radius: 290486px; + border-top-left-radius: 290486px; + padding-left: 1.25em; +} + +.tabs.is-toggle.is-toggle-rounded li:last-child a { + border-bottom-right-radius: 290486px; + border-top-right-radius: 290486px; + padding-right: 1.25em; +} + .tabs.is-small { font-size: 0.75rem; } diff --git a/docs/documentation/components/tabs.html b/docs/documentation/components/tabs.html index daa28c6e6b..97dc2d2b60 100644 --- a/docs/documentation/components/tabs.html +++ b/docs/documentation/components/tabs.html @@ -164,6 +164,37 @@ {% endcapture %} +{% capture tabs_toggle_rounded_example %} +
+ +
+{% endcapture %} + {% capture tabs_fullwidth_example %}