added chutier action link to indexes, fixe #543
This commit is contained in:
@@ -543,6 +543,62 @@ main[role="main"]{
|
||||
@include entree-micro-square;
|
||||
}
|
||||
}
|
||||
&.docsindex{
|
||||
article.node--type-enregistrement{
|
||||
section.contents{
|
||||
// display: grid;
|
||||
// grid-template-columns: 1fr 1fr;
|
||||
// grid-template-rows: 1fr 1fr;
|
||||
h2.node-title{
|
||||
// grid-column: 1;
|
||||
// grid-row: 1;
|
||||
display: inline-block;
|
||||
}
|
||||
.entrees{
|
||||
// grid-column: 2;
|
||||
// grid-row: 1;
|
||||
display: inline-block;
|
||||
margin-left: 1em;
|
||||
}
|
||||
.description{
|
||||
// grid-column: span 2;
|
||||
// grid-row: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// chutier actions on documents
|
||||
div.docsindex,
|
||||
div.taxonomy-term.vocabulary-entrees{
|
||||
article.node--type-enregistrement{
|
||||
display: grid;
|
||||
grid-template-columns: 1em 1fr;
|
||||
grid-column-gap: 0.3em;
|
||||
section.actions{
|
||||
grid-column: 1;
|
||||
padding:0.5em 0;
|
||||
box-sizing: border-box;
|
||||
a[action="add"],
|
||||
.chutier-icon.not-logedin{
|
||||
opacity:0;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
section.contents{
|
||||
grid-column: 2;
|
||||
}
|
||||
&:hover{
|
||||
section.actions{
|
||||
a[action="add"],
|
||||
.chutier-icon.not-logedin{
|
||||
opacity:1;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.lastdocs-home{
|
||||
@@ -2055,13 +2111,15 @@ footer{
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
}
|
||||
|
||||
&.docsindex-link{
|
||||
// margin-right: 4em;
|
||||
&.docsindex-link,
|
||||
&.articles-link{
|
||||
text-transform: capitalize;
|
||||
&.ajax-loading:before{
|
||||
@include spining-loader-square;
|
||||
}
|
||||
}
|
||||
&.articles-link{
|
||||
margin-left: 4em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user