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


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/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.