Changeset 0b6c6fc in OpenWorkouts-current for ow/static


Ignore:
Timestamp:
Feb 6, 2019, 11:57:10 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
eed2019
Parents:
ded7d95 (diff), cf12619 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'feature/ui'

Location:
ow/static
Files:
3 edited

Legend:

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

    rded7d95 r0b6c6fc  
    663663  border-radius: 4px;
    664664  padding: 0;
     665  width: auto;
     666  background-color: white;
    665667}
    666668.workout-options li {
     
    10091011  font-size: 13px;
    10101012  font-size: 0.8125rem;
     1013  margin-right: 2em;
    10111014}
    10121015.user-profile-account {
    10131016  background-color: #fbfbfb;
     1017  border-bottom: 1px solid #e1e1e1;
    10141018  padding: 2em  1em;
    10151019}
     
    10181022    padding: 2em 6em;
    10191023  }
     1024}
     1025.user-profile-account > div {
     1026  display: flex;
     1027  align-items: center;
    10201028}
    10211029.user-profile-account img {
     
    10251033  border-radius: 50%;
    10261034  margin-bottom: 0.5em;
     1035  margin-right: 1em;
    10271036}
    10281037.user-profile-account h2 {
     
    10301039  font-size: 21px;
    10311040  font-size: 1.3125rem;
     1041  font-weight: 400;
    10321042}
    10331043.user-profile-account p {
     
    10501060  font-size: 14px;
    10511061  font-size: 0.875rem;
     1062  background-color: white;
     1063  padding: 0.5em 0.75em;
     1064  border-radius: 4px;
     1065  border: 1px solid #e1e1e1;
    10521066}
    10531067.profile-data li {
    1054   margin-bottom: 0.25em;
     1068  display: flex;
     1069  justify-content: space-between;
     1070  color: #959595;
     1071}
     1072.profile-data li:not(:last-child) {
     1073  margin-bottom: 0.5em;
     1074  padding-bottom: 0.5em;
     1075  border-bottom: 1px solid #e1e1e1;
     1076}
     1077.profile-data li span {
     1078  font-weight: bold;
     1079  color: #151515;
    10551080}
    10561081.profile-bio {
    1057   margin: 1em 0;
     1082  margin: 0.5em 0;
     1083  font-size: 14px;
     1084  font-size: 0.875rem;
    10581085}
    10591086.month-stats,
    10601087.latest-workouts {
    1061   max-width: 40vw;
    1062   margin: 0 auto;
     1088  max-width: 700px;
     1089}
     1090.center {
     1091  text-align: center;
     1092}
     1093.month-stats {
     1094  margin-bottom: 4em;
    10631095}
    10641096.latest-workouts h4 {
  • ow/static/less/modules/workout.less

    rded7d95 r0b6c6fc  
    122122    border-radius: 4px;
    123123    padding: 0;
     124    width: auto;
     125    background-color: white;
    124126    li{
    125127        display: inline-block;
  • ow/static/less/pages/profile.less

    rded7d95 r0b6c6fc  
    22    .workout-options {
    33        .font-size(13);
     4                margin-right: 2em;
    45    }
    56}
     
    78.user-profile-account {
    89        background-color: @color-main-xtralight;
     10        border-bottom: 1px solid @color-main-light;
    911    padding: 2em  1em;
    1012    @media (min-width: @screen-s){
    1113        padding: 2em 6em;
     14    }
     15    >div {
     16        display: flex;
     17        align-items: center;
    1218    }
    1319    img {
     
    1723        border-radius: 50%;
    1824        margin-bottom: .5em;
     25        margin-right: 1em;
    1926    }
    2027        h2 {
    2128                margin: 0 0 .15em 0;
    2229                .font-size(21);
     30                font-weight: 400;
    2331        }
    2432        p{
     
    4048        padding: 0;
    4149        .font-size(14);
     50        background-color: white;
     51        padding: .5em .75em;
     52        border-radius: 4px;
     53        border: 1px solid @color-main-light;
    4254        li {
    43                 margin-bottom: .25em;
     55                display: flex;
     56                justify-content: space-between;
     57                color: @color-main-medium;
     58                &:not(:last-child) {
     59                        margin-bottom: .5em;
     60                        padding-bottom: .5em;
     61                        border-bottom: 1px solid @color-main-light;
     62                }
     63                span {
     64                        font-weight: bold;
     65                        color: @color-main;
     66                }
    4467        }
    4568}
    4669
    4770.profile-bio {
    48         margin: 1em 0;
     71        margin: .5em 0;
     72        .font-size(14);
    4973}
    5074
    5175.month-stats,
    5276.latest-workouts {
    53         max-width: 40vw;
    54         margin: 0 auto;
     77        max-width: 700px
     78}
     79
     80.center {
     81        text-align: center;
     82}
     83
     84.month-stats {
     85        margin-bottom: 4em;
    5586}
    5687
Note: See TracChangeset for help on using the changeset viewer.