1109 lines
24 KiB
Plaintext
1109 lines
24 KiB
Plaintext
/**
|
|
* 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;*/
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
|
|
#container{
|
|
width:100%; height:100%;
|
|
//width:1000px; height:700px;
|
|
// todo media query for mobile phone
|
|
|
|
// min-width:1020px;
|
|
min-width: none;
|
|
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{
|
|
html.oldie &{width:62%;}
|
|
}
|
|
|
|
ul.language-switcher-locale-url{
|
|
padding:0; margin:0;
|
|
li{padding-right:0;}
|
|
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;
|
|
}
|
|
}
|
|
|
|
}
|
|
/** RESPONSIVE */
|
|
@media (min-width:799px) {
|
|
#header .logo {
|
|
width:340px;
|
|
}
|
|
#header-blocks{
|
|
// background-color: blue;
|
|
width:calc(100% - 340px); position:absolute; bottom:0; right:0; text-align: right; height:27px;
|
|
.region{
|
|
.inlineblock;
|
|
&:not(:first-child){ margin-left:0.5em; }
|
|
// 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;}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media (max-width:799px) {
|
|
#header .logo {
|
|
width:auto;
|
|
z-index: 11;
|
|
}
|
|
#header-blocks{
|
|
background-color:white;
|
|
position:absolute;
|
|
z-index: 10;
|
|
bottom:0;
|
|
right:0;
|
|
// width:63%;
|
|
height:27px;
|
|
text-align: right;
|
|
.region{
|
|
background-color: white;
|
|
padding:0 1em 0 1em;
|
|
&:first-child{padding-top:2em;}
|
|
&:last-child{padding-bottom:1em;}
|
|
}
|
|
ul{
|
|
padding:0; margin:0;
|
|
text-align: right;
|
|
li{
|
|
list-style: none;
|
|
margin:0;
|
|
padding: 0!important;
|
|
// &:not(.last){.p(0 6px 0 0);}
|
|
// &.last{.p(0);}
|
|
a{.fs-header;}
|
|
}
|
|
}
|
|
|
|
transition: transform 0.5s ease-in-out;
|
|
transform: translateX(150%);
|
|
body.burger-header-shown &{
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.burger-icon {
|
|
height: 15px;
|
|
width: 20px;
|
|
// margin: 3%;
|
|
position: absolute;
|
|
top: 0.5em;
|
|
right: 0.5em;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
z-index: 20;
|
|
cursor: pointer;
|
|
&.sidebar-first{
|
|
background-color: @timeline-lighten-color;
|
|
// top:0; right: 0;
|
|
}
|
|
span {
|
|
display: block;
|
|
background: #000;
|
|
width: 100%;
|
|
height: 2px;
|
|
margin-top: -2px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
}
|
|
|
|
&:before,
|
|
&:after {
|
|
content: "";
|
|
display: block;
|
|
background: #000;
|
|
width: 100%;
|
|
height: 2px;
|
|
position: absolute;
|
|
left: 0;
|
|
transform-origin: center center;
|
|
transform: rotate(0deg);
|
|
transition: all 0.3s ease;
|
|
}
|
|
&:before {
|
|
top: 2px;
|
|
margin-top: -2px;
|
|
}
|
|
|
|
&:after {
|
|
bottom: 2px;
|
|
margin-bottom: -2px;
|
|
}
|
|
|
|
body.burger-header-shown &.header,
|
|
body.burger-sidebar-first-shown &.sidebar-first {
|
|
span {
|
|
background: transparent;
|
|
}
|
|
|
|
&:before {
|
|
top: 55%;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
&:after {
|
|
bottom: 55%;
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/** 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%;
|
|
position: relative;
|
|
// overflow-x: hidden;
|
|
// overflow-y: auto;
|
|
// display: flex;
|
|
// flex-flow: column nowrap;
|
|
|
|
/** SIDEBAR FIRST */
|
|
#sidebar-first{
|
|
height: 99%;
|
|
// min-height: 75%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
|
|
.block-menu-block{
|
|
&, &>.content{
|
|
|
|
height: 100%; // this is not working, why ?
|
|
}
|
|
}
|
|
#myList-nav{
|
|
max-height: 100%;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
>div{
|
|
flex:0 0 auto;
|
|
width: 1em;
|
|
.ln-letters{
|
|
margin: 0;
|
|
}
|
|
}
|
|
>ul{
|
|
flex:0 0 auto;
|
|
box-sizing: border-box;
|
|
width:calc(100% - 1em);
|
|
max-height: 100%;
|
|
padding-left: 2em;
|
|
padding-right: 2em;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
margin-top: 2em;
|
|
}
|
|
}
|
|
|
|
|
|
@media (min-width:799px) {
|
|
.inlineblock; width: 300px;
|
|
}
|
|
@media (max-width:799px) {
|
|
position: absolute;
|
|
top:0;
|
|
left: 0;
|
|
width:70%;
|
|
background-color: @timeline-lighten-color;
|
|
z-index: 10;
|
|
|
|
|
|
transition: transform 0.5s ease-in-out;
|
|
transform: translateX(calc(-100% + 2em));
|
|
#myList-nav ul{
|
|
overflow-y: hidden;
|
|
}
|
|
body.burger-sidebar-first-shown &{
|
|
transform: translateX(0);
|
|
#myList-nav ul{
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
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 &{
|
|
box-sizing: border-box;
|
|
@media (min-width:799px) {
|
|
// margin-left:75px;
|
|
width:calc(99% - 300px);
|
|
padding:20px;
|
|
}
|
|
@media (max-width:799px) {
|
|
width: 100%;
|
|
padding:0.5em 3em;
|
|
}
|
|
#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;
|
|
padding: 0 0.25em;
|
|
}
|
|
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;
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#home-performances-list{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
align-items: space-between;
|
|
>li{
|
|
&.with-image{
|
|
flex: 0 1 auto;
|
|
}
|
|
&.without-image{
|
|
flex: 1 1 auto;
|
|
}
|
|
padding:0 0.5em 0.5em;
|
|
margin: 0.5em;
|
|
h4, h5{
|
|
max-width: 200px;
|
|
margin: 0.5em 0; line-height: 1.1;
|
|
a{line-height: 1.1;}
|
|
}
|
|
.date > a{
|
|
display: block;
|
|
}
|
|
figure{
|
|
display: inline-block;
|
|
position: relative;
|
|
img.image{
|
|
max-width: 100%;
|
|
}
|
|
img.blank{
|
|
position: absolute;
|
|
top:0; left:0;
|
|
width:100%; height:100%;
|
|
|
|
}
|
|
figcaption{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|
|
@media (max-width:799px) {
|
|
>li{
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
//FICHES PERFORMANCE//
|
|
body.node-type-performance{
|
|
.generale-design;
|
|
#main{
|
|
background-color:#F2F2F2;
|
|
|
|
#center #content {
|
|
|
|
.node.type-performance>.content{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
>section.field{
|
|
// outline: 1px solid #036;
|
|
flex:0 0 auto;
|
|
max-width: 45%;
|
|
margin:0.5em;
|
|
&.field-name-field-images{
|
|
flex: 1 1 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.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-items{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
}
|
|
.field-item{
|
|
// .inlineblock; margin:0 1em 1em 0;
|
|
flex:1 0 auto;
|
|
// max-width: 33%;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
// width:auto!important;
|
|
height: auto!important;
|
|
margin: 0.5em;
|
|
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;
|
|
max-width: 100%;
|
|
}
|
|
.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{
|
|
.bordered-block;
|
|
// .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;
|
|
// }
|
|
}
|
|
|
|
}
|
|
}
|
|
#block-perfart-perf-prevnext,
|
|
#block-perfart-perf-prevnext-bottom{
|
|
ul.perf-prev-next-btns{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
li.perf-prev-link,
|
|
li.perf-next-link{
|
|
flex:1 1 100%;
|
|
width: 50%;
|
|
}
|
|
li.perf-next-link{
|
|
text-align: right;
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
.fs-filters-list;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
//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;
|
|
}
|
|
}
|