Changeset 10c8e6e in OpenWorkouts-current for ow/static


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

Location:
ow/static
Files:
3 edited

Legend:

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

    r67fc2ed r10c8e6e  
    720720  color: #555555;
    721721}
     722/* Workout detail */
     723#map {
     724  height: 50vh;
     725}
     726.workout-detail {
     727  padding: 2em  1em;
     728}
     729@media (min-width: 480px) {
     730  .workout-detail {
     731    max-width: 1280px;
     732    margin: 0 auto;
     733  }
     734}
     735@media (min-width: 800px) {
     736  .workout-detail {
     737    display: flex;
     738    justify-content: space-between;
     739  }
     740}
     741.workout-detail-resume {
     742  max-width: 500px;
     743  margin-right: 6em;
     744  margin-bottom: 2em;
     745}
     746.workout-detail-resume h3 {
     747  margin-top: 0;
     748  margin-bottom: 0.5em;
     749}
     750.workout-detail-resume h3 + div {
     751  font-size: 14px;
     752  font-size: 0.875rem;
     753  color: #959595;
     754  line-height: 1.35em;
     755}
     756.workout-detail-resume .workout-options {
     757  font-size: 13px;
     758  font-size: 0.8125rem;
     759}
     760.workout-detail-info {
     761  max-width: 600px;
     762}
     763.workout-detail-info ul {
     764  list-style-type: none;
     765  padding: 0;
     766  margin: 0;
     767  display: flex;
     768  justify-content: space-between;
     769  flex-flow: row wrap;
     770}
     771.workout-detail-info ul span {
     772  display: block;
     773  color: #959595;
     774  font-size: 13px;
     775  font-size: 0.8125rem;
     776}
     777.workout-detail-info li {
     778  margin-bottom: 2em;
     779  margin-right: 1em;
     780  font-size: 16px;
     781  font-size: 1rem;
     782}
    722783/* Week report */
    723784.svg-cotent svg {
     
    9751036  font-size: 0.8125rem;
    9761037}
    977 /* Workout detail */
    978 #map {
    979   height: 50vh;
    980 }
  • ow/static/less/main.less

    r67fc2ed r10c8e6e  
    2525@import "pages/login.less";
    2626@import "pages/profile.less";
    27 
    28 
    29 /* Workout detail */
    30 #map {
    31     height: 50vh;
    32 }
  • 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.