lib/active_admin/stylesheets/active_admin.scss in activeadmin-0.2.1 vs lib/active_admin/stylesheets/active_admin.scss in activeadmin-0.2.2
- old
+ new
@@ -54,11 +54,11 @@
}
}
}
// ----------------------------------- Main Structure
-#content {
+#active_admin_content {
margin: 0;
padding: 25px $horizontal-page-margin;
#main_content_wrapper {
float: left;
@@ -220,10 +220,13 @@
padding: 2px 5px;
}
.previous_page, .next_page { display:none; }
}
+
+.index_content { clear: both; }
+
// -------------------------------------- Index as Grid
table.index_grid td { border: none; background: none; padding: 0 20px 20px 0; margin: 0;}
// -------------------------------------- Filter Forms
@@ -266,11 +269,11 @@
background: #e8e9ea;
#content_wrapper{
width: 500px;
margin: 70px auto;
- #content {
+ #active_admin_content {
@include shadow;
background: #fff;
padding: 13px 30px;
}
}
@@ -340,11 +343,14 @@
width: 100%;
td { border-bottom: none; }
.dashboard_section { @include section; }
}
+
// -------------------------------------- Resource Attributes Table
+.attributes_table { overflow: hidden; }
+
.attributes_table table {
th, td {
padding: 8px $cell-horizontal-padding 6px $cell-horizontal-padding;
vertical-align: top;
border-bottom: 1px solid #e8e8e8;
@@ -368,9 +374,10 @@
}
}
}
.sidebar_section .attributes_table th { width: 50px; }
+
// -------------------------------------- Status Tags
.status {
background: darken($secondary-color, 15%);
color: #fff;