styles.less 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  1. /**
  2. * Primary Drupal Styles
  3. * Author: g-u-i.net
  4. */
  5. @import "elements";
  6. @import "commons";
  7. @import "layout";
  8. @import "fonts";
  9. @import "timeline";
  10. /** layout */
  11. html, body{
  12. position:relative;
  13. width:100%; height:100%;
  14. /* background-color: red;*/
  15. overflow-y: hidden;
  16. }
  17. #container{
  18. width:100%; height:100%;
  19. //width:1000px; height:700px;
  20. // todo media query for mobile phone
  21. // min-width:1020px;
  22. min-width: none;
  23. min-height:700px;
  24. .m(0 auto); background-color: #FFF;
  25. &>.inner{width:96%; height:94%; .p(1.5%);}
  26. }
  27. /** HEADER */
  28. #header{
  29. height:3%; width:100%; position:relative;
  30. border-bottom:2px solid #000; //.pb(5px);
  31. .logo{
  32. // width:35%;
  33. height:27px; position:relative; bottom:0; left:0;
  34. html.oldie &{width:49%;}
  35. h1{
  36. .fs-header;
  37. a{text-decoration: none;}
  38. }
  39. }
  40. #header-blocks{
  41. html.oldie &{width:62%;}
  42. }
  43. ul.language-switcher-locale-url{
  44. padding:0; margin:0;
  45. li{padding-right:0;}
  46. li.active{display:none;}
  47. a{.fs-header;}
  48. }
  49. #search-block-form{
  50. h2{display:none;}
  51. .container-inline{height:27px; line-height:1;}
  52. .form-item{
  53. padding:0; margin:0; display: inline-block; vertical-align: middle;
  54. label{display:none;}
  55. input.form-text{border: 1px solid #D4D4D4; width:10em; .fs-header; .500; padding:2px;}
  56. }
  57. #edit-actions{
  58. display:inline-block; vertical-align: middle;
  59. input.form-submit{border: 0 solid #999; background-color: transparent; .fs-header; .pr(0); padding-top:3px;}
  60. }
  61. span.close-search{display:inline-block; vertical-align: middle; width:20px; height:20px; background-image: url('../images/btns_close.png'); cursor:pointer; }
  62. &.loading{
  63. input.form-submit{visibility: hidden;}
  64. background: transparent url('../images/ajax-loader.gif') no-repeat 98% center;
  65. }
  66. }
  67. }
  68. /** RESPONSIVE */
  69. @media (min-width:799px) {
  70. #header .logo {
  71. width:340px;
  72. }
  73. #header-blocks{
  74. // background-color: blue;
  75. width:calc(100% - 340px); position:absolute; bottom:0; right:0; text-align: right; height:27px;
  76. .region{
  77. .inlineblock;
  78. &:not(:first-child){ margin-left:0.5em; }
  79. // don't know why but here display:inline; deosn't work on ie8 …
  80. html.oldie &{float:left; margin-left:10px;}
  81. }
  82. ul.menu{
  83. padding:0; margin:0;
  84. li{
  85. .inlineblock; margin:0;
  86. &:not(.last){.p(0 6px 0 0);}
  87. &.last{.p(0);}
  88. a{.fs-header;}
  89. }
  90. }
  91. }
  92. }
  93. @media (max-width:799px) {
  94. #header .logo {
  95. width:auto;
  96. z-index: 11;
  97. }
  98. #header-blocks{
  99. background-color:white;
  100. position:absolute;
  101. z-index: 10;
  102. bottom:0;
  103. right:0;
  104. // width:63%;
  105. height:27px;
  106. text-align: right;
  107. .region{
  108. background-color: white;
  109. padding:0 1em 0 1em;
  110. &:first-child{padding-top:2em;}
  111. &:last-child{padding-bottom:1em;}
  112. }
  113. ul{
  114. padding:0; margin:0;
  115. text-align: right;
  116. li{
  117. list-style: none;
  118. margin:0;
  119. padding: 0!important;
  120. // &:not(.last){.p(0 6px 0 0);}
  121. // &.last{.p(0);}
  122. a{.fs-header;}
  123. }
  124. }
  125. transition: transform 0.5s ease-in-out;
  126. transform: translateX(150%);
  127. body.burger-header-shown &{
  128. transform: translateX(0);
  129. }
  130. }
  131. .burger-icon {
  132. height: 15px;
  133. width: 20px;
  134. // margin: 3%;
  135. position: absolute;
  136. top: 0.5em;
  137. right: 0.5em;
  138. display: inline-block;
  139. vertical-align: middle;
  140. z-index: 20;
  141. cursor: pointer;
  142. &.sidebar-first{
  143. background-color: @timeline-lighten-color;
  144. // top:0; right: 0;
  145. }
  146. span {
  147. display: block;
  148. background: #000;
  149. width: 100%;
  150. height: 2px;
  151. margin-top: -2px;
  152. position: absolute;
  153. left: 0;
  154. top: 50%;
  155. }
  156. &:before,
  157. &:after {
  158. content: "";
  159. display: block;
  160. background: #000;
  161. width: 100%;
  162. height: 2px;
  163. position: absolute;
  164. left: 0;
  165. transform-origin: center center;
  166. transform: rotate(0deg);
  167. transition: all 0.3s ease;
  168. }
  169. &:before {
  170. top: 2px;
  171. margin-top: -2px;
  172. }
  173. &:after {
  174. bottom: 2px;
  175. margin-bottom: -2px;
  176. }
  177. body.burger-header-shown &.header,
  178. body.burger-sidebar-first-shown &.sidebar-first {
  179. span {
  180. background: transparent;
  181. }
  182. &:before {
  183. top: 55%;
  184. transform: rotate(45deg);
  185. }
  186. &:after {
  187. bottom: 55%;
  188. transform: rotate(-45deg);
  189. }
  190. }
  191. }
  192. }
  193. /** INTRO-MODAL */
  194. #intro-wrapper{
  195. position:fixed; z-index:200; width:100%; height:100%; top:0; left:0;
  196. .bg{ background-color: #fff; .opacity(0.6); width:100%; height:100%; position:absolute;}
  197. .modal{
  198. margin:0 auto; top:0; width:40%; position:relative; overflow: hidden;
  199. .transition(margin-top, 0.8s, ease-out);
  200. .drop-shadow(0,0,7px,0.8); .rounded(5px); background-color: #fff;
  201. >*{ padding:1em; }
  202. p{.14;}
  203. }
  204. .btns{
  205. text-align: right;
  206. span{
  207. display:inline-block; .rounded(3px); background-color: #ddd; cursor:pointer; padding:0.1em 0.5em 0.1em 0.5em; .14; margin:0.5em;
  208. }
  209. }
  210. }
  211. /** MAIN */
  212. #main{
  213. height:97%;
  214. position: relative;
  215. // overflow-x: hidden;
  216. // overflow-y: auto;
  217. // display: flex;
  218. // flex-flow: column nowrap;
  219. /** SIDEBAR FIRST */
  220. #sidebar-first{
  221. height: 99%;
  222. // min-height: 75%;
  223. overflow-x: hidden;
  224. overflow-y: auto;
  225. .block-menu-block{
  226. &, &>.content{
  227. height: 100%; // this is not working, why ?
  228. }
  229. }
  230. #myList-nav{
  231. max-height: 100%;
  232. display: flex;
  233. flex-flow: row nowrap;
  234. >div{
  235. flex:0 0 auto;
  236. width: 1em;
  237. .ln-letters{
  238. margin: 0;
  239. }
  240. }
  241. >ul{
  242. flex:0 0 auto;
  243. box-sizing: border-box;
  244. width:calc(100% - 1em);
  245. max-height: 100%;
  246. padding-left: 2em;
  247. padding-right: 2em;
  248. overflow-x: hidden;
  249. overflow-y: auto;
  250. margin-top: 2em;
  251. }
  252. }
  253. @media (min-width:799px) {
  254. .inlineblock; width: 300px;
  255. }
  256. @media (max-width:799px) {
  257. position: absolute;
  258. top:0;
  259. left: 0;
  260. width:70%;
  261. background-color: @timeline-lighten-color;
  262. z-index: 10;
  263. transition: transform 0.5s ease-in-out;
  264. transform: translateX(calc(-100% + 2em));
  265. #myList-nav ul{
  266. overflow-y: hidden;
  267. }
  268. body.burger-sidebar-first-shown &{
  269. transform: translateX(0);
  270. #myList-nav ul{
  271. overflow-y: auto;
  272. }
  273. }
  274. }
  275. }
  276. ul li.leaf{
  277. list-style-image:none;
  278. list-style-type: none;
  279. font-size: 12px;
  280. margin-bottom: 10px;
  281. a{text-decoration: none;}
  282. a:visited{font-weight:700}
  283. a:hover{font-weight:700}
  284. a:active{font-weight:700}
  285. .active-trail {font-weight:700}
  286. }
  287. .not-front.node-type-page &,
  288. .not-front.node-type-temoignage &,
  289. .not-front.node-type-document-video &,
  290. .not-front.node-type-biographie &{
  291. background-color:#D3D3D3 ;
  292. }
  293. /** CENTER */
  294. #center{
  295. .inlineblock; width:100%; height:99%; position:relative;
  296. .pt(1%);
  297. // #content-top{
  298. // ul.menu li{.inlineblock;}
  299. // }
  300. .page-title{
  301. overflow: hidden;
  302. .fs-region-title();
  303. .timeline &{color:@timeline-lighten-color;}
  304. }
  305. /** CONTENT */
  306. #content{
  307. // padding:1em;
  308. .js .front &,
  309. .js .node-type-performance & {
  310. display:none;
  311. overflow: hidden;
  312. }
  313. .layout-intro &{
  314. max-width:700px; .m(0 auto); //.pl(20%); .pr(20%);
  315. }
  316. .field-label {font-size:12px;color:#000; margin-top:1em; margin-bottom:0,7em;}
  317. }
  318. #perfnode{
  319. height:85%;
  320. .node .node-effectuation .field-item {font-size:10px;}
  321. p{ margin:0;}
  322. .locality {margin-left:-5px;}
  323. }
  324. .not-front.node-type-page &,
  325. .not-front.node-type-temoignage &,
  326. .not-front.node-type-document-video &,
  327. .not-front.node-type-biographie &{
  328. box-sizing: border-box;
  329. @media (min-width:799px) {
  330. // margin-left:75px;
  331. width:calc(99% - 300px);
  332. padding:20px;
  333. }
  334. @media (max-width:799px) {
  335. width: 100%;
  336. padding:0.5em 3em;
  337. }
  338. #content{
  339. p {font-size:12px; color:#000; line-height:1.4;}
  340. a{text-decoration:none; font-size:12px;}
  341. a:visited{font-weight:700}
  342. a:hover{font-weight:700}
  343. a:active{font-weight:700}
  344. }
  345. }
  346. }
  347. /** SIDEBAR SECOND */
  348. #sidebar-second{
  349. .inlineblock; width: 18%;
  350. }
  351. }
  352. /** filters */
  353. .filter-color(@color, @lighten-color, @juicy-color){
  354. .filters-selection{
  355. .bb(2px, @lighten-color);
  356. }
  357. .list{
  358. li{
  359. color:@color;
  360. &:hover{color:@color; span{.bgc(@juicy-color);} }
  361. &.selected{color:@lighten-color;}
  362. }
  363. .jscrollpane(@lighten-color, @juicy-color);
  364. }
  365. .search{color:@color;}
  366. .title{color:@color;}
  367. .filters-selected{
  368. span{.bgc(@juicy-color); color:@color; .700;}
  369. }
  370. }
  371. #filters{
  372. /* height:30%;*/
  373. .filter{
  374. .inlineblock; width:32%; height:100%;
  375. .ml(2%); &.filter-0{.ml(0);}
  376. .filters-selection{
  377. height:100%; overflow:hidden; position:relative;
  378. .list{
  379. height:100%; overflow:auto; .mb(10px);
  380. ul,li{ .p(0); .m(0);}
  381. ul{ .pb(20px); }
  382. li{
  383. cursor:pointer; line-height:1; overflow:hidden; height:auto;
  384. .transition(height, 0.1s, linear);
  385. span{
  386. .fs-filters-list();
  387. .p(0.3em 0.4em 0.2em 0);
  388. }
  389. &:hover{span{.pl(0.3em);}}
  390. &.subtracted{height:0;}
  391. &.subtracted.conserved{height:auto;}
  392. }
  393. }
  394. .search{
  395. position:absolute; right:10px; bottom:0; width:40%; .11; height:10px;
  396. border: 1px solid #D4D4D4;
  397. }
  398. .title{
  399. position:absolute; left:0; bottom:0; .bgc(#fff); width:90%; .p(0.5em 0 0);
  400. .fs-region-title();
  401. }
  402. }
  403. .filters-selected{
  404. span{
  405. cursor:pointer;
  406. .fs-filters-list(); .p(0.2em 2em 0 0.4em); .inlineblock; .m(0.3em 0.3em 0 0);
  407. background-repeat: no-repeat;
  408. background-position: right center;
  409. }
  410. }
  411. &.filter-0{
  412. .filter-color(@topologies-color,@topologies-lighten-color,@topologies-juicy-color);
  413. .filters-selected{
  414. body.layout-timeline & span{
  415. background-image:url('../images/btns_close_color-02.png');
  416. }
  417. }
  418. }
  419. &.filter-1{
  420. .filter-color(@lieux-color,@lieux-lighten-color,@lieux-juicy-color);
  421. .filters-selected{
  422. body.layout-timeline & span{
  423. background-image:url('../images/btns_close_color-01.png');
  424. }
  425. }
  426. }
  427. &.filter-2{
  428. .filter-color(@artistes-color,@artistes-lighten-color,@artistes-juicy-color);
  429. .filters-selected{
  430. body.layout-timeline & span{
  431. background-image:url('../images/btns_close_color-03.png');
  432. }
  433. }
  434. }
  435. }
  436. }
  437. /** perfnode */
  438. #perfnode{
  439. overflow:hidden; position:relative;
  440. .bgc(@timeline-juicy-color);
  441. .nav_perf(){ position:absolute; top:50%; width:20px; height:20px; .mt(-10px); cursor:pointer; z-index:150; background-color: #fff;}
  442. .prev-perf{ .nav_perf; left:0; background-image: url('../images/btns_moveleft.png'); .ml(-4px);}
  443. .next-perf{ .nav_perf; right:0; background-image: url('../images/btns_moveright.png'); .mr(-4px);}
  444. .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;}
  445. &.loading{ .loader{display:block;} }
  446. .close{position:absolute; top:0; right:0; width:19px; height:20px; background-image: url('../images/btns_close.png'); z-index:100; display:block;}
  447. &.loading{ .close{display:none;} }
  448. .node-container{ margin:0 20px; }
  449. // grid
  450. // width:1000px
  451. // cel :100px
  452. @cel:100px;
  453. @padd:0;
  454. .cel(@n){
  455. width:(@cel* @n) - @padd*2;
  456. /* background-color:rgba(255,0,0,0.1);*/
  457. padding:@padd;
  458. //.bl(1px, rgba(255,0,0,0.1));
  459. }
  460. .scroller>.node{
  461. >.grid-block{
  462. position:absolute;
  463. }
  464. h1.node-title{
  465. .m(0);
  466. .fs-perfnode-title;
  467. .cel(3);
  468. }
  469. .field-label{.fs-perfnode-label; color:@timeline-lighten-color;}
  470. .field-personne{
  471. .cel(2);
  472. .fs-perfnode-personne;
  473. }
  474. .field-type-textauthor,
  475. >.field-type-text-long{
  476. .cel(4);
  477. .field-item{
  478. max-height:@cel*3;
  479. overflow:auto;
  480. // article, address, p{
  481. .fs-personne-texte;
  482. // }
  483. }
  484. address{.700;}
  485. }
  486. .field-name-field-serie{
  487. .fs-perfnode-serie;
  488. .cel(3);
  489. }
  490. .field-name-field-type-de-performance{
  491. .fs-perfnode-serie;
  492. .cel(3);
  493. }
  494. .field-name-field-tags-libre{
  495. .fs-personne-texte;
  496. .cel(2);
  497. }
  498. .field-name-field-site-internet{
  499. .fs-personne-texte;
  500. .cel(3);
  501. a{
  502. text-decoration: none;
  503. &:hover{text-decoration: underline;}
  504. }
  505. }
  506. .node-effectuation{
  507. .cel(2);
  508. h1{.m(0);}
  509. .field-item{.fs-perfnode-serie;}
  510. }
  511. .node-document-video{
  512. .cel(4);
  513. .fs-personne-texte;
  514. }
  515. .node-document{
  516. .cel(3);
  517. .fs-personne-texte;
  518. }
  519. .node-objet{
  520. .cel(3);
  521. .fs-personne-texte;
  522. }
  523. .node-temoignage{
  524. .cel(3);
  525. .fs-personne-texte;
  526. }
  527. figure{
  528. position:relative;
  529. figcaption{
  530. position:absolute; right:0; bottom:0;
  531. width:96%; padding:2%;
  532. background-color: rgba(255,255,255,0.8);
  533. .opacity(0); .transition(opacity, 0.5s, ease-out);
  534. color:#000; .10;
  535. }
  536. .blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
  537. &:hover{figcaption{.opacity(1);}}
  538. }
  539. }
  540. }
  541. /** FOOTER */
  542. #footer{
  543. height:3%; display:none;
  544. #footer-top{
  545. text-align:center; p{.m(0);}
  546. }
  547. #footer-bottom{
  548. .block{
  549. .inlineblock; .fs-footer-bottom;
  550. }
  551. }
  552. }
  553. /** MISC */
  554. li, .item-list ul li{list-style: none inside url(); margin-left:0;}
  555. /** Messages. */
  556. div.messages {
  557. padding: 9px;
  558. margin: 0.5em 0 0;
  559. color: #036;
  560. background: #bdf;
  561. border: 1px solid #ace;
  562. -moz-border-radius: 5px;
  563. -webkit-border-radius: 5px;
  564. border-radius: 5px;
  565. }
  566. div.warning {
  567. color: #840;
  568. background: #fe6;
  569. border-color: #ed5;
  570. }
  571. div.error {
  572. color: #fff;
  573. background: #e63;
  574. border-color: #d52;
  575. }
  576. div.error p.error {
  577. color: #333;
  578. }
  579. div.status {
  580. color: #360;
  581. background: #cf8;
  582. border-color: #be7;
  583. }
  584. /** Tab navigation */
  585. ul.primary, .views-admin-links ul {
  586. font:13px/1.231 sans-serif; *font-size:small;
  587. border-collapse: collapse;
  588. padding: 0 0 0 1em; /* LTR */
  589. white-space: nowrap;
  590. list-style: none;
  591. margin: 5px;
  592. height: auto;
  593. line-height: normal;
  594. border-bottom: 1px solid #bbb;
  595. li{
  596. display: inline;
  597. a{
  598. background-color: #ddd;
  599. border-color: #bbb;
  600. border-width: 1px;
  601. border-style: solid solid none solid;
  602. height: auto;
  603. margin-right: 0.5em; /* LTR */
  604. padding: 0 1em;
  605. text-decoration: none;
  606. -moz-border-radius-topleft: 5px;
  607. -webkit-border-top-left-radius: 5px;
  608. border-top-left-radius: 5px;
  609. -moz-border-radius-topright: 5px;
  610. -webkit-border-top-right-radius: 5px;
  611. border-top-right-radius: 5px;
  612. &:hover{
  613. background-color: #eee;
  614. border-color: #ccc;
  615. border-bottom-color: #eee;
  616. }
  617. }
  618. &.active a {
  619. background-color: #fff;
  620. border: 1px solid #bbb;
  621. border-bottom: #fff 1px solid;
  622. }
  623. }
  624. }
  625. ul.secondary {
  626. border-bottom: 1px solid #bbb;
  627. padding: 0.5em 1em;
  628. margin: 5px;
  629. li {
  630. display: inline;
  631. padding: 0 1em;
  632. border-right: 1px solid #ccc; /* LTR */
  633. a {
  634. padding: 0;
  635. text-decoration: none;
  636. &.active {
  637. border-bottom: 4px solid #999;
  638. }
  639. }
  640. }
  641. }
  642. /** sound cloud player */
  643. .pa-sc-player{
  644. .sc-trackslist{ display:none; }
  645. .sc-controls, .sc-time-indicators, .sc-time-span{.inlineblock(); vertical-align:middle;}
  646. .sc-controls{
  647. position: relative;
  648. width:20px; height:20px;
  649. margin-right:15px;
  650. a.sc-play, a.sc-pause{
  651. position: absolute; top:0; left:0;
  652. display:block; width:100%; height:100%;
  653. text-decoration: none;
  654. .rounded(5px); overflow: hidden;
  655. span{margin-left:-100px;}
  656. }
  657. a.sc-play{
  658. background: #fff url('../images/player-sound-cloud-VA-bg-play.png') no-repeat center center;
  659. }
  660. a.sc-pause{
  661. background: #fff url('../images/player-sound-cloud-VA-bg-pause.png') no-repeat center center; display:none;
  662. }
  663. }
  664. &.playing{
  665. .sc-controls{
  666. a.sc-play{display:none;}
  667. a.sc-pause{display:block;}
  668. }
  669. // a.sc-play{
  670. // background-color: #1A1A1A;
  671. // color:#FFF;
  672. // }
  673. }
  674. .sc-time-indicators{
  675. font-size:14px; margin-right:10px; padding-top:3px; min-width:75px;
  676. }
  677. .sc-time-span{
  678. width:300px; height:10px; background-color: #fff; position:relative; cursor:pointer;
  679. .sc-buffer, .sc-played{width:0; height:100%; position:absolute;}
  680. .sc-buffer{background-color: #ddd;}
  681. .sc-played{background-color: #1A1A1A;}
  682. }
  683. .node-temoignage.grid-block &{
  684. background-color:#D3D3D3; .rounded(3); .p(2px);
  685. .sc-time-span{width:170px};
  686. }
  687. }
  688. /** navigation sans javascript **/
  689. .generale-design(){
  690. #main {background-color:#D3D3D3; height:100%;
  691. #center { height:100%;
  692. .page-title{margin-left:2.5em;}
  693. #content { padding:2%; display:block;
  694. a,a:visited{font-size:12px; font-weight:500; text-decoration:none;}
  695. a:hover {font-size:12px; font-weight:700; text-decoration:none; }
  696. }
  697. }
  698. }
  699. }
  700. html.no-js, html.classic-nav{
  701. body, #container, #container>.inner, #header, #main, #footer{ height:auto;}
  702. body{ overflow: auto;}
  703. #container{width:95%;}
  704. //HOME//
  705. body.front{
  706. .generale-design;
  707. .item-list {
  708. .pager li{
  709. background-color:transparent;
  710. a,a:visited{color:#000;}
  711. color:#000;
  712. // border-left:1px solid #000;
  713. padding: 0 0.25em;
  714. }
  715. li, ul li {
  716. a,a:visited{color:#A5A5A5;}
  717. color:#A5A5A5;
  718. background-color:#fff;
  719. display:inline-block;
  720. vertical-align:top;
  721. line-height:0.1em;
  722. margin-bottom:1em;
  723. padding-right:1em;
  724. padding-left:0.5em;
  725. // border-left:3px solid #A5A5A5;
  726. }
  727. }
  728. #home-performances-list{
  729. display: flex;
  730. flex-flow: row wrap;
  731. justify-content: space-between;
  732. align-items: space-between;
  733. >li{
  734. &.with-image{
  735. flex: 0 1 auto;
  736. }
  737. &.without-image{
  738. flex: 1 1 auto;
  739. }
  740. &.borne-date{
  741. background-color: @timeline-color;
  742. color: @timeline-juicy-color;
  743. line-height: 1;
  744. padding: 0.5em 1em;
  745. span{
  746. // display: block
  747. .fs-perfnode-personne;
  748. }
  749. }
  750. padding:0 0.5em 0.5em;
  751. margin: 0.5em;
  752. h4, h5{
  753. max-width: 200px;
  754. margin: 0.5em 0; line-height: 1.1;
  755. a{line-height: 1.1;}
  756. }
  757. .date > a{
  758. display: block;
  759. }
  760. figure{
  761. display: inline-block;
  762. position: relative;
  763. img.image{
  764. max-width: 100%;
  765. }
  766. img.blank{
  767. position: absolute;
  768. top:0; left:0;
  769. width:100%; height:100%;
  770. }
  771. figcaption{
  772. display: none;
  773. }
  774. }
  775. }
  776. @media (max-width:799px) {
  777. >li{
  778. flex: 0 0 auto;
  779. }
  780. }
  781. }
  782. }
  783. //FICHES PERFORMANCE//
  784. body.node-type-performance{
  785. .generale-design;
  786. #main{
  787. background-color:#F2F2F2;
  788. #center #content {
  789. .node.type-performance>.content{
  790. display: flex;
  791. flex-flow: row wrap;
  792. justify-content: space-between;
  793. align-items: flex-start;
  794. >section.field{
  795. // outline: 1px solid #036;
  796. flex:0 0 auto;
  797. max-width: calc(49% - 2em); // moins padding et margin
  798. margin:0.5em;
  799. &.field-name-field-images{
  800. flex: 1 1 100%;
  801. max-width: 100%;
  802. }
  803. }
  804. .bordered-block(){
  805. display: inline-block;
  806. vertical-align: top;
  807. padding-left:0.5em;
  808. margin:0 1em 0 0.5em;
  809. border-left:3px solid @timeline-lighten-color;
  810. }
  811. .non-bordered(){
  812. display:block; border:none;
  813. }
  814. h1.node-title{
  815. .m(0);
  816. .fs-perfnode-title;
  817. // .cel(3);
  818. }
  819. .field-label{.fs-perfnode-label; color:@timeline-lighten-color;}
  820. .field-personne{
  821. // .cel(2);
  822. .fs-perfnode-personne;
  823. }
  824. .field-type-textauthor, .field-type-text-long{
  825. // .cel(4);
  826. .field-item{
  827. // max-height:@cel*3;
  828. overflow:auto;
  829. // article, address, p{
  830. .fs-personne-texte;
  831. // }
  832. }
  833. address{.700;}
  834. }
  835. .field-name-field-serie{
  836. .fs-perfnode-serie;
  837. // .cel(3);
  838. }
  839. .field-name-field-images{
  840. >.field-items{
  841. display: flex;
  842. flex-flow: row wrap;
  843. justify-content: space-between;
  844. align-items: stretch;
  845. }
  846. .field-item{
  847. // .inlineblock; margin:0 1em 1em 0;
  848. flex:1 0 auto;
  849. // max-width: 33%;
  850. }
  851. }
  852. .field-name-field-type-de-performance{
  853. .fs-perfnode-serie;
  854. // .cel(3);
  855. }
  856. .field-name-field-tags-libre{
  857. .fs-personne-texte;
  858. // .cel(2);
  859. }
  860. .node-effectuation{
  861. // .cel(2);
  862. h1{.m(0);}
  863. .field-item{.fs-perfnode-serie;}
  864. }
  865. .node-document-video{
  866. // .cel(4);
  867. .fs-personne-texte;
  868. }
  869. .node-document{
  870. // .cel(3);
  871. .fs-personne-texte;
  872. }
  873. .node-objet{
  874. // .cel(3);
  875. .fs-personne-texte;
  876. }
  877. figure{
  878. position: relative;
  879. // width:auto!important;
  880. height: auto!important;
  881. margin: 0.5em;
  882. figcaption{
  883. // position:absolute; right:0; bottom:0;
  884. // width:96%; padding:2%;
  885. background-color: rgba(255,255,255,0.8);
  886. // .opacity(0); .transition(opacity, 0.5s, ease-out);
  887. color:#000;
  888. .10;
  889. max-width: 100%;
  890. }
  891. .blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
  892. // &:hover{figcaption{.opacity(1);}}
  893. }
  894. >.field{
  895. .bordered-block;
  896. }
  897. .field-name-field-effectuations,
  898. .field-name-field-documents-sonor,
  899. .field-name-field-documents{
  900. .bordered-block;
  901. // .non-bordered;
  902. // border-top: 2px solid #e4e4e4;
  903. // margin-top:1em;
  904. // .field-item{
  905. // .field{
  906. // .bordered-block;
  907. // }
  908. // }
  909. }
  910. .field-name-field-effectuations{
  911. .fs-personne-texte;
  912. }
  913. // .field-name-field-date-de-debut, .field-name-field-address{
  914. // .field-item{
  915. // .fs-perfnode-serie;
  916. // }
  917. // }
  918. // .field-type-text-long{
  919. // width:400px;
  920. // }
  921. @media (max-width:500px) {
  922. >section.field{
  923. max-width: calc(100% - 2em); // moins padding et margin
  924. &.field-name-field-images{
  925. flex: 1 1 100%;
  926. max-width: 100%;
  927. }
  928. }
  929. }
  930. }
  931. }
  932. }
  933. #block-perfart-perf-prevnext,
  934. #block-perfart-perf-prevnext-bottom{
  935. ul.perf-prev-next-btns{
  936. display: flex;
  937. flex-flow: row nowrap;
  938. li.perf-prev-link,
  939. li.perf-next-link{
  940. flex:1 1 100%;
  941. width: 50%;
  942. }
  943. li.perf-next-link{
  944. text-align: right;
  945. padding-right: 1em;
  946. }
  947. a{
  948. text-decoration: none;
  949. .fs-filters-list;
  950. }
  951. }
  952. }
  953. }
  954. }
  955. body.page-taxonomy-term{
  956. #main{
  957. overflow-x: hidden;
  958. overflow-y: auto;
  959. }
  960. .generale-design;
  961. #block-system-main{
  962. >.content{
  963. display: flex;
  964. flex-flow: row wrap;
  965. justify-content: space-between;
  966. align-items: flex-start;
  967. .term-listing-heading{
  968. display: none;
  969. }
  970. >*{
  971. flex: 1 1 auto;
  972. margin: 0 0.5em 0.5em 0;
  973. &.item-list{
  974. flex: 0 0 100%;
  975. width:100%;
  976. }
  977. }
  978. >article.node{
  979. }
  980. }
  981. }
  982. .node.type-performance{
  983. color:#A5A5A5;
  984. background-color:#fff;
  985. display:inline-block;
  986. vertical-align:top;
  987. line-height:1;
  988. margin-bottom:1em;
  989. padding-right:1em;
  990. padding-left:0.5em;
  991. h1{
  992. margin: 0.7em 0;
  993. }
  994. figure{
  995. position: relative;
  996. // width:auto!important;
  997. height: auto!important;
  998. // margin: 0.5em;
  999. .blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
  1000. // &:hover{figcaption{.opacity(1);}}
  1001. }
  1002. }
  1003. }
  1004. //EFFECTUATIONS, DOCUMENTS, OBJETS, ETC.//
  1005. body.node-type-document, .node-type-document-sonor, .node-type-object{
  1006. .generale-design;
  1007. #center #content {
  1008. width: 720px;
  1009. img {margin:1em 0 1em 0;}
  1010. figure {position:relative;}
  1011. img.blank{position:absolute; top:0; left:0;}
  1012. figcaption {font-weight: 300; font-size:11px; width:250px; margin-bottom:1em; }
  1013. font-size:12px;
  1014. }
  1015. }
  1016. .field-type-video-embed-field iframe{
  1017. max-width: 100%;
  1018. height: auto;
  1019. aspect-ratio: 4/3;
  1020. }