jee.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  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{&,a{color:$SOL-color;}}
  173. .field-name-field-vignette{@include bg-svg-png('shadow-sol');}
  174. .line{background-color:$SOL-col-active;}
  175. }
  176. }
  177. //DPH
  178. #node-3{
  179. &.node-teaser{
  180. &::after{ @include bg-svg-png('bgd-dph');}
  181. &, a{color:$DPH-col-txt;}
  182. h2.node-title{&,a{color:$DPH-color;}}
  183. .field-name-field-vignette{@include bg-svg-png('shadow-dph');}
  184. .line{background-color:$DPH-col-active;}
  185. }
  186. }
  187. // SUB
  188. #node-4{
  189. &.node-teaser{
  190. &::after{ @include bg-svg-png('bgd-sub');}
  191. &, a{color:$SUB-col-txt;}
  192. h2.node-title{&,a{color:$SUB-color;}}
  193. .field-name-field-vignette{@include bg-svg-png('shadow-sub');}
  194. .line{background-color:$SUB-col-active;}
  195. }
  196. }
  197. // BC
  198. #node-5{
  199. &.node-teaser{
  200. &::after{ @include bg-svg-png('bgd-bc');}
  201. &, a{color:$BC-col-txt;}
  202. h2.node-title{&,a{color:$BC-color;}}
  203. .field-name-field-vignette{@include bg-svg-png('shadow-bc');}
  204. .line{background-color:$BC-col-active;}
  205. }
  206. }
  207. //OPP
  208. #node-6{
  209. &.node-teaser{
  210. &::after{ @include bg-svg-png('bgd-opp');}
  211. &, a{color:$OPP-col-txt;}
  212. h2.node-title{&,a{color:$OPP-color;}}
  213. .field-name-field-vignette{@include bg-svg-png('shadow-opp');}
  214. .line{background-color:$OPP-col-active;}
  215. }
  216. }
  217. //DUB
  218. #node-7{
  219. &.node-teaser{
  220. &::after{ @include bg-svg-png('bgd-dub');}
  221. &, a{color:$DUB-col-txt;}
  222. h2.node-title{&,a{color:$DUB-color;}}
  223. .field-name-field-vignette{@include bg-svg-png('shadow-dub');}
  224. .line{background-color:$DUB-col-active;}
  225. }
  226. }
  227. // JUSO
  228. #node-8{
  229. &.node-teaser{
  230. &::after{ @include bg-svg-png('bgd-juso');}
  231. &, a{color:$JUSO-col-txt;}
  232. h2.node-title{&,a{color:$JUSO-color;}}
  233. .field-name-field-vignette{@include bg-svg-png('shadow-juso');}
  234. .line{background-color:$JUSO-col-active;}
  235. }
  236. }
  237. /*
  238. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
  239. | | | | _ | _ |_ _| __| __ | __| | __| __| | | __| __ | | | | | __|
  240. | --| | | __| | | | __| -|__ | | | | __| | | | __| -|- -| | | | | __|
  241. |_____|__|__|__|__|__| |_| |_____|__|__|_____| |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  242. |__|
  243. */
  244. .node-chapitre.node-teaser{
  245. z-index: 2;
  246. position:absolute;
  247. /*
  248. _____ __________________ ___ _________________ __________________
  249. / _/ | / /_ __/ ____/ __ \/ | / ____/_ __/ _/ | / / _/_ __/ ____/
  250. / // |/ / / / / __/ / /_/ / /| |/ / / / / / | | / // / / / / __/
  251. _/ // /| / / / / /___/ _, _/ ___ / /___ / / _/ / | |/ // / / / / /___
  252. /___/_/ |_/ /_/ /_____/_/ |_/_/ |_\____/ /_/ /___/ |___/___/ /_/ /_____/
  253. */
  254. /*
  255. ____ _____ _____ _____ _____ __ _____ _____ _____ ____ _____
  256. | \| __| __| _ | | | ||_ _| | | | \| __|
  257. | | | __| __| | | | |__| | | | | | | | | | __|
  258. |____/|_____|__| |__|__|_____|_____|_| |_|_|_|_____|____/|_____|
  259. */
  260. opacity:1;
  261. transition:1s ease-out;
  262. transition-property:opacity;
  263. h2.node-title{
  264. transform:none;
  265. transform-origin:bottom center;
  266. transition:1s ease-out;
  267. transition-property:transform;
  268. z-index:5;
  269. }
  270. >.content{position:relative;}
  271. .texts{
  272. opacity:0; height:1px; overflow:hidden;
  273. transition:1s ease-out;
  274. transition-property:opacity height;
  275. position:absolute;
  276. }
  277. .field-name-field-partie{
  278. opacity:0;
  279. position:absolute;
  280. transition:1s ease-in-out 0.1s;
  281. transition-property: opacity transform;
  282. // just let see the field vignette of first partie
  283. &:nth-child(2){
  284. z-index:2;
  285. opacity:1;
  286. // transition-delay:0;
  287. >.field-type-text{
  288. opacity:0;
  289. transition:1s ease-out 0.9s;
  290. transition-property: opacity;
  291. }
  292. >.field-name-field-vignette{cursor:pointer;z-index:2;}
  293. }
  294. }
  295. &:after{
  296. opacity:0;
  297. transition: 2s ease-in;
  298. transition-property:opacity;
  299. top:1px; left:1px; bottom:2px; right:2px;
  300. }
  301. .line{
  302. // transition: 0.1s ease-out;
  303. // transition-property:height transform;
  304. }
  305. /*
  306. _____ _____ _____ _____ _____ _____ _ _ _ _____ _____ ____ _____
  307. | _ | __ | __| | | | __| | | | | | | \| __|
  308. | __| -| __| | |- -| __| | | | | | | | | | | | __|
  309. |__| |__|__|_____|\___/|_____|_____|_____| |_|_|_|_____|____/|_____|
  310. */
  311. &.previewed{
  312. z-index:100;
  313. &:after{
  314. opacity:1;
  315. $pad:-2em;
  316. top:-$pad;
  317. left:$pad*6; right:$pad*6;
  318. bottom:$pad*15;
  319. }
  320. h2.node-title{transform:scale(2,2);}
  321. .texts{opacity:1; height:8em;}
  322. .field-name-field-partie{
  323. opacity:1; z-index:0;
  324. // display all fields inside each parties
  325. >.field{opacity:1; z-index:-1; cursor:default;}
  326. }
  327. }
  328. /*
  329. _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ ____ _____
  330. | | |_ _| | __| _ |_ _| __| | | | \| __|
  331. | | | |- -| | | |- -| | | | | | | __| | | | | | | | | __|
  332. |_|_|_|_____| |_| |_____|_____|__|__| |_| |_____| |_|_|_|_____|____/|_____|
  333. */
  334. &.mitigated{
  335. opacity:0.3;
  336. }
  337. /*
  338. _____ _____ _____ _____ _____ _____ _____ ____ _____ _____ _____ __ _____ __ __ _____ ____
  339. | | | | _ | _ |_ _| __| __ | | \| | __| _ | | | _ | | | __| \
  340. | --| | | __| | | | __| -| | | |- -|__ | __| |__| |_ _| __| | |
  341. |_____|__|__|__|__|__| |_| |_____|__|__| |____/|_____|_____|__| |_____|__|__| |_| |_____|____/
  342. */
  343. .chapter-displayed & {
  344. opacity:0.1;
  345. }
  346. /*
  347. _____________ ____________ ___ __ _____ __ _ __ __ _ _
  348. / ____/ ____/ | / / ____/ __ \/ | / / / ___/ _/_/___ ____ ____ (_)___ / /____ _________ ______/ /_(_) _____ | |
  349. / / __/ __/ / |/ / __/ / /_/ / /| | / / \__ \ / // __ \/ __ \/ __ \ / / __ \/ __/ _ \/ ___/ __ `/ ___/ __/ / | / / _ \ / /
  350. / /_/ / /___/ /| / /___/ _, _/ ___ |/ /______/ / / // / / / /_/ / / / / / / / / / /_/ __/ / / /_/ / /__/ /_/ /| |/ / __// /
  351. \____/_____/_/ |_/_____/_/ |_/_/ |_/_____/____/ / //_/ /_/\____/_/ /_/ /_/_/ /_/\__/\___/_/ \__,_/\___/\__/_/ |___/\___//_/
  352. |_| /_/
  353. */
  354. &:after{ // background
  355. content:" ";
  356. background-size:contain!important;
  357. position:absolute;
  358. z-index:-1;
  359. }
  360. h2.node-title{
  361. font-family: "epflulb";
  362. font-weight:normal;
  363. text-transform: uppercase;
  364. text-align: center;
  365. max-width: 8.5em;
  366. line-height: 0.85;
  367. @media #{$large-up} {
  368. font-size: 1.3em;
  369. }
  370. @media #{$xlarge-up} {
  371. font-size:1.8em;
  372. }
  373. z-index: 5;
  374. }
  375. .texts{
  376. // position:relative;
  377. }
  378. .field-name-field-comprendre{
  379. h1,h2,h3,h4,h5,h6{display:none!important;}
  380. // max-width:15em;
  381. p{margin:0;}
  382. min-width:16em;
  383. }
  384. ul.links{
  385. display:block; margin:0; text-align:right; z-index:5; position:relative; width:100%;
  386. li.node-readmore{
  387. padding:0;
  388. a{
  389. display:inline-block;
  390. height:25px;
  391. font-family: "open_sans";
  392. font-weight: 900;
  393. color:#000!important;
  394. width:8em; text-align: left;
  395. // background: transparent url(../assets/img/readmore-btn.svg) no-repeat right center;
  396. @include bg-svg-png('readmore-btn', no-repeat, right, center);
  397. }
  398. }
  399. }
  400. .field-name-field-partie{clear:both; padding-top:1em;}
  401. $shadow-size:3.5em;
  402. .field-name-field-vignette{
  403. position:relative;
  404. float:left;
  405. $shadow-size:3.5em;
  406. padding:$shadow-size;
  407. margin-top:-$shadow-size*1.15;
  408. margin-right:-$shadow-size+1.5em;
  409. margin-bottom:0;
  410. margin-left:0;
  411. background-size: contain;
  412. // background-repeat: no-repeat;
  413. // background-origin: center center;
  414. }
  415. .field-type-text{ min-width:16em; }
  416. .field-name-field-titre{
  417. font-family: "epflul";
  418. font-size:1.6em;
  419. line-height:1.1;
  420. }
  421. .field-name-field-sous-titre{
  422. font-family: "epflul";
  423. font-size:1.4em;
  424. line-height:1.2;
  425. }
  426. .field-name-field-description{
  427. // font-family: "epf-lul";
  428. font-size:0.88em;
  429. line-height:1.2;
  430. }
  431. .line{
  432. z-index:-1;
  433. position:absolute;
  434. top:$shadow-size - 0.5em; left:$shadow-size+2.5em;
  435. transform-origin:top left;
  436. width:2px; //background-color:red;
  437. opacity:0.4;
  438. }
  439. } // node-chapitre
  440. /* ____ ____ _______ ____________ ________ _____ ____ ________________ _____
  441. / __ \/ __ \/ ____/ | / / ____/ __ \ / ____/ / / / | / __ \/_ __/ ____/ __ \/ ___/
  442. / / / / /_/ / __/ / |/ / __/ / / / / / / / /_/ / /| | / /_/ / / / / __/ / /_/ /\__ \
  443. / /_/ / ____/ /___/ /| / /___/ /_/ / / /___/ __ / ___ |/ ____/ / / / /___/ _, _/___/ /
  444. \____/_/ /_____/_/ |_/_____/_____/ \____/_/ /_/_/ |_/_/ /_/ /_____/_/ |_|/____/
  445. */
  446. #chapter-wrapper{
  447. position:absolute;
  448. top:0; left:0;
  449. width:100%; height:100%;
  450. z-index: -1;
  451. opacity:0;
  452. transition:2s ease-out;
  453. transition-property:opacity;
  454. &.visible{
  455. opacity:1;
  456. z-index: 500;
  457. /*
  458. _____ _____ __ _____ _____ _____ _____ __ __ _____ _____ ____ _____
  459. | | | | | | __ | __| | __ | | | | | | | \| __|
  460. | --| | | |__| | | -|__ | | __ -|_ _| | | | | | | | | __|
  461. |_____|_____|_____|_____|__|__|_____| |_____| |_| |_|___|_____|____/|_____|
  462. */
  463. #node-2{
  464. .field-type-text-long .field-label,
  465. h2.node-title,
  466. .field-name-field-dbatre li:before{
  467. color:$SOL-col-active;
  468. }
  469. }
  470. #node-3{
  471. .field-type-text-long .field-label,
  472. h2.node-title,
  473. .field-name-field-dbatre li:before{
  474. color:$DPH-col-active;
  475. }
  476. }
  477. #node-4{
  478. .field-type-text-long .field-label,
  479. h2.node-title,
  480. .field-name-field-dbatre li:before{
  481. color:$SUB-col-active;
  482. }
  483. }
  484. #node-5{
  485. .field-type-text-long .field-label,
  486. h2.node-title,
  487. .field-name-field-dbatre li:before{
  488. color:$BC-col-active;
  489. }
  490. }
  491. #node-6{
  492. .field-type-text-long .field-label,
  493. h2.node-title,
  494. .field-name-field-dbatre li:before{
  495. color:$OPP-col-active;
  496. }
  497. }
  498. #node-7{
  499. .field-type-text-long .field-label,
  500. h2.node-title,
  501. .field-name-field-dbatre li:before{
  502. color:$DUB-col-active;
  503. }
  504. }
  505. #node-8{
  506. .field-type-text-long .field-label,
  507. h2.node-title,
  508. .field-name-field-dbatre li:before{
  509. color:$JUSO-col-active;
  510. }
  511. }
  512. /*
  513. _____ _____ _____ _____ _____ _____ _____ _____ _____
  514. | __| __| | | __| __ | | | | | __|
  515. | | | __| | | | __| -|- -| | | | | __|
  516. |_____|_____|_|___|_____|__|__|_____|__ _|_____|_____|
  517. |__|
  518. */
  519. }
  520. .node{
  521. position:relative;
  522. height:100%; width:100%;
  523. a{color:inherit;}
  524. }
  525. .node-title{
  526. font-family: "epflulb";
  527. font-weight:normal;
  528. text-transform: uppercase;
  529. text-align: center;
  530. max-width: 8.5em;
  531. line-height: 0.85;
  532. font-size: 2.268em;
  533. }
  534. .node>.field{
  535. position:absolute;
  536. }
  537. .field-type-text-long{
  538. background-color: rgba(255,255,255,0.9);
  539. width:23em; padding:1em;
  540. z-index:10;
  541. .field-label{
  542. text-transform: uppercase;
  543. font-family: "epflulb";
  544. font-size:1.5em;
  545. }
  546. h2{
  547. font-size:0.88em;
  548. }
  549. p{
  550. font-size: 0.88em;
  551. margin-bottom:0.5em;
  552. }
  553. }
  554. .field-name-field-dbatre{
  555. left:60em;
  556. ul{
  557. margin-left:1em;
  558. li{
  559. list-style: none;
  560. line-height:1;
  561. margin-bottom: 1em;
  562. position:relative;
  563. &:before{
  564. content:"?";
  565. position:absolute;
  566. top:0; left:-1em;
  567. font-family: "epflul";
  568. }
  569. }
  570. }
  571. }
  572. .field-name-field-partie{
  573. height:60%; width:100%;
  574. top:20%; left:0;
  575. .field-items{
  576. position:relative;
  577. top:0; left:0;
  578. height:100%; width:auto;
  579. // overflow:hidden;
  580. .field{
  581. position:relative;
  582. display:inline-block;
  583. .mask{
  584. position:absolute;
  585. width:100%; height:100%;
  586. top:0; left:0;
  587. z-index:10;
  588. }
  589. }
  590. }
  591. }
  592. } // #chapter-wrapper
  593. } // #main
  594. /* __________ ____ ________________
  595. / ____/ __ \/ __ \/_ __/ ____/ __ \
  596. / /_ / / / / / / / / / / __/ / /_/ /
  597. / __/ / /_/ / /_/ / / / / /___/ _, _/
  598. /_/ \____/\____/ /_/ /_____/_/ |_|
  599. */
  600. #footer{
  601. position:fixed;
  602. bottom:0; right:0;
  603. .block{
  604. display:inline-block;
  605. vertical-align: top;
  606. }
  607. }
  608. /*
  609. __ ____________ ______
  610. / |/ / _/ ___// ____/
  611. / /|_/ // / \__ \/ /
  612. / / / // / ___/ / /___
  613. /_/ /_/___//____/\____/
  614. */
  615. #fullscreen-btn{
  616. position:fixed;
  617. top:20px; left:20px;
  618. z-index: 1000;
  619. }
  620. @mixin bubble($w,$h,$bg){
  621. position:absolute;
  622. z-index:0;
  623. display:block;
  624. width:$w; height:$h;
  625. // border:1px solid blue;
  626. @include bg-svg-png($bg);
  627. }
  628. .bubble-1{
  629. @include bubble(425px, 425px, 'bubble-01');
  630. top:-200px; left:-200px;
  631. }
  632. .bubble-2{
  633. @include bubble(885px, 885px, 'bubble-02');
  634. bottom:-400px; right:-400px;
  635. }
  636. .star{
  637. position:absolute;
  638. z-index: 0; display:block;
  639. width:10px; height:10px;
  640. opacity:1;
  641. @include bg-svg-png('star');
  642. }
  643. /* ____ __________ __ ________
  644. / __ \/ ____/ __ )/ / / / ____/
  645. / / / / __/ / __ / / / / / __
  646. / /_/ / /___/ /_/ / /_/ / /_/ /
  647. /_____/_____/_____/\____/\____/
  648. */
  649. #fps{
  650. position:fixed;
  651. top:20px; right:20px;
  652. z-index: 1000;
  653. }
  654. #nav-cursor{
  655. position:absolute;
  656. width:6px; height:6px;
  657. margin-top: -3px; margin-left: -3px;
  658. background-color: red;
  659. z-index:1000;
  660. }