jee.scss 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  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{
  335. cursor:pointer;
  336. a{
  337. transform:none;
  338. transform-origin:bottom center;
  339. transition:1s ease-out;
  340. transition-property:transform;
  341. z-index:5;
  342. }
  343. }
  344. >.content{position:relative;}
  345. .texts{
  346. opacity:0; height:1px; overflow:hidden;
  347. transition:1s ease-out;
  348. transition-property:opacity height;
  349. position:absolute;
  350. }
  351. .field-name-field-partie{
  352. opacity:0;
  353. position:absolute;
  354. transition:1s ease-in-out 0.1s;
  355. transition-property: opacity transform;
  356. // just let see the field vignette of first partie
  357. &:nth-child(2){
  358. z-index:2;
  359. opacity:1;
  360. // transition-delay:0;
  361. >.field-type-text{
  362. opacity:0;
  363. transition:0.7s ease-out 0.9s;
  364. transition-property: opacity;
  365. }
  366. >.field-name-field-vignette{
  367. cursor:pointer;z-index:2;
  368. transform:scale(0.5);
  369. transition:1s ease-out; transition-property:transform;
  370. }
  371. }
  372. }
  373. &:after{
  374. opacity:0;
  375. transition: 2s ease-in;
  376. transition-property:opacity;
  377. top:1px; left:1px; bottom:2px; right:2px;
  378. }
  379. .line{
  380. // transition: 0.4s ease-out;
  381. // transition-property:opacity;
  382. opacity:0;
  383. }
  384. /*
  385. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  386. | _ | __ | __| | | | __| | | | | | | \| __|
  387. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  388. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  389. */
  390. &.previewed{
  391. z-index:100;
  392. &:after{
  393. opacity:1;
  394. $pad:-2em;
  395. top:-$pad;
  396. left:$pad*6; right:$pad*6;
  397. bottom:$pad*15;
  398. }
  399. h2.node-title a{transform:scale(2,2);}
  400. .texts{opacity:1; height:8em;}
  401. .field-name-field-partie{
  402. opacity:1; z-index:0;
  403. // display all fields inside each parties
  404. >.field{opacity:1; z-index:-1; cursor:default;}
  405. &:nth-child(2){
  406. >.field-name-field-vignette{
  407. transform:scale(1.3);
  408. // transition:1s ease-out 0.5s; transition-property:transform;
  409. }
  410. }
  411. .field-name-field-vignette{
  412. z-index:2; cursor:pointer;
  413. }
  414. }
  415. .line{
  416. // opacity:1;
  417. }
  418. }
  419. /*
  420. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  421. | | |_ _| | __| _ |_ _| __| | | | \| __|
  422. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  423. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  424. */
  425. &.mitigated{
  426. opacity:0.2;
  427. }
  428. /*
  429. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  430. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  431. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  432. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  433. */
  434. .chapter-displayed & {
  435. opacity:0.05;
  436. }
  437. /*
  438. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  439. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  440. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  441. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  442. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  443. |_| /_/
  444. */
  445. &:after{ // background
  446. content:" ";
  447. background-size:contain!important;
  448. position:absolute;
  449. z-index:-1;
  450. }
  451. h2.node-title{
  452. font-family: "epflulb";
  453. font-weight:normal;
  454. text-transform: uppercase;
  455. text-align: center;
  456. max-width: 8.5em;
  457. line-height: 0.85;
  458. @media #{$large-up} {
  459. font-size: 1.3em;
  460. }
  461. @media #{$xlarge-up} {
  462. font-size:1.8em;
  463. }
  464. z-index: 5;
  465. a{
  466. display:block;
  467. text-indent: -1000px;
  468. overflow:hidden;
  469. }
  470. }
  471. .texts{
  472. // position:relative;
  473. }
  474. // .field-name-field-comprendre
  475. .field-name-field-accroche{
  476. h1,h2,h3,h4,h5,h6{display:none!important;}
  477. // max-width:15em;
  478. p{margin:0;}
  479. min-width:19em;
  480. }
  481. ul.links{
  482. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  483. li.node-readmore{
  484. padding:0;
  485. a{
  486. display:inline-block;
  487. height:25px;
  488. font-family: "open_sans";
  489. font-weight: 900;
  490. color:#000!important;
  491. width:10em; text-align: left;
  492. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  493. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  494. }
  495. }
  496. }
  497. .field-name-field-partie{clear:both; padding-top:1em;}
  498. $shadow-size:3.5em;
  499. .field-name-field-vignette{
  500. position:relative;
  501. float:left;
  502. padding:$shadow-size;
  503. margin-top:-$shadow-size*1.15;
  504. margin-right:-$shadow-size+1.5em;
  505. margin-bottom:0;
  506. margin-left:0;
  507. background-size: contain;
  508. // background-repeat: no-repeat;
  509. // background-origin: center center;
  510. img{
  511. width:65px; height:65px;
  512. }
  513. }
  514. .field-type-text{ min-width:16em; }
  515. .field-name-field-titre{
  516. font-family: "epflul";
  517. font-size:1.4em;
  518. line-height:1.1;
  519. }
  520. .field-name-field-sous-titre{
  521. font-family: "epflul";
  522. font-size:1.2em;
  523. line-height:1.2;
  524. }
  525. .field-name-field-description{
  526. // font-family: "epf-lul";
  527. font-size:0.88em;
  528. line-height:1;
  529. }
  530. .line{
  531. z-index:-1;
  532. position:absolute;
  533. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  534. transform-origin:top left;
  535. width:2px; //background-color:red;
  536. opacity:0.4;
  537. }
  538. } // node-chapitre
  539. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  540. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  541. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  542. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  543. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  544. */
  545. #chapter-wrapper{
  546. position:absolute;
  547. top:0; left:0;
  548. width:100%; height:100%;
  549. z-index: -1;
  550. opacity:0;
  551. transition:2s ease-out;
  552. transition-property:opacity;
  553. &.visible{
  554. opacity:1;
  555. z-index: 500;
  556. }
  557. #home-btn{
  558. @include bg-svg-png('home-btn');
  559. position:absolute;
  560. z-index:100; top:20px; left:20px;
  561. width:25px; height:20px; cursor:pointer;
  562. }
  563. /*
  564. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  565. | | | | | | __ | __| | __ | | | | | | | \| __|
  566. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  567. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  568. */
  569. // SOL
  570. #node-2{
  571. @include bg-svg-png('bgd-sol');
  572. .field-type-text-long .field-label,
  573. h2.node-title,
  574. .field-name-field-dbatre li:before,
  575. .field-name-field-partager .field-label{
  576. color:$SOL-col-active;
  577. }
  578. h2.node-title{@include bg-svg-png('title-SOL-blur');}
  579. }
  580. // DPH
  581. #node-3{
  582. @include bg-svg-png('bgd-dph');
  583. .field-type-text-long .field-label,
  584. h2.node-title,
  585. .field-name-field-dbatre li:before,
  586. .field-name-field-partager .field-label{
  587. color:$DPH-col-active;
  588. }
  589. h2.node-title{@include bg-svg-png('title-DPH-blur');}
  590. }
  591. // SUB
  592. #node-4{
  593. @include bg-svg-png('bgd-sub');
  594. .field-type-text-long .field-label,
  595. h2.node-title,
  596. .field-name-field-dbatre li:before,
  597. .field-name-field-partager .field-label{
  598. color:$SUB-col-active;
  599. }
  600. h2.node-title{@include bg-svg-png('title-SUB-blur');}
  601. }
  602. // BC
  603. #node-5{
  604. @include bg-svg-png('bgd-bc');
  605. .field-type-text-long .field-label,
  606. h2.node-title,
  607. .field-name-field-dbatre li:before,
  608. .field-name-field-partager .field-label{
  609. color:$BC-col-active;
  610. }
  611. h2.node-title{@include bg-svg-png('title-BC-blur');}
  612. }
  613. // OPP
  614. #node-6{
  615. @include bg-svg-png('bgd-opp');
  616. .field-type-text-long .field-label,
  617. h2.node-title,
  618. .field-name-field-dbatre li:before,
  619. .field-name-field-partager .field-label{
  620. color:$OPP-col-active;
  621. }
  622. h2.node-title{@include bg-svg-png('title-OPP-blur');}
  623. }
  624. // DUB
  625. #node-7{
  626. @include bg-svg-png('bgd-bub');
  627. .field-type-text-long .field-label,
  628. h2.node-title,
  629. .field-name-field-dbatre li:before,
  630. .field-name-field-partager .field-label{
  631. color:$DUB-col-active;
  632. }
  633. h2.node-title{@include bg-svg-png('title-DUB-blur');}
  634. }
  635. // JUSO
  636. #node-8{
  637. @include bg-svg-png('bgd-juso');
  638. .field-type-text-long .field-label,
  639. h2.node-title,
  640. .field-name-field-dbatre li:before,
  641. .field-name-field-partager .field-label{
  642. color:$JUSO-col-active;
  643. }
  644. h2.node-title{@include bg-svg-png('title-JUSO-blur');}
  645. }
  646. /*
  647. _____ _____ _____ _____ _____ _____ _____ _____ _____
  648. | __| __| | | __| __ | | | | | __|
  649. | | | __| | | | __| -|- -| | | | | __|
  650. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  651. |__|
  652. */
  653. .node{
  654. position:relative;
  655. height:100%; width:100%;
  656. a{color:inherit;}
  657. }
  658. .node-title{
  659. font-family: "epflulb";
  660. font-weight:normal;
  661. text-transform: uppercase;
  662. text-align: center;
  663. // max-width: 8.5em;
  664. line-height: 0.85;
  665. font-size: 2.268em;
  666. position:absolute; display:block;
  667. top:0; left:0; width:100%; height:100%;
  668. background-size: contain!important;
  669. text-indent: -5000px;
  670. z-index:-1;
  671. opacity:0.4;
  672. }
  673. .node>.field, .node>.block{
  674. position:absolute;
  675. }
  676. .field-type-text-long, .field-type-text{
  677. background-color: rgba(255,255,255,0.9);
  678. min-height:5em; width:19em; padding:1em;
  679. z-index:10;
  680. cursor:move;
  681. .field-label{
  682. text-transform: uppercase;
  683. font-family: "epflulb";
  684. font-size:1.2em;
  685. }
  686. h2{
  687. font-size:0.80em;
  688. }
  689. p{
  690. font-size: 0.80em;
  691. margin-bottom:0.5em;
  692. }
  693. a{
  694. text-decoration: underline;
  695. }
  696. }
  697. .field-name-field-dbatre{
  698. left:60em;
  699. ul{
  700. margin:1em 0 1em 1em;
  701. li{
  702. list-style: none;
  703. line-height:1;
  704. margin-bottom: 1em;
  705. position:relative;
  706. font-size: 0.80em;
  707. &:before{
  708. content:"?";
  709. position:absolute;
  710. top:0; left:-1em;
  711. font-family: "epflul";
  712. }
  713. }
  714. }
  715. }
  716. .field-name-field-partie{
  717. height:60%; width:100%;
  718. top:20%; left:0;
  719. .field-items{
  720. position:relative;
  721. top:0; left:0;
  722. height:100%; width:auto;
  723. // overflow:hidden;
  724. .field{
  725. position:relative;
  726. display:inline-block;
  727. .mask{
  728. position:absolute;
  729. width:100%; height:85%;
  730. top:0; left:0;
  731. z-index:10;
  732. cursor:move;
  733. // background-color: rgba(150,250,250,0.2);
  734. }
  735. }
  736. }
  737. }
  738. } // #chapter-wrapper
  739. } // #main
  740. /* ______________ ________________ _ ______ ___ ____ ____ __________
  741. / ___/_ __/ |/_ __/ _/ ____/ | | / / __ \/ | / __ \/ __ \/ ____/ __ \
  742. \__ \ / / / /| | / / / // / | | /| / / /_/ / /| | / /_/ / /_/ / __/ / /_/ /
  743. ___/ // / / ___ |/ / _/ // /___ | |/ |/ / _, _/ ___ |/ ____/ ____/ /___/ _, _/
  744. /____//_/ /_/ |_/_/ /___/\____/ |__/|__/_/ |_/_/ |_/_/ /_/ /_____/_/ |_|
  745. */
  746. #static-wrapper{
  747. position:absolute;
  748. top:15%; bottom:0; right:20px;
  749. width:80%; max-width:55em;
  750. z-index: -1;
  751. background-color: #fff;
  752. opacity:0;
  753. transition:0.5s ease-out;
  754. transition-property:opacity;
  755. &.visible{
  756. opacity:0.9;
  757. transition:1.5s ease-out;
  758. z-index: 500;
  759. }
  760. >.close{
  761. position:absolute;
  762. top:20px; right:20px;
  763. z-index: 500;
  764. width:25px; height:25px;
  765. cursor:pointer;
  766. @include bg-svg-png('close');
  767. }
  768. >.inner{
  769. padding:5em 7em;
  770. width:100%; height:100%; overflow:hidden;
  771. >.node{
  772. width:100%; height:100%; overflow-y:auto; overflow-x:hidden;
  773. padding-right:1.5em;
  774. }
  775. }
  776. h2.node-title{
  777. font-family: "epflulb";
  778. text-transform: uppercase!important;
  779. font-size:3em;
  780. color:#000;
  781. }
  782. .content{
  783. h3{
  784. font-family: "epflulb";
  785. font-size:2em;
  786. text-transform: uppercase!important;
  787. color:$static-col;
  788. }
  789. h4{
  790. // font-family: "epflulb";
  791. font-size: 1em;
  792. // // color:$static-col;
  793. font-weight: 700;
  794. }
  795. p{
  796. font-family: "open_sans", sans-serif;
  797. font-weight:600;
  798. font-size:0.85em;
  799. line-height:1.5em;
  800. }
  801. a{
  802. text-decoration:underline;
  803. }
  804. img.floatleft{float:left; margin-right:1em;}
  805. img.floatright{float:right; margin-left:1em;}
  806. }
  807. }
  808. /* __________ ____ ________________
  809. / ____/ __ \/ __ \/_ __/ ____/ __ \
  810. / /_ / / / / / / / / / / __/ / /_/ /
  811. / __/ / /_/ / /_/ / / / / /___/ _, _/
  812. /_/ \____/\____/ /_/ /_____/_/ |_|
  813. */
  814. #footer{
  815. position:fixed;
  816. bottom:0; right:20px;
  817. z-index:900;
  818. body.chapter-displayed &{
  819. display:none;
  820. }
  821. .block{
  822. display:inline-block;
  823. vertical-align: top;
  824. font-size:0.5em;
  825. p{font-size: inherit;}
  826. a{color:#000;}
  827. }
  828. .block-menu{
  829. display:block;
  830. font-size:inherit;
  831. ul{
  832. margin:0; padding:0;
  833. li{
  834. margin:0 1em 0 0; padding:0;
  835. display:inline-block;
  836. list-style: none;
  837. a{
  838. font-family: "epflulb";
  839. color:#000;
  840. text-transform: uppercase;
  841. font-size:0.6em;
  842. }
  843. }
  844. }
  845. }
  846. p{
  847. margin:0;
  848. }
  849. #block-block-1{display:none;}
  850. }
  851. /*
  852. __ ____________ ______
  853. / |/ / _/ ___// ____/
  854. / /|_/ // / \__ \/ /
  855. / / / // / ___/ / /___
  856. /_/ /_/___//____/\____/
  857. */
  858. #loader{
  859. position:absolute;
  860. top:50%; left:50%;
  861. width:120px; height:4px;
  862. margin-left:-60px; margin-top:-5px;
  863. background: transparent url(../assets/img/loader.gif) no-repeat center center;
  864. z-index:-1; opacity:0;
  865. transition:0.5s ease-out;
  866. transition-property:opacity;
  867. body.loading &{
  868. z-index: 1000;
  869. opacity:1;
  870. }
  871. }
  872. #fullscreen-btn{
  873. position:fixed;
  874. right:20px; top:20px;
  875. z-index: 1000;
  876. width:25px; height:20px;
  877. text-indent: 200px; overflow:hidden;
  878. cursor:pointer;
  879. @include bg-svg-png('fullscreen-on');
  880. .fullscreen &{
  881. @include bg-svg-png('fullscreen-off');
  882. }
  883. }
  884. @mixin bubble($w,$h,$bg){
  885. position:absolute;
  886. z-index:0;
  887. display:block;
  888. width:$w; height:$h;
  889. // border:1px solid blue;
  890. @include bg-svg-png($bg);
  891. }
  892. .bubble-1{
  893. @include bubble(425px, 425px, 'bubble-01');
  894. top:-200px; left:-200px;
  895. }
  896. .bubble-2{
  897. @include bubble(885px, 885px, 'bubble-02');
  898. bottom:-400px; right:-400px;
  899. }
  900. .star{
  901. position:absolute;
  902. z-index: 0; display:block;
  903. width:10px; height:10px;
  904. opacity:1;
  905. @include bg-svg-png('star');
  906. }
  907. /*Remove Mozilla Firefox Border – Remove Dotted Line Around Link */
  908. *{outline:0!important;}
  909. /* ____ __________ __ ________
  910. / __ \/ ____/ __ )/ / / / ____/
  911. / / / / __/ / __ / / / / / __
  912. / /_/ / /___/ /_/ / /_/ / /_/ /
  913. /_____/_____/_____/\____/\____/
  914. */
  915. #fps{
  916. position:fixed;
  917. bottom:40px; left:20px;
  918. z-index: 1000;
  919. }
  920. #nav-cursor{
  921. position:absolute;
  922. width:6px; height:6px;
  923. margin-top: -3px; margin-left: -3px;
  924. background-color: red;
  925. z-index:1000;
  926. }