first global commit

This commit is contained in:
2020-09-23 15:50:29 +02:00
commit 78adf3a099
6052 changed files with 1221183 additions and 0 deletions
@@ -0,0 +1,43 @@
@import "elements";
/** colors */
@black:#000;
@timeline-color:#77787B;
@timeline-lighten-color:#A5A5A5;
@timeline-juicy-color:#F2F2F2;
@topologies-color:#566B26;
@topologies-lighten-color:#98A572;
@topologies-juicy-color:#D3DAC2;
@lieux-color:#986C8F;
@lieux-lighten-color:#BDA3B7;
@lieux-juicy-color:#E3D9E0;
@artistes-color:#00415C;
@artistes-lighten-color:#6C9EB5;
@artistes-juicy-color:#ADC7D6;
/** jscrollpane */
.jscrollpane(@lighten-color, @juicy-color){
.jspContainer{
.jspPane{}
.jspVerticalBar{ width:4px; .bgc(@juicy-color); }
.jspHorizontalBar{ height:4px; .bgc(@juicy-color); }
.jspTrack{
.bgc(transparent);
.jspDrag{
.bgc(@lighten-color); .rounded(2px); .opacity(0.6); .transition(opacity, 0.2s, ease-out);
}
&:hover{
.jspDrag {
.opacity(1);
}
}
}
}
}
.jspScrollable{.jscrollpane(@timeline-color, @timeline-juicy-color);}
+165
View File
@@ -0,0 +1,165 @@
/** COMMONS */
.p(@p){ padding:@arguments; }
.p(@v, @h){ padding:@arguments; }
.p(@t, @l, @b, @l){ padding:@arguments; }
.pt(@p){ padding-top:@p; }
.pr(@p){ padding-right:@p; }
.pb(@p){ padding-bottom:@p; }
.pl(@p){ padding-left:@p; }
.m(@p){ margin:@arguments; }
.m(@v, @h){ margin:@arguments; }
.m(@t, @l, @b, @l){ margin:@arguments; }
.mt(@m){ margin-top:@m; }
.mr(@m){ margin-right:@m; }
.mb(@m){ margin-bottom:@m; }
.ml(@m){ margin-left:@m; }
.b(@b){ border: @b; }
.b(@size, @color){ border: @size solid @color; }
.bt(@b){ border-top: @b;}
.bt(@size, @color){border-top: @size solid @color;}
.br(@b){ border-right: @b;}
.br(@size, @color){border-right: @size solid @color;}
.bb(@b){ border-bottom: @b;}
.bb(@size, @color){border-bottom: @size solid @color;}
.bl(@b){ border-left: @b;}
.bl(@size, @color){border-left: @size solid @color;}
.bg(@color, @url, @repeat, @scrollfixed, @pos, ){background: @arguments;}
.bgc(@color){background-color: @arguments;}
.inlineblock(){
display:moz-inline-stack;
display:inline-block;
vertical-align:top;
zoom:1;
*display:inline;
/* margin-right:-.25em;*/
.ie7 &, .ie8 &{display:inline;}
}
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
background: @color;
background: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0, @start),
color-stop(1, @stop));
background: -ms-linear-gradient(bottom,
@start,
@stop);
background: -moz-linear-gradient(center bottom,
@start 0%,
@stop 100%);
}
.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
background: @color;
background: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0, rgb(@start,@start,@start)),
color-stop(1, rgb(@stop,@stop,@stop)));
background: -ms-linear-gradient(bottom,
rgb(@start,@start,@start) 0%,
rgb(@start,@start,@start) 100%);
background: -moz-linear-gradient(center bottom,
rgb(@start,@start,@start) 0%,
rgb(@stop,@stop,@stop) 100%);
}
.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE) {
border-top: solid 1px @top-color;
border-left: solid 1px @left-color;
border-right: solid 1px @right-color;
border-bottom: solid 1px @bottom-color;
}
.drop-shadow(@x-axis: 0, @y-axis: 1px, @blur: 2px, @alpha: 0.1) {
-webkit-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
-moz-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
}
.rounded(@radius: 2px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.border-radius(@topleft: 0, @topright: 0, @bottomright: 0, @bottomleft: 0) {
-webkit-border-radius:@topleft @topright @bottomright @bottomleft;
-moz-border-radius:@topleft @topright @bottomright @bottomleft;
border-radius:@topleft @topright @bottomright @bottomleft;
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.opacity(@opacity: 0.5) {
-moz-opacity: @opacity;
-khtml-opacity: @opacity;
-webkit-opacity: @opacity;
opacity: @opacity;
}
.transition-duration(@duration: 0.2s) {
-webkit-transition-duration: @duration;
-moz-transition-duration: @duration;
-o-transition-duration: @duration;
transition-duration: @duration;
}
.rotation(@deg:5deg){
-webkit-transform: rotate(@deg);
-moz-transform: rotate(@deg);
transform: rotate(@deg);
}
.scale(@ratio:1.5){
-webkit-transform:scale(@ratio);
-moz-transform:scale(@ratio);
transform:scale(@ratio);
}
.transition(@p, @d, @e) {
-webkit-transition: @arguments;
-moz-transition: @arguments;
-o-transition: @arguments;
transition: @arguments;
}
.inner-shadow(@horizontal:0, @vertical:1px, @blur:2px, @alpha: 0.4) {
-webkit-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
-moz-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
}
.box-shadow(@arguments) {
-webkit-box-shadow: @arguments;
-moz-box-shadow: @arguments;
box-shadow: @arguments;
}
.columns(@colwidth: 250px, @colcount: 0, @colgap: 50px, @columnRuleColor: #EEE, @columnRuleStyle: solid, @columnRuleWidth: 1px) {
-moz-column-width: @colwidth;
-moz-column-count: @colcount;
-moz-column-gap: @colgap;
-moz-column-rule-color: @columnRuleColor;
-moz-column-rule-style: @columnRuleStyle;
-moz-column-rule-width: @columnRuleWidth;
-webkit-column-width: @colwidth;
-webkit-column-count: @colcount;
-webkit-column-gap: @colgap;
-webkit-column-rule-color: @columnRuleColor;
-webkit-column-rule-style: @columnRuleStyle;
-webkit-column-rule-width: @columnRuleWidth;
column-width: @colwidth;
column-count: @colcount;
column-gap: @colgap;
column-rule-color: @columnRuleColor;
column-rule-style: @columnRuleStyle;
column-rule-width: @columnRuleWidth;
}
.translate(@x:0, @y:0) {
-moz-transform: translate(@x, @y);
-webkit-transform: translate(@x, @y);
-o-transform: translate(@x, @y);
-ms-transform: translate(@x, @y);
transform: translate(@x, @y);
}
@@ -0,0 +1,95 @@
@import "elements";
.Museo{font-family: "Museo", Arial, sans-serif; -moz-font-feature-settings: "calt=0,liga=0";}
.MuseoSans{font-family: "MuseoSans", Arial, sans-serif;-moz-font-feature-settings: "calt=0,liga=0";}
.MuseoSlab{font-family: "MuseoSlab", Arial, sans-serif;-moz-font-feature-settings: "calt=0,liga=0";}
a, a:visited{color:#000;}
/*a.active, li a.active{color:@main-blue;}*/
body{
.MuseoSans;
font-size:16px;
// font-feature-settings: "liga" 0;
// moz-font-feature-settings: "liga" 0;
// font-variant-ligatures: normal;
// -moz-font-feature-settings: "liga=0";
}
.8{font-size:8px;}
.9{font-size:9px;}
.10{font-size:10px;}
.11{font-size:10px;}
.12{font-size:12px;}
.14{font-size:14px;}
.16{font-size:16px;}
.18{font-size:18px;}
.24{font-size:24px;}
.regular{font-weight:normal;}
.bold{font-weight:bold;}
.100{font-weight:100;}
.300{font-weight:300;}
.500{font-weight:500;}
.700{font-weight:700;}
.900{font-weight:900;}
.upper{text-transform: uppercase;}
.italic{font-style:italic;}
.normal{font-style: normal;}
@screen-min-width:1201px;
/** FEUILLES DE STYLES */
.fs-header(){
.MuseoSans; .11; .900; text-decoration: none; color:#000; display:inline;
/* @media screen and (max-width:1200px){ .11; }*/
@media screen and (min-width:@screen-min-width){ .12; }
html.oldie &{.9;}
}
.fs-region-title(){
.MuseoSans; .11; .900; .upper; .m(0);
@media screen and (min-width:@screen-min-width){ .12; }
}
/** timeline */
.fs-titre-event-timeline(){
.MuseoSans; .12; .500; .italic;
}
.fs-artist-event-timeline(){
.MuseoSans; .12; .700;
}
/** filters */
.fs-filters-list(){
.MuseoSans; .11; .500;
@media screen and (min-width:@screen-min-width){ .12; }
}
.fs-footer-bottom(){
.MuseoSans; .8; .500; color:#494949; text-decoration: none;
a{color:#494949; text-decoration: none;}
}
.fs-perfnode-title(){
.MuseoSans; .900; .24;
}
.fs-perfnode-label(){
.MuseoSans; .900; .11; .upper;
}
.fs-perfnode-personne(){
.MuseoSans; .500; .16; .upper;
}
.fs-personne-texte(){
.MuseoSans; .500; .12;
}
.fs-perfnode-serie(){
.MuseoSans; .500; .16;
}
@@ -0,0 +1,67 @@
/**
* Layouts
*
*/
@import "elements";
#content, #center .page-title, #perfnode, #filters, #timeline, #timeline-container{
.transition(height, 1s, ease-out);
/*-webkit-transition: height, 5s, ease-out;
-moz-transition: height, 5s, ease-out;
-o-transition: height, 5s, ease-out;
transition: height, 5s, ease-out;
*/
}
body.layout-intro{
#main{ height:97%; }
#perfnode{ height:0%!important; }
#filters{ height:0%; }
#timeline{ height:65%;
#timeline-container{ height:0%; }
}
#timeline-loader{ display:block; margin:0 auto 5px;}
}
body.layout-timeline{
#main{
height:97%;
#content, #center .page-title{height:0%;}
}
#perfnode{ height:0%!important; }
#filters{ height:30%; }
#timeline{ height:65%;
#timeline-container{ height:98%; }
}
#timeline-loader{ display:none; }
}
body.layout-perfnode{
#main{
height:97%;
#content, #center .page-title{height:0%;}
}
#perfnode{ height:85%!important; }
#filters{ height:0%; }
#timeline{ height:3%;
#timeline-container{ height:0%; }
}
#timeline-loader{ display:none; }
}
@@ -0,0 +1,826 @@
/**
* Primary Drupal Styles
* Author: g-u-i.net
*/
@import "elements";
@import "commons";
@import "layout";
@import "fonts";
@import "timeline";
/** layout */
html, body{
position:relative;
width:100%; height:100%;
/* background-color: red;*/
}
#container{
width:100%; height:100%;
//width:1000px; height:700px;
min-width:1020px; min-height:700px;
.m(0 auto); background-color: #FFF;
&>.inner{width:96%; height:94%; .p(1.5%);}
}
/** HEADER */
#header{
height:3%; width:100%; position:relative;
border-bottom:2px solid #000; //.pb(5px);
.logo{
width:35%; height:27px; position:relative; bottom:0; left:0;
html.oldie &{width:49%;}
h1{
.fs-header;
a{text-decoration: none;}
}
}
#header-blocks{
width:63%; position:absolute; bottom:0; right:0; text-align: right; height:27px;
html.oldie &{width:62%;}
// >.wrapper{position:relative; width:100%; height:100%;}
.region{
.inlineblock;
&:not(:first-child){ margin-left:1.1em; }
// don't know why but here display:inline; deosn't work on ie8 …
html.oldie &{float:left; margin-left:10px;}
}
}
ul.menu{
padding:0; margin:0;
li{
.inlineblock; margin:0;
&:not(.last){.p(0 6px 0 0);}
&.last{.p(0);}
a{.fs-header;}
}
}
ul.language-switcher-locale-url{
padding:0; margin:0;
li{padding-right:10px;}
li.active{display:none;}
a{.fs-header;}
}
#search-block-form{
h2{display:none;}
.container-inline{height:27px; line-height:1;}
.form-item{
padding:0; margin:0; display: inline-block; vertical-align: middle;
label{display:none;}
input.form-text{border: 1px solid #D4D4D4; width:10em; .fs-header; .500; padding:2px;}
}
#edit-actions{
display:inline-block; vertical-align: middle;
input.form-submit{border: 0 solid #999; background-color: transparent; .fs-header; .pr(0); padding-top:3px;}
}
span.close-search{display:inline-block; vertical-align: middle; width:20px; height:20px; background-image: url('../images/btns_close.png'); cursor:pointer; }
&.loading{
input.form-submit{visibility: hidden;}
background: transparent url('../images/ajax-loader.gif') no-repeat 98% center;
}
}
}
/** INTRO-MODAL */
#intro-wrapper{
position:fixed; z-index:200; width:100%; height:100%; top:0; left:0;
.bg{ background-color: #fff; .opacity(0.6); width:100%; height:100%; position:absolute;}
.modal{
margin:0 auto; top:0; width:40%; position:relative; overflow: hidden;
.transition(margin-top, 0.8s, ease-out);
.drop-shadow(0,0,7px,0.8); .rounded(5px); background-color: #fff;
>*{ padding:1em; }
p{.14;}
}
.btns{
text-align: right;
span{
display:inline-block; .rounded(3px); background-color: #ddd; cursor:pointer; padding:0.1em 0.5em 0.1em 0.5em; .14; margin:0.5em;
}
}
}
/** MAIN */
#main{
height:97%;
/** SIDEBAR FIRST */
#sidebar-first{
.inlineblock; width: 29%;
}
ul li.leaf{
list-style-image:none;
list-style-type: none;
font-size: 12px;
margin-bottom: 10px;
a{text-decoration: none;}
a:visited{font-weight:700}
a:hover{font-weight:700}
a:active{font-weight:700}
.active-trail {font-weight:700}
}
.not-front.node-type-page &,
.not-front.node-type-temoignage &,
.not-front.node-type-document-video &,
.not-front.node-type-biographie &{
background-color:#D3D3D3 ;
}
/** CENTER */
#center{
.inlineblock; width:100%; height:99%; position:relative;
.pt(1%);
// #content-top{
// ul.menu li{.inlineblock;}
// }
.page-title{
overflow: hidden;
.fs-region-title();
.timeline &{color:@timeline-lighten-color;}
}
/** CONTENT */
#content{
// padding:1em;
.js .front &,
.js .node-type-performance & {
display:none;
overflow: hidden;
}
.layout-intro &{
max-width:700px; .m(0 auto); //.pl(20%); .pr(20%);
}
.field-label {font-size:12px;color:#000; margin-top:1em; margin-bottom:0,7em;}
}
#perfnode{
height:85%;
.node .node-effectuation .field-item {font-size:10px;}
p{ margin:0;}
.locality {margin-left:-5px;}
}
.not-front.node-type-page &,
.not-front.node-type-temoignage &,
.not-front.node-type-document-video &,
.not-front.node-type-biographie &{
margin-left:75px;
width:550px;
padding-top:20px;
#content{
p {font-size:12px; color:#000; line-height:1.4;}
a{text-decoration:none; font-size:12px;}
a:visited{font-weight:700}
a:hover{font-weight:700}
a:active{font-weight:700}
}
}
}
/** SIDEBAR SECOND */
#sidebar-second{
.inlineblock; width: 18%;
}
}
/** filters */
.filter-color(@color, @lighten-color, @juicy-color){
.filters-selection{
.bb(2px, @lighten-color);
}
.list{
li{
color:@color;
&:hover{color:@color; span{.bgc(@juicy-color);} }
&.selected{color:@lighten-color;}
}
.jscrollpane(@lighten-color, @juicy-color);
}
.search{color:@color;}
.title{color:@color;}
.filters-selected{
span{.bgc(@juicy-color); color:@color; .700;}
}
}
#filters{
/* height:30%;*/
.filter{
.inlineblock; width:32%; height:100%;
.ml(2%); &.filter-0{.ml(0);}
.filters-selection{
height:100%; overflow:hidden; position:relative;
.list{
height:100%; overflow:auto; .mb(10px);
ul,li{ .p(0); .m(0);}
ul{ .pb(20px); }
li{
cursor:pointer; line-height:1; overflow:hidden; height:auto;
.transition(height, 0.1s, linear);
span{
.fs-filters-list();
.p(0.3em 0.4em 0.2em 0);
}
&:hover{span{.pl(0.3em);}}
&.subtracted{height:0;}
&.subtracted.conserved{height:auto;}
}
}
.search{
position:absolute; right:10px; bottom:0; width:40%; .11; height:10px;
border: 1px solid #D4D4D4;
}
.title{
position:absolute; left:0; bottom:0; .bgc(#fff); width:90%; .p(0.5em 0 0);
.fs-region-title();
}
}
.filters-selected{
span{
cursor:pointer;
.fs-filters-list(); .p(0.2em 2em 0 0.4em); .inlineblock; .m(0.3em 0.3em 0 0);
background-repeat: no-repeat;
background-position: right center;
}
}
&.filter-0{
.filter-color(@topologies-color,@topologies-lighten-color,@topologies-juicy-color);
.filters-selected{
body.layout-timeline & span{
background-image:url('../images/btns_close_color-02.png');
}
}
}
&.filter-1{
.filter-color(@lieux-color,@lieux-lighten-color,@lieux-juicy-color);
.filters-selected{
body.layout-timeline & span{
background-image:url('../images/btns_close_color-01.png');
}
}
}
&.filter-2{
.filter-color(@artistes-color,@artistes-lighten-color,@artistes-juicy-color);
.filters-selected{
body.layout-timeline & span{
background-image:url('../images/btns_close_color-03.png');
}
}
}
}
}
/** perfnode */
#perfnode{
overflow:hidden; position:relative;
.bgc(@timeline-juicy-color);
.nav_perf(){ position:absolute; top:50%; width:20px; height:20px; .mt(-10px); cursor:pointer; z-index:150; background-color: #fff;}
.prev-perf{ .nav_perf; left:0; background-image: url('../images/btns_moveleft.png'); .ml(-4px);}
.next-perf{ .nav_perf; right:0; background-image: url('../images/btns_moveright.png'); .mr(-4px);}
.loader{position:absolute; top:50%; left:50%; width:20px; height:20px; .ml(-10px); .mt(-10px); background-image: url('../images/loader.gif'); z-index:100; display:none;}
&.loading{ .loader{display:block;} }
.close{position:absolute; top:0; right:0; width:19px; height:20px; background-image: url('../images/btns_close.png'); z-index:100; display:block;}
&.loading{ .close{display:none;} }
.node-container{ margin:0 20px; }
// grid
// width:1000px
// cel :100px
@cel:100px;
@padd:0;
.cel(@n){
width:(@cel* @n) - @padd*2;
/* background-color:rgba(255,0,0,0.1);*/
padding:@padd;
//.bl(1px, rgba(255,0,0,0.1));
}
.scroller>.node{
>.grid-block{
position:absolute;
}
h1.node-title{
.m(0);
.fs-perfnode-title;
.cel(3);
}
.field-label{.fs-perfnode-label; color:@timeline-lighten-color;}
.field-personne{
.cel(2);
.fs-perfnode-personne;
}
.field-type-textauthor,
>.field-type-text-long{
.cel(4);
.field-item{
max-height:@cel*3;
overflow:auto;
// article, address, p{
.fs-personne-texte;
// }
}
address{.700;}
}
.field-name-field-serie{
.fs-perfnode-serie;
.cel(3);
}
.field-name-field-type-de-performance{
.fs-perfnode-serie;
.cel(3);
}
.field-name-field-tags-libre{
.fs-personne-texte;
.cel(2);
}
.field-name-field-site-internet{
.fs-personne-texte;
.cel(3);
a{
text-decoration: none;
&:hover{text-decoration: underline;}
}
}
.node-effectuation{
.cel(2);
h1{.m(0);}
.field-item{.fs-perfnode-serie;}
}
.node-document-video{
.cel(4);
.fs-personne-texte;
}
.node-document{
.cel(3);
.fs-personne-texte;
}
.node-objet{
.cel(3);
.fs-personne-texte;
}
.node-temoignage{
.cel(3);
.fs-personne-texte;
}
figure{
position:relative;
figcaption{
position:absolute; right:0; bottom:0;
width:96%; padding:2%;
background-color: rgba(255,255,255,0.8);
.opacity(0); .transition(opacity, 0.5s, ease-out);
color:#000; .10;
}
.blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
&:hover{figcaption{.opacity(1);}}
}
}
}
/** FOOTER */
#footer{
height:3%; display:none;
#footer-top{
text-align:center; p{.m(0);}
}
#footer-bottom{
.block{
.inlineblock; .fs-footer-bottom;
}
}
}
/** MISC */
li, .item-list ul li{list-style: none inside url(); margin-left:0;}
/** Messages. */
div.messages {
padding: 9px;
margin: 0.5em 0 0;
color: #036;
background: #bdf;
border: 1px solid #ace;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
div.warning {
color: #840;
background: #fe6;
border-color: #ed5;
}
div.error {
color: #fff;
background: #e63;
border-color: #d52;
}
div.error p.error {
color: #333;
}
div.status {
color: #360;
background: #cf8;
border-color: #be7;
}
/** Tab navigation */
ul.primary, .views-admin-links ul {
font:13px/1.231 sans-serif; *font-size:small;
border-collapse: collapse;
padding: 0 0 0 1em; /* LTR */
white-space: nowrap;
list-style: none;
margin: 5px;
height: auto;
line-height: normal;
border-bottom: 1px solid #bbb;
li{
display: inline;
a{
background-color: #ddd;
border-color: #bbb;
border-width: 1px;
border-style: solid solid none solid;
height: auto;
margin-right: 0.5em; /* LTR */
padding: 0 1em;
text-decoration: none;
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
&:hover{
background-color: #eee;
border-color: #ccc;
border-bottom-color: #eee;
}
}
&.active a {
background-color: #fff;
border: 1px solid #bbb;
border-bottom: #fff 1px solid;
}
}
}
ul.secondary {
border-bottom: 1px solid #bbb;
padding: 0.5em 1em;
margin: 5px;
li {
display: inline;
padding: 0 1em;
border-right: 1px solid #ccc; /* LTR */
a {
padding: 0;
text-decoration: none;
&.active {
border-bottom: 4px solid #999;
}
}
}
}
/** sound cloud player */
.pa-sc-player{
.sc-trackslist{ display:none; }
.sc-controls, .sc-time-indicators, .sc-time-span{.inlineblock(); vertical-align:middle;}
.sc-controls{
position: relative;
width:20px; height:20px;
margin-right:15px;
a.sc-play, a.sc-pause{
position: absolute; top:0; left:0;
display:block; width:100%; height:100%;
text-decoration: none;
.rounded(5px); overflow: hidden;
span{margin-left:-100px;}
}
a.sc-play{
background: #fff url('../images/player-sound-cloud-VA-bg-play.png') no-repeat center center;
}
a.sc-pause{
background: #fff url('../images/player-sound-cloud-VA-bg-pause.png') no-repeat center center; display:none;
}
}
&.playing{
.sc-controls{
a.sc-play{display:none;}
a.sc-pause{display:block;}
}
// a.sc-play{
// background-color: #1A1A1A;
// color:#FFF;
// }
}
.sc-time-indicators{
font-size:14px; margin-right:10px; padding-top:3px; min-width:75px;
}
.sc-time-span{
width:300px; height:10px; background-color: #fff; position:relative; cursor:pointer;
.sc-buffer, .sc-played{width:0; height:100%; position:absolute;}
.sc-buffer{background-color: #ddd;}
.sc-played{background-color: #1A1A1A;}
}
.node-temoignage.grid-block &{
background-color:#D3D3D3; .rounded(3); .p(2px);
.sc-time-span{width:170px};
}
}
/** navigation sans javascript **/
.generale-design(){
#main {background-color:#D3D3D3; height:100%;
#center { height:100%;
.page-title{margin-left:2.5em;}
#content { padding:2%; display:block;
a,a:visited{font-size:12px; font-weight:500; text-decoration:none;}
a:hover {font-size:12px; font-weight:700; text-decoration:none; }
}
}
}
}
html.no-js, html.classic-nav{
body, #container, #container>.inner, #header, #main, #footer{ height:auto;}
body{ overflow: auto;}
#container{width:95%;}
//HOME//
body.front{
.generale-design;
.item-list {
.pager li{
background-color:transparent;
a,a:visited{color:#000;}
color:#000;
border-left:1px solid #000;
}
li, ul li {
a,a:visited{color:#A5A5A5;}
color:#A5A5A5;
background-color:#fff;
display:inline-block;
vertical-align:top;
line-height:0.1em;
margin-bottom:1em;
padding-right:1em;
padding-left:0.5em;
border-left:3px solid #A5A5A5;
}
}
}
//FICHES PERFORMANCE//
body.node-type-performance{
.generale-design;
#main{
background-color:#F2F2F2;
#center #content {
.node.type-performance>.content{
.bordered-block(){
display: inline-block;
vertical-align: top;
padding-left:0.5em;
margin:0 1em 0 0.5em;
border-left:3px solid @timeline-lighten-color;
}
.non-bordered(){
display:block; border:none;
}
@cel:100px;
@padd:0;
.cel(@n){
width:(@cel* @n) - @padd*2;
/* background-color:rgba(255,0,0,0.1);*/
padding:@padd;
//.bl(1px, rgba(255,0,0,0.1));
}
h1.node-title{
.m(0);
.fs-perfnode-title;
.cel(3);
}
.field-label{.fs-perfnode-label; color:@timeline-lighten-color;}
.field-personne{
.cel(2);
.fs-perfnode-personne;
}
.field-type-textauthor, .field-type-text-long{
.cel(4);
.field-item{
max-height:@cel*3;
overflow:auto;
// article, address, p{
.fs-personne-texte;
// }
}
address{.700;}
}
.field-name-field-serie{
.fs-perfnode-serie;
.cel(3);
}
.field-name-field-images{
.field-item{
.inlineblock; margin:0 1em 1em 0;
}
}
.field-name-field-type-de-performance{
.fs-perfnode-serie;
.cel(3);
}
.field-name-field-tags-libre{
.fs-personne-texte;
.cel(2);
}
.node-effectuation{
.cel(2);
h1{.m(0);}
.field-item{.fs-perfnode-serie;}
}
.node-document-video{
.cel(4);
.fs-personne-texte;
}
.node-document{
.cel(3);
.fs-personne-texte;
}
.node-objet{
.cel(3);
.fs-personne-texte;
}
figure{
position: relative;
figcaption{
position:absolute; right:0; bottom:0;
width:96%; padding:2%;
background-color: rgba(255,255,255,0.8);
.opacity(0); .transition(opacity, 0.5s, ease-out);
color:#000; .10;
}
.blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
&:hover{figcaption{.opacity(1);}}
}
>.field{
.bordered-block;
}
.field-name-field-effectuations,
.field-name-field-documents-sonor,
.field-name-field-documents{
.non-bordered;
border-top: 2px solid #e4e4e4;
margin-top:1em;
.field-item{
.field{
.bordered-block;
}
}
}
.field-name-field-effectuations{
.fs-personne-texte;
}
// .field-name-field-date-de-debut, .field-name-field-address{
// .field-item{
// .fs-perfnode-serie;
// }
// }
// .field-type-text-long{
// width:400px;
// }
}
}
}
}
}
//EFFECTUATIONS, DOCUMENTS, OBJETS, ETC.//
body.node-type-document, .node-type-document-sonor, .node-type-object, .page-taxonomy-term {
.generale-design;
#center #content {
width: 720px;
img {margin:1em 0 1em 0;}
figure {position:relative;}
img.blank{position:absolute; top:0; left:0;}
figcaption {font-weight: 300; font-size:11px; width:250px; margin-bottom:1em; }
font-size:12px;
}
}
@@ -0,0 +1,146 @@
@import "elements";
@import "commons";
@import "fonts";
/** time line */
#timeline-loader{
max-width:700px; .m(0 auto);
.fs-artist-event-timeline;
// .bb(1px, #000);
.progress{
border-top: 4px solid #999; width:0;
/* .transition(width 4s linear);*/
transition: width 3s linear;
-moz-transition: width 3s linear;
-o-transition: width 3s linear;
-webkit-transition: width 3s linear;
&.complete{
/* .transition(width 0.1s linear);*/
transition: width 0.1s linear;
-moz-transition: width 0.1s linear;
-o-transition: width 0.1s linear;
-webkit-transition: width 0.1s linear;
}
}
}
#timeline{
height:65%;
.mt(25px);
h3.title{
cursor:pointer;
.fs-region-title(); color:@timeline-lighten-color;
}
}
#timeline-container{
width:100%; height:98%; .bt(2px, @timeline-lighten-color); overflow:hidden;
.bgc(@timeline-juicy-color);
.timeline-frame{
border: 0 solid #999;
}
.timeline-navigation{
top:0; right:0; height:20px;
border: 0 solid transparent; background-color: #fff;
div{
.p(2px 0 0 10px);
&.timeline-navigation-zoom-in{background-image: url('../images/btns_zoomin.png');}
&.timeline-navigation-zoom-out{background-image: url('../images/btns_zoomout.png');}
&.timeline-navigation-move-left{background-image: url('../images/btns_moveleft.png');}
&.timeline-navigation-move-right{background-image: url('../images/btns_moveright.png');}
}
}
.timeline-axis-text{
.fs-region-title(); color:@timeline-lighten-color;
}
.timeline-event{
.rounded(0); border: 0 solid transparent; // background-color: #fff;
&.timeline-event-range{ background-color:#fff;}
/*
TODO move events with css3
*/
}
.timeline-event-content{
.m(0);
div.date{
//border-left: 3px solid @timeline-grey;
display:block; text-decoration: none; text-align:left; cursor:pointer;
.p(4px 0);
.text-content{
.p(0 5px); .mb(4px);
.bl(3px, @timeline-lighten-color);
// max-width:145px; // pourquoi le texte ne va pas a la ligne avec le max-width ???
}
&:hover{
.text-content{
.bl(3px, @timeline-color);
}
}
h4, h5{.m(0); color:@timeline-lighten-color;}
h4{.fs-titre-event-timeline();}
h5{.fs-artist-event-timeline();}
body.view-mode-dot &{
.p(0);
.text-content{
min-height:15px;
}
h4, h5, img{display:none;}
}
body.view-mode-titles &{
background-color:#fff;
h4, h5{display:block;}
img{display:none;}
}
body.view-mode-thumbnails &{
h4, h5, img{display:block;}
img{max-width:145px;height:auto;}
}
body.view-mode-images &{
h4, h5, img{display:block;}
}
}
}
.timeline-event-selected{
background-color: transparent;
.timeline-event-content{
div.date{
.text-content{
.bl(3px, @timeline-color);
}
h4, h5{color:@timeline-color;}
}
}
}
}
.timeline-modal{
width:150px; min-height:30px; //margin-right: -75px;
padding:5px;
background-color:#fff;
position:absolute; z-index:99999;
display:none;
h4, h5{.m(0); color:@timeline-color;}
h4{.fs-titre-event-timeline();}
h5{.fs-artist-event-timeline();}
}
@@ -0,0 +1,31 @@
/* LISIBILITY */
@import "fonts.less";
*{font-size:14px;}
div{border: 1px dashed #D4D4D4;}
p:after, ul:after{content:"¬"; color:red;}
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before{
color:blue; font-weight: normal; font-size:10px; vertical-align: super;
}
h1:before{content:"h1 ";}
h2:before{content:"h2 ";}
h3:before{content:"h3 ";}
h4:before{content:"h4 ";}
h5:before{content:"h5 ";}
h6:before{content:"h6 ";}
br:after{content:"·"; color:red; border: 1px solid #999;}
/* LAYOUT AND GRAPHICS */
img{height:auto; margin:0.5em 0;}
p{ border: 1px dashed #848484; }
div{border: 1px solid #1A1A1A;}
img,p,div{ position:relative;
&:before{font-size:10px; color:red; background-color: #1A1A1A; position:absolute; top:0; z-index:3000;}
}