bootstrap_admin 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +129 -31
  3. data/app/assets/stylesheets/bootstrap_overrides.css.scss +1 -0
  4. data/app/helpers/bootstrap_admin/menu_helper.rb +1 -1
  5. data/app/helpers/bootstrap_admin_helper.rb +22 -4
  6. data/app/views/defaults/_form.html.haml +1 -1
  7. data/app/views/defaults/_paginator.html.haml +3 -2
  8. data/app/views/defaults/edit.html.haml +1 -1
  9. data/app/views/defaults/new.html.haml +1 -1
  10. data/bootstrap_admin.gemspec +3 -2
  11. data/config/initializers/simple_form.rb +1 -1
  12. data/lib/bootstrap_admin/controller_helpers.rb +5 -2
  13. data/lib/bootstrap_admin/version.rb +1 -1
  14. data/lib/bootstrap_admin.rb +7 -0
  15. data/lib/generators/bootstrap_admin/{USAGE → install/USAGE} +0 -0
  16. data/lib/generators/bootstrap_admin/{install_generator.rb → install/install_generator.rb} +5 -0
  17. data/lib/generators/bootstrap_admin/{templates → install/templates}/bootstrap_admin.rb +0 -0
  18. data/lib/generators/bootstrap_admin/{templates → install/templates}/bootstrap_admin_menu.yml +0 -0
  19. data/lib/generators/bootstrap_admin/{templates → install/templates}/en_bootstrap_admin.yml +0 -0
  20. data/lib/generators/bootstrap_admin/override_views/USAGE +24 -0
  21. data/lib/generators/bootstrap_admin/override_views/override_views_generator.rb +61 -0
  22. data/vendor/assets/javascripts/bootstrap.js +379 -124
  23. data/vendor/assets/javascripts/bootstrap.min.js +2 -2
  24. data/vendor/assets/stylesheets/bootstrap-responsive.css +26 -5
  25. data/vendor/assets/stylesheets/bootstrap-responsive.min.css +4 -4
  26. data/vendor/assets/stylesheets/bootstrap.css +510 -236
  27. data/vendor/assets/stylesheets/bootstrap.min.css +4 -4
  28. metadata +39 -36
@@ -1,13 +1,45 @@
1
1
  /*!
2
- * Bootstrap v2.2.1
2
+ * Bootstrap v2.3.2
3
3
  *
4
- * Copyright 2012 Twitter, Inc
4
+ * Copyright 2013 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
6
6
  * http://www.apache.org/licenses/LICENSE-2.0
7
7
  *
8
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
8
+ * Designed and built with all the love in the world by @mdo and @fat.
9
9
  */
10
10
 
11
+ .clearfix {
12
+ *zoom: 1;
13
+ }
14
+
15
+ .clearfix:before,
16
+ .clearfix:after {
17
+ display: table;
18
+ line-height: 0;
19
+ content: "";
20
+ }
21
+
22
+ .clearfix:after {
23
+ clear: both;
24
+ }
25
+
26
+ .hide-text {
27
+ font: 0/0 a;
28
+ color: transparent;
29
+ text-shadow: none;
30
+ background-color: transparent;
31
+ border: 0;
32
+ }
33
+
34
+ .input-block-level {
35
+ display: block;
36
+ width: 100%;
37
+ min-height: 30px;
38
+ -webkit-box-sizing: border-box;
39
+ -moz-box-sizing: border-box;
40
+ box-sizing: border-box;
41
+ }
42
+
11
43
  article,
12
44
  aside,
13
45
  details,
@@ -109,6 +141,17 @@ input[type="submit"] {
109
141
  -webkit-appearance: button;
110
142
  }
111
143
 
