jee.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. // @import "../bower_components/animate.scss/scss/animate.scss";
  17. /*
  18. * ESADHaR
  19. */
  20. @import "communs.scss";
  21. @import "fonts.scss";
  22. html{
  23. position:relative;
  24. }
  25. body{
  26. position:relative;
  27. height:100%!important;
  28. /* IE10 Consumer Preview */
  29. background-image: -ms-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  30. /* Mozilla Firefox */
  31. background-image: -moz-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  32. /* Opera */
  33. background-image: -o-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  34. /* Webkit (Safari/Chrome 10) */
  35. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFDE9), color-stop(1, #BECFD9));
  36. /* Webkit (Chrome 11+) */
  37. background-image: -webkit-linear-gradient(top, #FFFDE9 0%, #BECFD9 100%);
  38. /* W3C Markup, IE10 Release Preview */
  39. background-image: linear-gradient(to bottom, #FFFDE9 0%, #BECFD9 100%);
  40. }
  41. #root{
  42. position:relative;
  43. width:100%;
  44. height:100%;
  45. overflow: hidden;
  46. // width:1125px;
  47. // height:900px;
  48. // margin:-450px auto 0;
  49. // top:50%;
  50. }
  51. @keyframes introLogo{
  52. 0% {opacity:0;}
  53. 35% {opacity:1;}
  54. 50% {opacity:1;}
  55. 75% {opacity:0;}
  56. 100% {opacity:0;}
  57. }
  58. @keyframes introLogoBlured{
  59. 0% {opacity:0;}
  60. 50% {opacity:0;}
  61. 60% {opacity:0.8;}
  62. 100% {opacity:0.8;}
  63. }
  64. @keyframes introSlogan{
  65. 0% {opacity:0;}
  66. 50% {opacity:0;}
  67. 70% {opacity:1;}
  68. 90% {opacity:1;}
  69. 100% {opacity:0;}
  70. }
  71. $animeLogoDuration:12s;
  72. #header{
  73. position:absolute;
  74. overflow:hidden;
  75. width:700px;
  76. height:310px;
  77. top:50%; left:50%;
  78. margin-left:-350px;
  79. margin-top:-155px;
  80. h1{
  81. position:absolute;
  82. width:100%; height:100%;
  83. a{display:block;margin-top:-500%;}
  84. // filter:url(#blur-effect);
  85. &:after, &:before{
  86. content:"";
  87. display:block;
  88. width:100%; height:100%;
  89. position:absolute;
  90. top:0; left:0;
  91. opacity:0;
  92. }
  93. &:before{
  94. background: transparent url('../assets/img/logo.svg') no-repeat center center;
  95. animation: introLogo $animeLogoDuration linear 0s;
  96. animation-fill-mode: forwards;
  97. }
  98. &:after{
  99. background: transparent url('../assets/img/logo-blured.svg') no-repeat center center;
  100. animation: introLogoBlured $animeLogoDuration linear 0s;
  101. animation-fill-mode: forwards;
  102. }
  103. }
  104. h2{
  105. background: transparent url('../assets/img/slogan.svg') no-repeat center center;
  106. position:absolute;
  107. width:100%; height:100%;
  108. a{display:block;margin-top:-500%;}
  109. opacity:0;
  110. animation: introSlogan $animeLogoDuration linear 0s;
  111. animation-fill-mode: forwards;
  112. }
  113. }
  114. #footer{
  115. position:fixed;
  116. bottom:0;
  117. .block{
  118. display:inline-block;
  119. vertical-align: top;
  120. }
  121. }