Permalink
Browse files

1. 左右留白的居中设计; 2. 用户管理列表分栏为两栏

  • Loading branch information...
1 parent d91aecf commit 3b77eb32e21334111712996b4a536ec22bebb411 @liudangyi liudangyi committed Nov 3, 2012
@@ -68,8 +68,12 @@ a.black {
html {
min-height: 100%;
}
+body {
+ background-color: white;
+}
body > * {
- width: 100%;
+ width: 1100px;
+ margin: 0 auto;
}
#top-banner {
@@ -32,7 +32,7 @@
// Scaffolding
// -------------------------
-@bodyBackground: #860000;
+@bodyBackground: #FFFFFF;
@textColor: @grayDark;
@@ -1,10 +1,11 @@
- content_for :style do
less:
.user-list > div {
+ width: 270px;
+ float: left;
position: relative;
& > a.card {
- padding: 5px;
- margin: 5px;
+ padding: 5px 10px;
display: block;
text-decoration: none;
height: 50px;
@@ -33,7 +34,7 @@
}
-.offset1.span5.user-list
+.user-list
- @users.each do |user|
div
= link_to edit_user_manage_path(user), class: 'card' do

0 comments on commit 3b77eb3

Please sign in to comment.