entropi-bootstrap-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/.DS_Store +0 -0
  2. data/.gitignore +7 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +21 -0
  5. data/README.rdoc +87 -0
  6. data/Rakefile +12 -0
  7. data/bootstrap-rails.gemspec +32 -0
  8. data/features/bootstrap_layout.feature +12 -0
  9. data/features/bootstrap_scaffold.feature +80 -0
  10. data/features/step_definitions/common_steps.rb +62 -0
  11. data/features/step_definitions/rails_setup_steps.rb +6 -0
  12. data/features/support/env.rb +6 -0
  13. data/features/support/matchers.rb +7 -0
  14. data/lib/.DS_Store +0 -0
  15. data/lib/bootstrap-rails.rb +1 -0
  16. data/lib/bootstrap/rails.rb +10 -0
  17. data/lib/bootstrap/rails/engine.rb +7 -0
  18. data/lib/bootstrap/rails/railtie.rb +17 -0
  19. data/lib/bootstrap/rails/version.rb +9 -0
  20. data/lib/generators/.DS_Store +0 -0
  21. data/lib/generators/bootstrap.rb +28 -0
  22. data/lib/generators/bootstrap/.DS_Store +0 -0
  23. data/lib/generators/bootstrap/layout/USAGE +25 -0
  24. data/lib/generators/bootstrap/layout/layout_generator.rb +21 -0
  25. data/lib/generators/bootstrap/layout/templates/error_messages_helper.rb +23 -0
  26. data/lib/generators/bootstrap/layout/templates/layout.html.erb +29 -0
  27. data/lib/generators/bootstrap/layout/templates/layout_helper.rb +22 -0
  28. data/lib/generators/bootstrap/scaffold/.DS_Store +0 -0
  29. data/lib/generators/bootstrap/scaffold/USAGE +51 -0
  30. data/lib/generators/bootstrap/scaffold/scaffold_generator.rb +313 -0
  31. data/lib/generators/bootstrap/scaffold/templates/actions/create.rb +8 -0
  32. data/lib/generators/bootstrap/scaffold/templates/actions/destroy.rb +5 -0
  33. data/lib/generators/bootstrap/scaffold/templates/actions/edit.rb +3 -0
  34. data/lib/generators/bootstrap/scaffold/templates/actions/index.rb +3 -0
  35. data/lib/generators/bootstrap/scaffold/templates/actions/new.rb +3 -0
  36. data/lib/generators/bootstrap/scaffold/templates/actions/show.rb +3 -0
  37. data/lib/generators/bootstrap/scaffold/templates/actions/update.rb +8 -0
  38. data/lib/generators/bootstrap/scaffold/templates/controller.rb +3 -0
  39. data/lib/generators/bootstrap/scaffold/templates/fixtures.yml +9 -0
  40. data/lib/generators/bootstrap/scaffold/templates/helper.rb +2 -0
  41. data/lib/generators/bootstrap/scaffold/templates/migration.rb +16 -0
  42. data/lib/generators/bootstrap/scaffold/templates/model.rb +4 -0
  43. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/create.rb +11 -0
  44. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/destroy.rb +6 -0
  45. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/edit.rb +4 -0
  46. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/index.rb +4 -0
  47. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/new.rb +4 -0
  48. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/show.rb +4 -0
  49. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/actions/update.rb +11 -0
  50. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/controller.rb +8 -0
  51. data/lib/generators/bootstrap/scaffold/templates/tests/rspec/model.rb +7 -0
  52. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/create.rb +13 -0
  53. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/destroy.rb +8 -0
  54. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/edit.rb +6 -0
  55. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/index.rb +6 -0
  56. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/new.rb +6 -0
  57. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/show.rb +6 -0
  58. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/actions/update.rb +13 -0
  59. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/controller.rb +5 -0
  60. data/lib/generators/bootstrap/scaffold/templates/tests/shoulda/model.rb +7 -0
  61. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/create.rb +11 -0
  62. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/destroy.rb +6 -0
  63. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/edit.rb +4 -0
  64. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/index.rb +4 -0
  65. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/new.rb +4 -0
  66. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/show.rb +4 -0
  67. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/actions/update.rb +11 -0
  68. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/controller.rb +5 -0
  69. data/lib/generators/bootstrap/scaffold/templates/tests/testunit/model.rb +7 -0
  70. data/lib/generators/bootstrap/scaffold/templates/views/erb/_form.html.erb +14 -0
  71. data/lib/generators/bootstrap/scaffold/templates/views/erb/edit.html.erb +14 -0
  72. data/lib/generators/bootstrap/scaffold/templates/views/erb/index.html.erb +39 -0
  73. data/lib/generators/bootstrap/scaffold/templates/views/erb/new.html.erb +7 -0
  74. data/lib/generators/bootstrap/scaffold/templates/views/erb/show.html.erb +23 -0
  75. data/vendor/assets/css/bootstrap.css +1987 -0
  76. data/vendor/assets/css/bootstrap.min.css +264 -0
  77. data/vendor/assets/css/jquery.bootstrap.css +140 -0
  78. data/vendor/assets/javascripts/bootstrap.js +103 -0
  79. data/vendor/assets/javascripts/jquery.bootstrap.js +143 -0
  80. data/vendor/assets/javascripts/jquery.tablesorter.2.0.5.js +0 -0
  81. metadata +227 -0
