Changeset 778d53d in OpenWorkouts-current for ow/static/less


Ignore:
Timestamp:
Mar 5, 2019, 11:45:32 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
aa6dcaf
Parents:
35953eb
Message:

(#7) Show per-sport stats in the profile page:

  • Show a dropdown list of sports for which the user has activities. By default we choose the sport with most activities.
  • Show a dropdown list of years for which the user has activities. By default we show stats for the current year. If the user picks up a different year, we show the totals (distance, time, elevation, number of workouts) for that year.
  • Show the totals of all time for the chosen sport
Location:
ow/static/less
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/main.less

    r35953eb r778d53d  
    2323@import "ui/form.less";
    2424@import "ui/buttons.less";
     25@import "ui/arrows.less";
    2526
    2627// Modules
  • ow/static/less/pages/profile.less

    r35953eb r778d53d  
    128128        }
    129129}
     130
     131.profile-dropdown-sports,
     132.profile-dropdown-years {
     133    color: @color-main;
     134    text-decoration: none;
     135    &:hover {
     136        color: @color-main;
     137    }
     138    &:active, &:focus {
     139        outline: 0;
     140        border: none;
     141        -moz-outline-style: none;
     142    }
     143}
Note: See TracChangeset for help on using the changeset viewer.