jee.scss 26 KB

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