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.

246 lines
3.6 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. .bottom {
  122. display: flex;
  123. align-items: center;
  124. .fill {
  125. flex: 1;
  126. }
  127. img {
  128. margin-right: 4px;
  129. }
  130. .remaining-chars {
  131. margin-right: 10px;
  132. }
  133. }
  134. }
  135. .tweet-actions {
  136. margin-top: 12px;
  137. display: flex;
  138. button {
  139. flex: 1;
  140. }
  141. button:first-child {
  142. margin-right: 2px;
  143. }
  144. button:last-child {
  145. margin-left: 2px;
  146. }
  147. }
  148. }
  149. .multi-photo {
  150. overflow: hidden;
  151. border-radius: 6px;
  152. .photo {
  153. position: relative;
  154. overflow: hidden;
  155. float: left;
  156. cursor: pointer;
  157. /* This positions and sizes the image (background-image) within the grid container */
  158. background-size: cover;
  159. background-position: 50% 50%;
  160. /* for multi-photo posts with 4 or more photos, use this */
  161. width: 50%;
  162. height: 240px;
  163. img {
  164. /* hide the img tag because the image is shown by the background image */
  165. display: none;
  166. }
  167. }
  168. }
  169. .multi-photo-clear {
  170. clear: both;
  171. }
  172. .multi-photo.photos-1 .photo {
  173. width: 100%;
  174. height: 400px;
  175. }
  176. /* 2-up multi-photos use this layout */
  177. .multi-photo.photos-2 .photo {
  178. width: 50%;
  179. height: 300px;
  180. }
  181. /* 3-up multi-photos use this layout */
  182. .multi-photo.photos-3 .photo:nth-child(1) {
  183. width: 65%;
  184. height: 400px;
  185. }
  186. .multi-photo.photos-3 .photo:nth-child(2),
  187. .multi-photo.photos-3 .photo:nth-child(3) {
  188. width: 35%;
  189. height: 200px;
  190. }
  191. .scoreboard {
  192. td.score, th.score {
  193. text-align: center;
  194. }
  195. td.total.score {
  196. font-size: 20px;
  197. }
  198. td .team-wrap {
  199. display: inline-block;
  200. }
  201. }