Skip to content

Commit

Permalink
Display labels consistently across date, time and datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Mazzola committed Jun 27, 2011
1 parent 6ee05b3 commit 461c3a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
19 changes: 6 additions & 13 deletions public/stylesheets/flutie.css
Expand Up @@ -237,7 +237,6 @@ hr.space {

h2, h3 {
page-break-after: avoid; } }

/* Headings */
h1, h2, h3, h4, h5, h6 {
font-weight: bold; }
Expand Down Expand Up @@ -505,22 +504,16 @@ optgroup {
margin: 0 0 .5em 0; }

/* Date & Time */
form ol li.date ol li,
form ol li.time ol li {
display: inline; }

form ol li.datetime ol li {
display: inline-block; }

form ol li.datetime select,
form ol li.date select,
form ol li.time select {
form ol li.time select,
form ol li.datetime select {
display: inline;
width: auto; }

form ol li.date label,
form ol li.time label {
display: none; }
form ol li.date ol li,
form ol li.time ol li,
form ol li.datetime ol li {
display: inline-block; }

/* Tables */
table {
Expand Down
20 changes: 6 additions & 14 deletions public/stylesheets/sass/_forms.scss
Expand Up @@ -177,23 +177,15 @@ optgroup {
}

/* Date & Time */
form ol li.date ol li,
form ol li.time ol li {
display: inline;
}

form ol li.datetime ol li {
display: inline-block;
}

form ol li.datetime select,
form ol li.date select,
form ol li.time select {
form ol li.time select,
form ol li.datetime select {
display: inline;
width: auto;
}

form ol li.date label,
form ol li.time label {
display: none;
form ol li.date ol li,
form ol li.time ol li,
form ol li.datetime ol li {
display: inline-block;
}

0 comments on commit 461c3a3

Please sign in to comment.