jee.scss 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. @charset "UTF-8";
  2. @import "../bower_components/foundation/scss/normalize.scss";
  3. @import "../bower_components/foundation/scss/foundation/functions";
  4. $row-width: rem-calc(1250);
  5. // $total-columns: 12;
  6. $column-gutter: rem-calc(20);
  7. //@import "../bower_components/foundation/scss/foundation/settings"; // this is not working, causing an error on compilation
  8. @import "../bower_components/foundation/scss/foundation/components/global";
  9. @import "../bower_components/foundation/scss/foundation/components/type";
  10. @import "../bower_components/foundation/scss/foundation/components/clearing";
  11. // @import "../bower_components/foundation/scss/foundation/components/inline-lists";
  12. @import "../bower_components/foundation/scss/foundation/components/grid";
  13. // @import "../bower_components/foundation/scss/foundation/components/top-bar";
  14. @import "../bower_components/foundation/scss/foundation/components/block-grid";
  15. // @import "../bower_components/foundation/scss/foundation.scss"; // without importing the whole foundation, the final css files is 75% less heavier
  16. /*
  17. * ESADHaR
  18. */
  19. @import "communs.scss";
  20. @import "fonts.scss";
  21. /*
  22. __ ________ __ _____ _______
  23. / |/ / _/ |/ // _/ | / / ___/
  24. / /|_/ // / | / / // |/ /\__ \
  25. / / / // / / |_/ // /| /___/ /
  26. /_/ /_/___//_/|_/___/_/ |_//____/
  27. */
  28. @mixin bg-svg-png($img, $r:no-repeat, $x:center, $y:center) {
  29. background: transparent url('../assets/img/#{$img}.png') $r $x $y;
  30. background: none, url('../assets/img/#{$img}.svg') $r $x $y;
  31. }
  32. /*
  33. ___ ____ ____
  34. / | / __ \/ __ \
  35. / /| | / /_/ / /_/ /
  36. / ___ |/ ____/ ____/
  37. /_/ |_/_/ /_/
  38. */
  39. html{
  40. position:relative;
  41. // overflow:hidden;
  42. // height:100%;
  43. }
  44. body{
  45. position:relative;
  46. user-select:none;
  47. height:100%!important;
  48. // min-height:1000px;
  49. width:100%;;
  50. overflow:hidden;
  51. }
  52. #root{
  53. position:relative;
  54. width:100%;
  55. height:100%;
  56. overflow: hidden;
  57. // width:1125px;
  58. // height:900px;
  59. // margin:-450px auto 0;
  60. // top:50%;
  61. /* IE10 Consumer Preview */
  62. background-image: -ms-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  63. /* Mozilla Firefox */
  64. background-image: -moz-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  65. /* Opera */
  66. background-image: -o-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  67. /* Webkit (Safari/Chrome 10) */
  68. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFDE9), color-stop(1, #BECFD9));
  69. /* Webkit (Chrome 11+) */
  70. background-image: -webkit-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  71. /* W3C Markup, IE10 Release Preview */
  72. background-image: linear-gradient(to bottom, #FFFDE9 0%, #BECFD9 100%);
  73. }
  74. @keyframes introLogo{
  75. 0% {opacity:0;}
  76. 35% {opacity:1;}
  77. 50% {opacity:1;}
  78. 75% {opacity:0;}
  79. 100% {opacity:0;}
  80. }
  81. @keyframes introLogoBlured{
  82. 0% {opacity:0;}
  83. 50% {opacity:0;}
  84. 60% {opacity:0.8;}
  85. 100% {opacity:0.8;}
  86. }
  87. @keyframes introSlogan{
  88. 0% {opacity:0;}
  89. 50% {opacity:0;}
  90. 70% {opacity:1;}
  91. 90% {opacity:1;}
  92. 100% {opacity:0;}
  93. }
  94. @keyframes introNodes{
  95. 0% {opacity:0;}
  96. 100% {opacity:1;}
  97. }
  98. $animeLogoDuration:6s;
  99. $animeNodesDuration:3s;
  100. #header{
  101. z-index:0;
  102. position:absolute;
  103. overflow:hidden;
  104. width:700px;
  105. height:310px;
  106. top:50%; left:50%;
  107. margin-left:-350px;
  108. margin-top:-155px;
  109. // transition-property: "transform";
  110. // transition-duration: 0.2s;
  111. // transition-timing-function:ease-out;
  112. animation-fill-mode: forwards;
  113. h1{
  114. position:absolute;
  115. width:100%; height:100%;
  116. a{display:block;margin-top:-500%;}
  117. // filter:url(#blur-effect);
  118. &:after, &:before{
  119. content:"";
  120. display:block;
  121. width:100%; height:100%;
  122. position:absolute;
  123. top:0; left:0;
  124. opacity:0;
  125. }
  126. &:before{
  127. @include bg-svg-png('logo');
  128. animation: introLogo $animeLogoDuration linear 0s;
  129. animation-fill-mode: forwards;
  130. }
  131. &:after{
  132. // background: transparent url('../assets/img/logo-blured.svg') no-repeat center center;
  133. @include bg-svg-png('logo-blured');
  134. animation: introLogoBlured $animeLogoDuration linear 0s;
  135. animation-fill-mode: forwards;
  136. }
  137. }
  138. h2{
  139. // background: transparent url('../assets/img/slogan.svg') no-repeat center center;
  140. @include bg-svg-png('slogan');
  141. position:absolute;
  142. width:100%; height:100%;
  143. a{display:block;margin-top:-500%;}
  144. opacity:0;
  145. animation: introSlogan $animeLogoDuration linear 0s;
  146. animation-fill-mode: forwards;
  147. }
  148. } // #header
  149. div.messages{
  150. position:absolute;
  151. top:20px; right:20px;
  152. width:500px; max-height:60%;
  153. overflow-y:auto;
  154. z-index: 1000;
  155. }
  156. #main{
  157. position:absolute;
  158. width:100%; height:100%;
  159. overflow:hidden;
  160. z-index: 2;
  161. .block-system{
  162. position:relative;
  163. width:100%; height:100%;
  164. overflow:hidden;
  165. }
  166. /*
  167. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  168. | | | | | | __ | __| | __ | | | | | | | \| __|
  169. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  170. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  171. */
  172. //SOL
  173. #node-2{
  174. &.node-teaser{
  175. &::after{ @include bg-svg-png('bgd-sol');}
  176. &, a{color:$SOL-col-txt;}
  177. h2.node-title{
  178. &,a{color:$SOL-color;}
  179. a{@include bg-svg-png('title-SOL'); width:170px; height:35px;}
  180. }
  181. .field-name-field-vignette{@include bg-svg-png('shadow-sol');}
  182. .line{background-color:$SOL-col-active;}
  183. &.previewed{
  184. h2.node-title{
  185. &,a{color:$SOL-col-active;}
  186. a{@include bg-svg-png('title-SOL-activ');}
  187. }
  188. }
  189. }
  190. }
  191. //DPH
  192. #node-3{
  193. &.node-teaser{
  194. &::after{ @include bg-svg-png('bgd-dph');}
  195. &, a{color:$DPH-col-txt;}
  196. h2.node-title{
  197. &,a{color:$DPH-color;}
  198. a{@include bg-svg-png('title-DPH'); width:180px; height:80px;}
  199. }
  200. .field-name-field-vignette{@include bg-svg-png('shadow-dph');}
  201. .line{background-color:$DPH-col-active;}
  202. &.previewed{
  203. h2.node-title{
  204. &,a{color:$DPH-col-active;}
  205. a{@include bg-svg-png('title-DPH-activ');}
  206. }
  207. }
  208. }
  209. }
  210. // SUB
  211. #node-4{
  212. &.node-teaser{
  213. &::after{ @include bg-svg-png('bgd-sub');}
  214. &, a{color:$SUB-col-txt;}
  215. h2.node-title{
  216. &,a{color:$SUB-color;}
  217. a{@include bg-svg-png('title-SUB'); width:200px; height:35px;}
  218. }
  219. .field-name-field-vignette{@include bg-svg-png('shadow-sub');}
  220. .line{background-color:$SUB-col-active;}
  221. &.previewed{
  222. h2.node-title{
  223. &,a{color:$SUB-col-active;}
  224. a{@include bg-svg-png('title-SUB-activ');}
  225. }
  226. }
  227. }
  228. }
  229. // BC
  230. #node-5{
  231. &.node-teaser{
  232. &::after{ @include bg-svg-png('bgd-bc');}
  233. &, a{color:$BC-col-txt;}
  234. h2.node-title{
  235. &,a{color:$BC-color;}
  236. a{@include bg-svg-png('title-BC'); width:120px; height:45px;}
  237. }
  238. .field-name-field-vignette{@include bg-svg-png('shadow-bc');}
  239. .line{background-color:$BC-col-active;}
  240. &.previewed{
  241. h2.node-title{
  242. &,a{color:$BC-col-active;}
  243. a{@include bg-svg-png('title-BC-activ');}
  244. }
  245. }
  246. }
  247. }
  248. //OPP
  249. #node-6{
  250. &.node-teaser{
  251. &::after{ @include bg-svg-png('bgd-opp');}
  252. &, a{color:$OPP-col-txt;}
  253. h2.node-title{
  254. &,a{color:$OPP-color;}
  255. a{@include bg-svg-png('title-OPP'); width:245px; height:95px;}
  256. }
  257. .field-name-field-vignette{@include bg-svg-png('shadow-opp');}
  258. .line{background-color:$OPP-col-active;}
  259. &.previewed{
  260. h2.node-title{
  261. &,a{color:$OPP-col-active;}
  262. a{@include bg-svg-png('title-OPP-activ');}
  263. }
  264. }
  265. }
  266. }
  267. //DUB
  268. #node-7{
  269. &.node-teaser{
  270. &::after{ @include bg-svg-png('bgd-dub');}
  271. &, a{color:$DUB-col-txt;}
  272. h2.node-title{
  273. &,a{color:$DUB-color;}
  274. a{@include bg-svg-png('title-DUB'); width:195px; height:65px;}
  275. }
  276. .field-name-field-vignette{@include bg-svg-png('shadow-dub');}
  277. .line{background-color:$DUB-col-active;}
  278. &.previewed{
  279. h2.node-title{
  280. &,a{color:$DUB-col-active;}
  281. a{@include bg-svg-png('title-DUB-activ');}
  282. }
  283. }
  284. }
  285. }
  286. // JUSO
  287. #node-8{
  288. &.node-teaser{
  289. &::after{ @include bg-svg-png('bgd-juso');}
  290. &, a{color:$JUSO-col-txt;}
  291. h2.node-title{
  292. &,a{color:$JUSO-color;}
  293. a{@include bg-svg-png('title-JUSO'); width:200px; height:65px; }
  294. }
  295. .field-name-field-vignette{@include bg-svg-png('shadow-juso');}
  296. .line{background-color:$JUSO-col-active;}
  297. &.previewed{
  298. h2.node-title{
  299. &,a{color:$JUSO-col-active;}
  300. a{@include bg-svg-png('title-JUSO-activ');}
  301. }
  302. }
  303. }
  304. }
  305. /*
  306. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  307. | | | | _ | _ |_ _| __| __ | __| | __| __| | | __| __ | | | | | __|
  308. | --| | | __| | | | __| -|__ | | | | __| | | | __| -|- -| | | | | __|
  309. |_____|__|__|__|__|__| |_| |_____|__|__|_____| |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  310. |__|
  311. */
  312. .node-chapitre.node-teaser{
  313. z-index: 2;
  314. position:absolute;
  315. /*
  316. _____ __________________ ___ _________________ __________________
  317. / _/ | / /_ __/ ____/ __ \/ | / ____/_ __/ _/ | / / _/_ __/ ____/
  318. / // |/ / / / / __/ / /_/ / /| |/ / / / / / | | / // / / / / __/
  319. _/ // /| / / / / /___/ _, _/ ___ / /___ / / _/ / | |/ // / / / / /___
  320. /___/_/ |_/ /_/ /_____/_/ |_/_/ |_\____/ /_/ /___/ |___/___/ /_/ /_____/
  321. */
  322. /*
  323. ____ _____ _____ _____ _____ __ _____ _____ _____ ____ _____
  324. | \| __| __| _ | | | ||_ _| | | | \| __|
  325. | | | __| __| | | | |__| | | | | | | | | | __|
  326. |____/|_____|__| |__|__|_____|_____|_| |_|_|_|_____|____/|_____|
  327. */
  328. transition:1s ease-out;
  329. transition-property:opacity;
  330. opacity:0;
  331. &.enabled{
  332. opacity:1;
  333. }
  334. h2.node-title a{
  335. transform:none;
  336. transform-origin:bottom center;
  337. transition:1s ease-out;
  338. transition-property:transform;
  339. z-index:5;
  340. }
  341. >.content{position:relative;}
  342. .texts{
  343. opacity:0; height:1px; overflow:hidden;
  344. transition:1s ease-out;
  345. transition-property:opacity height;
  346. position:absolute;
  347. }
  348. .field-name-field-partie{
  349. opacity:0;
  350. position:absolute;
  351. transition:1s ease-in-out 0.1s;
  352. transition-property: opacity transform;
  353. // just let see the field vignette of first partie
  354. &:nth-child(2){
  355. z-index:2;
  356. opacity:1;
  357. // transition-delay:0;
  358. >.field-type-text{
  359. opacity:0;
  360. transition:0.7s ease-out 0.9s;
  361. transition-property: opacity;
  362. }
  363. >.field-name-field-vignette{
  364. cursor:pointer;z-index:2;
  365. transform:scale(0.5);
  366. transition:1s ease-out; transition-property:transform;
  367. }
  368. }
  369. }
  370. &:after{
  371. opacity:0;
  372. transition: 2s ease-in;
  373. transition-property:opacity;
  374. top:1px; left:1px; bottom:2px; right:2px;
  375. }
  376. .line{
  377. // transition: 0.4s ease-out;
  378. // transition-property:opacity;
  379. opacity:0;
  380. }
  381. /*
  382. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  383. | _ | __ | __| | | | __| | | | | | | \| __|
  384. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  385. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  386. */
  387. &.previewed{
  388. z-index:100;
  389. &:after{
  390. opacity:1;
  391. $pad:-2em;
  392. top:-$pad;
  393. left:$pad*6; right:$pad*6;
  394. bottom:$pad*15;
  395. }
  396. h2.node-title a{transform:scale(2,2);}
  397. .texts{opacity:1; height:8em;}
  398. .field-name-field-partie{
  399. opacity:1; z-index:0;
  400. // display all fields inside each parties
  401. >.field{opacity:1; z-index:-1; cursor:default;}
  402. &:nth-child(2){
  403. >.field-name-field-vignette{
  404. transform:scale(1.3);
  405. // transition:1s ease-out 0.5s; transition-property:transform;
  406. }
  407. }
  408. }
  409. .line{
  410. // opacity:1;
  411. }
  412. }
  413. /*
  414. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  415. | | |_ _| | __| _ |_ _| __| | | | \| __|
  416. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  417. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  418. */
  419. &.mitigated{
  420. opacity:0.2;
  421. }
  422. /*
  423. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  424. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  425. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  426. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  427. */
  428. .chapter-displayed & {
  429. opacity:0.05;
  430. }
  431. /*
  432. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  433. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  434. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  435. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  436. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  437. |_| /_/
  438. */
  439. &:after{ // background
  440. content:" ";
  441. background-size:contain!important;
  442. position:absolute;
  443. z-index:-1;
  444. }
  445. h2.node-title{
  446. font-family: "epflulb";
  447. font-weight:normal;
  448. text-transform: uppercase;
  449. text-align: center;
  450. max-width: 8.5em;
  451. line-height: 0.85;
  452. @media #{$large-up} {
  453. font-size: 1.3em;
  454. }
  455. @media #{$xlarge-up} {
  456. font-size:1.8em;
  457. }
  458. z-index: 5;
  459. a{
  460. display:block;
  461. text-indent: -1000px;
  462. overflow:hidden;
  463. }
  464. }
  465. .texts{
  466. // position:relative;
  467. }
  468. // .field-name-field-comprendre
  469. .field-name-field-accroche{
  470. h1,h2,h3,h4,h5,h6{display:none!important;}
  471. // max-width:15em;
  472. p{margin:0;}
  473. min-width:19em;
  474. }
  475. ul.links{
  476. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  477. li.node-readmore{
  478. padding:0;
  479. a{
  480. display:inline-block;
  481. height:25px;
  482. font-family: "open_sans";
  483. font-weight: 900;
  484. color:#000!important;
  485. width:10em; text-align: left;
  486. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  487. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  488. }
  489. }
  490. }
  491. .field-name-field-partie{clear:both; padding-top:1em;}
  492. $shadow-size:3.5em;
  493. .field-name-field-vignette{
  494. position:relative;
  495. float:left;
  496. padding:$shadow-size;
  497. margin-top:-$shadow-size*1.15;
  498. margin-right:-$shadow-size+1.5em;
  499. margin-bottom:0;
  500. margin-left:0;
  501. background-size: contain;
  502. // background-repeat: no-repeat;
  503. // background-origin: center center;
  504. img{
  505. width:65px; height:65px;
  506. }
  507. }
  508. .field-type-text{ min-width:16em; }
  509. .field-name-field-titre{
  510. font-family: "epflul";
  511. font-size:1.4em;
  512. line-height:1.1;
  513. }
  514. .field-name-field-sous-titre{
  515. font-family: "epflul";
  516. font-size:1.2em;
  517. line-height:1.2;
  518. }
  519. .field-name-field-description{
  520. // font-family: "epf-lul";
  521. font-size:0.88em;
  522. line-height:1;
  523. }
  524. .line{
  525. z-index:-1;
  526. position:absolute;
  527. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  528. transform-origin:top left;
  529. width:2px; //background-color:red;
  530. opacity:0.4;
  531. }
  532. } // node-chapitre
  533. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  534. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  535. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  536. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  537. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  538. */
  539. #chapter-wrapper{
  540. position:absolute;
  541. top:0; left:0;
  542. width:100%; height:100%;
  543. z-index: -1;
  544. opacity:0;
  545. transition:2s ease-out;
  546. transition-property:opacity;
  547. &.visible{
  548. opacity:1;
  549. z-index: 500;
  550. }
  551. #home-btn{
  552. @include bg-svg-png('home-btn');
  553. position:absolute;
  554. z-index:100; top:20px; left:20px;
  555. width:25px; height:20px; cursor:pointer;
  556. }
  557. /*
  558. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  559. | | | | | | __ | __| | __ | | | | | | | \| __|
  560. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  561. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  562. */
  563. // SOL
  564. #node-2{
  565. @include bg-svg-png('bgd-sol');
  566. .field-type-text-long .field-label,
  567. h2.node-title,
  568. .field-name-field-dbatre li:before,
  569. .field-name-field-partager .field-label{
  570. color:$SOL-col-active;
  571. }
  572. h2.node-title{@include bg-svg-png('title-SOL-blur');}
  573. }
  574. // DPH
  575. #node-3{
  576. @include bg-svg-png('bgd-dph');
  577. .field-type-text-long .field-label,
  578. h2.node-title,
  579. .field-name-field-dbatre li:before,
  580. .field-name-field-partager .field-label{
  581. color:$DPH-col-active;
  582. }
  583. h2.node-title{@include bg-svg-png('title-DPH-blur');}
  584. }
  585. // SUB
  586. #node-4{
  587. @include bg-svg-png('bgd-sub');
  588. .field-type-text-long .field-label,
  589. h2.node-title,
  590. .field-name-field-dbatre li:before,
  591. .field-name-field-partager .field-label{
  592. color:$SUB-col-active;
  593. }
  594. h2.node-title{@include bg-svg-png('title-SUB-blur');}
  595. }
  596. // BC
  597. #node-5{
  598. @include bg-svg-png('bgd-bc');
  599. .field-type-text-long .field-label,
  600. h2.node-title,
  601. .field-name-field-dbatre li:before,
  602. .field-name-field-partager .field-label{
  603. color:$BC-col-active;
  604. }
  605. h2.node-title{@include bg-svg-png('title-BC-blur');}
  606. }
  607. // OPP
  608. #node-6{
  609. @include bg-svg-png('bgd-opp');
  610. .field-type-text-long .field-label,
  611. h2.node-title,
  612. .field-name-field-dbatre li:before,
  613. .field-name-field-partager .field-label{
  614. color:$OPP-col-active;
  615. }
  616. h2.node-title{@include bg-svg-png('title-OPP-blur');}
  617. }
  618. // DUB
  619. #node-7{
  620. @include bg-svg-png('bgd-bub');
  621. .field-type-text-long .field-label,
  622. h2.node-title,
  623. .field-name-field-dbatre li:before,
  624. .field-name-field-partager .field-label{
  625. color:$DUB-col-active;
  626. }
  627. h2.node-title{@include bg-svg-png('title-DUB-blur');}
  628. }
  629. // JUSO
  630. #node-8{
  631. @include bg-svg-png('bgd-juso');
  632. .field-type-text-long .field-label,
  633. h2.node-title,
  634. .field-name-field-dbatre li:before,
  635. .field-name-field-partager .field-label{
  636. color:$JUSO-col-active;
  637. }
  638. h2.node-title{@include bg-svg-png('title-JUSO-blur');}
  639. }
  640. /*
  641. _____ _____ _____ _____ _____ _____ _____ _____ _____
  642. | __| __| | | __| __ | | | | | __|
  643. | | | __| | | | __| -|- -| | | | | __|
  644. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  645. |__|
  646. */
  647. .node{
  648. position:relative;
  649. height:100%; width:100%;
  650. a{color:inherit;}
  651. }
  652. .node-title{
  653. font-family: "epflulb";
  654. font-weight:normal;
  655. text-transform: uppercase;
  656. text-align: center;
  657. // max-width: 8.5em;
  658. line-height: 0.85;
  659. font-size: 2.268em;
  660. position:absolute; display:block;
  661. top:0; left:0; width:100%; height:100%;
  662. background-size: contain!important;
  663. text-indent: -5000px;
  664. z-index:-1;
  665. opacity:0.4;
  666. }
  667. .node>.field, .node>.block{
  668. position:absolute;
  669. }
  670. .field-type-text-long, .field-type-text{
  671. background-color: rgba(255,255,255,0.9);
  672. min-height:5em; width:19em; padding:1em;
  673. z-index:10;
  674. cursor:move;
  675. .field-label{
  676. text-transform: uppercase;
  677. font-family: "epflulb";
  678. font-size:1.2em;
  679. }
  680. h2{
  681. font-size:0.80em;
  682. }
  683. p{
  684. font-size: 0.80em;
  685. margin-bottom:0.5em;
  686. }
  687. a{
  688. text-decoration: underline;
  689. }
  690. }
  691. .field-name-field-dbatre{
  692. left:60em;
  693. ul{
  694. margin:1em 0 1em 1em;
  695. li{
  696. list-style: none;
  697. line-height:1;
  698. margin-bottom: 1em;
  699. position:relative;
  700. font-size: 0.80em;
  701. &:before{
  702. content:"?";
  703. position:absolute;
  704. top:0; left:-1em;
  705. font-family: "epflul";
  706. }
  707. }
  708. }
  709. }
  710. .field-name-field-partie{
  711. height:60%; width:100%;
  712. top:20%; left:0;
  713. .field-items{
  714. position:relative;
  715. top:0; left:0;
  716. height:100%; width:auto;
  717. // overflow:hidden;
  718. .field{
  719. position:relative;
  720. display:inline-block;
  721. .mask{
  722. position:absolute;
  723. width:100%; height:85%;
  724. top:0; left:0;
  725. z-index:10;
  726. cursor:move;
  727. // background-color: rgba(150,250,250,0.2);
  728. }
  729. }
  730. }
  731. }
  732. } // #chapter-wrapper
  733. } // #main
  734. /* ______________ ________________ _ ______ ___ ____ ____ __________
  735. / ___/_ __/ |/_ __/ _/ ____/ | | / / __ \/ | / __ \/ __ \/ ____/ __ \
  736. \__ \ / / / /| | / / / // / | | /| / / /_/ / /| | / /_/ / /_/ / __/ / /_/ /
  737. ___/ // / / ___ |/ / _/ // /___ | |/ |/ / _, _/ ___ |/ ____/ ____/ /___/ _, _/
  738. /____//_/ /_/ |_/_/ /___/\____/ |__/|__/_/ |_/_/ |_/_/ /_/ /_____/_/ |_|
  739. */
  740. #static-wrapper{
  741. position:absolute;
  742. top:15%; bottom:0; right:20px;
  743. width:80%; max-width:55em;
  744. z-index: -1;
  745. background-color: #fff;
  746. opacity:0;
  747. transition:0.5s ease-out;
  748. transition-property:opacity;
  749. &.visible{
  750. opacity:0.9;
  751. transition:1.5s ease-out;
  752. z-index: 500;
  753. }
  754. >.close{
  755. position:absolute;
  756. top:20px; right:20px;
  757. z-index: 500;
  758. width:25px; height:25px;
  759. cursor:pointer;
  760. @include bg-svg-png('close');
  761. }
  762. >.inner{
  763. padding:5em 7em;
  764. width:100%; height:100%; overflow:hidden;
  765. >.node{
  766. width:100%; height:100%; overflow-y:auto; overflow-x:hidden;
  767. padding-right:1.5em;
  768. }
  769. }
  770. h2.node-title{
  771. font-family: "epflulb";
  772. text-transform: uppercase!important;
  773. font-size:3em;
  774. color:#000;
  775. }
  776. .content{
  777. h3{
  778. font-family: "epflulb";
  779. font-size:2em;
  780. text-transform: uppercase!important;
  781. color:$static-col;
  782. }
  783. h4{
  784. // font-family: "epflulb";
  785. font-size: 1em;
  786. // // color:$static-col;
  787. font-weight: 700;
  788. }
  789. p{
  790. font-family: "open_sans", sans-serif;
  791. font-weight:600;
  792. font-size:0.85em;
  793. line-height:1.5em;
  794. }
  795. a{
  796. text-decoration:underline;
  797. }
  798. img.floatleft{float:left; margin-right:1em;}
  799. img.floatright{float:right; margin-left:1em;}
  800. }
  801. }
  802. /* __________ ____ ________________
  803. / ____/ __ \/ __ \/_ __/ ____/ __ \
  804. / /_ / / / / / / / / / / __/ / /_/ /
  805. / __/ / /_/ / /_/ / / / / /___/ _, _/
  806. /_/ \____/\____/ /_/ /_____/_/ |_|
  807. */
  808. #footer{
  809. position:fixed;
  810. bottom:0; right:20px;
  811. z-index:900;
  812. body.chapter-displayed &{
  813. display:none;
  814. }
  815. .block{
  816. display:inline-block;
  817. vertical-align: top;
  818. font-size:0.5em;
  819. p{font-size: inherit;}
  820. a{color:#000;}
  821. }
  822. .block-menu{
  823. display:block;
  824. font-size:inherit;
  825. ul{
  826. margin:0; padding:0;
  827. li{
  828. margin:0 1em 0 0; padding:0;
  829. display:inline-block;
  830. list-style: none;
  831. a{
  832. font-family: "epflulb";
  833. color:#000;
  834. text-transform: uppercase;
  835. font-size:0.6em;
  836. }
  837. }
  838. }
  839. }
  840. p{
  841. margin:0;
  842. }
  843. #block-block-1{display:none;}
  844. }
  845. /*
  846. __ ____________ ______
  847. / |/ / _/ ___// ____/
  848. / /|_/ // / \__ \/ /
  849. / / / // / ___/ / /___
  850. /_/ /_/___//____/\____/
  851. */
  852. #loader{
  853. position:absolute;
  854. top:50%; left:50%;
  855. width:120px; height:4px;
  856. margin-left:-60px; margin-top:-5px;
  857. background: transparent url(../assets/img/loader.gif) no-repeat center center;
  858. z-index:-1; opacity:0;
  859. transition:0.5s ease-out;
  860. transition-property:opacity;
  861. body.loading &{
  862. z-index: 1000;
  863. opacity:1;
  864. }
  865. }
  866. #fullscreen-btn{
  867. position:fixed;
  868. right:20px; top:20px;
  869. z-index: 1000;
  870. width:25px; height:20px;
  871. text-indent: 200px; overflow:hidden;
  872. cursor:pointer;
  873. @include bg-svg-png('fullscreen-on');
  874. .fullscreen &{
  875. @include bg-svg-png('fullscreen-off');
  876. }
  877. }
  878. @mixin bubble($w,$h,$bg){
  879. position:absolute;
  880. z-index:0;
  881. display:block;
  882. width:$w; height:$h;
  883. // border:1px solid blue;
  884. @include bg-svg-png($bg);
  885. }
  886. .bubble-1{
  887. @include bubble(425px, 425px, 'bubble-01');
  888. top:-200px; left:-200px;
  889. }
  890. .bubble-2{
  891. @include bubble(885px, 885px, 'bubble-02');
  892. bottom:-400px; right:-400px;
  893. }
  894. .star{
  895. position:absolute;
  896. z-index: 0; display:block;
  897. width:10px; height:10px;
  898. opacity:1;
  899. @include bg-svg-png('star');
  900. }
  901. /* ____ __________ __ ________
  902. / __ \/ ____/ __ )/ / / / ____/
  903. / / / / __/ / __ / / / / / __
  904. / /_/ / /___/ /_/ / /_/ / /_/ /
  905. /_____/_____/_____/\____/\____/
  906. */
  907. #fps{
  908. position:fixed;
  909. bottom:40px; left:20px;
  910. z-index: 1000;
  911. }
  912. #nav-cursor{
  913. position:absolute;
  914. width:6px; height:6px;
  915. margin-top: -3px; margin-left: -3px;
  916. background-color: red;
  917. z-index:1000;
  918. }