jee.scss 24 KB

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