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.

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