2
0

home.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. @import "colors";
  2. @import "breakpoints";
  3. @import "specific/form";
  4. main#homepage {
  5. width: calc(100% - 24px);
  6. margin-left: 12px;
  7. margin-right: 12px;
  8. overflow: hidden;
  9. .stations {
  10. display: flex;
  11. flex-wrap: wrap;
  12. justify-content: center;
  13. margin: -12px -12px 12px -12px;
  14. .station-card {
  15. width: 296px;
  16. background-color: $musare_color_white;
  17. position: relative;
  18. margin: 12px;
  19. .station-media {
  20. width: 296px;
  21. height: 296px;
  22. display: block;
  23. > * {
  24. width: 296px;
  25. height: 296px;
  26. display: block;
  27. }
  28. }
  29. .station-media-icon {
  30. background-color: $musare_color_primary_blue;
  31. color: #EFEFEF; //TODO Change this color and figure out proper sizes
  32. .create-station-header {
  33. height: 50px;
  34. width: 100%;
  35. background-color: hsla(0,0,100%,.25); //TODO Change this color and figure out proper sizes
  36. h3 {
  37. font-size: 22px;
  38. line-height: 50px;
  39. color: $musare_color_white;
  40. text-align: center;
  41. }
  42. }
  43. > i {
  44. margin-top: -25px;
  45. font-size: 296px;
  46. cursor: pointer;
  47. user-select: none;
  48. }
  49. }
  50. .station-body {
  51. padding: 20px;
  52. display: block;
  53. color: $musare_color_primary_gray;
  54. h3 {
  55. font-size: 23px;
  56. line-height: 31px;
  57. margin-bottom: 6px;
  58. }
  59. p {
  60. font-size: 15px;
  61. line-height: 20px;
  62. font-weight: 300;
  63. height: 60px;
  64. display: block;
  65. }
  66. label:first-child {
  67. margin-bottom: 6px;
  68. input {
  69. border: 0;
  70. padding: 0;
  71. font-size: 23px;
  72. line-height: 31px;
  73. height: 31px;
  74. color: $musare_color_primary_gray;
  75. @include forPlaceholder() {
  76. opacity: .75;
  77. }
  78. }
  79. }
  80. label:last-child {
  81. margin-bottom: 0;
  82. textarea {
  83. border: 0;
  84. padding: 0;
  85. font-size: 15px;
  86. line-height: 20px;
  87. height: 60px;
  88. font-weight: 300;
  89. color: $musare_color_primary_gray;
  90. @include forPlaceholder() {
  91. opacity: .75;
  92. }
  93. }
  94. }
  95. }
  96. .station-footer {
  97. padding: 0 20px 20px 20px;
  98. display: flex;
  99. align-items: flex-end;
  100. justify-content: space-between;
  101. .user-count {
  102. height: 27px;
  103. display: flex;
  104. align-items: flex-end;
  105. i {
  106. margin-right: 6px;
  107. }
  108. span {
  109. font-size: 20px;
  110. line-height: 27px;
  111. }
  112. }
  113. .nameContainer {
  114. display: flex;
  115. padding-top: 6px;
  116. span {
  117. font-size: 16px;
  118. line-height: 21px;
  119. height: 21px;
  120. }
  121. label {
  122. margin-bottom: 0;
  123. input {
  124. border: 0;
  125. padding: 0;
  126. font-size: 16px;
  127. line-height: 21px;
  128. font-weight: 300;
  129. color: $musare_color_primary_gray;
  130. @include forPlaceholder() {
  131. opacity: .75;
  132. }
  133. }
  134. }
  135. }
  136. i {
  137. margin-left: 10px;
  138. cursor: pointer;
  139. user-select: none;
  140. &.active {
  141. color: $musare_color_primary_blue;
  142. }
  143. }
  144. }
  145. > a {
  146. position: absolute;
  147. top: 0;
  148. left: 0;
  149. right: 0;
  150. bottom: 0;
  151. border: 1px solid hsla(204, 3, 60, .5); //TODO Change this later and/or add to colors
  152. box-shadow: 0 2px 3px hsla(0,0,0,.1); //TODO Change this later and/or add to colors
  153. transition: .2s ease;
  154. &:hover, &:focus {
  155. border-color: $musare_color_primary_blue;
  156. box-shadow: 0 2px 3px hsla(0,0,0,.3); //TODO Change this later and/or add to colors
  157. outline: 0;
  158. }
  159. }
  160. }
  161. }
  162. h2 {
  163. font-size: 20px;
  164. line-height: 27px;
  165. margin-bottom: 12px;
  166. text-align: center;
  167. }
  168. }