Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Made a few minor changes to the form component of the CSS framework (…
Browse files Browse the repository at this point in the history
…see #5214)
  • Loading branch information
leofeyer committed Jan 7, 2013
1 parent 5ca8c7f commit cf158cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions assets/contao/css/form-uncompressed.css
Expand Up @@ -25,7 +25,7 @@ legend {
input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="email"],
input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea {
width:100%;
display:block;
display:inline-block;
padding:3px 6px;
background:#fff;
border:1px solid #ccc;
Expand All @@ -35,20 +35,27 @@ input[type="number"],input[type="search"],input[type="tel"],input[type="time"],i
-moz-box-shadow:inset 0 1px 1px #eee;
-webkit-box-shadow:inset 0 1px 1px #eee;
box-shadow:inset 0 1px 1px #eee;
-moz-transition:background .15s linear;
-webkit-transition:background .15s linear;
-o-transition:background .15s linear;
transition:background .15s linear;
-moz-transition:all .15s linear;
-webkit-transition:all .15s linear;
-o-transition:all .15s linear;
transition:all .15s linear;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="email"]:focus,
input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,textarea:focus {
outline:0;
background:#fcfcfc;
border-color:#bbb;
}

/**
* Fix some width and height settings
*/
input[type="file"] {
cursor:pointer;
}
select,input[type="file"] {
display:block;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/contao/css/form.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf158cb

Please sign in to comment.