Browse files

Updating generic css file to include changes to flash messages (knock…

…out text) submit buttons (green gradient) and required fields (*).
  • Loading branch information...
1 parent fbb3d3d commit e067552b255fc22a29cc3a445977f6384d32f113 @markstory markstory committed Dec 28, 2009
Showing with 29 additions and 11 deletions.
  1. +29 −11 app/webroot/css/cake.generic.css
View
40 app/webroot/css/cake.generic.css
@@ -30,7 +30,6 @@ body {
margin: 0;
}
a {
- background:#fff;
color: #003d4c;
text-decoration: underline;
font-weight: bold;
@@ -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 {
@@ -124,6 +123,7 @@ div.actions {
}
div.actions h3 {
padding-top:0;
+ color:#777;
}
@@ -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 */
@@ -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;
@@ -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;

0 comments on commit e067552

Please sign in to comment.