144
+ label,
145
+ select,
146
+ button,
147
+ input[type="button"],
148
+ input[type="reset"],
149
+ input[type="submit"],
150
+ input[type="radio"],
151
+ input[type="checkbox"] {
152
+ cursor: pointer;
153
+ }
154
+
112
155
  input[type="search"] {
113
156
  -webkit-box-sizing: content-box;
114
157
  -moz-box-sizing: content-box;
@@ -126,36 +169,56 @@ textarea {
126
169
  vertical-align: top;
127
170
  }
128
171
 
129
- .clearfix {
130
- *zoom: 1;
131
- }
132
-
133
- .clearfix:before,
134
- .clearfix:after {
135
- display: table;
136
- line-height: 0;
137
- content: "";
138
- }
139
-
140
- .clearfix:after {
141
- clear: both;
142
- }
143
-
144
- .hide-text {
145
- font: 0/0 a;
146
- color: transparent;
147
- text-shadow: none;
148
- background-color: transparent;
149
- border: 0;
150
- }
151
-
152
- .input-block-level {
153
- display: block;
154
- width: 100%;
155
- min-height: 30px;
156
- -webkit-box-sizing: border-box;
157
- -moz-box-sizing: border-box;
158
- box-sizing: border-box;
172
+ @media print {
173
+ * {
174
+ color: #000 !important;
175
+ text-shadow: none !important;
176
+ background: transparent !important;
177
+ box-shadow: none !important;
178
+ }
179
+ a,
180
+ a:visited {
181
+ text-decoration: underline;
182
+ }
183
+ a[href]:after {
184
+ content: " (" attr(href) ")";
185
+ }
186
+ abbr[title]:after {
187
+ content: " (" attr(title) ")";
188
+ }
189
+ .ir a:after,
190
+ a[href^="javascript:"]:after,
191
+ a[href^="#"]:after {
192
+ content: "";
193
+ }
194
+ pre,
195
+ blockquote {
196
+ border: 1px solid #999;
197
+ page-break-inside: avoid;
198
+ }
199
+ thead {
200
+ display: table-header-group;
201
+ }
202
+ tr,
203
+ img {
204
+ page-break-inside: avoid;
205
+ }
206
+ img {
207
+ max-width: 100% !important;
208
+ }
209
+ @page {
210
+ margin: 0.5cm;
211
+ }
212
+ p,
213
+ h2,
214
+ h3 {
215
+ orphans: 3;
216
+ widows: 3;
217
+ }
218
+ h2,
219
+ h3 {
220
+ page-break-after: avoid;
221
+ }
159
222
  }
160
223
 
161
224
  body {
@@ -172,7 +235,8 @@ a {
172
235
  text-decoration: none;
173
236
  }
174
237
 
175
- a:hover {
238
+ a:hover,
239
+ a:focus {
176
240
  color: #005580;
177
241
  text-decoration: underline;
178
242
  }
@@ -615,11 +679,17 @@ cite {
615
679
  color: #999999;
616
680
  }
617
681
 
682
+ a.muted:hover,
683
+ a.muted:focus {
684
+ color: #808080;
685
+ }
686
+
618
687
  .text-warning {
619
688
  color: #c09853;
620
689
  }
621
690
 
622
- a.text-warning:hover {
691
+ a.text-warning:hover,
692
+ a.text-warning:focus {
623
693
  color: #a47e3c;
624
694
  }
625
695
 
@@ -627,7 +697,8 @@ a.text-warning:hover {
627
697
  color: #b94a48;
628
698
  }
629
699
 
630
- a.text-error:hover {
700
+ a.text-error:hover,
701
+ a.text-error:focus {
631
702
  color: #953b39;
632
703
  }
633
704
 
@@ -635,7 +706,8 @@ a.text-error:hover {
635
706
  color: #3a87ad;
636
707
  }
637
708
 
638
- a.text-info:hover {
709
+ a.text-info:hover,
710
+ a.text-info:focus {
639
711
  color: #2d6987;
640
712
  }
641
713
 
@@ -643,10 +715,23 @@ a.text-info:hover {
643
715
  color: #468847;
644
716
  }
645
717
 
646
- a.text-success:hover {
718
+ a.text-success:hover,
719
+ a.text-success:focus {
647
720
  color: #356635;
648
721
  }
649
722
 
723
+ .text-left {
724
+ text-align: left;
725
+ }
726
+
727
+ .text-right {
728
+ text-align: right;
729
+ }
730
+
731
+ .text-center {
732
+ text-align: center;
733
+ }
734
+
650
735
  h1,
651
736
  h2,
652
737
  h3,
@@ -747,6 +832,21 @@ ol.unstyled {
747
832
  list-style: none;
748
833
  }
749
834
 
835
+ ul.inline,
836
+ ol.inline {
837
+ margin-left: 0;
838
+ list-style: none;
839
+ }
840
+
841
+ ul.inline > li,
842
+ ol.inline > li {
843
+ display: inline-block;
844
+ *display: inline;
845
+ padding-right: 5px;
846
+ padding-left: 5px;
847
+ *zoom: 1;
848
+ }
849
+
750
850
  dl {
751
851
  margin-bottom: 20px;
752
852
  }
@@ -819,9 +919,9 @@ blockquote {
819
919
 
820
920
  blockquote p {
821
921
  margin-bottom: 0;
822
- font-size: 16px;
922
+ font-size: 17.5px;
823
923
  font-weight: 300;
824
- line-height: 25px;
924
+ line-height: 1.25;
825
925
  }
826
926
 
827
927
  blockquote small {
@@ -883,6 +983,7 @@ pre {
883
983
  code {
884
984
  padding: 2px 4px;
885
985
  color: #d14;
986
+ white-space: nowrap;
886
987
  background-color: #f7f7f9;
887
988
  border: 1px solid #e1e1e8;
888
989
  }
@@ -912,6 +1013,8 @@ pre.prettyprint {
912
1013
  pre code {
913
1014
  padding: 0;
914
1015
  color: inherit;
1016
+ white-space: pre;
1017
+ white-space: pre-wrap;
915
1018
  background-color: transparent;
916
1019
  border: 0;
917
1020
  }
@@ -1069,7 +1172,6 @@ input[type="checkbox"] {
1069
1172
  margin-top: 1px \9;
1070
1173
  *margin-top: 0;
1071
1174
  line-height: normal;
1072
- cursor: pointer;
1073
1175
  }
1074
1176
 
1075
1177
  input[type="file"],
@@ -1352,7 +1454,7 @@ input[type="checkbox"][readonly] {
1352
1454
  background-color: transparent;
1353
1455
  }
1354
1456
 
1355
- .control-group.warning > label,
1457
+ .control-group.warning .control-label,
1356
1458
  .control-group.warning .help-block,
1357
1459
  .control-group.warning .help-inline {
1358
1460
  color: #c09853;
@@ -1391,7 +1493,7 @@ input[type="checkbox"][readonly] {
1391
1493
  border-color: #c09853;
1392
1494
  }
1393
1495
 
1394
- .control-group.error > label,
1496
+ .control-group.error .control-label,
1395
1497
  .control-group.error .help-block,
1396
1498
  .control-group.error .help-inline {
1397
1499
  color: #b94a48;
@@ -1430,7 +1532,7 @@ input[type="checkbox"][readonly] {
1430
1532
  border-color: #b94a48;
1431
1533
  }
1432
1534
 
1433
- .control-group.success > label,
1535
+ .control-group.success .control-label,
1434
1536
  .control-group.success .help-block,
1435
1537
  .control-group.success .help-inline {
1436
1538
  color: #468847;
@@ -1469,7 +1571,7 @@ input[type="checkbox"][readonly] {
1469
1571
  border-color: #468847;
1470
1572
  }
1471
1573
 
1472
- .control-group.info > label,
1574
+ .control-group.info .control-label,
1473
1575
  .control-group.info .help-block,
1474
1576
  .control-group.info .help-inline {
1475
1577
  color: #3a87ad;
@@ -1508,16 +1610,16 @@ input[type="checkbox"][readonly] {
1508
1610
  border-color: #3a87ad;
1509
1611
  }
1510
1612
 
1511
- input:focus:required:invalid,
1512
- textarea:focus:required:invalid,
1513
- select:focus:required:invalid {
1613
+ input:focus:invalid,
1614
+ textarea:focus:invalid,
1615
+ select:focus:invalid {
1514
1616
  color: #b94a48;
1515
1617
  border-color: #ee5f5b;
1516
1618
  }
1517
1619
 
1518
- input:focus:required:invalid:focus,
1519
- textarea:focus:required:invalid:focus,
1520
- select:focus:required:invalid:focus {
1620
+ input:focus:invalid:focus,
1621
+ textarea:focus:invalid:focus,
1622
+ select:focus:invalid:focus {
1521
1623
  border-color: #e9322d;
1522
1624
  -webkit-box-shadow: 0 0 6px #f8b9b7;
1523
1625
  -moz-box-shadow: 0 0 6px #f8b9b7;
@@ -1564,9 +1666,11 @@ select:focus:required:invalid:focus {
1564
1666
 
1565
1667
  .input-append,
1566
1668
  .input-prepend {
1567
- margin-bottom: 5px;
1669
+ display: inline-block;
1670
+ margin-bottom: 10px;
1568
1671
  font-size: 0;
1569
1672
  white-space: nowrap;
1673
+ vertical-align: middle;
1570
1674
  }
1571
1675
 
1572
1676
  .input-append input,
@@ -1576,7 +1680,9 @@ select:focus:required:invalid:focus {
1576
1680
  .input-append .uneditable-input,
1577
1681
  .input-prepend .uneditable-input,
1578
1682
  .input-append .dropdown-menu,
1579
- .input-prepend .dropdown-menu {
1683
+ .input-prepend .dropdown-menu,
1684
+ .input-append .popover,
1685
+ .input-prepend .popover {
1580
1686
  font-size: 14px;
1581
1687
  }
1582
1688
 
@@ -1623,7 +1729,9 @@ select:focus:required:invalid:focus {
1623
1729
  .input-append .add-on,
1624
1730
  .input-prepend .add-on,
1625
1731
  .input-append .btn,
1626
- .input-prepend .btn {
1732
+ .input-prepend .btn,
1733
+ .input-append .btn-group > .dropdown-toggle,
1734
+ .input-prepend .btn-group > .dropdown-toggle {
1627
1735
  vertical-align: top;
1628
1736
  -webkit-border-radius: 0;
1629
1737
  -moz-border-radius: 0;
@@ -1656,9 +1764,9 @@ select:focus:required:invalid:focus {
1656
1764
  border-radius: 4px 0 0 4px;
1657
1765
  }
1658
1766
 
1659
- .input-append input + .btn-group .btn,
1660
- .input-append select + .btn-group .btn,
1661
- .input-append .uneditable-input + .btn-group .btn {
1767
+ .input-append input + .btn-group .btn:last-child,
1768
+ .input-append select + .btn-group .btn:last-child,
1769
+ .input-append .uneditable-input + .btn-group .btn:last-child {
1662
1770
  -webkit-border-radius: 0 4px 4px 0;
1663
1771
  -moz-border-radius: 0 4px 4px 0;
1664
1772
  border-radius: 0 4px 4px 0;
@@ -1671,7 +1779,8 @@ select:focus:required:invalid:focus {
1671
1779
  }
1672
1780
 
1673
1781
  .input-append .add-on:last-child,
1674
- .input-append .btn:last-child {
1782
+ .input-append .btn:last-child,
1783
+ .input-append .btn-group:last-child > .dropdown-toggle {
1675
1784
  -webkit-border-radius: 0 4px 4px 0;
1676
1785
  -moz-border-radius: 0 4px 4px 0;
1677
1786
  border-radius: 0 4px 4px 0;
@@ -1874,7 +1983,10 @@ legend + .control-group {
1874
1983
 
1875
1984
  .form-horizontal input + .help-block,
1876
1985
  .form-horizontal select + .help-block,
1877
- .form-horizontal textarea + .help-block {
1986
+ .form-horizontal textarea + .help-block,
1987
+ .form-horizontal .uneditable-input + .help-block,
1988
+ .form-horizontal .input-prepend + .help-block,
1989
+ .form-horizontal .input-append + .help-block {
1878
1990
  margin-top: 10px;
1879
1991
  }
1880
1992
 
@@ -1924,6 +2036,10 @@ table {
1924
2036
  border-top: 2px solid #dddddd;
1925
2037
  }
1926
2038
 
2039
+ .table .table {
2040
+ background-color: #ffffff;
2041
+ }
2042
+
1927
2043
  .table-condensed th,
1928
2044
  .table-condensed td {
1929
2045
  padding: 4px 5px;
@@ -1956,39 +2072,54 @@ table {
1956
2072
  border-top: 0;
1957
2073
  }
1958
2074
 
1959
- .table-bordered thead:first-child tr:first-child th:first-child,
1960
- .table-bordered tbody:first-child tr:first-child td:first-child {
2075
+ .table-bordered thead:first-child tr:first-child > th:first-child,
2076
+ .table-bordered tbody:first-child tr:first-child > td:first-child,
2077
+ .table-bordered tbody:first-child tr:first-child > th:first-child {
1961
2078
  -webkit-border-top-left-radius: 4px;
1962
2079
  border-top-left-radius: 4px;
1963
2080
  -moz-border-radius-topleft: 4px;
1964
2081
  }
1965
2082
 
1966
- .table-bordered thead:first-child tr:first-child th:last-child,
1967
- .table-bordered tbody:first-child tr:first-child td:last-child {
2083
+ .table-bordered thead:first-child tr:first-child > th:last-child,
2084
+ .table-bordered tbody:first-child tr:first-child > td:last-child,
2085
+ .table-bordered tbody:first-child tr:first-child > th:last-child {
1968
2086
  -webkit-border-top-right-radius: 4px;
1969
2087
  border-top-right-radius: 4px;
1970
2088
  -moz-border-radius-topright: 4px;
1971
2089
  }
1972
2090
 
1973
- .table-bordered thead:last-child tr:last-child th:first-child,
1974
- .table-bordered tbody:last-child tr:last-child td:first-child,
1975
- .table-bordered tfoot:last-child tr:last-child td:first-child {
1976
- -webkit-border-radius: 0 0 0 4px;
1977
- -moz-border-radius: 0 0 0 4px;
1978
- border-radius: 0 0 0 4px;
2091
+ .table-bordered thead:last-child tr:last-child > th:first-child,
2092
+ .table-bordered tbody:last-child tr:last-child > td:first-child,
2093
+ .table-bordered tbody:last-child tr:last-child > th:first-child,
2094
+ .table-bordered tfoot:last-child tr:last-child > td:first-child,
2095
+ .table-bordered tfoot:last-child tr:last-child > th:first-child {
1979
2096
  -webkit-border-bottom-left-radius: 4px;
1980
2097
  border-bottom-left-radius: 4px;
1981
2098
  -moz-border-radius-bottomleft: 4px;
1982
2099
  }
1983
2100
 
1984
- .table-bordered thead:last-child tr:last-child th:last-child,
1985
- .table-bordered tbody:last-child tr:last-child td:last-child,
1986
- .table-bordered tfoot:last-child tr:last-child td:last-child {
2101
+ .table-bordered thead:last-child tr:last-child > th:last-child,
2102
+ .table-bordered tbody:last-child tr:last-child > td:last-child,
2103
+ .table-bordered tbody:last-child tr:last-child > th:last-child,
2104
+ .table-bordered tfoot:last-child tr:last-child > td:last-child,
2105
+ .table-bordered tfoot:last-child tr:last-child > th:last-child {
1987
2106
  -webkit-border-bottom-right-radius: 4px;
1988
2107
  border-bottom-right-radius: 4px;
1989
2108
  -moz-border-radius-bottomright: 4px;
1990
2109
  }
1991
2110
 
2111
+ .table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
2112
+ -webkit-border-bottom-left-radius: 0;
2113
+ border-bottom-left-radius: 0;
2114
+ -moz-border-radius-bottomleft: 0;
2115
+ }
2116
+
2117
+ .table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
2118
+ -webkit-border-bottom-right-radius: 0;
2119
+ border-bottom-right-radius: 0;
2120
+ -moz-border-radius-bottomright: 0;
2121
+ }
2122
+
1992
2123
  .table-bordered caption + thead tr:first-child th:first-child,
1993
2124
  .table-bordered caption + tbody tr:first-child td:first-child,
1994
2125
  .table-bordered colgroup + thead tr:first-child th:first-child,
@@ -2007,13 +2138,13 @@ table {
2007
2138
  -moz-border-radius-topright: 4px;
2008
2139
  }
2009
2140
 
2010
- .table-striped tbody tr:nth-child(odd) td,
2011
- .table-striped tbody tr:nth-child(odd) th {
2141
+ .table-striped tbody > tr:nth-child(odd) > td,
2142
+ .table-striped tbody > tr:nth-child(odd) > th {
2012
2143
  background-color: #f9f9f9;
2013
2144
  }
2014
2145
 
2015
- .table-hover tbody tr:hover td,
2016
- .table-hover tbody tr:hover th {
2146
+ .table-hover tbody tr:hover > td,
2147
+ .table-hover tbody tr:hover > th {
2017
2148
  background-color: #f5f5f5;
2018
2149
  }
2019
2150
 
@@ -2110,35 +2241,35 @@ table th[class*="span"],
2110
2241
  margin-left: 0;
2111
2242
  }
2112
2243
 
2113
- .table tbody tr.success td {
2244
+ .table tbody tr.success > td {
2114
2245
  background-color: #dff0d8;
2115
2246
  }
2116
2247
 
2117
- .table tbody tr.error td {
2248
+ .table tbody tr.error > td {
2118
2249
  background-color: #f2dede;
2119
2250
  }
2120
2251
 
2121
- .table tbody tr.warning td {
2252
+ .table tbody tr.warning > td {
2122
2253
  background-color: #fcf8e3;
2123
2254
  }
2124
2255
 
2125
- .table tbody tr.info td {
2256
+ .table tbody tr.info > td {
2126
2257
  background-color: #d9edf7;
2127
2258
  }
2128
2259
 
2129
- .table-hover tbody tr.success:hover td {
2260
+ .table-hover tbody tr.success:hover > td {
2130
2261
  background-color: #d0e9c6;
2131
2262
  }
2132
2263
 
2133
- .table-hover tbody tr.error:hover td {
2264
+ .table-hover tbody tr.error:hover > td {
2134
2265
  background-color: #ebcccc;
2135
2266
  }
2136
2267
 
2137
- .table-hover tbody tr.warning:hover td {
2268
+ .table-hover tbody tr.warning:hover > td {
2138
2269
  background-color: #faf2cc;
2139
2270
  }
2140
2271
 
2141
- .table-hover tbody tr.info:hover td {
2272
+ .table-hover tbody tr.info:hover > td {
2142
2273
  background-color: #c4e3f3;
2143
2274
  }
2144
2275
 
@@ -2151,12 +2282,12 @@ table th[class*="span"],
2151
2282
  *margin-right: .3em;
2152
2283
  line-height: 14px;
2153
2284
  vertical-align: text-top;
2154
- background-image: url("assets/glyphicons-halflings.png");
2285
+ background-image: url("/assets/glyphicons-halflings.png");
2155
2286
  background-position: 14px 14px;
2156
2287
  background-repeat: no-repeat;
2157
2288
  }
2158
2289
 
2159
- /* White icons with optional class, or on hover/active states of certain elements */
2290
+ /* White icons with optional class, or on hover/focus/active states of certain elements */
2160
2291
 
2161
2292
  .icon-white,
2162
2293
  .nav-pills > .active > a > [class^="icon-"],
@@ -2166,12 +2297,16 @@ table th[class*="span"],
2166
2297
  .navbar-inverse .nav > .active > a > [class^="icon-"],
2167
2298
  .navbar-inverse .nav > .active > a > [class*=" icon-"],
2168
2299
  .dropdown-menu > li > a:hover > [class^="icon-"],
2300
+ .dropdown-menu > li > a:focus > [class^="icon-"],
2169
2301
  .dropdown-menu > li > a:hover > [class*=" icon-"],
2302
+ .dropdown-menu > li > a:focus > [class*=" icon-"],
2170
2303
  .dropdown-menu > .active > a > [class^="icon-"],
2171
2304
  .dropdown-menu > .active > a > [class*=" icon-"],
2172
2305
  .dropdown-submenu:hover > a > [class^="icon-"],
2173
- .dropdown-submenu:hover > a > [class*=" icon-"] {
2174
- background-image: url("assets/glyphicons-halflings-white.png");
2306
+ .dropdown-submenu:focus > a > [class^="icon-"],
2307
+ .dropdown-submenu:hover > a > [class*=" icon-"],
2308
+ .dropdown-submenu:focus > a > [class*=" icon-"] {
2309
+ background-image: url("/assets/glyphicons-halflings-white.png");
2175
2310
  }
2176
2311
 
2177
2312
  .icon-glass {
@@ -2640,6 +2775,7 @@ table th[class*="span"],
2640
2775
  }
2641
2776
 
2642
2777
  .icon-folder-close {
2778
+ width: 16px;
2643
2779
  background-position: -384px -120px;
2644
2780
  }
2645
2781
 
@@ -2808,7 +2944,7 @@ table th[class*="span"],
2808
2944
  border-bottom: 1px solid #ffffff;
2809
2945
  }
2810
2946
 
2811
- .dropdown-menu li > a {
2947
+ .dropdown-menu > li > a {
2812
2948
  display: block;
2813
2949
  padding: 3px 20px;
2814
2950
  clear: both;
@@ -2818,9 +2954,10 @@ table th[class*="span"],
2818
2954
  white-space: nowrap;
2819
2955
  }
2820
2956
 
2821
- .dropdown-menu li > a:hover,
2822
- .dropdown-menu li > a:focus,
2823
- .dropdown-submenu:hover > a {
2957
+ .dropdown-menu > li > a:hover,
2958
+ .dropdown-menu > li > a:focus,
2959
+ .dropdown-submenu:hover > a,
2960
+ .dropdown-submenu:focus > a {
2824
2961
  color: #ffffff;
2825
2962
  text-decoration: none;
2826
2963
  background-color: #0081c2;
@@ -2833,9 +2970,10 @@ table th[class*="span"],
2833
2970
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
2834
2971
  }
2835
2972
 
2836
- .dropdown-menu .active > a,
2837
- .dropdown-menu .active > a:hover {
2838
- color: #333333;
2973
+ .dropdown-menu > .active > a,
2974
+ .dropdown-menu > .active > a:hover,
2975
+ .dropdown-menu > .active > a:focus {
2976
+ color: #ffffff;
2839
2977
  text-decoration: none;
2840
2978
  background-color: #0081c2;
2841
2979
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
@@ -2848,16 +2986,19 @@ table th[class*="span"],
2848
2986
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
2849
2987
  }
2850
2988
 
2851
- .dropdown-menu .disabled > a,
2852
- .dropdown-menu .disabled > a:hover {
2989
+ .dropdown-menu > .disabled > a,
2990
+ .dropdown-menu > .disabled > a:hover,
2991
+ .dropdown-menu > .disabled > a:focus {
2853
2992
  color: #999999;
2854
2993
  }
2855
2994
 
2856
- .dropdown-menu .disabled > a:hover {
2995
+ .dropdown-menu > .disabled > a:hover,
2996
+ .dropdown-menu > .disabled > a:focus {
2857
2997
  text-decoration: none;
2858
2998
  cursor: default;
2859
2999
  background-color: transparent;
2860
3000
  background-image: none;
3001
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
2861
3002
  }
2862
3003
 
2863
3004
  .open {
@@ -2868,6 +3009,15 @@ table th[class*="span"],
2868
3009
  display: block;
2869
3010
  }
2870
3011
 
3012
+ .dropdown-backdrop {
3013
+ position: fixed;
3014
+ top: 0;
3015
+ right: 0;
3016
+ bottom: 0;
3017
+ left: 0;
3018
+ z-index: 990;
3019
+ }
3020
+
2871
3021
  .pull-right > .dropdown-menu {
2872
3022
  right: 0;
2873
3023
  left: auto;
@@ -2951,6 +3101,7 @@ table th[class*="span"],
2951
3101
  }
2952
3102
 
2953
3103
  .typeahead {
3104
+ z-index: 1051;
2954
3105
  margin-top: 2px;
2955
3106
  -webkit-border-radius: 4px;
2956
3107
  -moz-border-radius: 4px;
@@ -3027,7 +3178,8 @@ table th[class*="span"],
3027
3178
  filter: alpha(opacity=20);
3028
3179
  }
3029
3180
 
3030
- .close:hover {
3181
+ .close:hover,
3182
+ .close:focus {
3031
3183
  color: #000000;
3032
3184
  text-decoration: none;
3033
3185
  cursor: pointer;
@@ -3051,7 +3203,6 @@ button.close {
3051
3203
  *margin-left: .3em;
3052
3204
  font-size: 14px;
3053
3205
  line-height: 20px;
3054
- *line-height: 20px;
3055
3206
  color: #333333;
3056
3207
  text-align: center;
3057
3208
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
@@ -3065,11 +3216,11 @@ button.close {
3065
3216
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
3066
3217
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
3067
3218
  background-repeat: repeat-x;
3068
- border: 1px solid #bbbbbb;
3219
+ border: 1px solid #cccccc;
3069
3220
  *border: 0;
3070
3221
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
3071
3222
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
3072
- border-bottom-color: #a2a2a2;
3223
+ border-bottom-color: #b3b3b3;
3073
3224
  -webkit-border-radius: 4px;
3074
3225
  -moz-border-radius: 4px;
3075
3226
  border-radius: 4px;
@@ -3082,6 +3233,7 @@ button.close {
3082
3233
  }
3083
3234
 
3084
3235
  .btn:hover,
3236
+ .btn:focus,
3085
3237
  .btn:active,
3086
3238
  .btn.active,
3087
3239
  .btn.disabled,
@@ -3100,13 +3252,10 @@ button.close {
3100
3252
  *margin-left: 0;
3101
3253
  }
3102
3254
 
3103
- .btn:hover {
3255
+ .btn:hover,
3256
+ .btn:focus {
3104
3257
  color: #333333;
3105
3258
  text-decoration: none;
3106
- background-color: #e6e6e6;
3107
- *background-color: #d9d9d9;
3108
- /* Buttons in IE7 don't get borders, so darken on hover */
3109
-
3110
3259
  background-position: 0 -15px;
3111
3260
  -webkit-transition: background-position 0.1s linear;
3112
3261
  -moz-transition: background-position 0.1s linear;
@@ -3122,8 +3271,6 @@ button.close {
3122
3271
 
3123
3272
  .btn.active,
3124
3273
  .btn:active {
3125
- background-color: #e6e6e6;
3126
- background-color: #d9d9d9 \9;
3127
3274
  background-image: none;
3128
3275
  outline: 0;
3129
3276
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
@@ -3134,7 +3281,6 @@ button.close {
3134
3281
  .btn.disabled,
3135
3282
  .btn[disabled] {
3136
3283
  cursor: default;
3137
- background-color: #e6e6e6;
3138
3284
  background-image: none;
3139
3285
  opacity: 0.65;
3140
3286
  filter: alpha(opacity=65);
@@ -3153,7 +3299,7 @@ button.close {
3153
3299
 
3154
3300
  .btn-large [class^="icon-"],
3155
3301
  .btn-large [class*=" icon-"] {
3156
- margin-top: 2px;
3302
+ margin-top: 4px;
3157
3303
  }
3158
3304
 
3159
3305
  .btn-small {
@@ -3169,8 +3315,13 @@ button.close {
3169
3315
  margin-top: 0;
3170
3316
  }
3171
3317
 
3318
+ .btn-mini [class^="icon-"],
3319
+ .btn-mini [class*=" icon-"] {
3320
+ margin-top: -1px;
3321
+ }
3322
+
3172
3323
  .btn-mini {
3173
- padding: 1px 6px;
3324
+ padding: 0 6px;
3174
3325
  font-size: 10.5px;
3175
3326
  -webkit-border-radius: 3px;
3176
3327
  -moz-border-radius: 3px;
@@ -3206,11 +3357,6 @@ input[type="button"].btn-block {
3206
3357
  color: rgba(255, 255, 255, 0.75);
3207
3358
  }
3208
3359
 
3209
- .btn {
3210
- border-color: #c5c5c5;
3211
- border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
3212
- }
3213
-
3214
3360
  .btn-primary {
3215
3361
  color: #ffffff;
3216
3362
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
@@ -3229,6 +3375,7 @@ input[type="button"].btn-block {
3229
3375
  }
3230
3376
 
3231
3377
  .btn-primary:hover,
3378
+ .btn-primary:focus,
3232
3379
  .btn-primary:active,
3233
3380
  .btn-primary.active,
3234
3381
  .btn-primary.disabled,
@@ -3261,6 +3408,7 @@ input[type="button"].btn-block {
3261
3408
  }
3262
3409
 
3263
3410
  .btn-warning:hover,
3411
+ .btn-warning:focus,
3264
3412
  .btn-warning:active,
3265
3413
  .btn-warning.active,
3266
3414
  .btn-warning.disabled,
@@ -3293,6 +3441,7 @@ input[type="button"].btn-block {
3293
3441
  }
3294
3442
 
3295
3443
  .btn-danger:hover,
3444
+ .btn-danger:focus,
3296
3445
  .btn-danger:active,
3297
3446
  .btn-danger.active,
3298
3447
  .btn-danger.disabled,
@@ -3325,6 +3474,7 @@ input[type="button"].btn-block {
3325
3474
  }
3326
3475
 
3327
3476
  .btn-success:hover,
3477
+ .btn-success:focus,
3328
3478
  .btn-success:active,
3329
3479
  .btn-success.active,
3330
3480
  .btn-success.disabled,
@@ -3357,6 +3507,7 @@ input[type="button"].btn-block {
3357
3507
  }
3358
3508
 
3359
3509
  .btn-info:hover,
3510
+ .btn-info:focus,
3360
3511
  .btn-info:active,
3361
3512
  .btn-info.active,
3362
3513
  .btn-info.disabled,
@@ -3389,6 +3540,7 @@ input[type="button"].btn-block {
3389
3540
  }
3390
3541
 
3391
3542
  .btn-inverse:hover,
3543
+ .btn-inverse:focus,
3392
3544
  .btn-inverse:active,
3393
3545
  .btn-inverse.active,
3394
3546
  .btn-inverse.disabled,
@@ -3452,13 +3604,15 @@ input[type="submit"].btn.btn-mini {
3452
3604
  border-radius: 0;
3453
3605
  }
3454
3606
 
3455
- .btn-link:hover {
3607
+ .btn-link:hover,
3608
+ .btn-link:focus {
3456
3609
  color: #005580;
3457
3610
  text-decoration: underline;
3458
3611
  background-color: transparent;
3459
3612
  }
3460
3613
 
3461
- .btn-link[disabled]:hover {
3614
+ .btn-link[disabled]:hover,
3615
+ .btn-link[disabled]:focus {
3462
3616
  color: #333333;
3463
3617
  text-decoration: none;
3464
3618
  }
@@ -3488,9 +3642,9 @@ input[type="submit"].btn.btn-mini {
3488
3642
  font-size: 0;
3489
3643
  }
3490
3644
 
3491
- .btn-toolbar .btn + .btn,
3492
- .btn-toolbar .btn-group + .btn,
3493
- .btn-toolbar .btn + .btn-group {
3645
+ .btn-toolbar > .btn + .btn,
3646
+ .btn-toolbar > .btn-group + .btn,
3647
+ .btn-toolbar > .btn + .btn-group {
3494
3648
  margin-left: 5px;
3495
3649
  }
3496
3650
 
@@ -3506,20 +3660,21 @@ input[type="submit"].btn.btn-mini {
3506
3660
  }
3507
3661
 
3508
3662
  .btn-group > .btn,
3509
- .btn-group > .dropdown-menu {
3663
+ .btn-group > .dropdown-menu,
3664
+ .btn-group > .popover {
3510
3665
  font-size: 14px;
3511
3666
  }
3512
3667
 
3513
3668
  .btn-group > .btn-mini {
3514
- font-size: 11px;
3669
+ font-size: 10.5px;
3515
3670
  }
3516
3671
 
3517
3672
  .btn-group > .btn-small {
3518
- font-size: 12px;
3673
+ font-size: 11.9px;
3519
3674
  }
3520
3675
 
3521
3676
  .btn-group > .btn-large {
3522
- font-size: 16px;
3677
+ font-size: 17.5px;
3523
3678
  }
3524
3679
 
3525
3680
  .btn-group > .btn:first-child {
@@ -3643,8 +3798,6 @@ input[type="submit"].btn.btn-mini {
3643
3798
  margin-left: 0;
3644
3799
  }
3645
3800
 
3646
- .btn-mini .caret,
3647
- .btn-small .caret,
3648
3801
  .btn-large .caret {
3649
3802
  margin-top: 6px;
3650
3803
  }
@@ -3655,6 +3808,11 @@ input[type="submit"].btn.btn-mini {
3655
3808
  border-left-width: 5px;
3656
3809
  }
3657
3810
 
3811
+ .btn-mini .caret,
3812
+ .btn-small .caret {
3813
+ margin-top: 8px;
3814
+ }
3815
+
3658
3816
  .dropup .btn-large .caret {
3659
3817
  border-bottom-width: 5px;
3660
3818
  }
@@ -3677,39 +3835,39 @@ input[type="submit"].btn.btn-mini {
3677
3835
  *zoom: 1;
3678
3836
  }
3679
3837
 
3680
- .btn-group-vertical .btn {
3838
+ .btn-group-vertical > .btn {
3681
3839
  display: block;
3682
3840
  float: none;
3683
- width: 100%;
3841
+ max-width: 100%;
3684
3842
  -webkit-border-radius: 0;
3685
3843
  -moz-border-radius: 0;
3686
3844
  border-radius: 0;
3687
3845
  }
3688
3846
 
3689
- .btn-group-vertical .btn + .btn {
3847
+ .btn-group-vertical > .btn + .btn {
3690
3848
  margin-top: -1px;
3691
3849
  margin-left: 0;
3692
3850
  }
3693
3851
 
3694
- .btn-group-vertical .btn:first-child {
3852
+ .btn-group-vertical > .btn:first-child {
3695
3853
  -webkit-border-radius: 4px 4px 0 0;
3696
3854
  -moz-border-radius: 4px 4px 0 0;
3697
3855
  border-radius: 4px 4px 0 0;
3698
3856
  }
3699
3857
 
3700
- .btn-group-vertical .btn:last-child {
3858
+ .btn-group-vertical > .btn:last-child {
3701
3859
  -webkit-border-radius: 0 0 4px 4px;
3702
3860
  -moz-border-radius: 0 0 4px 4px;
3703
3861
  border-radius: 0 0 4px 4px;
3704
3862
  }
3705
3863
 
3706
- .btn-group-vertical .btn-large:first-child {
3864
+ .btn-group-vertical > .btn-large:first-child {
3707
3865
  -webkit-border-radius: 6px 6px 0 0;
3708
3866
  -moz-border-radius: 6px 6px 0 0;
3709
3867
  border-radius: 6px 6px 0 0;
3710
3868
  }
3711
3869
 
3712
- .btn-group-vertical .btn-large:last-child {
3870
+ .btn-group-vertical > .btn-large:last-child {
3713
3871
  -webkit-border-radius: 0 0 6px 6px;
3714
3872
  -moz-border-radius: 0 0 6px 6px;
3715
3873
  border-radius: 0 0 6px 6px;
@@ -3718,7 +3876,6 @@ input[type="submit"].btn.btn-mini {
3718
3876
  .alert {
3719
3877
  padding: 8px 35px 8px 14px;
3720
3878
  margin-bottom: 20px;
3721
- color: #c09853;
3722
3879
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
3723
3880
  background-color: #fcf8e3;
3724
3881
  border: 1px solid #fbeed5;
@@ -3727,6 +3884,11 @@ input[type="submit"].btn.btn-mini {
3727
3884
  border-radius: 4px;
3728
3885
  }
3729
3886
 
3887
+ .alert,
3888
+ .alert h4 {
3889
+ color: #c09853;
3890
+ }
3891
+
3730
3892
  .alert h4 {
3731
3893
  margin: 0;
3732
3894
  }
@@ -3744,6 +3906,10 @@ input[type="submit"].btn.btn-mini {
3744
3906
  border-color: #d6e9c6;
3745
3907
  }
3746
3908
 
3909
+ .alert-success h4 {
3910
+ color: #468847;
3911
+ }
3912
+
3747
3913
  .alert-danger,
3748
3914
  .alert-error {
3749
3915
  color: #b94a48;
@@ -3751,12 +3917,21 @@ input[type="submit"].btn.btn-mini {
3751
3917
  border-color: #eed3d7;
3752
3918
  }
3753
3919
 
3920
+ .alert-danger h4,
3921
+ .alert-error h4 {
3922
+ color: #b94a48;
3923
+ }
3924
+
3754
3925
  .alert-info {
3755
3926
  color: #3a87ad;
3756
3927
  background-color: #d9edf7;
3757
3928
  border-color: #bce8f1;
3758
3929
  }
3759
3930
 
3931
+ .alert-info h4 {
3932
+ color: #3a87ad;
3933
+ }
3934
+
3760
3935
  .alert-block {
3761
3936
  padding-top: 14px;
3762
3937
  padding-bottom: 14px;
@@ -3781,11 +3956,16 @@ input[type="submit"].btn.btn-mini {
3781
3956
  display: block;
3782
3957
  }
3783
3958
 
3784
- .nav > li > a:hover {
3959
+ .nav > li > a:hover,
3960
+ .nav > li > a:focus {
3785
3961
  text-decoration: none;
3786
3962
  background-color: #eeeeee;
3787
3963
  }
3788
3964
 
3965
+ .nav > li > a > img {
3966
+ max-width: none;
3967
+ }
3968
+
3789
3969
  .nav > .pull-right {
3790
3970
  float: right;
3791
3971
  }
@@ -3823,7 +4003,8 @@ input[type="submit"].btn.btn-mini {
3823
4003
  }
3824
4004
 
3825
4005
  .nav-list > .active > a,
3826
- .nav-list > .active > a:hover {
4006
+ .nav-list > .active > a:hover,
4007
+ .nav-list > .active > a:focus {
3827
4008
  color: #ffffff;
3828
4009
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
3829
4010
  background-color: #0088cc;
@@ -3894,12 +4075,14 @@ input[type="submit"].btn.btn-mini {
3894
4075
  border-radius: 4px 4px 0 0;
3895
4076
  }
3896
4077
 
3897
- .nav-tabs > li > a:hover {
4078
+ .nav-tabs > li > a:hover,
4079
+ .nav-tabs > li > a:focus {
3898
4080
  border-color: #eeeeee #eeeeee #dddddd;
3899
4081
  }
3900
4082
 
3901
4083
  .nav-tabs > .active > a,
3902
- .nav-tabs > .active > a:hover {
4084
+ .nav-tabs > .active > a:hover,
4085
+ .nav-tabs > .active > a:focus {
3903
4086
  color: #555555;
3904
4087
  cursor: default;
3905
4088
  background-color: #ffffff;
@@ -3918,7 +4101,8 @@ input[type="submit"].btn.btn-mini {
3918
4101
  }
3919
4102
 
3920
4103
  .nav-pills > .active > a,
3921
- .nav-pills > .active > a:hover {
4104
+ .nav-pills > .active > a:hover,
4105
+ .nav-pills > .active > a:focus {
3922
4106
  color: #ffffff;
3923
4107
  background-color: #0088cc;
3924
4108
  }
@@ -3960,7 +4144,8 @@ input[type="submit"].btn.btn-mini {
3960
4144
  -moz-border-radius-bottomleft: 4px;
3961
4145
  }
3962
4146
 
3963
- .nav-tabs.nav-stacked > li > a:hover {
4147
+ .nav-tabs.nav-stacked > li > a:hover,
4148
+ .nav-tabs.nav-stacked > li > a:focus {
3964
4149
  z-index: 2;
3965
4150
  border-color: #ddd;
3966
4151
  }
@@ -3991,7 +4176,8 @@ input[type="submit"].btn.btn-mini {
3991
4176
  border-bottom-color: #0088cc;
3992
4177
  }
3993
4178
 
3994
- .nav .dropdown-toggle:hover .caret {
4179
+ .nav .dropdown-toggle:hover .caret,
4180
+ .nav .dropdown-toggle:focus .caret {
3995
4181
  border-top-color: #005580;
3996
4182
  border-bottom-color: #005580;
3997
4183
  }
@@ -4012,13 +4198,15 @@ input[type="submit"].btn.btn-mini {
4012
4198
  border-bottom-color: #555555;
4013
4199
  }
4014
4200
 
4015
- .nav > .dropdown.active > a:hover {
4201
+ .nav > .dropdown.active > a:hover,
4202
+ .nav > .dropdown.active > a:focus {
4016
4203
  cursor: pointer;
4017
4204
  }
4018
4205
 
4019
4206
  .nav-tabs .open .dropdown-toggle,
4020
4207
  .nav-pills .open .dropdown-toggle,
4021
- .nav > li.dropdown.open.active > a:hover {
4208
+ .nav > li.dropdown.open.active > a:hover,
4209
+ .nav > li.dropdown.open.active > a:focus {
4022
4210
  color: #ffffff;
4023
4211
  background-color: #999999;
4024
4212
  border-color: #999999;
@@ -4026,14 +4214,16 @@ input[type="submit"].btn.btn-mini {
4026
4214
 
4027
4215
  .nav li.dropdown.open .caret,
4028
4216
  .nav li.dropdown.open.active .caret,
4029
- .nav li.dropdown.open a:hover .caret {
4217
+ .nav li.dropdown.open a:hover .caret,
4218
+ .nav li.dropdown.open a:focus .caret {
4030
4219
  border-top-color: #ffffff;
4031
4220
  border-bottom-color: #ffffff;
4032
4221
  opacity: 1;
4033
4222
  filter: alpha(opacity=100);
4034
4223
  }
4035
4224
 
4036
- .tabs-stacked .open > a:hover {
4225
+ .tabs-stacked .open > a:hover,
4226
+ .tabs-stacked .open > a:focus {
4037
4227
  border-color: #999999;
4038
4228
  }
4039
4229
 
@@ -4087,13 +4277,15 @@ input[type="submit"].btn.btn-mini {
4087
4277
  border-radius: 0 0 4px 4px;
4088
4278
  }
4089
4279
 
4090
- .tabs-below > .nav-tabs > li > a:hover {
4280
+ .tabs-below > .nav-tabs > li > a:hover,
4281
+ .tabs-below > .nav-tabs > li > a:focus {
4091
4282
  border-top-color: #ddd;
4092
4283
  border-bottom-color: transparent;
4093
4284
  }
4094
4285
 
4095
4286
  .tabs-below > .nav-tabs > .active > a,
4096
- .tabs-below > .nav-tabs > .active > a:hover {
4287
+ .tabs-below > .nav-tabs > .active > a:hover,
4288
+ .tabs-below > .nav-tabs > .active > a:focus {
4097
4289
  border-color: transparent #ddd #ddd #ddd;
4098
4290
  }
4099
4291
 
@@ -4122,12 +4314,14 @@ input[type="submit"].btn.btn-mini {
4122
4314
  border-radius: 4px 0 0 4px;
4123
4315
  }
4124
4316
 
4125
- .tabs-left > .nav-tabs > li > a:hover {
4317
+ .tabs-left > .nav-tabs > li > a:hover,
4318
+ .tabs-left > .nav-tabs > li > a:focus {
4126
4319
  border-color: #eeeeee #dddddd #eeeeee #eeeeee;
4127
4320
  }
4128
4321
 
4129
4322
  .tabs-left > .nav-tabs .active > a,
4130
- .tabs-left > .nav-tabs .active > a:hover {
4323
+ .tabs-left > .nav-tabs .active > a:hover,
4324
+ .tabs-left > .nav-tabs .active > a:focus {
4131
4325
  border-color: #ddd transparent #ddd #ddd;
4132
4326
  *border-right-color: #ffffff;
4133
4327
  }
@@ -4145,12 +4339,14 @@ input[type="submit"].btn.btn-mini {
4145
4339
  border-radius: 0 4px 4px 0;
4146
4340
  }
4147
4341
 
4148
- .tabs-right > .nav-tabs > li > a:hover {
4342
+ .tabs-right > .nav-tabs > li > a:hover,
4343
+ .tabs-right > .nav-tabs > li > a:focus {
4149
4344
  border-color: #eeeeee #eeeeee #eeeeee #dddddd;
4150
4345
  }
4151
4346
 
4152
4347
  .tabs-right > .nav-tabs .active > a,
4153
- .tabs-right > .nav-tabs .active > a:hover {
4348
+ .tabs-right > .nav-tabs .active > a:hover,
4349
+ .tabs-right > .nav-tabs .active > a:focus {
4154
4350
  border-color: #ddd #ddd #ddd transparent;
4155
4351
  *border-left-color: #ffffff;
4156
4352
  }
@@ -4159,7 +4355,8 @@ input[type="submit"].btn.btn-mini {
4159
4355
  color: #999999;
4160
4356
  }
4161
4357
 
4162
- .nav > .disabled > a:hover {
4358
+ .nav > .disabled > a:hover,
4359
+ .nav > .disabled > a:focus {
4163
4360
  text-decoration: none;
4164
4361
  cursor: default;
4165
4362
  background-color: transparent;
@@ -4170,7 +4367,6 @@ input[type="submit"].btn.btn-mini {
4170
4367
  *z-index: 2;
4171
4368
  margin-bottom: 20px;
4172
4369
  overflow: visible;
4173
- color: #777777;
4174
4370
  }
4175
4371
 
4176
4372
  .navbar-inner {
@@ -4226,20 +4422,23 @@ input[type="submit"].btn.btn-mini {
4226
4422
  text-shadow: 0 1px 0 #ffffff;
4227
4423
  }
4228
4424
 
4229
- .navbar .brand:hover {
4425
+ .navbar .brand:hover,
4426
+ .navbar .brand:focus {
4230
4427
  text-decoration: none;
4231
4428
  }
4232
4429
 
4233
4430
  .navbar-text {
4234
4431
  margin-bottom: 0;
4235
4432
  line-height: 40px;
4433
+ color: #777777;
4236
4434
  }
4237
4435
 
4238
4436
  .navbar-link {
4239
4437
  color: #777777;
4240
4438
  }
4241
4439
 
4242
- .navbar-link:hover {
4440
+ .navbar-link:hover,
4441
+ .navbar-link:focus {
4243
4442
  color: #333333;
4244
4443
  }
4245
4444
 
@@ -4257,7 +4456,9 @@ input[type="submit"].btn.btn-mini {
4257
4456
 
4258
4457
  .navbar .btn-group .btn,
4259
4458
  .navbar .input-prepend .btn,
4260
- .navbar .input-append .btn {
4459
+ .navbar .input-append .btn,
4460
+ .navbar .input-prepend .btn-group,
4461
+ .navbar .input-append .btn-group {
4261
4462
  margin-top: 0;
4262
4463
  }
4263
4464
 
@@ -4299,7 +4500,7 @@ input[type="submit"].btn.btn-mini {
4299
4500
 
4300
4501
  .navbar-form .input-append,
4301
4502
  .navbar-form .input-prepend {
4302
- margin-top: 6px;
4503
+ margin-top: 5px;
4303
4504
  white-space: nowrap;
4304
4505
  }
4305
4506
 
@@ -4465,6 +4666,7 @@ input[type="submit"].btn.btn-mini {
4465
4666
  }
4466
4667
 
4467
4668
  .navbar .btn-navbar:hover,
4669
+ .navbar .btn-navbar:focus,
4468
4670
  .navbar .btn-navbar:active,
4469
4671
  .navbar .btn-navbar.active,
4470
4672
  .navbar .btn-navbar.disabled,
@@ -4534,6 +4736,12 @@ input[type="submit"].btn.btn-mini {
4534
4736
  border-bottom: 0;
4535
4737
  }
4536
4738
 
4739
+ .navbar .nav li.dropdown > a:hover .caret,
4740
+ .navbar .nav li.dropdown > a:focus .caret {
4741
+ border-top-color: #333333;
4742
+ border-bottom-color: #333333;
4743
+ }
4744
+
4537
4745
  .navbar .nav li.dropdown.open > .dropdown-toggle,
4538
4746
  .navbar .nav li.dropdown.active > .dropdown-toggle,
4539
4747
  .navbar .nav li.dropdown.open.active > .dropdown-toggle {
@@ -4582,10 +4790,6 @@ input[type="submit"].btn.btn-mini {
4582
4790
  border-radius: 6px 0 6px 6px;
4583
4791
  }
4584
4792
 
4585
- .navbar-inverse {
4586
- color: #999999;
4587
- }
4588
-
4589
4793
  .navbar-inverse .navbar-inner {
4590
4794
  background-color: #1b1b1b;
4591
4795
  background-image: -moz-linear-gradient(top, #222222, #111111);
@@ -4605,10 +4809,20 @@ input[type="submit"].btn.btn-mini {
4605
4809
  }
4606
4810
 
4607
4811
  .navbar-inverse .brand:hover,
4608
- .navbar-inverse .nav > li > a:hover {
4812
+ .navbar-inverse .nav > li > a:hover,
4813
+ .navbar-inverse .brand:focus,
4814
+ .navbar-inverse .nav > li > a:focus {
4609
4815
  color: #ffffff;
4610
4816
  }
4611
4817
 
4818
+ .navbar-inverse .brand {
4819
+ color: #999999;
4820
+ }
4821
+
4822
+ .navbar-inverse .navbar-text {
4823
+ color: #999999;
4824
+ }
4825
+
4612
4826
  .navbar-inverse .nav > li > a:focus,
4613
4827
  .navbar-inverse .nav > li > a:hover {
4614
4828
  color: #ffffff;
@@ -4626,7 +4840,8 @@ input[type="submit"].btn.btn-mini {
4626
4840
  color: #999999;
4627
4841
  }
4628
4842
 
4629
- .navbar-inverse .navbar-link:hover {
4843
+ .navbar-inverse .navbar-link:hover,
4844
+ .navbar-inverse .navbar-link:focus {
4630
4845
  color: #ffffff;
4631
4846
  }
4632
4847
 
@@ -4642,6 +4857,12 @@ input[type="submit"].btn.btn-mini {
4642
4857
  background-color: #111111;
4643
4858
  }
4644
4859
 
4860
+ .navbar-inverse .nav li.dropdown > a:hover .caret,
4861
+ .navbar-inverse .nav li.dropdown > a:focus .caret {
4862
+ border-top-color: #ffffff;
4863
+ border-bottom-color: #ffffff;
4864
+ }
4865
+
4645
4866
  .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
4646
4867
  border-top-color: #999999;
4647
4868
  border-bottom-color: #999999;
@@ -4710,6 +4931,7 @@ input[type="submit"].btn.btn-mini {
4710
4931
  }
4711
4932
 
4712
4933
  .navbar-inverse .btn-navbar:hover,
4934
+ .navbar-inverse .btn-navbar:focus,
4713
4935
  .navbar-inverse .btn-navbar:active,
4714
4936
  .navbar-inverse .btn-navbar.active,
4715
4937
  .navbar-inverse .btn-navbar.disabled,
@@ -4734,19 +4956,19 @@ input[type="submit"].btn.btn-mini {
4734
4956
  border-radius: 4px;
4735
4957
  }
4736
4958
 
4737
- .breadcrumb li {
4959
+ .breadcrumb > li {
4738
4960
  display: inline-block;
4739
4961
  *display: inline;
4740
4962
  text-shadow: 0 1px 0 #ffffff;
4741
4963
  *zoom: 1;
4742
4964
  }
4743
4965
 
4744
- .breadcrumb .divider {
4966
+ .breadcrumb > li > .divider {
4745
4967
  padding: 0 5px;
4746
4968
  color: #ccc;
4747
4969
  }
4748
4970
 
4749
- .breadcrumb .active {
4971
+ .breadcrumb > .active {
4750
4972
  color: #999999;
4751
4973
  }
4752
4974
 
@@ -4784,6 +5006,7 @@ input[type="submit"].btn.btn-mini {
4784
5006
  }
4785
5007
 
4786
5008
  .pagination ul > li > a:hover,
5009
+ .pagination ul > li > a:focus,
4787
5010
  .pagination ul > .active > a,
4788
5011
  .pagination ul > .active > span {
4789
5012
  background-color: #f5f5f5;
@@ -4797,7 +5020,8 @@ input[type="submit"].btn.btn-mini {
4797
5020
 
4798
5021
  .pagination ul > .disabled > span,
4799
5022
  .pagination ul > .disabled > a,
4800
- .pagination ul > .disabled > a:hover {
5023
+ .pagination ul > .disabled > a:hover,
5024
+ .pagination ul > .disabled > a:focus {
4801
5025
  color: #999999;
4802
5026
  cursor: default;
4803
5027
  background-color: transparent;
@@ -4890,7 +5114,7 @@ input[type="submit"].btn.btn-mini {
4890
5114
 
4891
5115
  .pagination-mini ul > li > a,
4892
5116
  .pagination-mini ul > li > span {
4893
- padding: 1px 6px;
5117
+ padding: 0 6px;
4894
5118
  font-size: 10.5px;
4895
5119
  }
4896
5120
 
@@ -4927,7 +5151,8 @@ input[type="submit"].btn.btn-mini {
4927
5151
  border-radius: 15px;
4928
5152
  }
4929
5153
 
4930
- .pager li > a:hover {
5154
+ .pager li > a:hover,
5155
+ .pager li > a:focus {
4931
5156
  text-decoration: none;
4932
5157
  background-color: #f5f5f5;
4933
5158
  }
@@ -4944,6 +5169,7 @@ input[type="submit"].btn.btn-mini {
4944
5169
 
4945
5170
  .pager .disabled > a,
4946
5171
  .pager .disabled > a:hover,
5172
+ .pager .disabled > a:focus,
4947
5173
  .pager .disabled > span {
4948
5174
  color: #999999;
4949
5175
  cursor: default;
@@ -4972,11 +5198,11 @@ input[type="submit"].btn.btn-mini {
4972
5198
 
4973
5199
  .modal {
4974
5200
  position: fixed;
4975
- top: 50%;
5201
+ top: 10%;
4976
5202
  left: 50%;
4977
5203
  z-index: 1050;
4978
5204
  width: 560px;
4979
- margin: -250px 0 0 -280px;
5205
+ margin-left: -280px;
4980
5206
  background-color: #ffffff;
4981
5207
  border: 1px solid #999;
4982
5208
  border: 1px solid rgba(0, 0, 0, 0.3);
@@ -5002,7 +5228,7 @@ input[type="submit"].btn.btn-mini {
5002
5228
  }
5003
5229
 
5004
5230
  .modal.fade.in {
5005
- top: 50%;
5231
+ top: 10%;
5006
5232
  }
5007
5233
 
5008
5234
  .modal-header {
@@ -5020,6 +5246,7 @@ input[type="submit"].btn.btn-mini {
5020
5246
  }
5021
5247
 
5022
5248
  .modal-body {
5249
+ position: relative;
5023
5250
  max-height: 400px;
5024
5251
  padding: 15px;
5025
5252
  overflow-y: auto;
@@ -5072,8 +5299,8 @@ input[type="submit"].btn.btn-mini {
5072
5299
  position: absolute;
5073
5300
  z-index: 1030;
5074
5301
  display: block;
5075
- padding: 5px;
5076
5302
  font-size: 11px;
5303
+ line-height: 1.4;
5077
5304
  opacity: 0;
5078
5305
  filter: alpha(opacity=0);
5079
5306
  visibility: visible;
@@ -5085,24 +5312,28 @@ input[type="submit"].btn.btn-mini {
5085
5312
  }
5086
5313
 
5087
5314
  .tooltip.top {
5315
+ padding: 5px 0;
5088
5316
  margin-top: -3px;
5089
5317
  }
5090
5318
 
5091
5319
  .tooltip.right {
5320
+ padding: 0 5px;
5092
5321
  margin-left: 3px;
5093
5322
  }
5094
5323
 
5095
5324
  .tooltip.bottom {
5325
+ padding: 5px 0;
5096
5326
  margin-top: 3px;
5097
5327
  }
5098
5328
 
5099
5329
  .tooltip.left {
5330
+ padding: 0 5px;
5100
5331
  margin-left: -3px;
5101
5332
  }
5102
5333
 
5103
5334
  .tooltip-inner {
5104
5335
  max-width: 200px;
5105
- padding: 3px 8px;
5336
+ padding: 8px;
5106
5337
  color: #ffffff;
5107
5338
  text-align: center;
5108
5339
  text-decoration: none;
@@ -5158,8 +5389,10 @@ input[type="submit"].btn.btn-mini {
5158
5389
  left: 0;
5159
5390
  z-index: 1010;
5160
5391
  display: none;
5161
- width: 236px;
5392
+ max-width: 276px;
5162
5393
  padding: 1px;
5394
+ text-align: left;
5395
+ white-space: normal;
5163
5396
  background-color: #ffffff;
5164
5397
  border: 1px solid #ccc;
5165
5398
  border: 1px solid rgba(0, 0, 0, 0.2);
@@ -5203,89 +5436,95 @@ input[type="submit"].btn.btn-mini {
5203
5436
  border-radius: 5px 5px 0 0;
5204
5437
  }
5205
5438
 
5206
- .popover-content {
5207
- padding: 9px 14px;
5439
+ .popover-title:empty {
5440
+ display: none;
5208
5441
  }
5209
5442
 
5210
- .popover-content p,
5211
- .popover-content ul,
5212
- .popover-content ol {
5213
- margin-bottom: 0;
5443
+ .popover-content {
5444
+ padding: 9px 14px;
5214
5445
  }
5215
5446
 
5216
5447
  .popover .arrow,
5217
5448
  .popover .arrow:after {
5218
5449
  position: absolute;
5219
- display: inline-block;
5450
+ display: block;
5220
5451
  width: 0;
5221
5452
  height: 0;
5222
5453
  border-color: transparent;
5223
5454
  border-style: solid;
5224
5455
  }
5225
5456
 
5457
+ .popover .arrow {
5458
+ border-width: 11px;
5459
+ }
5460
+
5226
5461
  .popover .arrow:after {
5227
- z-index: -1;
5462
+ border-width: 10px;
5228
5463
  content: "";
5229
5464
  }
5230
5465
 
5231
5466
  .popover.top .arrow {
5232
- bottom: -10px;
5467
+ bottom: -11px;
5233
5468
  left: 50%;
5234
- margin-left: -10px;
5235
- border-top-color: #ffffff;
5236
- border-width: 10px 10px 0;
5469
+ margin-left: -11px;
5470
+ border-top-color: #999;
5471
+ border-top-color: rgba(0, 0, 0, 0.25);
5472
+ border-bottom-width: 0;
5237
5473
  }
5238
5474
 
5239
5475
  .popover.top .arrow:after {
5240
- bottom: -1px;
5241
- left: -11px;
5242
- border-top-color: rgba(0, 0, 0, 0.25);
5243
- border-width: 11px 11px 0;
5476
+ bottom: 1px;
5477
+ margin-left: -10px;
5478
+ border-top-color: #ffffff;
5479
+ border-bottom-width: 0;
5244
5480
  }
5245
5481
 
5246
5482
  .popover.right .arrow {
5247
5483
  top: 50%;
5248
- left: -10px;
5249
- margin-top: -10px;
5250
- border-right-color: #ffffff;
5251
- border-width: 10px 10px 10px 0;
5484
+ left: -11px;
5485
+ margin-top: -11px;
5486
+ border-right-color: #999;
5487
+ border-right-color: rgba(0, 0, 0, 0.25);
5488
+ border-left-width: 0;
5252
5489
  }
5253
5490
 
5254
5491
  .popover.right .arrow:after {
5255
- bottom: -11px;
5256
- left: -1px;
5257
- border-right-color: rgba(0, 0, 0, 0.25);
5258
- border-width: 11px 11px 11px 0;
5492
+ bottom: -10px;
5493
+ left: 1px;
5494
+ border-right-color: #ffffff;
5495
+ border-left-width: 0;
5259
5496
  }
5260
5497
 
5261
5498
  .popover.bottom .arrow {
5262
- top: -10px;
5499
+ top: -11px;
5263
5500
  left: 50%;
5264
- margin-left: -10px;
5265
- border-bottom-color: #ffffff;
5266
- border-width: 0 10px 10px;
5501
+ margin-left: -11px;
5502
+ border-bottom-color: #999;
5503
+ border-bottom-color: rgba(0, 0, 0, 0.25);
5504
+ border-top-width: 0;
5267
5505
  }
5268
5506
 
5269
5507
  .popover.bottom .arrow:after {
5270
- top: -1px;
5271
- left: -11px;
5272
- border-bottom-color: rgba(0, 0, 0, 0.25);
5273
- border-width: 0 11px 11px;
5508
+ top: 1px;
5509
+ margin-left: -10px;
5510
+ border-bottom-color: #ffffff;
5511
+ border-top-width: 0;
5274
5512
  }
5275
5513
 
5276
5514
  .popover.left .arrow {
5277
5515
  top: 50%;
5278
- right: -10px;
5279
- margin-top: -10px;
5280
- border-left-color: #ffffff;
5281
- border-width: 10px 0 10px 10px;
5516
+ right: -11px;
5517
+ margin-top: -11px;
5518
+ border-left-color: #999;
5519
+ border-left-color: rgba(0, 0, 0, 0.25);
5520
+ border-right-width: 0;
5282
5521
  }
5283
5522
 
5284
5523
  .popover.left .arrow:after {
5285
- right: -1px;
5286
- bottom: -11px;
5287
- border-left-color: rgba(0, 0, 0, 0.25);
5288
- border-width: 11px 0 11px 11px;
5524
+ right: 1px;
5525
+ bottom: -10px;
5526
+ border-left-color: #ffffff;
5527
+ border-right-width: 0;
5289
5528
  }
5290
5529
 
5291
5530
  .thumbnails {
@@ -5332,7 +5571,8 @@ input[type="submit"].btn.btn-mini {
5332
5571
  transition: all 0.2s ease-in-out;
5333
5572
  }
5334
5573
 
5335
- a.thumbnail:hover {
5574
+ a.thumbnail:hover,
5575
+ a.thumbnail:focus {
5336
5576
  border-color: #0088cc;
5337
5577
  -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
5338
5578
  -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
@@ -5375,11 +5615,11 @@ a.thumbnail:hover {
5375
5615
  margin: 0 0 5px;
5376
5616
  }
5377
5617
 
5378
- .media .pull-left {
5618
+ .media > .pull-left {
5379
5619
  margin-right: 10px;
5380
5620
  }
5381
5621
 
5382
- .media .pull-right {
5622
+ .media > .pull-right {
5383
5623
  margin-left: 10px;
5384
5624
  }
5385
5625
 
@@ -5416,8 +5656,15 @@ a.thumbnail:hover {
5416
5656
  border-radius: 9px;
5417
5657
  }
5418
5658
 
5659
+ .label:empty,
5660
+ .badge:empty {
5661
+ display: none;
5662
+ }
5663
+
5419
5664
  a.label:hover,
5420
- a.badge:hover {
5665
+ a.label:focus,
5666
+ a.badge:hover,
5667
+ a.badge:focus {
5421
5668
  color: #ffffff;
5422
5669
  text-decoration: none;
5423
5670
  cursor: pointer;
@@ -5734,7 +5981,7 @@ a.badge:hover {
5734
5981
  overflow: hidden;
5735
5982
  }
5736
5983
 
5737
- .carousel .item {
5984
+ .carousel-inner > .item {
5738
5985
  position: relative;
5739
5986
  display: none;
5740
5987
  -webkit-transition: 0.6s ease-in-out left;
@@ -5743,46 +5990,47 @@ a.badge:hover {
5743
5990
  transition: 0.6s ease-in-out left;
5744
5991
  }
5745
5992
 
5746
- .carousel .item > img {
5993
+ .carousel-inner > .item > img,
5994
+ .carousel-inner > .item > a > img {
5747
5995
  display: block;
5748
5996
  line-height: 1;
5749
5997
  }
5750
5998
 
5751
- .carousel .active,
5752
- .carousel .next,
5753
- .carousel .prev {
5999
+ .carousel-inner > .active,
6000
+ .carousel-inner > .next,
6001
+ .carousel-inner > .prev {
5754
6002
  display: block;
5755
6003
  }
5756
6004
 
5757
- .carousel .active {
6005
+ .carousel-inner > .active {
5758
6006
  left: 0;
5759
6007
  }
5760
6008
 
5761
- .carousel .next,
5762
- .carousel .prev {
6009
+ .carousel-inner > .next,
6010
+ .carousel-inner > .prev {
5763
6011
  position: absolute;
5764
6012
  top: 0;
5765
6013
  width: 100%;
5766
6014
  }
5767
6015
 
5768
- .carousel .next {
6016
+ .carousel-inner > .next {
5769
6017
  left: 100%;
5770
6018
  }
5771
6019
 
5772
- .carousel .prev {
6020
+ .carousel-inner > .prev {
5773
6021
  left: -100%;
5774
6022
  }
5775
6023
 
5776
- .carousel .next.left,
5777
- .carousel .prev.right {
6024
+ .carousel-inner > .next.left,
6025
+ .carousel-inner > .prev.right {
5778
6026
  left: 0;
5779
6027
  }
5780
6028
 
5781
- .carousel .active.left {
6029
+ .carousel-inner > .active.left {
5782
6030
  left: -100%;
5783
6031
  }
5784
6032
 
5785
- .carousel .active.right {
6033
+ .carousel-inner > .active.right {
5786
6034
  left: 100%;
5787
6035
  }
5788
6036
 
@@ -5812,13 +6060,39 @@ a.badge:hover {
5812
6060
  left: auto;
5813
6061
  }
5814
6062
 
5815
- .carousel-control:hover {
6063
+ .carousel-control:hover,
6064
+ .carousel-control:focus {
5816
6065
  color: #ffffff;
5817
6066
  text-decoration: none;
5818
6067
  opacity: 0.9;
5819
6068
  filter: alpha(opacity=90);
5820
6069
  }
5821
6070
 
6071
+ .carousel-indicators {
6072
+ position: absolute;
6073
+ top: 15px;
6074
+ right: 15px;
6075
+ z-index: 5;
6076
+ margin: 0;
6077
+ list-style: none;
6078
+ }
6079
+
6080
+ .carousel-indicators li {
6081
+ display: block;
6082
+ float: left;
6083
+ width: 10px;
6084
+ height: 10px;
6085
+ margin-left: 5px;
6086
+ text-indent: -999px;
6087
+ background-color: #ccc;
6088
+ background-color: rgba(255, 255, 255, 0.25);
6089
+ border-radius: 5px;
6090
+ }
6091
+
6092
+ .carousel-indicators .active {
6093
+ background-color: #fff;
6094
+ }
6095
+
5822
6096
  .carousel-caption {
5823
6097
  position: absolute;
5824
6098
  right: 0;