1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177 |
- /**
- * 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;
- }
- &.borne-date{
- background-color: @timeline-color;
- color: @timeline-juicy-color;
- line-height: 1;
- padding: 0.5em 1em;
- span{
- // display: block
- .fs-perfnode-personne;
- }
- }
- 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: calc(49% - 2em); // moins padding et margin
- 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;
- }
- 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;
- // }
- @media (max-width:500px) {
- >section.field{
- max-width: calc(100% - 2em); // moins padding et margin
- &.field-name-field-images{
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
- }
- }
- }
- }
- #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;
- padding-right: 1em;
- }
- a{
- text-decoration: none;
- .fs-filters-list;
- }
- }
- }
- }
- }
- body.page-taxonomy-term{
- #main{
- overflow-x: hidden;
- overflow-y: auto;
- }
- .generale-design;
- #block-system-main{
- >.content{
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- align-items: flex-start;
- .term-listing-heading{
- display: none;
- }
- >*{
- flex: 1 1 auto;
- margin: 0 0.5em 0.5em 0;
- &.item-list{
- flex: 0 0 100%;
- width:100%;
- }
- }
- >article.node{
- }
- }
- }
- .node.type-performance{
- color:#A5A5A5;
- background-color:#fff;
- display:inline-block;
- vertical-align:top;
- line-height:1;
- margin-bottom:1em;
- padding-right:1em;
- padding-left:0.5em;
- h1{
- margin: 0.7em 0;
- }
- figure{
- position: relative;
- // width:auto!important;
- height: auto!important;
- // margin: 0.5em;
- .blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
- // &:hover{figcaption{.opacity(1);}}
- }
- }
- }
- //EFFECTUATIONS, DOCUMENTS, OBJETS, ETC.//
- body.node-type-document, .node-type-document-sonor, .node-type-object{
- .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;
- }
- }
- .field-type-video-embed-field iframe{
- max-width: 100%;
- height: auto;
- aspect-ratio: 4/3;
- }
|