diff --git a/app/views/components/page-sidebar.pug b/app/views/components/page-sidebar.pug index e1819ad..30030ca 100644 --- a/app/views/components/page-sidebar.pug +++ b/app/views/components/page-sidebar.pug @@ -1,6 +1,6 @@ mixin renderSidebarLink (link) form(method="POST", action=`/link/visit/${link._id}`).uk-form.uk-display-block.uk-width-1-1 - button(type="submit").uk-button.dtp-button-secondary.uk-display-block.uk-border-rounded.uk-width-1-1= link.label + button(type="submit").dtp-link-button.uk-display-block.uk-border-rounded.uk-width-1-1= link.label .uk-text-small.uk-text-center.uk-text-muted a(href=`/${link.user.username}`).uk-link-reset= link.user.displayName || link.user.username diff --git a/app/views/link/components/list-item.pug b/app/views/link/components/list-item.pug index 765ee7a..c40c92e 100644 --- a/app/views/link/components/list-item.pug +++ b/app/views/link/components/list-item.pug @@ -6,7 +6,7 @@ mixin renderLinksListItem (link) i.fas.fa-grip-lines .uk-width-expand - a(href= link.href).uk-button.dtp-button-primary.uk-button-small.uk-border-rounded= link.label + a(href= link.href).dtp-link-button.uk-border-rounded= link.label .uk-width-auto button(type="button", uk-toggle={ target: `#link-editor-${link._id}` }).uk-button.dtp-button-default.uk-button-small.uk-border-rounded diff --git a/app/views/profile/home.pug b/app/views/profile/home.pug index b071dca..50290f5 100644 --- a/app/views/profile/home.pug +++ b/app/views/profile/home.pug @@ -6,7 +6,7 @@ block content each link in links li form(method="POST", action=`/link/visit/${link._id}`).uk-form.uk-display-block.uk-width-1-1 - button(type="submit").uk-button.dtp-button-primary.uk-display-block.uk-border-rounded.uk-width-1-1= link.label + button(type="submit").dtp-link-button.uk-display-block.uk-border-rounded.uk-width-1-1= link.label block dtp-navbar block dtp-off-canvas diff --git a/client/less/site/button.less b/client/less/site/button.less index b2ec990..e19c672 100644 --- a/client/less/site/button.less +++ b/client/less/site/button.less @@ -1,3 +1,24 @@ +button.dtp-link-button, +a.dtp-link-button { + display: inline-block; + padding: 6px; + line-height: 18px; + + font-size: 14px; + text-transform: uppercase; + + background: none; + outline: none; + border: solid 2px #1e87f0; + color: #c8c8c8; + + transition: background-color 0.2s; + + &:hover { + background-color: #1e87f0; + } +} + .share-button { background: #00d178; color: white; @@ -95,8 +116,6 @@ button.uk-button.dtp-button-primary { } } - - a.uk-button.dtp-button-secondary, button.uk-button.dtp-button-secondary { background: none;