Changeset bf01534 in OpenWorkouts-current for ow/static/css/main.css


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/css/main.css

    r10c8e6e rbf01534  
    722722/* Workout detail */
    723723#map {
    724   height: 50vh;
     724  height: 400px;
     725}
     726@media (min-width: 480px) {
     727  #map {
     728    height: calc(100vh - 380px);
     729  }
    725730}
    726731.workout-detail {
    727   padding: 2em  1em;
     732  padding: 0em  1em;
    728733}
    729734@media (min-width: 480px) {
     
    741746.workout-detail-resume {
    742747  max-width: 500px;
    743   margin-right: 6em;
    744748  margin-bottom: 2em;
     749  padding-top: 2em;
     750}
     751@media (min-width: 800px) {
     752  .workout-detail-resume {
     753    margin-right: 6em;
     754  }
    745755}
    746756.workout-detail-resume h3 {
     
    761771  max-width: 600px;
    762772}
     773@media (min-width: 800px) {
     774  .workout-detail-info {
     775    border-right: 1px solid #e1e1e1;
     776    border-left: 1px solid #e1e1e1;
     777    padding: 2em 1em 2em 2em;
     778  }
     779}
    763780.workout-detail-info ul {
    764781  list-style-type: none;
     
    771788.workout-detail-info ul span {
    772789  display: block;
     790  font-size: 13px;
     791  font-size: 0.8125rem;
    773792  color: #959595;
    774   font-size: 13px;
    775   font-size: 0.8125rem;
     793  margin-bottom: 0.25em;
     794}
     795.workout-detail-info ul span.min,
     796.workout-detail-info ul span.avg,
     797.workout-detail-info ul span.max {
     798  display: inline-block;
     799  color: white;
     800  padding: 0.5em 0.85em;
     801  border-radius: 3px;
     802}
     803.workout-detail-info ul span.max {
     804  background-color: #EE4056;
     805}
     806.workout-detail-info ul span.min {
     807  background-color: #1395CA;
     808  margin-right: 0.5em;
     809}
     810.workout-detail-info ul span.avg {
     811  background-color: #17C898;
     812  margin-right: 0.5em;
    776813}
    777814.workout-detail-info li {
    778815  margin-bottom: 2em;
    779816  margin-right: 1em;
    780   font-size: 16px;
    781   font-size: 1rem;
     817  color: #959595;
     818  font-size: 15px;
     819  font-size: 0.9375rem;
     820}
     821.workout-detail-info li.important {
     822  font-size: 21px;
     823  font-size: 1.3125rem;
     824  color: #151515;
    782825}
    783826/* Week report */
Note: See TracChangeset for help on using the changeset viewer.