flipper-ui 0.2.0.beta2 → 0.2.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +12 -11
  3. data/README.md +5 -7
  4. data/examples/basic.ru +27 -26
  5. data/flipper-ui.gemspec +5 -3
  6. data/lib/flipper-ui.rb +1 -0
  7. data/lib/flipper/ui.rb +11 -2
  8. data/lib/flipper/ui/action.rb +45 -4
  9. data/lib/flipper/ui/actions/actors_gate.rb +48 -0
  10. data/lib/flipper/ui/actions/add_feature.rb +20 -0
  11. data/lib/flipper/ui/actions/boolean_gate.rb +26 -0
  12. data/lib/flipper/ui/actions/feature.rb +32 -0
  13. data/lib/flipper/ui/actions/features.rb +23 -3
  14. data/lib/flipper/ui/actions/file.rb +1 -1
  15. data/lib/flipper/ui/actions/gate.rb +11 -117
  16. data/lib/flipper/ui/actions/groups_gate.rb +43 -0
  17. data/lib/flipper/ui/actions/{index.rb → home.rb} +3 -3
  18. data/lib/flipper/ui/actions/percentage_of_actors_gate.rb +27 -0
  19. data/lib/flipper/ui/actions/percentage_of_time_gate.rb +27 -0
  20. data/lib/flipper/ui/actor.rb +13 -0
  21. data/lib/flipper/ui/assets/javascripts/application.coffee +0 -305
  22. data/lib/flipper/ui/assets/stylesheets/_bootstrap-compass.scss +9 -0
  23. data/lib/flipper/ui/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  24. data/lib/flipper/ui/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  25. data/lib/flipper/ui/assets/stylesheets/_bootstrap.scss +50 -0
  26. data/lib/flipper/ui/assets/stylesheets/application.scss +33 -216
  27. data/lib/flipper/ui/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  28. data/lib/flipper/ui/assets/stylesheets/bootstrap/_badges.scss +68 -0
  29. data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  30. data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
  31. data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +160 -0
  32. data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +269 -0
  33. data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +36 -0
  34. data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +69 -0
  35. data/lib/flipper/ui/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
  36. data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdowns.scss +214 -0
  37. data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +578 -0
  38. data/lib/flipper/ui/assets/stylesheets/bootstrap/_glyphicons.scss +305 -0
  39. data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +84 -0
  40. data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
  41. data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +50 -0
  42. data/lib/flipper/ui/assets/stylesheets/bootstrap/_labels.scss +66 -0
  43. data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +124 -0
  44. data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +61 -0
  45. data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +39 -0
  46. data/lib/flipper/ui/assets/stylesheets/bootstrap/_modals.scss +150 -0
  47. data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  48. data/lib/flipper/ui/assets/stylesheets/bootstrap/_navs.scss +242 -0
  49. data/lib/flipper/ui/assets/stylesheets/bootstrap/_normalize.scss +427 -0
  50. data/lib/flipper/ui/assets/stylesheets/bootstrap/_pager.scss +54 -0
  51. data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +88 -0
  52. data/lib/flipper/ui/assets/stylesheets/bootstrap/_panels.scss +265 -0
  53. data/lib/flipper/ui/assets/stylesheets/bootstrap/_popovers.scss +135 -0
  54. data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +107 -0
  55. data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  56. data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  57. data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
  58. data/lib/flipper/ui/assets/stylesheets/bootstrap/_scaffolding.scss +162 -0
  59. data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +234 -0
  60. data/lib/flipper/ui/assets/stylesheets/bootstrap/_theme.scss +273 -0
  61. data/lib/flipper/ui/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  62. data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +102 -0
  63. data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +298 -0
  64. data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  65. data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +866 -0
  66. data/lib/flipper/ui/assets/stylesheets/bootstrap/_wells.scss +29 -0
  67. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  68. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
  69. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  70. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
  71. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  72. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  73. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  74. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  75. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  76. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  77. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  78. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  79. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  80. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
  81. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  82. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  83. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  84. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
  85. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  86. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  87. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  88. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  89. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  90. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  91. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  92. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  93. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
  94. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  95. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  96. data/lib/flipper/ui/assets/stylesheets/primer/.scss-lint.yml +446 -0
  97. data/lib/flipper/ui/assets/stylesheets/primer/_alerts.scss +106 -0
  98. data/lib/flipper/ui/assets/stylesheets/primer/_avatars.scss +36 -0
  99. data/lib/flipper/ui/assets/stylesheets/primer/_base.scss +40 -0
  100. data/lib/flipper/ui/assets/stylesheets/primer/_blankslate.scss +96 -0
  101. data/lib/flipper/ui/assets/stylesheets/primer/_buttons.scss +404 -0
  102. data/lib/flipper/ui/assets/stylesheets/primer/_counter.scss +10 -0
  103. data/lib/flipper/ui/assets/stylesheets/primer/_filter-list.scss +68 -0
  104. data/lib/flipper/ui/assets/stylesheets/primer/_flex-table.scss +20 -0
  105. data/lib/flipper/ui/assets/stylesheets/primer/_forms.scss +756 -0
  106. data/lib/flipper/ui/assets/stylesheets/primer/_layout.scss +69 -0
  107. data/lib/flipper/ui/assets/stylesheets/primer/_menu.scss +113 -0
  108. data/lib/flipper/ui/assets/stylesheets/primer/_mixins.scss +53 -0
  109. data/lib/flipper/ui/assets/stylesheets/primer/_normalize.scss +425 -0
  110. data/lib/flipper/ui/assets/stylesheets/primer/_states.scss +32 -0
  111. data/lib/flipper/ui/assets/stylesheets/primer/_tabnav.scss +65 -0
  112. data/lib/flipper/ui/assets/stylesheets/primer/_tooltips.scss +255 -0
  113. data/lib/flipper/ui/assets/stylesheets/primer/_truncate.scss +27 -0
  114. data/lib/flipper/ui/assets/stylesheets/primer/_type.scss +92 -0
  115. data/lib/flipper/ui/assets/stylesheets/primer/_utility.scss +73 -0
  116. data/lib/flipper/ui/assets/stylesheets/primer/_variables.scss +34 -0
  117. data/lib/flipper/ui/assets/stylesheets/primer/primer.scss +39 -0
  118. data/lib/flipper/ui/decorators/feature.rb +37 -4
  119. data/lib/flipper/ui/middleware.rb +12 -3
  120. data/lib/flipper/ui/public/css/application.css +2563 -144
  121. data/lib/flipper/ui/public/css/primer.css +1 -0
  122. data/lib/flipper/ui/public/css/primer/primer.css +1933 -0
  123. data/lib/flipper/ui/public/css/scss/primer.css +1933 -0
  124. data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  125. data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  126. data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  127. data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  128. data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  129. data/lib/flipper/ui/public/js/application.js +0 -539
  130. data/lib/flipper/ui/public/js/bootstrap-sprockets.js +12 -0
  131. data/lib/flipper/ui/public/js/bootstrap.js +2317 -0
  132. data/lib/flipper/ui/public/js/bootstrap.min.js +7 -0
  133. data/lib/flipper/ui/public/js/bootstrap/affix.js +162 -0
  134. data/lib/flipper/ui/public/js/bootstrap/alert.js +94 -0
  135. data/lib/flipper/ui/public/js/bootstrap/button.js +116 -0
  136. data/lib/flipper/ui/public/js/bootstrap/carousel.js +237 -0
  137. data/lib/flipper/ui/public/js/bootstrap/collapse.js +211 -0
  138. data/lib/flipper/ui/public/js/bootstrap/dropdown.js +161 -0
  139. data/lib/flipper/ui/public/js/bootstrap/modal.js +339 -0
  140. data/lib/flipper/ui/public/js/bootstrap/popover.js +108 -0
  141. data/lib/flipper/ui/public/js/bootstrap/scrollspy.js +172 -0
  142. data/lib/flipper/ui/public/js/bootstrap/tab.js +153 -0
  143. data/lib/flipper/ui/public/js/bootstrap/tooltip.js +476 -0
  144. data/lib/flipper/ui/public/js/bootstrap/transition.js +59 -0
  145. data/lib/flipper/ui/public/octicons/LICENSE.txt +9 -0
  146. data/lib/flipper/ui/public/octicons/README.md +1 -0
  147. data/lib/flipper/ui/public/octicons/octicons-local.ttf +0 -0
  148. data/lib/flipper/ui/public/octicons/octicons.css +236 -0
  149. data/lib/flipper/ui/public/octicons/octicons.eot +0 -0
  150. data/lib/flipper/ui/public/octicons/octicons.less +235 -0
  151. data/lib/flipper/ui/public/octicons/octicons.svg +200 -0
  152. data/lib/flipper/ui/public/octicons/octicons.ttf +0 -0
  153. data/lib/flipper/ui/public/octicons/octicons.woff +0 -0
  154. data/lib/flipper/ui/public/octicons/sprockets-octicons.scss +232 -0
  155. data/lib/flipper/ui/util.rb +4 -0
  156. data/lib/flipper/ui/version.rb +1 -1
  157. data/lib/flipper/ui/views/add_actor.erb +22 -0
  158. data/lib/flipper/ui/views/add_feature.erb +18 -0
  159. data/lib/flipper/ui/views/add_group.erb +31 -0
  160. data/lib/flipper/ui/views/feature.erb +209 -0
  161. data/lib/flipper/ui/views/features.erb +46 -0
  162. data/lib/flipper/ui/views/layout.erb +31 -149
  163. data/script/release +15 -0
  164. data/spec/flipper/ui/actions/actors_gate_spec.rb +68 -0
  165. data/spec/flipper/ui/actions/add_feature_spec.rb +17 -0
  166. data/spec/flipper/ui/actions/boolean_gate_spec.rb +41 -0
  167. data/spec/flipper/ui/actions/feature_spec.rb +59 -0
  168. data/spec/flipper/ui/actions/features_spec.rb +37 -0
  169. data/spec/flipper/ui/actions/file_spec.rb +43 -0
  170. data/spec/flipper/ui/actions/gate_spec.rb +24 -0
  171. data/spec/flipper/ui/actions/groups_gate_spec.rb +80 -0
  172. data/spec/flipper/ui/actions/home_spec.rb +16 -0
  173. data/spec/flipper/ui/actions/percentage_of_actors_gate_spec.rb +40 -0
  174. data/spec/flipper/ui/actions/percentage_of_time_gate_spec.rb +39 -0
  175. data/spec/flipper/ui/decorators/feature_spec.rb +38 -1
  176. data/spec/flipper/ui/decorators/gate_spec.rb +1 -1
  177. data/spec/flipper/ui_spec.rb +18 -441
  178. data/spec/helper.rb +22 -7
  179. metadata +199 -52
  180. data/examples/flipper.html +0 -14
  181. data/examples/flipper.png +0 -0
  182. data/lib/flipper/ui/assets/javascripts/spine/ajax.coffee +0 -223
  183. data/lib/flipper/ui/assets/javascripts/spine/list.coffee +0 -43
  184. data/lib/flipper/ui/assets/javascripts/spine/local.coffee +0 -16
  185. data/lib/flipper/ui/assets/javascripts/spine/manager.coffee +0 -83
  186. data/lib/flipper/ui/assets/javascripts/spine/relation.coffee +0 -148
  187. data/lib/flipper/ui/assets/javascripts/spine/route.coffee +0 -146
  188. data/lib/flipper/ui/assets/javascripts/spine/spine.coffee +0 -542
  189. data/lib/flipper/ui/assets/javascripts/spine/version +0 -1
  190. data/lib/flipper/ui/public/css/images/animated-overlay.gif +0 -0
  191. data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  192. data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  193. data/lib/flipper/ui/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  194. data/lib/flipper/ui/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  195. data/lib/flipper/ui/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  196. data/lib/flipper/ui/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  197. data/lib/flipper/ui/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  198. data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  199. data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  200. data/lib/flipper/ui/public/css/images/ui-icons_222222_256x240.png +0 -0
  201. data/lib/flipper/ui/public/css/images/ui-icons_228ef1_256x240.png +0 -0
  202. data/lib/flipper/ui/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
  203. data/lib/flipper/ui/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
  204. data/lib/flipper/ui/public/css/images/ui-icons_ffffff_256x240.png +0 -0
  205. data/lib/flipper/ui/public/css/jquery-ui-1.10.3.slider.min.css +0 -5
  206. data/lib/flipper/ui/public/js/handlebars.js +0 -1992
  207. data/lib/flipper/ui/public/js/jquery-ui-1.10.3.slider.min.js +0 -6
  208. data/lib/flipper/ui/public/js/jquery.js +0 -9555
  209. data/lib/flipper/ui/public/js/jquery.min.js +0 -4
  210. data/lib/flipper/ui/public/js/jquery.min.map +0 -1
  211. data/lib/flipper/ui/public/js/spine/ajax.js +0 -320
  212. data/lib/flipper/ui/public/js/spine/list.js +0 -72
  213. data/lib/flipper/ui/public/js/spine/local.js +0 -29
  214. data/lib/flipper/ui/public/js/spine/manager.js +0 -157
  215. data/lib/flipper/ui/public/js/spine/relation.js +0 -260
  216. data/lib/flipper/ui/public/js/spine/route.js +0 -223
  217. data/lib/flipper/ui/public/js/spine/spine.js +0 -927
  218. data/lib/flipper/ui/views/index.erb +0 -9
