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.

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