Changeset 10c8e6e in OpenWorkouts-current for ow/static/less/modules/workout.less


Ignore:
Timestamp:
Jan 30, 2019, 1:54:50 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
bf01534
Parents:
67fc2ed
Message:

update basic layout on workout detail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/modules/workout.less

    r67fc2ed r10c8e6e  
    182182        .font-size(13);
    183183        color: @color-main-dark;
     184    }
     185}
     186
     187
     188
     189/* Workout detail */
     190#map {
     191    height: 50vh;
     192}
     193
     194.workout-detail {
     195    padding: 2em  1em;
     196    @media (min-width: @screen-s){
     197        max-width: 1280px;
     198        margin: 0 auto;
     199    }
     200     @media (min-width: @screen-m){
     201        display: flex;
     202        justify-content:space-between;
     203    }
     204}
     205
     206.workout-detail-resume {
     207    max-width: 500px;
     208    margin-right: 6em;
     209    margin-bottom: 2em;
     210    h3 {
     211        margin-top: 0;
     212        margin-bottom: .5em;
     213        & + div {
     214            .font-size(14);
     215            color: @color-main-medium;
     216            line-height: 1.35em;
     217        }
     218    }
     219    .workout-options {
     220        .font-size(13);
     221    }
     222}
     223
     224.workout-detail-info {
     225    max-width: 600px;
     226    ul {
     227        list-style-type: none;
     228        padding:0;
     229        margin: 0;
     230        display: flex;
     231        justify-content:space-between;
     232        flex-flow: row wrap;
     233        span {
     234            display: block;
     235            color: @color-main-medium;
     236            .font-size(13);
     237        }
     238    }
     239    li {
     240        margin-bottom: 2em;
     241        margin-right: 1em;
     242        .font-size(16);
    184243    }
    185244}
Note: See TracChangeset for help on using the changeset viewer.