corpus carre vide et plus petit
hover audio link -> node_popup on map index sort title corpus map : white safety zone arround squares aside squares not collisioning square faded not interactive (article filtre) node_popup show chutier icon only if action not add fade not active entries in entrees block closing notice|index doesn't close entree on block and many little things
This commit is contained in:
@@ -339,9 +339,12 @@ main[role="main"]{
|
||||
}
|
||||
|
||||
div.taxonomy-term{
|
||||
>h2{display:none;}
|
||||
>h2{
|
||||
// display:none;
|
||||
@include content_subtitles;
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
>.content{
|
||||
margin-top: 1em;
|
||||
}
|
||||
.field__label{
|
||||
@include content_titles;
|
||||
@@ -1537,185 +1540,195 @@ footer{
|
||||
|
||||
display: inline-block;
|
||||
// vertical-align: top;
|
||||
ul{
|
||||
margin:0;
|
||||
white-space: nowrap;
|
||||
li{
|
||||
@include oblique-list;
|
||||
div.item-list{
|
||||
ul{
|
||||
margin:0;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
span.oblique-wrapper{
|
||||
height:120px; // this is needed to respect the height of oblique links :(
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
position: relative;
|
||||
width:1.5em;
|
||||
}
|
||||
|
||||
a.term-link, a.articles-link{
|
||||
// outline: 1px solid blue;
|
||||
pointer-events: all;
|
||||
background-color: #fff;
|
||||
padding-right: 0.4em;
|
||||
&:before{
|
||||
content: "";
|
||||
display:inline-block;
|
||||
$sq:7px;
|
||||
width: $sq; height:$sq;
|
||||
border: 1px solid #000;
|
||||
background-color: #000;
|
||||
margin-right: 0.5em;
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
li{
|
||||
@include oblique-list;
|
||||
margin:0;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
span.oblique-wrapper{
|
||||
height:120px; // this is needed to respect the height of oblique links :(
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
position: relative;
|
||||
width:1.5em;
|
||||
}
|
||||
|
||||
&.articles-link{
|
||||
margin-left: 4em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
|
||||
.entree-content{
|
||||
display: inline-block;
|
||||
// outline: 1px solid green;
|
||||
width:0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transition: all 300ms ease-in-out;
|
||||
transition-property: width,opacity;
|
||||
span.oblique-wrapper:first-of-type{
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
span.oblique-wrapper a{
|
||||
text-transform: none;
|
||||
pointer-events: auto;
|
||||
a.term-link, a.articles-link{
|
||||
// outline: 1px solid blue;
|
||||
pointer-events: all;
|
||||
// background-color: #fff;
|
||||
background-color: rgba(255,255,255, 0.6);
|
||||
padding-right: 0.4em;
|
||||
color:black;
|
||||
transition: color 0.3s ease-in-out;
|
||||
&:before{
|
||||
content: "";
|
||||
display:inline-block;
|
||||
$sq:5px;
|
||||
$sq:7px;
|
||||
width: $sq; height:$sq;
|
||||
border: 1px solid #000;
|
||||
background-color: #000;
|
||||
margin-right: 0.5em;
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
}
|
||||
&.ajax-loading:before{
|
||||
@include spining-loader-square;
|
||||
|
||||
&.articles-link{
|
||||
margin-left: 4em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
.term-description{
|
||||
|
||||
.entree-content{
|
||||
display: inline-block;
|
||||
margin-left: 1.5em;
|
||||
text-align: left;
|
||||
width:250px;
|
||||
word-wrap:break-word;
|
||||
// word-break:break-all;
|
||||
hyphens: auto;
|
||||
white-space: normal;
|
||||
background-color: $transparent-bg;
|
||||
padding:0.5em;
|
||||
padding-bottom:0;
|
||||
p{
|
||||
font-size: 0.65em;
|
||||
margin:0;
|
||||
// outline: 1px solid green;
|
||||
width:0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transition: all 300ms ease-in-out;
|
||||
transition-property: width,opacity;
|
||||
span.oblique-wrapper:first-of-type{
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
span.oblique-wrapper a{
|
||||
text-transform: none;
|
||||
pointer-events: auto;
|
||||
&:before{
|
||||
content: "";
|
||||
display:inline-block;
|
||||
$sq:5px;
|
||||
width: $sq; height:$sq;
|
||||
border: 1px solid #000;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
&.ajax-loading:before{
|
||||
@include spining-loader-square;
|
||||
}
|
||||
}
|
||||
.term-description{
|
||||
display: inline-block;
|
||||
margin-left: 1.5em;
|
||||
text-align: left;
|
||||
width:250px;
|
||||
word-wrap:break-word;
|
||||
// word-break:break-all;
|
||||
hyphens: auto;
|
||||
white-space: normal;
|
||||
background-color: $transparent-bg;
|
||||
padding:0.5em;
|
||||
padding-bottom:0;
|
||||
p{
|
||||
font-size: 0.65em;
|
||||
margin:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: replace variable system by attribute color
|
||||
// a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
// border-color: attr(color);
|
||||
// background-color: attr(color);
|
||||
// }
|
||||
// TODO: replace variable system by attribute color
|
||||
// a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
// border-color: attr(color);
|
||||
// background-color: attr(color);
|
||||
// }
|
||||
|
||||
&[tid='134']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-134);background-color: var(--e-col-134);}}
|
||||
&[tid='121']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-121);background-color: var(--e-col-121);}}
|
||||
&[tid='125']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-125);background-color: var(--e-col-125);}}
|
||||
&[tid='119']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-119);background-color: var(--e-col-119);}}
|
||||
&[tid='132']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-132);background-color: var(--e-col-132);}}
|
||||
&[tid='122']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-122);background-color: var(--e-col-122);}}
|
||||
&[tid='129']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-129);background-color: var(--e-col-129);}}
|
||||
&[tid='120']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-120);background-color: var(--e-col-120);}}
|
||||
&[tid='130']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-130);background-color: var(--e-col-130);}}
|
||||
&[tid='118']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-118);background-color: var(--e-col-118);}}
|
||||
&[tid='127']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-127);background-color: var(--e-col-127);}}
|
||||
&[tid='133']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-133);background-color: var(--e-col-133);}}
|
||||
&[tid='128']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-128);background-color: var(--e-col-128);}}
|
||||
&[tid='124']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-124);background-color: var(--e-col-124);}}
|
||||
&[tid='116']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-116);background-color: var(--e-col-116);}}
|
||||
&[tid='117']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-117);background-color: var(--e-col-117);}}
|
||||
&[tid='131']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-131);background-color: var(--e-col-131);}}
|
||||
&[tid='126']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-126);background-color: var(--e-col-126);}}
|
||||
&[tid='123']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-123);background-color: var(--e-col-123);}}
|
||||
&[tid='134']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-134);background-color: var(--e-col-134);}}
|
||||
&[tid='121']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-121);background-color: var(--e-col-121);}}
|
||||
&[tid='125']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-125);background-color: var(--e-col-125);}}
|
||||
&[tid='119']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-119);background-color: var(--e-col-119);}}
|
||||
&[tid='132']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-132);background-color: var(--e-col-132);}}
|
||||
&[tid='122']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-122);background-color: var(--e-col-122);}}
|
||||
&[tid='129']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-129);background-color: var(--e-col-129);}}
|
||||
&[tid='120']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-120);background-color: var(--e-col-120);}}
|
||||
&[tid='130']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-130);background-color: var(--e-col-130);}}
|
||||
&[tid='118']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-118);background-color: var(--e-col-118);}}
|
||||
&[tid='127']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-127);background-color: var(--e-col-127);}}
|
||||
&[tid='133']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-133);background-color: var(--e-col-133);}}
|
||||
&[tid='128']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-128);background-color: var(--e-col-128);}}
|
||||
&[tid='124']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-124);background-color: var(--e-col-124);}}
|
||||
&[tid='116']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-116);background-color: var(--e-col-116);}}
|
||||
&[tid='117']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-117);background-color: var(--e-col-117);}}
|
||||
&[tid='131']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-131);background-color: var(--e-col-131);}}
|
||||
&[tid='126']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-126);background-color: var(--e-col-126);}}
|
||||
&[tid='123']{
|
||||
a.term-link:before, .entree-content span.oblique-wrapper a:before{
|
||||
border-color: var(--e-col-123);background-color: var(--e-col-123);}}
|
||||
|
||||
// &.highlighted{
|
||||
// a.term_link{
|
||||
// color: red;
|
||||
// }
|
||||
// }
|
||||
.entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
|
||||
// &.highlighted{
|
||||
// a.term_link{
|
||||
// color: red;
|
||||
// }
|
||||
// }
|
||||
.entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
|
||||
|
||||
a.articles-link:not(:hover):not(.is-active):before{
|
||||
background-color: #fff!important;
|
||||
}
|
||||
|
||||
|
||||
&:not(.opened){
|
||||
a.term-link:not(:hover):not(.highlighted):before{
|
||||
a.articles-link:not(:hover):not(.is-active):before{
|
||||
background-color: #fff!important;
|
||||
}
|
||||
}
|
||||
&.opened{
|
||||
// outline: 1px solid purple;
|
||||
a.term-link:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 15px; right:0;
|
||||
bottom: -3px;
|
||||
border-bottom: 1px solid grey;
|
||||
&:not(.opened):not(.highlighted){
|
||||
a.term-link:not(:hover):before{
|
||||
background-color: #fff!important;
|
||||
}
|
||||
}
|
||||
.entree-content{
|
||||
width:350px;
|
||||
opacity: 1;
|
||||
&.opened{
|
||||
// outline: 1px solid purple;
|
||||
a.term-link:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 15px; right:0;
|
||||
bottom: -3px;
|
||||
border-bottom: 1px solid grey;
|
||||
}
|
||||
.entree-content{
|
||||
width:350px;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
// &:not(:first-of-type) .entree-content{display: none;}
|
||||
}
|
||||
}
|
||||
&.opened, &.highlighted{
|
||||
li:not(.opened):not(.highlighted){
|
||||
a.term-link{
|
||||
color:#a1a1a1;
|
||||
}
|
||||
}
|
||||
// &:not(:first-of-type) .entree-content{display: none;}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1854,6 +1867,9 @@ footer{
|
||||
}
|
||||
}
|
||||
.chutier-icon{
|
||||
&[action="add"]{
|
||||
display:none;
|
||||
}
|
||||
position:absolute;
|
||||
top:0.4em; right:0.4em;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ header[role="banner"]{
|
||||
>.wrapper{
|
||||
position: relative;
|
||||
padding:0.5em 0;
|
||||
border-bottom: 1px solid red;
|
||||
// border-bottom: 1px solid red;
|
||||
// TODO: what header height to fit well with player ??
|
||||
height:70px;
|
||||
>.region{
|
||||
|
||||
Reference in New Issue
Block a user