From 02a7014bf497c5b04b352b6795362a86d774f59f Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 17 Sep 2018 12:54:07 +0200 Subject: [PATCH] Cleanup and title-underline utility --- src/styles/_utils.sass | 16 +++++++++++++++- src/templates/_macros/_add_new_menu.pug | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/styles/_utils.sass b/src/styles/_utils.sass index 191a0f63..aa2fc22f 100644 --- a/src/styles/_utils.sass +++ b/src/styles/_utils.sass @@ -361,7 +361,7 @@ =node-details-description +clearfix color: $color-text - font-size: 1.33em + font-size: 1.25em word-break: break-word +media-xs @@ -671,3 +671,17 @@ &:before +text-gradient($primary-accent, $primary) + +.title-underline + padding-bottom: 5px + position: relative + margin-bottom: 20px + + &:before + background-color: $primary + content: ' ' + display: block + height: 2px + top: 125% + position: absolute + width: 50px diff --git a/src/templates/_macros/_add_new_menu.pug b/src/templates/_macros/_add_new_menu.pug index 7dd9e433..84a8a9b6 100644 --- a/src/templates/_macros/_add_new_menu.pug +++ b/src/templates/_macros/_add_new_menu.pug @@ -6,7 +6,7 @@ | {% if node_type_name == 'group' %} | {% set node_type_name = 'folder' %} | {% endif %} -li(class="button-{{ node_type['name'] }}") +li a.dropdown-item( class="item_add_node", href="#",