Changeset ffd6bb5 in OpenWorkouts-current for ow/static


Ignore:
Timestamp:
Feb 4, 2019, 5:48:44 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
d24a64a
Parents:
d52ba50
Message:

update profile header ui

Location:
ow/static
Files:
3 edited

Legend:

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

    rd52ba50 rffd6bb5  
    663663  border-radius: 4px;
    664664  padding: 0;
     665  width: auto;
    665666}
    666667.workout-options li {
     
    10091010  font-size: 13px;
    10101011  font-size: 0.8125rem;
     1012  margin-right: 2em;
    10111013}
    10121014.user-profile-account {
     
    10181020    padding: 2em 6em;
    10191021  }
     1022}
     1023.user-profile-account > div {
     1024  display: flex;
     1025  align-items: center;
    10201026}
    10211027.user-profile-account img {
     
    10251031  border-radius: 50%;
    10261032  margin-bottom: 0.5em;
     1033  margin-right: 1em;
    10271034}
    10281035.user-profile-account h2 {
     
    10501057  font-size: 14px;
    10511058  font-size: 0.875rem;
     1059  background-color: white;
     1060  padding: 0.5em 0.75em;
     1061  border-radius: 4px;
     1062  border: 1px solid #e1e1e1;
     1063  max-width: 200px;
    10521064}
    10531065.profile-data li {
    1054   margin-bottom: 0.25em;
     1066  display: flex;
     1067  justify-content: space-between;
     1068  color: #959595;
     1069}
     1070.profile-data li:not(:last-child) {
     1071  margin-bottom: 0.5em;
     1072  padding-bottom: 0.5em;
     1073  border-bottom: 1px solid #e1e1e1;
     1074}
     1075.profile-data li span {
     1076  font-weight: bold;
     1077  color: #151515;
    10551078}
    10561079.profile-bio {
    1057   margin: 1em 0;
     1080  margin: 0.5em 0;
     1081  font-size: 14px;
     1082  font-size: 0.875rem;
    10581083}
    10591084.month-stats,
    10601085.latest-workouts {
    1061   max-width: 40vw;
    1062   margin: 0 auto;
     1086  max-width: 700px;
     1087}
     1088.month-stats {
     1089  margin-bottom: 4em;
    10631090}
    10641091.latest-workouts h4 {
  • ow/static/less/modules/workout.less

    rd52ba50 rffd6bb5  
    122122    border-radius: 4px;
    123123    padding: 0;
     124    width: auto;
    124125    li{
    125126        display: inline-block;
  • ow/static/less/pages/profile.less

    rd52ba50 rffd6bb5  
    22    .workout-options {
    33        .font-size(13);
     4                margin-right: 2em;
    45    }
    56}
     
    1112        padding: 2em 6em;
    1213    }
     14    >div {
     15        display: flex;
     16        align-items: center;
     17    }
    1318    img {
    1419        width: 140px;
     
    1722        border-radius: 50%;
    1823        margin-bottom: .5em;
     24        margin-right: 1em;
    1925    }
    2026        h2 {
     
    4046        padding: 0;
    4147        .font-size(14);
     48        background-color: white;
     49        padding: .5em .75em;
     50        border-radius: 4px;
     51        border: 1px solid @color-main-light;
     52        max-width: 200px;
    4253        li {
    43                 margin-bottom: .25em;
     54                display: flex;
     55                justify-content: space-between;
     56                color: @color-main-medium;
     57                &:not(:last-child) {
     58                        margin-bottom: .5em;
     59                        padding-bottom: .5em;
     60                        border-bottom: 1px solid @color-main-light;
     61                }
     62                span {
     63                        font-weight: bold;
     64                        color: @color-main;
     65                }
    4466        }
    4567}
    4668
    4769.profile-bio {
    48         margin: 1em 0;
     70        margin: .5em 0;
     71        .font-size(14);
    4972}
    5073
    5174.month-stats,
    5275.latest-workouts {
    53         max-width: 40vw;
    54         margin: 0 auto;
     76        max-width: 700px
     77}
     78
     79.month-stats {
     80        margin-bottom: 4em;
    5581}
    5682
Note: See TracChangeset for help on using the changeset viewer.