Skip to content

Commit

Permalink
Merge branch 'ui_work'
Browse files Browse the repository at this point in the history
  • Loading branch information
HashNuke committed Mar 28, 2012
2 parents 658b867 + 2927623 commit 0b7d6be
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'bushido'

# Server/transport gems
gem 'thin'
gem 'faye'
gem 'bushido-faye'

# Helper gems
gem 'kaminari'
Expand Down
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ GEM
json (>= 1.4.6)
orm_adapter (~> 0.0.3)
rest-client (>= 1.6.1)
bushido-faye (0.8.1)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.4.0)
rack (>= 1.0.0)
yajl-ruby (>= 1.0.0)
cocaine (0.2.1)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -81,13 +88,6 @@ GEM
factory_girl_rails (1.7.0)
factory_girl (~> 2.6.0)
railties (>= 3.0.0)
faye (0.8.1)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.4.0)
rack (>= 1.0.0)
yajl-ruby (>= 1.0.0)
faye-websocket (0.4.4)
eventmachine (>= 0.12.0)
highline (1.6.11)
Expand Down Expand Up @@ -199,13 +199,13 @@ DEPENDENCIES
aws-sdk
bourbon
bushido
bushido-faye
coffee-rails (~> 3.2.1)
devise
devise_bushido_authenticatable
eco
execjs
factory_girl_rails
faye
jquery-rails
kaminari
paperclip
Expand Down
1 change: 0 additions & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
//= require jquery-ui
//= require jquery_ujs
//= require lib/jquery.filedrop
//= require jquery.remotipart
//= require lib/underscore
//= require lib/backbone
//= require backbone/kandan
Expand Down
20 changes: 12 additions & 8 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $header-height: 30px;
$header-bg-1: #566569;
$header-bg-2: #3F494B;
$search-bg: #5D676B;
$search-color: #CCC;

$widget-title-color: #7F8587;
$widget-title-bg-1: #F3F8F9;
Expand All @@ -37,6 +38,7 @@ body {
height: 90%;
min-height: 90%;
font-size: 13px;
font-family: 'PT Sans', sans-serif;
}


Expand Down Expand Up @@ -73,6 +75,7 @@ body {
@include border-radius(20px);
width: 100%;
background: $search-bg;
color: $search-color;
border: 2px solid darken($search-bg, 10%);
// @include box-shadow(inset -5px -5px -5px #505A5D);
}
Expand Down Expand Up @@ -126,6 +129,7 @@ body {
clear: both;
background: #F3F8F9;
padding-left: 10px;
font-size: 13px;
}

.action_bar {
Expand All @@ -151,11 +155,11 @@ body {
@include background-image(linear-gradient($widget-title-bg-1, $widget-title-bg-2));
@include box-shadow(5px 0px 5px -3px #CCC, -5px 0px 5px -3px #CCC, 0px 5px 5px 0px #CCC);
border-top: 1px solid #EBEFF1;
margin: 0px 20px 0px 20px;
padding: 10px 0px 10px 10px;
position: fixed;
position: relative;
bottom: 20px;
width: $main-area-width - 3.2%;
margin-left: 20px;
margin-right: 21px;

textarea {
@include border-top-left-radius(4px);
Expand Down Expand Up @@ -203,6 +207,8 @@ body {

.ui-tabs-nav {
border-right: 1px solid #404A4D;
position: fixed;
width: 100%
}

.ui-tabs-panel {
Expand All @@ -215,10 +221,10 @@ body {
}

.ui-widget-content {
height: 93%;
min-height: 93%;
margin-bottom: 200px;
// position: relative;
overflow-y: scroll;
margin-top: 20px;
bottom: 80px;
}

.ui-tabs-nav
Expand Down Expand Up @@ -328,7 +334,6 @@ body {
//

.user_list {
font-size: 13px;
padding-bottom: 10px;
float: left;

Expand Down Expand Up @@ -375,7 +380,6 @@ body {
line-height: 25px;
color: #585D5F;
a {
font-size: 12px;
text-decoration: none;
font-weight: bold;
color: #585D5F;
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Kandan</title>
<%= stylesheet_link_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/ui-lightness/jquery-ui.css" %>
<%= stylesheet_link_tag "http://fonts.googleapis.com/css?family=PT+Sans:400,700" %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%- Kandan::Config.broadcaster.assets.each do |asset| %>
Expand Down

0 comments on commit 0b7d6be

Please sign in to comment.