diff --git a/assets/css/app.scss b/assets/css/app.scss index 90edf64..0ef0b5a 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -312,73 +312,139 @@ section[role="main-content"]{ color: $bleuroilight; font-size: 0.7em; } + + .attested-forms{ + ul{ + // >li{ + // margin: 0 0 1em 0; + // li{ + // margin: 0 0 0.5em 0; + // } + // } + } + a{ + @include title4grey; + color: $grisfonce; + font-weight: 400; + } + } + } + .tabs{ + border-bottom: 1px solid $bleuroilight; + margin-bottom: $base-line / 2; + .tab{ + cursor: pointer; + border-radius: 5px 5px 0 0; + z-index: 10; + display: inline-block; + margin-bottom: -2px; + padding: 0.3em 0.5em; + border: 1px solid $bleuroilight; + &.active{ + border-bottom: 2px solid white; + } + } } .occurences{ >ul{ >li{ - padding:0 0 2em 0; + padding:0 0 $base-line / 2 0; h3{ @include title2black; - padding:0 0 0.5em 0; + padding:0 0 $base-line / 2 0; color: $bleuroi; } >ul{ >li{ - padding:0 0 0.5em 0; + // padding:0 0 0.5em 0; section{ h4{ @include title3black; display: inline-block; - } - span.open-close{ - cursor: pointer; - display: inline-block; - svg{ - transform: rotate(-90deg) scale(0.8); - transition: transform 0.3s ease-in-out; - path{ - fill:$bleuroi; + a{ + span.form{ + font-style: italic; } } } - div.text{ - max-height: 0; - transition: max-height 0.3s ease-in-out; - overflow: hidden; - box-sizing: content-box; - p, h1, h2, h3, h4, h5, h6{ - margin: 0.5em 0 0 0; - } - } - a.lire-plus{ - color: $bleuroi; - opacity: 0; - display: inline-block; - height: 0; - overflow: hidden; - transition: height, opacity 0.3s ease-in-out; - } - &.opened{ - span.open-close{ - cursor: pointer; - display: inline-block; - svg{ - transform: scale(0.8) rotate(0); - } - } - div.text{ - max-height:100px; - } - a.lire-plus{ - opacity: 1; - height:1em; - } + // ? c'est quoi ça ? + // span.open-close{ + // cursor: pointer; + // display: inline-block; + // svg{ + // transform: rotate(-90deg) scale(0.8); + // transition: transform 0.3s ease-in-out; + // path{ + // fill:$bleuroi; + // } + // } + // } + // div.text{ + // max-height: 0; + // transition: max-height 0.3s ease-in-out; + // overflow: hidden; + // box-sizing: content-box; + // p, h1, h2, h3, h4, h5, h6{ + // margin: 0.5em 0 0 0; + // } + // } + // a.lire-plus{ + // color: $bleuroi; + // opacity: 0; + // display: inline-block; + // height: 0; + // overflow: hidden; + // transition: height, opacity 0.3s ease-in-out; + // } + // &.opened{ + // span.open-close{ + // cursor: pointer; + // display: inline-block; + // svg{ + // transform: scale(0.8) rotate(0); + // } + // } + // div.text{ + // max-height:100px; + // } + // a.lire-plus{ + // opacity: 1; + // height:1em; + // } + // } + } + } + } + } + } + } + .attested-forms-occurences{ + ul{ + >li{ + margin: 0 0 1em 0; + h3{ + @include title2black; + padding:0 0 $base-line / 2 0; + } + li{ + margin: 0 0 0.5em 0; + h4{ + @include title3black; + display: inline-block; + a{ + span.edition{ + font-style: italic; } } } } } } + a{ + @include title4grey; + color: $grisfonce; + font-weight: 400; + } } nav{ h3{ @@ -390,21 +456,6 @@ section[role="main-content"]{ margin:0 0 0.5em; color: $bleuroi; } - .attested-forms{ - ul{ - >li{ - margin: 0 0 1em 0; - li{ - margin: 0 0 0.5em 0; - } - } - } - a{ - @include title4grey; - color: $grisfonce; - font-weight: 400; - } - } } } diff --git a/assets/css/base/_fonts.scss b/assets/css/base/_fonts.scss index 95c8805..7cebada 100644 --- a/assets/css/base/_fonts.scss +++ b/assets/css/base/_fonts.scss @@ -51,6 +51,7 @@ footer[role="tools"] .row>nav{ color: $grisfonce; font-weight: 400; margin:0; + line-height: $base-line / 2; } @mixin title3black { @@ -59,6 +60,7 @@ footer[role="tools"] .row>nav{ color: $grisfonce; font-weight: 400; margin:0; + line-height: $base-line / 2; } @mixin title4black { diff --git a/src/components/Content/Forme.vue b/src/components/Content/Forme.vue new file mode 100644 index 0000000..75bd314 --- /dev/null +++ b/src/components/Content/Forme.vue @@ -0,0 +1,128 @@ + + + + + {{ oc.title }} ( {{ editionTitle }} ) + + + + + + + + + + diff --git a/src/components/Content/IndexItemOcurrences.vue b/src/components/Content/IndexItemOcurrences.vue index 7d38e8a..edc31b6 100644 --- a/src/components/Content/IndexItemOcurrences.vue +++ b/src/components/Content/IndexItemOcurrences.vue @@ -1,55 +1,90 @@ - - - - - - - - - - - - - - - + + + Occurences + Formes attestées + + + + + + + + + + + + + + + + + + + + + {{ af.title }} + + + + + + + + + +