123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826 |
- /**
- * 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;
- }
- }
|