Skip to content

Commit deaacbb

Browse files
committed
A few style updates
1 parent 2439fa9 commit deaacbb

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

lib/generators/active_admin/install/templates/active_admin.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ body {
1515
#header { background-color: #4b4a48; padding: 9px 30px; text-shadow: #222 1px 1px 0; }
1616
#header h1 { display: inline; margin-right: 20px; font-size: 1.1em; color: #94999a; font-weight: normal; text-transform: uppercase; }
1717
#header ul#tabs { margin: 0; padding: 0; display: inline; }
18-
#header ul#tabs li { display: inline; margin-right: 4px; font-size: 1.2em; }
19-
#header ul#tabs li a { text-decoration: none; color: #bbb; padding: 2px 9px 3px 9px; }
18+
#header ul#tabs li { display: inline; margin-right: 4px; font-size: 1.0em; }
19+
#header ul#tabs li a { text-decoration: none; color: #bbb; padding: 4px 10px; }
2020
#header ul#tabs li.current a { -webkit-border-radius: 8px; color: #dfdfdf; background: #777; }
2121

2222
#content { margin: 0; padding: 25px 30px; }
@@ -25,7 +25,7 @@ body {
2525
#content.without_sidebar #main_content{ margin-right: 0; }
2626
#sidebar{ float: left; width: 270px; margin-left: -270px; padding-top: 1.3em; }
2727

28-
#title_bar { position: relative; background: #e4e3e3; margin: 0; padding: 10px 30px; color: #535353; text-shadow: #fff 1px 1px 0;}
28+
#title_bar { position: relative; background: #e4e3e3; background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#dddbdb)); margin: 0; padding: 10px 30px; color: #535353; text-shadow: #fff 1px 1px 0;}
2929
#title_bar .action_items { position: absolute; right: 30px; top: 28px; }
3030
#title_bar .breadcrumb a { color: #777; }
3131
#title_bar .breadcrumb .breadcrumb_sep { color: #aaa; margin: 0 2px; }
@@ -139,6 +139,19 @@ table.dashboard > tbody > tr > td { vertical-align: top; border-bottom: none; }
139139
table.dashboard > tbody > tr:hover > td,
140140
table.dashboard > tbody > tr.odd:hover > td
141141
{ background: none;}
142+
table.dashboard .dashboard_section{ border: 1px solid #eee; padding: 0; -webkit-border-radius: 5px; }
143+
table.dashboard .dashboard_section_content { padding: 0 15px 5px 15px; }
144+
table.dashboard h3 {
145+
margin-top: 0;
146+
background: #eee;
147+
-webkit-border-top-left-radius: 5px;
148+
-webkit-border-top-right-radius: 5px;
149+
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#dddbdb));
150+
padding: 5px;
151+
color: #535353;
152+
font-size: 1.1em;
153+
text-shadow: #fff 1px 1px 0;
154+
}
142155

143156
/* -------------------------------------- Status Labels */
144157
span.status {

0 commit comments

Comments
 (0)