bottom: 0px;
}
-#content.site_index,
-#content.site_edit,
-#content.site_export {
+.site-index #content,
+.site-edit #content,
+.site-export #content {
border: 0px;
padding: 0px;
}
/* Rules for the home page */
-.site_index #map {
+.site-index #map {
position: absolute;
top: 0px;
bottom: 0px;
right: 0px;
}
-.site_export #map {
+.site-export #map {
position: absolute;
top: 0px;
bottom: 0px;
/* Rules for the edit page */
-.site_edit #map {
+.site-edit #map {
position: absolute;
top: 0px;
bottom: 0px;
/* Rules for the user view */
-.user_view .user_map {
+.user-view .user_map {
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;
/* 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 */
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
float: right;
}
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
float: right;
}
/* Rules for the user view */
-.user_view img.user_image {
+.user-view img.user_image {
float: right;
}
-.user_view .user_map {
+.user-view .user_map {
float: right;
}
/* 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 */
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
float: left;
}
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
float: left;
}
/* Rules for the user view */
-.user_view img.user_image {
+.user-view img.user_image {
float: left;
}
-.user_view .user_map {
+.user-view .user_map {
float: left;
}
border-right: 0px;
}
-#content.site_index {
+.site-index #content {
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>
- <div id="content" class="<%= params[:controller] %>_<%= params[:action] %>">
+ <div id="content">
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>
</div>