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.
- checksums.yaml +4 -4
- data/Gemfile +12 -11
- data/README.md +5 -7
- data/examples/basic.ru +27 -26
- data/flipper-ui.gemspec +5 -3
- data/lib/flipper-ui.rb +1 -0
- data/lib/flipper/ui.rb +11 -2
- data/lib/flipper/ui/action.rb +45 -4
- data/lib/flipper/ui/actions/actors_gate.rb +48 -0
- data/lib/flipper/ui/actions/add_feature.rb +20 -0
- data/lib/flipper/ui/actions/boolean_gate.rb +26 -0
- data/lib/flipper/ui/actions/feature.rb +32 -0
- data/lib/flipper/ui/actions/features.rb +23 -3
- data/lib/flipper/ui/actions/file.rb +1 -1
- data/lib/flipper/ui/actions/gate.rb +11 -117
- data/lib/flipper/ui/actions/groups_gate.rb +43 -0
- data/lib/flipper/ui/actions/{index.rb → home.rb} +3 -3
- data/lib/flipper/ui/actions/percentage_of_actors_gate.rb +27 -0
- data/lib/flipper/ui/actions/percentage_of_time_gate.rb +27 -0
- data/lib/flipper/ui/actor.rb +13 -0
- data/lib/flipper/ui/assets/javascripts/application.coffee +0 -305
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-compass.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-mincer.scss +19 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/_bootstrap.scss +50 -0
- data/lib/flipper/ui/assets/stylesheets/application.scss +33 -216
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_alerts.scss +73 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_badges.scss +68 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +160 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +269 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +69 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdowns.scss +214 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +578 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_glyphicons.scss +305 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +84 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +50 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_labels.scss +66 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +124 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +61 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +39 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_modals.scss +150 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +662 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navs.scss +242 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_normalize.scss +427 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pager.scss +54 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +88 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_panels.scss +265 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_popovers.scss +135 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +107 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-utilities.scss +177 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_scaffolding.scss +162 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +234 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_theme.scss +273 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +102 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +298 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +55 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +866 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/lib/flipper/ui/assets/stylesheets/primer/.scss-lint.yml +446 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_alerts.scss +106 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_avatars.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_base.scss +40 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_blankslate.scss +96 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_buttons.scss +404 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_counter.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_filter-list.scss +68 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_flex-table.scss +20 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_forms.scss +756 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_layout.scss +69 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_menu.scss +113 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_mixins.scss +53 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_normalize.scss +425 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_states.scss +32 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_tabnav.scss +65 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_tooltips.scss +255 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_truncate.scss +27 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_type.scss +92 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_utility.scss +73 -0
- data/lib/flipper/ui/assets/stylesheets/primer/_variables.scss +34 -0
- data/lib/flipper/ui/assets/stylesheets/primer/primer.scss +39 -0
- data/lib/flipper/ui/decorators/feature.rb +37 -4
- data/lib/flipper/ui/middleware.rb +12 -3
- data/lib/flipper/ui/public/css/application.css +2563 -144
- data/lib/flipper/ui/public/css/primer.css +1 -0
- data/lib/flipper/ui/public/css/primer/primer.css +1933 -0
- data/lib/flipper/ui/public/css/scss/primer.css +1933 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/flipper/ui/public/js/application.js +0 -539
- data/lib/flipper/ui/public/js/bootstrap-sprockets.js +12 -0
- data/lib/flipper/ui/public/js/bootstrap.js +2317 -0
- data/lib/flipper/ui/public/js/bootstrap.min.js +7 -0
- data/lib/flipper/ui/public/js/bootstrap/affix.js +162 -0
- data/lib/flipper/ui/public/js/bootstrap/alert.js +94 -0
- data/lib/flipper/ui/public/js/bootstrap/button.js +116 -0
- data/lib/flipper/ui/public/js/bootstrap/carousel.js +237 -0
- data/lib/flipper/ui/public/js/bootstrap/collapse.js +211 -0
- data/lib/flipper/ui/public/js/bootstrap/dropdown.js +161 -0
- data/lib/flipper/ui/public/js/bootstrap/modal.js +339 -0
- data/lib/flipper/ui/public/js/bootstrap/popover.js +108 -0
- data/lib/flipper/ui/public/js/bootstrap/scrollspy.js +172 -0
- data/lib/flipper/ui/public/js/bootstrap/tab.js +153 -0
- data/lib/flipper/ui/public/js/bootstrap/tooltip.js +476 -0
- data/lib/flipper/ui/public/js/bootstrap/transition.js +59 -0
- data/lib/flipper/ui/public/octicons/LICENSE.txt +9 -0
- data/lib/flipper/ui/public/octicons/README.md +1 -0
- data/lib/flipper/ui/public/octicons/octicons-local.ttf +0 -0
- data/lib/flipper/ui/public/octicons/octicons.css +236 -0
- data/lib/flipper/ui/public/octicons/octicons.eot +0 -0
- data/lib/flipper/ui/public/octicons/octicons.less +235 -0
- data/lib/flipper/ui/public/octicons/octicons.svg +200 -0
- data/lib/flipper/ui/public/octicons/octicons.ttf +0 -0
- data/lib/flipper/ui/public/octicons/octicons.woff +0 -0
- data/lib/flipper/ui/public/octicons/sprockets-octicons.scss +232 -0
- data/lib/flipper/ui/util.rb +4 -0
- data/lib/flipper/ui/version.rb +1 -1
- data/lib/flipper/ui/views/add_actor.erb +22 -0
- data/lib/flipper/ui/views/add_feature.erb +18 -0
- data/lib/flipper/ui/views/add_group.erb +31 -0
- data/lib/flipper/ui/views/feature.erb +209 -0
- data/lib/flipper/ui/views/features.erb +46 -0
- data/lib/flipper/ui/views/layout.erb +31 -149
- data/script/release +15 -0
- data/spec/flipper/ui/actions/actors_gate_spec.rb +68 -0
- data/spec/flipper/ui/actions/add_feature_spec.rb +17 -0
- data/spec/flipper/ui/actions/boolean_gate_spec.rb +41 -0
- data/spec/flipper/ui/actions/feature_spec.rb +59 -0
- data/spec/flipper/ui/actions/features_spec.rb +37 -0
- data/spec/flipper/ui/actions/file_spec.rb +43 -0
- data/spec/flipper/ui/actions/gate_spec.rb +24 -0
- data/spec/flipper/ui/actions/groups_gate_spec.rb +80 -0
- data/spec/flipper/ui/actions/home_spec.rb +16 -0
- data/spec/flipper/ui/actions/percentage_of_actors_gate_spec.rb +40 -0
- data/spec/flipper/ui/actions/percentage_of_time_gate_spec.rb +39 -0
- data/spec/flipper/ui/decorators/feature_spec.rb +38 -1
- data/spec/flipper/ui/decorators/gate_spec.rb +1 -1
- data/spec/flipper/ui_spec.rb +18 -441
- data/spec/helper.rb +22 -7
- metadata +199 -52
- data/examples/flipper.html +0 -14
- data/examples/flipper.png +0 -0
- data/lib/flipper/ui/assets/javascripts/spine/ajax.coffee +0 -223
- data/lib/flipper/ui/assets/javascripts/spine/list.coffee +0 -43
- data/lib/flipper/ui/assets/javascripts/spine/local.coffee +0 -16
- data/lib/flipper/ui/assets/javascripts/spine/manager.coffee +0 -83
- data/lib/flipper/ui/assets/javascripts/spine/relation.coffee +0 -148
- data/lib/flipper/ui/assets/javascripts/spine/route.coffee +0 -146
- data/lib/flipper/ui/assets/javascripts/spine/spine.coffee +0 -542
- data/lib/flipper/ui/assets/javascripts/spine/version +0 -1
- data/lib/flipper/ui/public/css/images/animated-overlay.gif +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_222222_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
- data/lib/flipper/ui/public/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/flipper/ui/public/css/jquery-ui-1.10.3.slider.min.css +0 -5
- data/lib/flipper/ui/public/js/handlebars.js +0 -1992
- data/lib/flipper/ui/public/js/jquery-ui-1.10.3.slider.min.js +0 -6
- data/lib/flipper/ui/public/js/jquery.js +0 -9555
- data/lib/flipper/ui/public/js/jquery.min.js +0 -4
- data/lib/flipper/ui/public/js/jquery.min.map +0 -1
- data/lib/flipper/ui/public/js/spine/ajax.js +0 -320
- data/lib/flipper/ui/public/js/spine/list.js +0 -72
- data/lib/flipper/ui/public/js/spine/local.js +0 -29
- data/lib/flipper/ui/public/js/spine/manager.js +0 -157
- data/lib/flipper/ui/public/js/spine/relation.js +0 -260
- data/lib/flipper/ui/public/js/spine/route.js +0 -223
- data/lib/flipper/ui/public/js/spine/spine.js +0 -927
- data/lib/flipper/ui/views/index.erb +0 -9
@@ -0,0 +1,19 @@
|
|
1
|
+
// Mincer asset helper functions
|
2
|
+
//
|
3
|
+
// This must be imported into a .css.ejs.scss file.
|
4
|
+
// Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.
|
5
|
+
|
6
|
+
|
7
|
+
@function twbs-font-path($path) {
|
8
|
+
// do something like following
|
9
|
+
// from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
|
10
|
+
// from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
|
11
|
+
// or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
|
12
|
+
@return "<%- asset_path('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
|
13
|
+
}
|
14
|
+
|
15
|
+
@function twbs-image-path($file) {
|
16
|
+
@return "<%- asset_path('#{$file}') %>";
|
17
|
+
}
|
18
|
+
|
19
|
+
$bootstrap-sass-asset-helper: true;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Core variables and mixins
|
2
|
+
@import "bootstrap/variables";
|
3
|
+
@import "bootstrap/mixins";
|
4
|
+
|
5
|
+
// Reset and dependencies
|
6
|
+
@import "bootstrap/normalize";
|
7
|
+
@import "bootstrap/print";
|
8
|
+
@import "bootstrap/glyphicons";
|
9
|
+
|
10
|
+
// Core CSS
|
11
|
+
@import "bootstrap/scaffolding";
|
12
|
+
@import "bootstrap/type";
|
13
|
+
@import "bootstrap/code";
|
14
|
+
@import "bootstrap/grid";
|
15
|
+
@import "bootstrap/tables";
|
16
|
+
@import "bootstrap/forms";
|
17
|
+
@import "bootstrap/buttons";
|
18
|
+
|
19
|
+
// Components
|
20
|
+
@import "bootstrap/component-animations";
|
21
|
+
@import "bootstrap/dropdowns";
|
22
|
+
@import "bootstrap/button-groups";
|
23
|
+
@import "bootstrap/input-groups";
|
24
|
+
@import "bootstrap/navs";
|
25
|
+
@import "bootstrap/navbar";
|
26
|
+
@import "bootstrap/breadcrumbs";
|
27
|
+
@import "bootstrap/pagination";
|
28
|
+
@import "bootstrap/pager";
|
29
|
+
@import "bootstrap/labels";
|
30
|
+
@import "bootstrap/badges";
|
31
|
+
@import "bootstrap/jumbotron";
|
32
|
+
@import "bootstrap/thumbnails";
|
33
|
+
@import "bootstrap/alerts";
|
34
|
+
@import "bootstrap/progress-bars";
|
35
|
+
@import "bootstrap/media";
|
36
|
+
@import "bootstrap/list-group";
|
37
|
+
@import "bootstrap/panels";
|
38
|
+
@import "bootstrap/responsive-embed";
|
39
|
+
@import "bootstrap/wells";
|
40
|
+
@import "bootstrap/close";
|
41
|
+
|
42
|
+
// Components w/ JavaScript
|
43
|
+
@import "bootstrap/modals";
|
44
|
+
@import "bootstrap/tooltip";
|
45
|
+
@import "bootstrap/popovers";
|
46
|
+
@import "bootstrap/carousel";
|
47
|
+
|
48
|
+
// Utility classes
|
49
|
+
@import "bootstrap/utilities";
|
50
|
+
@import "bootstrap/responsive-utilities";
|
@@ -1,237 +1,54 @@
|
|
1
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
2
|
-
v2.0 | 20110126
|
3
|
-
License: none (public domain)
|
4
|
-
*/
|
5
|
-
|
6
|
-
html, body, div, span, applet, object, iframe,
|
7
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
-
a, abbr, acronym, address, big, cite, code,
|
9
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
10
|
-
small, strike, strong, sub, sup, tt, var,
|
11
|
-
b, u, i, center,
|
12
|
-
dl, dt, dd, ol, ul, li,
|
13
|
-
fieldset, form, label, legend,
|
14
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
15
|
-
article, aside, canvas, details, embed,
|
16
|
-
figure, figcaption, footer, header, hgroup,
|
17
|
-
menu, nav, output, ruby, section, summary,
|
18
|
-
time, mark, audio, video {
|
19
|
-
margin: 0;
|
20
|
-
padding: 0;
|
21
|
-
border: 0;
|
22
|
-
font-size: 100%;
|
23
|
-
font: inherit;
|
24
|
-
vertical-align: baseline;
|
25
|
-
}
|
26
|
-
/* HTML5 display-role reset for older browsers */
|
27
|
-
article, aside, details, figcaption, figure,
|
28
|
-
footer, header, hgroup, menu, nav, section {
|
29
|
-
display: block;
|
30
|
-
}
|
31
|
-
body {
|
32
|
-
line-height: 1;
|
33
|
-
}
|
34
|
-
ol, ul {
|
35
|
-
list-style: none;
|
36
|
-
}
|
37
|
-
blockquote, q {
|
38
|
-
quotes: none;
|
39
|
-
}
|
40
|
-
blockquote:before, blockquote:after,
|
41
|
-
q:before, q:after {
|
42
|
-
content: '';
|
43
|
-
content: none;
|
44
|
-
}
|
45
|
-
table {
|
46
|
-
border-collapse: collapse;
|
47
|
-
border-spacing: 0;
|
48
|
-
}
|
49
|
-
/* end of resets */
|
50
|
-
|
51
1
|
body {
|
52
|
-
|
53
|
-
font-size:13px;
|
54
|
-
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
55
|
-
}
|
56
|
-
|
57
|
-
#header, #content {
|
58
|
-
width: 750px;
|
59
|
-
margin: 0 auto;
|
2
|
+
padding-top: 20px;
|
60
3
|
}
|
61
4
|
|
62
|
-
|
63
|
-
padding: 29px 0 22px;
|
64
|
-
}
|
65
|
-
|
66
|
-
div#no_features {
|
67
|
-
display: none;
|
68
|
-
h1 {
|
69
|
-
font-size: 2em;
|
70
|
-
padding-bottom: 15px;
|
71
|
-
}
|
72
|
-
p {
|
73
|
-
font-size: 1.25em;
|
74
|
-
padding-bottom: 5px;
|
75
|
-
}
|
76
|
-
}
|
5
|
+
@import "primer/primer";
|
77
6
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
padding:12px 10px 12px 17px;
|
85
|
-
}
|
7
|
+
@import "bootstrap/variables";
|
8
|
+
@import "bootstrap/mixins";
|
9
|
+
@import "bootstrap/tables";
|
10
|
+
@import "bootstrap/panels";
|
11
|
+
@import "bootstrap/list-group";
|
12
|
+
@import "bootstrap/breadcrumbs";
|
86
13
|
|
87
|
-
|
88
|
-
|
89
|
-
width: 575px;
|
90
|
-
font-size: 17px;
|
91
|
-
line-height: 17px;
|
92
|
-
font-weight: bold;
|
93
|
-
margin: 0;
|
94
|
-
padding: 5px 0 0;
|
14
|
+
.flash {
|
15
|
+
margin-bottom:15px;
|
95
16
|
}
|
96
17
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
width: 12px;
|
101
|
-
height: 12px;
|
102
|
-
margin: 2px 10px 0 0;
|
103
|
-
background: #333;
|
104
|
-
border: 1px solid #333;
|
105
|
-
-webkit-border-radius: 2px;
|
18
|
+
.panel-heading .btn.btn-sm.right,
|
19
|
+
.panel-heading form.right {
|
20
|
+
margin-top:-5px;
|
106
21
|
}
|
107
|
-
|
108
|
-
|
109
|
-
background:#396;
|
110
|
-
border-color:#396;
|
22
|
+
.panel-heading p.right {
|
23
|
+
margin-top:0;
|
111
24
|
}
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
border-color:#fc0;
|
25
|
+
.panel-heading form.right input[type=text],
|
26
|
+
.panel-heading form.right select {
|
27
|
+
width:150px;
|
116
28
|
}
|
117
29
|
|
118
|
-
|
119
|
-
|
30
|
+
.panel-body :first-child {
|
31
|
+
margin-top:0;
|
120
32
|
}
|
121
33
|
|
122
|
-
|
123
|
-
|
34
|
+
.button-inv {
|
35
|
+
background:none;
|
36
|
+
border:0;
|
124
37
|
}
|
125
38
|
|
126
|
-
|
127
|
-
background
|
128
|
-
border
|
39
|
+
.breadcrumb {
|
40
|
+
background-color: #fff;
|
41
|
+
border: 1px solid #ddd;
|
129
42
|
}
|
130
43
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
color: #888;
|
44
|
+
.header .btn.right {
|
45
|
+
margin-top:5px;
|
46
|
+
margin-right:15px;
|
135
47
|
}
|
136
48
|
|
137
|
-
|
138
|
-
|
139
|
-
display:none;
|
140
|
-
}
|
141
|
-
|
142
|
-
&.settings {
|
143
|
-
.show {
|
144
|
-
display:none;
|
145
|
-
}
|
146
|
-
|
147
|
-
.edit {
|
148
|
-
display: block;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
.stack {
|
153
|
-
& > div {
|
154
|
-
display:none;
|
155
|
-
|
156
|
-
&.active {
|
157
|
-
display: block;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
}
|
161
|
-
|
162
|
-
li.member
|
163
|
-
{
|
164
|
-
line-height: 21px;
|
165
|
-
padding: 2px;
|
166
|
-
font-weight: bold;
|
167
|
-
|
168
|
-
&:hover
|
169
|
-
{
|
170
|
-
background: #f7f7f7;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
li.member a
|
175
|
-
{
|
176
|
-
margin-right: 6px;
|
177
|
-
cursor: pointer;
|
178
|
-
text-decoration: none;
|
179
|
-
}
|
180
|
-
|
181
|
-
div.actions {
|
182
|
-
float:left;
|
183
|
-
width:148px;
|
184
|
-
font-size: 12px;
|
185
|
-
}
|
186
|
-
|
187
|
-
div.actions a, button {
|
188
|
-
float:right;
|
189
|
-
display: block;
|
190
|
-
background: #f8f8f8;
|
191
|
-
border: 1px solid #e8e8e8;
|
192
|
-
-webkit-border-radius: 2px;
|
193
|
-
margin:0 2px 0 0;
|
194
|
-
padding: 7px 13px;
|
195
|
-
color: #888;
|
196
|
-
text-decoration: none;
|
197
|
-
font-weight: bold;
|
198
|
-
line-height:12px;
|
199
|
-
cursor: pointer;
|
200
|
-
}
|
201
|
-
|
202
|
-
div.actions a:hover, button:hover {
|
203
|
-
background: #dfdfdf;
|
204
|
-
border-color: #d7d7d7;
|
205
|
-
}
|
49
|
+
.feature-state {
|
50
|
+
width:40px;
|
206
51
|
}
|
207
|
-
|
208
|
-
|
209
|
-
clear:both;
|
210
|
-
margin:0 -10px 0 -17px;
|
211
|
-
padding:10px 0 0 17px;
|
212
|
-
border-bottom:1px solid #e8e8e8;
|
213
|
-
|
214
|
-
li {
|
215
|
-
display:inline-block;
|
216
|
-
|
217
|
-
a {
|
218
|
-
display: block;
|
219
|
-
font-weight:700;
|
220
|
-
font-size:12px;
|
221
|
-
line-height: 30px;
|
222
|
-
color:#999;
|
223
|
-
text-decoration: none;
|
224
|
-
margin:0 5px -1px 0;
|
225
|
-
padding:0 12px 0;
|
226
|
-
border:1px solid #e8e8e8;
|
227
|
-
-webkit-border-radius:3px 3px 0 0;
|
228
|
-
-webkit-font-smoothing: antialiased;
|
229
|
-
|
230
|
-
&.active {
|
231
|
-
color:#555;
|
232
|
-
background:#fff;
|
233
|
-
border-bottom:1px solid #fff;
|
234
|
-
}
|
235
|
-
}
|
236
|
-
}
|
52
|
+
.feature-enabled-gates {
|
53
|
+
width:380px;
|
237
54
|
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
//
|
2
|
+
// Alerts
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.alert {
|
10
|
+
padding: $alert-padding;
|
11
|
+
margin-bottom: $line-height-computed;
|
12
|
+
border: 1px solid transparent;
|
13
|
+
border-radius: $alert-border-radius;
|
14
|
+
|
15
|
+
// Headings for larger alerts
|
16
|
+
h4 {
|
17
|
+
margin-top: 0;
|
18
|
+
// Specified for the h4 to prevent conflicts of changing $headings-color
|
19
|
+
color: inherit;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Provide class for links that match alerts
|
23
|
+
.alert-link {
|
24
|
+
font-weight: $alert-link-font-weight;
|
25
|
+
}
|
26
|
+
|
27
|
+
// Improve alignment and spacing of inner content
|
28
|
+
> p,
|
29
|
+
> ul {
|
30
|
+
margin-bottom: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
> p + p {
|
34
|
+
margin-top: 5px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
// Dismissible alerts
|
39
|
+
//
|
40
|
+
// Expand the right padding and account for the close button's positioning.
|
41
|
+
|
42
|
+
.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
|
43
|
+
.alert-dismissible {
|
44
|
+
padding-right: ($alert-padding + 20);
|
45
|
+
|
46
|
+
// Adjust close link position
|
47
|
+
.close {
|
48
|
+
position: relative;
|
49
|
+
top: -2px;
|
50
|
+
right: -21px;
|
51
|
+
color: inherit;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// Alternate styles
|
56
|
+
//
|
57
|
+
// Generate contextual modifier classes for colorizing the alert.
|
58
|
+
|
59
|
+
.alert-success {
|
60
|
+
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
61
|
+
}
|
62
|
+
|
63
|
+
.alert-info {
|
64
|
+
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
65
|
+
}
|
66
|
+
|
67
|
+
.alert-warning {
|
68
|
+
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
|
69
|
+
}
|
70
|
+
|
71
|
+
.alert-danger {
|
72
|
+
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
73
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
//
|
2
|
+
// Badges
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.badge {
|
8
|
+
display: inline-block;
|
9
|
+
min-width: 10px;
|
10
|
+
padding: 3px 7px;
|
11
|
+
font-size: $font-size-small;
|
12
|
+
font-weight: $badge-font-weight;
|
13
|
+
color: $badge-color;
|
14
|
+
line-height: $badge-line-height;
|
15
|
+
vertical-align: baseline;
|
16
|
+
white-space: nowrap;
|
17
|
+
text-align: center;
|
18
|
+
background-color: $badge-bg;
|
19
|
+
border-radius: $badge-border-radius;
|
20
|
+
|
21
|
+
// Empty badges collapse automatically (not available in IE8)
|
22
|
+
&:empty {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Quick fix for badges in buttons
|
27
|
+
.btn & {
|
28
|
+
position: relative;
|
29
|
+
top: -1px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.btn-xs &,
|
33
|
+
.btn-group-xs > .btn & {
|
34
|
+
top: 0;
|
35
|
+
padding: 1px 5px;
|
36
|
+
}
|
37
|
+
|
38
|
+
// [converter] extracted a& to a.badge
|
39
|
+
|
40
|
+
// Account for badges in navs
|
41
|
+
.list-group-item.active > &,
|
42
|
+
.nav-pills > .active > a > & {
|
43
|
+
color: $badge-active-color;
|
44
|
+
background-color: $badge-active-bg;
|
45
|
+
}
|
46
|
+
|
47
|
+
.list-group-item > & {
|
48
|
+
float: right;
|
49
|
+
}
|
50
|
+
|
51
|
+
.list-group-item > & + & {
|
52
|
+
margin-right: 5px;
|
53
|
+
}
|
54
|
+
|
55
|
+
.nav-pills > li > a > & {
|
56
|
+
margin-left: 3px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
// Hover state, but only for links
|
61
|
+
a.badge {
|
62
|
+
&:hover,
|
63
|
+
&:focus {
|
64
|
+
color: $badge-link-hover-color;
|
65
|
+
text-decoration: none;
|
66
|
+
cursor: pointer;
|
67
|
+
}
|
68
|
+
}
|