events.css.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. // Place all the styles related to the event controller here.
  2. // They will automatically be included in application.css.
  3. // You can use Sass (SCSS) here: http://sass-lang.com/
  4. $status-color-none: #ddd;
  5. $status-color-far: #ddd;
  6. $status-color-near: #f2c57c;
  7. $status-color-active: #abE188;
  8. $status-color-completed: #ddd;
  9. $status-color-cancelled: #ddd;
  10. //Active & Near have attention-getting colors, others use "default"
  11. /* * * * * * * * * * * * * * * * */
  12. /* General "card" styles can be found in `cards.css.scss` */
  13. /* * * * * * * * * * * * * * * * */
  14. .event-cards {
  15. .card {
  16. width: 612px;
  17. }
  18. .card-column {
  19. min-height: 125px;
  20. &.col-1 {
  21. width: 200px;
  22. }
  23. &.col-2 {
  24. width: 305px;
  25. }
  26. &.col-3 {
  27. // Explicitly defining width of this column is not necessary for consistency of overall card width,
  28. // as it contains only buttons of a standard size (common across all cards in this list)
  29. }
  30. }
  31. .market-context {
  32. margin: 0px;
  33. .color-box {
  34. display: inline-block;
  35. vertical-align: center;
  36. width: 24px;
  37. height: 24px;
  38. background-color: #f60;
  39. }
  40. span {
  41. display: inline-block;
  42. margin-top: 3px;
  43. vertical-align: top;
  44. font-size: 1em;
  45. font-weight: bold;
  46. }
  47. }
  48. .status {
  49. margin: 8px 0px 12px 0px;
  50. padding: 4px 12px;
  51. font-weight: bold;
  52. border: 1px solid;
  53. background-color: #fff;
  54. border-color: darken(#fff, 20);
  55. &.none {
  56. background-color: $status-color-none;
  57. border-color: darken($status-color-none, 20);
  58. }
  59. &.far {
  60. background-color: $status-color-far;
  61. border-color: darken($status-color-far, 20);
  62. }
  63. &.near {
  64. background-color: $status-color-near;
  65. border-color: darken($status-color-near, 20);
  66. }
  67. &.active {
  68. background-color: $status-color-active;
  69. border-color: darken($status-color-active, 20);
  70. }
  71. &.completed {
  72. background-color: $status-color-completed;
  73. border-color: darken($status-color-completed, 20);
  74. }
  75. &.cancelled {
  76. background-color: $status-color-cancelled;
  77. border-color: darken($status-color-cancelled, 20);
  78. }
  79. span {
  80. display: inline-block;
  81. vertical-align: top;
  82. margin: 2px 0px 0px 0px;
  83. font-size: 1em;
  84. }
  85. }
  86. .event-id {
  87. }
  88. /* * * * * * * * * * * * * * * * */
  89. .event-times {
  90. div {
  91. font-size: 1em;
  92. }
  93. h4 {
  94. display: inline;
  95. }
  96. }
  97. .event-ven-data {
  98. width: 100%;
  99. margin-top: 6px;
  100. padding-top: 12px;
  101. border-top: 1px solid #ddd;
  102. .icon {
  103. display: inline-block;
  104. vertical-align: top;
  105. width: 36px;
  106. height: 36px;
  107. margin: 0px 6px 0px 0px;
  108. background-color: #000;
  109. }
  110. .ven-data {
  111. display: inline-block;
  112. vertical-align: top;
  113. .data-group {
  114. display: inline-block;
  115. vertical-align: top;
  116. }
  117. span {
  118. display: block;
  119. margin-right: 9px;
  120. }
  121. }
  122. }
  123. .comments {
  124. display: block;
  125. width: 100%;
  126. border-top: 1px solid #ddd;
  127. margin: 9px 0px 0px 0px;
  128. padding: 6px 0px 0px 0px;
  129. }
  130. }
  131. /* * * * * * * * * * * * * * * * */
  132. /* General "event search" styles can be found in `search_box.css.scss` */
  133. /* * * * * * * * * * * * * * * * */
  134. $events-search-form-width: 412px;
  135. #events-search-wrapper {
  136. width: $events-search-form-width;
  137. }
  138. form#events-search {
  139. width: $events-search-form-width;
  140. .chosen-select {
  141. // width: 400px;
  142. }
  143. .dates {
  144. display: inline;
  145. margin-right: 6px;
  146. .date-field {
  147. width: 140px;
  148. // background-color: #f60;
  149. }
  150. }
  151. }
  152. /* * * * * * * * * * * * * * * * */
  153. /* Add/Remove Targets */
  154. /* * * * * * * * * * * * * * * * */
  155. #add_targets_select_chosen {
  156. // Used `!important` *only* because JS was setting `style="width: 0px;"`, so `!important` was only
  157. // recourse short of setting this style in Chosen's JS--which is worse than using `!important` here.
  158. width: 240px !important;
  159. }