jee.scss 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831
  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. @keyframes introNodes{
  96. 0% {opacity:0;}
  97. 100% {opacity:1;}
  98. }
  99. $animeLogoDuration:6s;
  100. $animeNodesDuration:3s;
  101. #header{
  102. z-index:1;
  103. position:absolute;
  104. overflow:hidden;
  105. width:700px;
  106. height:310px;
  107. top:50%; left:50%;
  108. margin-left:-350px;
  109. margin-top:-155px;
  110. // transition-property: "transform";
  111. // transition-duration: 0.2s;
  112. // transition-timing-function:ease-out;
  113. animation-fill-mode: forwards;
  114. h1{
  115. position:absolute;
  116. width:100%; height:100%;
  117. a{display:block;margin-top:-500%;}
  118. // filter:url(#blur-effect);
  119. &:after, &:before{
  120. content:"";
  121. display:block;
  122. width:100%; height:100%;
  123. position:absolute;
  124. top:0; left:0;
  125. opacity:0;
  126. }
  127. &:before{
  128. @include bg-svg-png('logo');
  129. animation: introLogo $animeLogoDuration linear 0s;
  130. animation-fill-mode: forwards;
  131. }
  132. &:after{
  133. // background: transparent url('../assets/img/logo-blured.svg') no-repeat center center;
  134. @include bg-svg-png('logo-blured');
  135. animation: introLogoBlured $animeLogoDuration linear 0s;
  136. animation-fill-mode: forwards;
  137. }
  138. }
  139. h2{
  140. // background: transparent url('../assets/img/slogan.svg') no-repeat center center;
  141. @include bg-svg-png('slogan');
  142. position:absolute;
  143. width:100%; height:100%;
  144. a{display:block;margin-top:-500%;}
  145. opacity:0;
  146. animation: introSlogan $animeLogoDuration linear 0s;
  147. animation-fill-mode: forwards;
  148. }
  149. } // #header
  150. div.messages{
  151. position:absolute;
  152. top:20px; right:20px;
  153. width:500px; max-height:60%;
  154. overflow-y:auto;
  155. z-index: 1000;
  156. }
  157. #main{
  158. position:absolute;
  159. width:100%; height:100%;
  160. overflow:hidden;
  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:1s 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.1s ease-out;
  336. // transition-property:height transform;
  337. }
  338. /*
  339. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  340. | _ | __ | __| | | | __| | | | | | | \| __|
  341. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  342. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  343. */
  344. &.previewed{
  345. z-index:100;
  346. &:after{
  347. opacity:1;
  348. $pad:-2em;
  349. top:-$pad;
  350. left:$pad*6; right:$pad*6;
  351. bottom:$pad*15;
  352. }
  353. h2.node-title a{transform:scale(2,2);}
  354. .texts{opacity:1; height:8em;}
  355. .field-name-field-partie{
  356. opacity:1; z-index:0;
  357. // display all fields inside each parties
  358. >.field{opacity:1; z-index:-1; cursor:default;}
  359. &:nth-child(2){
  360. >.field-name-field-vignette{
  361. transform:scale(1.3);
  362. // transition:1s ease-out 0.5s; transition-property:transform;
  363. }
  364. }
  365. }
  366. }
  367. /*
  368. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  369. | | |_ _| | __| _ |_ _| __| | | | \| __|
  370. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  371. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  372. */
  373. &.mitigated{
  374. opacity:0.2;
  375. }
  376. /*
  377. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  378. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  379. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  380. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  381. */
  382. .chapter-displayed & {
  383. opacity:0.05;
  384. }
  385. /*
  386. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  387. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  388. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  389. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  390. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  391. |_| /_/
  392. */
  393. &:after{ // background
  394. content:" ";
  395. background-size:contain!important;
  396. position:absolute;
  397. z-index:-1;
  398. }
  399. h2.node-title{
  400. font-family: "epflulb";
  401. font-weight:normal;
  402. text-transform: uppercase;
  403. text-align: center;
  404. max-width: 8.5em;
  405. line-height: 0.85;
  406. @media #{$large-up} {
  407. font-size: 1.3em;
  408. }
  409. @media #{$xlarge-up} {
  410. font-size:1.8em;
  411. }
  412. z-index: 5;
  413. a{
  414. display:block;
  415. text-indent: -1000px;
  416. overflow:hidden;
  417. }
  418. }
  419. .texts{
  420. // position:relative;
  421. }
  422. .field-name-field-comprendre{
  423. h1,h2,h3,h4,h5,h6{display:none!important;}
  424. // max-width:15em;
  425. p{margin:0;}
  426. min-width:16em;
  427. }
  428. ul.links{
  429. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  430. li.node-readmore{
  431. padding:0;
  432. a{
  433. display:inline-block;
  434. height:25px;
  435. font-family: "open_sans";
  436. font-weight: 900;
  437. color:#000!important;
  438. width:10em; text-align: left;
  439. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  440. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  441. }
  442. }
  443. }
  444. .field-name-field-partie{clear:both; padding-top:1em;}
  445. $shadow-size:3.5em;
  446. .field-name-field-vignette{
  447. position:relative;
  448. float:left;
  449. padding:$shadow-size;
  450. margin-top:-$shadow-size*1.15;
  451. margin-right:-$shadow-size+1.5em;
  452. margin-bottom:0;
  453. margin-left:0;
  454. background-size: contain;
  455. // background-repeat: no-repeat;
  456. // background-origin: center center;
  457. }
  458. .field-type-text{ min-width:16em; }
  459. .field-name-field-titre{
  460. font-family: "epflul";
  461. font-size:1.6em;
  462. line-height:1.1;
  463. }
  464. .field-name-field-sous-titre{
  465. font-family: "epflul";
  466. font-size:1.4em;
  467. line-height:1.2;
  468. }
  469. .field-name-field-description{
  470. // font-family: "epf-lul";
  471. font-size:0.88em;
  472. line-height:1.2;
  473. }
  474. .line{
  475. z-index:-1;
  476. position:absolute;
  477. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  478. transform-origin:top left;
  479. width:2px; //background-color:red;
  480. opacity:0.4;
  481. }
  482. } // node-chapitre
  483. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  484. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  485. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  486. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  487. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  488. */
  489. #chapter-wrapper{
  490. position:absolute;
  491. top:0; left:0;
  492. width:100%; height:100%;
  493. z-index: -1;
  494. opacity:0;
  495. transition:2s ease-out;
  496. transition-property:opacity;
  497. &.visible{
  498. opacity:1;
  499. z-index: 500;
  500. }
  501. #home-btn{
  502. @include bg-svg-png('home-btn');
  503. position:absolute;
  504. z-index:100; top:20px; left:20px;
  505. width:25px; height:20px; cursor:pointer;
  506. }
  507. /*
  508. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  509. | | | | | | __ | __| | __ | | | | | | | \| __|
  510. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  511. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  512. */
  513. // SOL
  514. #node-2{
  515. @include bg-svg-png('bgd-sol');
  516. .field-type-text-long .field-label,
  517. h2.node-title,
  518. .field-name-field-dbatre li:before{
  519. color:$SOL-col-active;
  520. }
  521. h2.node-title{@include bg-svg-png('title-SOL-blur');}
  522. }
  523. // DPH
  524. #node-3{
  525. @include bg-svg-png('bgd-dph');
  526. .field-type-text-long .field-label,
  527. h2.node-title,
  528. .field-name-field-dbatre li:before{
  529. color:$DPH-col-active;
  530. }
  531. h2.node-title{@include bg-svg-png('title-DPH-blur');}
  532. }
  533. // SUB
  534. #node-4{
  535. @include bg-svg-png('bgd-sub');
  536. .field-type-text-long .field-label,
  537. h2.node-title,
  538. .field-name-field-dbatre li:before{
  539. color:$SUB-col-active;
  540. }
  541. h2.node-title{@include bg-svg-png('title-SUB-blur');}
  542. }
  543. // BC
  544. #node-5{
  545. @include bg-svg-png('bgd-bc');
  546. .field-type-text-long .field-label,
  547. h2.node-title,
  548. .field-name-field-dbatre li:before{
  549. color:$BC-col-active;
  550. }
  551. h2.node-title{@include bg-svg-png('title-BC-blur');}
  552. }
  553. // OPP
  554. #node-6{
  555. @include bg-svg-png('bgd-opp');
  556. .field-type-text-long .field-label,
  557. h2.node-title,
  558. .field-name-field-dbatre li:before{
  559. color:$OPP-col-active;
  560. }
  561. h2.node-title{@include bg-svg-png('title-OPP-blur');}
  562. }
  563. // DUB
  564. #node-7{
  565. @include bg-svg-png('bgd-bub');
  566. .field-type-text-long .field-label,
  567. h2.node-title,
  568. .field-name-field-dbatre li:before{
  569. color:$DUB-col-active;
  570. }
  571. h2.node-title{@include bg-svg-png('title-DUB-blur');}
  572. }
  573. // JUSO
  574. #node-8{
  575. @include bg-svg-png('bgd-juso');
  576. .field-type-text-long .field-label,
  577. h2.node-title,
  578. .field-name-field-dbatre li:before{
  579. color:$JUSO-col-active;
  580. }
  581. h2.node-title{@include bg-svg-png('title-JUSO-blur');}
  582. }
  583. /*
  584. _____ _____ _____ _____ _____ _____ _____ _____ _____
  585. | __| __| | | __| __ | | | | | __|
  586. | | | __| | | | __| -|- -| | | | | __|
  587. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  588. |__|
  589. */
  590. .node{
  591. position:relative;
  592. height:100%; width:100%;
  593. a{color:inherit;}
  594. }
  595. .node-title{
  596. font-family: "epflulb";
  597. font-weight:normal;
  598. text-transform: uppercase;
  599. text-align: center;
  600. // max-width: 8.5em;
  601. line-height: 0.85;
  602. font-size: 2.268em;
  603. position:absolute; display:block;
  604. top:0; left:0; width:100%; height:100%;
  605. background-size: contain!important;
  606. text-indent: -5000px;
  607. z-index:-1;
  608. opacity:0.4;
  609. }
  610. .node>.field{
  611. position:absolute;
  612. }
  613. .field-type-text-long{
  614. background-color: rgba(255,255,255,0.9);
  615. width:23em; padding:1em;
  616. z-index:10;
  617. cursor:move;
  618. .field-label{
  619. text-transform: uppercase;
  620. font-family: "epflulb";
  621. font-size:1.5em;
  622. }
  623. h2{
  624. font-size:0.88em;
  625. }
  626. p{
  627. font-size: 0.88em;
  628. margin-bottom:0.5em;
  629. }
  630. }
  631. .field-name-field-dbatre{
  632. left:60em;
  633. ul{
  634. margin-left:1em;
  635. li{
  636. list-style: none;
  637. line-height:1;
  638. margin-bottom: 1em;
  639. position:relative;
  640. &:before{
  641. content:"?";
  642. position:absolute;
  643. top:0; left:-1em;
  644. font-family: "epflul";
  645. }
  646. }
  647. }
  648. }
  649. .field-name-field-partie{
  650. height:60%; width:100%;
  651. top:20%; left:0;
  652. .field-items{
  653. position:relative;
  654. top:0; left:0;
  655. height:100%; width:auto;
  656. // overflow:hidden;
  657. .field{
  658. position:relative;
  659. display:inline-block;
  660. .mask{
  661. position:absolute;
  662. width:100%; height:100%;
  663. top:0; left:0;
  664. z-index:10;
  665. cursor:move;
  666. }
  667. }
  668. }
  669. }
  670. } // #chapter-wrapper
  671. } // #main
  672. /* __________ ____ ________________
  673. / ____/ __ \/ __ \/_ __/ ____/ __ \
  674. / /_ / / / / / / / / / / __/ / /_/ /
  675. / __/ / /_/ / /_/ / / / / /___/ _, _/
  676. /_/ \____/\____/ /_/ /_____/_/ |_|
  677. */
  678. #footer{
  679. position:fixed;
  680. bottom:0; right:20px;
  681. .block{
  682. display:inline-block;
  683. vertical-align: top;
  684. font-size:0.693em;
  685. p{font-size: inherit;}
  686. a{color:#000;}
  687. }
  688. .block-menu{
  689. display:block;
  690. font-size:inherit;
  691. ul{
  692. margin:0 0 0.5em; padding:0;
  693. li{
  694. margin:0 1em 0 0; padding:0;
  695. display:inline-block;
  696. list-style: none;
  697. a{
  698. font-family: "epflulb";
  699. color:#000;
  700. text-transform: uppercase;
  701. }
  702. }
  703. }
  704. }
  705. }
  706. /*
  707. __ ____________ ______
  708. / |/ / _/ ___// ____/
  709. / /|_/ // / \__ \/ /
  710. / / / // / ___/ / /___
  711. /_/ /_/___//____/\____/
  712. */
  713. #fullscreen-btn{
  714. position:fixed;
  715. right:20px; top:20px;
  716. z-index: 1000;
  717. width:25px; height:20px;
  718. text-indent: 200px; overflow:hidden;
  719. cursor:pointer;
  720. @include bg-svg-png('fullscreen-on');
  721. .fullscreen &{
  722. @include bg-svg-png('fullscreen-off');
  723. }
  724. }
  725. @mixin bubble($w,$h,$bg){
  726. position:absolute;
  727. z-index:0;
  728. display:block;
  729. width:$w; height:$h;
  730. // border:1px solid blue;
  731. @include bg-svg-png($bg);
  732. }
  733. .bubble-1{
  734. @include bubble(425px, 425px, 'bubble-01');
  735. top:-200px; left:-200px;
  736. }
  737. .bubble-2{
  738. @include bubble(885px, 885px, 'bubble-02');
  739. bottom:-400px; right:-400px;
  740. }
  741. .star{
  742. position:absolute;
  743. z-index: 0; display:block;
  744. width:10px; height:10px;
  745. opacity:1;
  746. @include bg-svg-png('star');
  747. }
  748. /* ____ __________ __ ________
  749. / __ \/ ____/ __ )/ / / / ____/
  750. / / / / __/ / __ / / / / / __
  751. / /_/ / /___/ /_/ / /_/ / /_/ /
  752. /_____/_____/_____/\____/\____/
  753. */
  754. #fps{
  755. position:fixed;
  756. bottom:40px; left:20px;
  757. z-index: 1000;
  758. }
  759. #nav-cursor{
  760. position:absolute;
  761. width:6px; height:6px;
  762. margin-top: -3px; margin-left: -3px;
  763. background-color: red;
  764. z-index:1000;
  765. }