map / marker / geoformat / chapter : remove preview panel button and redirect front to narrative - related to #21
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
This commit is contained in:
parent
bf877c23d2
commit
8a7d4832f0
9 changed files with 45 additions and 14 deletions
|
|
@ -31,14 +31,12 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 22px;
|
font-size: 14px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 28px;
|
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
background: rgba(60, 143, 66, 0.52);
|
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
|
|
@ -49,13 +47,14 @@ h1 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-right: 0mm;
|
margin-right: 0mm;
|
||||||
margin-left: 0mm;
|
margin-left: 0mm;
|
||||||
color: rgb(224, 9, 9);
|
|
||||||
border-style: solid;
|
|
||||||
border-color: #e01b1b;
|
|
||||||
border-width: 3px;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
font-size: 28px;
|
||||||
|
border-style: solid;
|
||||||
|
border- border-width: 3px;
|
||||||
|
border-
|
||||||
|
border- border-color: normal;
|
||||||
|
background: rgba(60, 143, 66, 0.52);}
|
||||||
|
|
||||||
em {
|
em {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
title: Chapitre
|
title: Chapitre
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
tabs:
|
tabs:
|
||||||
contentTab:
|
contentTab:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
title: Géoformat
|
title: Géoformat
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
tabs:
|
tabs:
|
||||||
contentTab:
|
contentTab:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
title: Carte
|
title: Carte
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
columns:
|
columns:
|
||||||
main:
|
main:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
title: Marqueur
|
title: Marqueur
|
||||||
icon: location
|
icon: location
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
tabs:
|
tabs:
|
||||||
content:
|
content:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
title: Récit
|
title: Récit
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
tabs:
|
tabs:
|
||||||
contentTab:
|
contentTab:
|
||||||
|
|
@ -22,7 +27,7 @@ tabs:
|
||||||
text: "{{ file.coverLabel }}"
|
text: "{{ file.coverLabel }}"
|
||||||
multiple: false
|
multiple: false
|
||||||
width: 1/2
|
width: 1/2
|
||||||
pdf:
|
pdf:
|
||||||
label: PDF de la publication
|
label: PDF de la publication
|
||||||
type: files
|
type: files
|
||||||
multiple: false
|
multiple: false
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
title: Projet
|
title: Projet
|
||||||
|
buttons:
|
||||||
|
- open
|
||||||
|
- settings
|
||||||
|
- status
|
||||||
|
- languages
|
||||||
|
|
||||||
columns:
|
columns:
|
||||||
main:
|
main:
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
<h1><?= $page->title() ?></h1>
|
<?php
|
||||||
|
|
||||||
|
$redirectedTemplates = ['map', 'marker', 'geoformat', 'chapter'];
|
||||||
|
|
||||||
|
if (in_array($page->intendedTemplate(), $redirectedTemplates)) go($page->parents()->findBy('template', 'narrative')->url(), 301);
|
||||||
|
|
@ -204,12 +204,11 @@ watch(isCustomCssEditable, async (newValue, oldValue) => {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: #21252b;
|
background: #21252b;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-section {
|
.custom-section {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 300px;
|
max-height: 45.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-header {
|
.section-header {
|
||||||
|
|
@ -301,6 +300,7 @@ h3 {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.readonly {
|
.readonly {
|
||||||
|
|
@ -321,8 +321,6 @@ h3 {
|
||||||
textarea {
|
textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 300px;
|
|
||||||
max-height: 500px;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background: #1e1e1e;
|
background: #1e1e1e;
|
||||||
color: #abb2bf;
|
color: #abb2bf;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue