mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove inline css. [#593 status:resolved]
This commit is contained in:
parent
5d645c271b
commit
5096ba961c
2 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p style="color: green"><%%= flash[:notice] %></p>
|
<p class="notice"><%%= flash[:notice] %></p>
|
||||||
|
|
||||||
<%%= yield %>
|
<%%= yield %>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@ div.attribute, div.action {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notice {
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
|
||||||
.fieldWithErrors {
|
.fieldWithErrors {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: red;
|
background-color: red;
|
||||||
|
|
Loading…
Reference in a new issue