diff --git a/resources/assets/themes/base.scss b/resources/assets/themes/base.scss index 96bde2a6..1222e7f9 100644 --- a/resources/assets/themes/base.scss +++ b/resources/assets/themes/base.scss @@ -279,24 +279,23 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { overflow-x: inherit; } -span.ref-id[id] { - padding-top: 50px; -} +// Reference links +h1, h2, h3, h4, h5, h6, .card-header { + a.ref-link { + display: none; + } -.faq { - .card-header { - small a.ref-link { - display: none; - } - - &:hover { - small a.ref-link { - display: inherit; - } + &:hover { + a.ref-link { + display: inline; } } } +.ref-id[id] { + padding-top: 3em; +} + // Cards .card-body > *:last-child { margin-bottom: 0; diff --git a/resources/views/pages/design.twig b/resources/views/pages/design.twig index ff3aa181..556824d9 100644 --- a/resources/views/pages/design.twig +++ b/resources/views/pages/design.twig @@ -29,7 +29,7 @@ {% set types_buttons=['link']|merge(types) %} {% set shortsum='Lorem ipsum dolor…' %} {% set lipsum='Lorem ipsum dolor sit amet, consectetur adipisici elit…' %} -{% set linksum='Lorem ipsum! Dolor link amet, consectetur adipisici elit!' %} +{% set linksum='Lorem ipsum! Dolor link amet, consectetur adipisici elit!' %} {% block content %}
@@ -37,8 +37,8 @@

{{ block('title') }} {{ themes[themeId]['name'] }}

- -

Elements small

+ +

Elements small {{ m.icon('link') }}

Headings small

@@ -80,7 +80,8 @@
-

Tables

+ +

Tables {{ m.icon('link') }}

@@ -103,13 +104,13 @@

Navigation Tabs

@@ -117,13 +118,13 @@

Navigation Pills

@@ -131,7 +132,8 @@
-

Texts

+ +

Texts {{ m.icon('link') }}

{{ linksum|raw }}
{{ lipsum }} {{ lipsum|replace({'…': '.'}) }} {{ lipsum|replace({'…': '.'}) }} {{ lipsum }} @@ -149,7 +151,8 @@

-

Badges

+ +

Badges {{ m.icon('link') }}

{% for type in types_color %} {{ type[0]|capitalize }} @@ -157,7 +160,8 @@

-

Buttons

+ +

Buttons {{ m.icon('link') }}

{% for type in types_buttons %} {{ f.button(type|capitalize, {'btn_type': type, 'name': 'button-' ~ type}) }} @@ -168,7 +172,8 @@

-

Alerts

+ +

Alerts {{ m.icon('link') }}

{% for color in colors %} @@ -183,7 +188,8 @@
-

Cards

+ +

Cards {{ m.icon('link') }}

{% for type in types %} @@ -192,7 +198,7 @@

{{ type|capitalize }}

{{ shortsum }}

-

Some link

+

Some link

Header 1