Changeset 67fc2ed in OpenWorkouts-current for ow/static/less/pages/profile.less


Ignore:
Timestamp:
Jan 29, 2019, 6:39:18 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
10c8e6e
Parents:
594fbe8
Message:

Updated ui for profile basic interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/pages/profile.less

    r594fbe8 r67fc2ed  
    11.user-profile {
    2     padding: 2em  1em;
    3     @media (min-width: @screen-s){
    4         padding: 2em 6em;
    5     }
    62    img {
    73        width: 140px;
     
    95        object-fit: cover;
    106        border-radius: 50%;
     7        margin-bottom: .5em;
    118    }
    129    .workout-options {
     
    1411    }
    1512}
     13
     14.user-profile-account {
     15        background-color: @color-main-xtralight;
     16    padding: 2em  1em;
     17    @media (min-width: @screen-s){
     18        padding: 2em 6em;
     19    }
     20        h2 {
     21                margin: 0 0 .15em 0;
     22                .font-size(21);
     23        }
     24        p{
     25                color: @color-main-dark;
     26                .font-size(14);
     27                margin: 0;
     28                span {
     29                        color: @color-main-medium;
     30                }
     31        }
     32        .workouts {
     33                .font-size(18);
     34                font-weight: bold;
     35        }
     36}
     37
     38.profile-data {
     39        list-style-type: none;
     40        padding: 0;
     41        .font-size(14);
     42        li {
     43                margin-bottom: .25em;
     44        }
     45}
     46
     47.profile-bio {
     48        margin: 1em 0;
     49}
     50
     51.month-stats,
     52.latest-workouts {
     53        max-width: 40vw;
     54        margin: 0 auto;
     55}
     56
     57.latest-workouts {
     58        h4 {
     59                margin:0;
     60                a {
     61                        color: @color-main;
     62                        text-decoration: none;
     63                }
     64        }
     65        >span {
     66                .font-size(13);
     67        }
     68        p {
     69                margin-top: .25em;
     70                color: @color-main-medium;
     71                .font-size(13);
     72        }
     73}
Note: See TracChangeset for help on using the changeset viewer.