jee.scss 25 KB

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