micro fixes

This commit is contained in:
2022-04-07 10:54:22 +02:00
parent 8f5c72e43b
commit 8e25388ba9
5 changed files with 21 additions and 8 deletions
+16 -6
View File
@@ -28,8 +28,8 @@ that is currently Firefox-only */
body{ body{
color: #1a1a1a; color: #1a1a1a;
// background-image: url('/static/img/grille-ligne-de-base.png'); background-image: url('/static/img/grille-ligne-de-base.png');
// background-repeat: repeat; background-repeat: repeat;
} }
#root{ #root{
@@ -316,6 +316,7 @@ section[role="main-content"]{
li{ li{
opacity: 1; opacity: 1;
transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out;
padding: 3px;
&.inactive{ &.inactive{
opacity: 0.4; opacity: 0.4;
} }
@@ -324,7 +325,16 @@ section[role="main-content"]{
font-variant: small-caps; font-variant: small-caps;
font-size: 1em; font-size: 1em;
cursor: pointer; cursor: pointer;
line-height: $base-line / 2; // line-height: $base-line / 2;
border: 1px solid $grisclair;
border-radius: 3px;
padding: 0.3em;
display: inline-block;
text-align: center;
}
&:not(:first-of-type) span{
width: 1.1em; height: 1.1em;
} }
} }
} }
@@ -472,15 +482,15 @@ section[role="main-content"]{
} }
} }
.attested-forms-occurences{ .attested-forms-occurences{
ul{ >ul{
>li{ >li{
margin: 0 0 1em 0; margin: 0 0 1em 0;
h3{ h3{
@include title1black; @include title1black;
padding:0 0 $base-line / 2 0; padding:0 0 0 0;
} }
li{ li{
margin: 0 0 0.5em 0; // margin: 0 0 0.5em 0;
h4{ h4{
// @include title3black; // @include title3black;
@include title4grey; @include title4grey;
+1
View File
@@ -10,6 +10,7 @@
:title="btnuuidtitle" :title="btnuuidtitle"
class="copy-btn" class="copy-btn"
> >
<!-- todo better label -->
{{ uuid }} <span class="mdi mdi-clipboard-outline" /> {{ uuid }} <span class="mdi mdi-clipboard-outline" />
</button> </button>
<button <button
+1
View File
@@ -29,6 +29,7 @@
@click.prevent="onClickManifestation" @click.prevent="onClickManifestation"
@keyup.enter="onClickManifestation" @keyup.enter="onClickManifestation"
> >
// todo better label
{{ biblio.uuid }} {{ biblio.uuid }}
</a> </a>
</div> </div>
+2 -1
View File
@@ -80,7 +80,8 @@ export default {
}) })
} }
for (let i = 0; i < this.items.length; i++) { for (let i = 0; i < this.items.length; i++) {
if (this.letters.indexOf(this.items[i].letter.toLowerCase()) === -1) { // console.log(typeof this.items[i].letter)
if (this.items[i].letter !== '' && this.letters.indexOf(this.items[i].letter.toLowerCase()) === -1) {
this.letters.push(this.items[i].letter.toLowerCase()) this.letters.push(this.items[i].letter.toLowerCase())
} }
} }
+1 -1
View File
@@ -36,7 +36,7 @@
<template v-if="content" v-slot:nav> <template v-if="content" v-slot:nav>
<section v-if="content.autorities.length" class="autorities"> <section v-if="content.autorities.length" class="autorities">
<h3>Autorities</h3> <h3>Autorités</h3>
<ul> <ul>
<li v-for="(aut, i) in content.autorities" :key="i"> <li v-for="(aut, i) in content.autorities" :key="i">
<a :href="aut.identifier" target="_blanck">{{ aut.autority }}</a> <a :href="aut.identifier" target="_blanck">{{ aut.autority }}</a>