jee.scss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  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-col-active;}
  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. }
  184. }
  185. //DPH
  186. #node-3{
  187. &.node-teaser{
  188. &::after{ @include bg-svg-png('bgd-dph');}
  189. &, a{color:$DPH-col-txt;}
  190. h2.node-title{
  191. &,a{color:$DPH-col-active;}
  192. a{@include bg-svg-png('title-DPH'); width:180px; height:80px;}
  193. }
  194. .field-name-field-vignette{@include bg-svg-png('shadow-dph');}
  195. .line{background-color:$DPH-col-active;}
  196. }
  197. }
  198. // SUB
  199. #node-4{
  200. &.node-teaser{
  201. &::after{ @include bg-svg-png('bgd-sub');}
  202. &, a{color:$SUB-col-txt;}
  203. h2.node-title{
  204. &,a{color:$SUB-col-active;}
  205. a{@include bg-svg-png('title-SUB'); width:200px; height:35px;}
  206. }
  207. .field-name-field-vignette{@include bg-svg-png('shadow-sub');}
  208. .line{background-color:$SUB-col-active;}
  209. }
  210. }
  211. // BC
  212. #node-5{
  213. &.node-teaser{
  214. &::after{ @include bg-svg-png('bgd-bc');}
  215. &, a{color:$BC-col-txt;}
  216. h2.node-title{
  217. &,a{color:$BC-col-active;}
  218. a{@include bg-svg-png('title-BC'); width:120px; height:45px;}
  219. }
  220. .field-name-field-vignette{@include bg-svg-png('shadow-bc');}
  221. .line{background-color:$BC-col-active;}
  222. }
  223. }
  224. //OPP
  225. #node-6{
  226. &.node-teaser{
  227. &::after{ @include bg-svg-png('bgd-opp');}
  228. &, a{color:$OPP-col-txt;}
  229. h2.node-title{
  230. &,a{color:$OPP-col-active;}
  231. a{@include bg-svg-png('title-OPP'); width:245px; height:95px;}
  232. }
  233. .field-name-field-vignette{@include bg-svg-png('shadow-opp');}
  234. .line{background-color:$OPP-col-active;}
  235. }
  236. }
  237. //DUB
  238. #node-7{
  239. &.node-teaser{
  240. &::after{ @include bg-svg-png('bgd-dub');}
  241. &, a{color:$DUB-col-txt;}
  242. h2.node-title{
  243. &,a{color:$DUB-col-active;}
  244. a{@include bg-svg-png('title-DUB'); width:195px; height:65px;}
  245. }
  246. .field-name-field-vignette{@include bg-svg-png('shadow-dub');}
  247. .line{background-color:$DUB-col-active;}
  248. }
  249. }
  250. // JUSO
  251. #node-8{
  252. &.node-teaser{
  253. &::after{ @include bg-svg-png('bgd-juso');}
  254. &, a{color:$JUSO-col-txt;}
  255. h2.node-title{
  256. &,a{color:$JUSO-col-active;}
  257. a{@include bg-svg-png('title-JUSO'); width:200px; height:65px; }
  258. }
  259. .field-name-field-vignette{@include bg-svg-png('shadow-juso');}
  260. .line{background-color:$JUSO-col-active;}
  261. }
  262. }
  263. /*
  264. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  265. | | | | _ | _ |_ _| __| __ | __| | __| __| | | __| __ | | | | | __|
  266. | --| | | __| | | | __| -|__ | | | | __| | | | __| -|- -| | | | | __|
  267. |_____|__|__|__|__|__| |_| |_____|__|__|_____| |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  268. |__|
  269. */
  270. .node-chapitre.node-teaser{
  271. z-index: 2;
  272. position:absolute;
  273. /*
  274. _____ __________________ ___ _________________ __________________
  275. / _/ | / /_ __/ ____/ __ \/ | / ____/_ __/ _/ | / / _/_ __/ ____/
  276. / // |/ / / / / __/ / /_/ / /| |/ / / / / / | | / // / / / / __/
  277. _/ // /| / / / / /___/ _, _/ ___ / /___ / / _/ / | |/ // / / / / /___
  278. /___/_/ |_/ /_/ /_____/_/ |_/_/ |_\____/ /_/ /___/ |___/___/ /_/ /_____/
  279. */
  280. /*
  281. ____ _____ _____ _____ _____ __ _____ _____ _____ ____ _____
  282. | \| __| __| _ | | | ||_ _| | | | \| __|
  283. | | | __| __| | | | |__| | | | | | | | | | __|
  284. |____/|_____|__| |__|__|_____|_____|_| |_|_|_|_____|____/|_____|
  285. */
  286. transition:1s ease-out;
  287. transition-property:opacity;
  288. opacity:0;
  289. &.enabled{
  290. opacity:1;
  291. }
  292. h2.node-title a{
  293. transform:none;
  294. transform-origin:bottom center;
  295. transition:1s ease-out;
  296. transition-property:transform;
  297. z-index:5;
  298. }
  299. >.content{position:relative;}
  300. .texts{
  301. opacity:0; height:1px; overflow:hidden;
  302. transition:1s ease-out;
  303. transition-property:opacity height;
  304. position:absolute;
  305. }
  306. .field-name-field-partie{
  307. opacity:0;
  308. position:absolute;
  309. transition:1s ease-in-out 0.1s;
  310. transition-property: opacity transform;
  311. // just let see the field vignette of first partie
  312. &:nth-child(2){
  313. z-index:2;
  314. opacity:1;
  315. // transition-delay:0;
  316. >.field-type-text{
  317. opacity:0;
  318. transition:0.7s ease-out 0.9s;
  319. transition-property: opacity;
  320. }
  321. >.field-name-field-vignette{
  322. cursor:pointer;z-index:2;
  323. transform:scale(0.5);
  324. transition:1s ease-out; transition-property:transform;
  325. }
  326. }
  327. }
  328. &:after{
  329. opacity:0;
  330. transition: 2s ease-in;
  331. transition-property:opacity;
  332. top:1px; left:1px; bottom:2px; right:2px;
  333. }
  334. .line{
  335. // transition: 0.4s ease-out;
  336. // transition-property:opacity;
  337. opacity:0;
  338. }
  339. /*
  340. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  341. | _ | __ | __| | | | __| | | | | | | \| __|
  342. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  343. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  344. */
  345. &.previewed{
  346. z-index:100;
  347. &:after{
  348. opacity:1;
  349. $pad:-2em;
  350. top:-$pad;
  351. left:$pad*6; right:$pad*6;
  352. bottom:$pad*15;
  353. }
  354. h2.node-title a{transform:scale(2,2);}
  355. .texts{opacity:1; height:8em;}
  356. .field-name-field-partie{
  357. opacity:1; z-index:0;
  358. // display all fields inside each parties
  359. >.field{opacity:1; z-index:-1; cursor:default;}
  360. &:nth-child(2){
  361. >.field-name-field-vignette{
  362. transform:scale(1.3);
  363. // transition:1s ease-out 0.5s; transition-property:transform;
  364. }
  365. }
  366. }
  367. .line{
  368. // opacity:1;
  369. }
  370. }
  371. /*
  372. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  373. | | |_ _| | __| _ |_ _| __| | | | \| __|
  374. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  375. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  376. */
  377. &.mitigated{
  378. opacity:0.2;
  379. }
  380. /*
  381. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  382. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  383. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  384. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  385. */
  386. .chapter-displayed & {
  387. opacity:0.05;
  388. }
  389. /*
  390. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  391. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  392. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  393. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  394. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  395. |_| /_/
  396. */
  397. &:after{ // background
  398. content:" ";
  399. background-size:contain!important;
  400. position:absolute;
  401. z-index:-1;
  402. }
  403. h2.node-title{
  404. font-family: "epflulb";
  405. font-weight:normal;
  406. text-transform: uppercase;
  407. text-align: center;
  408. max-width: 8.5em;
  409. line-height: 0.85;
  410. @media #{$large-up} {
  411. font-size: 1.3em;
  412. }
  413. @media #{$xlarge-up} {
  414. font-size:1.8em;
  415. }
  416. z-index: 5;
  417. a{
  418. display:block;
  419. text-indent: -1000px;
  420. overflow:hidden;
  421. }
  422. }
  423. .texts{
  424. // position:relative;
  425. }
  426. // .field-name-field-comprendre
  427. .field-name-field-accroche{
  428. h1,h2,h3,h4,h5,h6{display:none!important;}
  429. // max-width:15em;
  430. p{margin:0;}
  431. min-width:19em;
  432. }
  433. ul.links{
  434. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  435. li.node-readmore{
  436. padding:0;
  437. a{
  438. display:inline-block;
  439. height:25px;
  440. font-family: "open_sans";
  441. font-weight: 900;
  442. color:#000!important;
  443. width:10em; text-align: left;
  444. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  445. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  446. }
  447. }
  448. }
  449. .field-name-field-partie{clear:both; padding-top:1em;}
  450. $shadow-size:3.5em;
  451. .field-name-field-vignette{
  452. position:relative;
  453. float:left;
  454. padding:$shadow-size;
  455. margin-top:-$shadow-size*1.15;
  456. margin-right:-$shadow-size+1.5em;
  457. margin-bottom:0;
  458. margin-left:0;
  459. background-size: contain;
  460. // background-repeat: no-repeat;
  461. // background-origin: center center;
  462. img{
  463. width:65px; height:65px;
  464. }
  465. }
  466. .field-type-text{ min-width:16em; }
  467. .field-name-field-titre{
  468. font-family: "epflul";
  469. font-size:1.4em;
  470. line-height:1.1;
  471. }
  472. .field-name-field-sous-titre{
  473. font-family: "epflul";
  474. font-size:1.2em;
  475. line-height:1.2;
  476. }
  477. .field-name-field-description{
  478. // font-family: "epf-lul";
  479. font-size:0.88em;
  480. line-height:1;
  481. }
  482. .line{
  483. z-index:-1;
  484. position:absolute;
  485. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  486. transform-origin:top left;
  487. width:2px; //background-color:red;
  488. opacity:0.4;
  489. }
  490. } // node-chapitre
  491. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  492. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  493. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  494. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  495. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  496. */
  497. #chapter-wrapper{
  498. position:absolute;
  499. top:0; left:0;
  500. width:100%; height:100%;
  501. z-index: -1;
  502. opacity:0;
  503. transition:2s ease-out;
  504. transition-property:opacity;
  505. &.visible{
  506. opacity:1;
  507. z-index: 500;
  508. }
  509. #home-btn{
  510. @include bg-svg-png('home-btn');
  511. position:absolute;
  512. z-index:100; top:20px; left:20px;
  513. width:25px; height:20px; cursor:pointer;
  514. }
  515. /*
  516. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  517. | | | | | | __ | __| | __ | | | | | | | \| __|
  518. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  519. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  520. */
  521. // SOL
  522. #node-2{
  523. @include bg-svg-png('bgd-sol');
  524. .field-type-text-long .field-label,
  525. h2.node-title,
  526. .field-name-field-dbatre li:before{
  527. color:$SOL-col-active;
  528. }
  529. h2.node-title{@include bg-svg-png('title-SOL-blur');}
  530. }
  531. // DPH
  532. #node-3{
  533. @include bg-svg-png('bgd-dph');
  534. .field-type-text-long .field-label,
  535. h2.node-title,
  536. .field-name-field-dbatre li:before{
  537. color:$DPH-col-active;
  538. }
  539. h2.node-title{@include bg-svg-png('title-DPH-blur');}
  540. }
  541. // SUB
  542. #node-4{
  543. @include bg-svg-png('bgd-sub');
  544. .field-type-text-long .field-label,
  545. h2.node-title,
  546. .field-name-field-dbatre li:before{
  547. color:$SUB-col-active;
  548. }
  549. h2.node-title{@include bg-svg-png('title-SUB-blur');}
  550. }
  551. // BC
  552. #node-5{
  553. @include bg-svg-png('bgd-bc');
  554. .field-type-text-long .field-label,
  555. h2.node-title,
  556. .field-name-field-dbatre li:before{
  557. color:$BC-col-active;
  558. }
  559. h2.node-title{@include bg-svg-png('title-BC-blur');}
  560. }
  561. // OPP
  562. #node-6{
  563. @include bg-svg-png('bgd-opp');
  564. .field-type-text-long .field-label,
  565. h2.node-title,
  566. .field-name-field-dbatre li:before{
  567. color:$OPP-col-active;
  568. }
  569. h2.node-title{@include bg-svg-png('title-OPP-blur');}
  570. }
  571. // DUB
  572. #node-7{
  573. @include bg-svg-png('bgd-bub');
  574. .field-type-text-long .field-label,
  575. h2.node-title,
  576. .field-name-field-dbatre li:before{
  577. color:$DUB-col-active;
  578. }
  579. h2.node-title{@include bg-svg-png('title-DUB-blur');}
  580. }
  581. // JUSO
  582. #node-8{
  583. @include bg-svg-png('bgd-juso');
  584. .field-type-text-long .field-label,
  585. h2.node-title,
  586. .field-name-field-dbatre li:before{
  587. color:$JUSO-col-active;
  588. }
  589. h2.node-title{@include bg-svg-png('title-JUSO-blur');}
  590. }
  591. /*
  592. _____ _____ _____ _____ _____ _____ _____ _____ _____
  593. | __| __| | | __| __ | | | | | __|
  594. | | | __| | | | __| -|- -| | | | | __|
  595. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  596. |__|
  597. */
  598. .node{
  599. position:relative;
  600. height:100%; width:100%;
  601. a{color:inherit;}
  602. }
  603. .node-title{
  604. font-family: "epflulb";
  605. font-weight:normal;
  606. text-transform: uppercase;
  607. text-align: center;
  608. // max-width: 8.5em;
  609. line-height: 0.85;
  610. font-size: 2.268em;
  611. position:absolute; display:block;
  612. top:0; left:0; width:100%; height:100%;
  613. background-size: contain!important;
  614. text-indent: -5000px;
  615. z-index:-1;
  616. opacity:0.4;
  617. }
  618. .node>.field, .node>.block{
  619. position:absolute;
  620. }
  621. .field-type-text-long, .field-type-text{
  622. background-color: rgba(255,255,255,0.9);
  623. min-height:5em; width:19em; padding:1em;
  624. z-index:10;
  625. cursor:move;
  626. .field-label{
  627. text-transform: uppercase;
  628. font-family: "epflulb";
  629. font-size:1.2em;
  630. }
  631. h2{
  632. font-size:0.80em;
  633. }
  634. p{
  635. font-size: 0.80em;
  636. margin-bottom:0.5em;
  637. }
  638. a{
  639. text-decoration: underline;
  640. }
  641. }
  642. .field-name-field-dbatre{
  643. left:60em;
  644. ul{
  645. margin-left:1em;
  646. li{
  647. list-style: none;
  648. line-height:1;
  649. margin-bottom: 1em;
  650. position:relative;
  651. font-size: 0.80em;
  652. &:before{
  653. content:"?";
  654. position:absolute;
  655. top:0; left:-1em;
  656. font-family: "epflul";
  657. }
  658. }
  659. }
  660. }
  661. .field-name-field-partie{
  662. height:60%; width:100%;
  663. top:20%; left:0;
  664. .field-items{
  665. position:relative;
  666. top:0; left:0;
  667. height:100%; width:auto;
  668. // overflow:hidden;
  669. .field{
  670. position:relative;
  671. display:inline-block;
  672. .mask{
  673. position:absolute;
  674. width:100%; height:85%;
  675. top:0; left:0;
  676. z-index:10;
  677. cursor:move;
  678. // background-color: rgba(150,250,250,0.2);
  679. }
  680. }
  681. }
  682. }
  683. } // #chapter-wrapper
  684. } // #main
  685. /* ______________ ________________ _ ______ ___ ____ ____ __________
  686. / ___/_ __/ |/_ __/ _/ ____/ | | / / __ \/ | / __ \/ __ \/ ____/ __ \
  687. \__ \ / / / /| | / / / // / | | /| / / /_/ / /| | / /_/ / /_/ / __/ / /_/ /
  688. ___/ // / / ___ |/ / _/ // /___ | |/ |/ / _, _/ ___ |/ ____/ ____/ /___/ _, _/
  689. /____//_/ /_/ |_/_/ /___/\____/ |__/|__/_/ |_/_/ |_/_/ /_/ /_____/_/ |_|
  690. */
  691. #static-wrapper{
  692. position:absolute;
  693. top:15%; bottom:0; right:20px;
  694. width:80%; max-width:55em;
  695. z-index: -1;
  696. background-color: #fff;
  697. opacity:0;
  698. transition:0.5s ease-out;
  699. transition-property:opacity;
  700. &.visible{
  701. opacity:0.9;
  702. transition:1.5s ease-out;
  703. z-index: 500;
  704. }
  705. >.close{
  706. position:absolute;
  707. top:20px; right:20px;
  708. z-index: 500;
  709. width:25px; height:25px;
  710. cursor:pointer;
  711. @include bg-svg-png('close');
  712. }
  713. >.inner{
  714. padding:5em 7em;
  715. width:100%; height:100%; overflow:hidden;
  716. >.node{
  717. width:100%; height:100%; overflow-y:auto; overflow-x:hidden;
  718. padding-right:1.5em;
  719. }
  720. }
  721. h2.node-title{
  722. font-family: "epflulb";
  723. text-transform: uppercase!important;
  724. font-size:3em;
  725. color:#000;
  726. }
  727. .content{
  728. h3{
  729. font-family: "epflulb";
  730. font-size:2em;
  731. text-transform: uppercase!important;
  732. color:$static-col;
  733. }
  734. h4{
  735. // font-family: "epflulb";
  736. font-size: 1em;
  737. // // color:$static-col;
  738. font-weight: 700;
  739. }
  740. p{
  741. font-family: "open_sans", sans-serif;
  742. font-weight:600;
  743. font-size:0.85em;
  744. line-height:1.5em;
  745. }
  746. }
  747. }
  748. /* __________ ____ ________________
  749. / ____/ __ \/ __ \/_ __/ ____/ __ \
  750. / /_ / / / / / / / / / / __/ / /_/ /
  751. / __/ / /_/ / /_/ / / / / /___/ _, _/
  752. /_/ \____/\____/ /_/ /_____/_/ |_|
  753. */
  754. #footer{
  755. position:fixed;
  756. bottom:0; right:20px;
  757. z-index:900;
  758. body.chapter-displayed &{
  759. display:none;
  760. }
  761. .block{
  762. display:inline-block;
  763. vertical-align: top;
  764. font-size:0.5em;
  765. p{font-size: inherit;}
  766. a{color:#000;}
  767. }
  768. .block-menu{
  769. display:block;
  770. font-size:inherit;
  771. ul{
  772. margin:0; padding:0;
  773. li{
  774. margin:0 1em 0 0; padding:0;
  775. display:inline-block;
  776. list-style: none;
  777. a{
  778. font-family: "epflulb";
  779. color:#000;
  780. text-transform: uppercase;
  781. font-size:0.6em;
  782. }
  783. }
  784. }
  785. }
  786. p{
  787. margin:0;
  788. }
  789. #block-block-1{display:none;}
  790. }
  791. /*
  792. __ ____________ ______
  793. / |/ / _/ ___// ____/
  794. / /|_/ // / \__ \/ /
  795. / / / // / ___/ / /___
  796. /_/ /_/___//____/\____/
  797. */
  798. #loader{
  799. position:absolute;
  800. top:50%; left:50%;
  801. width:120px; height:4px;
  802. margin-left:-60px; margin-top:-5px;
  803. background: transparent url(../assets/img/loader.gif) no-repeat center center;
  804. z-index:-1; opacity:0;
  805. transition:0.5s ease-out;
  806. transition-property:opacity;
  807. body.loading &{
  808. z-index: 1000;
  809. opacity:1;
  810. }
  811. }
  812. #fullscreen-btn{
  813. position:fixed;
  814. right:20px; top:20px;
  815. z-index: 1000;
  816. width:25px; height:20px;
  817. text-indent: 200px; overflow:hidden;
  818. cursor:pointer;
  819. @include bg-svg-png('fullscreen-on');
  820. .fullscreen &{
  821. @include bg-svg-png('fullscreen-off');
  822. }
  823. }
  824. @mixin bubble($w,$h,$bg){
  825. position:absolute;
  826. z-index:0;
  827. display:block;
  828. width:$w; height:$h;
  829. // border:1px solid blue;
  830. @include bg-svg-png($bg);
  831. }
  832. .bubble-1{
  833. @include bubble(425px, 425px, 'bubble-01');
  834. top:-200px; left:-200px;
  835. }
  836. .bubble-2{
  837. @include bubble(885px, 885px, 'bubble-02');
  838. bottom:-400px; right:-400px;
  839. }
  840. .star{
  841. position:absolute;
  842. z-index: 0; display:block;
  843. width:10px; height:10px;
  844. opacity:1;
  845. @include bg-svg-png('star');
  846. }
  847. /* ____ __________ __ ________
  848. / __ \/ ____/ __ )/ / / / ____/
  849. / / / / __/ / __ / / / / / __
  850. / /_/ / /___/ /_/ / /_/ / /_/ /
  851. /_____/_____/_____/\____/\____/
  852. */
  853. #fps{
  854. position:fixed;
  855. bottom:40px; left:20px;
  856. z-index: 1000;
  857. }
  858. #nav-cursor{
  859. position:absolute;
  860. width:6px; height:6px;
  861. margin-top: -3px; margin-left: -3px;
  862. background-color: red;
  863. z-index:1000;
  864. }