Skip to content
Snippets Groups Projects
Commit 2d87c7c1 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Merge branch 'improve-hyperlink-visibility' into 'master'

Improve hyperlink visibility

See merge request spraksamlingane/beta.ordbok.uib.no!65
parents dd48fa1b 1a429ac9
No related branches found
No related tags found
No related merge requests found
......@@ -66,9 +66,6 @@ body {
}
a {
text-decoration: none;
}
h1 {
font-family: Inria Serif;
......@@ -83,6 +80,7 @@ h1 > a.xs, h1 > a.sm {
header > h1 > a {
color: var(--v-primary-base) !important;
text-decoration: none;
font-size: 48px;
margin: 0px;
}
......@@ -111,7 +109,7 @@ header > p {
text-decoration: none;
border-bottom: solid var(--v-primary-base) 2px;
font-size: 12px;
color: var(--v-primary-base);
color: var(--v-primary-base) !important;
}
header {
......@@ -131,6 +129,10 @@ footer a {
color: #ffffff !important;
}
a {
text-decoration: none;
}
header {
padding-top: 20px;
background-color: var(--v-tertiary-base);
......@@ -140,6 +142,11 @@ header {
font-size: 18px;
margin: 0px;
margin-bottom: 0px !important;
}
.sub-title a {
color: var(--v-primary-base) !important;
}
footer {
......
......@@ -27,8 +27,8 @@
</ul>
</section>
<div class="fade">
<router-link :to="link_to_self.ref" @click.native="details_click(link_to_self)">
Velg <img class="nav_arrow" src="../assets/arrow_right.svg">
<router-link class="choose" :to="link_to_self.ref" @click.native="details_click(link_to_self)">
Velg <v-icon large class="nav_arrow">arrow_right</v-icon>
</router-link>
</div>
</div>
......@@ -216,4 +216,26 @@ ul li.definition {
vertical-align: sub;
}
@media (hover: none) {
article a:not(.choose):not(.return_to_results a) {
text-decoration: underline;
}
}
@media (hover: hover) {
article a {
text-decoration: none;
}
article a:hover:not(.choose):not(.return_to_results a) {
text-decoration: underline;
}
}
.choose {
color: var(--v-primary-base) !important;
}
</style>
......@@ -82,6 +82,7 @@ export default {
font-size: 14px;
}
.article_footer {
color: var(--v-primary-base);
padding-top: 24px;
......
......@@ -44,7 +44,7 @@
<div id="single_article_container" v-if="article">
<div class="return_to_results" v-if="search_results && search_results.length">
<router-link :to="article.source" @click.native="return_to_results()">
<img class="nav_arrow" src="../assets/arrow_left.svg">Tilbake til {{article.dictionary == 'bob' ? 'søkeresultater' : 'søkjeresultat'}}
<v-icon class="nav_arrow">arrow_left</v-icon>Tilbake til {{article.dictionary == 'bob' ? 'søkeresultater' : 'søkjeresultat'}}
</router-link>
</div>
<Article :key="article_key" :article="article" @article-click="article_link_click" />
......@@ -457,8 +457,17 @@ li.suggestion {
display: table-cell;
}
.return_to_results a {
color: var(--v-primary-base) !important;
}
.nav_arrow {
vertical-align: middle;
vertical-align: top !important;
color: var(--v-primary-base) !important;
}
.choose > .nav_arrow {
vertical-align: -30% !important;
}
</style>
......@@ -56,7 +56,7 @@ export default new Vuetify({
primary: '#560027',
secondary: '#BC477B',
tertiary: '#FDF4F5',
anchor: '#560027',
anchor: '#880E4F',
error: '#FDF4F5',
border: '#9E9E9E',
text: '#2c3e50'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment