Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Margunn.Rauset
beta.ordbok.uib.no
Commits
d063221a
Commit
d063221a
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Patches
Plain Diff
experimental
parent
0acaee40
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/ArticleFooter.vue
+18
-31
18 additions, 31 deletions
src/components/ArticleFooter.vue
src/components/Header.vue
+32
-2
32 additions, 2 deletions
src/components/Header.vue
with
50 additions
and
33 deletions
src/components/ArticleFooter.vue
+
18
−
31
View file @
d063221a
<
template
>
<
template
>
<div
class=
"article_footer"
>
<div
class=
"article_footer"
>
<span
v-if=
"hasPointer"
>
<v-btn
v-if=
"!webShareApiSupported"
x-small
depressed
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"shareViaWebShare"
>
<button
aria-label=
"Del ordboksartikkel på Facebook"
class=
"share_button"
tabindex=
"0"
>
<v-icon
small
>
link
</v-icon>
<span
class =
"button-text"
>
Kopier lenke
</span>
<ShareNetwork
network=
"facebook"
</v-btn>
title=
""
:url=
"share_link"
<v-btn
v-if=
"webShareApiSupported"
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"shareViaWebShare"
>
tabindex=
"-1"
>
<v-icon
x-small
>
share
</v-icon><span
class =
"button-text"
>
Del ordet
</span>
<v-icon
dense
>
$vuetify.icons.facebook
</v-icon>
</v-btn>
</ShareNetwork>
<v-btn
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"shareViaWebShare"
>
</button>
<v-icon
x-small
>
format_quote
</v-icon>
<span
class =
"button-text"
>
Siter
</span>
<button
aria-label=
"Del del ordboksartikkel på Twitter"
class=
"share_button"
tabindex=
"0"
>
</v-btn>
<ShareNetwork
network=
"twitter"
:url=
"share_link"
:title=
"dict_label"
hashtags=
"#ordbøkene"
tabindex=
"-1"
>
<v-icon
dense
>
$vuetify.icons.twitter
</v-icon>
</ShareNetwork>
</button>
</span>
<button
v-if=
"webShareApiSupported"
aria-label=
"Del ordboksartikkelen med andre"
class=
"share_button"
tabindex=
"0"
@
click=
"shareViaWebShare"
>
<span
v-if=
"!hasPointer"
class =
"share_text"
>
Del ordet
</span>
<v-icon
dense
>
$vuetify.icons.share
</v-icon>
</button>
<div
class =
"footer_title"
tabindex=
"0"
>
Ordbøkene.no
<div
class =
"footer_title"
tabindex=
"0"
>
Ordbøkene.no
</div>
</div>
</div>
</div>
...
@@ -67,19 +53,20 @@ export default {
...
@@ -67,19 +53,20 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.share_text
{
.button-text
{
padding-right
:
10px
;
padding-left
:
3px
;
vertical-align
:
middle
;
font-size
:
12px
;
color
:
var
(
--v-primary-base
)
!important
;
font-variant
:
reverse
!important
;
}
}
.v-icon
{
.v-icon
{
color
:
var
(
--v-primary-base
)
!important
;
color
:
var
(
--v-primary-base
)
!important
;
}
}
.share_button
{
.toolbar-button
{
padding-right
:
4px
;
margin-right
:
3px
;
font-weight
:
bold
;
font-size
:
12px
;
font-size
:
14px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/Header.vue
+
32
−
2
View file @
d063221a
...
@@ -19,13 +19,27 @@
...
@@ -19,13 +19,27 @@
</v-card>
</v-card>
</v-menu>
)
</v-menu>
)
</span>
</span>
<div
class=
"article-toolbar"
>
<!--
<v-btn x-small depressed class="toolbar-button" rounded tabindex="0" @click="shareViaWebShare">
<v-icon small>link</v-icon>
</v-btn>
<v-btn depressed small class="toolbar-button" rounded tabindex="0" @click="shareViaWebShare">
<v-icon small>share</v-icon>
</v-btn>
<v-btn depressed small class="toolbar-button" rounded tabindex="0" @click="shareViaWebShare">
<v-icon small>format_quote</v-icon>
</v-btn>-->
<v-btn
class=
"show-inflection"
rounded
depressed
small
>
Vis bøying
▾
</v-btn>
<!--
<details :title="inflect_tooltip" @toggle="toggle()" v-if="inflected" :class="$vuetify.breakpoint.name">
<details :title="inflect_tooltip" @toggle="toggle()" v-if="inflected" :class="$vuetify.breakpoint.name">
<summary :class="dictionary" onclick="this.blur()" tabindex="0">bøying</summary>
<summary :class="dictionary" onclick="this.blur()" tabindex="0">bøying</summary>
<div class="inflection-canvas">
<div class="inflection-canvas">
<inflectionTable :lemmaList="lemmas_with_word_class_and_lang" :mq="$vuetify.breakpoint.name" />
<inflectionTable :lemmaList="lemmas_with_word_class_and_lang" :mq="$vuetify.breakpoint.name" />
</div>
</div>
</details>
</details>-->
</div>
</div>
</div>
</template>
</template>
...
@@ -123,6 +137,17 @@ summary {
...
@@ -123,6 +137,17 @@ summary {
text-align
:
center
;
text-align
:
center
;
}
}
.article-toolbar
{
margin-top
:
6px
;
}
.toolbar-button
{
color
:
var
(
--v-primary-base
)
!important
;
margin-right
:
3px
;
}
article
h2
{
article
h2
{
padding-top
:
4px
;
padding-top
:
4px
;
padding-bottom
:
0px
;
padding-bottom
:
0px
;
...
@@ -244,6 +269,11 @@ article h2.secondary_header {
...
@@ -244,6 +269,11 @@ article h2.secondary_header {
font-size
:
14px
;
font-size
:
14px
;
}
}
.show-inflection
{
color
:
var
(
--v-primary-base
)
!important
;
font-weight
:
bold
!important
;
}
.context
{
.context
{
color
:
var
(
--v-primary-lighten4
)
!important
;
color
:
var
(
--v-primary-lighten4
)
!important
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment