diff --git a/app/assets/stylesheets/darkswarm/account.css.sass b/app/assets/stylesheets/darkswarm/account.css.sass new file mode 100644 index 0000000000..285c634d36 --- /dev/null +++ b/app/assets/stylesheets/darkswarm/account.css.sass @@ -0,0 +1,36 @@ +@import branding +@import mixins + +.orders + @include sidepaddingSm + @include panepadding + a + color: $clr-brick + &:hover, &:active, &:focus + color: $clr-brick-med-bright + a.button.primary + &:hover, &:active, &:focus + color: white + .strong + color: $clr-brick + + table + tr:nth-of-type(even) + background: transparent // clear previous + tbody.odd + tr + background-color: #f9f9f9 + border: none + // Column widths for order table + .order1 + width: 25% + .order2 + width: 20% + .order3 + width: 25% + .order4 + width: 10% + .order5 + width: 10% + .order6 + width: 10% diff --git a/app/assets/stylesheets/darkswarm/producers.css.sass b/app/assets/stylesheets/darkswarm/producers.css.sass index 2055a45035..dce972629b 100644 --- a/app/assets/stylesheets/darkswarm/producers.css.sass +++ b/app/assets/stylesheets/darkswarm/producers.css.sass @@ -15,4 +15,4 @@ color: $clr-turquoise-bright a.button.primary &:hover, &:active, &:focus - color: white \ No newline at end of file + color: white diff --git a/app/views/spree/users/_fat.html.haml b/app/views/spree/users/_fat.html.haml index ce6f956bb7..24f196f35e 100644 --- a/app/views/spree/users/_fat.html.haml +++ b/app/views/spree/users/_fat.html.haml @@ -1,5 +1,5 @@ .row.active_table_row{"ng-if" => "open()","ng-class" => "{'open' : !ofn-i_032-closed-sign()}"} - .columns.small-12.medium-12.large-12.fat + .columns.small-12.large-10.large-offset-2.fat %table %tr %th.order1{"bo-text" => "'transaction' | t"} @@ -8,7 +8,7 @@ %th.order4{"bo-text" => "'shipping_state' | t"} %th.order5{"bo-text" => "'value' | t"} %th.order6{"bo-text" => "'balance' | t"} - %tbody.transaction-group{"ng-repeat" => "order in distributor.distributed_orders"} + %tbody.transaction-group{"ng-repeat" => "order in distributor.distributed_orders", "ng-class-odd"=>"'odd'", "ng-class-even"=>"'even'"} %tr.order-row %td.order1 %a{"bo-href" => "order.path", "bo-text" => "('order' | t )+ ' ' + order.number"}