Commit d405292388c642117c8300a0a4931fc9a4eb1f66

Authored by gitlabhq
1 parent 9bf39477

project page fixed

app/assets/images/images.png

6.32 KB | W: | H:

8.49 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
app/assets/stylesheets/style.scss
@@ -69,9 +69,14 @@ td { vertical-align: top; } @@ -69,9 +69,14 @@ td { vertical-align: top; }
69 .container_4{width:98%;margin-left:1%;margin-right:1%}.grid_1,.grid_2,.grid_3,.grid_4{display:inline;float:left;position:relative;margin-left:1%;margin-right:1%}.alpha{margin-left:0}.omega{margin-right:0}.container_4 .grid_1{width:23.0%}.container_4 .grid_2{width:48.0%}.container_4 .grid_3{width:73.0%}.container_4 .grid_4{width:98.0%}.container_4 .prefix_1{padding-left:25.0%}.container_4 .prefix_2{padding-left:50.0%}.container_4 .prefix_3{padding-left:75.0%}.container_4 .suffix_1{padding-right:25.0%}.container_4 .suffix_2{padding-right:50.0%}.container_4 .suffix_3{padding-right:75.0%}.container_4 .push_1{left:25.0%}.container_4 .push_2{left:50.0%}.container_4 .push_3{left:75.0%}.container_4 .pull_1{left:-25.0%}.container_4 .pull_2{left:-50.0%}.container_4 .pull_3{left:-75.0%}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block} 69 .container_4{width:98%;margin-left:1%;margin-right:1%}.grid_1,.grid_2,.grid_3,.grid_4{display:inline;float:left;position:relative;margin-left:1%;margin-right:1%}.alpha{margin-left:0}.omega{margin-right:0}.container_4 .grid_1{width:23.0%}.container_4 .grid_2{width:48.0%}.container_4 .grid_3{width:73.0%}.container_4 .grid_4{width:98.0%}.container_4 .prefix_1{padding-left:25.0%}.container_4 .prefix_2{padding-left:50.0%}.container_4 .prefix_3{padding-left:75.0%}.container_4 .suffix_1{padding-right:25.0%}.container_4 .suffix_2{padding-right:50.0%}.container_4 .suffix_3{padding-right:75.0%}.container_4 .push_1{left:25.0%}.container_4 .push_2{left:50.0%}.container_4 .push_3{left:75.0%}.container_4 .pull_1{left:-25.0%}.container_4 .pull_2{left:-50.0%}.container_4 .pull_3{left:-75.0%}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block}
70 /* eo 960gs*/ 70 /* eo 960gs*/
71 71
  72 +/* Vars */
  73 +$color: "#4BB8D2";
  74 +$blue_link: "#2fa0bb";
  75 +/* eo Vars */
72 76
  77 +html{ -webkit-font-smoothing:antialiased; }
