Add default style for links
This commit is contained in:
parent
c8c9c453fd
commit
b936e2ec20
6 changed files with 11 additions and 17 deletions
|
|
@ -65,6 +65,10 @@
|
|||
p {
|
||||
@apply mb-4;
|
||||
}
|
||||
|
||||
a {
|
||||
@apply text-primary underline;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
|||
|
|
@ -8,13 +8,7 @@
|
|||
<Icons::Menu @title='Menu' />
|
||||
</button>
|
||||
|
||||
<LinkTo @route="index" class='text-2xl font-display flex-1 flex items-center justify-center'>
|
||||
<LinkTo @route="index" class='text-inherit no-underline text-2xl font-display flex-1 flex items-center justify-center'>
|
||||
MeiliAdmin
|
||||
</LinkTo>
|
||||
</div>
|
||||
{{!-- <a
|
||||
href='/'
|
||||
title='{{@siteName}}'
|
||||
class='text-2xl font-display flex-1 flex items-center justify-center lg:mt-6'
|
||||
{{on 'click' this.closeSidebar}}
|
||||
>{{@siteName}}</a> --}}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
...attributes
|
||||
>
|
||||
{{#let
|
||||
'inline-flex items-center justify-center px-2 mx-1 font-display text-lg'
|
||||
'inline-flex items-center justify-center px-2 mx-1 font-display text-lg text-inherit no-underline'
|
||||
as |commonClasses|
|
||||
}}
|
||||
{{#if this.previousPage}}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
@route={{@route}}
|
||||
@models={{if @model (array @model) @models}}
|
||||
@activeClass="text-primary border-b border-primary"
|
||||
class="flex items-center h-10 px-4 py-2 text-center bg-transparent whitespace-nowrap focus:outline-none"
|
||||
class="flex items-center h-10 px-4 py-2 text-center text-base-2 no-underline bg-transparent whitespace-nowrap focus:outline-none"
|
||||
>
|
||||
{{#if @icon}}
|
||||
<@icon class="mr-2" />
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<aside class='sidenav'>
|
||||
<SidenavBackground />
|
||||
{{#let
|
||||
'flex items-center px-4 py-2 font-semibold rounded text-lg text-base-2 hover:text-base-1 hover:bg-base-6'
|
||||
'flex items-center px-4 py-2 font-semibold rounded text-lg text-base-2 no-underline hover:text-base-1 hover:bg-base-6'
|
||||
as |classLink|
|
||||
}}
|
||||
<div class='sidenav-sections'>
|
||||
|
|
@ -53,15 +53,11 @@
|
|||
|
||||
<div class='mb-4 p-4 bg-base-6 rounded'>
|
||||
This application is currently in active development. If you have an
|
||||
issue, please use GitHub
|
||||
<a
|
||||
issue, please use GitHub <a
|
||||
href='https://github.com/kaermorchen/meiliadmin/issues'
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
>
|
||||
issues
|
||||
</a>
|
||||
to notify me.
|
||||
>issues</a> to notify me.
|
||||
</div>
|
||||
|
||||
<ThemeToggler class='mb-6 mt-5' />
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
<Column class='relative'>
|
||||
{{#let
|
||||
(array @model.index.uid (get data @model.index.primaryKey))
|
||||
'flex items-center px-4 py-2 text-sm hover:bg-base-6 hover:text-base-1'
|
||||
'flex items-center px-4 py-2 text-inherit no-underline text-sm hover:bg-base-6 hover:text-base-1'
|
||||
as |models linkClasses|
|
||||
}}
|
||||
<Menu as |menu|>
|
||||
|
|
|
|||
Loading…
Reference in a new issue