Changeset 01674ff in OpenWorkouts-current for ow/static/less


Ignore:
Timestamp:
Feb 6, 2019, 7:11:48 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
0bf3bd6, b05824e
Parents:
978575d
Message:

Update forms and fix detail workout view

Location:
ow/static/less
Files:
3 added
6 edited

Legend:

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

    r978575d r01674ff  
    1616@import "common.less";
    1717
     18// layout
     19@import "layout/wrapper.less";
     20@import "layout/layout.less";
     21
    1822// ui
    1923@import "ui/form.less";
     
    2327@import "modules/header.less";
    2428@import "modules/workout.less";
     29@import "modules/forms.less";
    2530
    2631// Pages
  • ow/static/less/modules/workout.less

    r978575d r01674ff  
    191191/* Workout detail */
    192192#map {
     193    width: 100%;
    193194    height: 400px;
    194195    @media (min-width: @screen-s){
    195         height: calc(100vh - 380px);
     196        height: calc(100vh - 465px);
    196197    }
    197198}
  • ow/static/less/pages/profile.less

    r978575d r01674ff  
    4242        .font-size(13);
    4343        font-weight: bold;
     44        span {
     45                color: @color-main-medium;
     46                margin-right: .5em;
     47                &:first-child {
     48                        color: @color-main;
     49                        &:after {
     50                                content: "|";
     51                                color: @color-main-light;
     52                                margin-left:  .5em;
     53                        }
     54                }
     55        }
    4456}
    4557
  • ow/static/less/ui/buttons.less

    r978575d r01674ff  
    2020    line-height: 1.25;
    2121    max-width: 100%;
     22    width: auto;
    2223}
     24
     25.button-normal {
     26    width: auto;
     27    &:hover {
     28        background-color: @color-main-medium;
     29        color: white;
     30    }
     31}
     32.button-important {
     33    background-color: @color-app;
     34}
  • ow/static/less/ui/form.less

    r978575d r01674ff  
    1212    padding: 0;
    1313}
    14 fieldset > div {
     14
     15fieldset > div,
     16fieldset > p {
    1517    margin-bottom: 1.5em;
    1618}
     
    2729    border-radius: 2px;
    2830}
     31
     32.ow-forms {
     33    label {
     34        display: block;
     35        margin-bottom: .35em;
     36        color: @color-main-medium;
     37    }
     38    textarea {
     39        resize: vertical;
     40        height: 200px;
     41    }
     42    textarea,
     43    input {
     44        width: 100%;
     45        padding: .65em;
     46        border-radius: 4px;
     47        border: 1px solid @color-main-light;
     48    }
     49}
  • ow/static/less/vendors/leaflet-elevation.less

    r978575d r01674ff  
    7272
    7373/* txt on map */
    74 
    7574.openworkouts-theme.height-focus-label {
    7675    display: none;
     
    8281    stroke: @color-app;
    8382    stroke-width: 10px;
    84 
    8583}
Note: See TracChangeset for help on using the changeset viewer.