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,264 @@
1
+ html,body{margin:0;padding:0;}
2
+ h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
3
+ table{border-collapse:collapse;border-spacing:0;}
4
+ ol,ul{list-style:none;}
5
+ q:before,q:after,blockquote:before,blockquote:after{content:"";}
6
+ html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
7
+ a:focus{outline:thin dotted;}
8
+ article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
9
+ audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
10
+ audio:not([controls]){display:none;}
11
+ sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
12
+ sup{top:-0.5em;}
13
+ sub{bottom:-0.25em;}
14
+ img{border:0;-ms-interpolation-mode:bicubic;}
15
+ button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
16
+ button,input{line-height:normal;*overflow:visible;}
17
+ button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
18
+ button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
19
+ input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
20
+ input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
21
+ textarea{overflow:auto;vertical-align:top;}
22
+ .clearfix{zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
23
+ .clearfix:after{clear:both;}
24
+ .center-block{display:block;margin:0 auto;}
25
+ .container{width:940px;margin:0 auto;zoom:1;}.container:before,.container:after{display:table;content:"";}
26
+ .container:after{clear:both;}
27
+ .btn.danger,.alert-message.danger,.btn.danger:hover,.alert-message.danger:hover,.btn.error,.alert-message.error,.btn.error:hover,.alert-message.error:hover,.btn.success,.alert-message.success,.btn.success:hover,.alert-message.success:hover,.btn.info,.alert-message.info,.btn.info:hover,.alert-message.info:hover{color:#ffffff;}
28
+ .btn.danger,.alert-message.danger,.btn.error,.alert-message.error{background-color:#c43c35;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(top, #ee5f5b, #c43c35);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#c43c35 #c43c35 #882a25;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
29
+ .btn.success,.alert-message.success{background-color:#57a957;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(top, #62c462, #57a957);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#57a957 #57a957 #3d773d;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
30
+ .btn.info,.alert-message.info{background-color:#339bb9;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#339bb9 #339bb9 #22697d;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
31
+ .row{zoom:1;margin-left:-20px;}.row:before,.row:after{display:table;content:"";}
32
+ .row:after{clear:both;}
33
+ .row [class*="span"]{display:inline;float:left;margin-left:20px;}
34
+ .row .span1{width:40px;}
35
+ .row .span2{width:100px;}
36
+ .row .span3{width:160px;}
37
+ .row .span4{width:220px;}
38
+ .row .span5{width:280px;}
39
+ .row .span6{width:340px;}
40
+ .row .span7{width:400px;}
41
+ .row .span8{width:460px;}
42
+ .row .span9{width:520px;}
43
+ .row .span10{width:580px;}
44
+ .row .span11{width:640px;}
45
+ .row .span12{width:700px;}
46
+ .row .span13{width:760px;}
47
+ .row .span14{width:820px;}
48
+ .row .span15{width:880px;}
49
+ .row .span16{width:940px;}
50
+ .row .offset1{margin-left:80px;}
51
+ .row .offset2{margin-left:140px;}
52
+ .row .offset3{margin-left:200px;}
53
+ .row .offset4{margin-left:260px;}
54
+ .row .offset5{margin-left:320px;}
55
+ .row .offset6{margin-left:380px;}
56
+ .row .offset7{margin-left:440px;}
57
+ .row .offset8{margin-left:500px;}
58
+ .row .offset9{margin-left:560px;}
59
+ .row .offset10{margin-left:620px;}
60
+ .row .offset11{margin-left:680px;}
61
+ .row .offset12{margin-left:740px;}
62
+ .row .span-one-third{width:300px;}
63
+ .row .span-two-thirds{width:620px;}
64
+ .row .offset-one-third{margin-left:340px;}
65
+ .row .offset-two-thirds{margin-left:660px;}
66
+ html,body{background-color:#fff;}
67
+ body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;}
68
+ .container{width:940px;margin:0 auto;}
69
+ .container-fluid{padding:0 20px;zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";}
70
+ .container-fluid:after{clear:both;}
71
+ .container-fluid>.sidebar{float:left;width:220px;}
72
+ .container-fluid>.content{min-width:700px;max-width:1180px;margin-left:240px;}
73
+ a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#0050a3;text-decoration:underline;}
74
+ p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:9px;}p small{font-size:11px;color:#bfbfbf;}
75
+ h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#bfbfbf;}
76
+ h1{margin-bottom:18px;font-size:30px;line-height:36px;}h1 small{font-size:18px;}
77
+ h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
78
+ h3,h4,h5,h6{line-height:36px;}
79
+ h3{font-size:18px;}h3 small{font-size:14px;}
80
+ h4{font-size:16px;}h4 small{font-size:12px;}
81
+ h5{font-size:14px;}
82
+ h6{font-size:13px;color:#bfbfbf;text-transform:uppercase;}
83
+ ul,ol{margin:0 0 18px 25px;}
84
+ ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
85
+ ul{list-style:disc;}
86
+ ol{list-style:decimal;}
87
+ li{line-height:18px;color:#808080;}
88
+ ul.unstyled{list-style:none;margin-left:0;}
89
+ dl{margin-bottom:18px;}dl dt,dl dd{line-height:18px;}
90
+ dl dt{font-weight:bold;}
91
+ dl dd{margin-left:9px;}
92
+ hr{margin:0 0 19px;border:0;border-bottom:1px solid #eee;}
93
+ strong{font-style:inherit;font-weight:bold;line-height:inherit;}
94
+ em{font-style:italic;font-weight:inherit;line-height:inherit;}
95
+ .muted{color:#bfbfbf;}
96
+ blockquote{margin-bottom:18px;border-left:5px solid #eee;padding-left:15px;}blockquote p{font-size:14px;font-weight:300;line-height:18px;margin-bottom:0;}
97
+ blockquote small{display:block;font-size:12px;font-weight:300;line-height:18px;color:#bfbfbf;}blockquote small:before{content:'\2014 \00A0';}
98
+ address{display:block;line-height:18px;margin-bottom:18px;}
99
+ code,pre{padding:0 3px 2px;font-family:Monaco, Andale Mono, Courier New, monospace;font-size:12px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
100
+ code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;}
101
+ pre{background-color:#f5f5f5;display:block;padding:17px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word;}
102
+ form{margin-bottom:18px;}
103
+ fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;margin-left:150px;font-size:20px;line-height:1;*margin:0 0 5px 145px;*line-height:1.5;color:#404040;}
104
+ form .clearfix{margin-bottom:18px;}
105
+ label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;}
106
+ label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
107
+ div.input{margin-left:150px;}
108
+ input[type=checkbox],input[type=radio]{cursor:pointer;}
109
+ input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;font-size:13px;line-height:18px;color:#808080;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
110
+ input[type=checkbox],input[type=radio]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;border:none;}
111
+ input[type=file]{background-color:#fff;padding:initial;border:initial;line-height:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
112
+ input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto;}
113
+ select,input[type=file]{height:27px;line-height:27px;}
114
+ textarea{height:auto;}
115
+ .uneditable-input{background-color:#eee;display:block;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.075);}
116
+ :-moz-placeholder{color:#bfbfbf;}
117
+ ::-webkit-input-placeholder{color:#bfbfbf;}
118
+ input,select,textarea{-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);}
119
+ input:focus,textarea:focus{outline:none;border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);}
120
+ form div.error{background:#fae5e3;padding:10px 0;margin:-10px 0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}form div.error>label,form div.error span.help-inline,form div.error span.help-block{color:#9d261d;}
121
+ form div.error input,form div.error textarea{border-color:#c87872;-webkit-box-shadow:0 0 3px rgba(171, 41, 32, 0.25);-moz-box-shadow:0 0 3px rgba(171, 41, 32, 0.25);box-shadow:0 0 3px rgba(171, 41, 32, 0.25);}form div.error input:focus,form div.error textarea:focus{border-color:#b9554d;-webkit-box-shadow:0 0 6px rgba(171, 41, 32, 0.5);-moz-box-shadow:0 0 6px rgba(171, 41, 32, 0.5);box-shadow:0 0 6px rgba(171, 41, 32, 0.5);}
122
+ form div.error .input-prepend span.add-on,form div.error .input-append span.add-on{background:#f4c8c5;border-color:#c87872;color:#b9554d;}
123
+ .input-mini,input.mini,textarea.mini,select.mini{width:60px;}
124
+ .input-small,input.small,textarea.small,select.small{width:90px;}
125
+ .input-medium,input.medium,textarea.medium,select.medium{width:150px;}
126
+ .input-large,input.large,textarea.large,select.large{width:210px;}
127
+ .input-xlarge,input.xlarge,textarea.xlarge,select.xlarge{width:270px;}
128
+ .input-xxlarge,input.xxlarge,textarea.xxlarge,select.xxlarge{width:530px;}
129
+ textarea.xxlarge{overflow-y:scroll;}
130
+ input[readonly]:focus,textarea[readonly]:focus,input.disabled{background:#f5f5f5;border-color:#ddd;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
131
+ .actions{background:#f5f5f5;margin-top:18px;margin-bottom:18px;padding:17px 20px 18px 150px;border-top:1px solid #ddd;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;}.actions .secondary-action{float:right;}.actions .secondary-action a{line-height:30px;}.actions .secondary-action a:hover{text-decoration:underline;}
132
+ .help-inline,.help-block{font-size:12px;line-height:18px;color:#bfbfbf;}
133
+ .help-inline{padding-left:5px;*position:relative;*top:-5px;}
134
+ .help-block{display:block;max-width:600px;}
135
+ .inline-inputs{color:#808080;}.inline-inputs span,.inline-inputs input{display:inline-block;}
136
+ .inline-inputs input.mini{width:60px;}
137
+ .inline-inputs input.small{width:90px;}
138
+ .inline-inputs span{padding:0 2px 0 1px;}
139
+ .input-prepend input,.input-append input{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
140
+ .input-prepend .add-on,.input-append .add-on{background:#f5f5f5;float:left;display:block;width:auto;min-width:16px;padding:4px 4px 4px 5px;color:#bfbfbf;font-weight:normal;line-height:18px;height:18px;text-align:center;text-shadow:0 1px 0 #fff;border:1px solid #ccc;border-right-width:0;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
141
+ .input-prepend .active,.input-append .active{background:#a9dba9;border-color:#46a546;}
142
+ .input-prepend .add-on{*margin-top:1px;}
143
+ .input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
144
+ .input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;border-right-width:1px;border-left-width:0;}
145
+ .inputs-list{margin:0 0 5px;width:100%;}.inputs-list li{display:block;padding:0;width:100%;}.inputs-list li label{display:block;float:none;width:auto;padding:0;line-height:18px;text-align:left;white-space:normal;}.inputs-list li label strong{color:#808080;}
146
+ .inputs-list li label small{font-size:12px;font-weight:normal;}
147
+ .inputs-list li ul.inputs-list{margin-left:25px;margin-bottom:10px;padding-top:0;}
148
+ .inputs-list li:first-child{padding-top:5px;}
149
+ .inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;}
150
+ .form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;}
151
+ .form-stacked legend{margin-left:0;}
152
+ .form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;}
153
+ .form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;}
154
+ .form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;}
155
+ .form-stacked div.error{padding-top:10px;padding-bottom:10px;padding-left:10px;margin-top:0;margin-left:-10px;}
156
+ .form-stacked .actions{margin-left:-20px;padding-left:20px;}
157
+ table{width:100%;margin-bottom:18px;padding:0;border-collapse:separate;font-size:13px;}table th,table td{padding:10px 10px 9px;line-height:13.5px;text-align:left;vertical-align:middle;border-bottom:1px solid #ddd;}
158
+ table th{padding-top:9px;font-weight:bold;border-bottom-width:2px;}
159
+ .zebra-striped tbody tr:nth-child(odd) td{background-color:#f9f9f9;}
160
+ .zebra-striped tbody tr:hover td{background-color:#f5f5f5;}
161
+ .zebra-striped .header{cursor:pointer;}.zebra-striped .header:after{content:"";float:right;margin-top:7px;border-width:0 4px 4px;border-style:solid;border-color:#000 transparent;visibility:hidden;}
162
+ .zebra-striped .headerSortUp,.zebra-striped .headerSortDown{background-color:rgba(141, 192, 219, 0.25);text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;}
163
+ .zebra-striped .header:hover:after{visibility:visible;}
164
+ .zebra-striped .headerSortDown:after,.zebra-striped .headerSortDown:hover:after{visibility:visible;filter:alpha(opacity=60);-khtml-opacity:0.6;-moz-opacity:0.6;opacity:0.6;}
165
+ .zebra-striped .headerSortUp:after{border-bottom:none;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000;visibility:visible;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;filter:alpha(opacity=60);-khtml-opacity:0.6;-moz-opacity:0.6;opacity:0.6;}
166
+ table .blue{color:#049cdb;border-bottom-color:#049cdb;}
167
+ table .headerSortUp.blue,table .headerSortDown.blue{background-color:#ade6fe;}
168
+ table .green{color:#46a546;border-bottom-color:#46a546;}
169
+ table .headerSortUp.green,table .headerSortDown.green{background-color:#cdeacd;}
170
+ table .red{color:#9d261d;border-bottom-color:#9d261d;}
171
+ table .headerSortUp.red,table .headerSortDown.red{background-color:#f4c8c5;}
172
+ table .yellow{color:#ffc40d;border-bottom-color:#ffc40d;}
173
+ table .headerSortUp.yellow,table .headerSortDown.yellow{background-color:#fff6d9;}
174
+ table .orange{color:#f89406;border-bottom-color:#f89406;}
175
+ table .headerSortUp.orange,table .headerSortDown.orange{background-color:#fee9cc;}
176
+ table .purple{color:#7a43b6;border-bottom-color:#7a43b6;}
177
+ table .headerSortUp.purple,table .headerSortDown.purple{background-color:#e2d5f0;}
178
+ .topbar{height:40px;position:fixed;top:0;left:0;right:0;z-index:10000;overflow:visible;}.topbar a{color:#bfbfbf;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
179
+ .topbar a:hover,.topbar ul .active a{background-color:#333;background-color:rgba(255, 255, 255, 0.05);color:#ffffff;text-decoration:none;}
180
+ .topbar h3{position:relative;}.topbar h3 a{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;color:#ffffff;font-size:20px;font-weight:200;line-height:1;}
181
+ .topbar form{float:left;margin:5px 0 0 0;position:relative;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;}
182
+ .topbar input{background-color:#444;background-color:rgba(255, 255, 255, 0.3);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:normal;font-weight:13px;line-height:1;padding:4px 9px;color:#fff;color:rgba(255, 255, 255, 0.75);border:1px solid #111;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);-webkit-transition:none;-moz-transition:none;transition:none;}.topbar input:-moz-placeholder{color:#e6e6e6;}
183
+ .topbar input::-webkit-input-placeholder{color:#e6e6e6;}
184
+ .topbar input:hover{background-color:#bfbfbf;background-color:rgba(255, 255, 255, 0.5);color:#fff;}
185
+ .topbar input:focus,.topbar input.focused{outline:none;background-color:#fff;color:#404040;text-shadow:0 1px 0 #fff;border:0;padding:5px 10px;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);}
186
+ .topbar-inner,.topbar .fill{background-color:#222;background-color:#222222;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);}
187
+ .topbar div>ul,.nav{display:block;float:left;margin:0 10px 0 0;position:relative;left:0;}.topbar div>ul>li,.nav>li{display:block;float:left;}
188
+ .topbar div>ul a,.nav a{display:block;float:none;padding:10px 10px 11px;line-height:19px;text-decoration:none;}.topbar div>ul a:hover,.nav a:hover{color:#fff;text-decoration:none;}
189
+ .topbar div>ul .active a,.nav .active a{background-color:#222;background-color:rgba(0, 0, 0, 0.5);}
190
+ .topbar div>ul.secondary-nav,.nav.secondary-nav{float:right;margin-left:10px;margin-right:0;}.topbar div>ul.secondary-nav .menu-dropdown,.nav.secondary-nav .menu-dropdown,.topbar div>ul.secondary-nav .dropdown-menu,.nav.secondary-nav .dropdown-menu{right:0;}
191
+ .topbar div>ul a.menu:hover,.nav a.menu:hover,.topbar div>ul li.open .menu,.nav li.open .menu,.topbar div>ul .dropdown-toggle:hover,.nav .dropdown-toggle:hover,.topbar div>ul .dropdown.open .dropdown-toggle,.nav .dropdown.open .dropdown-toggle{background:#444;background:rgba(255, 255, 255, 0.05);}
192
+ .topbar div>ul .menu-dropdown,.nav .menu-dropdown,.topbar div>ul .dropdown-menu,.nav .dropdown-menu{background-color:#333;}.topbar div>ul .menu-dropdown a.menu,.nav .menu-dropdown a.menu,.topbar div>ul .dropdown-menu a.menu,.nav .dropdown-menu a.menu,.topbar div>ul .menu-dropdown .dropdown-toggle,.nav .menu-dropdown .dropdown-toggle,.topbar div>ul .dropdown-menu .dropdown-toggle,.nav .dropdown-menu .dropdown-toggle{color:#fff;}.topbar div>ul .menu-dropdown a.menu.open,.nav .menu-dropdown a.menu.open,.topbar div>ul .dropdown-menu a.menu.open,.nav .dropdown-menu a.menu.open,.topbar div>ul .menu-dropdown .dropdown-toggle.open,.nav .menu-dropdown .dropdown-toggle.open,.topbar div>ul .dropdown-menu .dropdown-toggle.open,.nav .dropdown-menu .dropdown-toggle.open{background:#444;background:rgba(255, 255, 255, 0.05);}
193
+ .topbar div>ul .menu-dropdown li a,.nav .menu-dropdown li a,.topbar div>ul .dropdown-menu li a,.nav .dropdown-menu li a{color:#999;text-shadow:0 1px 0 rgba(0, 0, 0, 0.5);}.topbar div>ul .menu-dropdown li a:hover,.nav .menu-dropdown li a:hover,.topbar div>ul .dropdown-menu li a:hover,.nav .dropdown-menu li a:hover{background-color:#191919;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));background-image:-moz-linear-gradient(top, #292929, #191919);background-image:-ms-linear-gradient(top, #292929, #191919);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));background-image:-webkit-linear-gradient(top, #292929, #191919);background-image:-o-linear-gradient(top, #292929, #191919);background-image:linear-gradient(top, #292929, #191919);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);color:#fff;}
194
+ .topbar div>ul .menu-dropdown .divider,.nav .menu-dropdown .divider,.topbar div>ul .dropdown-menu .divider,.nav .dropdown-menu .divider{background-color:#222;border-color:#444;}
195
+ .topbar ul .menu-dropdown li a,.topbar ul .dropdown-menu li a{padding:4px 15px;}
196
+ li.menu,.dropdown{position:relative;}
197
+ a.menu:after,.dropdown-toggle:after{width:0;height:0;display:inline-block;content:"↓";text-indent:-99999px;vertical-align:top;margin-top:8px;margin-left:4px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff;filter:alpha(opacity=50);-khtml-opacity:0.5;-moz-opacity:0.5;opacity:0.5;}
198
+ .menu-dropdown,.dropdown-menu{background-color:#fff;float:left;display:none;position:absolute;top:40px;min-width:160px;max-width:220px;_width:160px;margin-left:0;margin-right:0;padding:6px 0;zoom:1;border-color:#999;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:0 1px 1px;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);box-shadow:0 2px 4px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.menu-dropdown li,.dropdown-menu li{float:none;display:block;background-color:none;}
199
+ .menu-dropdown .divider,.dropdown-menu .divider{height:1px;margin:5px 0;overflow:hidden;background-color:#eee;border-bottom:1px solid #fff;}
200
+ .topbar .dropdown-menu a,.dropdown-menu a{display:block;padding:4px 15px;clear:both;font-weight:normal;line-height:18px;color:#808080;text-shadow:0 1px 0 #fff;}.topbar .dropdown-menu a:hover,.dropdown-menu a:hover{background-color:#dddddd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));background-image:-moz-linear-gradient(top, #eeeeee, #dddddd);background-image:-ms-linear-gradient(top, #eeeeee, #dddddd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd));background-image:-webkit-linear-gradient(top, #eeeeee, #dddddd);background-image:-o-linear-gradient(top, #eeeeee, #dddddd);background-image:linear-gradient(top, #eeeeee, #dddddd);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0);color:#404040;text-decoration:none;-webkit-box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);}
201
+ .open .menu,.dropdown.open .menu,.open .dropdown-toggle,.dropdown.open .dropdown-toggle{color:#fff;background:#ccc;background:rgba(0, 0, 0, 0.3);}
202
+ .open .menu-dropdown,.dropdown.open .menu-dropdown,.open .dropdown-menu,.dropdown.open .dropdown-menu{display:block;}
203
+ .tabs,.pills{margin:0 0 20px;padding:0;list-style:none;zoom:1;}.tabs:before,.pills:before,.tabs:after,.pills:after{display:table;content:"";}
204
+ .tabs:after,.pills:after{clear:both;}
205
+ .tabs>li,.pills>li{float:left;}.tabs>li>a,.pills>li>a{display:block;}
206
+ .tabs{width:100%;border-bottom:1px solid #ddd;}.tabs>li{position:relative;top:1px;}.tabs>li>a{margin-right:2px;padding:0 15px;line-height:35px;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.tabs>li>a:hover{background-color:#eee;border-bottom:1px solid #ddd;text-decoration:none;}
207
+ .tabs>li.active>a{background-color:#fff;padding:0 14px;border:1px solid #ddd;border-bottom:0;color:#808080;}
208
+ .tabs .menu-dropdown,.tabs .dropdown-menu{top:35px;border-width:1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
209
+ .tabs a.menu:after,.tabs .dropdown-toggle:after{border-top-color:#999;margin-top:15px;margin-left:5px;}
210
+ .tabs li.open a.menu:after,.tabs .dropdown.open .dropdown-toggle:after{border-top-color:#555;}
211
+ .pills a{margin:5px 3px 5px 0;padding:0 15px;text-shadow:0 1px 1px #fff;line-height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills a:hover{background:#0050a3;color:#fff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
212
+ .pills .active a{background:#0069d6;color:#fff;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
213
+ .hero-unit{background-color:#f5f5f5;margin-top:60px;margin-bottom:30px;padding:60px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;}
214
+ .hero-unit p{font-size:18px;font-weight:200;line-height:27px;}
215
+ footer{margin-top:17px;padding-top:17px;border-top:1px solid #eee;}
216
+ .page-header{margin-bottom:17px;border-bottom:1px solid #ddd;-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);-moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);box-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}.page-header h1{margin-bottom:8px;}
217
+ .btn{cursor:pointer;display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);background-image:-ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:-o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);background-image:linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);padding:5px 14px 6px;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);color:#333;font-size:13px;line-height:normal;border:1px solid #ccc;border-bottom-color:#bbb;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-webkit-transition:0.1s linear all;-moz-transition:0.1s linear all;transition:0.1s linear all;}.btn:hover{background-position:0 -15px;color:#333;text-decoration:none;}
218
+ .btn.primary{color:#fff;background-color:#0064cd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));background-image:-moz-linear-gradient(top, #049cdb, #0064cd);background-image:-ms-linear-gradient(top, #049cdb, #0064cd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));background-image:-webkit-linear-gradient(top, #049cdb, #0064cd);background-image:-o-linear-gradient(top, #049cdb, #0064cd);background-image:linear-gradient(top, #049cdb, #0064cd);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0);text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#0064cd #0064cd #003f81;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
219
+ .btn:active{-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);}
220
+ .btn.disabled{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
221
+ .btn[disabled]{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
222
+ .btn.large{font-size:16px;line-height:normal;padding:9px 14px 9px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
223
+ .btn.small{padding:7px 9px 7px;font-size:11px;}
224
+ :root .alert-message,:root .btn{border-radius:0 \0;}
225
+ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0;}
226
+ .alert-message{background-color:#eedc94;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94));background-image:-moz-linear-gradient(top, #fceec1, #eedc94);background-image:-ms-linear-gradient(top, #fceec1, #eedc94);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94));background-image:-webkit-linear-gradient(top, #fceec1, #eedc94);background-image:-o-linear-gradient(top, #fceec1, #eedc94);background-image:linear-gradient(top, #fceec1, #eedc94);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0);text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);border-color:#eedc94 #eedc94 #e4c652;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);margin-bottom:18px;padding:7px 14px;color:#404040;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);border-width:1px;border-style:solid;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);}.alert-message h5{line-height:18px;}
227
+ .alert-message p{margin-bottom:0;}
228
+ .alert-message div{margin-top:5px;margin-bottom:2px;line-height:28px;}
229
+ .alert-message .btn{-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);-moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);box-shadow:0 1px 0 rgba(255, 255, 255, 0.25);}
230
+ .alert-message .close{float:right;margin-top:-2px;color:#000000;font-size:20px;font-weight:bold;text-shadow:0 1px 0 #ffffff;filter:alpha(opacity=20);-khtml-opacity:0.2;-moz-opacity:0.2;opacity:0.2;}.alert-message .close:hover{color:#000000;text-decoration:none;filter:alpha(opacity=40);-khtml-opacity:0.4;-moz-opacity:0.4;opacity:0.4;}
231
+ .alert-message.block-message{background-image:none;background-color:#fdf5d9;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);padding:14px;border-color:#fceec1;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.alert-message.block-message p{margin-right:30px;}
232
+ .alert-message.block-message .alert-actions{margin-top:5px;}
233
+ .alert-message.block-message.error,.alert-message.block-message.success,.alert-message.block-message.info{color:#404040;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
234
+ .alert-message.block-message.error{background-color:#fddfde;border-color:#fbc7c6;}
235
+ .alert-message.block-message.success{background-color:#d1eed1;border-color:#bfe7bf;}
236
+ .alert-message.block-message.info{background-color:#ddf4fb;border-color:#c6edf9;}
237
+ .pagination{height:36px;margin:18px 0;}.pagination ul{float:left;margin:0;border:1px solid #ddd;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);}
238
+ .pagination li{display:inline;}
239
+ .pagination a{float:left;padding:0 14px;line-height:34px;border-right:1px solid;border-right-color:#ddd;border-right-color:rgba(0, 0, 0, 0.15);*border-right-color:#ddd;text-decoration:none;}
240
+ .pagination a:hover,.pagination .active a{background-color:#c7eefe;}
241
+ .pagination .disabled a,.pagination .disabled a:hover{background-color:transparent;color:#bfbfbf;}
242
+ .pagination .next a{border:0;}
243
+ .well{background-color:#f5f5f5;margin-bottom:20px;padding:19px;min-height:20px;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}
244
+ .modal-backdrop{background-color:rgba(0, 0, 0, 0.5);position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;}
245
+ .modal{position:fixed;top:50%;left:50%;z-index:2000;width:560px;margin:-280px 0 0 -250px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}
246
+ .modal-header{border-bottom:1px solid #eee;padding:5px 20px;}.modal-header .close{position:absolute;right:10px;top:10px;color:#999;line-height:10px;font-size:18px;}
247
+ .modal-body{padding:20px;}
248
+ .modal-footer{background-color:#f5f5f5;padding:14px 20px 15px;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;zoom:1;margin-bottom:0;}.modal-footer:before,.modal-footer:after{display:table;content:"";}
249
+ .modal-footer:after{clear:both;}
250
+ .modal-footer .btn{float:right;margin-left:10px;}
251
+ .twipsy{display:block;position:absolute;visibility:visible;padding:5px;font-size:11px;z-index:1000;filter:alpha(opacity=80);-khtml-opacity:0.8;-moz-opacity:0.8;opacity:0.8;}.twipsy.above .twipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
252
+ .twipsy.left .twipsy-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
253
+ .twipsy.below .twipsy-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
254
+ .twipsy.right .twipsy-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
255
+ .twipsy-inner{padding:3px 8px;background-color:#000;color:white;text-align:center;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
256
+ .twipsy-arrow{position:absolute;width:0;height:0;}
257
+ .popover{position:absolute;top:0;left:0;z-index:1000;padding:5px;display:none;}.popover.above .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
258
+ .popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
259
+ .popover.below .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
260
+ .popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
261
+ .popover .arrow{position:absolute;width:0;height:0;}
262
+ .popover .inner{background:#333;background:rgba(0, 0, 0, 0.8);padding:3px;overflow:hidden;width:280px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);}
263
+ .popover .title{background-color:#f5f5f5;padding:9px 15px;line-height:1;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;border-bottom:1px solid #eee;}
264
+ .popover .content{background-color:#ffffff;padding:14px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover .content p,.popover .content ul,.popover .content ol{margin-bottom:0;}
@@ -0,0 +1,140 @@
1
+ body {
2
+ padding-top: 40px;
3
+ }
4
+
5
+ .divider {
6
+ height: 1px;
7
+ overflow: hidden;
8
+ background: #ddd;
9
+ background: rgba(0, 0, 0, 0.1);
10
+ border-bottom: 1px solid #fff;
11
+ margin: 6px 0px 5px;
12
+ }
13
+
14
+ .float-left {
15
+ float: left;
16
+ margin-right: 10px;
17
+ }
18
+
19
+ .float-right {
20
+ float: right;
21
+ margin-left: 10px;
22
+ }
23
+
24
+ .text-center {
25
+ text-align: center;
26
+ }
27
+
28
+ div.clearfix {
29
+ margin-bottom: 10px;
30
+ }
31
+
32
+ div.well div.clearfix:after {
33
+ clear: inherit;
34
+ }
35
+
36
+ div.well div.clearfix:last-child {
37
+ margin-bottom: 0px;
38
+ }
39
+
40
+ div.content h1 {
41
+ margin: 10px;
42
+ }
43
+
44
+ div.modal {
45
+ top: 480px;
46
+ }
47
+
48
+ div.modal form {
49
+ margin-bottom: 0px;
50
+ }
51
+
52
+ form div.actions {
53
+ background: none;
54
+ margin: 0px;
55
+ padding: 0px;
56
+ border: 0px;
57
+ }
58
+
59
+ ul.pills {
60
+ height: 40px;
61
+ }
62
+
63
+ ul.tabs {
64
+ height: 36px;
65
+ }
66
+
67
+ ul.viewstack {
68
+ list-style: none;
69
+ margin: 0px;
70
+ }
71
+
72
+ select.multiple {
73
+ height: 108px;
74
+ }
75
+
76
+ textarea.xxlarge {
77
+ overflow-y: auto;
78
+ }
79
+
80
+ div.modal-backdrop, div.modal {
81
+ opacity: 0.0;
82
+ visibility: hidden;
83
+ -webkit-transition-property: opacity, visibility;
84
+ -moz-transition-property: opacity, visibility;
85
+ transition-property: opacity, visibility;
86
+ -webkit-transition-duration: 0.6s, 0s;
87
+ -moz-transition-duration: 0.6s, 0s;
88
+ transition-duration: 0.6s, 0s;
89
+ -webkit-transition-delay: 0s, 0.6s;
90
+ -moz-transition-delay: 0s, 0.6s;
91
+ transition-delay: 0s, 0.6s;
92
+ }
93
+
94
+ div.modal-backdrop.active, div.modal.active {
95
+ visibility: visible;
96
+ opacity: 1.0;
97
+ -webkit-transition-property: visibility, opacity;
98
+ -moz-transition-property: visibility, opacity;
99
+ transition-property: visibility, opacity;
100
+ -webkit-transition-duration: 0s, 0.6s;
101
+ -moz-transition-duration: 0s, 0.6s;
102
+ transition-duration: 0s, 0.6s;
103
+ -webkit-transition-delay: 0s, 0s;
104
+ -moz-transition-delay: 0s, 0s;
105
+ transition-delay: 0s, 0s;
106
+ }
107
+
108
+ ul.unstyled {
109
+ margin-bottom: 0px;
110
+ }
111
+
112
+ ul.viewstack > li.view {
113
+ height: 0px;
114
+ overflow: hidden;
115
+ opacity: 0.0;
116
+ -webkit-transition-property: opacity, height;
117
+ -moz-transition-property: opacity, height;
118
+ transition-property: opacity, height;
119
+ -webkit-transition-duration: 0.3s, 0s;
120
+ -moz-transition-duration: 0.3s, 0s;
121
+ transition-duration: 0.3s, 0s;
122
+ -webkit-transition-delay: 0s, 0.3s;
123
+ -moz-transition-delay: 0s, 0.3s;
124
+ transition-delay: 0s, 0.3s;
125
+ }
126
+
127
+ ul.viewstack > li.view.active {
128
+ height: auto;
129
+ overflow: auto;
130
+ opacity: 1.0;
131
+ -webkit-transition-property: height, opacity;
132
+ -moz-transition-property: height, opacity;
133
+ transition-property: height, opacity;
134
+ -webkit-transition-duration: 0s, 0.3s;
135
+ -moz-transition-duration: 0s, 0.3s;
136
+ transition-duration: 0s, 0.3s;
137
+ -webkit-transition-delay: 0s, 0s;
138
+ -moz-transition-delay: 0s, 0s;
139
+ transition-delay: 0s, 0s;
140
+ }
@@ -0,0 +1,103 @@
1
+ $(function() {
2
+ var $window = $(window);
3
+
4
+ var modalLinks = $('a.modal-target');
5
+
6
+ modalLinks.bind('click', function(evt) {
7
+ var modalLink = $(this);
8
+ var modalId = modalLink.attr('href');
9
+
10
+ if (!modalId) return;
11
+
12
+ modalId = (modalId.charAt(0) === '#') ? modalId.substr(1) : modalId;
13
+
14
+ if (!modalId) return;
15
+
16
+ var modal = $('#' + modalId);
17
+
18
+ if (modal.size() === 0) return;
19
+
20
+ var modalBackdrop = modal.parent('div.modal-backdrop');
21
+
22
+ if (modalBackdrop.size() === 0) return;
23
+
24
+ modalBackdrop.addClass('active');
25
+ modal.addClass('active');
26
+
27
+ modal.find('a.close').bind('click', function(evt) {
28
+ var closeLink = $(this);
29
+ var modal = closeLink.closest('div.modal');
30
+ var modalBackdrop = modal.parent('div.modal-backdrop');
31
+
32
+ modal.removeClass('active');
33
+ modalBackdrop.removeClass('active');
34
+
35
+ closeLink.unbind();
36
+
37
+ evt.preventDefault();
38
+ });
39
+
40
+ evt.preventDefault();
41
+ });
42
+
43
+ $window.bind('keyup', function(evt) {
44
+ if (evt.keyCode === 27) {
45
+ $('div.modal.active a.close').trigger('click');
46
+ }
47
+ });
48
+
49
+ var tabsets = $('ul.tabs, ul.pills');
50
+
51
+ tabsets.each(function(index, element) {
52
+ var tabset = $(element);
53
+ var tabs = tabset.children('li');
54
+
55
+ if (tabs.size() === 0) return;
56
+
57
+ var tabLinks = tabs.children('a');
58
+
59
+ if (tabLinks.size() === 0) return;
60
+
61
+ var viewstack = tabset.next('ul.viewstack');
62
+ var views = viewstack.children('li.view');
63
+
64
+ if (viewstack.size() === 0 || views.size() === 0) return;
65
+
66
+ views.removeClass('active');
67
+
68
+ tabLinks.bind('click', function(evt) {
69
+ var activeTabLink = $(this);
70
+ var activeTab = activeTabLink.parent();
71
+
72
+ if (activeTab.hasClass('active')) return;
73
+
74
+ tabs.removeClass('active');
75
+ activeTab.addClass('active');
76
+ views.removeClass('active');
77
+
78
+ var activeTabButton = activeTab.children('a');
79
+ var activeViewId = activeTabButton.attr('href');
80
+
81
+ if (!activeViewId) activeViewId = viewstack.eq(tabs.index('.active')).attr('id');
82
+ if (!activeViewId) return;
83
+
84
+ activeViewId = (activeViewId.charAt(0) === '#') ? activeViewId.substr(1) : activeViewId;
85
+
86
+ if (!activeViewId) return;
87
+
88
+ var activeView = $('#' + activeViewId);
89
+
90
+ if (activeView.size() === 0) return;
91
+
92
+ activeView.addClass('active');
93
+
94
+ evt.preventDefault();
95
+ });
96
+
97
+ var activeTab = tabs.filter('.active');
98
+
99
+ if (activeTab.size() === 0) activeTab = tabs.eq(0);
100
+
101
+ activeTab.removeClass('active').children('a').trigger('click');
102
+ });
103
+ });