_layout.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. header {
  2. margin: 0 auto;
  3. max-width: 800px;
  4. width: 100%;
  5. height: 50px;
  6. }
  7. #container-wrapper {
  8. max-width: 960px;
  9. width: 100%;
  10. height: auto;
  11. padding: 1em 2em;
  12. margin: 0 auto;
  13. clear: both;
  14. }
  15. #container {
  16. width: 100%;
  17. min-height: 600px;
  18. margin: 0px 0px 20px 0px;
  19. float: left;
  20. }
  21. input, button {
  22. font-family: 'Open Sans';
  23. }
  24. .button {
  25. width: 15%;
  26. height: 50px;
  27. display: block;
  28. font-size: 1.125rem;
  29. border-radius: 2px;
  30. border: 0;
  31. border-bottom: 2px solid darken($blue, 5%);
  32. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  33. background: $blue;
  34. color: white;
  35. cursor: pointer;
  36. float: right;
  37. box-shadow: inset 0 -2px darken($blue, 5%);
  38. position: relative;
  39. &:hover {
  40. background: lighten($blue, 5%);
  41. border-bottom: 2px solid darken($blue, 2%);
  42. box-shadow: inset 0 -2px darken($blue, 2%);
  43. transition: all 0.2s ease-in-out;
  44. }
  45. &:active {
  46. top: 1px;
  47. }
  48. }
  49. a.button {
  50. width: 120px;
  51. line-height: 46px;
  52. text-align: center;
  53. text-decoration: none;
  54. &:hover {
  55. color: white;
  56. }
  57. }
  58. .button--red {
  59. background: $red;
  60. border-color: darken($red, 5%);
  61. box-shadow: inset 0 -2px darken($red, 5%);
  62. margin-right: 10px;
  63. &:hover {
  64. background: lighten($red, 5%);
  65. border-bottom: 2px solid darken($red, 2%);
  66. box-shadow: inset 0 -2px darken($red, 2%);
  67. transition: all 0.2s ease-in-out;
  68. }
  69. }
  70. footer {
  71. font-size: 1rem;
  72. width: 100%;
  73. line-height: 2em;
  74. text-align: center;
  75. border-bottom: 4px solid darken($grey, 10%);
  76. box-shadow: inset 0 -4px darken($grey, 10%);
  77. a {
  78. color: darken($grey, 45%);
  79. &:hover {
  80. color: darken($grey, 40%);
  81. }
  82. }
  83. }
  84. #footer {
  85. margin: 0 auto;
  86. max-width: 960px;
  87. padding: 3em 2em 1em 2em;
  88. }
  89. .modal-mask {
  90. display: none;
  91. cursor: pointer;
  92. position: fixed;
  93. top: 0;
  94. height: 100%;
  95. width: 100%;
  96. background: #444;
  97. background: rgba(0, 0, 0, .7);
  98. z-index: 10;
  99. > p {
  100. color: #eee;
  101. margin: 2em;
  102. strong {
  103. color: #fff;
  104. }
  105. }
  106. }
  107. .modal {
  108. width: 420px;
  109. height: 180px;
  110. position: fixed;
  111. background: #fff;
  112. top: 50%;
  113. left: 50%;
  114. margin-left: -210px;
  115. margin-top: -90px;
  116. border: 8px solid lighten($dark-purple, 10%);
  117. box-shadow: 0 10px 30px #333;
  118. cursor: auto;
  119. z-index: 15;
  120. p {
  121. text-align: center;
  122. padding: 1.5em;
  123. }
  124. .button {
  125. position: absolute;
  126. bottom: 1em;
  127. &:active {
  128. top: auto;
  129. bottom: calc(1em + 1px);
  130. }
  131. }
  132. }
  133. #offer-accept {
  134. right: 4em;
  135. }
  136. #offer-decline {
  137. left: 4em;
  138. }