Skip to content

Commit

Permalink
Updating generic css file to include changes to flash messages (knock…
Browse files Browse the repository at this point in the history
…out text) submit buttons (green gradient) and required fields (*).
  • Loading branch information
markstory committed Dec 29, 2009
1 parent fbb3d3d commit e067552
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions app/webroot/css/cake.generic.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ body {
margin: 0;
}
a {
background:#fff;
color: #003d4c;
text-decoration: underline;
font-weight: bold;
Expand All @@ -54,12 +53,12 @@ h1 {
h2 {
background:#fff;
color: #e32;
font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
font-size: 190%;
}
h3 {
color: #993;
font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
font-size: 165%;
}
h4 {
Expand Down Expand Up @@ -124,6 +123,7 @@ div.actions {
}
div.actions h3 {
padding-top:0;
color:#777;
}


Expand Down Expand Up @@ -178,6 +178,7 @@ table td.actions a {
.cake-sql-log td {
padding: 4px 8px;
text-align: left;
font-family: Monaco, Consolas, "Courier New", monospaced;
}

/* Paging */
Expand Down Expand Up @@ -254,23 +255,26 @@ form div {
padding: .5em;
vertical-align: text-top;
}
form div.input {
form .input {
color: #444;
}
form div.required {
color: #333;
form .required {
font-weight: bold;
}
form .required label:after {
color: #e32;
content: '*';
display:inline;
}
form div.submit {
border: 0;
clear: both;
margin-top: 10px;
margin-left: 140px;
}
label {
display: block;
font-size: 110%;
padding-right: 20px;
margin-bottom:3px;
}
input, textarea {
clear: both;
Expand Down Expand Up @@ -310,19 +314,33 @@ input[type=submit] {
font-size: 110%;
width: auto;
}
form .submit input[type=submit] {
background:#889a0d;
background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
background-image: -moz-linear-gradient(top, #9bcc66, #3da86a);
border-color: #2d6324;
color: #111;
text-shadow: #8cee7c 0px 1px 0px;
}
form .submit input[type=submit]:hover {
background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
}

/* Notices and Errors */
div.message {
clear: both;
color: #900;
color: #fff;
font-size: 140%;
font-weight: bold;
margin: 1em 0;
margin: 0 0 1em 0;
background: #c73e14;
padding: 5px;
}
div.error-message {
clear: both;
color: #900;
color: #fff;
font-weight: bold;
background: #c73e14;
}
p.error {
background-color: #e32;
Expand Down

0 comments on commit e067552

Please sign in to comment.