summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
800dbbf)
It's duplicated by the new controller-action class on the body
element, so just use that instead.
-#content.site_index,
-#content.site_edit,
-#content.site_export {
+.site-index #content,
+.site-edit #content,
+.site-export #content {
border: 0px;
padding: 0px;
}
border: 0px;
padding: 0px;
}
/* Rules for the home page */
/* Rules for the home page */
position: absolute;
top: 0px;
bottom: 0px;
position: absolute;
top: 0px;
bottom: 0px;
position: absolute;
top: 0px;
bottom: 0px;
position: absolute;
top: 0px;
bottom: 0px;
/* Rules for the edit page */
/* Rules for the edit page */
position: absolute;
top: 0px;
bottom: 0px;
position: absolute;
top: 0px;
bottom: 0px;
/* Rules for the user view */
/* Rules for the user view */
position: relative;
width: 400px;
height: 400px;
border: 1px solid #ccc;
}
position: relative;
width: 400px;
height: 400px;
border: 1px solid #ccc;
}
-.user_view .user_map p#no_home_location {
+.user-view .user_map p#no_home_location {
position: absolute;
top: 0px;
bottom: 0px;
position: absolute;
top: 0px;
bottom: 0px;
/* Rules for the diary list */
/* Rules for the diary list */
-.diary_entry_list img.user_image {
+.diary_entry-list img.user_image {
float: right;
}
/* Rules for the diary entry view */
float: right;
}
/* Rules for the diary entry view */
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
/* Rules for the user view */
/* Rules for the user view */
-.user_view img.user_image {
+.user-view img.user_image {
/* Rules for the diary list */
/* Rules for the diary list */
-.diary_entry_list img.user_image {
+.diary_entry-list img.user_image {
float: left;
}
/* Rules for the diary entry view */
float: left;
}
/* Rules for the diary entry view */
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
/* Rules for the user view */
/* Rules for the user view */
-.user_view img.user_image {
+.user-view img.user_image {
left: 0px;
right: 0px;
top: 38px;
left: 0px;
right: 0px;
top: 38px;
<%= link_to(image_tag("osm_logo.png", :size => "16x16", :border => 0, :alt => t('layouts.logo.alt_text')), root_path) %>
<h1><%= t 'layouts.project_name.h1' %></h1>
</div>
<%= link_to(image_tag("osm_logo.png", :size => "16x16", :border => 0, :alt => t('layouts.logo.alt_text')), root_path) %>
<h1><%= t 'layouts.project_name.h1' %></h1>
</div>
- <div id="content" class="<%= params[:controller] %>_<%= params[:action] %>">
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>
</div>
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>
</div>