@@ -0,0 +1,8 @@
1
+ def create
2
+ @<%= instance_name %> = <%= class_name %>.new(params[:<%= instance_name %>])
3
+ if @<%= instance_name %>.save
4
+ redirect_to <%= item_url %>, :notice => "Successfully created <%= class_name.underscore.humanize.downcase %>."
5
+ else
6
+ render :new
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ def destroy
2
+ @<%= instance_name %> = <%= class_name %>.find(params[:id])
3
+ @<%= instance_name %>.destroy
4
+ redirect_to <%= items_url %>, :notice => "Successfully destroyed <%= class_name.underscore.humanize.downcase %>."
5
+ end
@@ -0,0 +1,3 @@
1
+ def edit
2
+ @<%= instance_name %> = <%= class_name %>.find(params[:id])
3
+ end
@@ -0,0 +1,3 @@
1
+ def index
2
+ @<%= instances_name %> = <%= class_name %>.all
3
+ end
@@ -0,0 +1,3 @@
1
+ def new
2
+ @<%= instance_name %> = <%= class_name %>.new
3
+ end
@@ -0,0 +1,3 @@
1
+ def show
2
+ @<%= instance_name %> = <%= class_name %>.find(params[:id])
3
+ end
@@ -0,0 +1,8 @@
1
+ def update
2
+ @<%= instance_name %> = <%= class_name %>.find(params[:id])
3
+ if @<%= instance_name %>.update_attributes(params[:<%= instance_name %>])
4
+ redirect_to <%= item_url %>, :notice => "Successfully updated <%= class_name.underscore.humanize.downcase %>."
5
+ else
6
+ render :edit
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ class <%= plural_class_name %>Controller < ApplicationController
2
+ <%= controller_methods :actions %>
3
+ end
@@ -0,0 +1,9 @@
1
+ one:
2
+ <%- for attribute in model_attributes -%>
3
+ <%= attribute.name %>: <%= attribute.default %>
4
+ <%- end -%>
5
+
6
+ two:
7
+ <%- for attribute in model_attributes -%>
8
+ <%= attribute.name %>: <%= attribute.default %>
9
+ <%- end -%>
@@ -0,0 +1,2 @@
1
+ module <%= plural_class_name %>Helper
2
+ end
@@ -0,0 +1,16 @@
1
+ class Create<%= class_name.pluralize.delete('::') %> < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :<%= table_name || plural_name.split('/').last %> do |t|
4
+ <%- for attribute in model_attributes -%>
5
+ t.<%= attribute.type %> :<%= attribute.name %>
6
+ <%- end -%>
7
+ <%- unless options[:skip_timestamps] -%>
8
+ t.timestamps
9
+ <%- end -%>
10
+ end
11
+ end
12
+
13
+ def self.down
14
+ drop_table :<%= table_name || plural_name.split('/').last %>
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ class <%= class_name %> < ActiveRecord::Base
2
+ <%= " set_table_name :#{table_name}\n" if table_name -%>
3
+ attr_accessible <%= model_attributes.map { |a| ":#{a.name}" }.join(", ") %>
4
+ end
@@ -0,0 +1,11 @@
1
+ it "create action should render new template when model is invalid" do
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ post :create
4
+ response.should render_template(:new)
5
+ end
6
+
7
+ it "create action should redirect when model is valid" do
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ post :create
10
+ response.should redirect_to(<%= item_path_for_spec('url') %>)
11
+ end
@@ -0,0 +1,6 @@
1
+ it "destroy action should destroy model and redirect to index action" do
2
+ <%= instance_name %> = <%= class_name %>.first
3
+ delete :destroy, :id => <%= instance_name %>
4
+ response.should redirect_to(<%= items_url %>)
5
+ <%= class_name %>.exists?(<%= instance_name %>.id).should be_false
6
+ end
@@ -0,0 +1,4 @@
1
+ it "edit action should render edit template" do
2
+ get :edit, :id => <%= class_name %>.first
3
+ response.should render_template(:edit)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "index action should render index template" do
2
+ get :index
3
+ response.should render_template(:index)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "new action should render new template" do
2
+ get :new
3
+ response.should render_template(:new)
4
+ end
@@ -0,0 +1,4 @@
1
+ it "show action should render show template" do
2
+ get :show, :id => <%= class_name %>.first
3
+ response.should render_template(:show)
4
+ end
@@ -0,0 +1,11 @@
1
+ it "update action should render edit template when model is invalid" do
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ put :update, :id => <%= class_name %>.first
4
+ response.should render_template(:edit)
5
+ end
6
+
7
+ it "update action should redirect when model is valid" do
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ put :update, :id => <%= class_name %>.first
10
+ response.should redirect_to(<%= item_path_for_spec('url') %>)
11
+ end
@@ -0,0 +1,8 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe <%= plural_class_name %>Controller do
4
+ fixtures :all
5
+ render_views
6
+
7
+ <%= controller_methods 'tests/rspec/actions' %>
8
+ end
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe <%= class_name %> do
4
+ it "should be valid" do
5
+ <%= class_name %>.new.should be_valid
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ context "create action" do
2
+ should "render new template when model is invalid" do
3
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
4
+ post :create
5
+ assert_template 'new'
6
+ end
7
+
8
+ should "redirect when model is valid" do
9
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
10
+ post :create
11
+ assert_redirected_to <%= item_path_for_test('url') %>
12
+ end
13
+ end
@@ -0,0 +1,8 @@
1
+ context "destroy action" do
2
+ should "destroy model and redirect to index action" do
3
+ <%= instance_name %> = <%= class_name %>.first
4
+ delete :destroy, :id => <%= instance_name %>
5
+ assert_redirected_to <%= items_url %>
6
+ assert !<%= class_name %>.exists?(<%= instance_name %>.id)
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ context "edit action" do
2
+ should "render edit template" do
3
+ get :edit, :id => <%= class_name %>.first
4
+ assert_template 'edit'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "index action" do
2
+ should "render index template" do
3
+ get :index
4
+ assert_template 'index'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "new action" do
2
+ should "render new template" do
3
+ get :new
4
+ assert_template 'new'
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ context "show action" do
2
+ should "render show template" do
3
+ get :show, :id => <%= class_name %>.first
4
+ assert_template 'show'
5
+ end
6
+ end
@@ -0,0 +1,13 @@
1
+ context "update action" do
2
+ should "render edit template when model is invalid" do
3
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
4
+ put :update, :id => <%= class_name %>.first
5
+ assert_template 'edit'
6
+ end
7
+
8
+ should "redirect when model is valid" do
9
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
10
+ put :update, :id => <%= class_name %>.first
11
+ assert_redirected_to <%= item_path_for_test('url') %>
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ require 'test_helper'
2
+
3
+ class <%= plural_class_name %>ControllerTest < ActionController::TestCase
4
+ <%= controller_methods 'tests/shoulda/actions' %>
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class <%= class_name %>Test < ActiveSupport::TestCase
4
+ should "be valid" do
5
+ assert <%= class_name %>.new.valid?
6
+ end
7
+ end
@@ -0,0 +1,11 @@
1
+ def test_create_invalid
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ post :create
4
+ assert_template 'new'
5
+ end
6
+
7
+ def test_create_valid
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ post :create
10
+ assert_redirected_to <%= item_path_for_test('url') %>
11
+ end
@@ -0,0 +1,6 @@
1
+ def test_destroy
2
+ <%= instance_name %> = <%= class_name %>.first
3
+ delete :destroy, :id => <%= instance_name %>
4
+ assert_redirected_to <%= items_url %>
5
+ assert !<%= class_name %>.exists?(<%= instance_name %>.id)
6
+ end
@@ -0,0 +1,4 @@
1
+ def test_edit
2
+ get :edit, :id => <%= class_name %>.first
3
+ assert_template 'edit'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_index
2
+ get :index
3
+ assert_template 'index'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_new
2
+ get :new
3
+ assert_template 'new'
4
+ end
@@ -0,0 +1,4 @@
1
+ def test_show
2
+ get :show, :id => <%= class_name %>.first
3
+ assert_template 'show'
4
+ end
@@ -0,0 +1,11 @@
1
+ def test_update_invalid
2
+ <%= class_name %>.any_instance.stubs(:valid?).returns(false)
3
+ put :update, :id => <%= class_name %>.first
4
+ assert_template 'edit'
5
+ end
6
+
7
+ def test_update_valid
8
+ <%= class_name %>.any_instance.stubs(:valid?).returns(true)
9
+ put :update, :id => <%= class_name %>.first
10
+ assert_redirected_to <%= item_path_for_test('url') %>
11
+ end
@@ -0,0 +1,5 @@
1
+ require 'test_helper'
2
+
3
+ class <%= plural_class_name %>ControllerTest < ActionController::TestCase
4
+ <%= controller_methods 'tests/testunit/actions' %>
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class <%= class_name %>Test < ActiveSupport::TestCase
4
+ def test_should_be_valid
5
+ assert <%= class_name %>.new.valid?
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ <%%= form_for <%= item_path :instance_variable => true %> do |f| %>
2
+
3
+ <% model_attributes.each do |attribute| -%>
4
+ <div class="clearfix">
5
+ <%%= f.label :<%= attribute.name %> %>
6
+ <div class="input">
7
+ <%%= f.<%= attribute.field_type %> :<%= attribute.name %>, :class => "xxlarge" %>
8
+ </div>
9
+ </div>
10
+ <% end -%>
11
+ <div class="actions">
12
+ <%%= f.submit :class => "btn primary float-right"%>
13
+ </div>
14
+ <%% end %>
@@ -0,0 +1,14 @@
1
+ <%% title "Edit <%= singular_name.titleize %>" %>
2
+
3
+ <%= render_form %>
4
+
5
+ <%- if actions? :show, :index -%>
6
+ <p>
7
+ <%- if action? :show -%>
8
+ <%%= link_to "Show", <%= item_path :instance_variable => true %> %> |
9
+ <%- end -%>
10
+ <%- if action? :index -%>
11
+ <%%= link_to "View All", <%= items_path %> %>
12
+ <%- end -%>
13
+ </p>
14
+ <%- end -%>
@@ -0,0 +1,39 @@
1
+ <%% title "<%= plural_name.titleize %>" %>
2
+
3
+ <div class="well">
4
+ <table class="zebra-striped">
5
+ <tr>
6
+ <%- model_attributes.each do |attribute| %>
7
+ <th><%= attribute.human_name.titleize %></th>
8
+ <%- end -%>
9
+ <%- if action? :show -%>
10
+ <th></th>
11
+ <%- end -%>
12
+ <%- if action? :edit -%>
13
+ <th></th>
14
+ <%- end -%>
15
+ <%- if action? :destroy -%>
16
+ <th></th>
17
+ <%- end -%>
18
+ </tr>
19
+ <%% @<%= instances_name %>.each do |<%= instance_name %>| %>
20
+ <tr>
21
+ <%- model_attributes.each do |attribute| %>
22
+ <td><%%= <%= instance_name %>.<%= attribute.name %> %></td>
23
+ <%- end -%>
24
+ <%- if action? :show -%>
25
+ <td><%%= link_to "Show", <%= item_path %> %></td>
26
+ <%- end -%>
27
+ <%- if action? :edit -%>
28
+ <td><%%= link_to "Edit", <%= item_path :action => :edit %> %></td>
29
+ <%- end -%>
30
+ <%- if action? :destroy -%>
31
+ <td><%%= link_to "Destroy", <%= item_path %>, :confirm => 'Are you sure?', :method => :delete %></td>
32
+ <%- end -%>
33
+ </tr>
34
+ <%% end %>
35
+ </table>
36
+ </div>
37
+ <%- if action? :new -%>
38
+ <p><%%= link_to "New <%= singular_name.titleize %>", <%= item_path :action => :new %>, :class => 'btn primary float-right' %></p>
39
+ <%- end -%>
@@ -0,0 +1,7 @@
1
+ <%% title "New <%= singular_name.titleize %>" %>
2
+
3
+ <%= render_form %>
4
+
5
+ <%- if action? :index -%>
6
+ <p><%%= link_to "Back to List", <%= items_path %> %></p>
7
+ <%- end -%>
@@ -0,0 +1,23 @@
1
+ <%% title "<%= singular_name.titleize %> Details" %>
2
+
3
+ <div class="well">
4
+
5
+ <%- model_attributes.each do |attribute| %>
6
+ <p>
7
+ <strong><%= attribute.human_name.titleize %>:</strong>
8
+ <%%= @<%= instance_name %>.<%= attribute.name %> %>
9
+ </p>
10
+ <% end -%>
11
+ </div>
12
+
13
+ <p>
14
+ <%- if action? :edit -%>
15
+ <%%= link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %>, :class => 'btn float-right' %> |
16
+ <%- end -%>
17
+ <%- if action? :destroy -%>
18
+ <%%= link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete, :class => 'btn float-right' %> |
19
+ <%- end -%>
20
+ <%- if action? :index -%>
21
+ <%%= link_to "View All", <%= items_path %>, :class => 'btn float-right' %>
22
+ <%- end -%>
23
+ </p>
@@ -0,0 +1,1987 @@
1
+ /*!
2
+ * Bootstrap v1.2.0
3
+ *
4
+ * Copyright 2011 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ * Date: Mon Sep 12 09:25:40 PDT 2011
10
+ */
11
+ /* Reset.less
12
+ * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
13
+ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
14
+ html, body {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+ h1,
19
+ h2,
20
+ h3,
21
+ h4,
22
+ h5,
23
+ h6,
24
+ p,
25
+ blockquote,
26
+ pre,
27
+ a,
28
+ abbr,
29
+ acronym,
30
+ address,
31
+ cite,
32
+ code,
33
+ del,
34
+ dfn,
35
+ em,
36
+ img,
37
+ q,
38
+ s,
39
+ samp,
40
+ small,
41
+ strike,
42
+ strong,
43
+ sub,
44
+ sup,
45
+ tt,
46
+ var,
47
+ dd,
48
+ dl,
49
+ dt,
50
+ li,
51
+ ol,
52
+ ul,
53
+ fieldset,
54
+ form,
55
+ label,
56
+ legend,
57
+ button,
58
+ table,
59
+ caption,
60
+ tbody,
61
+ tfoot,
62
+ thead,
63
+ tr,
64
+ th,
65
+ td {
66
+ margin: 0;
67
+ padding: 0;
68
+ border: 0;
69
+ font-weight: normal;
70
+ font-style: normal;
71
+ font-size: 100%;
72
+ line-height: 1;
73
+ font-family: inherit;
74
+ }
75
+ table {
76
+ border-collapse: collapse;
77
+ border-spacing: 0;
78
+ }
79
+ ol, ul {
80
+ list-style: none;
81
+ }
82
+ q:before,
83
+ q:after,
84
+ blockquote:before,
85
+ blockquote:after {
86
+ content: "";
87
+ }
88
+ html {
89
+ overflow-y: scroll;
90
+ font-size: 100%;
91
+ -webkit-text-size-adjust: 100%;
92
+ -ms-text-size-adjust: 100%;
93
+ }
94
+ a:focus {
95
+ outline: thin dotted;
96
+ }
97
+ article,
98
+ aside,
99
+ details,
100
+ figcaption,
101
+ figure,
102
+ footer,
103
+ header,
104
+ hgroup,
105
+ nav,
106
+ section {
107
+ display: block;
108
+ }
109
+ audio, canvas, video {
110
+ display: inline-block;
111
+ *display: inline;
112
+ *zoom: 1;
113
+ }
114
+ audio:not([controls]) {
115
+ display: none;
116
+ }
117
+ sub, sup {
118
+ font-size: 75%;
119
+ line-height: 0;
120
+ position: relative;
121
+ vertical-align: baseline;
122
+ }
123
+ sup {
124
+ top: -0.5em;
125
+ }
126
+ sub {
127
+ bottom: -0.25em;
128
+ }
129
+ img {
130
+ border: 0;
131
+ -ms-interpolation-mode: bicubic;
132
+ }
133
+ button,
134
+ input,
135
+ select,
136
+ textarea {
137
+ font-size: 100%;
138
+ margin: 0;
139
+ vertical-align: baseline;
140
+ *vertical-align: middle;
141
+ }
142
+ button, input {
143
+ line-height: normal;
144
+ *overflow: visible;
145
+ }
146
+ button::-moz-focus-inner, input::-moz-focus-inner {
147
+ border: 0;
148
+ padding: 0;
149
+ }
150
+ button,
151
+ input[type="button"],
152
+ input[type="reset"],
153
+ input[type="submit"] {
154
+ cursor: pointer;
155
+ -webkit-appearance: button;
156
+ }
157
+ input[type="search"] {
158
+ -webkit-appearance: textfield;
159
+ -webkit-box-sizing: content-box;
160
+ -moz-box-sizing: content-box;
161
+ box-sizing: content-box;
162
+ }
163
+ input[type="search"]::-webkit-search-decoration {
164
+ -webkit-appearance: none;
165
+ }
166
+ textarea {
167
+ overflow: auto;
168
+ vertical-align: top;
169
+ }
170
+ /* Preboot.less
171
+ * Variables and mixins to pre-ignite any new web development project
172
+ * ------------------------------------------------------------------ */
173
+ .clearfix {
174
+ zoom: 1;
175
+ }
176
+ .clearfix:before, .clearfix:after {
177
+ display: table;
178
+ content: "";
179
+ }
180
+ .clearfix:after {
181
+ clear: both;
182
+ }
183
+ .center-block {
184
+ display: block;
185
+ margin: 0 auto;
186
+ }
187
+ .container {
188
+ width: 940px;
189
+ margin: 0 auto;
190
+ zoom: 1;
191
+ }
192
+ .container:before, .container:after {
193
+ display: table;
194
+ content: "";
195
+ }
196
+ .container:after {
197
+ clear: both;
198
+ }
199
+ .btn.danger,
200
+ .alert-message.danger,
201
+ .btn.danger:hover,
202
+ .alert-message.danger:hover,
203
+ .btn.error,
204
+ .alert-message.error,
205
+ .btn.error:hover,
206
+ .alert-message.error:hover,
207
+ .btn.success,
208
+ .alert-message.success,
209
+ .btn.success:hover,
210
+ .alert-message.success:hover,
211
+ .btn.info,
212
+ .alert-message.info,
213
+ .btn.info:hover,
214
+ .alert-message.info:hover {
215
+ color: #ffffff;
216
+ }
217
+ .btn.danger,
218
+ .alert-message.danger,
219
+ .btn.error,
220
+ .alert-message.error {
221
+ background-color: #c43c35;
222
+ background-repeat: repeat-x;
223
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
224
+ background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
225
+ background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
226
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
227
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
228
+ background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
229
+ background-image: linear-gradient(top, #ee5f5b, #c43c35);
230
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
231
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
232
+ border-color: #c43c35 #c43c35 #882a25;
233
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
234
+ }
235
+ .btn.success, .alert-message.success {
236
+ background-color: #57a957;
237
+ background-repeat: repeat-x;
238
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
239
+ background-image: -moz-linear-gradient(top, #62c462, #57a957);
240
+ background-image: -ms-linear-gradient(top, #62c462, #57a957);
241
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
242
+ background-image: -webkit-linear-gradient(top, #62c462, #57a957);
243
+ background-image: -o-linear-gradient(top, #62c462, #57a957);
244
+ background-image: linear-gradient(top, #62c462, #57a957);
245
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
246
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
247
+ border-color: #57a957 #57a957 #3d773d;
248
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
249
+ }
250
+ .btn.info, .alert-message.info {
251
+ background-color: #339bb9;
252
+ background-repeat: repeat-x;
253
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));
254
+ background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
255
+ background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
256
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));
257
+ background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
258
+ background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
259
+ background-image: linear-gradient(top, #5bc0de, #339bb9);
260
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
261
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
262
+ border-color: #339bb9 #339bb9 #22697d;
263
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
264
+ }
265
+ /*
266
+ * Scaffolding
267
+ * Basic and global styles for generating a grid system, structural layout, and page templates
268
+ * ------------------------------------------------------------------------------------------- */
269
+ .row {
270
+ zoom: 1;
271
+ margin-left: -20px;
272
+ }
273
+ .row:before, .row:after {
274
+ display: table;
275
+ content: "";
276
+ }
277
+ .row:after {
278
+ clear: both;
279
+ }
280
+ .row [class*="span"] {
281
+ display: inline;
282
+ float: left;
283
+ margin-left: 20px;
284
+ }
285
+ .row .span1 {
286
+ width: 40px;
287
+ }
288
+ .row .span2 {
289
+ width: 100px;
290
+ }
291
+ .row .span3 {
292
+ width: 160px;
293
+ }
294
+ .row .span4 {
295
+ width: 220px;
296
+ }
297
+ .row .span5 {
298
+ width: 280px;
299
+ }
300
+ .row .span6 {
301
+ width: 340px;
302
+ }
303
+ .row .span7 {
304
+ width: 400px;
305
+ }
306
+ .row .span8 {
307
+ width: 460px;
308
+ }
309
+ .row .span9 {
310
+ width: 520px;
311
+ }
312
+ .row .span10 {
313
+ width: 580px;
314
+ }
315
+ .row .span11 {
316
+ width: 640px;
317
+ }
318
+ .row .span12 {
319
+ width: 700px;
320
+ }
321
+ .row .span13 {
322
+ width: 760px;
323
+ }
324
+ .row .span14 {
325
+ width: 820px;
326
+ }
327
+ .row .span15 {
328
+ width: 880px;
329
+ }
330
+ .row .span16 {
331
+ width: 940px;
332
+ }
333
+ .row .offset1 {
334
+ margin-left: 80px;
335
+ }
336
+ .row .offset2 {
337
+ margin-left: 140px;
338
+ }
339
+ .row .offset3 {
340
+ margin-left: 200px;
341
+ }
342
+ .row .offset4 {
343
+ margin-left: 260px;
344
+ }
345
+ .row .offset5 {
346
+ margin-left: 320px;
347
+ }
348
+ .row .offset6 {
349
+ margin-left: 380px;
350
+ }
351
+ .row .offset7 {
352
+ margin-left: 440px;
353
+ }
354
+ .row .offset8 {
355
+ margin-left: 500px;
356
+ }
357
+ .row .offset9 {
358
+ margin-left: 560px;
359
+ }
360
+ .row .offset10 {
361
+ margin-left: 620px;
362
+ }
363
+ .row .offset11 {
364
+ margin-left: 680px;
365
+ }
366
+ .row .offset12 {
367
+ margin-left: 740px;
368
+ }
369
+ .row .span-one-third {
370
+ width: 300px;
371
+ }
372
+ .row .span-two-thirds {
373
+ width: 620px;
374
+ }
375
+ .row .offset-one-third {
376
+ margin-left: 340px;
377
+ }
378
+ .row .offset-two-thirds {
379
+ margin-left: 660px;
380
+ }
381
+ html, body {
382
+ background-color: #fff;
383
+ }
384
+ body {
385
+ margin: 0;
386
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
387
+ font-size: 13px;
388
+ font-weight: normal;
389
+ line-height: 18px;
390
+ color: #808080;
391
+ }
392
+ .container {
393
+ width: 940px;
394
+ margin: 0 auto;
395
+ }
396
+ .container-fluid {
397
+ padding: 0 20px;
398
+ zoom: 1;
399
+ }
400
+ .container-fluid:before, .container-fluid:after {
401
+ display: table;
402
+ content: "";
403
+ }
404
+ .container-fluid:after {
405
+ clear: both;
406
+ }
407
+ .container-fluid > .sidebar {
408
+ float: left;
409
+ width: 220px;
410
+ }
411
+ .container-fluid > .content {
412
+ min-width: 700px;
413
+ max-width: 1180px;
414
+ margin-left: 240px;
415
+ }
416
+ a {
417
+ color: #0069d6;
418
+ text-decoration: none;
419
+ line-height: inherit;
420
+ font-weight: inherit;
421
+ }
422
+ a:hover {
423
+ color: #0050a3;
424
+ text-decoration: underline;
425
+ }
426
+ /* Typography.less
427
+ * Headings, body text, lists, code, and more for a versatile and durable typography system
428
+ * ---------------------------------------------------------------------------------------- */
429
+ p {
430
+ font-size: 13px;
431
+ font-weight: normal;
432
+ line-height: 18px;
433
+ margin-bottom: 9px;
434
+ }
435
+ p small {
436
+ font-size: 11px;
437
+ color: #bfbfbf;
438
+ }
439
+ h1,
440
+ h2,
441
+ h3,
442
+ h4,
443
+ h5,
444
+ h6 {
445
+ font-weight: bold;
446
+ color: #404040;
447
+ }
448
+ h1 small,
449
+ h2 small,
450
+ h3 small,
451
+ h4 small,
452
+ h5 small,
453
+ h6 small {
454
+ color: #bfbfbf;
455
+ }
456
+ h1 {
457
+ margin-bottom: 18px;
458
+ font-size: 30px;
459
+ line-height: 36px;
460
+ }
461
+ h1 small {
462
+ font-size: 18px;
463
+ }
464
+ h2 {
465
+ font-size: 24px;
466
+ line-height: 36px;
467
+ }
468
+ h2 small {
469
+ font-size: 14px;
470
+ }
471
+ h3,
472
+ h4,
473
+ h5,
474
+ h6 {
475
+ line-height: 36px;
476
+ }
477
+ h3 {
478
+ font-size: 18px;
479
+ }
480
+ h3 small {
481
+ font-size: 14px;
482
+ }
483
+ h4 {
484
+ font-size: 16px;
485
+ }
486
+ h4 small {
487
+ font-size: 12px;
488
+ }
489
+ h5 {
490
+ font-size: 14px;
491
+ }
492
+ h6 {
493
+ font-size: 13px;
494
+ color: #bfbfbf;
495
+ text-transform: uppercase;
496
+ }
497
+ ul, ol {
498
+ margin: 0 0 18px 25px;
499
+ }
500
+ ul ul,
501
+ ul ol,
502
+ ol ol,
503
+ ol ul {
504
+ margin-bottom: 0;
505
+ }
506
+ ul {
507
+ list-style: disc;
508
+ }
509
+ ol {
510
+ list-style: decimal;
511
+ }
512
+ li {
513
+ line-height: 18px;
514
+ color: #808080;
515
+ }
516
+ ul.unstyled {
517
+ list-style: none;
518
+ margin-left: 0;
519
+ }
520
+ dl {
521
+ margin-bottom: 18px;
522
+ }
523
+ dl dt, dl dd {
524
+ line-height: 18px;
525
+ }
526
+ dl dt {
527
+ font-weight: bold;
528
+ }
529
+ dl dd {
530
+ margin-left: 9px;
531
+ }
532
+ hr {
533
+ margin: 0 0 19px;
534
+ border: 0;
535
+ border-bottom: 1px solid #eee;
536
+ }
537
+ strong {
538
+ font-style: inherit;
539
+ font-weight: bold;
540
+ line-height: inherit;
541
+ }
542
+ em {
543
+ font-style: italic;
544
+ font-weight: inherit;
545
+ line-height: inherit;
546
+ }
547
+ .muted {
548
+ color: #bfbfbf;
549
+ }
550
+ blockquote {
551
+ margin-bottom: 18px;
552
+ border-left: 5px solid #eee;
553
+ padding-left: 15px;
554
+ }
555
+ blockquote p {
556
+ font-size: 14px;
557
+ font-weight: 300;
558
+ line-height: 18px;
559
+ margin-bottom: 0;
560
+ }
561
+ blockquote small {
562
+ display: block;
563
+ font-size: 12px;
564
+ font-weight: 300;
565
+ line-height: 18px;
566
+ color: #bfbfbf;
567
+ }
568
+ blockquote small:before {
569
+ content: '\2014 \00A0';
570
+ }
571
+ address {
572
+ display: block;
573
+ line-height: 18px;
574
+ margin-bottom: 18px;
575
+ }
576
+ code, pre {
577
+ padding: 0 3px 2px;
578
+ font-family: Monaco, Andale Mono, Courier New, monospace;
579
+ font-size: 12px;
580
+ -webkit-border-radius: 3px;
581
+ -moz-border-radius: 3px;
582
+ border-radius: 3px;
583
+ }
584
+ code {
585
+ background-color: #fee9cc;
586
+ color: rgba(0, 0, 0, 0.75);
587
+ padding: 1px 3px;
588
+ }
589
+ pre {
590
+ background-color: #f5f5f5;
591
+ display: block;
592
+ padding: 17px;
593
+ margin: 0 0 18px;
594
+ line-height: 18px;
595
+ font-size: 12px;
596
+ border: 1px solid #ccc;
597
+ border: 1px solid rgba(0, 0, 0, 0.15);
598
+ -webkit-border-radius: 3px;
599
+ -moz-border-radius: 3px;
600
+ border-radius: 3px;
601
+ white-space: pre;
602
+ white-space: pre-wrap;
603
+ word-wrap: break-word;
604
+ }
605
+ /* Forms.less
606
+ * Base styles for various input types, form layouts, and states
607
+ * ------------------------------------------------------------- */
608
+ form {
609
+ margin-bottom: 18px;
610
+ }
611
+ fieldset {
612
+ margin-bottom: 18px;
613
+ padding-top: 18px;
614
+ }
615
+ fieldset legend {
616
+ display: block;
617
+ margin-left: 150px;
618
+ font-size: 20px;
619
+ line-height: 1;
620
+ *margin: 0 0 5px 145px;
621
+ /* IE6-7 */
622
+
623
+ *line-height: 1.5;
624
+ /* IE6-7 */
625
+
626
+ color: #404040;
627
+ }
628
+ form .clearfix {
629
+ margin-bottom: 18px;
630
+ }
631
+ label,
632
+ input,
633
+ select,
634
+ textarea {
635
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
636
+ font-size: 13px;
637
+ font-weight: normal;
638
+ line-height: normal;
639
+ }
640
+ label {
641
+ padding-top: 6px;
642
+ font-size: 13px;
643
+ line-height: 18px;
644
+ float: left;
645
+ width: 130px;
646
+ text-align: right;
647
+ color: #404040;
648
+ }
649
+ div.input {
650
+ margin-left: 150px;
651
+ }
652
+ input[type=checkbox], input[type=radio] {
653
+ cursor: pointer;
654
+ }
655
+ input,
656
+ textarea,
657
+ select,
658
+ .uneditable-input {
659
+ display: inline-block;
660
+ width: 210px;
661
+ height: 18px;
662
+ padding: 4px;
663
+ font-size: 13px;
664
+ line-height: 18px;
665
+ color: #808080;
666
+ border: 1px solid #ccc;
667
+ -webkit-border-radius: 3px;
668
+ -moz-border-radius: 3px;
669
+ border-radius: 3px;
670
+ }
671
+ /* mini reset for non-html5 file types */
672
+ input[type=checkbox], input[type=radio] {
673
+ width: auto;
674
+ height: auto;
675
+ padding: 0;
676
+ margin: 3px 0;
677
+ *margin-top: 0;
678
+ /* IE6-7 */
679
+
680
+ line-height: normal;
681
+ border: none;
682
+ }
683
+ input[type=file] {
684
+ background-color: #fff;
685
+ padding: initial;
686
+ border: initial;
687
+ line-height: initial;
688
+ -webkit-box-shadow: none;
689
+ -moz-box-shadow: none;
690
+ box-shadow: none;
691
+ }
692
+ input[type=button], input[type=reset], input[type=submit] {
693
+ width: auto;
694
+ height: auto;
695
+ }
696
+ select, input[type=file] {
697
+ height: 27px;
698
+ line-height: 27px;
699
+ }
700
+ textarea {
701
+ height: auto;
702
+ }
703
+ .uneditable-input {
704
+ background-color: #eee;
705
+ display: block;
706
+ border-color: #ccc;
707
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
708
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
709
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
710
+ }
711
+ :-moz-placeholder {
712
+ color: #bfbfbf;
713
+ }
714
+ ::-webkit-input-placeholder {
715
+ color: #bfbfbf;
716
+ }
717
+ input, select, textarea {
718
+ -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
719
+ -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
720
+ transition: border linear 0.2s, box-shadow linear 0.2s;
721
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
722
+ -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
723
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
724
+ }
725
+ input:focus, textarea:focus {
726
+ outline: none;
727
+ border-color: rgba(82, 168, 236, 0.8);
728
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
729
+ -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
730
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
731
+ }
732
+ form div.error {
733
+ background: #fae5e3;
734
+ padding: 10px 0;
735
+ margin: -10px 0 10px;
736
+ -webkit-border-radius: 4px;
737
+ -moz-border-radius: 4px;
738
+ border-radius: 4px;
739
+ }
740
+ form div.error > label, form div.error span.help-inline, form div.error span.help-block {
741
+ color: #9d261d;
742
+ }
743
+ form div.error input, form div.error textarea {
744
+ border-color: #c87872;
745
+ -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
746
+ -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
747
+ box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
748
+ }
749
+ form div.error input:focus, form div.error textarea:focus {
750
+ border-color: #b9554d;
751
+ -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
752
+ -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
753
+ box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
754
+ }
755
+ form div.error .input-prepend span.add-on, form div.error .input-append span.add-on {
756
+ background: #f4c8c5;
757
+ border-color: #c87872;
758
+ color: #b9554d;
759
+ }
760
+ .input-mini,
761
+ input.mini,
762
+ textarea.mini,
763
+ select.mini {
764
+ width: 60px;
765
+ }
766
+ .input-small,
767
+ input.small,
768
+ textarea.small,
769
+ select.small {
770
+ width: 90px;
771
+ }
772
+ .input-medium,
773
+ input.medium,
774
+ textarea.medium,
775
+ select.medium {
776
+ width: 150px;
777
+ }
778
+ .input-large,
779
+ input.large,
780
+ textarea.large,
781
+ select.large {
782
+ width: 210px;
783
+ }
784
+ .input-xlarge,
785
+ input.xlarge,
786
+ textarea.xlarge,
787
+ select.xlarge {
788
+ width: 270px;
789
+ }
790
+ .input-xxlarge,
791
+ input.xxlarge,
792
+ textarea.xxlarge,
793
+ select.xxlarge {
794
+ width: 530px;
795
+ }
796
+ textarea.xxlarge {
797
+ overflow-y: scroll;
798
+ }
799
+ input[readonly]:focus, textarea[readonly]:focus, input.disabled {
800
+ background: #f5f5f5;
801
+ border-color: #ddd;
802
+ -webkit-box-shadow: none;
803
+ -moz-box-shadow: none;
804
+ box-shadow: none;
805
+ }
806
+ .actions {
807
+ background: #f5f5f5;
808
+ margin-top: 18px;
809
+ margin-bottom: 18px;
810
+ padding: 17px 20px 18px 150px;
811
+ border-top: 1px solid #ddd;
812
+ -webkit-border-radius: 0 0 3px 3px;
813
+ -moz-border-radius: 0 0 3px 3px;
814
+ border-radius: 0 0 3px 3px;
815
+ }
816
+ .actions .secondary-action {
817
+ float: right;
818
+ }
819
+ .actions .secondary-action a {
820
+ line-height: 30px;
821
+ }
822
+ .actions .secondary-action a:hover {
823
+ text-decoration: underline;
824
+ }
825
+ .help-inline, .help-block {
826
+ font-size: 12px;
827
+ line-height: 18px;
828
+ color: #bfbfbf;
829
+ }
830
+ .help-inline {
831
+ padding-left: 5px;
832
+ *position: relative;
833
+ /* IE6-7 */
834
+
835
+ *top: -5px;
836
+ /* IE6-7 */
837
+
838
+ }
839
+ .help-block {
840
+ display: block;
841
+ max-width: 600px;
842
+ }
843
+ .inline-inputs {
844
+ color: #808080;
845
+ }
846
+ .inline-inputs span, .inline-inputs input {
847
+ display: inline-block;
848
+ }
849
+ .inline-inputs input.mini {
850
+ width: 60px;
851
+ }
852
+ .inline-inputs input.small {
853
+ width: 90px;
854
+ }
855
+ .inline-inputs span {
856
+ padding: 0 2px 0 1px;
857
+ }
858
+ .input-prepend input, .input-append input {
859
+ -webkit-border-radius: 0 3px 3px 0;
860
+ -moz-border-radius: 0 3px 3px 0;
861
+ border-radius: 0 3px 3px 0;
862
+ }
863
+ .input-prepend .add-on, .input-append .add-on {
864
+ background: #f5f5f5;
865
+ float: left;
866
+ display: block;
867
+ width: auto;
868
+ min-width: 16px;
869
+ padding: 4px 4px 4px 5px;
870
+ color: #bfbfbf;
871
+ font-weight: normal;
872
+ line-height: 18px;
873
+ height: 18px;
874
+ text-align: center;
875
+ text-shadow: 0 1px 0 #fff;
876
+ border: 1px solid #ccc;
877
+ border-right-width: 0;
878
+ -webkit-border-radius: 3px 0 0 3px;
879
+ -moz-border-radius: 3px 0 0 3px;
880
+ border-radius: 3px 0 0 3px;
881
+ }
882
+ .input-prepend .active, .input-append .active {
883
+ background: #a9dba9;
884
+ border-color: #46a546;
885
+ }
886
+ .input-prepend .add-on {
887
+ *margin-top: 1px;
888
+ /* IE6-7 */
889
+
890
+ }
891
+ .input-append input {
892
+ float: left;
893
+ -webkit-border-radius: 3px 0 0 3px;
894
+ -moz-border-radius: 3px 0 0 3px;
895
+ border-radius: 3px 0 0 3px;
896
+ }
897
+ .input-append .add-on {
898
+ -webkit-border-radius: 0 3px 3px 0;
899
+ -moz-border-radius: 0 3px 3px 0;
900
+ border-radius: 0 3px 3px 0;
901
+ border-right-width: 1px;
902
+ border-left-width: 0;
903
+ }
904
+ .inputs-list {
905
+ margin: 0 0 5px;
906
+ width: 100%;
907
+ }
908
+ .inputs-list li {
909
+ display: block;
910
+ padding: 0;
911
+ width: 100%;
912
+ }
913
+ .inputs-list li label {
914
+ display: block;
915
+ float: none;
916
+ width: auto;
917
+ padding: 0;
918
+ line-height: 18px;
919
+ text-align: left;
920
+ white-space: normal;
921
+ }
922
+ .inputs-list li label strong {
923
+ color: #808080;
924
+ }
925
+ .inputs-list li label small {
926
+ font-size: 12px;
927
+ font-weight: normal;
928
+ }
929
+ .inputs-list li ul.inputs-list {
930
+ margin-left: 25px;
931
+ margin-bottom: 10px;
932
+ padding-top: 0;
933
+ }
934
+ .inputs-list li:first-child {
935
+ padding-top: 5px;
936
+ }
937
+ .inputs-list input[type=radio], .inputs-list input[type=checkbox] {
938
+ margin-bottom: 0;
939
+ }
940
+ .form-stacked {
941
+ padding-left: 20px;
942
+ }
943
+ .form-stacked fieldset {
944
+ padding-top: 9px;
945
+ }
946
+ .form-stacked legend {
947
+ margin-left: 0;
948
+ }
949
+ .form-stacked label {
950
+ display: block;
951
+ float: none;
952
+ width: auto;
953
+ font-weight: bold;
954
+ text-align: left;
955
+ line-height: 20px;
956
+ padding-top: 0;
957
+ }
958
+ .form-stacked .clearfix {
959
+ margin-bottom: 9px;
960
+ }
961
+ .form-stacked .clearfix div.input {
962
+ margin-left: 0;
963
+ }
964
+ .form-stacked .inputs-list {
965
+ margin-bottom: 0;
966
+ }
967
+ .form-stacked .inputs-list li {
968
+ padding-top: 0;
969
+ }
970
+ .form-stacked .inputs-list li label {
971
+ font-weight: normal;
972
+ padding-top: 0;
973
+ }
974
+ .form-stacked div.error {
975
+ padding-top: 10px;
976
+ padding-bottom: 10px;
977
+ padding-left: 10px;
978
+ margin-top: 0;
979
+ margin-left: -10px;
980
+ }
981
+ .form-stacked .actions {
982
+ margin-left: -20px;
983
+ padding-left: 20px;
984
+ }
985
+ /*
986
+ * Tables.less
987
+ * Tables for, you guessed it, tabular data
988
+ * ---------------------------------------- */
989
+ table {
990
+ width: 100%;
991
+ margin-bottom: 18px;
992
+ padding: 0;
993
+ border-collapse: separate;
994
+ font-size: 13px;
995
+ }
996
+ table th, table td {
997
+ padding: 10px 10px 9px;
998
+ line-height: 13.5px;
999
+ text-align: left;
1000
+ vertical-align: middle;
1001
+ border-bottom: 1px solid #ddd;
1002
+ }
1003
+ table th {
1004
+ padding-top: 9px;
1005
+ font-weight: bold;
1006
+ border-bottom-width: 2px;
1007
+ }
1008
+ .zebra-striped tbody tr:nth-child(odd) td {
1009
+ background-color: #f9f9f9;
1010
+ }
1011
+ .zebra-striped tbody tr:hover td {
1012
+ background-color: #f5f5f5;
1013
+ }
1014
+ .zebra-striped .header {
1015
+ cursor: pointer;
1016
+ }
1017
+ .zebra-striped .header:after {
1018
+ content: "";
1019
+ float: right;
1020
+ margin-top: 7px;
1021
+ border-width: 0 4px 4px;
1022
+ border-style: solid;
1023
+ border-color: #000 transparent;
1024
+ visibility: hidden;
1025
+ }
1026
+ .zebra-striped .headerSortUp, .zebra-striped .headerSortDown {
1027
+ background-color: rgba(141, 192, 219, 0.25);
1028
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
1029
+ -webkit-border-radius: 3px 3px 0 0;
1030
+ -moz-border-radius: 3px 3px 0 0;
1031
+ border-radius: 3px 3px 0 0;
1032
+ }
1033
+ .zebra-striped .header:hover:after {
1034
+ visibility: visible;
1035
+ }
1036
+ .zebra-striped .headerSortDown:after, .zebra-striped .headerSortDown:hover:after {
1037
+ visibility: visible;
1038
+ filter: alpha(opacity=60);
1039
+ -khtml-opacity: 0.6;
1040
+ -moz-opacity: 0.6;
1041
+ opacity: 0.6;
1042
+ }
1043
+ .zebra-striped .headerSortUp:after {
1044
+ border-bottom: none;
1045
+ border-left: 4px solid transparent;
1046
+ border-right: 4px solid transparent;
1047
+ border-top: 4px solid #000;
1048
+ visibility: visible;
1049
+ -webkit-box-shadow: none;
1050
+ -moz-box-shadow: none;
1051
+ box-shadow: none;
1052
+ filter: alpha(opacity=60);
1053
+ -khtml-opacity: 0.6;
1054
+ -moz-opacity: 0.6;
1055
+ opacity: 0.6;
1056
+ }
1057
+ table .blue {
1058
+ color: #049cdb;
1059
+ border-bottom-color: #049cdb;
1060
+ }
1061
+ table .headerSortUp.blue, table .headerSortDown.blue {
1062
+ background-color: #ade6fe;
1063
+ }
1064
+ table .green {
1065
+ color: #46a546;
1066
+ border-bottom-color: #46a546;
1067
+ }
1068
+ table .headerSortUp.green, table .headerSortDown.green {
1069
+ background-color: #cdeacd;
1070
+ }
1071
+ table .red {
1072
+ color: #9d261d;
1073
+ border-bottom-color: #9d261d;
1074
+ }
1075
+ table .headerSortUp.red, table .headerSortDown.red {
1076
+ background-color: #f4c8c5;
1077
+ }
1078
+ table .yellow {
1079
+ color: #ffc40d;
1080
+ border-bottom-color: #ffc40d;
1081
+ }
1082
+ table .headerSortUp.yellow, table .headerSortDown.yellow {
1083
+ background-color: #fff6d9;
1084
+ }
1085
+ table .orange {
1086
+ color: #f89406;
1087
+ border-bottom-color: #f89406;
1088
+ }
1089
+ table .headerSortUp.orange, table .headerSortDown.orange {
1090
+ background-color: #fee9cc;
1091
+ }
1092
+ table .purple {
1093
+ color: #7a43b6;
1094
+ border-bottom-color: #7a43b6;
1095
+ }
1096
+ table .headerSortUp.purple, table .headerSortDown.purple {
1097
+ background-color: #e2d5f0;
1098
+ }
1099
+ /* Patterns.less
1100
+ * Repeatable UI elements outside the base styles provided from the scaffolding
1101
+ * ---------------------------------------------------------------------------- */
1102
+ .topbar {
1103
+ height: 40px;
1104
+ position: fixed;
1105
+ top: 0;
1106
+ left: 0;
1107
+ right: 0;
1108
+ z-index: 10000;
1109
+ overflow: visible;
1110
+ }
1111
+ .topbar a {
1112
+ color: #bfbfbf;
1113
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1114
+ }
1115
+ .topbar a:hover, .topbar ul .active a {
1116
+ background-color: #333;
1117
+ background-color: rgba(255, 255, 255, 0.05);
1118
+ color: #ffffff;
1119
+ text-decoration: none;
1120
+ }
1121
+ .topbar h3 {
1122
+ position: relative;
1123
+ }
1124
+ .topbar h3 a {
1125
+ float: left;
1126
+ display: block;
1127
+ padding: 8px 20px 12px;
1128
+ margin-left: -20px;
1129
+ color: #ffffff;
1130
+ font-size: 20px;
1131
+ font-weight: 200;
1132
+ line-height: 1;
1133
+ }
1134
+ .topbar form {
1135
+ float: left;
1136
+ margin: 5px 0 0 0;
1137
+ position: relative;
1138
+ filter: alpha(opacity=100);
1139
+ -khtml-opacity: 1;
1140
+ -moz-opacity: 1;
1141
+ opacity: 1;
1142
+ }
1143
+ .topbar input {
1144
+ background-color: #444;
1145
+ background-color: rgba(255, 255, 255, 0.3);
1146
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1147
+ font-size: normal;
1148
+ font-weight: 13px;
1149
+ line-height: 1;
1150
+ padding: 4px 9px;
1151
+ color: #fff;
1152
+ color: rgba(255, 255, 255, 0.75);
1153
+ border: 1px solid #111;
1154
+ -webkit-border-radius: 4px;
1155
+ -moz-border-radius: 4px;
1156
+ border-radius: 4px;
1157
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
1158
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
1159
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
1160
+ -webkit-transition: none;
1161
+ -moz-transition: none;
1162
+ transition: none;
1163
+ }
1164
+ .topbar input:-moz-placeholder {
1165
+ color: #e6e6e6;
1166
+ }
1167
+ .topbar input::-webkit-input-placeholder {
1168
+ color: #e6e6e6;
1169
+ }
1170
+ .topbar input:hover {
1171
+ background-color: #bfbfbf;
1172
+ background-color: rgba(255, 255, 255, 0.5);
1173
+ color: #fff;
1174
+ }
1175
+ .topbar input:focus, .topbar input.focused {
1176
+ outline: none;
1177
+ background-color: #fff;
1178
+ color: #404040;
1179
+ text-shadow: 0 1px 0 #fff;
1180
+ border: 0;
1181
+ padding: 5px 10px;
1182
+ -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
1183
+ -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
1184
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
1185
+ }
1186
+ .topbar-inner, .topbar .fill {
1187
+ background-color: #222;
1188
+ background-color: #222222;
1189
+ background-repeat: repeat-x;
1190
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));
1191
+ background-image: -moz-linear-gradient(top, #333333, #222222);
1192
+ background-image: -ms-linear-gradient(top, #333333, #222222);
1193
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));
1194
+ background-image: -webkit-linear-gradient(top, #333333, #222222);
1195
+ background-image: -o-linear-gradient(top, #333333, #222222);
1196
+ background-image: linear-gradient(top, #333333, #222222);
1197
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
1198
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
1199
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
1200
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
1201
+ }
1202
+ .topbar div > ul, .nav {
1203
+ display: block;
1204
+ float: left;
1205
+ margin: 0 10px 0 0;
1206
+ position: relative;
1207
+ left: 0;
1208
+ }
1209
+ .topbar div > ul > li, .nav > li {
1210
+ display: block;
1211
+ float: left;
1212
+ }
1213
+ .topbar div > ul a, .nav a {
1214
+ display: block;
1215
+ float: none;
1216
+ padding: 10px 10px 11px;
1217
+ line-height: 19px;
1218
+ text-decoration: none;
1219
+ }
1220
+ .topbar div > ul a:hover, .nav a:hover {
1221
+ color: #fff;
1222
+ text-decoration: none;
1223
+ }
1224
+ .topbar div > ul .active a, .nav .active a {
1225
+ background-color: #222;
1226
+ background-color: rgba(0, 0, 0, 0.5);
1227
+ }
1228
+ .topbar div > ul.secondary-nav, .nav.secondary-nav {
1229
+ float: right;
1230
+ margin-left: 10px;
1231
+ margin-right: 0;
1232
+ }
1233
+ .topbar div > ul.secondary-nav .menu-dropdown,
1234
+ .nav.secondary-nav .menu-dropdown,
1235
+ .topbar div > ul.secondary-nav .dropdown-menu,
1236
+ .nav.secondary-nav .dropdown-menu {
1237
+ right: 0;
1238
+ }
1239
+ .topbar div > ul a.menu:hover,
1240
+ .nav a.menu:hover,
1241
+ .topbar div > ul li.open .menu,
1242
+ .nav li.open .menu,
1243
+ .topbar div > ul .dropdown-toggle:hover,
1244
+ .nav .dropdown-toggle:hover,
1245
+ .topbar div > ul .dropdown.open .dropdown-toggle,
1246
+ .nav .dropdown.open .dropdown-toggle {
1247
+ background: #444;
1248
+ background: rgba(255, 255, 255, 0.05);
1249
+ }
1250
+ .topbar div > ul .menu-dropdown,
1251
+ .nav .menu-dropdown,
1252
+ .topbar div > ul .dropdown-menu,
1253
+ .nav .dropdown-menu {
1254
+ background-color: #333;
1255
+ }
1256
+ .topbar div > ul .menu-dropdown a.menu,
1257
+ .nav .menu-dropdown a.menu,
1258
+ .topbar div > ul .dropdown-menu a.menu,
1259
+ .nav .dropdown-menu a.menu,
1260
+ .topbar div > ul .menu-dropdown .dropdown-toggle,
1261
+ .nav .menu-dropdown .dropdown-toggle,
1262
+ .topbar div > ul .dropdown-menu .dropdown-toggle,
1263
+ .nav .dropdown-menu .dropdown-toggle {
1264
+ color: #fff;
1265
+ }
1266
+ .topbar div > ul .menu-dropdown a.menu.open,
1267
+ .nav .menu-dropdown a.menu.open,
1268
+ .topbar div > ul .dropdown-menu a.menu.open,
1269
+ .nav .dropdown-menu a.menu.open,
1270
+ .topbar div > ul .menu-dropdown .dropdown-toggle.open,
1271
+ .nav .menu-dropdown .dropdown-toggle.open,
1272
+ .topbar div > ul .dropdown-menu .dropdown-toggle.open,
1273
+ .nav .dropdown-menu .dropdown-toggle.open {
1274
+ background: #444;
1275
+ background: rgba(255, 255, 255, 0.05);
1276
+ }
1277
+ .topbar div > ul .menu-dropdown li a,
1278
+ .nav .menu-dropdown li a,
1279
+ .topbar div > ul .dropdown-menu li a,
1280
+ .nav .dropdown-menu li a {
1281
+ color: #999;
1282
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
1283
+ }
1284
+ .topbar div > ul .menu-dropdown li a:hover,
1285
+ .nav .menu-dropdown li a:hover,
1286
+ .topbar div > ul .dropdown-menu li a:hover,
1287
+ .nav .dropdown-menu li a:hover {
1288
+ background-color: #191919;
1289
+ background-repeat: repeat-x;
1290
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));
1291
+ background-image: -moz-linear-gradient(top, #292929, #191919);
1292
+ background-image: -ms-linear-gradient(top, #292929, #191919);
1293
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));
1294
+ background-image: -webkit-linear-gradient(top, #292929, #191919);
1295
+ background-image: -o-linear-gradient(top, #292929, #191919);
1296
+ background-image: linear-gradient(top, #292929, #191919);
1297
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);
1298
+ color: #fff;
1299
+ }
1300
+ .topbar div > ul .menu-dropdown .divider,
1301
+ .nav .menu-dropdown .divider,
1302
+ .topbar div > ul .dropdown-menu .divider,
1303
+ .nav .dropdown-menu .divider {
1304
+ background-color: #222;
1305
+ border-color: #444;
1306
+ }
1307
+ .topbar ul .menu-dropdown li a, .topbar ul .dropdown-menu li a {
1308
+ padding: 4px 15px;
1309
+ }
1310
+ li.menu, .dropdown {
1311
+ position: relative;
1312
+ }
1313
+ a.menu:after, .dropdown-toggle:after {
1314
+ width: 0;
1315
+ height: 0;
1316
+ display: inline-block;
1317
+ content: "&darr;";
1318
+ text-indent: -99999px;
1319
+ vertical-align: top;
1320
+ margin-top: 8px;
1321
+ margin-left: 4px;
1322
+ border-left: 4px solid transparent;
1323
+ border-right: 4px solid transparent;
1324
+ border-top: 4px solid #fff;
1325
+ filter: alpha(opacity=50);
1326
+ -khtml-opacity: 0.5;
1327
+ -moz-opacity: 0.5;
1328
+ opacity: 0.5;
1329
+ }
1330
+ .menu-dropdown, .dropdown-menu {
1331
+ background-color: #fff;
1332
+ float: left;
1333
+ display: none;
1334
+ position: absolute;
1335
+ top: 40px;
1336
+ min-width: 160px;
1337
+ max-width: 220px;
1338
+ _width: 160px;
1339
+ margin-left: 0;
1340
+ margin-right: 0;
1341
+ padding: 6px 0;
1342
+ zoom: 1;
1343
+ border-color: #999;
1344
+ border-color: rgba(0, 0, 0, 0.2);
1345
+ border-style: solid;
1346
+ border-width: 0 1px 1px;
1347
+ -webkit-border-radius: 0 0 6px 6px;
1348
+ -moz-border-radius: 0 0 6px 6px;
1349
+ border-radius: 0 0 6px 6px;
1350
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
1351
+ -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
1352
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
1353
+ -webkit-background-clip: padding-box;
1354
+ -moz-background-clip: padding-box;
1355
+ background-clip: padding-box;
1356
+ }
1357
+ .menu-dropdown li, .dropdown-menu li {
1358
+ float: none;
1359
+ display: block;
1360
+ background-color: none;
1361
+ }
1362
+ .menu-dropdown .divider, .dropdown-menu .divider {
1363
+ height: 1px;
1364
+ margin: 5px 0;
1365
+ overflow: hidden;
1366
+ background-color: #eee;
1367
+ border-bottom: 1px solid #fff;
1368
+ }
1369
+ .topbar .dropdown-menu a, .dropdown-menu a {
1370
+ display: block;
1371
+ padding: 4px 15px;
1372
+ clear: both;
1373
+ font-weight: normal;
1374
+ line-height: 18px;
1375
+ color: #808080;
1376
+ text-shadow: 0 1px 0 #fff;
1377
+ }
1378
+ .topbar .dropdown-menu a:hover, .dropdown-menu a:hover {
1379
+ background-color: #dddddd;
1380
+ background-repeat: repeat-x;
1381
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));
1382
+ background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
1383
+ background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
1384
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd));
1385
+ background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
1386
+ background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
1387
+ background-image: linear-gradient(top, #eeeeee, #dddddd);
1388
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0);
1389
+ color: #404040;
1390
+ text-decoration: none;
1391
+ -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
1392
+ -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
1393
+ box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
1394
+ }
1395
+ .open .menu,
1396
+ .dropdown.open .menu,
1397
+ .open .dropdown-toggle,
1398
+ .dropdown.open .dropdown-toggle {
1399
+ color: #fff;
1400
+ background: #ccc;
1401
+ background: rgba(0, 0, 0, 0.3);
1402
+ }
1403
+ .open .menu-dropdown,
1404
+ .dropdown.open .menu-dropdown,
1405
+ .open .dropdown-menu,
1406
+ .dropdown.open .dropdown-menu {
1407
+ display: block;
1408
+ }
1409
+ .tabs, .pills {
1410
+ margin: 0 0 20px;
1411
+ padding: 0;
1412
+ list-style: none;
1413
+ zoom: 1;
1414
+ }
1415
+ .tabs:before,
1416
+ .pills:before,
1417
+ .tabs:after,
1418
+ .pills:after {
1419
+ display: table;
1420
+ content: "";
1421
+ }
1422
+ .tabs:after, .pills:after {
1423
+ clear: both;
1424
+ }
1425
+ .tabs > li, .pills > li {
1426
+ float: left;
1427
+ }
1428
+ .tabs > li > a, .pills > li > a {
1429
+ display: block;
1430
+ }
1431
+ .tabs {
1432
+ width: 100%;
1433
+ border-bottom: 1px solid #ddd;
1434
+ }
1435
+ .tabs > li {
1436
+ position: relative;
1437
+ top: 1px;
1438
+ }
1439
+ .tabs > li > a {
1440
+ margin-right: 2px;
1441
+ padding: 0 15px;
1442
+ line-height: 35px;
1443
+ -webkit-border-radius: 4px 4px 0 0;
1444
+ -moz-border-radius: 4px 4px 0 0;
1445
+ border-radius: 4px 4px 0 0;
1446
+ }
1447
+ .tabs > li > a:hover {
1448
+ background-color: #eee;
1449
+ border-bottom: 1px solid #ddd;
1450
+ text-decoration: none;
1451
+ }
1452
+ .tabs > li.active > a {
1453
+ background-color: #fff;
1454
+ padding: 0 14px;
1455
+ border: 1px solid #ddd;
1456
+ border-bottom: 0;
1457
+ color: #808080;
1458
+ }
1459
+ .tabs .menu-dropdown, .tabs .dropdown-menu {
1460
+ top: 35px;
1461
+ border-width: 1px;
1462
+ -webkit-border-radius: 0 6px 6px 6px;
1463
+ -moz-border-radius: 0 6px 6px 6px;
1464
+ border-radius: 0 6px 6px 6px;
1465
+ }
1466
+ .tabs a.menu:after, .tabs .dropdown-toggle:after {
1467
+ border-top-color: #999;
1468
+ margin-top: 15px;
1469
+ margin-left: 5px;
1470
+ }
1471
+ .tabs li.open a.menu:after, .tabs .dropdown.open .dropdown-toggle:after {
1472
+ border-top-color: #555;
1473
+ }
1474
+ .pills a {
1475
+ margin: 5px 3px 5px 0;
1476
+ padding: 0 15px;
1477
+ text-shadow: 0 1px 1px #fff;
1478
+ line-height: 30px;
1479
+ -webkit-border-radius: 15px;
1480
+ -moz-border-radius: 15px;
1481
+ border-radius: 15px;
1482
+ }
1483
+ .pills a:hover {
1484
+ background: #0050a3;
1485
+ color: #fff;
1486
+ text-decoration: none;
1487
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
1488
+ }
1489
+ .pills .active a {
1490
+ background: #0069d6;
1491
+ color: #fff;
1492
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
1493
+ }
1494
+ .hero-unit {
1495
+ background-color: #f5f5f5;
1496
+ margin-top: 60px;
1497
+ margin-bottom: 30px;
1498
+ padding: 60px;
1499
+ -webkit-border-radius: 6px;
1500
+ -moz-border-radius: 6px;
1501
+ border-radius: 6px;
1502
+ }
1503
+ .hero-unit h1 {
1504
+ margin-bottom: 0;
1505
+ font-size: 60px;
1506
+ line-height: 1;
1507
+ letter-spacing: -1px;
1508
+ }
1509
+ .hero-unit p {
1510
+ font-size: 18px;
1511
+ font-weight: 200;
1512
+ line-height: 27px;
1513
+ }
1514
+ footer {
1515
+ margin-top: 17px;
1516
+ padding-top: 17px;
1517
+ border-top: 1px solid #eee;
1518
+ }
1519
+ .page-header {
1520
+ margin-bottom: 17px;
1521
+ border-bottom: 1px solid #ddd;
1522
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1523
+ -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1524
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1525
+ }
1526
+ .page-header h1 {
1527
+ margin-bottom: 8px;
1528
+ }
1529
+ .btn {
1530
+ cursor: pointer;
1531
+ display: inline-block;
1532
+ background-color: #e6e6e6;
1533
+ background-repeat: no-repeat;
1534
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
1535
+ background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1536
+ background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
1537
+ background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1538
+ background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1539
+ background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1540
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
1541
+ padding: 5px 14px 6px;
1542
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
1543
+ color: #333;
1544
+ font-size: 13px;
1545
+ line-height: normal;
1546
+ border: 1px solid #ccc;
1547
+ border-bottom-color: #bbb;
1548
+ -webkit-border-radius: 4px;
1549
+ -moz-border-radius: 4px;
1550
+ border-radius: 4px;
1551
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1552
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1553
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1554
+ -webkit-transition: 0.1s linear all;
1555
+ -moz-transition: 0.1s linear all;
1556
+ transition: 0.1s linear all;
1557
+ }
1558
+ .btn:hover {
1559
+ background-position: 0 -15px;
1560
+ color: #333;
1561
+ text-decoration: none;
1562
+ }
1563
+ .btn.primary {
1564
+ color: #fff;
1565
+ background-color: #0064cd;
1566
+ background-repeat: repeat-x;
1567
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
1568
+ background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
1569
+ background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
1570
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
1571
+ background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
1572
+ background-image: -o-linear-gradient(top, #049cdb, #0064cd);
1573
+ background-image: linear-gradient(top, #049cdb, #0064cd);
1574
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0);
1575
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1576
+ border-color: #0064cd #0064cd #003f81;
1577
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1578
+ }
1579
+ .btn:active {
1580
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
1581
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
1582
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
1583
+ }
1584
+ .btn.disabled {
1585
+ cursor: default;
1586
+ background-image: none;
1587
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
1588
+ filter: alpha(opacity=65);
1589
+ -khtml-opacity: 0.65;
1590
+ -moz-opacity: 0.65;
1591
+ opacity: 0.65;
1592
+ -webkit-box-shadow: none;
1593
+ -moz-box-shadow: none;
1594
+ box-shadow: none;
1595
+ }
1596
+ .btn[disabled] {
1597
+ cursor: default;
1598
+ background-image: none;
1599
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
1600
+ filter: alpha(opacity=65);
1601
+ -khtml-opacity: 0.65;
1602
+ -moz-opacity: 0.65;
1603
+ opacity: 0.65;
1604
+ -webkit-box-shadow: none;
1605
+ -moz-box-shadow: none;
1606
+ box-shadow: none;
1607
+ }
1608
+ .btn.large {
1609
+ font-size: 16px;
1610
+ line-height: normal;
1611
+ padding: 9px 14px 9px;
1612
+ -webkit-border-radius: 6px;
1613
+ -moz-border-radius: 6px;
1614
+ border-radius: 6px;
1615
+ }
1616
+ .btn.small {
1617
+ padding: 7px 9px 7px;
1618
+ font-size: 11px;
1619
+ }
1620
+ :root .alert-message, :root .btn {
1621
+ border-radius: 0 \0;
1622
+ }
1623
+ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
1624
+ padding: 0;
1625
+ border: 0;
1626
+ }
1627
+ .alert-message {
1628
+ background-color: #eedc94;
1629
+ background-repeat: repeat-x;
1630
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94));
1631
+ background-image: -moz-linear-gradient(top, #fceec1, #eedc94);
1632
+ background-image: -ms-linear-gradient(top, #fceec1, #eedc94);
1633
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94));
1634
+ background-image: -webkit-linear-gradient(top, #fceec1, #eedc94);
1635
+ background-image: -o-linear-gradient(top, #fceec1, #eedc94);
1636
+ background-image: linear-gradient(top, #fceec1, #eedc94);
1637
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0);
1638
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1639
+ border-color: #eedc94 #eedc94 #e4c652;
1640
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1641
+ margin-bottom: 18px;
1642
+ padding: 7px 14px;
1643
+ color: #404040;
1644
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1645
+ border-width: 1px;
1646
+ border-style: solid;
1647
+ -webkit-border-radius: 4px;
1648
+ -moz-border-radius: 4px;
1649
+ border-radius: 4px;
1650
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
1651
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
1652
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
1653
+ }
1654
+ .alert-message h5 {
1655
+ line-height: 18px;
1656
+ }
1657
+ .alert-message p {
1658
+ margin-bottom: 0;
1659
+ }
1660
+ .alert-message div {
1661
+ margin-top: 5px;
1662
+ margin-bottom: 2px;
1663
+ line-height: 28px;
1664
+ }
1665
+ .alert-message .btn {
1666
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
1667
+ -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
1668
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
1669
+ }
1670
+ .alert-message .close {
1671
+ float: right;
1672
+ margin-top: -2px;
1673
+ color: #000000;
1674
+ font-size: 20px;
1675
+ font-weight: bold;
1676
+ text-shadow: 0 1px 0 #ffffff;
1677
+ filter: alpha(opacity=20);
1678
+ -khtml-opacity: 0.2;
1679
+ -moz-opacity: 0.2;
1680
+ opacity: 0.2;
1681
+ }
1682
+ .alert-message .close:hover {
1683
+ color: #000000;
1684
+ text-decoration: none;
1685
+ filter: alpha(opacity=40);
1686
+ -khtml-opacity: 0.4;
1687
+ -moz-opacity: 0.4;
1688
+ opacity: 0.4;
1689
+ }
1690
+ .alert-message.block-message {
1691
+ background-image: none;
1692
+ background-color: #fdf5d9;
1693
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
1694
+ padding: 14px;
1695
+ border-color: #fceec1;
1696
+ -webkit-box-shadow: none;
1697
+ -moz-box-shadow: none;
1698
+ box-shadow: none;
1699
+ }
1700
+ .alert-message.block-message p {
1701
+ margin-right: 30px;
1702
+ }
1703
+ .alert-message.block-message .alert-actions {
1704
+ margin-top: 5px;
1705
+ }
1706
+ .alert-message.block-message.error, .alert-message.block-message.success, .alert-message.block-message.info {
1707
+ color: #404040;
1708
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
1709
+ }
1710
+ .alert-message.block-message.error {
1711
+ background-color: #fddfde;
1712
+ border-color: #fbc7c6;
1713
+ }
1714
+ .alert-message.block-message.success {
1715
+ background-color: #d1eed1;
1716
+ border-color: #bfe7bf;
1717
+ }
1718
+ .alert-message.block-message.info {
1719
+ background-color: #ddf4fb;
1720
+ border-color: #c6edf9;
1721
+ }
1722
+ .pagination {
1723
+ height: 36px;
1724
+ margin: 18px 0;
1725
+ }
1726
+ .pagination ul {
1727
+ float: left;
1728
+ margin: 0;
1729
+ border: 1px solid #ddd;
1730
+ border: 1px solid rgba(0, 0, 0, 0.15);
1731
+ -webkit-border-radius: 3px;
1732
+ -moz-border-radius: 3px;
1733
+ border-radius: 3px;
1734
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
1735
+ -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
1736
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
1737
+ }
1738
+ .pagination li {
1739
+ display: inline;
1740
+ }
1741
+ .pagination a {
1742
+ float: left;
1743
+ padding: 0 14px;
1744
+ line-height: 34px;
1745
+ border-right: 1px solid;
1746
+ border-right-color: #ddd;
1747
+ border-right-color: rgba(0, 0, 0, 0.15);
1748
+ *border-right-color: #ddd;
1749
+ /* IE6-7 */
1750
+
1751
+ text-decoration: none;
1752
+ }
1753
+ .pagination a:hover, .pagination .active a {
1754
+ background-color: #c7eefe;
1755
+ }
1756
+ .pagination .disabled a, .pagination .disabled a:hover {
1757
+ background-color: transparent;
1758
+ color: #bfbfbf;
1759
+ }
1760
+ .pagination .next a {
1761
+ border: 0;
1762
+ }
1763
+ .well {
1764
+ background-color: #f5f5f5;
1765
+ margin-bottom: 20px;
1766
+ padding: 19px;
1767
+ min-height: 20px;
1768
+ border: 1px solid #eee;
1769
+ border: 1px solid rgba(0, 0, 0, 0.05);
1770
+ -webkit-border-radius: 4px;
1771
+ -moz-border-radius: 4px;
1772
+ border-radius: 4px;
1773
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
1774
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
1775
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
1776
+ }
1777
+ .modal-backdrop {
1778
+ background-color: rgba(0, 0, 0, 0.5);
1779
+ position: fixed;
1780
+ top: 0;
1781
+ left: 0;
1782
+ right: 0;
1783
+ bottom: 0;
1784
+ z-index: 1000;
1785
+ }
1786
+ .modal {
1787
+ position: fixed;
1788
+ top: 50%;
1789
+ left: 50%;
1790
+ z-index: 2000;
1791
+ width: 560px;
1792
+ margin: -280px 0 0 -250px;
1793
+ background-color: #ffffff;
1794
+ border: 1px solid #999;
1795
+ border: 1px solid rgba(0, 0, 0, 0.3);
1796
+ *border: 1px solid #999;
1797
+ /* IE6-7 */
1798
+
1799
+ -webkit-border-radius: 6px;
1800
+ -moz-border-radius: 6px;
1801
+ border-radius: 6px;
1802
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1803
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1804
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1805
+ -webkit-background-clip: padding-box;
1806
+ -moz-background-clip: padding-box;
1807
+ background-clip: padding-box;
1808
+ }
1809
+ .modal-header {
1810
+ border-bottom: 1px solid #eee;
1811
+ padding: 5px 20px;
1812
+ }
1813
+ .modal-header .close {
1814
+ position: absolute;
1815
+ right: 10px;
1816
+ top: 10px;
1817
+ color: #999;
1818
+ line-height: 10px;
1819
+ font-size: 18px;
1820
+ }
1821
+ .modal-body {
1822
+ padding: 20px;
1823
+ }
1824
+ .modal-footer {
1825
+ background-color: #f5f5f5;
1826
+ padding: 14px 20px 15px;
1827
+ border-top: 1px solid #ddd;
1828
+ -webkit-border-radius: 0 0 6px 6px;
1829
+ -moz-border-radius: 0 0 6px 6px;
1830
+ border-radius: 0 0 6px 6px;
1831
+ -webkit-box-shadow: inset 0 1px 0 #ffffff;
1832
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
1833
+ box-shadow: inset 0 1px 0 #ffffff;
1834
+ zoom: 1;
1835
+ margin-bottom: 0;
1836
+ }
1837
+ .modal-footer:before, .modal-footer:after {
1838
+ display: table;
1839
+ content: "";
1840
+ }
1841
+ .modal-footer:after {
1842
+ clear: both;
1843
+ }
1844
+ .modal-footer .btn {
1845
+ float: right;
1846
+ margin-left: 10px;
1847
+ }
1848
+ .twipsy {
1849
+ display: block;
1850
+ position: absolute;
1851
+ visibility: visible;
1852
+ padding: 5px;
1853
+ font-size: 11px;
1854
+ z-index: 1000;
1855
+ filter: alpha(opacity=80);
1856
+ -khtml-opacity: 0.8;
1857
+ -moz-opacity: 0.8;
1858
+ opacity: 0.8;
1859
+ }
1860
+ .twipsy.above .twipsy-arrow {
1861
+ bottom: 0;
1862
+ left: 50%;
1863
+ margin-left: -5px;
1864
+ border-left: 5px solid transparent;
1865
+ border-right: 5px solid transparent;
1866
+ border-top: 5px solid #000000;
1867
+ }
1868
+ .twipsy.left .twipsy-arrow {
1869
+ top: 50%;
1870
+ right: 0;
1871
+ margin-top: -5px;
1872
+ border-top: 5px solid transparent;
1873
+ border-bottom: 5px solid transparent;
1874
+ border-left: 5px solid #000000;
1875
+ }
1876
+ .twipsy.below .twipsy-arrow {
1877
+ top: 0;
1878
+ left: 50%;
1879
+ margin-left: -5px;
1880
+ border-left: 5px solid transparent;
1881
+ border-right: 5px solid transparent;
1882
+ border-bottom: 5px solid #000000;
1883
+ }
1884
+ .twipsy.right .twipsy-arrow {
1885
+ top: 50%;
1886
+ left: 0;
1887
+ margin-top: -5px;
1888
+ border-top: 5px solid transparent;
1889
+ border-bottom: 5px solid transparent;
1890
+ border-right: 5px solid #000000;
1891
+ }
1892
+ .twipsy-inner {
1893
+ padding: 3px 8px;
1894
+ background-color: #000;
1895
+ color: white;
1896
+ text-align: center;
1897
+ max-width: 200px;
1898
+ text-decoration: none;
1899
+ -webkit-border-radius: 4px;
1900
+ -moz-border-radius: 4px;
1901
+ border-radius: 4px;
1902
+ }
1903
+ .twipsy-arrow {
1904
+ position: absolute;
1905
+ width: 0;
1906
+ height: 0;
1907
+ }
1908
+ .popover {
1909
+ position: absolute;
1910
+ top: 0;
1911
+ left: 0;
1912
+ z-index: 1000;
1913
+ padding: 5px;
1914
+ display: none;
1915
+ }
1916
+ .popover.above .arrow {
1917
+ bottom: 0;
1918
+ left: 50%;
1919
+ margin-left: -5px;
1920
+ border-left: 5px solid transparent;
1921
+ border-right: 5px solid transparent;
1922
+ border-top: 5px solid #000000;
1923
+ }
1924
+ .popover.right .arrow {
1925
+ top: 50%;
1926
+ left: 0;
1927
+ margin-top: -5px;
1928
+ border-top: 5px solid transparent;
1929
+ border-bottom: 5px solid transparent;
1930
+ border-right: 5px solid #000000;
1931
+ }
1932
+ .popover.below .arrow {
1933
+ top: 0;
1934
+ left: 50%;
1935
+ margin-left: -5px;
1936
+ border-left: 5px solid transparent;
1937
+ border-right: 5px solid transparent;
1938
+ border-bottom: 5px solid #000000;
1939
+ }
1940
+ .popover.left .arrow {
1941
+ top: 50%;
1942
+ right: 0;
1943
+ margin-top: -5px;
1944
+ border-top: 5px solid transparent;
1945
+ border-bottom: 5px solid transparent;
1946
+ border-left: 5px solid #000000;
1947
+ }
1948
+ .popover .arrow {
1949
+ position: absolute;
1950
+ width: 0;
1951
+ height: 0;
1952
+ }
1953
+ .popover .inner {
1954
+ background: #333;
1955
+ background: rgba(0, 0, 0, 0.8);
1956
+ padding: 3px;
1957
+ overflow: hidden;
1958
+ width: 280px;
1959
+ -webkit-border-radius: 6px;
1960
+ -moz-border-radius: 6px;
1961
+ border-radius: 6px;
1962
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1963
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1964
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
1965
+ }
1966
+ .popover .title {
1967
+ background-color: #f5f5f5;
1968
+ padding: 9px 15px;
1969
+ line-height: 1;
1970
+ -webkit-border-radius: 3px 3px 0 0;
1971
+ -moz-border-radius: 3px 3px 0 0;
1972
+ border-radius: 3px 3px 0 0;
1973
+ border-bottom: 1px solid #eee;
1974
+ }
1975
+ .popover .content {
1976
+ background-color: #ffffff;
1977
+ padding: 14px;
1978
+ -webkit-border-radius: 0 0 3px 3px;
1979
+ -moz-border-radius: 0 0 3px 3px;
1980
+ border-radius: 0 0 3px 3px;
1981
+ -webkit-background-clip: padding-box;
1982
+ -moz-background-clip: padding-box;
1983
+ background-clip: padding-box;
1984
+ }
1985
+ .popover .content p, .popover .content ul, .popover .content ol {
1986
+ margin-bottom: 0;
1987
+ }