@@ -0,0 +1,73 @@
1
+ // Clear floats
2
+ .clearfix {
3
+ @include clearfix;
4
+ }
5
+
6
+ // Floats
7
+ .right { float: right; }
8
+
9
+ .left { float: left; }
10
+
11
+
12
+ // Text alignment
13
+ .text-right { text-align: right; }
14
+
15
+ .text-left { text-align: left; }
16
+
17
+
18
+ // Text states
19
+ .danger { color: #c00; }
20
+
21
+ .mute { color: #000; }
22
+
23
+ .text-diff-added { color: darken($brand-green, 10%); }
24
+
25
+ .text-diff-deleted { color: $brand-red; }
26
+
27
+ .text-open,
28
+ .text-success { color: $status-open; }
29
+
30
+ .text-closed { color: $status-closed; }
31
+
32
+ .text-reverted { color: $status-reverted; }
33
+
34
+ .text-merged { color: $status-merged; }
35
+
36
+ .text-renamed { color: $status-renamed; }
37
+
38
+ .text-pending { color: $status-pending; }
39
+
40
+ .text-error,
41
+ .text-failure { color: $brand-red; }
42
+
43
+
44
+ // Muted link
45
+ //
46
+ // Have a link you need to be gray to start, and blue on hover? Use this.
47
+ .muted-link {
48
+ color: #777;
49
+
50
+ &:hover {
51
+ color: $brand-blue;
52
+ text-decoration: none;
53
+ }
54
+ }
55
+
56
+ // Misc
57
+ .hidden {
58
+ display: none;
59
+ }
60
+
61
+ .warning {
62
+ padding: 0.5em;
63
+ margin-bottom: 0.8em;
64
+ font-weight: bold;
65
+ background-color: #fffccc;
66
+ }
67
+
68
+ .error_box {
69
+ padding: 1em;
70
+ font-weight: bold;
71
+ background-color: #ffebe8;
72
+ border: 1px solid #dd3c10;
73
+ }
@@ -0,0 +1,34 @@
1
+ $container-width: 980px !default;
2
+ $grid-gutter: 10px !default;
3
+
4
+ // Brand colors
5
+ $brand-blue: #4183c4 !default;
6
+ $brand-gray-light: #999 !default;
7
+ $brand-gray: #666 !default;
8
+ $brand-gray-dark: #333 !default;
9
+ $brand-green: #6cc644 !default;
10
+ $brand-red: #bd2c00 !default;
11
+ $brand-orange: #f93 !default;
12
+ $brand-purple: #6e5494 !default;
13
+
14
+ // Font stack
15
+ $body-font: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol" !default;
16
+
17
+ // The base body size
18
+ $body-font-size: 13px !default;
19
+
20
+ // Monospace font stack
21
+ $mono-font: Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
22
+
23
+ // State indicators.
24
+ $status-open: $brand-green;
25
+ $status-closed: $brand-red;
26
+ $status-reverted: $status-closed;
27
+ $status-merged: $brand-purple;
28
+ $status-renamed: #fffa5d;
29
+ $status-pending: #cea61b;
30
+
31
+ // Repository type colors
32
+ $repo-private-text: #a1882b;
33
+ $repo-private-bg: #fff9ea;
34
+ $repo-private-icon: #e9dba5;
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Primer
3
+ * http://primercss.io
4
+ *
5
+ * Released under MIT license. Copyright 2015 GitHub, Inc.
6
+ */
7
+
8
+ // Primer master file
9
+ //
10
+ // Imports all Primer files in their intended order for easy mass-inclusion.
11
+ // Should you need specific files, you can easily use separate `@import`s.
12
+
13
+ // Global requirements
14
+ @import "variables";
15
+ @import "mixins";
16
+
17
+ // Basecoat
18
+ @import "normalize";
19
+ @import "base";
20
+ @import "type";
21
+ @import "layout";
22
+ @import "forms";
23
+ @import "utility";
24
+
25
+ // Components
26
+ @import "alerts";
27
+ @import "avatars";
28
+ @import "blankslate";
29
+ @import "counter";
30
+ @import "buttons";
31
+ @import "menu";
32
+ @import "tabnav";
33
+ @import "filter-list";
34
+ @import "states";
35
+ @import "tooltips";
36
+
37
+ // Utilities
38
+ @import "flex-table";
39
+ @import "truncate";
@@ -1,16 +1,19 @@
1
1
  require 'delegate'
2
2
  require 'flipper/ui/decorators/gate'
3
+ require 'flipper/ui/util'
3
4
 
4
5
  module Flipper
5
6
  module UI
6
7
  module Decorators
7
8
  class Feature < SimpleDelegator
9
+ include Comparable
10
+
8
11
  # Public: The feature being decorated.
9
12
  alias_method :feature, :__getobj__
10
13
 
11
14
  # Public: Returns name titleized.
12
15
  def pretty_name
13
- @pretty_name ||= titleize(name)
16
+ @pretty_name ||= Util.titleize(name)
14
17
  end
15
18
 
16
19
  # Public: Returns instance as hash that is ready to be json dumped.
@@ -27,9 +30,39 @@ module Flipper
27
30
  }
28
31
  end
29
32
 
30
- # Private
31
- def titleize(str)
32
- str.to_s.split('_').map { |word| word.capitalize }.join(' ')
33
+ def color_class
34
+ case feature.state
35
+ when :on
36
+ "text-open"
37
+ when :off
38
+ "text-closed"
39
+ when :conditional
40
+ "text-pending"
41
+ end
42
+ end
43
+
44
+ def enabled_gates
45
+ feature.gates.select { |gate|
46
+ gate.enabled?(feature.gate_values[gate.key])
47
+ }
48
+ end
49
+
50
+ def enabled_gate_names
51
+ enabled_gates.map { |gate| Util.titleize(gate.key) }.sort.join(', ')
52
+ end
53
+
54
+ StateSortMap = {
55
+ :on => 1,
56
+ :conditional => 2,
57
+ :off => 3,
58
+ }
59
+
60
+ def <=>(other)
61
+ if state == other.state
62
+ key <=> other.key
63
+ else
64
+ StateSortMap[state] <=> StateSortMap[other.state]
65
+ end
33
66
  end
34
67
  end
35
68
  end
@@ -35,12 +35,21 @@ module Flipper
35
35
  end
36
36
 
37
37
  @action_collection = ActionCollection.new
38
+
39
+ # Static Assets/Files
38
40
  @action_collection.add UI::Actions::File
41
+
42
+ # UI
39
43
  @action_collection.add UI::Actions::Features
44
+ @action_collection.add UI::Actions::AddFeature
45
+ @action_collection.add UI::Actions::Feature
46
+ @action_collection.add UI::Actions::ActorsGate
47
+ @action_collection.add UI::Actions::GroupsGate
48
+ @action_collection.add UI::Actions::BooleanGate
49
+ @action_collection.add UI::Actions::PercentageOfTimeGate
50
+ @action_collection.add UI::Actions::PercentageOfActorsGate
40
51
  @action_collection.add UI::Actions::Gate
41
-
42
- # Catch all, always last.
43
- @action_collection.add UI::Actions::Index
52
+ @action_collection.add UI::Actions::Home
44
53
  end
45
54
 
46
55
  def flipper
@@ -1,183 +1,2602 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/
2
- v2.0 | 20110126
3
- License: none (public domain)
4
- */
5
- html, body, div, span, applet, object, iframe,
6
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
- a, abbr, acronym, address, big, cite, code,
8
- del, dfn, em, img, ins, kbd, q, s, samp,
9
- small, strike, strong, sub, sup, tt, var,
10
- b, u, i, center,
11
- dl, dt, dd, ol, ul, li,
12
- fieldset, form, label, legend,
13
- table, caption, tbody, tfoot, thead, tr, th, td,
14
- article, aside, canvas, details, embed,
15
- figure, figcaption, footer, header, hgroup,
16
- menu, nav, output, ruby, section, summary,
17
- time, mark, audio, video {
1
+ body {
2
+ padding-top: 20px; }
3
+
4
+ /*
5
+ * Primer
6
+ * http://primercss.io
7
+ *
8
+ * Released under MIT license. Copyright 2015 GitHub, Inc.
9
+ */
10
+ /* normalize.css v3.0.1 | MIT License | git.io/normalize */
11
+ /**
12
+ * 1. Set default font family to sans-serif.
13
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
14
+ * user zoom.
15
+ */
16
+ html {
17
+ font-family: sans-serif;
18
+ /* 1 */
19
+ -ms-text-size-adjust: 100%;
20
+ /* 2 */
21
+ -webkit-text-size-adjust: 100%;
22
+ /* 2 */ }
23
+
24
+ /**
25
+ * Remove default margin.
26
+ */
27
+ body {
28
+ margin: 0; }
29
+
30
+ /* HTML5 display definitions
31
+ ========================================================================== */
32
+ /**
33
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
34
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
35
+ * Correct `block` display not defined for `main` in IE 11.
36
+ */
37
+ article,
38
+ aside,
39
+ details,
40
+ figcaption,
41
+ figure,
42
+ footer,
43
+ header,
44
+ hgroup,
45
+ main,
46
+ nav,
47
+ section,
48
+ summary {
49
+ display: block; }
50
+
51
+ /**
52
+ * 1. Correct `inline-block` display not defined in IE 8/9.
53
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
54
+ */
55
+ audio,
56
+ canvas,
57
+ progress,
58
+ video {
59
+ display: inline-block;
60
+ /* 1 */
61
+ vertical-align: baseline;
62
+ /* 2 */ }
63
+
64
+ /**
65
+ * Prevent modern browsers from displaying `audio` without controls.
66
+ * Remove excess height in iOS 5 devices.
67
+ */
68
+ audio:not([controls]) {
69
+ display: none;
70
+ height: 0; }
71
+
72
+ /**
73
+ * Address `[hidden]` styling not present in IE 8/9/10.
74
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75
+ */
76
+ [hidden],
77
+ template {
78
+ display: none; }
79
+
80
+ /* Links
81
+ ========================================================================== */
82
+ /**
83
+ * Remove the gray background color from active links in IE 10.
84
+ */
85
+ a {
86
+ background: transparent; }
87
+
88
+ /**
89
+ * Improve readability when focused and also mouse hovered in all browsers.
90
+ */
91
+ a:active,
92
+ a:hover {
93
+ outline: 0; }
94
+
95
+ /* Text-level semantics
96
+ ========================================================================== */
97
+ /**
98
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
99
+ */
100
+ abbr[title] {
101
+ border-bottom: 1px dotted; }
102
+
103
+ /**
104
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
105
+ */
106
+ b,
107
+ strong {
108
+ font-weight: bold; }
109
+
110
+ /**
111
+ * Address styling not present in Safari and Chrome.
112
+ */
113
+ dfn {
114
+ font-style: italic; }
115
+
116
+ /**
117
+ * Address variable `h1` font-size and margin within `section` and `article`
118
+ * contexts in Firefox 4+, Safari, and Chrome.
119
+ */
120
+ h1 {
121
+ font-size: 2em;
122
+ margin: 0.67em 0; }
123
+
124
+ /**
125
+ * Address styling not present in IE 8/9.
126
+ */
127
+ mark {
128
+ background: #ff0;
129
+ color: #000; }
130
+
131
+ /**
132
+ * Address inconsistent and variable font size in all browsers.
133
+ */
134
+ small {
135
+ font-size: 80%; }
136
+
137
+ /**
138
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
139
+ */
140
+ sub,
141
+ sup {
142
+ font-size: 75%;
143
+ line-height: 0;
144
+ position: relative;
145
+ vertical-align: baseline; }
146
+
147
+ sup {
148
+ top: -0.5em; }
149
+
150
+ sub {
151
+ bottom: -0.25em; }
152
+
153
+ /* Embedded content
154
+ ========================================================================== */
155
+ /**
156
+ * Remove border when inside `a` element in IE 8/9/10.
157
+ */
158
+ img {
159
+ border: 0; }
160
+
161
+ /**
162
+ * Correct overflow not hidden in IE 9/10/11.
163
+ */
164
+ svg:not(:root) {
165
+ overflow: hidden; }
166
+
167
+ /* Grouping content
168
+ ========================================================================== */
169
+ /**
170
+ * Address margin not present in IE 8/9 and Safari.
171
+ */
172
+ figure {
173
+ margin: 1em 40px; }
174
+
175
+ /**
176
+ * Address differences between Firefox and other browsers.
177
+ */
178
+ hr {
179
+ -moz-box-sizing: content-box;
180
+ box-sizing: content-box;
181
+ height: 0; }
182
+
183
+ /**
184
+ * Contain overflow in all browsers.
185
+ */
186
+ pre {
187
+ overflow: auto; }
188
+
189
+ /**
190
+ * Address odd `em`-unit font size rendering in all browsers.
191
+ */
192
+ code,
193
+ kbd,
194
+ pre,
195
+ samp {
196
+ font-family: monospace, monospace;
197
+ font-size: 1em; }
198
+
199
+ /* Forms
200
+ ========================================================================== */
201
+ /**
202
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
203
+ * styling of `select`, unless a `border` property is set.
204
+ */
205
+ /**
206
+ * 1. Correct color not being inherited.
207
+ * Known issue: affects color of disabled elements.
208
+ * 2. Correct font properties not being inherited.
209
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
210
+ */
211
+ button,
212
+ input,
213
+ optgroup,
214
+ select,
215
+ textarea {
216
+ color: inherit;
217
+ /* 1 */
218
+ font: inherit;
219
+ /* 2 */
18
220
  margin: 0;
19
- padding: 0;
221
+ /* 3 */ }
222
+
223
+ /**
224
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
225
+ */
226
+ button {
227
+ overflow: visible; }
228
+
229
+ /**
230
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
231
+ * All other form control elements do not inherit `text-transform` values.
232
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
233
+ * Correct `select` style inheritance in Firefox.
234
+ */
235
+ button,
236
+ select {
237
+ text-transform: none; }
238
+
239
+ /**
240
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
241
+ * and `video` controls.
242
+ * 2. Correct inability to style clickable `input` types in iOS.
243
+ * 3. Improve usability and consistency of cursor style between image-type
244
+ * `input` and others.
245
+ */
246
+ button,
247
+ html input[type="button"],
248
+ input[type="reset"],
249
+ input[type="submit"] {
250
+ -webkit-appearance: button;
251
+ /* 2 */
252
+ cursor: pointer;
253
+ /* 3 */ }
254
+
255
+ /**
256
+ * Re-set default cursor for disabled elements.
257
+ */
258
+ button[disabled],
259
+ html input[disabled] {
260
+ cursor: default; }
261
+
262
+ /**
263
+ * Remove inner padding and border in Firefox 4+.
264
+ */
265
+ button::-moz-focus-inner,
266
+ input::-moz-focus-inner {
20
267
  border: 0;
21
- font-size: 100%;
22
- font: inherit;
23
- vertical-align: baseline; }
268
+ padding: 0; }
24
269
 
25
- /* HTML5 display-role reset for older browsers */
26
- article, aside, details, figcaption, figure,
27
- footer, header, hgroup, menu, nav, section {
28
- display: block; }
270
+ /**
271
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
272
+ * the UA stylesheet.
273
+ */
274
+ input {
275
+ line-height: normal; }
29
276
 
30
- body {
31
- line-height: 1; }
277
+ /**
278
+ * It's recommended that you don't attempt to style these elements.
279
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
280
+ *
281
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
282
+ * 2. Remove excess padding in IE 8/9/10.
283
+ */
284
+ input[type="checkbox"],
285
+ input[type="radio"] {
286
+ box-sizing: border-box;
287
+ /* 1 */
288
+ padding: 0;
289
+ /* 2 */ }
32
290
 
33
- ol, ul {
34
- list-style: none; }
291
+ /**
292
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
293
+ * `font-size` values of the `input`, it causes the cursor style of the
294
+ * decrement button to change from `default` to `text`.
295
+ */
296
+ input[type="number"]::-webkit-inner-spin-button,
297
+ input[type="number"]::-webkit-outer-spin-button {
298
+ height: auto; }
35
299
 
36
- blockquote, q {
37
- quotes: none; }
300
+ /**
301
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
302
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
303
+ * (include `-moz` to future-proof).
304
+ */
305
+ input[type="search"] {
306
+ -webkit-appearance: textfield;
307
+ /* 1 */
308
+ -moz-box-sizing: content-box;
309
+ -webkit-box-sizing: content-box;
310
+ /* 2 */
311
+ box-sizing: content-box; }
38
312
 
39
- blockquote:before, blockquote:after,
40
- q:before, q:after {
41
- content: '';
42
- content: none; }
313
+ /**
314
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
315
+ * Safari (but not Chrome) clips the cancel button when the search input has
316
+ * padding (and `textfield` appearance).
317
+ */
318
+ input[type="search"]::-webkit-search-cancel-button,
319
+ input[type="search"]::-webkit-search-decoration {
320
+ -webkit-appearance: none; }
43
321
 
322
+ /**
323
+ * Define consistent border, margin, and padding.
324
+ */
325
+ fieldset {
326
+ border: 1px solid silver;
327
+ margin: 0 2px;
328
+ padding: 0.35em 0.625em 0.75em; }
329
+
330
+ /**
331
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
332
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
333
+ */
334
+ legend {
335
+ border: 0;
336
+ /* 1 */
337
+ padding: 0;
338
+ /* 2 */ }
339
+
340
+ /**
341
+ * Remove default vertical scrollbar in IE 8/9/10/11.
342
+ */
343
+ textarea {
344
+ overflow: auto; }
345
+
346
+ /**
347
+ * Don't inherit the `font-weight` (applied by a rule above).
348
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
349
+ */
350
+ optgroup {
351
+ font-weight: bold; }
352
+
353
+ /* Tables
354
+ ========================================================================== */
355
+ /**
356
+ * Remove most spacing between table cells.
357
+ */
44
358
  table {
45
359
  border-collapse: collapse;
46
360
  border-spacing: 0; }
47
361
 
48
- /* end of resets */
362
+ td,
363
+ th {
364
+ padding: 0; }
365
+
366
+ * {
367
+ box-sizing: border-box; }
368
+
369
+ input,
370
+ select,
371
+ textarea,
372
+ button {
373
+ font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; }
374
+
49
375
  body {
50
- color: #333;
51
- font-size: 13px;
52
- font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; }
376
+ font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
377
+ color: #333333;
378
+ background-color: #fff; }
53
379
 
54
- #header, #content {
55
- width: 750px;
56
- margin: 0 auto; }
380
+ a {
381
+ color: #4183c4;
382
+ text-decoration: none; }
383
+ a:hover, a:active {
384
+ text-decoration: underline; }
57
385
 
58
- #header {
59
- padding: 29px 0 22px; }
386
+ hr,
387
+ .rule {
388
+ height: 0;
389
+ margin: 15px 0;
390
+ overflow: hidden;
391
+ background: transparent;
392
+ border: 0;
393
+ border-bottom: 1px solid #dddddd; }
394
+ hr:before,
395
+ .rule:before {
396
+ display: table;
397
+ content: ""; }
398
+ hr:after,
399
+ .rule:after {
400
+ display: table;
401
+ clear: both;
402
+ content: ""; }
60
403
 
61
- div#no_features {
62
- display: none; }
63
- div#no_features h1 {
64
- font-size: 2em;
65
- padding-bottom: 15px; }
66
- div#no_features p {
67
- font-size: 1.25em;
68
- padding-bottom: 5px; }
69
-
70
- div.feature {
71
- float: left;
72
- width: 723px;
73
- border: 1px solid #e8e8e8;
74
- -webkit-border-radius: 3px;
75
- margin: 0 0 16px;
76
- padding: 12px 10px 12px 17px; }
404
+ h1,
405
+ h2,
406
+ h3,
407
+ h4,
408
+ h5,
409
+ h6 {
410
+ margin-top: 15px;
411
+ margin-bottom: 15px;
412
+ line-height: 1.1; }
77
413
 
