1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix and optimize scaffold CSS [ci skip]

This commit is contained in:
Andrii Ponomarov 2016-05-22 14:33:06 -04:00
parent 61483b18bc
commit e47d00a22c

View file

@ -1,13 +1,13 @@
body { body {
background-color: #fff; background-color: #fff;
color: #333; color: #333;
margin: 33px;
} }
body, p, ol, ul, td { body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif; font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px; font-size: 13px;
line-height: 18px; line-height: 18px;
margin: 33px;
} }
pre { pre {
@ -34,9 +34,7 @@ th {
} }
td { td {
padding-bottom: 7px; padding: 0 5px 7px;
padding-left: 5px;
padding-right: 5px;
} }
div.field, div.field,
@ -57,8 +55,7 @@ div.actions {
#error_explanation { #error_explanation {
width: 450px; width: 450px;
border: 2px solid red; border: 2px solid red;
padding: 7px; padding: 7px 7px 0;
padding-bottom: 0;
margin-bottom: 20px; margin-bottom: 20px;
background-color: #f0f0f0; background-color: #f0f0f0;
} }
@ -68,8 +65,7 @@ div.actions {
font-weight: bold; font-weight: bold;
padding: 5px 5px 5px 15px; padding: 5px 5px 5px 15px;
font-size: 12px; font-size: 12px;
margin: -7px; margin: -7px -7px 0;
margin-bottom: 0;
background-color: #c00; background-color: #c00;
color: #fff; color: #fff;
} }