| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- // Place all the styles related to the event controller here.
- // They will automatically be included in application.css.
- // You can use Sass (SCSS) here: http://sass-lang.com/
- $status-color-none: #ddd;
- $status-color-far: #ddd;
- $status-color-near: #f2c57c;
- $status-color-active: #abE188;
- $status-color-completed: #ddd;
- $status-color-cancelled: #ddd;
- //Active & Near have attention-getting colors, others use "default"
- /* * * * * * * * * * * * * * * * */
- /* General "card" styles can be found in `cards.css.scss` */
- /* * * * * * * * * * * * * * * * */
- .event-cards {
- .card {
- width: 612px;
- }
- .card-column {
- min-height: 125px;
- &.col-1 {
- width: 200px;
- }
- &.col-2 {
- width: 305px;
- }
- &.col-3 {
- // Explicitly defining width of this column is not necessary for consistency of overall card width,
- // as it contains only buttons of a standard size (common across all cards in this list)
- }
- }
- .market-context {
- margin: 0px;
- .color-box {
- display: inline-block;
- vertical-align: center;
- width: 24px;
- height: 24px;
- background-color: #f60;
- }
- span {
- display: inline-block;
- margin-top: 3px;
- vertical-align: top;
- font-size: 1em;
- font-weight: bold;
- }
- }
- .status {
- margin: 8px 0px 12px 0px;
- padding: 4px 12px;
- font-weight: bold;
- border: 1px solid;
- background-color: #fff;
- border-color: darken(#fff, 20);
- &.none {
- background-color: $status-color-none;
- border-color: darken($status-color-none, 20);
- }
- &.far {
- background-color: $status-color-far;
- border-color: darken($status-color-far, 20);
- }
- &.near {
- background-color: $status-color-near;
- border-color: darken($status-color-near, 20);
- }
- &.active {
- background-color: $status-color-active;
- border-color: darken($status-color-active, 20);
- }
- &.completed {
- background-color: $status-color-completed;
- border-color: darken($status-color-completed, 20);
- }
- &.cancelled {
- background-color: $status-color-cancelled;
- border-color: darken($status-color-cancelled, 20);
- }
- span {
- display: inline-block;
- vertical-align: top;
- margin: 2px 0px 0px 0px;
- font-size: 1em;
- }
- }
- .event-id {
- }
- /* * * * * * * * * * * * * * * * */
- .event-times {
- div {
- font-size: 1em;
- }
- h4 {
- display: inline;
- }
- }
- .event-ven-data {
- width: 100%;
- margin-top: 6px;
- padding-top: 12px;
- border-top: 1px solid #ddd;
- .icon {
- display: inline-block;
- vertical-align: top;
- width: 36px;
- height: 36px;
- margin: 0px 6px 0px 0px;
- background-color: #000;
- }
- .ven-data {
- display: inline-block;
- vertical-align: top;
- .data-group {
- display: inline-block;
- vertical-align: top;
- }
- span {
- display: block;
- margin-right: 9px;
- }
- }
- }
- .comments {
- display: block;
- width: 100%;
- border-top: 1px solid #ddd;
- margin: 9px 0px 0px 0px;
- padding: 6px 0px 0px 0px;
- }
- }
- /* * * * * * * * * * * * * * * * */
- /* General "event search" styles can be found in `search_box.css.scss` */
- /* * * * * * * * * * * * * * * * */
- $events-search-form-width: 412px;
- #events-search-wrapper {
- width: $events-search-form-width;
- }
- form#events-search {
- width: $events-search-form-width;
- .chosen-select {
- // width: 400px;
- }
- .dates {
- display: inline;
- margin-right: 6px;
- .date-field {
- width: 140px;
- // background-color: #f60;
- }
- }
- }
- /* * * * * * * * * * * * * * * * */
- /* Add/Remove Targets */
- /* * * * * * * * * * * * * * * * */
- #add_targets_select_chosen {
- // Used `!important` *only* because JS was setting `style="width: 0px;"`, so `!important` was only
- // recourse short of setting this style in Chosen's JS--which is worse than using `!important` here.
- width: 240px !important;
- }
|