73 *{text-shadow: 0 1px 0 white} 78 *{text-shadow: 0 1px 0 white}
74 -body{font-size: 12px} 79 +body{font-size: 12px; background-color: #eee;}
75 a{text-decoration: none; font-weight: bold; color: #666} 80 a{text-decoration: none; font-weight: bold; color: #666}
76 a:hover{color: #333} 81 a:hover{color: #333}
77 /* Typography */ 82 /* Typography */
@@ -84,6 +89,34 @@ input[type="text"]:focus, input[type="password"]:focus { outline: none; } @@ -84,6 +89,34 @@ input[type="text"]:focus, input[type="password"]:focus { outline: none; }
84 input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: 10px} 89 input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: 10px}
85 /* eo Forms */ 90 /* eo Forms */
86 91
  92 +/* Tables */
  93 +table {width:100%; border: 1px solid #DEE2E3}
  94 +table thead{
  95 + -webkit-border-top-left-radius: 5px;
  96 + -webkit-border-top-right-radius: 5px;
  97 + -moz-border-radius-topleft: 5px;
  98 + -moz-border-radius-topright: 5px;
  99 + border-top-left-radius: 5px;
  100 + border-top-right-radius: 5px;
  101 +}
  102 +table thead th{
  103 + background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
  104 + background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
  105 + background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
  106 + background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
  107 + margin: 0;
  108 + font-weight: normal;
  109 + font-weight: bold;
  110 + text-align: left;
  111 + color: #97A0A5;
  112 +}
  113 +td, th{ padding: .9em 1em; vertical-align: middle; }
  114 +
  115 +table thead .image{width:100px}
  116 +table tr:hover, .listed_items tr.odd:hover{background-color:#FFFFCF}
  117 +/* eo Tables */
  118 +
  119 +
87 /* Buttons */ 120 /* Buttons */
88 .grey-button{ 121 .grey-button{
89 border-radius: 5px; 122 border-radius: 5px;
@@ -115,11 +148,9 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: @@ -115,11 +148,9 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding:
115 background-image: -o-linear-gradient(#dbf5f6 79.4%, #c5eef0); 148 background-image: -o-linear-gradient(#dbf5f6 79.4%, #c5eef0);
116 } 149 }
117 150
118 -.button:hover{color: rgba(0,0,0,.8)} 151 +.button:hover {color: rgba(0,0,0,.8)}
119 152
120 -.button.green{  
121 - margin-right: 0;  
122 -} 153 +.button.green {margin-right: 0; }
123 154
124 .button.yellow{ 155 .button.yellow{
125 color: #908054; 156 color: #908054;
@@ -130,6 +161,18 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: @@ -130,6 +161,18 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding:
130 background-image: -o-linear-gradient(#FFEFC3 79.4%, #F3E3B7); 161 background-image: -o-linear-gradient(#FFEFC3 79.4%, #F3E3B7);
131 } 162 }
132 163
  164 +.button.blue{
  165 + color: #417E97;
  166 + border-color: #b2cdec;
  167 + background-image: -webkit-gradient(linear, 0 0, 0 34, color-stop(0.794, #dbe8f6), to(#c7daf1));
  168 + background-image: -webkit-linear-gradient(#dbe8f6 79.4%, #c7daf1);
  169 + background-image: -moz-linear-gradient(#dbe8f6 79.4%, #c7daf1);
  170 + background-image: -o-linear-gradient(#dbe8f6 79.4%, #c7daf1);
  171 +}
  172 +
  173 +.button-small{ text-shadow: none; padding: 4px 10px; }
  174 +.button-green{background: #A6B807; color: white}
  175 +
133 /* eo Buttons */ 176 /* eo Buttons */
134 177
135 /* UI Box */ 178 /* UI Box */
@@ -159,7 +202,6 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: @@ -159,7 +202,6 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding:
159 font-size: 12px; 202 font-size: 12px;
160 } 203 }
161 204
162 -.ui-box h3 a{font-weight: normal;}  
163 205
164 .ui-box .data{padding: .5em 1em} 206 .ui-box .data{padding: .5em 1em}
165 207
@@ -172,6 +214,8 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: @@ -172,6 +214,8 @@ input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding:
172 border-bottom-left-radius: 5px; 214 border-bottom-left-radius: 5px;
173 } 215 }
174 216
  217 +.ui-box .buttons .button{padding: 8px 9px; font-size: 11px}
  218 +
175 .ui-box.hover:hover{box-shadow: 0 0 10px rgba(0,0,0,.1); border: 1px solid #ccc; 219 .ui-box.hover:hover{box-shadow: 0 0 10px rgba(0,0,0,.1); border: 1px solid #ccc;
176 220
177 -webkit-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715); 221 -webkit-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
@@ -225,7 +269,32 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%} @@ -225,7 +269,32 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
225 .login-box a.forgot{float: right; padding-top: 6px} 269 .login-box a.forgot{float: right; padding-top: 6px}
226 270
227 271
  272 +/* Icons */
  273 +.directory, .file{
  274 + display: inline-block;
  275 + margin-right: 10px;
  276 + width: 14px;
  277 +}
  278 +
  279 +.directory{
  280 + background: url('images.png') no-repeat -73px -26px;
  281 + height: 11px;
  282 + margin-bottom: -1px;
  283 +}
  284 +
  285 +.file{
  286 + background: url('images.png') no-repeat -114px -24px;
  287 + height: 16px;
  288 + margin-bottom: -3px;
  289 +}
  290 +
  291 +/* eo Icons*/
  292 +
228 /* General */ 293 /* General */
  294 +#container{background-color: white; overflow: hidden;}
  295 +/*#container{margin: auto; width: 980px; border: 1px solid rgba(0,0,0,.22); border-top: 0; box-shadow: 0 0 0px 4px rgba(0,0,0,.04)}*/
  296 +
  297 +
229 298
230 /* Header */ 299 /* Header */
231 header{background: #474D57 url('bg-header.png') repeat-x bottom; z-index: 10000; height: 44px; padding: 10px 2% 6px 2%} 300 header{background: #474D57 url('bg-header.png') repeat-x bottom; z-index: 10000; height: 44px; padding: 10px 2% 6px 2%}
@@ -234,15 +303,20 @@ header a:hover{color: #f1f1f1} @@ -234,15 +303,20 @@ header a:hover{color: #f1f1f1}
234 header h1{ 303 header h1{
235 width: 65px; 304 width: 65px;
236 } 305 }
237 -header h1.logo{  
238 - background: url('images.png') no-repeat -3px -6px;  
239 - width: 65px;  
240 - height: 26px; 306 +header h1.logo{margin: 0; padding: 0}
  307 +header h1.logo a{
  308 + background: url('images.png') no-repeat -3px -7px;
  309 + width: 65px;
  310 + height: 26px;
241 margin: 5px 0; 311 margin: 5px 0;
242 padding: 0; 312 padding: 0;
  313 + display: block;
243 float: left; 314 float: left;
244 text-indent: -1000em; 315 text-indent: -1000em;
245 } 316 }
  317 +
  318 +
  319 +
246 header nav{border-radius: 4px; box-shadow: 0 1px 2px black; width: 294px; margin: auto; 320 header nav{border-radius: 4px; box-shadow: 0 1px 2px black; width: 294px; margin: auto;
247 background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#31363e)); 321 background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#31363e));
248 background-image: -webkit-linear-gradient(#595d63 6.6%, #31363e); 322 background-image: -webkit-linear-gradient(#595d63 6.6%, #31363e);
@@ -282,9 +356,42 @@ header nav a.admin{ @@ -282,9 +356,42 @@ header nav a.admin{
282 border-top-right-radius: 4px; 356 border-top-right-radius: 4px;
283 border-bottom-right-radius: 4px; 357 border-bottom-right-radius: 4px;
284 } 358 }
285 -header nav a.dashboard span{background: url('images.png') no-repeat -161px -4px; width: 20px; height: 20px; }  
286 -header nav a.admin span{background: url('images.png') no-repeat -184px -4px; width: 20px; height: 20px;}  
287 -header nav a.project span{background: url('images.png') no-repeat -209px -5px; width: 20px; height: 18px; top: 7px} 359 +
  360 +
  361 +header .search{ display: inline-block; float: right; margin-right: 10px}
  362 +
  363 +header nav a span{width: 20px; height: 20px; display: inline-block; background: red; position: absolute; left: 8px; top: 6px;}
  364 +
  365 +header nav a.dashboard span{background: url('images.png') no-repeat -161px 0;}
  366 +header nav a.admin span{background: url('images.png') no-repeat -184px 0;}
  367 +header nav a.project span{background: url('images.png') no-repeat -209px -1px; top: 7px}
  368 +/*
  369 +
  370 +header nav a span{width: 20px; height: 20px; display: inline-block; background: red; position: absolute; left: 8px; top: 14px;}
  371 +
  372 +header nav a.dashboard.current span{ background-position: -163px -22px; }
  373 +header nav a.admin.current span{ background-position: -186px -22px;}
  374 +header nav a.project.current span{ background-position: -211px -23px;}
  375 +
  376 +header nav a.project span{background: url('images.png') no-repeat -209px -1px; top: 15px}
  377 +
  378 +
  379 +header nav a span.current{top: 18px}
  380 +
  381 +
  382 +header nav {margin-left: 180px; display: inline-block; float: left;}
  383 +header nav a{float: left; background: #31363e; padding: 16px 20px 20px 34px; margin-right: 10px;
  384 + -webkit-border-top-left-radius: 5px;
  385 + -webkit-border-top-right-radius: 5px;
  386 + -moz-border-radius-topleft: 5px;
  387 + -moz-border-radius-topright: 5px;
  388 + border-top-left-radius: 5px;
  389 + border-top-right-radius: 5px;
  390 + position: relative;
  391 +}
  392 +
  393 +header nav a.current{background: white; color: #333; text-shadow: none;}
  394 +*/
288 395
289 header .login-top{float: right; width: 180px; 396 header .login-top{float: right; width: 180px;
290 background-image: -webkit-gradient(linear, 0 0, 0 62, color-stop(0.032, #464c56), to(#363c45)); 397 background-image: -webkit-gradient(linear, 0 0, 0 62, color-stop(0.032, #464c56), to(#363c45));
@@ -302,7 +409,8 @@ header .login-top a.username{margin-bottom: 5px} @@ -302,7 +409,8 @@ header .login-top a.username{margin-bottom: 5px}
302 header .login-top a.logout{color: #ccc} 409 header .login-top a.logout{color: #ccc}
303 header{margin-bottom: 0; clear: both; } 410 header{margin-bottom: 0; clear: both; }
304 411
305 -.page-title{background-color: #f1f1f1;display: block; float: left; clear: both; width: 98%; padding: 0 1%; border-bottom: 1px solid #ccc; box-shadow: 0 -1px 0 white inset; margin-bottom: 1.5em} 412 +.page-title{background-color: #f1f1f1;display: block; float: left; clear: both; width: 98%; padding: 1% 1%; border-bottom: 1px solid #ccc; box-shadow: 0 -1px 0 white inset; margin-bottom: 1.5em}
  413 +.page-title h1{font-size: 20px; width: 400px; margin: 0; padding-top: 8px }
306 .page-title a.grey-button{float: right;} 414 .page-title a.grey-button{float: right;}
307 .right{float: right;} 415 .right{float: right;}
308 416
@@ -366,57 +474,73 @@ header a.arrow-up{ @@ -366,57 +474,73 @@ header a.arrow-up{
366 border-bottom: 5px solid white; 474 border-bottom: 5px solid white;
367 } 475 }
368 /* eo Account Box */ 476 /* eo Account Box */
369 -input.search-input{float: right; text-shadow: none; width: 216px; background-image: url('icon-search.png') ; background-repeat: no-repeat; background-position: 10px; border-radius: 100px; border: 1px solid rgba(0,0,0,.7); box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 2px rgba(0,0,0,.4) inset ; background-color: #D2D5DA; background-color: rgba(255,255,255,.5); padding: 5px; padding-left: 26px; margin-top: 4px; margin-right: 10px }  
370 -input.search-input:focus{ background-color: white; } 477 +input.search-input{float: left; text-shadow: none; width: 116px; background-image: url('icon-search.png') ; background-repeat: no-repeat; background-position: 10px; border-radius: 100px; border: 1px solid rgba(0,0,0,.7); box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 2px rgba(0,0,0,.4) inset ; background-color: #D2D5DA; background-color: rgba(255,255,255,.5); padding: 5px; padding-left: 26px; margin-top: 4px; margin-right: 10px }
  478 +input.search-input:focus{ background-color: white; width: 216px;}
371 input.search-input::-webkit-input-placeholder {color: #666} 479 input.search-input::-webkit-input-placeholder {color: #666}
372 /* eo Header */ 480 /* eo Header */
373 481
374 482
375 -h2.icon{position: relative; padding-left: 36px}  
376 -h2.icon span{background: #E3E5EA; height: 26px; width: 26px; left: 0; top: -2px; border-radius: 4px; display: inline-block; position: absolute}  
377 -  
378 -.button-small{ text-shadow: none; padding: 4px 10px; }  
379 -.button-green{background: #A6B807; color: white}  
380 -  
381 - 483 +h2.icon{position: relative; padding-left: 40px; float: left; }
  484 +/*h2 a{font-weight: normal;}*/
  485 +h2.icon span{background: #E3E5EA url('images.png'); height: 32px; width: 32px; left: 0; top: -5px; border-radius: 4px; display: inline-block; position: absolute}
382 486
383 487
384 488
385 /* Dashboard Page */ 489 /* Dashboard Page */
386 -.dashboard-page header{margin-bottom: 0}  
387 -.dashboard-page .news-feed{padding-left: 1em; margin-right: 450px; margin-left: 1%}  
388 -  
389 -.dashboard-content{ position: absolute; float: left; width: 100%; height: 100%;}  
390 -.dashboard-page .news-feed h2{float: left;}  
391 -.dashboard-page aside{ width: 420px; float: right; right: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; border-left: 1px solid #ccc }  
392 -.dashboard-page aside h4{margin: 0; border-bottom: 1px solid #ccc; padding: 10px 10px; font-size: 11px; font-weight: bold; text-transform: uppercase;}  
393 -.dashboard-page aside h4 a.button-small{float: right; text-transform: none; border-radius: 4px; margin-top: -4px; display: block;}  
394 -.dashboard-page aside .project-list {list-style: none; margin: 0; padding: 0;}  
395 -.dashboard-page aside .project-list li a {background: white; color: #4BB8D2; display: block; border-bottom: 1px solid #eee; padding: 14px 6% 14px 14px;}  
396 -.dashboard-page aside .project-list li a:hover {background: #f1f1f1}  
397 -.dashboard-page aside .project-list li a:hover span.arrow{background-color: #E3E5EA;}  
398 -.dashboard-page aside .project-list li a span.project-name{font-size: 14px; display: block; margin-bottom: 8px}  
399 -.dashboard-page aside .project-list li a span.time{color: #666; font-weight: normal; font-size: 11px}  
400 -.dashboard-page aside .project-list li a span.arrow{float: right; background: #E3E5EA; padding: 10px; border-radius: 5px; margin-top: 2px; text-shadow: none; color: #999}  
401 -.dashboard-page .news-feed .project-updates {margin-bottom: 20px;}  
402 -.dashboard-page .news-feed .project-updates .data{ padding: 0}  
403 -.dashboard-page .news-feed .project-updates a.project-update {padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}  
404 -.dashboard-page .news-feed .project-updates a.project-update:last-child{border-bottom: 0}  
405 -.dashboard-page .news-feed .project-updates a.project-update img{float: left; margin-right: 10px;}  
406 -.dashboard-page .news-feed .project-updates a.project-update span.update-title, .dashboard-page .news-feed .project-updates li a span.update-author{display: block;}  
407 -.dashboard-page .news-feed .project-updates a.project-update span.update-title{margin-bottom: 10px}  
408 -.dashboard-page .news-feed .project-updates a.project-update span.update-author{color: #999; font-weight: normal; font-style: italic;}  
409 -.dashboard-page .news-feed .project-updates a.project-update span.update-author strong{font-weight: bold; font-style: normal;} 490 +html, body { height: 100%; }
  491 +
  492 +body.dashboard-page h2.icon span{ background-position: 9px -69px; }
  493 +body.dashboard-page header{margin-bottom: 0}
  494 +body.dashboard-page .news-feed{padding-left: 1em; margin-right: 450px; margin-left: 1%}
  495 +body.dashboard-page .dashboard-content{ position: relative; float: left; width: 100%; height: 100%; }
  496 +body.dashboard-page .news-feed h2{float: left;}
  497 +body.dashboard-page aside{ width: 420px; float: right; right: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; border-left: 1px solid #ccc }
  498 +body.dashboard-page aside h4{margin: 0; border-bottom: 1px solid #ccc; padding: 10px 10px; font-size: 11px; font-weight: bold; text-transform: uppercase;}
  499 +body.dashboard-page aside h4 a.button-small{float: right; text-transform: none; border-radius: 4px; margin-right: 4%; margin-top: -4px; display: block;}
  500 +body.dashboard-page aside .project-list {list-style: none; margin: 0; padding: 0;}
  501 +body.dashboard-page aside .project-list li a {background: white; color: #{$blue_link}; display: block; border-bottom: 1px solid #eee; padding: 14px 6% 14px 14px;}
  502 +body.dashboard-page aside .project-list li a:hover {background: #f1f1f1}
  503 +body.dashboard-page aside .project-list li a:hover span.arrow{background-color: #E3E5EA;}
  504 +body.dashboard-page aside .project-list li a span.project-name{font-size: 14px; display: block; margin-bottom: 8px}
  505 +body.dashboard-page aside .project-list li a span.time{color: #666; font-weight: normal; font-size: 11px}
  506 +body.dashboard-page aside .project-list li a span.arrow{float: right; background: #E3E5EA; padding: 10px; border-radius: 5px; margin-top: 2px; text-shadow: none; color: #999}
  507 +body.dashboard-page .news-feed .project-updates {margin-bottom: 20px; display: block; width: 100%;}
  508 +body.dashboard-page .news-feed .project-updates .data{ padding: 0}
  509 +body.dashboard-page .news-feed .project-updates a.project-update {padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
  510 +body.dashboard-page .news-feed .project-updates a.project-update:last-child{border-bottom: 0}
  511 +body.dashboard-page .news-feed .project-updates a.project-update img{float: left; margin-right: 10px;}
  512 +body.dashboard-page .news-feed .project-updates a.project-update span.update-title, .dashboard-page .news-feed .project-updates li a span.update-author{display: block;}
  513 +body.dashboard-page .news-feed .project-updates a.project-update span.update-title{margin-bottom: 10px}
  514 +body.dashboard-page .news-feed .project-updates a.project-update span.update-author{color: #999; font-weight: normal; font-style: italic;}
  515 +body.dashboard-page .news-feed .project-updates a.project-update span.update-author strong{font-weight: bold; font-style: normal;}
410 /* eo Dashboard Page */ 516 /* eo Dashboard Page */
411 517
412 518
  519 +.grey-button.right{margin-top: 20px}
413 520
414 /* Project Page */ 521 /* Project Page */
415 -.project-page .page-title{margin-bottom: 0}  
416 -.project-page .project-sidebar {width: 220px; margin-right: 1%; background: #f7f7f7; overflow: hidden; padding: 20px 0 20px 2%; margin: 0}  
417 -.project-page .project-sidebar input.text.git-url{width: 90%; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 3% 2%; margin: 0% 10% 7% 0}  
418 -.project-page .project-sidebar aside a{display: block; background: white; padding: 15px 10px; border-bottom: 1px solid #eee}  
419 -.project-page .project-sidebar aside a:first-child{ 522 +
  523 +body.project-page h2.icon .project-name, body.project-page h2.icon d{border: 1px solid #eee; padding: 5px 30px 5px 10px; border-radius: 5px; position: relative;}
  524 +body.project-page h2.icon .project-name i.arrow{float: right;
  525 + position: absolute;
  526 + right: 10px;
  527 + top: 13px;
  528 + display: block;
  529 + background: url('images.png') no-repeat -97px -29px;
  530 + width: 4px;
  531 + height: 5px;
  532 +}
  533 +
  534 +
  535 +
  536 +body.project-page h2.icon span{ background-position: -78px -68px; }
  537 +body.project-page .project-container{ position: relative; float: left; width: 100%; height: 100%; }
  538 +body.project-page .page-title{margin-bottom: 0}
  539 +body.project-page .project-sidebar {width: 220px; left: 0; top: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; border-left: 1px solid #ccc; float: left; display: inline-block; background: #f7f7f7; padding: 20px 0 20px 2%; margin: 0; }
  540 +body.project-page .project-sidebar input.text.git-url{ font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 8px 14px 8px 30px; margin-bottom: 20px; background: white url('images.png') no-repeat 8px -40px;}
  541 +body.project-page .project-sidebar aside{width: 219px}
  542 +body.project-page .project-sidebar aside a{display: block; position: relative; background: white; padding: 15px 10px; border-bottom: 1px solid #eee}
  543 +body.project-page .project-sidebar aside a:first-child{
420 -webkit-border-top-left-radius: 5px; 544 -webkit-border-top-left-radius: 5px;
421 -moz-border-radius-topleft: 5px; 545 -moz-border-radius-topleft: 5px;
422 border-top-left-radius: 5px; 546 border-top-left-radius: 5px;
@@ -426,16 +550,70 @@ h2.icon span{background: #E3E5EA; height: 26px; width: 26px; left: 0; top: -2px; @@ -426,16 +550,70 @@ h2.icon span{background: #E3E5EA; height: 26px; width: 26px; left: 0; top: -2px;
426 -moz-border-radius-bottomleft: 5px; 550 -moz-border-radius-bottomleft: 5px;
427 border-bottom-left-radius: 5px; 551 border-bottom-left-radius: 5px;
428 } 552 }
429 -.project-page .project-sidebar aside a.current{background-color: #4bb8d2; color: white; text-shadow: none; border-color: transparent}  
430 -.project-page .project-content{ float: left; padding: 20px}  
431 -.project-page .project-content h2{margin-top: 0} 553 +body.project-page .project-sidebar aside a:hover{background-color: #eee;}
  554 +body.project-page .project-sidebar aside a span.number{float: right; border-radius: 5px; text-shadow: none; background: rgba(0,0,0,.12); text-align: center; padding: 5px 8px; position: absolute; top: 10px; right: 10px}
  555 +body.project-page .project-sidebar aside a.current{background-color: #79c3e0; color: white; text-shadow: none; border-color: transparent}
  556 +body.project-page .project-content{ padding: 20px; display: block; margin-left: 250px }
  557 +body.project-page .project-content h2{ margin-top: 6px}
  558 +body.project-page .project-content .button.right{margin-left: 20px}
  559 +body.project-page table .commit a{color: #{$blue_link}}
  560 +body.project-page table th, body.project-page table td{ border-bottom: 1px solid #DEE2E3;}
  561 +body.project-page .fixed{position: fixed; }
  562 +
  563 +/* Commit Page */
  564 +body.project-page.commits-page .commit-info{float: right;}
  565 +body.project-page.commits-page .commit-info data{
  566 + padding: 4px 10px;
  567 + font-size: 11px;
  568 +}
  569 +body.project-page.commits-page .commit-info data.commit-button{
  570 + background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.192, #fff), to(#f4f4f4));
  571 + background-image: -webkit-linear-gradient(#fff 19.2%, #f4f4f4);
  572 + background-image: -moz-linear-gradient(#fff 19.2%, #f4f4f4);
  573 + background-image: -o-linear-gradient(#fff 19.2%, #f4f4f4);
  574 + box-shadow: 0 -1px 0 white inset;
  575 + display: block;
  576 + border: 1px solid #eee;
  577 + border-radius: 5px;
  578 + margin-bottom: 2px;
  579 + position: relative;
  580 + padding-right: 20px;
  581 +}
  582 +
  583 +
  584 +body.project-page.commits-page .commit-button i{
  585 + background: url('images.png') no-repeat -138px -27px;
  586 + width: 6px;
  587 + height: 9px;
  588 + float: right;
  589 + position: absolute;
  590 + top: 6px;
  591 + right: 5px;
  592 +}
  593 +body.project-page.commits-page .commits-date {display: block; width: 100%; margin-bottom: 20px}
  594 +body.project-page.commits-page .commits-date .data {padding: 0}
  595 +body.project-page.commits-page a.commit{padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
  596 +body.project-page.commits-page .commits-date a.commit {padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
  597 +body.project-page.commits-page .commits-date a.commit:last-child{border-bottom: 0}
  598 +body.project-page.commits-page .commits-date a.commit img{float: left; margin-right: 10px;}
  599 +body.project-page.commits-page .commits-date a.commit span.commit-title{display: block;}
  600 +body.project-page.commits-page .commits-date a.commit span.commit-title{margin-bottom: 10px}
  601 +body.project-page.commits-page .commits-date a.commit span.commit-author{color: #999; font-weight: normal; font-style: italic;}
  602 +body.project-page.commits-page .commits-date a.commit span.commit-author strong{font-weight: bold; font-style: normal;}
  603 +
  604 +/* eo Commit Page */
  605 +
432 /* eo Project Page */ 606 /* eo Project Page */
433 607
  608 +
  609 +
  610 +
434 /* Projects Page */ 611 /* Projects Page */
435 -.project-box.ui-box .data .repository {margin-bottom: 20px}  
436 -.project-box.ui-box .data .title span{width: 80px; text-align: right; padding-right: 10px; display: inline-block; font-weight: bold;}  
437 -.project-box{width: 100%; margin-bottom: 3em}  
438 -.browse-code{margin-right: 10px} 612 +body.projects-page h2.icon span{background-position: -31px -70px;}
  613 +body.projects-page .project-box.ui-box .data .repository {margin-bottom: 20px}
  614 +body.projects-page .project-box.ui-box .data .title span{ font-weight: bold;}
  615 +body.projects-page .project-box{width: 100%; margin-bottom: 3em}
  616 +body.projects-page .browse-code{margin-right: 10px}
439 /* eo Projects Page */ 617 /* eo Projects Page */
440 618
441 619
app/views/layouts/_page_title.html.haml
1 - if content_for?(:page_title) 1 - if content_for?(:page_title)
2 = yield :page_title 2 = yield :page_title
3 - else 3 - else
4 - .grid-4 4 + .grid_4
5 .container_3 5 .container_3
6 %h2.icon 6 %h2.icon
7 %span= controller.controller_name.capitalize 7 %span= controller.controller_name.capitalize
app/views/layouts/application.html.haml
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 = javascript_tag do 14 = javascript_tag do
15 REQ_URI = "#{request.env["REQUEST_URI"]}"; 15 REQ_URI = "#{request.env["REQUEST_URI"]}";
16 REQ_REFFER = "#{request.env["HTTP_REFERER"]}"; 16 REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
17 - %body#thebody 17 + %body{ :class => yield(:body_class), :id => yield(:boyd_id)}
18 #container 18 #container
19 = render :partial => "layouts/flash" 19 = render :partial => "layouts/flash"
20 = render :partial => "layouts/head_panel" 20 = render :partial => "layouts/head_panel"
app/views/projects/_tile.html.haml
1 - @projects.in_groups_of(3, false) do |projects| 1 - @projects.in_groups_of(3, false) do |projects|
2 - projects.each_with_index do |project, i| 2 - projects.each_with_index do |project, i|
3 %div.grid_1 3 %div.grid_1
4 - %div{ :class => "project-box ui-box ui-box-big", :style => i == 2 ? "" : "margin-right:30px;" } 4 + %div{ :class => "project-box ui-box ui-box-big" }
5 = link_to project_path(project) do 5 = link_to project_path(project) do
6 %h3= project.name 6 %h3= project.name
7 .data 7 .data
app/views/projects/index.html.haml
  1 +- content_for(:body_class, "projects-page")
1 - content_for(:page_title) do 2 - content_for(:page_title) do
2 - .grid-4  
3 - %h2.icon  
4 - - if current_user.can_create_project?  
5 - %a.grey-button.right{:href => new_project_path} Create new project 3 + .grid_4
  4 + - if current_user.can_create_project?
  5 + %a.grey-button.right{:href => new_project_path} Create new project
  6 + %h2.icon
6 %span 7 %span
7 Projects 8 Projects
8 9