Changeset cc4ff05 in OpenWorkouts-current


Ignore:
Timestamp:
Dec 17, 2018, 9:37:07 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
208da8b
Parents:
f7abb54
Message:

Added more basic form styling to forms.css:

  • Added styles for a flex-based container to show several inputs inline
  • Added styles for smaller/shorter inputs (numbers, date/time values)
File:
1 edited

Legend:

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

    rf7abb54 rcc4ff05  
    146146}
    147147
     148.ow-forms input.number {
     149    /* width up to three characters */
     150    width: 3em;
     151}
     152
     153.ow-forms input.date {
     154    /* width up to 10 characters */
     155    width: 7em;
     156}
     157
     158.ow-forms input.time {
     159    /* width up to 6 characters */
     160    width: 5em;
     161}
     162
    148163.ow-forms input:focus {
    149164    border-color: #333333;
     
    161176    margin-bottom:.25em
    162177}
     178
     179.ow-forms div.input-container {
     180    display: flex;
     181    flex-flow: row wrap;
     182    justify-content: space-between;
     183    align-items: center;
     184}
Note: See TracChangeset for help on using the changeset viewer.