78
- div.feature h3 {
79
- float: left;
80
- width: 575px;
81
- font-size: 17px;
82
- line-height: 17px;
414
+ h1 {
415
+ font-size: 30px; }
416
+
417
+ h2 {
418
+ font-size: 21px; }
419
+
420
+ h3 {
421
+ font-size: 16px; }
422
+
423
+ h4 {
424
+ font-size: 14px; }
425
+
426
+ h5 {
427
+ font-size: 12px; }
428
+
429
+ h6 {
430
+ font-size: 11px; }
431
+
432
+ small {
433
+ font-size: 90%; }
434
+
435
+ blockquote {
436
+ margin: 0; }
437
+
438
+ .lead {
439
+ margin-bottom: 30px;
440
+ font-size: 20px;
441
+ font-weight: 300;
442
+ color: #555; }
443
+
444
+ .text-muted {
445
+ color: #999; }
446
+
447
+ .text-danger {
448
+ color: #bd2c00; }
449
+
450
+ .text-emphasized {
83
451
  font-weight: bold;
84
- margin: 0;
85
- padding: 5px 0 0; }
452
+ color: #333; }
86
453
 
87
- div.feature h3 span.state {
88
- display: block;
454
+ ul,
455
+ ol {
456
+ padding: 0;
457
+ margin-top: 0;
458
+ margin-bottom: 0; }
459
+
460
+ ol ol,
461
+ ul ol {
462
+ list-style-type: lower-roman; }
463
+
464
+ ul ul ol,
465
+ ul ol ol,
466
+ ol ul ol,
467
+ ol ol ol {
468
+ list-style-type: lower-alpha; }
469
+
470
+ dd {
471
+ margin-left: 0; }
472
+
473
+ tt,
474
+ code {
475
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
476
+ font-size: 12px; }
477
+
478
+ pre {
479
+ margin-top: 0;
480
+ margin-bottom: 0;
481
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
482
+
483
+ .container {
484
+ width: 980px;
485
+ margin-right: auto;
486
+ margin-left: auto; }
487
+ .container:before {
488
+ display: table;
489
+ content: ""; }
490
+ .container:after {
491
+ display: table;
492
+ clear: both;
493
+ content: ""; }
494
+
495
+ .columns {
496
+ margin-right: -10px;
497
+ margin-left: -10px; }
498
+ .columns:before {
499
+ display: table;
500
+ content: ""; }
501
+ .columns:after {
502
+ display: table;
503
+ clear: both;
504
+ content: ""; }
505
+
506
+ .column {
89
507
  float: left;
90
- width: 12px;
91
- height: 12px;
92
- margin: 2px 10px 0 0;
93
- background: #333;
94
- border: 1px solid #333;
95
- -webkit-border-radius: 2px; }
508
+ padding-right: 10px;
509
+ padding-left: 10px; }
510
+
511
+ .one-third {
512
+ width: 33.333333%; }
513
+
514
+ .two-thirds {
515
+ width: 66.666667%; }
516
+
517
+ .one-fourth {
518
+ width: 25%; }
96
519
 
97
- div.feature h3 span.state.on {
98
- background: #396;
99
- border-color: #396; }
520
+ .one-half {
521
+ width: 50%; }
100
522
 
101
- div.feature h3 span.state.conditional {
102
- background: #fc0;
103
- border-color: #fc0; }
523
+ .three-fourths {
524
+ width: 75%; }
104
525
 
105
- div.feature form {
106
- padding: 10px 0; }
526
+ .one-fifth {
527
+ width: 20%; }
107
528
 
108
- div.feature .slider-range {
529
+ .four-fifths {
530
+ width: 80%; }
531
+
532
+ .single-column {
533
+ padding-right: 10px;
534
+ padding-left: 10px; }
535
+
536
+ .table-column {
537
+ display: table-cell;
538
+ width: 1%;
539
+ padding-right: 10px;
540
+ padding-left: 10px;
541
+ vertical-align: top; }
542
+
543
+ fieldset {
544
+ padding: 0;
545
+ margin: 0;
546
+ border: 0; }
547
+
548
+ label {
549
+ font-size: 13px;
550
+ font-weight: bold; }
551
+
552
+ .form-control,
553
+ input[type="text"],
554
+ input[type="password"],
555
+ input[type="email"],
556
+ input[type="number"],
557
+ input[type="tel"],
558
+ input[type="url"],
559
+ textarea {
560
+ min-height: 34px;
561
+ padding: 7px 8px;
562
+ font-size: 13px;
563
+ color: #333;
564
+ vertical-align: middle;
565
+ background-color: #fff;
566
+ background-repeat: no-repeat;
567
+ background-position: right center;
568
+ border: 1px solid #cccccc;
569
+ border-radius: 3px;
570
+ outline: none;
571
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); }
572
+ .form-control.focus, .form-control:focus,
573
+ input[type="text"].focus,
574
+ input[type="text"]:focus,
575
+ .focused .drag-and-drop,
576
+ input[type="password"].focus,
577
+ input[type="password"]:focus,
578
+ input[type="email"].focus,
579
+ input[type="email"]:focus,
580
+ input[type="number"].focus,
581
+ input[type="number"]:focus,
582
+ input[type="tel"].focus,
583
+ input[type="tel"]:focus,
584
+ input[type="url"].focus,
585
+ input[type="url"]:focus,
586
+ textarea.focus,
587
+ textarea:focus {
588
+ border-color: #51a7e8;
589
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5); }
590
+
591
+ input.input-contrast,
592
+ .input-contrast {
593
+ background-color: #fafafa; }
594
+ input.input-contrast:focus,
595
+ .input-contrast:focus {
596
+ background-color: #fff; }
597
+
598
+ ::-webkit-input-placeholder,
599
+ :-moz-placeholder {
600
+ color: #aaa; }
601
+
602
+ ::-webkit-validation-bubble-message {
603
+ font-size: 12px;
604
+ color: #fff;
605
+ background: #9c2400;
606
+ border: 0;
607
+ border-radius: 3px;
608
+ -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); }
609
+
610
+ input::-webkit-validation-bubble-icon {
611
+ display: none; }
612
+
613
+ ::-webkit-validation-bubble-arrow {
614
+ background-color: #9c2400;
615
+ border: solid 1px #9c2400;
616
+ -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); }
617
+
618
+ input.input-mini {
619
+ min-height: 26px;
620
+ padding-top: 4px;
621
+ padding-bottom: 4px;
622
+ font-size: 12px; }
623
+
624
+ input.input-large {
625
+ padding: 6px 10px;
626
+ font-size: 16px; }
627
+
628
+ .input-block {
629
+ display: block;
630
+ width: 100%; }
631
+
632
+ .input-monospace {
633
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; }
634
+
635
+ dl.form {
109
636
  margin: 15px 0; }
637
+ dl.form input[type="text"],
638
+ dl.form input[type="password"],
639
+ dl.form input[type="email"],
640
+ dl.form input[type="url"],
641
+ dl.form textarea {
642
+ background-color: #fafafa; }
643
+ dl.form input[type="text"]:focus, dl.form .focused .drag-and-drop, .focused dl.form .drag-and-drop,
644
+ dl.form input[type="password"]:focus,
645
+ dl.form input[type="email"]:focus,
646
+ dl.form input[type="url"]:focus,
647
+ dl.form textarea:focus {
648
+ background-color: #fff; }
649
+ dl.form > dt {
650
+ margin: 0 0 6px; }
651
+ dl.form > dt label {
652
+ position: relative; }
653
+ dl.form.flattened > dt {
654
+ float: left;
655
+ margin: 0;
656
+ line-height: 32px; }
657
+ dl.form.flattened > dd {
658
+ line-height: 32px; }
659
+ dl.form > dd input[type="text"],
660
+ dl.form > dd input[type="password"],
661
+ dl.form > dd input[type="email"],
662
+ dl.form > dd input[type="url"] {
663
+ width: 440px;
664
+ max-width: 100%;
665
+ margin-right: 5px;
666
+ background-position-x: 98%; }
667
+ dl.form > dd input.shorter {
668
+ width: 130px; }
669
+ dl.form > dd input.short {
670
+ width: 250px; }
671
+ dl.form > dd input.long {
672
+ width: 100%; }
673
+ dl.form > dd textarea {
674
+ width: 100%;
675
+ height: 200px;
676
+ min-height: 200px; }
677
+ dl.form > dd textarea.short {
678
+ height: 50px;
679
+ min-height: 50px; }
680
+ dl.form > dd h4 {
681
+ margin: 4px 0 0; }
682
+ dl.form > dd h4.is-error {
683
+ color: #bd2c00; }
684
+ dl.form > dd h4.is-success {
685
+ color: #6cc644; }
686
+ dl.form > dd h4 + p.note {
687
+ margin-top: 0; }
688
+ dl.form.required > dt > label:after {
689
+ padding-left: 5px;
690
+ color: #9f1006;
691
+ content: "*"; }
692
+
693
+ .note {
694
+ min-height: 17px;
695
+ margin: 4px 0 2px;
696
+ font-size: 12px;
697
+ color: #777; }
698
+ .note .spinner {
699
+ margin-right: 3px;
700
+ vertical-align: middle; }
110
701
 
111
- div.feature h3 span.state.off {
112
- background: #900;
113
- border-color: #900; }
702
+ .form-checkbox {
703
+ padding-left: 20px;
704
+ margin: 15px 0;
705
+ vertical-align: middle; }
706
+ .form-checkbox label em.highlight {
707
+ position: relative;
708
+ left: -4px;
709
+ padding: 2px 4px;
710
+ font-style: normal;
711
+ background: #fffbdc;
712
+ border-radius: 3px; }
713
+ .form-checkbox input[type=checkbox],
714
+ .form-checkbox input[type=radio] {
715
+ float: left;
716
+ margin: 2px 0 0 -20px;
717
+ vertical-align: middle; }
718
+ .form-checkbox .note {
719
+ display: block;
720
+ margin: 0;
721
+ font-size: 12px;
722
+ font-weight: normal;
723
+ color: #666; }
114
724
 
115
- div.feature .description {
725
+ dl.form .success,
726
+ dl.form .error,
727
+ dl.form .indicator {
728
+ display: none;
116
729
  font-size: 12px;
730
+ font-weight: bold; }
731
+ dl.form.loading {
732
+ opacity: 0.5; }
733
+ dl.form.loading .indicator {
734
+ display: inline; }
735
+ dl.form.loading .spinner {
736
+ display: inline-block;
737
+ vertical-align: middle; }
738
+ dl.form.successful .success {
739
+ display: inline;
740
+ color: #390; }
741
+ dl.form.errored > dt label {
742
+ color: #900; }
743
+ dl.form.errored .error {
744
+ display: inline;
745
+ color: #900; }
746
+ dl.form.errored dd.error,
747
+ dl.form.errored dd.warning {
748
+ display: inline-block;
749
+ padding: 5px;
750
+ font-size: 11px;
751
+ color: #494620;
752
+ background: #f7ea57;
753
+ border: 1px solid #c0b536;
754
+ border-top-color: #fff;
755
+ border-bottom-right-radius: 3px;
756
+ border-bottom-left-radius: 3px; }
757
+ dl.form.warn .warning {
758
+ display: inline;
759
+ color: #900; }
760
+ dl.form.warn dd.warning {
761
+ display: inline-block;
762
+ padding: 5px;
763
+ font-size: 11px;
764
+ color: #494620;
765
+ background: #f7ea57;
766
+ border: 1px solid #c0b536;
767
+ border-top-color: #fff;
768
+ border-bottom-right-radius: 3px;
769
+ border-bottom-left-radius: 3px; }
770
+ dl.form .form-note {
771
+ display: inline-block;
772
+ padding: 5px;
773
+ margin-top: -1px;
774
+ font-size: 11px;
775
+ color: #494620;
776
+ background: #f7ea57;
777
+ border: 1px solid #c0b536;
778
+ border-top-color: #fff;
779
+ border-bottom-right-radius: 3px;
780
+ border-bottom-left-radius: 3px; }
781
+
782
+ .hfields {
783
+ margin: 15px 0; }
784
+ .hfields:before {
785
+ display: table;
786
+ content: ""; }
787
+ .hfields:after {
788
+ display: table;
789
+ clear: both;
790
+ content: ""; }
791
+ .hfields dl.form {
792
+ float: left;
793
+ margin: 0 30px 0 0; }
794
+ .hfields dl.form > dt label {
795
+ display: inline-block;
796
+ margin: 5px 0 0;
797
+ color: #666; }
798
+ .hfields dl.form > dt label img {
799
+ position: relative;
800
+ top: -2px; }
801
+ .hfields .btn {
802
+ float: left;
803
+ margin: 28px 25px 0 -20px; }
804
+ .hfields select {
805
+ margin-top: 5px; }
806
+
807
+ html.no-dnd-uploads .drag-and-drop {
808
+ min-height: 32px; }
809
+ html.no-dnd-uploads .drag-and-drop .default {
810
+ display: none; }
811
+ html.no-dnd-uploads .upload-enabled textarea {
812
+ border-bottom: 1px solid #dddddd; }
813
+
814
+ .drag-and-drop {
815
+ padding: 7px 10px;
816
+ margin: 0;
817
+ font-size: 13px;
818
+ line-height: 16px;
819
+ color: #aaa;
820
+ background-color: #fafafa;
821
+ border: 1px solid #cccccc;
822
+ border-top: 0;
823
+ border-bottom-right-radius: 3px;
824
+ border-bottom-left-radius: 3px; }
825
+ .drag-and-drop .default,
826
+ .drag-and-drop .loading,
827
+ .drag-and-drop .error {
828
+ display: none; }
829
+ .drag-and-drop .error {
830
+ color: #bd2c00; }
831
+ .drag-and-drop img {
832
+ vertical-align: top; }
833
+
834
+ .is-default .drag-and-drop .default {
835
+ display: inline-block; }
836
+
837
+ .is-uploading .drag-and-drop .loading {
838
+ display: inline-block; }
839
+
840
+ .is-bad-file .drag-and-drop .bad-file {
841
+ display: inline-block; }
842
+
843
+ .is-too-big .drag-and-drop .too-big {
844
+ display: inline-block; }
845
+
846
+ .is-empty .drag-and-drop .empty {
847
+ display: inline-block; }
848
+
849
+ .is-bad-browser .drag-and-drop .bad-browser {
850
+ display: inline-block; }
851
+
852
+ .drag-and-drop-error-info {
117
853
  font-weight: normal;
118
- color: #888; }
854
+ color: #aaa; }
855
+ .drag-and-drop-error-info a {
856
+ color: #4183c4; }
119
857
 
120
- div.feature .edit {
121
- display: none; }
122
- div.feature.settings .show {
858
+ .is-failed .drag-and-drop .failed-request {
859
+ display: inline-block; }
860
+
861
+ .manual-file-chooser {
862
+ position: absolute;
863
+ width: 240px;
864
+ padding: 5px;
865
+ margin-left: -80px;
866
+ cursor: pointer;
867
+ opacity: 0.0001; }
868
+
869
+ .manual-file-chooser:hover + .manual-file-chooser-text {
870
+ text-decoration: underline; }
871
+
872
+ .btn .manual-file-chooser {
873
+ top: 0;
874
+ padding: 0;
875
+ line-height: 34px; }
876
+
877
+ .upload-enabled textarea {
878
+ display: block;
879
+ border-bottom: 1px dashed #dddddd;
880
+ border-bottom-right-radius: 0;
881
+ border-bottom-left-radius: 0; }
882
+
883
+ .focused .drag-and-drop {
884
+ box-shadow: rgba(81, 167, 232, 0.5) 0 0 3px; }
885
+
886
+ .dragover textarea,
887
+ .dragover .drag-and-drop {
888
+ box-shadow: #c9ff00 0 0 3px; }
889
+
890
+ .previewable-comment-form {
891
+ position: relative; }
892
+ .previewable-comment-form .tabnav {
893
+ position: relative;
894
+ padding: 10px 10px 0; }
895
+ .previewable-comment-form .comment {
896
+ border: 1px solid #cacaca; }
897
+ .previewable-comment-form .comment-header .comment-header-actions {
898
+ display: none; }
899
+ .previewable-comment-form .comment-form-error {
900
+ margin-bottom: 10px; }
901
+ .previewable-comment-form .write-content,
902
+ .previewable-comment-form .preview-content {
903
+ display: none;
904
+ padding: 0 10px 10px; }
905
+ .previewable-comment-form.write-selected .write-content, .previewable-comment-form.preview-selected .preview-content {
906
+ display: block; }
907
+ .previewable-comment-form textarea {
908
+ display: block;
909
+ width: 100%;
910
+ min-height: 100px;
911
+ max-height: 500px;
912
+ padding: 10px;
913
+ resize: vertical; }
914
+ .previewable-comment-form textarea.fullscreen-contents:focus {
915
+ border: 0;
916
+ box-shadow: none; }
917
+
918
+ div.composer {
919
+ margin-top: 0;
920
+ border: 0; }
921
+
922
+ .composer .comment-form-textarea {
923
+ height: 200px;
924
+ min-height: 200px; }
925
+
926
+ .composer-infobar {
927
+ height: 35px;
928
+ padding: 0 10px;
929
+ margin-bottom: 10px;
930
+ border-bottom: 1px solid #eeeeee; }
931
+
932
+ .composer .tabnav {
933
+ margin: 0 0 10px; }
934
+
935
+ .infobar-widget.milestone {
936
+ position: relative;
937
+ float: right; }
938
+ .infobar-widget.milestone .select-menu-modal-holder {
939
+ right: 0; }
940
+ .infobar-widget.assignee {
941
+ float: left; }
942
+ .infobar-widget.assignee .css-truncate-target {
943
+ max-width: 110px; }
944
+ .infobar-widget .text,
945
+ .infobar-widget .avatar,
946
+ .infobar-widget .select-menu {
947
+ display: inline-block;
948
+ vertical-align: top; }
949
+ .infobar-widget .text {
950
+ margin-top: 3px; }
951
+ .infobar-widget .text a {
952
+ font-weight: bold;
953
+ color: #333; }
954
+ .infobar-widget .progress-bar {
955
+ width: 200px;
956
+ overflow: hidden;
957
+ line-height: 18px; }
958
+
959
+ input::-webkit-outer-spin-button,
960
+ input::-webkit-inner-spin-button {
961
+ margin: 0;
962
+ -webkit-appearance: none; }
963
+
964
+ .input-group {
965
+ display: table; }
966
+ .input-group input {
967
+ position: relative;
968
+ width: 100%; }
969
+ .input-group input:focus {
970
+ z-index: 2; }
971
+ .input-group input[type="text"] + .btn {
972
+ margin-left: 0; }
973
+ .input-group.inline {
974
+ display: inline-table; }
975
+
976
+ .input-group input,
977
+ .input-group-button {
978
+ display: table-cell; }
979
+
980
+ .input-group-button {
981
+ width: 1%;
982
+ vertical-align: middle; }
983
+
984
+ .input-group input:first-child,
985
+ .input-group-button:first-child .btn {
986
+ border-top-right-radius: 0;
987
+ border-bottom-right-radius: 0; }
988
+
989
+ .input-group-button:first-child .btn {
990
+ margin-right: -1px; }
991
+
992
+ .input-group input:last-child,
993
+ .input-group-button:last-child .btn {
994
+ border-top-left-radius: 0;
995
+ border-bottom-left-radius: 0; }
996
+
997
+ .input-group-button:last-child .btn {
998
+ margin-left: -1px; }
999
+
1000
+ h2.account {
1001
+ margin: 15px 0 0;
1002
+ font-size: 18px;
1003
+ font-weight: normal;
1004
+ color: #666; }
1005
+
1006
+ p.explain {
1007
+ position: relative;
1008
+ font-size: 12px;
1009
+ color: #666; }
1010
+ p.explain strong {
1011
+ color: #333; }
1012
+ p.explain .octicon {
1013
+ margin-right: 5px;
1014
+ color: #bbb; }
1015
+ p.explain .minibutton {
1016
+ top: -4px;
1017
+ float: right; }
1018
+
1019
+ .options-content p.explain {
1020
+ padding: 10px 10px 0;
1021
+ margin-top: 0;
1022
+ border-top: 1px solid #dddddd; }
1023
+
1024
+ .form-actions:before {
1025
+ display: table;
1026
+ content: ""; }
1027
+ .form-actions:after {
1028
+ display: table;
1029
+ clear: both;
1030
+ content: ""; }
1031
+ .form-actions .btn {
1032
+ float: right; }
1033
+ .form-actions .btn + .btn {
1034
+ margin-right: 5px; }
1035
+
1036
+ .form-warning {
1037
+ padding: 8px 10px;
1038
+ margin: 10px 0;
1039
+ font-size: 14px;
1040
+ color: #333;
1041
+ background: #ffffe2;
1042
+ border: 1px solid #e7e4c2;
1043
+ border-radius: 4px; }
1044
+ .form-warning p {
1045
+ margin: 0;
1046
+ line-height: 1.5; }
1047
+ .form-warning strong {
1048
+ color: #000; }
1049
+ .form-warning a {
1050
+ font-weight: bold; }
1051
+
1052
+ .status-indicator {
1053
+ font: normal normal 16px/1 "octicons";
1054
+ display: inline-block;
1055
+ text-decoration: none;
1056
+ -webkit-font-smoothing: antialiased;
1057
+ margin-left: 5px; }
1058
+
1059
+ .status-indicator-success:before {
1060
+ color: #6cc644;
1061
+ content: "\f03a"; }
1062
+
1063
+ .status-indicator-failed:before {
1064
+ color: #bd2c00;
1065
+ content: "\f02d"; }
1066
+
1067
+ .clearfix:before {
1068
+ display: table;
1069
+ content: ""; }
1070
+ .clearfix:after {
1071
+ display: table;
1072
+ clear: both;
1073
+ content: ""; }
1074
+
1075
+ .right {
1076
+ float: right; }
1077
+
1078
+ .left {
1079
+ float: left; }
1080
+
1081
+ .text-right {
1082
+ text-align: right; }
1083
+
1084
+ .text-left {
1085
+ text-align: left; }
1086
+
1087
+ .danger {
1088
+ color: #c00; }
1089
+
1090
+ .mute {
1091
+ color: #000; }
1092
+
1093
+ .text-diff-added {
1094
+ color: #55a532; }
1095
+
1096
+ .text-diff-deleted {
1097
+ color: #bd2c00; }
1098
+
1099
+ .text-open,
1100
+ .text-success {
1101
+ color: #6cc644; }
1102
+
1103
+ .text-closed {
1104
+ color: #bd2c00; }
1105
+
1106
+ .text-reverted {
1107
+ color: #bd2c00; }
1108
+
1109
+ .text-merged {
1110
+ color: #6e5494; }
1111
+
1112
+ .text-renamed {
1113
+ color: #fffa5d; }
1114
+
1115
+ .text-pending {
1116
+ color: #cea61b; }
1117
+
1118
+ .text-error,
1119
+ .text-failure {
1120
+ color: #bd2c00; }
1121
+
1122
+ .muted-link {
1123
+ color: #777; }
1124
+ .muted-link:hover {
1125
+ color: #4183c4;
1126
+ text-decoration: none; }
1127
+
1128
+ .hidden {
123
1129
  display: none; }
124
- div.feature.settings .edit {
1130
+
1131
+ .warning {
1132
+ padding: 0.5em;
1133
+ margin-bottom: 0.8em;
1134
+ font-weight: bold;
1135
+ background-color: #fffccc; }
1136
+
1137
+ .error_box {
1138
+ padding: 1em;
1139
+ font-weight: bold;
1140
+ background-color: #ffebe8;
1141
+ border: 1px solid #dd3c10; }
1142
+
1143
+ .flash-messages {
1144
+ margin-top: 15px;
1145
+ margin-bottom: 15px; }
1146
+
1147
+ .flash,
1148
+ .flash-global {
1149
+ position: relative;
1150
+ font-size: 14px;
1151
+ line-height: 1.6;
1152
+ color: #246;
1153
+ background-color: #e2eef9;
1154
+ border: solid 1px #bac6d3; }
1155
+ .flash.flash-warn,
1156
+ .flash-global.flash-warn {
1157
+ color: #4c4a42;
1158
+ background-color: #fff9ea;
1159
+ border-color: #dfd8c2; }
1160
+ .flash.flash-error,
1161
+ .flash-global.flash-error {
1162
+ color: #911;
1163
+ background-color: #fcdede;
1164
+ border-color: #d2b2b2; }
1165
+ .flash .flash-close,
1166
+ .flash-global .flash-close {
1167
+ float: right;
1168
+ padding: 17px;
1169
+ margin-top: -15px;
1170
+ margin-right: -15px;
1171
+ margin-left: 20px;
1172
+ color: inherit;
1173
+ text-decoration: none;
1174
+ cursor: pointer;
1175
+ opacity: 0.6; }
1176
+ .flash .flash-close:hover,
1177
+ .flash-global .flash-close:hover {
1178
+ opacity: 1; }
1179
+ .flash p:last-child,
1180
+ .flash-global p:last-child {
1181
+ margin-bottom: 0; }
1182
+ .flash .flash-action,
1183
+ .flash-global .flash-action {
1184
+ float: right;
1185
+ margin-top: -4px;
1186
+ margin-left: 20px; }
1187
+ .flash a,
1188
+ .flash-global a {
1189
+ font-weight: bold; }
1190
+
1191
+ .flash {
1192
+ padding: 15px;
1193
+ border-radius: 3px; }
1194
+ .flash + .flash {
1195
+ margin-top: 5px; }
1196
+
1197
+ .flash-with-icon {
1198
+ padding-left: 40px; }
1199
+ .flash-with-icon > .octicon {
1200
+ float: left;
1201
+ margin-top: 3px;
1202
+ margin-left: -25px; }
1203
+
1204
+ .flash-global {
1205
+ padding: 10px;
1206
+ margin-top: -1px;
1207
+ border-width: 1px 0; }
1208
+ .flash-global h2,
1209
+ .flash-global p {
1210
+ margin-top: 0;
1211
+ margin-bottom: 0;
1212
+ font-size: 14px;
1213
+ line-height: 1.4; }
1214
+ .flash-global .flash-action {
1215
+ margin-top: 5px; }
1216
+
1217
+ .flash-title {
1218
+ margin-top: 0;
1219
+ margin-bottom: 5px; }
1220
+
1221
+ .avatar {
1222
+ display: inline-block;
1223
+ overflow: hidden;
1224
+ line-height: 1;
1225
+ vertical-align: middle;
1226
+ border-radius: 3px; }
1227
+
1228
+ .avatar-small {
1229
+ border-radius: 2px; }
1230
+
1231
+ .avatar-link {
1232
+ float: left;
1233
+ line-height: 1; }
1234
+
1235
+ .avatar-group-item {
1236
+ display: inline-block;
1237
+ margin-bottom: 3px; }
1238
+
1239
+ .avatar-parent-child {
1240
+ position: relative; }
1241
+
1242
+ .avatar-child {
1243
+ position: absolute;
1244
+ right: -15%;
1245
+ bottom: -9%;
1246
+ border-radius: 2px;
1247
+ box-shadow: -2px -2px 0 rgba(255, 255, 255, 0.8); }
1248
+
1249
+ .blankslate {
1250
+ position: relative;
1251
+ padding: 30px;
1252
+ text-align: center;
1253
+ background-color: #fafafa;
1254
+ border: 1px solid #e5e5e5;
1255
+ border-radius: 3px;
1256
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05); }
1257
+ .blankslate.clean-background {
1258
+ background: none;
1259
+ border: 0;
1260
+ box-shadow: none; }
1261
+ .blankslate.capped {
1262
+ border-radius: 0 0 3px 3px; }
1263
+ .blankslate.spacious {
1264
+ padding: 100px 60px 120px; }
1265
+ .blankslate.has-fixed-width {
1266
+ width: 485px;
1267
+ margin: 0 auto; }
1268
+ .blankslate.large-format h3 {
1269
+ margin: 0.75em 0;
1270
+ font-size: 20px; }
1271
+ .blankslate.large-format p {
1272
+ font-size: 16px; }
1273
+ .blankslate.large-format p.has-fixed-width {
1274
+ width: 540px;
1275
+ margin: 0 auto;
1276
+ text-align: left; }
1277
+ .blankslate.large-format .mega-octicon {
1278
+ width: 40px;
1279
+ height: 40px;
1280
+ font-size: 40px;
1281
+ color: #aaa; }
1282
+ .blankslate.large-format .octicon-inbox {
1283
+ font-size: 48px;
1284
+ line-height: 40px; }
1285
+ .blankslate code {
1286
+ padding: 2px 5px 3px;
1287
+ font-size: 14px;
1288
+ background: #fff;
1289
+ border: 1px solid #eeeeee;
1290
+ border-radius: 3px; }
1291
+ .blankslate > .mega-octicon {
1292
+ color: #aaa; }
1293
+ .blankslate .mega-octicon + .mega-octicon {
1294
+ margin-left: 10px; }
1295
+ .tabnav + .blankslate {
1296
+ margin-top: 20px; }
1297
+ .blankslate .context-loader.large-format-loader {
1298
+ padding-top: 50px; }
1299
+
1300
+ .spinner-forking {
1301
+ display: block;
1302
+ margin: 20px auto 40px; }
1303
+
1304
+ .forking-repo {
1305
+ margin: 40px 0;
1306
+ text-align: center; }
1307
+ .forking-repo h3 {
1308
+ margin-bottom: 10px;
1309
+ font-size: 28px;
1310
+ font-weight: 300; }
1311
+ .forking-repo h4 {
1312
+ margin: 0 0 30px;
1313
+ font-size: 16px;
1314
+ font-weight: 300; }
1315
+
1316
+ .counter {
1317
+ display: inline-block;
1318
+ padding: 2px 5px;
1319
+ font-size: 11px;
1320
+ font-weight: bold;
1321
+ line-height: 1;
1322
+ color: #777;
1323
+ background-color: #eee;
1324
+ border-radius: 20px; }
1325
+
1326
+ .btn {
1327
+ position: relative;
1328
+ display: inline-block;
1329
+ padding: 6px 12px;
1330
+ font-size: 13px;
1331
+ font-weight: bold;
1332
+ line-height: 20px;
1333
+ color: #333;
1334
+ white-space: nowrap;
1335
+ vertical-align: middle;
1336
+ cursor: pointer;
1337
+ background-color: #eee;
1338
+ background-image: linear-gradient(#fcfcfc, #eeeeee);
1339
+ border: 1px solid #d5d5d5;
1340
+ border-radius: 3px;
1341
+ user-select: none;
1342
+ -webkit-appearance: none; }
1343
+ .btn i {
1344
+ font-style: normal;
1345
+ font-weight: 500;
1346
+ opacity: 0.6; }
1347
+ .btn .octicon {
1348
+ vertical-align: text-top; }
1349
+ .btn .counter {
1350
+ text-shadow: none;
1351
+ background-color: #e5e5e5; }
1352
+ .btn:focus {
1353
+ text-decoration: none;
1354
+ border-color: #51a7e8;
1355
+ outline: none;
1356
+ box-shadow: 0 0 5px rgba(81, 167, 232, 0.5); }
1357
+ .btn:hover, .btn:active, .btn.zeroclipboard-is-hover, .btn.zeroclipboard-is-active {
1358
+ text-decoration: none;
1359
+ background-color: #ddd;
1360
+ background-image: linear-gradient(#eeeeee, #dddddd);
1361
+ border-color: #ccc; }
1362
+ .btn:active, .btn.selected, .btn.selected:hover, .btn.zeroclipboard-is-active {
1363
+ background-color: #dcdcdc;
1364
+ background-image: none;
1365
+ border-color: #b5b5b5;
1366
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); }
1367
+ .btn:disabled, .btn:disabled:hover, .btn.disabled, .btn.disabled:hover {
1368
+ color: rgba(102, 102, 102, 0.5);
1369
+ cursor: default;
1370
+ background-color: rgba(229, 229, 229, 0.5);
1371
+ background-image: none;
1372
+ border-color: rgba(197, 197, 197, 0.5);
1373
+ box-shadow: none; }
1374
+
1375
+ .btn-primary {
1376
+ color: #fff;
1377
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
1378
+ background-color: #60b044;
1379
+ background-image: linear-gradient(#8add6d, #60b044);
1380
+ border-color: #5ca941; }
1381
+ .btn-primary .counter {
1382
+ color: #60b044;
1383
+ background-color: #fff; }
1384
+ .btn-primary:hover {
1385
+ color: #fff;
1386
+ background-color: #569e3d;
1387
+ background-image: linear-gradient(#79d858, #569e3d);
1388
+ border-color: #4a993e; }
1389
+ .btn-primary:active, .btn-primary.selected {
1390
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
1391
+ background-color: #569e3d;
1392
+ background-image: none;
1393
+ border-color: #418737; }
1394
+ .btn-primary:disabled, .btn-primary:disabled:hover, .btn-primary.disabled, .btn-primary.disabled:hover {
1395
+ color: #fefefe;
1396
+ background-color: #add39f;
1397
+ background-image: linear-gradient(#c3ecb4, #add39f);
1398
+ border-color: #b9dcac #b9dcac #a7c89b; }
1399
+
1400
+ .btn-danger {
1401
+ color: #900; }
1402
+ .btn-danger:hover {
1403
+ color: #fff;
1404
+ background-color: #b33630;
1405
+ background-image: linear-gradient(#dc5f59, #b33630);
1406
+ border-color: #cd504a; }
1407
+ .btn-danger:active, .btn-danger.selected {
1408
+ color: #fff;
1409
+ background-color: #b33630;
1410
+ background-image: none;
1411
+ border-color: #9f312c; }
1412
+ .btn-danger:disabled, .btn-danger:disabled:hover, .btn-danger.disabled, .btn-danger.disabled:hover {
1413
+ color: #cb7f7f;
1414
+ background-color: #efefef;
1415
+ background-image: linear-gradient(#fefefe, #efefef);
1416
+ border-color: #e1e1e1; }
1417
+ .btn-danger:hover .counter, .btn-danger:active .counter, .btn-danger.selected .counter {
1418
+ color: #b33630;
1419
+ background-color: #fff; }
1420
+
1421
+ .btn-outline {
1422
+ color: #4183c4;
1423
+ background-color: #fff;
1424
+ background-image: none;
1425
+ border: 1px solid #e5e5e5; }
1426
+ .btn-outline .counter {
1427
+ background-color: #eee; }
1428
+ .btn-outline:hover, .btn-outline:active, .btn-outline.selected, .btn-outline.selected:hover, .btn-outline.zeroclipboard-is-hover, .btn-outline.zeroclipboard-is-active {
1429
+ color: #fff;
1430
+ background-color: #4183c4;
1431
+ background-image: none;
1432
+ border-color: #4183c4; }
1433
+ .btn-outline:hover .counter, .btn-outline:active .counter, .btn-outline.selected .counter, .btn-outline.selected:hover .counter, .btn-outline.zeroclipboard-is-hover .counter, .btn-outline.zeroclipboard-is-active .counter {
1434
+ color: #4183c4;
1435
+ background-color: #fff; }
1436
+ .btn-outline:disabled, .btn-outline:disabled:hover, .btn-outline.disabled, .btn-outline.disabled:hover {
1437
+ color: #777;
1438
+ background-color: #fff;
1439
+ background-image: none;
1440
+ border-color: #e5e5e5; }
1441
+
1442
+ .btn-with-count {
1443
+ float: left;
1444
+ border-top-right-radius: 0;
1445
+ border-bottom-right-radius: 0; }
1446
+
1447
+ .btn-sm {
1448
+ padding: 2px 10px; }
1449
+
1450
+ .hidden-text-expander {
125
1451
  display: block; }
126
- div.feature .stack > div {
127
- display: none; }
128
- div.feature .stack > div.active {
129
- display: block; }
130
- div.feature li.member {
131
- line-height: 21px;
132
- padding: 2px;
133
- font-weight: bold; }
134
- div.feature li.member:hover {
135
- background: #f7f7f7; }
136
- div.feature li.member a {
137
- margin-right: 6px;
1452
+ .hidden-text-expander.inline {
1453
+ position: relative;
1454
+ top: -1px;
1455
+ display: inline-block;
1456
+ margin-left: 5px;
1457
+ line-height: 0; }
1458
+ .hidden-text-expander a {
1459
+ display: inline-block;
1460
+ height: 12px;
1461
+ padding: 0 5px;
1462
+ font-size: 12px;
1463
+ font-weight: bold;
1464
+ line-height: 6px;
1465
+ color: #555;
1466
+ text-decoration: none;
1467
+ vertical-align: middle;
1468
+ background: #ddd;
1469
+ border-radius: 1px; }
1470
+ .hidden-text-expander a:hover {
1471
+ text-decoration: none;
1472
+ background-color: #ccc; }
1473
+ .hidden-text-expander a:active {
1474
+ color: #fff;
1475
+ background-color: #4183c4; }
1476
+
1477
+ .social-count {
1478
+ float: left;
1479
+ padding: 2px 7px;
1480
+ font-size: 11px;
1481
+ font-weight: bold;
1482
+ line-height: 20px;
1483
+ color: #333333;
1484
+ vertical-align: middle;
1485
+ background-color: #fff;
1486
+ border: 1px solid #dddddd;
1487
+ border-left: 0;
1488
+ border-top-right-radius: 3px;
1489
+ border-bottom-right-radius: 3px; }
1490
+ .social-count:hover, .social-count:active {
1491
+ text-decoration: none; }
1492
+ .social-count:hover {
1493
+ color: #4183c4;
1494
+ cursor: pointer; }
1495
+
1496
+ .btn-block {
1497
+ display: block;
1498
+ width: 100%;
1499
+ text-align: center; }
1500
+
1501
+ .btn-group {
1502
+ display: inline-block;
1503
+ vertical-align: middle; }
1504
+ .btn-group:before {
1505
+ display: table;
1506
+ content: ""; }
1507
+ .btn-group:after {
1508
+ display: table;
1509
+ clear: both;
1510
+ content: ""; }
1511
+ .btn-group .btn {
1512
+ position: relative;
1513
+ float: left; }
1514
+ .btn-group .btn:not(:first-child):not(:last-child) {
1515
+ border-radius: 0; }
1516
+ .btn-group .btn:first-child {
1517
+ border-top-right-radius: 0;
1518
+ border-bottom-right-radius: 0; }
1519
+ .btn-group .btn:last-child {
1520
+ border-top-left-radius: 0;
1521
+ border-bottom-left-radius: 0; }
1522
+ .btn-group .btn:hover, .btn-group .btn:focus, .btn-group .btn:active, .btn-group .btn.selected {
1523
+ z-index: 2; }
1524
+ .btn-group .btn + .btn {
1525
+ margin-left: -1px;
1526
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2); }
1527
+ .btn-group .btn + .btn:hover {
1528
+ box-shadow: none; }
1529
+ .btn-group .btn + .btn:active, .btn-group .btn + .btn.selected {
1530
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15); }
1531
+ .btn-group .button_to + .button_to {
1532
+ margin-left: -1px; }
1533
+ .btn-group .button_to {
1534
+ float: left; }
1535
+ .btn-group .button_to .btn {
1536
+ border-radius: 0; }
1537
+ .btn-group .button_to:first-child .btn {
1538
+ border-top-left-radius: 3px;
1539
+ border-bottom-left-radius: 3px; }
1540
+ .btn-group .button_to:last-child .btn {
1541
+ border-top-right-radius: 3px;
1542
+ border-bottom-right-radius: 3px; }
1543
+
1544
+ .btn-group + .btn-group,
1545
+ .btn-group + .btn {
1546
+ margin-left: 5px; }
1547
+
1548
+ .btn-link {
1549
+ display: inline-block;
1550
+ padding: 0;
1551
+ font-size: inherit;
1552
+ color: #4183c4;
1553
+ white-space: nowrap;
138
1554
  cursor: pointer;
1555
+ background-color: transparent;
1556
+ border: 0;
1557
+ user-select: none;
1558
+ -webkit-appearance: none; }
1559
+ .btn-link:hover, .btn-link:focus {
1560
+ text-decoration: underline; }
1561
+ .btn-link:focus {
1562
+ outline: none; }
1563
+
1564
+ .menu {
1565
+ margin-bottom: 15px;
1566
+ list-style: none;
1567
+ background-color: #fff;
1568
+ border: 1px solid #d8d8d8;
1569
+ border-radius: 3px; }
1570
+
1571
+ .menu-item {
1572
+ position: relative;
1573
+ display: block;
1574
+ padding: 8px 10px;
1575
+ text-shadow: 0 1px 0 white;
1576
+ border-bottom: 1px solid #eeeeee; }
1577
+ .menu-item:first-child {
1578
+ border-top: 0;
1579
+ border-top-right-radius: 2px;
1580
+ border-top-left-radius: 2px; }
1581
+ .menu-item:first-child:before {
1582
+ border-top-left-radius: 2px; }
1583
+ .menu-item:last-child {
1584
+ border-bottom: 0;
1585
+ border-bottom-right-radius: 2px;
1586
+ border-bottom-left-radius: 2px; }
1587
+ .menu-item:last-child:before {
1588
+ border-bottom-left-radius: 2px; }
1589
+ .menu-item:hover {
1590
+ text-decoration: none;
1591
+ background-color: #f9f9f9; }
1592
+ .menu-item.selected {
1593
+ font-weight: bold;
1594
+ color: #222;
1595
+ cursor: default;
1596
+ background-color: #fff; }
1597
+ .menu-item.selected:before {
1598
+ position: absolute;
1599
+ top: 0;
1600
+ left: 0;
1601
+ bottom: 0;
1602
+ width: 2px;
1603
+ content: "";
1604
+ background-color: #d26911; }
1605
+ .menu-item .octicon {
1606
+ margin-right: 5px;
1607
+ width: 16px;
1608
+ color: #333333;
1609
+ text-align: center; }
1610
+ .menu-item .counter {
1611
+ float: right;
1612
+ margin-left: 5px; }
1613
+ .menu-item .menu-warning {
1614
+ float: right;
1615
+ color: #d26911; }
1616
+ .menu-item .avatar {
1617
+ float: left;
1618
+ margin-right: 5px; }
1619
+ .menu-item.alert .counter {
1620
+ color: #bd2c00; }
1621
+
1622
+ .menu-heading {
1623
+ display: block;
1624
+ padding: 8px 10px;
1625
+ margin-top: 0;
1626
+ margin-bottom: 0;
1627
+ font-size: 13px;
1628
+ font-weight: bold;
1629
+ line-height: 20px;
1630
+ color: #555;
1631
+ background-color: #f7f7f7;
1632
+ border-bottom: 1px solid #eeeeee; }
1633
+ .menu-heading:hover {
1634
+ text-decoration: none; }
1635
+ .menu-heading:first-child {
1636
+ border-top-right-radius: 2px;
1637
+ border-top-left-radius: 2px; }
1638
+ .menu-heading:last-child {
1639
+ border-bottom-right-radius: 2px;
1640
+ border-bottom-left-radius: 2px;
1641
+ border-bottom: 0; }
1642
+
1643
+ .tabnav {
1644
+ margin-top: 0;
1645
+ margin-bottom: 15px;
1646
+ border-bottom: 1px solid #dddddd; }
1647
+ .tabnav .counter {
1648
+ margin-left: 5px; }
1649
+
1650
+ .tabnav-tabs {
1651
+ margin-bottom: -1px; }
1652
+
1653
+ .tabnav-tab {
1654
+ display: inline-block;
1655
+ padding: 8px 12px;
1656
+ font-size: 14px;
1657
+ line-height: 20px;
1658
+ color: #666;
1659
+ text-decoration: none;
1660
+ border: 1px solid transparent;
1661
+ border-bottom: 0; }
1662
+ .tabnav-tab.selected {
1663
+ color: #333;
1664
+ background-color: #fff;
1665
+ border-color: #ddd;
1666
+ border-radius: 3px 3px 0 0; }
1667
+ .tabnav-tab:hover {
1668
+ text-decoration: none; }
1669
+
1670
+ .tabnav-extra {
1671
+ display: inline-block;
1672
+ padding-top: 10px;
1673
+ margin-left: 10px;
1674
+ font-size: 12px;
1675
+ color: #666; }
1676
+ .tabnav-extra > .octicon {
1677
+ margin-right: 2px; }
1678
+
1679
+ a.tabnav-extra:hover {
1680
+ color: #4183c4;
139
1681
  text-decoration: none; }
140
- div.feature div.actions {
141
- float: left;
142
- width: 148px;
143
- font-size: 12px; }
144
- div.feature div.actions a, div.feature button {
145
- float: right;
1682
+
1683
+ .tabnav-btn {
1684
+ margin-left: 10px; }
1685
+
1686
+ .filter-list {
1687
+ list-style-type: none; }
1688
+ .filter-list.small .filter-item {
1689
+ padding: 4px 10px;
1690
+ margin: 0 0 2px;
1691
+ font-size: 12px; }
1692
+ .filter-list.pjax-active .filter-item {
1693
+ color: #777;
1694
+ background-color: transparent; }
1695
+ .filter-list.pjax-active .filter-item.pjax-active {
1696
+ color: #fff;
1697
+ background-color: #4183c4; }
1698
+
1699
+ .filter-item {
1700
+ position: relative;
146
1701
  display: block;
147
- background: #f8f8f8;
148
- border: 1px solid #e8e8e8;
149
- -webkit-border-radius: 2px;
150
- margin: 0 2px 0 0;
151
- padding: 7px 13px;
152
- color: #888;
1702
+ padding: 8px 10px;
1703
+ margin-bottom: 5px;
1704
+ overflow: hidden;
1705
+ font-size: 14px;
1706
+ color: #777;
153
1707
  text-decoration: none;
1708
+ text-overflow: ellipsis;
1709
+ white-space: nowrap;
1710
+ cursor: pointer;
1711
+ border-radius: 3px; }
1712
+ .filter-item:hover {
1713
+ text-decoration: none;
1714
+ background-color: #eee; }
1715
+ .filter-item.selected {
1716
+ color: #fff;
1717
+ background-color: #4183c4; }
1718
+ .filter-item.selected .octicon-remove-close {
1719
+ float: right;
1720
+ opacity: 0.8; }
1721
+ .filter-item .count {
1722
+ float: right;
1723
+ font-weight: bold; }
1724
+ .filter-item .bar {
1725
+ position: absolute;
1726
+ top: 2px;
1727
+ right: 0;
1728
+ bottom: 2px;
1729
+ z-index: -1;
1730
+ display: inline-block;
1731
+ background-color: #f1f1f1; }
1732
+
1733
+ .state {
1734
+ display: inline-block;
1735
+ padding: 4px 8px;
154
1736
  font-weight: bold;
155
- line-height: 12px;
156
- cursor: pointer; }
157
- div.feature div.actions a:hover, div.feature button:hover {
158
- background: #dfdfdf;
159
- border-color: #d7d7d7; }
1737
+ line-height: 20px;
1738
+ color: #fff;
1739
+ text-align: center;
1740
+ border-radius: 3px;
1741
+ background-color: #999; }
160
1742
 
161
- div.tabs ul {
162
- clear: both;
163
- margin: 0 -10px 0 -17px;
164
- padding: 10px 0 0 17px;
165
- border-bottom: 1px solid #e8e8e8; }
166
- div.tabs ul li {
1743
+ .state-open,
1744
+ .state-proposed,
1745
+ .state-reopened {
1746
+ background-color: #6cc644; }
1747
+
1748
+ .state-merged {
1749
+ background-color: #6e5494; }
1750
+
1751
+ .state-closed {
1752
+ background-color: #bd2c00; }
1753
+
1754
+ .state-renamed {
1755
+ background-color: #fffa5d; }
1756
+
1757
+ .tooltipped {
1758
+ position: relative; }
1759
+
1760
+ .tooltipped:after {
1761
+ position: absolute;
1762
+ z-index: 1000000;
1763
+ display: none;
1764
+ padding: 5px 8px;
1765
+ font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
1766
+ color: white;
1767
+ text-align: center;
1768
+ text-decoration: none;
1769
+ text-shadow: none;
1770
+ text-transform: none;
1771
+ letter-spacing: normal;
1772
+ word-wrap: break-word;
1773
+ white-space: pre;
1774
+ pointer-events: none;
1775
+ content: attr(aria-label);
1776
+ background: rgba(0, 0, 0, 0.8);
1777
+ border-radius: 3px;
1778
+ -webkit-font-smoothing: subpixel-antialiased; }
1779
+
1780
+ .tooltipped:before {
1781
+ position: absolute;
1782
+ z-index: 1000001;
1783
+ display: none;
1784
+ width: 0;
1785
+ height: 0;
1786
+ color: rgba(0, 0, 0, 0.8);
1787
+ pointer-events: none;
1788
+ content: "";
1789
+ border: 5px solid transparent; }
1790
+
1791
+ .tooltipped:hover:before, .tooltipped:hover:after,
1792
+ .tooltipped:active:before,
1793
+ .tooltipped:active:after,
1794
+ .tooltipped:focus:before,
1795
+ .tooltipped:focus:after {
1796
+ display: inline-block;
1797
+ text-decoration: none; }
1798
+
1799
+ .tooltipped-multiline:hover:after,
1800
+ .tooltipped-multiline:active:after,
1801
+ .tooltipped-multiline:focus:after {
1802
+ display: table-cell; }
1803
+
1804
+ .tooltipped-s:after,
1805
+ .tooltipped-se:after,
1806
+ .tooltipped-sw:after {
1807
+ top: 100%;
1808
+ right: 50%;
1809
+ margin-top: 5px; }
1810
+ .tooltipped-s:before,
1811
+ .tooltipped-se:before,
1812
+ .tooltipped-sw:before {
1813
+ top: auto;
1814
+ right: 50%;
1815
+ bottom: -5px;
1816
+ margin-right: -5px;
1817
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
1818
+
1819
+ .tooltipped-se:after {
1820
+ right: auto;
1821
+ left: 50%;
1822
+ margin-left: -15px; }
1823
+
1824
+ .tooltipped-sw:after {
1825
+ margin-right: -15px; }
1826
+
1827
+ .tooltipped-n:after,
1828
+ .tooltipped-ne:after,
1829
+ .tooltipped-nw:after {
1830
+ right: 50%;
1831
+ bottom: 100%;
1832
+ margin-bottom: 5px; }
1833
+ .tooltipped-n:before,
1834
+ .tooltipped-ne:before,
1835
+ .tooltipped-nw:before {
1836
+ top: -5px;
1837
+ right: 50%;
1838
+ bottom: auto;
1839
+ margin-right: -5px;
1840
+ border-top-color: rgba(0, 0, 0, 0.8); }
1841
+
1842
+ .tooltipped-ne:after {
1843
+ right: auto;
1844
+ left: 50%;
1845
+ margin-left: -15px; }
1846
+
1847
+ .tooltipped-nw:after {
1848
+ margin-right: -15px; }
1849
+
1850
+ .tooltipped-s:after,
1851
+ .tooltipped-n:after {
1852
+ transform: translateX(50%); }
1853
+
1854
+ .tooltipped-w:after {
1855
+ right: 100%;
1856
+ bottom: 50%;
1857
+ margin-right: 5px;
1858
+ transform: translateY(50%); }
1859
+ .tooltipped-w:before {
1860
+ top: 50%;
1861
+ bottom: 50%;
1862
+ left: -5px;
1863
+ margin-top: -5px;
1864
+ border-left-color: rgba(0, 0, 0, 0.8); }
1865
+
1866
+ .tooltipped-e:after {
1867
+ bottom: 50%;
1868
+ left: 100%;
1869
+ margin-left: 5px;
1870
+ transform: translateY(50%); }
1871
+ .tooltipped-e:before {
1872
+ top: 50%;
1873
+ right: -5px;
1874
+ bottom: 50%;
1875
+ margin-top: -5px;
1876
+ border-right-color: rgba(0, 0, 0, 0.8); }
1877
+
1878
+ .tooltipped-multiline:after {
1879
+ width: -moz-max-content;
1880
+ width: -webkit-max-content;
1881
+ max-width: 250px;
1882
+ word-break: break-word;
1883
+ word-wrap: normal;
1884
+ white-space: pre-line;
1885
+ border-collapse: separate; }
1886
+ .tooltipped-multiline.tooltipped-s:after, .tooltipped-multiline.tooltipped-n:after {
1887
+ right: auto;
1888
+ left: 50%;
1889
+ transform: translateX(-50%); }
1890
+ .tooltipped-multiline.tooltipped-w:after, .tooltipped-multiline.tooltipped-e:after {
1891
+ right: 100%; }
1892
+
1893
+ @media screen and (min-width: 0 \0) {
1894
+ .tooltipped-multiline:after {
1895
+ width: 250px; } }
1896
+ .tooltipped-sticky:before, .tooltipped-sticky:after {
1897
+ display: inline-block; }
1898
+ .tooltipped-sticky.tooltipped-multiline:after {
1899
+ display: table-cell; }
1900
+
1901
+ .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
1902
+ color: black;
1903
+ background: rgba(255, 255, 255, 0.8); }
1904
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before,
1905
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before,
1906
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
1907
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
1908
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before, .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before, .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
1909
+ border-top-color: rgba(255, 255, 255, 0.8); }
1910
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
1911
+ border-right-color: rgba(255, 255, 255, 0.8); }
1912
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
1913
+ border-left-color: rgba(255, 255, 255, 0.8); }
1914
+
1915
+ .flex-table {
1916
+ display: table; }
1917
+
1918
+ .flex-table-item {
1919
+ display: table-cell;
1920
+ width: 1%;
1921
+ white-space: nowrap;
1922
+ vertical-align: middle; }
1923
+
1924
+ .flex-table-item-primary {
1925
+ width: 99%; }
1926
+
1927
+ .css-truncate.css-truncate-target,
1928
+ .css-truncate .css-truncate-target {
1929
+ display: inline-block;
1930
+ max-width: 125px;
1931
+ overflow: hidden;
1932
+ text-overflow: ellipsis;
1933
+ white-space: nowrap;
1934
+ vertical-align: top; }
1935
+ .css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target, .css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target, .css-truncate.expandable:hover .css-truncate-target, .css-truncate.expandable:hover.css-truncate-target {
1936
+ max-width: 10000px !important; }
1937
+
1938
+ table {
1939
+ background-color: transparent; }
1940
+
1941
+ caption {
1942
+ padding-top: 8px;
1943
+ padding-bottom: 8px;
1944
+ color: #777777;
1945
+ text-align: left; }
1946
+
1947
+ th {
1948
+ text-align: left; }
1949
+
1950
+ .table {
1951
+ width: 100%;
1952
+ max-width: 100%;
1953
+ margin-bottom: 20px; }
1954
+ .table > thead > tr > th,
1955
+ .table > thead > tr > td,
1956
+ .table > tbody > tr > th,
1957
+ .table > tbody > tr > td,
1958
+ .table > tfoot > tr > th,
1959
+ .table > tfoot > tr > td {
1960
+ padding: 8px;
1961
+ line-height: 1.42857;
1962
+ vertical-align: top;
1963
+ border-top: 1px solid #dddddd; }
1964
+ .table > thead > tr > th {
1965
+ vertical-align: bottom;
1966
+ border-bottom: 2px solid #dddddd; }
1967
+ .table > caption + thead > tr:first-child > th,
1968
+ .table > caption + thead > tr:first-child > td,
1969
+ .table > colgroup + thead > tr:first-child > th,
1970
+ .table > colgroup + thead > tr:first-child > td,
1971
+ .table > thead:first-child > tr:first-child > th,
1972
+ .table > thead:first-child > tr:first-child > td {
1973
+ border-top: 0; }
1974
+ .table > tbody + tbody {
1975
+ border-top: 2px solid #dddddd; }
1976
+ .table .table {
1977
+ background-color: white; }
1978
+
1979
+ .table-condensed > thead > tr > th,
1980
+ .table-condensed > thead > tr > td,
1981
+ .table-condensed > tbody > tr > th,
1982
+ .table-condensed > tbody > tr > td,
1983
+ .table-condensed > tfoot > tr > th,
1984
+ .table-condensed > tfoot > tr > td {
1985
+ padding: 5px; }
1986
+
1987
+ .table-bordered {
1988
+ border: 1px solid #dddddd; }
1989
+ .table-bordered > thead > tr > th,
1990
+ .table-bordered > thead > tr > td,
1991
+ .table-bordered > tbody > tr > th,
1992
+ .table-bordered > tbody > tr > td,
1993
+ .table-bordered > tfoot > tr > th,
1994
+ .table-bordered > tfoot > tr > td {
1995
+ border: 1px solid #dddddd; }
1996
+ .table-bordered > thead > tr > th,
1997
+ .table-bordered > thead > tr > td {
1998
+ border-bottom-width: 2px; }
1999
+
2000
+ .table-striped > tbody > tr:nth-of-type(odd) {
2001
+ background-color: #f9f9f9; }
2002
+
2003
+ .table-hover > tbody > tr:hover {
2004
+ background-color: whitesmoke; }
2005
+
2006
+ table col[class*="col-"] {
2007
+ position: static;
2008
+ float: none;
2009
+ display: table-column; }
2010
+
2011
+ table td[class*="col-"],
2012
+ table th[class*="col-"] {
2013
+ position: static;
2014
+ float: none;
2015
+ display: table-cell; }
2016
+
2017
+ .table > thead > tr > td.active,
2018
+ .table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
2019
+ .table > tbody > tr > td.active,
2020
+ .table > tbody > tr > th.active,
2021
+ .table > tbody > tr.active > td,
2022
+ .table > tbody > tr.active > th,
2023
+ .table > tfoot > tr > td.active,
2024
+ .table > tfoot > tr > th.active,
2025
+ .table > tfoot > tr.active > td,
2026
+ .table > tfoot > tr.active > th {
2027
+ background-color: whitesmoke; }
2028
+
2029
+ .table-hover > tbody > tr > td.active:hover,
2030
+ .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th {
2031
+ background-color: #e8e8e8; }
2032
+
2033
+ .table > thead > tr > td.success,
2034
+ .table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
2035
+ .table > tbody > tr > td.success,
2036
+ .table > tbody > tr > th.success,
2037
+ .table > tbody > tr.success > td,
2038
+ .table > tbody > tr.success > th,
2039
+ .table > tfoot > tr > td.success,
2040
+ .table > tfoot > tr > th.success,
2041
+ .table > tfoot > tr.success > td,
2042
+ .table > tfoot > tr.success > th {
2043
+ background-color: #dff0d8; }
2044
+
2045
+ .table-hover > tbody > tr > td.success:hover,
2046
+ .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th {
2047
+ background-color: #d0e9c6; }
2048
+
2049
+ .table > thead > tr > td.info,
2050
+ .table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
2051
+ .table > tbody > tr > td.info,
2052
+ .table > tbody > tr > th.info,
2053
+ .table > tbody > tr.info > td,
2054
+ .table > tbody > tr.info > th,
2055
+ .table > tfoot > tr > td.info,
2056
+ .table > tfoot > tr > th.info,
2057
+ .table > tfoot > tr.info > td,
2058
+ .table > tfoot > tr.info > th {
2059
+ background-color: #d9edf7; }
2060
+
2061
+ .table-hover > tbody > tr > td.info:hover,
2062
+ .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th {
2063
+ background-color: #c4e3f3; }
2064
+
2065
+ .table > thead > tr > td.warning,
2066
+ .table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
2067
+ .table > tbody > tr > td.warning,
2068
+ .table > tbody > tr > th.warning,
2069
+ .table > tbody > tr.warning > td,
2070
+ .table > tbody > tr.warning > th,
2071
+ .table > tfoot > tr > td.warning,
2072
+ .table > tfoot > tr > th.warning,
2073
+ .table > tfoot > tr.warning > td,
2074
+ .table > tfoot > tr.warning > th {
2075
+ background-color: #fcf8e3; }
2076
+
2077
+ .table-hover > tbody > tr > td.warning:hover,
2078
+ .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th {
2079
+ background-color: #faf2cc; }
2080
+
2081
+ .table > thead > tr > td.danger,
2082
+ .table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
2083
+ .table > tbody > tr > td.danger,
2084
+ .table > tbody > tr > th.danger,
2085
+ .table > tbody > tr.danger > td,
2086
+ .table > tbody > tr.danger > th,
2087
+ .table > tfoot > tr > td.danger,
2088
+ .table > tfoot > tr > th.danger,
2089
+ .table > tfoot > tr.danger > td,
2090
+ .table > tfoot > tr.danger > th {
2091
+ background-color: #f2dede; }
2092
+
2093
+ .table-hover > tbody > tr > td.danger:hover,
2094
+ .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th {
2095
+ background-color: #ebcccc; }
2096
+
2097
+ .table-responsive {
2098
+ overflow-x: auto;
2099
+ min-height: 0.01%; }
2100
+ @media screen and (max-width: 767px) {
2101
+ .table-responsive {
2102
+ width: 100%;
2103
+ margin-bottom: 15px;
2104
+ overflow-y: hidden;
2105
+ -ms-overflow-style: -ms-autohiding-scrollbar;
2106
+ border: 1px solid #dddddd; }
2107
+ .table-responsive > .table {
2108
+ margin-bottom: 0; }
2109
+ .table-responsive > .table > thead > tr > th,
2110
+ .table-responsive > .table > thead > tr > td,
2111
+ .table-responsive > .table > tbody > tr > th,
2112
+ .table-responsive > .table > tbody > tr > td,
2113
+ .table-responsive > .table > tfoot > tr > th,
2114
+ .table-responsive > .table > tfoot > tr > td {
2115
+ white-space: nowrap; }
2116
+ .table-responsive > .table-bordered {
2117
+ border: 0; }
2118
+ .table-responsive > .table-bordered > thead > tr > th:first-child,
2119
+ .table-responsive > .table-bordered > thead > tr > td:first-child,
2120
+ .table-responsive > .table-bordered > tbody > tr > th:first-child,
2121
+ .table-responsive > .table-bordered > tbody > tr > td:first-child,
2122
+ .table-responsive > .table-bordered > tfoot > tr > th:first-child,
2123
+ .table-responsive > .table-bordered > tfoot > tr > td:first-child {
2124
+ border-left: 0; }
2125
+ .table-responsive > .table-bordered > thead > tr > th:last-child,
2126
+ .table-responsive > .table-bordered > thead > tr > td:last-child,
2127
+ .table-responsive > .table-bordered > tbody > tr > th:last-child,
2128
+ .table-responsive > .table-bordered > tbody > tr > td:last-child,
2129
+ .table-responsive > .table-bordered > tfoot > tr > th:last-child,
2130
+ .table-responsive > .table-bordered > tfoot > tr > td:last-child {
2131
+ border-right: 0; }
2132
+ .table-responsive > .table-bordered > tbody > tr:last-child > th,
2133
+ .table-responsive > .table-bordered > tbody > tr:last-child > td,
2134
+ .table-responsive > .table-bordered > tfoot > tr:last-child > th,
2135
+ .table-responsive > .table-bordered > tfoot > tr:last-child > td {
2136
+ border-bottom: 0; } }
2137
+
2138
+ .panel {
2139
+ margin-bottom: 20px;
2140
+ background-color: white;
2141
+ border: 1px solid transparent;
2142
+ border-radius: 4px;
2143
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
2144
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
2145
+
2146
+ .panel-body {
2147
+ padding: 15px; }
2148
+ .panel-body:before, .panel-body:after {
2149
+ content: " ";
2150
+ display: table; }
2151
+ .panel-body:after {
2152
+ clear: both; }
2153
+
2154
+ .panel-heading {
2155
+ padding: 10px 15px;
2156
+ border-bottom: 1px solid transparent;
2157
+ border-top-right-radius: 3px;
2158
+ border-top-left-radius: 3px; }
2159
+ .panel-heading > .dropdown .dropdown-toggle {
2160
+ color: inherit; }
2161
+
2162
+ .panel-title {
2163
+ margin-top: 0;
2164
+ margin-bottom: 0;
2165
+ font-size: 16px;
2166
+ color: inherit; }
2167
+ .panel-title > a,
2168
+ .panel-title > small,
2169
+ .panel-title > .small,
2170
+ .panel-title > small > a,
2171
+ .panel-title > .small > a {
2172
+ color: inherit; }
2173
+
2174
+ .panel-footer {
2175
+ padding: 10px 15px;
2176
+ background-color: whitesmoke;
2177
+ border-top: 1px solid #dddddd;
2178
+ border-bottom-right-radius: 3px;
2179
+ border-bottom-left-radius: 3px; }
2180
+
2181
+ .panel > .list-group,
2182
+ .panel > .panel-collapse > .list-group {
2183
+ margin-bottom: 0; }
2184
+ .panel > .list-group .list-group-item,
2185
+ .panel > .panel-collapse > .list-group .list-group-item {
2186
+ border-width: 1px 0;
2187
+ border-radius: 0; }
2188
+ .panel > .list-group:first-child .list-group-item:first-child,
2189
+ .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
2190
+ border-top: 0;
2191
+ border-top-right-radius: 3px;
2192
+ border-top-left-radius: 3px; }
2193
+ .panel > .list-group:last-child .list-group-item:last-child,
2194
+ .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
2195
+ border-bottom: 0;
2196
+ border-bottom-right-radius: 3px;
2197
+ border-bottom-left-radius: 3px; }
2198
+
2199
+ .panel-heading + .list-group .list-group-item:first-child {
2200
+ border-top-width: 0; }
2201
+
2202
+ .list-group + .panel-footer {
2203
+ border-top-width: 0; }
2204
+
2205
+ .panel > .table,
2206
+ .panel > .table-responsive > .table,
2207
+ .panel > .panel-collapse > .table {
2208
+ margin-bottom: 0; }
2209
+ .panel > .table caption,
2210
+ .panel > .table-responsive > .table caption,
2211
+ .panel > .panel-collapse > .table caption {
2212
+ padding-left: 15px;
2213
+ padding-right: 15px; }
2214
+ .panel > .table:first-child,
2215
+ .panel > .table-responsive:first-child > .table:first-child {
2216
+ border-top-right-radius: 3px;
2217
+ border-top-left-radius: 3px; }
2218
+ .panel > .table:first-child > thead:first-child > tr:first-child,
2219
+ .panel > .table:first-child > tbody:first-child > tr:first-child,
2220
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
2221
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
2222
+ border-top-left-radius: 3px;
2223
+ border-top-right-radius: 3px; }
2224
+ .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
2225
+ .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
2226
+ .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
2227
+ .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
2228
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
2229
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
2230
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
2231
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
2232
+ border-top-left-radius: 3px; }
2233
+ .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
2234
+ .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
2235
+ .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
2236
+ .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
2237
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
2238
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
2239
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
2240
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
2241
+ border-top-right-radius: 3px; }
2242
+ .panel > .table:last-child,
2243
+ .panel > .table-responsive:last-child > .table:last-child {
2244
+ border-bottom-right-radius: 3px;
2245
+ border-bottom-left-radius: 3px; }
2246
+ .panel > .table:last-child > tbody:last-child > tr:last-child,
2247
+ .panel > .table:last-child > tfoot:last-child > tr:last-child,
2248
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
2249
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
2250
+ border-bottom-left-radius: 3px;
2251
+ border-bottom-right-radius: 3px; }
2252
+ .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
2253
+ .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
2254
+ .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
2255
+ .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
2256
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
2257
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
2258
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
2259
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
2260
+ border-bottom-left-radius: 3px; }
2261
+ .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
2262
+ .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
2263
+ .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
2264
+ .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
2265
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
2266
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
2267
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
2268
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
2269
+ border-bottom-right-radius: 3px; }
2270
+ .panel > .panel-body + .table,
2271
+ .panel > .panel-body + .table-responsive,
2272
+ .panel > .table + .panel-body,
2273
+ .panel > .table-responsive + .panel-body {
2274
+ border-top: 1px solid #dddddd; }
2275
+ .panel > .table > tbody:first-child > tr:first-child th,
2276
+ .panel > .table > tbody:first-child > tr:first-child td {
2277
+ border-top: 0; }
2278
+ .panel > .table-bordered,
2279
+ .panel > .table-responsive > .table-bordered {
2280
+ border: 0; }
2281
+ .panel > .table-bordered > thead > tr > th:first-child,
2282
+ .panel > .table-bordered > thead > tr > td:first-child,
2283
+ .panel > .table-bordered > tbody > tr > th:first-child,
2284
+ .panel > .table-bordered > tbody > tr > td:first-child,
2285
+ .panel > .table-bordered > tfoot > tr > th:first-child,
2286
+ .panel > .table-bordered > tfoot > tr > td:first-child,
2287
+ .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
2288
+ .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
2289
+ .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
2290
+ .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
2291
+ .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
2292
+ .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
2293
+ border-left: 0; }
2294
+ .panel > .table-bordered > thead > tr > th:last-child,
2295
+ .panel > .table-bordered > thead > tr > td:last-child,
2296
+ .panel > .table-bordered > tbody > tr > th:last-child,
2297
+ .panel > .table-bordered > tbody > tr > td:last-child,
2298
+ .panel > .table-bordered > tfoot > tr > th:last-child,
2299
+ .panel > .table-bordered > tfoot > tr > td:last-child,
2300
+ .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
2301
+ .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
2302
+ .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
2303
+ .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
2304
+ .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
2305
+ .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
2306
+ border-right: 0; }
2307
+ .panel > .table-bordered > thead > tr:first-child > td,
2308
+ .panel > .table-bordered > thead > tr:first-child > th,
2309
+ .panel > .table-bordered > tbody > tr:first-child > td,
2310
+ .panel > .table-bordered > tbody > tr:first-child > th,
2311
+ .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
2312
+ .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
2313
+ .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
2314
+ .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
2315
+ border-bottom: 0; }
2316
+ .panel > .table-bordered > tbody > tr:last-child > td,
2317
+ .panel > .table-bordered > tbody > tr:last-child > th,
2318
+ .panel > .table-bordered > tfoot > tr:last-child > td,
2319
+ .panel > .table-bordered > tfoot > tr:last-child > th,
2320
+ .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
2321
+ .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
2322
+ .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
2323
+ .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
2324
+ border-bottom: 0; }
2325
+ .panel > .table-responsive {
2326
+ border: 0;
2327
+ margin-bottom: 0; }
2328
+
2329
+ .panel-group {
2330
+ margin-bottom: 20px; }
2331
+ .panel-group .panel {
2332
+ margin-bottom: 0;
2333
+ border-radius: 4px; }
2334
+ .panel-group .panel + .panel {
2335
+ margin-top: 5px; }
2336
+ .panel-group .panel-heading {
2337
+ border-bottom: 0; }
2338
+ .panel-group .panel-heading + .panel-collapse > .panel-body,
2339
+ .panel-group .panel-heading + .panel-collapse > .list-group {
2340
+ border-top: 1px solid #dddddd; }
2341
+ .panel-group .panel-footer {
2342
+ border-top: 0; }
2343
+ .panel-group .panel-footer + .panel-collapse .panel-body {
2344
+ border-bottom: 1px solid #dddddd; }
2345
+
2346
+ .panel-default {
2347
+ border-color: #dddddd; }
2348
+ .panel-default > .panel-heading {
2349
+ color: #333333;
2350
+ background-color: whitesmoke;
2351
+ border-color: #dddddd; }
2352
+ .panel-default > .panel-heading + .panel-collapse > .panel-body {
2353
+ border-top-color: #dddddd; }
2354
+ .panel-default > .panel-heading .badge {
2355
+ color: whitesmoke;
2356
+ background-color: #333333; }
2357
+ .panel-default > .panel-footer + .panel-collapse > .panel-body {
2358
+ border-bottom-color: #dddddd; }
2359
+
2360
+ .panel-primary {
2361
+ border-color: #337ab7; }
2362
+ .panel-primary > .panel-heading {
2363
+ color: white;
2364
+ background-color: #337ab7;
2365
+ border-color: #337ab7; }
2366
+ .panel-primary > .panel-heading + .panel-collapse > .panel-body {
2367
+ border-top-color: #337ab7; }
2368
+ .panel-primary > .panel-heading .badge {
2369
+ color: #337ab7;
2370
+ background-color: white; }
2371
+ .panel-primary > .panel-footer + .panel-collapse > .panel-body {
2372
+ border-bottom-color: #337ab7; }
2373
+
2374
+ .panel-success {
2375
+ border-color: #d6e9c6; }
2376
+ .panel-success > .panel-heading {
2377
+ color: #3c763d;
2378
+ background-color: #dff0d8;
2379
+ border-color: #d6e9c6; }
2380
+ .panel-success > .panel-heading + .panel-collapse > .panel-body {
2381
+ border-top-color: #d6e9c6; }
2382
+ .panel-success > .panel-heading .badge {
2383
+ color: #dff0d8;
2384
+ background-color: #3c763d; }
2385
+ .panel-success > .panel-footer + .panel-collapse > .panel-body {
2386
+ border-bottom-color: #d6e9c6; }
2387
+
2388
+ .panel-info {
2389
+ border-color: #bce8f1; }
2390
+ .panel-info > .panel-heading {
2391
+ color: #31708f;
2392
+ background-color: #d9edf7;
2393
+ border-color: #bce8f1; }
2394
+ .panel-info > .panel-heading + .panel-collapse > .panel-body {
2395
+ border-top-color: #bce8f1; }
2396
+ .panel-info > .panel-heading .badge {
2397
+ color: #d9edf7;
2398
+ background-color: #31708f; }
2399
+ .panel-info > .panel-footer + .panel-collapse > .panel-body {
2400
+ border-bottom-color: #bce8f1; }
2401
+
2402
+ .panel-warning {
2403
+ border-color: #faebcc; }
2404
+ .panel-warning > .panel-heading {
2405
+ color: #8a6d3b;
2406
+ background-color: #fcf8e3;
2407
+ border-color: #faebcc; }
2408
+ .panel-warning > .panel-heading + .panel-collapse > .panel-body {
2409
+ border-top-color: #faebcc; }
2410
+ .panel-warning > .panel-heading .badge {
2411
+ color: #fcf8e3;
2412
+ background-color: #8a6d3b; }
2413
+ .panel-warning > .panel-footer + .panel-collapse > .panel-body {
2414
+ border-bottom-color: #faebcc; }
2415
+
2416
+ .panel-danger {
2417
+ border-color: #ebccd1; }
2418
+ .panel-danger > .panel-heading {
2419
+ color: #a94442;
2420
+ background-color: #f2dede;
2421
+ border-color: #ebccd1; }
2422
+ .panel-danger > .panel-heading + .panel-collapse > .panel-body {
2423
+ border-top-color: #ebccd1; }
2424
+ .panel-danger > .panel-heading .badge {
2425
+ color: #f2dede;
2426
+ background-color: #a94442; }
2427
+ .panel-danger > .panel-footer + .panel-collapse > .panel-body {
2428
+ border-bottom-color: #ebccd1; }
2429
+
2430
+ .list-group {
2431
+ margin-bottom: 20px;
2432
+ padding-left: 0; }
2433
+
2434
+ .list-group-item {
2435
+ position: relative;
2436
+ display: block;
2437
+ padding: 10px 15px;
2438
+ margin-bottom: -1px;
2439
+ background-color: white;
2440
+ border: 1px solid #dddddd; }
2441
+ .list-group-item:first-child {
2442
+ border-top-right-radius: 4px;
2443
+ border-top-left-radius: 4px; }
2444
+ .list-group-item:last-child {
2445
+ margin-bottom: 0;
2446
+ border-bottom-right-radius: 4px;
2447
+ border-bottom-left-radius: 4px; }
2448
+
2449
+ a.list-group-item {
2450
+ color: #555555; }
2451
+ a.list-group-item .list-group-item-heading {
2452
+ color: #333333; }
2453
+ a.list-group-item:hover, a.list-group-item:focus {
2454
+ text-decoration: none;
2455
+ color: #555555;
2456
+ background-color: whitesmoke; }
2457
+
2458
+ .list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus {
2459
+ background-color: #eeeeee;
2460
+ color: #777777;
2461
+ cursor: not-allowed; }
2462
+ .list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading {
2463
+ color: inherit; }
2464
+ .list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text {
2465
+ color: #777777; }
2466
+ .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
2467
+ z-index: 2;
2468
+ color: white;
2469
+ background-color: #337ab7;
2470
+ border-color: #337ab7; }
2471
+ .list-group-item.active .list-group-item-heading,
2472
+ .list-group-item.active .list-group-item-heading > small,
2473
+ .list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading,
2474
+ .list-group-item.active:hover .list-group-item-heading > small,
2475
+ .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading,
2476
+ .list-group-item.active:focus .list-group-item-heading > small,
2477
+ .list-group-item.active:focus .list-group-item-heading > .small {
2478
+ color: inherit; }
2479
+ .list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text {
2480
+ color: #c7ddef; }
2481
+
2482
+ .list-group-item-success {
2483
+ color: #3c763d;
2484
+ background-color: #dff0d8; }
2485
+
2486
+ a.list-group-item-success {
2487
+ color: #3c763d; }
2488
+ a.list-group-item-success .list-group-item-heading {
2489
+ color: inherit; }
2490
+ a.list-group-item-success:hover, a.list-group-item-success:focus {
2491
+ color: #3c763d;
2492
+ background-color: #d0e9c6; }
2493
+ a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus {
2494
+ color: #fff;
2495
+ background-color: #3c763d;
2496
+ border-color: #3c763d; }
2497
+
2498
+ .list-group-item-info {
2499
+ color: #31708f;
2500
+ background-color: #d9edf7; }
2501
+
2502
+ a.list-group-item-info {
2503
+ color: #31708f; }
2504
+ a.list-group-item-info .list-group-item-heading {
2505
+ color: inherit; }
2506
+ a.list-group-item-info:hover, a.list-group-item-info:focus {
2507
+ color: #31708f;
2508
+ background-color: #c4e3f3; }
2509
+ a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus {
2510
+ color: #fff;
2511
+ background-color: #31708f;
2512
+ border-color: #31708f; }
2513
+
2514
+ .list-group-item-warning {
2515
+ color: #8a6d3b;
2516
+ background-color: #fcf8e3; }
2517
+
2518
+ a.list-group-item-warning {
2519
+ color: #8a6d3b; }
2520
+ a.list-group-item-warning .list-group-item-heading {
2521
+ color: inherit; }
2522
+ a.list-group-item-warning:hover, a.list-group-item-warning:focus {
2523
+ color: #8a6d3b;
2524
+ background-color: #faf2cc; }
2525
+ a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus {
2526
+ color: #fff;
2527
+ background-color: #8a6d3b;
2528
+ border-color: #8a6d3b; }
2529
+
2530
+ .list-group-item-danger {
2531
+ color: #a94442;
2532
+ background-color: #f2dede; }
2533
+
2534
+ a.list-group-item-danger {
2535
+ color: #a94442; }
2536
+ a.list-group-item-danger .list-group-item-heading {
2537
+ color: inherit; }
2538
+ a.list-group-item-danger:hover, a.list-group-item-danger:focus {
2539
+ color: #a94442;
2540
+ background-color: #ebcccc; }
2541
+ a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus {
2542
+ color: #fff;
2543
+ background-color: #a94442;
2544
+ border-color: #a94442; }
2545
+
2546
+ .list-group-item-heading {
2547
+ margin-top: 0;
2548
+ margin-bottom: 5px; }
2549
+
2550
+ .list-group-item-text {
2551
+ margin-bottom: 0;
2552
+ line-height: 1.3; }
2553
+
2554
+ .breadcrumb {
2555
+ padding: 8px 15px;
2556
+ margin-bottom: 20px;
2557
+ list-style: none;
2558
+ background-color: whitesmoke;
2559
+ border-radius: 4px; }
2560
+ .breadcrumb > li {
167
2561
  display: inline-block; }
168
- div.tabs ul li a {
169
- display: block;
170
- font-weight: 700;
171
- font-size: 12px;
172
- line-height: 30px;
173
- color: #999;
174
- text-decoration: none;
175
- margin: 0 5px -1px 0;
176
- padding: 0 12px 0;
177
- border: 1px solid #e8e8e8;
178
- -webkit-border-radius: 3px 3px 0 0;
179
- -webkit-font-smoothing: antialiased; }
180
- div.tabs ul li a.active {
181
- color: #555;
182
- background: #fff;
183
- border-bottom: 1px solid #fff; }
2562
+ .breadcrumb > li + li:before {
2563
+ content: "/\00a0";
2564
+ padding: 0 5px;
2565
+ color: #cccccc; }
2566
+ .breadcrumb > .active {
2567
+ color: #777777; }
2568
+
2569
+ .flash {
2570
+ margin-bottom: 15px; }
2571
+
2572
+ .panel-heading .btn.btn-sm.right,
2573
+ .panel-heading form.right {
2574
+ margin-top: -5px; }
2575
+
2576
+ .panel-heading p.right {
2577
+ margin-top: 0; }
2578
+
2579
+ .panel-heading form.right input[type=text],
2580
+ .panel-heading form.right select {
2581
+ width: 150px; }
2582
+
2583
+ .panel-body :first-child {
2584
+ margin-top: 0; }
2585
+
2586
+ .button-inv {
2587
+ background: none;
2588
+ border: 0; }
2589
+
2590
+ .breadcrumb {
2591
+ background-color: #fff;
2592
+ border: 1px solid #dddddd; }
2593
+
2594
+ .header .btn.right {
2595
+ margin-top: 5px;
2596
+ margin-right: 15px; }
2597
+
2598
+ .feature-state {
2599
+ width: 40px; }
2600
+
2601
+ .feature-enabled-gates {
2602
+ width: 380px; }