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


Ignore:
Timestamp:
Jan 29, 2019, 12:54:29 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
3e48af6
Parents:
d0fc76b
Message:

update dashboard layout ui

File:
1 edited

Legend:

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

    rd0fc76b r1fe89ea  
    154154}
    155155
     156
     157
    156158.aside-profile {
    157     margin-bottom: 2em;
     159    margin-bottom: 1em;
    158160    img {
    159161        width: 80px;
     
    177179
    178180
     181
     182/* Week report */
     183
     184.svg-cotent {
     185    svg {
     186        width: 100%;
     187        height: 100%;
     188    }
     189
     190    .label {
     191        .font-size(13);
     192        text-anchor: middle;
     193    }
     194    .tick {
     195        .font-size(13);
     196    }
     197
     198}
     199.week-stats {
     200    border: 1px solid @color-main-light;
     201    background-color: fade(@color-main-light, 10%);
     202    padding: .75em;
     203    border-radius: 4px;
     204    margin-bottom: 2em;
     205    h3 {
     206        margin: 0;
     207        .font-size(14);
     208        & + p {
     209            margin: .25em 0 2em 0;
     210            color: @color-main-medium;
     211            .font-size(13);
     212        }
     213    }
     214}
     215
     216.workout-activity-summary {
     217    list-style-type: none;
     218    padding: 0;
     219    margin: 0;
     220    background-color: fade(@color-main, 80%);
     221    margin-bottom: .75em;
     222    li {
     223        color: @color-main-light;
     224        border-bottom: 1px solid @color-main-medium;
     225        padding: .75em 1em;
     226        display: flex;
     227        justify-content: space-between;
     228        &:last-child {
     229            margin-bottom: 0;
     230            border: none;
     231        }
     232        span {
     233            &:first-child {
     234                font-weight: bold;
     235            }
     236        }
     237    }
     238}
    179239
    180240.workout-activity-tree {
     
    201261            font-weight: 700;
    202262            margin-bottom: .5em;
     263            .font-size(16);
    203264        }
    204265        &.viewing-month {
Note: See TracChangeset for help on using the changeset viewer.