Browse Source

#2082 presentation notice textes

bach 10 months ago
parent
commit
fe556f5375
2 changed files with 29 additions and 21 deletions
  1. 7 1
      assets/css/app.scss
  2. 22 20
      src/pages/Edition.vue

+ 7 - 1
assets/css/app.scss

@@ -609,7 +609,13 @@ section[role="main-content"]{
     >header{
       position: relative;
       h1{
-        @include title1black;
+        @include title1blue;
+      }
+      aside.notice{
+        // margin-top: 0;
+        // font-size: 1em;
+        // line-height: $base-line *0.5;
+        // margin-bottom: $base-line / 2;
       }
       aside.index-tooltip{
         z-index:10;

+ 22 - 20
src/pages/Edition.vue

@@ -13,26 +13,28 @@
       <h1>
         <router-link :to="{ name:'edition', params: { id: editionid }}">{{ title }}</router-link>
       </h1>
-      <div v-if="author">
-        <p>{{ author }}</p>
-      </div>
-      <div v-if="date">
-        <p>{{ date }}</p>
-      </div>
-      <div v-if="description">
-        <p v-html="description" />
-      </div>
-      <div v-if="biblio" class="biblio">
-        <p v-html="biblio.description" />
-        <a
-          :href="edition_manifestation_href"
-          @click.prevent="onClickManifestation"
-          @keyup.enter="onClickManifestation"
-        >
-          // todo better label
-          {{ biblio.uuid }}
-        </a>
-      </div>
+      <aside class="notice opened">
+        <div v-if="description">
+          <p v-html="description" />
+        </div>
+        <div v-if="author">
+          <p>{{ author }}</p>
+        </div>
+        <!-- <div v-if="date">
+          <p>{{ date }}</p>
+        </div> -->
+        <div v-if="biblio" class="biblio">
+          <p v-html="biblio.description" />
+          <a
+            :href="edition_manifestation_href"
+            @click.prevent="onClickManifestation"
+            @keyup.enter="onClickManifestation"
+          >
+            <!-- // todo better label
+            {{ biblio.uuid }} -->
+          </a>
+        </div>
+      </aside>
 
       <!-- displayed on hover entity on texte -->
       <aside