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


Ignore:
Timestamp:
Feb 1, 2019, 1:25:00 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
6993c72
Parents:
10c8e6e
Message:

update workout detail layout and ui

File:
1 edited

Legend:

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

    r10c8e6e rbf01534  
    189189/* Workout detail */
    190190#map {
    191     height: 50vh;
     191    height: 400px;
     192    @media (min-width: @screen-s){
     193        height: calc(100vh - 380px);
     194    }
    192195}
    193196
    194197.workout-detail {
    195     padding: 2em  1em;
     198    padding: 0em  1em;
    196199    @media (min-width: @screen-s){
    197200        max-width: 1280px;
     
    206209.workout-detail-resume {
    207210    max-width: 500px;
    208     margin-right: 6em;
    209211    margin-bottom: 2em;
     212    padding-top: 2em;
     213    @media (min-width: @screen-m){
     214        margin-right: 6em;
     215    }
    210216    h3 {
    211217        margin-top: 0;
     
    224230.workout-detail-info {
    225231    max-width: 600px;
     232    @media (min-width: @screen-m){
     233        border-right: 1px solid @color-main-light;
     234        border-left: 1px solid @color-main-light;
     235        padding:2em 1em 2em 2em;
     236    }
    226237    ul {
    227238        list-style-type: none;
     
    233244        span {
    234245            display: block;
     246            .font-size(13);
    235247            color: @color-main-medium;
    236             .font-size(13);
     248            margin-bottom: .25em;
     249            &.min,
     250            &.avg,
     251            &.max {
     252                display: inline-block;
     253                color: white;
     254                padding: .5em .85em;
     255                border-radius: 3px;
     256            }
     257            &.max {
     258                background-color: @color-app;
     259            }
     260            &.min {
     261                background-color: #1395CA;
     262                margin-right: .5em;
     263            }
     264
     265            &.avg {
     266                background-color: #17C898;
     267                margin-right: .5em;
     268            }
    237269        }
    238270    }
     
    240272        margin-bottom: 2em;
    241273        margin-right: 1em;
    242         .font-size(16);
     274        color: @color-main-medium;
     275        .font-size(15);
     276        &.important {
     277            .font-size(21);
     278            color: @color-main;
     279        }
    243280    }
    244281}
Note: See TracChangeset for help on using the changeset viewer.