_layout.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. background: $grey;
  76. border-bottom: 4px solid darken($grey, 10%);
  77. box-shadow: inset 0 -4px darken($grey, 10%);
  78. a {
  79. color: darken($grey, 45%);
  80. &:hover {
  81. color: darken($grey, 40%);
  82. }
  83. }
  84. }
  85. #footer {
  86. margin: 0 auto;
  87. max-width: 960px;
  88. padding: 3em 2em 1em 2em;
  89. }
  90. .modal-mask {
  91. display: none;
  92. cursor: pointer;
  93. position: fixed;
  94. top: 0;
  95. height: 100%;
  96. width: 100%;
  97. background: #444;
  98. background: rgba(0, 0, 0, .7);
  99. z-index: 10;
  100. > p {
  101. color: #eee;
  102. margin: 2em;
  103. strong {
  104. color: #fff;
  105. }
  106. }
  107. }
  108. .modal {
  109. width: 420px;
  110. height: 180px;
  111. position: fixed;
  112. background: #fff;
  113. top: 50%;
  114. left: 50%;
  115. margin-left: -210px;
  116. margin-top: -90px;
  117. border: 8px solid lighten($dark-purple, 10%);
  118. box-shadow: 0 10px 30px #333;
  119. cursor: auto;
  120. z-index: 15;
  121. p {
  122. text-align: center;
  123. padding: 1.5em;
  124. }
  125. .button {
  126. position: absolute;
  127. bottom: 1em;
  128. &:active {
  129. top: auto;
  130. bottom: calc(1em + 1px);
  131. }
  132. }
  133. }
  134. #offer-accept {
  135. right: 4em;
  136. }
  137. #offer-decline {
  138. left: 4em;
  139. }