You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

237 lines
3.5 KiB

  1. // Fonts
  2. @import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
  3. // Variables
  4. @import "variables";
  5. // Bootstrap
  6. @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
  7. // Featherlight
  8. @import "node_modules/featherlight/src/featherlight";
  9. .team {
  10. display: flex;
  11. align-items: center;
  12. .team-icon {
  13. display: inline-block;
  14. width: 40px;
  15. height: 40px;
  16. border-radius: 20px;
  17. margin-right: 10px;
  18. }
  19. .team-icon.outlined {
  20. border-width: 4px;
  21. border-style: solid;
  22. margin-right: 0;
  23. }
  24. .team-icon.empty {
  25. background-color: transparent !important;
  26. }
  27. .team-name {
  28. font-weight: bold;
  29. }
  30. }
  31. .profile {
  32. img {
  33. width: 40px;
  34. height: 40px;
  35. border-radius: 20px;
  36. border-width: 5px;
  37. border-style: solid;
  38. }
  39. span {
  40. }
  41. }
  42. .player-list {
  43. ul {
  44. list-style-type: none;
  45. margin: 0;
  46. padding: 0;
  47. margin-bottom: 1em;
  48. }
  49. li {
  50. margin: 0;
  51. padding: 4px 0;
  52. }
  53. }
  54. .tweet-queue {
  55. .tweet {
  56. border-bottom: 1px #ccc solid;
  57. cursor:pointer;
  58. margin-top: 10px;
  59. .mission {
  60. font-weight: bold;
  61. margin-top: 3px;
  62. text-align: right;
  63. float: right;
  64. }
  65. .text {
  66. margin-top: 6px;
  67. margin-bottom: 3px;
  68. font-size: 11px;
  69. line-height: 12px;
  70. max-height: 36px;
  71. overflow: hidden;
  72. white-space: pre-wrap;
  73. }
  74. }
  75. .tweet:first-child {
  76. margin-top: 0;
  77. }
  78. .tweet:hover {
  79. background: #e4f1f7;
  80. }
  81. }
  82. .panel-body.tweet-queue {
  83. padding: 8px;
  84. }
  85. .scorecard {
  86. .panel-heading {
  87. display: flex;
  88. align-items: center;
  89. .team {
  90. flex: 1 0;
  91. }
  92. button {
  93. margin-left: 10px;
  94. }
  95. }
  96. .tweet {
  97. .text {
  98. white-space: pre-wrap;
  99. font-size: 1.2em;
  100. margin: 8px 0;
  101. }
  102. img {
  103. max-width: 100%;
  104. }
  105. }
  106. h2 {
  107. margin: 0;
  108. }
  109. .instructions {
  110. ul {
  111. padding: 0;
  112. padding-left: 10px;
  113. }
  114. }
  115. .tweet-reply {
  116. margin-top: 8px;
  117. border: 1px $laravel-border-color solid;
  118. border-radius: 6px;
  119. padding: 8px;
  120. background-color: $body-bg;
  121. button {
  122. float: right;
  123. }
  124. .clear {
  125. clear: both;
  126. }
  127. }
  128. .tweet-actions {
  129. margin-top: 12px;
  130. display: flex;
  131. button {
  132. flex: 1;
  133. }
  134. button:first-child {
  135. margin-right: 2px;
  136. }
  137. button:last-child {
  138. margin-left: 2px;
  139. }
  140. }
  141. }
  142. .multi-photo {
  143. overflow: hidden;
  144. border-radius: 6px;
  145. .photo {
  146. position: relative;
  147. overflow: hidden;
  148. float: left;
  149. cursor: pointer;
  150. /* This positions and sizes the image (background-image) within the grid container */
  151. background-size: cover;
  152. background-position: 50% 50%;
  153. /* for multi-photo posts with 4 or more photos, use this */
  154. width: 50%;
  155. height: 240px;
  156. img {
  157. /* hide the img tag because the image is shown by the background image */
  158. display: none;
  159. }
  160. }
  161. }
  162. .multi-photo-clear {
  163. clear: both;
  164. }
  165. .multi-photo.photos-1 .photo {
  166. width: 100%;
  167. height: 400px;
  168. }
  169. /* 2-up multi-photos use this layout */
  170. .multi-photo.photos-2 .photo {
  171. width: 50%;
  172. height: 300px;
  173. }
  174. /* 3-up multi-photos use this layout */
  175. .multi-photo.photos-3 .photo:nth-child(1) {
  176. width: 65%;
  177. height: 400px;
  178. }
  179. .multi-photo.photos-3 .photo:nth-child(2),
  180. .multi-photo.photos-3 .photo:nth-child(3) {
  181. width: 35%;
  182. height: 200px;
  183. }
  184. .scoreboard {
  185. td.score, th.score {
  186. text-align: center;
  187. }
  188. td.total.score {
  189. font-size: 20px;
  190. }
  191. td .team-wrap {
  192. display: inline-block;
  193. }
  194. }