all.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. html, body{
  2. overflow: hidden;
  3. }
  4. .card{
  5. width: calc((100% / 3) - (10px));
  6. margin-bottom: 7px;
  7. .card-header{
  8. width: 100%;
  9. display: -webkit-inline-box;
  10. display: -ms-inline-flexbox;
  11. display: inline-flex;
  12. -webkit-box-align: baseline;
  13. -ms-flex-align: baseline;
  14. align-items: baseline;
  15. & > div {
  16. margin-right: 5px;
  17. }
  18. }
  19. }
  20. .contact{
  21. z-index: 999;
  22. position: fixed;
  23. right: 0;
  24. top: 0;
  25. width: 90px;
  26. height: 90px;
  27. -webkit-transition: width 0.5s ease, margin 0.5s;
  28. transition: width 0.5s ease, margin 0.5s;
  29. & > svg{
  30. -webkit-animation: rotation 12s infinite linear;
  31. animation: rotation 12s infinite linear;
  32. }
  33. h3{
  34. cursor: pointer;
  35. z-index: 999;
  36. position: fixed;
  37. top: 34px;
  38. right: 37px;
  39. color: white;
  40. -webkit-transform: rotate(45deg);
  41. transform: rotate(45deg);
  42. transition: transform 0.5s ease;
  43. }
  44. .txt{
  45. text-align: right;
  46. position: fixed;
  47. right: -200%;
  48. left: 200%;
  49. -webkit-transition: color 0.5s ease, right 0s;
  50. color: transparent;
  51. transition: color 0.5s ease, right 0s;
  52. p{
  53. margin-top: 1rem;
  54. font-size: 1.5rem;
  55. line-height: 2rem;
  56. a{
  57. display: inline-block;
  58. width: 20px;
  59. height: 20px;
  60. }
  61. em{
  62. font-size: 1rem;
  63. }
  64. &:nth-last-of-type(2){
  65. font-size: 1.2rem;
  66. line-height: 1.6rem;
  67. }
  68. }
  69. }
  70. &.open{
  71. width: 2000px;
  72. height: auto;
  73. margin: -550px;
  74. -webkit-transition: width 0.5s ease, margin 0.5s;
  75. transition: width 0.5s ease, margin 0.5s;
  76. .txt{
  77. color: white;
  78. -webkit-transition: color 0.5s ease, right 0s;
  79. transition: color 0.5s ease, right 0s;
  80. text-align: right;
  81. position: fixed;
  82. top: 50px;
  83. left: auto;
  84. right: 70px;
  85. width: 650px;
  86. .reso{
  87. & > div{
  88. opacity: 1;
  89. -webkit-transition: opacity 0.5s 0.5s ease;
  90. transition: opacity 0.5s 0.5s ease;
  91. }
  92. }
  93. }
  94. h3{
  95. color: transparent;
  96. -webkit-transform: rotate(0deg);
  97. transform: rotate(0deg);
  98. transition: transform 0.5s ease;
  99. }
  100. }
  101. &.close{
  102. width: 90px;
  103. height: 90px;
  104. .txt{
  105. color: transparent;
  106. text-align: right;
  107. position: fixed;
  108. right: -200%;
  109. -webkit-transition: color 0.5s ease, right 0s;
  110. transition: color 0.5s ease, right 0s;
  111. }
  112. h3{
  113. -webkit-transform: rotate(45deg);
  114. transform: rotate(45deg);
  115. transition: transform 0.5s ease;
  116. }
  117. }
  118. }