jee.scss 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  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. @import "misc.scss";
  22. /*
  23. __ ________ __ _____ _______
  24. / |/ / _/ |/ // _/ | / / ___/
  25. / /|_/ // / | / / // |/ /\__ \
  26. / / / // / / |_/ // /| /___/ /
  27. /_/ /_/___//_/|_/___/_/ |_//____/
  28. */
  29. @mixin bg-svg-png($img, $r:no-repeat, $x:center, $y:center) {
  30. background: transparent url('../assets/img/#{$img}.png') $r $x $y;
  31. background: none, url('../assets/img/#{$img}.svg') $r $x $y;
  32. }
  33. /*
  34. ___ ____ ____
  35. / | / __ \/ __ \
  36. / /| | / /_/ / /_/ /
  37. / ___ |/ ____/ ____/
  38. /_/ |_/_/ /_/
  39. */
  40. html{
  41. position:relative;
  42. // overflow:hidden;
  43. // height:100%;
  44. }
  45. body{
  46. position:relative;
  47. user-select:none;
  48. height:100%!important;
  49. // min-height:1000px;
  50. width:100%;;
  51. overflow:hidden;
  52. }
  53. #root{
  54. position:relative;
  55. width:100%;
  56. height:100%;
  57. overflow: hidden;
  58. // width:1125px;
  59. // height:900px;
  60. // margin:-450px auto 0;
  61. // top:50%;
  62. /* IE10 Consumer Preview */
  63. background-image: -ms-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  64. /* Mozilla Firefox */
  65. background-image: -moz-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  66. /* Opera */
  67. background-image: -o-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  68. /* Webkit (Safari/Chrome 10) */
  69. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFDE9), color-stop(1, #BECFD9));
  70. /* Webkit (Chrome 11+) */
  71. background-image: -webkit-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  72. /* W3C Markup, IE10 Release Preview */
  73. background-image: linear-gradient(to bottom, #FFFDE9 0%, #BECFD9 100%);
  74. }
  75. @keyframes introLogo{
  76. 0% {opacity:0;}
  77. 35% {opacity:1;}
  78. 50% {opacity:1;}
  79. 75% {opacity:0;}
  80. 100% {opacity:0;}
  81. }
  82. @keyframes introLogoBlured{
  83. 0% {opacity:0;}
  84. 50% {opacity:0;}
  85. 60% {opacity:0.8;}
  86. 100% {opacity:0.8;}
  87. }
  88. @keyframes introSlogan{
  89. 0% {opacity:0;}
  90. 50% {opacity:0;}
  91. 70% {opacity:1;}
  92. 90% {opacity:1;}
  93. 100% {opacity:0;}
  94. }
  95. $animeLogoDuration:8s;
  96. #header{
  97. z-index:1;
  98. position:absolute;
  99. overflow:hidden;
  100. width:700px;
  101. height:310px;
  102. top:50%; left:50%;
  103. margin-left:-350px;
  104. margin-top:-155px;
  105. // transition-property: "transform";
  106. // transition-duration: 0.2s;
  107. // transition-timing-function:ease-out;
  108. animation-fill-mode: forwards;
  109. h1{
  110. position:absolute;
  111. width:100%; height:100%;
  112. a{display:block;margin-top:-500%;}
  113. // filter:url(#blur-effect);
  114. &:after, &:before{
  115. content:"";
  116. display:block;
  117. width:100%; height:100%;
  118. position:absolute;
  119. top:0; left:0;
  120. opacity:0;
  121. }
  122. &:before{
  123. @include bg-svg-png('logo');
  124. animation: introLogo $animeLogoDuration linear 0s;
  125. animation-fill-mode: forwards;
  126. }
  127. &:after{
  128. // background: transparent url('../assets/img/logo-blured.svg') no-repeat center center;
  129. @include bg-svg-png('logo-blured');
  130. animation: introLogoBlured $animeLogoDuration linear 0s;
  131. animation-fill-mode: forwards;
  132. }
  133. }
  134. h2{
  135. // background: transparent url('../assets/img/slogan.svg') no-repeat center center;
  136. @include bg-svg-png('slogan');
  137. position:absolute;
  138. width:100%; height:100%;
  139. a{display:block;margin-top:-500%;}
  140. opacity:0;
  141. animation: introSlogan $animeLogoDuration linear 0s;
  142. animation-fill-mode: forwards;
  143. }
  144. } // #header
  145. div.messages{
  146. position:absolute;
  147. top:20px; right:20px;
  148. width:500px; max-height:60%;
  149. overflow-y:auto;
  150. z-index: 1000;
  151. }
  152. #main{
  153. position:absolute;
  154. width:100%; height:100%;
  155. overflow:hidden;
  156. &>.region, &>.region>.block-system, &>.region>.block-system>.content{
  157. position:relative;
  158. width:100%; height:100%;
  159. overflow:hidden;
  160. }
  161. /*
  162. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  163. | | | | | | __ | __| | __ | | | | | | | \| __|
  164. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  165. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  166. */
  167. //SOL
  168. #node-2{
  169. &.node-teaser{
  170. &::after{ @include bg-svg-png('bgd-sol');}
  171. &, a{color:$SOL-col-txt;}
  172. h2.node-title{
  173. &,a{color:$SOL-color;}
  174. a{@include bg-svg-png('title-SOL'); width:170px; height:35px;}
  175. }
  176. .field-name-field-vignette{@include bg-svg-png('shadow-sol');}
  177. .line{background-color:$SOL-col-active;}
  178. }
  179. }
  180. //DPH
  181. #node-3{
  182. &.node-teaser{
  183. &::after{ @include bg-svg-png('bgd-dph');}
  184. &, a{color:$DPH-col-txt;}
  185. h2.node-title{
  186. &,a{color:$DPH-color;}
  187. a{@include bg-svg-png('title-DPH'); width:180px; height:80px;}
  188. }
  189. .field-name-field-vignette{@include bg-svg-png('shadow-dph');}
  190. .line{background-color:$DPH-col-active;}
  191. }
  192. }
  193. // SUB
  194. #node-4{
  195. &.node-teaser{
  196. &::after{ @include bg-svg-png('bgd-sub');}
  197. &, a{color:$SUB-col-txt;}
  198. h2.node-title{
  199. &,a{color:$SUB-color;}
  200. a{@include bg-svg-png('title-SUB'); width:200px; height:35px;}
  201. }
  202. .field-name-field-vignette{@include bg-svg-png('shadow-sub');}
  203. .line{background-color:$SUB-col-active;}
  204. }
  205. }
  206. // BC
  207. #node-5{
  208. &.node-teaser{
  209. &::after{ @include bg-svg-png('bgd-bc');}
  210. &, a{color:$BC-col-txt;}
  211. h2.node-title{
  212. &,a{color:$BC-color;}
  213. a{@include bg-svg-png('title-BC'); width:120px; height:45px;}
  214. }
  215. .field-name-field-vignette{@include bg-svg-png('shadow-bc');}
  216. .line{background-color:$BC-col-active;}
  217. }
  218. }
  219. //OPP
  220. #node-6{
  221. &.node-teaser{
  222. &::after{ @include bg-svg-png('bgd-opp');}
  223. &, a{color:$OPP-col-txt;}
  224. h2.node-title{
  225. &,a{color:$OPP-color;}
  226. a{@include bg-svg-png('title-OPP'); width:245px; height:95px;}
  227. }
  228. .field-name-field-vignette{@include bg-svg-png('shadow-opp');}
  229. .line{background-color:$OPP-col-active;}
  230. }
  231. }
  232. //DUB
  233. #node-7{
  234. &.node-teaser{
  235. &::after{ @include bg-svg-png('bgd-dub');}
  236. &, a{color:$DUB-col-txt;}
  237. h2.node-title{
  238. &,a{color:$DUB-color;}
  239. a{@include bg-svg-png('title-DUB'); width:195px; height:65px;}
  240. }
  241. .field-name-field-vignette{@include bg-svg-png('shadow-dub');}
  242. .line{background-color:$DUB-col-active;}
  243. }
  244. }
  245. // JUSO
  246. #node-8{
  247. &.node-teaser{
  248. &::after{ @include bg-svg-png('bgd-juso');}
  249. &, a{color:$JUSO-col-txt;}
  250. h2.node-title{
  251. &,a{color:$JUSO-color;}
  252. a{@include bg-svg-png('title-JUSO'); width:200px; height:65px; }
  253. }
  254. .field-name-field-vignette{@include bg-svg-png('shadow-juso');}
  255. .line{background-color:$JUSO-col-active;}
  256. }
  257. }
  258. /*
  259. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  260. | | | | _ | _ |_ _| __| __ | __| | __| __| | | __| __ | | | | | __|
  261. | --| | | __| | | | __| -|__ | | | | __| | | | __| -|- -| | | | | __|
  262. |_____|__|__|__|__|__| |_| |_____|__|__|_____| |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  263. |__|
  264. */
  265. .node-chapitre.node-teaser{
  266. z-index: 2;
  267. position:absolute;
  268. /*
  269. _____ __________________ ___ _________________ __________________
  270. / _/ | / /_ __/ ____/ __ \/ | / ____/_ __/ _/ | / / _/_ __/ ____/
  271. / // |/ / / / / __/ / /_/ / /| |/ / / / / / | | / // / / / / __/
  272. _/ // /| / / / / /___/ _, _/ ___ / /___ / / _/ / | |/ // / / / / /___
  273. /___/_/ |_/ /_/ /_____/_/ |_/_/ |_\____/ /_/ /___/ |___/___/ /_/ /_____/
  274. */
  275. /*
  276. ____ _____ _____ _____ _____ __ _____ _____ _____ ____ _____
  277. | \| __| __| _ | | | ||_ _| | | | \| __|
  278. | | | __| __| | | | |__| | | | | | | | | | __|
  279. |____/|_____|__| |__|__|_____|_____|_| |_|_|_|_____|____/|_____|
  280. */
  281. opacity:1;
  282. transition:1s ease-out;
  283. transition-property:opacity;
  284. h2.node-title a{
  285. transform:none;
  286. transform-origin:bottom center;
  287. transition:1s ease-out;
  288. transition-property:transform;
  289. z-index:5;
  290. }
  291. >.content{position:relative;}
  292. .texts{
  293. opacity:0; height:1px; overflow:hidden;
  294. transition:1s ease-out;
  295. transition-property:opacity height;
  296. position:absolute;
  297. }
  298. .field-name-field-partie{
  299. opacity:0;
  300. position:absolute;
  301. transition:1s ease-in-out 0.1s;
  302. transition-property: opacity transform;
  303. // just let see the field vignette of first partie
  304. &:nth-child(2){
  305. z-index:2;
  306. opacity:1;
  307. // transition-delay:0;
  308. >.field-type-text{
  309. opacity:0;
  310. transition:1s ease-out 0.9s;
  311. transition-property: opacity;
  312. }
  313. >.field-name-field-vignette{
  314. cursor:pointer;z-index:2;
  315. transform:scale(0.5);
  316. transition:1s ease-out; transition-property:transform;
  317. }
  318. }
  319. }
  320. &:after{
  321. opacity:0;
  322. transition: 2s ease-in;
  323. transition-property:opacity;
  324. top:1px; left:1px; bottom:2px; right:2px;
  325. }
  326. .line{
  327. // transition: 0.1s ease-out;
  328. // transition-property:height transform;
  329. }
  330. /*
  331. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  332. | _ | __ | __| | | | __| | | | | | | \| __|
  333. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  334. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  335. */
  336. &.previewed{
  337. z-index:100;
  338. &:after{
  339. opacity:1;
  340. $pad:-2em;
  341. top:-$pad;
  342. left:$pad*6; right:$pad*6;
  343. bottom:$pad*15;
  344. }
  345. h2.node-title a{transform:scale(2,2);}
  346. .texts{opacity:1; height:8em;}
  347. .field-name-field-partie{
  348. opacity:1; z-index:0;
  349. // display all fields inside each parties
  350. >.field{opacity:1; z-index:-1; cursor:default;}
  351. &:nth-child(2){
  352. >.field-name-field-vignette{
  353. transform:scale(1.3);
  354. // transition:1s ease-out 0.5s; transition-property:transform;
  355. }
  356. }
  357. }
  358. }
  359. /*
  360. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  361. | | |_ _| | __| _ |_ _| __| | | | \| __|
  362. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  363. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  364. */
  365. &.mitigated{
  366. opacity:0.3;
  367. }
  368. /*
  369. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  370. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  371. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  372. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  373. */
  374. .chapter-displayed & {
  375. opacity:0.1;
  376. }
  377. /*
  378. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  379. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  380. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  381. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  382. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  383. |_| /_/
  384. */
  385. &:after{ // background
  386. content:" ";
  387. background-size:contain!important;
  388. position:absolute;
  389. z-index:-1;
  390. }
  391. h2.node-title{
  392. font-family: "epflulb";
  393. font-weight:normal;
  394. text-transform: uppercase;
  395. text-align: center;
  396. max-width: 8.5em;
  397. line-height: 0.85;
  398. @media #{$large-up} {
  399. font-size: 1.3em;
  400. }
  401. @media #{$xlarge-up} {
  402. font-size:1.8em;
  403. }
  404. z-index: 5;
  405. a{
  406. display:block;
  407. text-indent: -1000px;
  408. overflow:hidden;
  409. }
  410. }
  411. .texts{
  412. // position:relative;
  413. }
  414. .field-name-field-comprendre{
  415. h1,h2,h3,h4,h5,h6{display:none!important;}
  416. // max-width:15em;
  417. p{margin:0;}
  418. min-width:16em;
  419. }
  420. ul.links{
  421. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  422. li.node-readmore{
  423. padding:0;
  424. a{
  425. display:inline-block;
  426. height:25px;
  427. font-family: "open_sans";
  428. font-weight: 900;
  429. color:#000!important;
  430. width:8em; text-align: left;
  431. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  432. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  433. }
  434. }
  435. }
  436. .field-name-field-partie{clear:both; padding-top:1em;}
  437. $shadow-size:3.5em;
  438. .field-name-field-vignette{
  439. position:relative;
  440. float:left;
  441. padding:$shadow-size;
  442. margin-top:-$shadow-size*1.15;
  443. margin-right:-$shadow-size+1.5em;
  444. margin-bottom:0;
  445. margin-left:0;
  446. background-size: contain;
  447. // background-repeat: no-repeat;
  448. // background-origin: center center;
  449. }
  450. .field-type-text{ min-width:16em; }
  451. .field-name-field-titre{
  452. font-family: "epflul";
  453. font-size:1.6em;
  454. line-height:1.1;
  455. }
  456. .field-name-field-sous-titre{
  457. font-family: "epflul";
  458. font-size:1.4em;
  459. line-height:1.2;
  460. }
  461. .field-name-field-description{
  462. // font-family: "epf-lul";
  463. font-size:0.88em;
  464. line-height:1.2;
  465. }
  466. .line{
  467. z-index:-1;
  468. position:absolute;
  469. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  470. transform-origin:top left;
  471. width:2px; //background-color:red;
  472. opacity:0.4;
  473. }
  474. } // node-chapitre
  475. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  476. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  477. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  478. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  479. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  480. */
  481. #chapter-wrapper{
  482. position:absolute;
  483. top:0; left:0;
  484. width:100%; height:100%;
  485. z-index: -1;
  486. opacity:0;
  487. transition:2s ease-out;
  488. transition-property:opacity;
  489. &.visible{
  490. opacity:1;
  491. z-index: 500;
  492. }
  493. #home-btn{
  494. @include bg-svg-png('home-btn');
  495. position:absolute;
  496. z-index:100; top:20px; left:20px;
  497. width:25px; height:20px; cursor:pointer;
  498. }
  499. /*
  500. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  501. | | | | | | __ | __| | __ | | | | | | | \| __|
  502. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  503. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  504. */
  505. // SOL
  506. #node-2{
  507. @include bg-svg-png('bgd-sol');
  508. .field-type-text-long .field-label,
  509. h2.node-title,
  510. .field-name-field-dbatre li:before{
  511. color:$SOL-col-active;
  512. }
  513. h2.node-title{@include bg-svg-png('title-SOL-blur');}
  514. }
  515. // DPH
  516. #node-3{
  517. @include bg-svg-png('bgd-dph');
  518. .field-type-text-long .field-label,
  519. h2.node-title,
  520. .field-name-field-dbatre li:before{
  521. color:$DPH-col-active;
  522. }
  523. h2.node-title{@include bg-svg-png('title-DPH-blur');}
  524. }
  525. // SUB
  526. #node-4{
  527. @include bg-svg-png('bgd-sub');
  528. .field-type-text-long .field-label,
  529. h2.node-title,
  530. .field-name-field-dbatre li:before{
  531. color:$SUB-col-active;
  532. }
  533. h2.node-title{@include bg-svg-png('title-SUB-blur');}
  534. }
  535. // BC
  536. #node-5{
  537. @include bg-svg-png('bgd-bc');
  538. .field-type-text-long .field-label,
  539. h2.node-title,
  540. .field-name-field-dbatre li:before{
  541. color:$BC-col-active;
  542. }
  543. h2.node-title{@include bg-svg-png('title-BC-blur');}
  544. }
  545. // OPP
  546. #node-6{
  547. @include bg-svg-png('bgd-opp');
  548. .field-type-text-long .field-label,
  549. h2.node-title,
  550. .field-name-field-dbatre li:before{
  551. color:$OPP-col-active;
  552. }
  553. h2.node-title{@include bg-svg-png('title-OPP-blur');}
  554. }
  555. // DUB
  556. #node-7{
  557. @include bg-svg-png('bgd-bub');
  558. .field-type-text-long .field-label,
  559. h2.node-title,
  560. .field-name-field-dbatre li:before{
  561. color:$DUB-col-active;
  562. }
  563. h2.node-title{@include bg-svg-png('title-DUB-blur');}
  564. }
  565. // JUSO
  566. #node-8{
  567. @include bg-svg-png('bgd-juso');
  568. .field-type-text-long .field-label,
  569. h2.node-title,
  570. .field-name-field-dbatre li:before{
  571. color:$JUSO-col-active;
  572. }
  573. h2.node-title{@include bg-svg-png('title-JUSO-blur');}
  574. }
  575. /*
  576. _____ _____ _____ _____ _____ _____ _____ _____ _____
  577. | __| __| | | __| __ | | | | | __|
  578. | | | __| | | | __| -|- -| | | | | __|
  579. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  580. |__|
  581. */
  582. .node{
  583. position:relative;
  584. height:100%; width:100%;
  585. a{color:inherit;}
  586. }
  587. .node-title{
  588. font-family: "epflulb";
  589. font-weight:normal;
  590. text-transform: uppercase;
  591. text-align: center;
  592. // max-width: 8.5em;
  593. line-height: 0.85;
  594. font-size: 2.268em;
  595. position:absolute; display:block;
  596. top:0; left:0; width:100%; height:100%;
  597. background-size: contain!important;
  598. text-indent: -5000px;
  599. z-index:-1;
  600. opacity:0.4;
  601. }
  602. .node>.field{
  603. position:absolute;
  604. }
  605. .field-type-text-long{
  606. background-color: rgba(255,255,255,0.9);
  607. width:23em; padding:1em;
  608. z-index:10;
  609. cursor:move;
  610. .field-label{
  611. text-transform: uppercase;
  612. font-family: "epflulb";
  613. font-size:1.5em;
  614. }
  615. h2{
  616. font-size:0.88em;
  617. }
  618. p{
  619. font-size: 0.88em;
  620. margin-bottom:0.5em;
  621. }
  622. }
  623. .field-name-field-dbatre{
  624. left:60em;
  625. ul{
  626. margin-left:1em;
  627. li{
  628. list-style: none;
  629. line-height:1;
  630. margin-bottom: 1em;
  631. position:relative;
  632. &:before{
  633. content:"?";
  634. position:absolute;
  635. top:0; left:-1em;
  636. font-family: "epflul";
  637. }
  638. }
  639. }
  640. }
  641. .field-name-field-partie{
  642. height:60%; width:100%;
  643. top:20%; left:0;
  644. .field-items{
  645. position:relative;
  646. top:0; left:0;
  647. height:100%; width:auto;
  648. // overflow:hidden;
  649. .field{
  650. position:relative;
  651. display:inline-block;
  652. .mask{
  653. position:absolute;
  654. width:100%; height:100%;
  655. top:0; left:0;
  656. z-index:10;
  657. cursor:move;
  658. }
  659. }
  660. }
  661. }
  662. } // #chapter-wrapper
  663. } // #main
  664. /* __________ ____ ________________
  665. / ____/ __ \/ __ \/_ __/ ____/ __ \
  666. / /_ / / / / / / / / / / __/ / /_/ /
  667. / __/ / /_/ / /_/ / / / / /___/ _, _/
  668. /_/ \____/\____/ /_/ /_____/_/ |_|
  669. */
  670. #footer{
  671. position:fixed;
  672. bottom:0; right:0;
  673. .block{
  674. display:inline-block;
  675. vertical-align: top;
  676. }
  677. }
  678. /*
  679. __ ____________ ______
  680. / |/ / _/ ___// ____/
  681. / /|_/ // / \__ \/ /
  682. / / / // / ___/ / /___
  683. /_/ /_/___//____/\____/
  684. */
  685. #fullscreen-btn{
  686. position:fixed;
  687. bottom:20px; left:20px;
  688. z-index: 1000;
  689. }
  690. @mixin bubble($w,$h,$bg){
  691. position:absolute;
  692. z-index:0;
  693. display:block;
  694. width:$w; height:$h;
  695. // border:1px solid blue;
  696. @include bg-svg-png($bg);
  697. }
  698. .bubble-1{
  699. @include bubble(425px, 425px, 'bubble-01');
  700. top:-200px; left:-200px;
  701. }
  702. .bubble-2{
  703. @include bubble(885px, 885px, 'bubble-02');
  704. bottom:-400px; right:-400px;
  705. }
  706. .star{
  707. position:absolute;
  708. z-index: 0; display:block;
  709. width:10px; height:10px;
  710. opacity:1;
  711. @include bg-svg-png('star');
  712. }
  713. /* ____ __________ __ ________
  714. / __ \/ ____/ __ )/ / / / ____/
  715. / / / / __/ / __ / / / / / __
  716. / /_/ / /___/ /_/ / /_/ / /_/ /
  717. /_____/_____/_____/\____/\____/
  718. */
  719. #fps{
  720. position:fixed;
  721. top:20px; right:20px;
  722. z-index: 1000;
  723. }
  724. #nav-cursor{
  725. position:absolute;
  726. width:6px; height:6px;
  727. margin-top: -3px; margin-left: -3px;
  728. background-color: red;
  729. z-index:1000;
  730. }