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,446 @@
|
|
1
|
+
# This is the lint file for .scss files. It uses https://github.com/causes/scss-lint
|
2
|
+
# to search through .scss files and point out errors.
|
3
|
+
# You can view these errors in your editor.
|
4
|
+
#
|
5
|
+
# Here's a link to all the default configurations
|
6
|
+
# https://github.com/causes/scss-lint/blob/master/config/default.yml
|
7
|
+
# below is our settings.
|
8
|
+
|
9
|
+
linters:
|
10
|
+
BangFormat:
|
11
|
+
enabled: true
|
12
|
+
space_before_bang: true
|
13
|
+
space_after_bang: false
|
14
|
+
|
15
|
+
BorderZero:
|
16
|
+
enabled: true
|
17
|
+
convention: zero # or `none`
|
18
|
+
|
19
|
+
ColorKeyword:
|
20
|
+
enabled: true
|
21
|
+
|
22
|
+
ColorVariable:
|
23
|
+
enabled: false
|
24
|
+
|
25
|
+
Comment:
|
26
|
+
enabled: false
|
27
|
+
|
28
|
+
DebugStatement:
|
29
|
+
enabled: true
|
30
|
+
|
31
|
+
DeclarationOrder:
|
32
|
+
enabled: true
|
33
|
+
|
34
|
+
DuplicateProperty:
|
35
|
+
enabled: true
|
36
|
+
|
37
|
+
ElsePlacement:
|
38
|
+
enabled: true
|
39
|
+
style: same_line # or 'new_line'
|
40
|
+
|
41
|
+
EmptyLineBetweenBlocks:
|
42
|
+
enabled: true
|
43
|
+
ignore_single_line_blocks: true
|
44
|
+
|
45
|
+
EmptyRule:
|
46
|
+
enabled: false
|
47
|
+
|
48
|
+
FinalNewline:
|
49
|
+
enabled: true
|
50
|
+
present: true
|
51
|
+
|
52
|
+
HexLength:
|
53
|
+
enabled: true
|
54
|
+
style: short # or 'long'
|
55
|
+
|
56
|
+
HexNotation:
|
57
|
+
enabled: true
|
58
|
+
style: lowercase # or 'uppercase'
|
59
|
+
|
60
|
+
HexValidation:
|
61
|
+
enabled: true
|
62
|
+
|
63
|
+
IdSelector:
|
64
|
+
enabled: true
|
65
|
+
|
66
|
+
ImportantRule:
|
67
|
+
enabled: true
|
68
|
+
|
69
|
+
ImportPath:
|
70
|
+
enabled: true
|
71
|
+
leading_underscore: false
|
72
|
+
filename_extension: false
|
73
|
+
|
74
|
+
Indentation:
|
75
|
+
enabled: true
|
76
|
+
allow_non_nested_indentation: false
|
77
|
+
character: space # or 'tab'
|
78
|
+
width: 2
|
79
|
+
|
80
|
+
LeadingZero:
|
81
|
+
enabled: true
|
82
|
+
style: include_zero
|
83
|
+
|
84
|
+
MergeableSelector:
|
85
|
+
enabled: true
|
86
|
+
force_nesting: true
|
87
|
+
|
88
|
+
NameFormat:
|
89
|
+
enabled: false
|
90
|
+
convention: hyphenated_lowercase # or 'BEM', or a regex pattern
|
91
|
+
|
92
|
+
NestingDepth:
|
93
|
+
enabled: false
|
94
|
+
max_depth: 3
|
95
|
+
|
96
|
+
PlaceholderInExtend:
|
97
|
+
enabled: false
|
98
|
+
|
99
|
+
PropertySortOrder:
|
100
|
+
enabled: false
|
101
|
+
ignore_unspecified: true
|
102
|
+
severity: warning
|
103
|
+
order: [
|
104
|
+
"position",
|
105
|
+
"top",
|
106
|
+
"right",
|
107
|
+
"bottom",
|
108
|
+
"left",
|
109
|
+
"z-index",
|
110
|
+
"display",
|
111
|
+
"float",
|
112
|
+
"width",
|
113
|
+
"min-width",
|
114
|
+
"max-width",
|
115
|
+
"height",
|
116
|
+
"min-height",
|
117
|
+
"max-height",
|
118
|
+
"-webkit-box-sizing",
|
119
|
+
"box-sizing",
|
120
|
+
"-webkit-appearance",
|
121
|
+
"padding",
|
122
|
+
"padding-top",
|
123
|
+
"padding-right",
|
124
|
+
"padding-bottom",
|
125
|
+
"padding-left",
|
126
|
+
"margin",
|
127
|
+
"margin-top",
|
128
|
+
"margin-right",
|
129
|
+
"margin-bottom",
|
130
|
+
"margin-left",
|
131
|
+
"overflow",
|
132
|
+
"overflow-x",
|
133
|
+
"overflow-y",
|
134
|
+
"-webkit-overflow-scrolling",
|
135
|
+
"-ms-overflow-x",
|
136
|
+
"-ms-overflow-y",
|
137
|
+
"-ms-overflow-style",
|
138
|
+
"clip",
|
139
|
+
"clear",
|
140
|
+
"font",
|
141
|
+
"font-family",
|
142
|
+
"font-size",
|
143
|
+
"font-style",
|
144
|
+
"font-weight",
|
145
|
+
"font-variant",
|
146
|
+
"font-size-adjust",
|
147
|
+
"font-stretch",
|
148
|
+
"font-effect",
|
149
|
+
"font-emphasize",
|
150
|
+
"font-emphasize-position",
|
151
|
+
"font-emphasize-style",
|
152
|
+
"font-smooth",
|
153
|
+
"-webkit-hyphens",
|
154
|
+
"-moz-hyphens",
|
155
|
+
"hyphens",
|
156
|
+
"line-height",
|
157
|
+
"color",
|
158
|
+
"text-align",
|
159
|
+
"-webkit-text-align-last",
|
160
|
+
"-moz-text-align-last",
|
161
|
+
"-ms-text-align-last",
|
162
|
+
"text-align-last",
|
163
|
+
"text-emphasis",
|
164
|
+
"text-emphasis-color",
|
165
|
+
"text-emphasis-style",
|
166
|
+
"text-emphasis-position",
|
167
|
+
"text-decoration",
|
168
|
+
"text-indent",
|
169
|
+
"text-justify",
|
170
|
+
"text-outline",
|
171
|
+
"-ms-text-overflow",
|
172
|
+
"text-overflow",
|
173
|
+
"text-overflow-ellipsis",
|
174
|
+
"text-overflow-mode",
|
175
|
+
"text-shadow",
|
176
|
+
"text-transform",
|
177
|
+
"text-wrap",
|
178
|
+
"-webkit-text-size-adjust",
|
179
|
+
"-ms-text-size-adjust",
|
180
|
+
"letter-spacing",
|
181
|
+
"-ms-word-break",
|
182
|
+
"word-break",
|
183
|
+
"word-spacing",
|
184
|
+
"-ms-word-wrap",
|
185
|
+
"word-wrap",
|
186
|
+
"-moz-tab-size",
|
187
|
+
"-o-tab-size",
|
188
|
+
"tab-size",
|
189
|
+
"white-space",
|
190
|
+
"vertical-align",
|
191
|
+
"list-style",
|
192
|
+
"list-style-position",
|
193
|
+
"list-style-type",
|
194
|
+
"list-style-image",
|
195
|
+
"pointer-events",
|
196
|
+
"fill",
|
197
|
+
"fill-opacity",
|
198
|
+
"stroke",
|
199
|
+
"stroke-opacity",
|
200
|
+
"stroke-width",
|
201
|
+
"shape-rendering",
|
202
|
+
"cursor",
|
203
|
+
"visibility",
|
204
|
+
"zoom",
|
205
|
+
"flex-direction",
|
206
|
+
"flex-order",
|
207
|
+
"flex-pack",
|
208
|
+
"flex-align",
|
209
|
+
"table-layout",
|
210
|
+
"empty-cells",
|
211
|
+
"caption-side",
|
212
|
+
"border-spacing",
|
213
|
+
"border-collapse",
|
214
|
+
"content",
|
215
|
+
"quotes",
|
216
|
+
"counter-reset",
|
217
|
+
"counter-increment",
|
218
|
+
"resize",
|
219
|
+
"-webkit-touch-callout",
|
220
|
+
"-webkit-user-select",
|
221
|
+
"-moz-user-select",
|
222
|
+
"-ms-user-select",
|
223
|
+
"-o-user-select",
|
224
|
+
"user-select",
|
225
|
+
"nav-index",
|
226
|
+
"nav-up",
|
227
|
+
"nav-right",
|
228
|
+
"nav-down",
|
229
|
+
"nav-left",
|
230
|
+
"background",
|
231
|
+
"background-color",
|
232
|
+
"background-image",
|
233
|
+
"-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
|
234
|
+
"filter:progid:DXImageTransform.Microsoft.gradient",
|
235
|
+
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
236
|
+
"filter",
|
237
|
+
"background-repeat",
|
238
|
+
"background-attachment",
|
239
|
+
"background-position",
|
240
|
+
"background-position-x",
|
241
|
+
"background-position-y",
|
242
|
+
"-webkit-background-clip",
|
243
|
+
"-moz-background-clip",
|
244
|
+
"background-clip",
|
245
|
+
"background-origin",
|
246
|
+
"-webkit-background-size",
|
247
|
+
"-moz-background-size",
|
248
|
+
"-o-background-size",
|
249
|
+
"background-size",
|
250
|
+
"border",
|
251
|
+
"border-color",
|
252
|
+
"border-style",
|
253
|
+
"border-width",
|
254
|
+
"border-top",
|
255
|
+
"border-top-color",
|
256
|
+
"border-top-style",
|
257
|
+
"border-top-width",
|
258
|
+
"border-right",
|
259
|
+
"border-right-color",
|
260
|
+
"border-right-style",
|
261
|
+
"border-right-width",
|
262
|
+
"border-bottom",
|
263
|
+
"border-bottom-color",
|
264
|
+
"border-bottom-style",
|
265
|
+
"border-bottom-width",
|
266
|
+
"border-left",
|
267
|
+
"border-left-color",
|
268
|
+
"border-left-style",
|
269
|
+
"border-left-width",
|
270
|
+
"border-radius",
|
271
|
+
"border-top-left-radius",
|
272
|
+
"border-top-right-radius",
|
273
|
+
"border-bottom-right-radius",
|
274
|
+
"border-bottom-left-radius",
|
275
|
+
"-webkit-border-image",
|
276
|
+
"-moz-border-image",
|
277
|
+
"-o-border-image",
|
278
|
+
"border-image",
|
279
|
+
"-webkit-border-image-source",
|
280
|
+
"-moz-border-image-source",
|
281
|
+
"-o-border-image-source",
|
282
|
+
"border-image-source",
|
283
|
+
"-webkit-border-image-slice",
|
284
|
+
"-moz-border-image-slice",
|
285
|
+
"-o-border-image-slice",
|
286
|
+
"border-image-slice",
|
287
|
+
"-webkit-border-image-width",
|
288
|
+
"-moz-border-image-width",
|
289
|
+
"-o-border-image-width",
|
290
|
+
"border-image-width",
|
291
|
+
"-webkit-border-image-outset",
|
292
|
+
"-moz-border-image-outset",
|
293
|
+
"-o-border-image-outset",
|
294
|
+
"border-image-outset",
|
295
|
+
"-webkit-border-image-repeat",
|
296
|
+
"-moz-border-image-repeat",
|
297
|
+
"-o-border-image-repeat",
|
298
|
+
"border-image-repeat",
|
299
|
+
"outline",
|
300
|
+
"outline-width",
|
301
|
+
"outline-style",
|
302
|
+
"outline-color",
|
303
|
+
"outline-offset",
|
304
|
+
"-webkit-box-shadow",
|
305
|
+
"-moz-box-shadow",
|
306
|
+
"box-shadow",
|
307
|
+
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
308
|
+
"-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
|
309
|
+
"opacity",
|
310
|
+
"-ms-interpolation-mode",
|
311
|
+
"-moz-transition",
|
312
|
+
"-ms-transition",
|
313
|
+
"-o-transition",
|
314
|
+
"transition",
|
315
|
+
"-moz-transition-delay",
|
316
|
+
"-ms-transition-delay",
|
317
|
+
"-o-transition-delay",
|
318
|
+
"transition-delay",
|
319
|
+
"-moz-transition-timing-function",
|
320
|
+
"-ms-transition-timing-function",
|
321
|
+
"-o-transition-timing-function",
|
322
|
+
"transition-timing-function",
|
323
|
+
"-moz-transition-duration",
|
324
|
+
"-ms-transition-duration",
|
325
|
+
"-o-transition-duration",
|
326
|
+
"transition-duration",
|
327
|
+
"-moz-transition-property",
|
328
|
+
"-ms-transition-property",
|
329
|
+
"-o-transition-property",
|
330
|
+
"transition-property",
|
331
|
+
"-webkit-transform",
|
332
|
+
"-o-transform",
|
333
|
+
"transform",
|
334
|
+
"-webkit-transform-origin",
|
335
|
+
"-o-transform-origin",
|
336
|
+
"transform-origin",
|
337
|
+
"-ms-animation",
|
338
|
+
"-o-animation",
|
339
|
+
"animation",
|
340
|
+
"-ms-animation-name",
|
341
|
+
"-o-animation-name",
|
342
|
+
"animation-name",
|
343
|
+
"-ms-animation-duration",
|
344
|
+
"-o-animation-duration",
|
345
|
+
"animation-duration",
|
346
|
+
"-ms-animation-fill-mode",
|
347
|
+
"-o-animation-fill-mode",
|
348
|
+
"animation-fill-mode",
|
349
|
+
"-ms-animation-play-state",
|
350
|
+
"-o-animation-play-state",
|
351
|
+
"animation-play-state",
|
352
|
+
"-ms-animation-timing-function",
|
353
|
+
"-o-animation-timing-function",
|
354
|
+
"animation-timing-function",
|
355
|
+
"-ms-animation-delay",
|
356
|
+
"-o-animation-delay",
|
357
|
+
"animation-delay",
|
358
|
+
"-ms-animation-iteration-count",
|
359
|
+
"-o-animation-iteration-count",
|
360
|
+
"animation-iteration-count",
|
361
|
+
"-ms-animation-direction",
|
362
|
+
"-o-animation-direction",
|
363
|
+
"animation-direction"
|
364
|
+
]
|
365
|
+
|
366
|
+
PropertySpelling:
|
367
|
+
enabled: true
|
368
|
+
extra_properties: []
|
369
|
+
|
370
|
+
QualifyingElement:
|
371
|
+
enabled: true
|
372
|
+
allow_element_with_attribute: false
|
373
|
+
allow_element_with_class: false
|
374
|
+
allow_element_with_id: false
|
375
|
+
|
376
|
+
SelectorDepth:
|
377
|
+
enabled: true
|
378
|
+
max_depth: 4
|
379
|
+
|
380
|
+
SelectorFormat:
|
381
|
+
enabled: false
|
382
|
+
convention: hyphenated_lowercase # or 'BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
|
383
|
+
|
384
|
+
Shorthand:
|
385
|
+
enabled: true
|
386
|
+
|
387
|
+
SingleLinePerProperty:
|
388
|
+
enabled: true
|
389
|
+
allow_single_line_rule_sets: true
|
390
|
+
|
391
|
+
SingleLinePerSelector:
|
392
|
+
enabled: true
|
393
|
+
|
394
|
+
SpaceAfterComma:
|
395
|
+
enabled: true
|
396
|
+
|
397
|
+
SpaceAfterPropertyColon:
|
398
|
+
enabled: true
|
399
|
+
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
|
400
|
+
|
401
|
+
SpaceAfterPropertyName:
|
402
|
+
enabled: true
|
403
|
+
|
404
|
+
SpaceBeforeBrace:
|
405
|
+
enabled: true
|
406
|
+
style: space # or 'new_line'
|
407
|
+
allow_single_line_padding: true
|
408
|
+
|
409
|
+
SpaceBetweenParens:
|
410
|
+
enabled: true
|
411
|
+
spaces: 0
|
412
|
+
|
413
|
+
StringQuotes:
|
414
|
+
enabled: true
|
415
|
+
style: double_quotes
|
416
|
+
|
417
|
+
TrailingSemicolon:
|
418
|
+
enabled: true
|
419
|
+
|
420
|
+
TrailingZero:
|
421
|
+
enabled: false
|
422
|
+
|
423
|
+
UnnecessaryMantissa:
|
424
|
+
enabled: true
|
425
|
+
|
426
|
+
UnnecessaryParentReference:
|
427
|
+
enabled: true
|
428
|
+
|
429
|
+
UrlFormat:
|
430
|
+
enabled: true
|
431
|
+
|
432
|
+
UrlQuotes:
|
433
|
+
enabled: true
|
434
|
+
|
435
|
+
VariableForProperty:
|
436
|
+
enabled: false
|
437
|
+
properties: []
|
438
|
+
|
439
|
+
VendorPrefix:
|
440
|
+
enabled: true
|
441
|
+
identifier_list: base
|
442
|
+
additional_identifiers: []
|
443
|
+
excluded_identifiers: []
|
444
|
+
|
445
|
+
ZeroUnit:
|
446
|
+
enabled: true
|
@@ -0,0 +1,106 @@
|
|
1
|
+
.flash-messages {
|
2
|
+
margin-top: 15px;
|
3
|
+
margin-bottom: 15px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.flash,
|
7
|
+
.flash-global {
|
8
|
+
position: relative;
|
9
|
+
font-size: 14px;
|
10
|
+
line-height: 1.6;
|
11
|
+
color: #246;
|
12
|
+
background-color: #e2eef9;
|
13
|
+
border: solid 1px #bac6d3;
|
14
|
+
|
15
|
+
&.flash-warn {
|
16
|
+
color: #4c4a42;
|
17
|
+
background-color: #fff9ea;
|
18
|
+
border-color: #dfd8c2;
|
19
|
+
}
|
20
|
+
|
21
|
+
&.flash-error {
|
22
|
+
color: #911;
|
23
|
+
background-color: #fcdede;
|
24
|
+
border-color: #d2b2b2;
|
25
|
+
}
|
26
|
+
|
27
|
+
.flash-close {
|
28
|
+
float: right;
|
29
|
+
padding: 17px; // bigger hit area
|
30
|
+
margin-top: -15px; // negative margins to account for bigger padding
|
31
|
+
margin-right: -15px;
|
32
|
+
margin-left: 20px;
|
33
|
+
color: inherit;
|
34
|
+
text-decoration: none;
|
35
|
+
cursor: pointer;
|
36
|
+
opacity: 0.6;
|
37
|
+
|
38
|
+
&:hover {
|
39
|
+
opacity: 1;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
p:last-child {
|
44
|
+
margin-bottom: 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Flashes can have an action button instead of the cross.
|
48
|
+
.flash-action {
|
49
|
+
float: right;
|
50
|
+
margin-top: -4px;
|
51
|
+
margin-left: 20px;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Make links stand out
|
55
|
+
a {
|
56
|
+
font-weight: bold;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.flash {
|
61
|
+
padding: 15px;
|
62
|
+
border-radius: 3px;
|
63
|
+
|
64
|
+
+ .flash { margin-top: 5px; }
|
65
|
+
}
|
66
|
+
|
67
|
+
// Add an icon
|
68
|
+
.flash-with-icon {
|
69
|
+
padding-left: 40px;
|
70
|
+
|
71
|
+
> .octicon {
|
72
|
+
float: left;
|
73
|
+
margin-top: 3px;
|
74
|
+
margin-left: -25px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
// Global notices
|
80
|
+
//
|
81
|
+
// Useful for site-wide banners and global notifications.
|
82
|
+
|
83
|
+
.flash-global {
|
84
|
+
padding: 10px;
|
85
|
+
margin-top: -1px;
|
86
|
+
border-width: 1px 0;
|
87
|
+
|
88
|
+
h2,
|
89
|
+
p {
|
90
|
+
margin-top: 0;
|
91
|
+
margin-bottom: 0;
|
92
|
+
font-size: 14px;
|
93
|
+
line-height: 1.4;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Global flashes can have an action buttons too.
|
97
|
+
.flash-action {
|
98
|
+
margin-top: 5px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
// Content within flash messages.
|
103
|
+
.flash-title {
|
104
|
+
margin-top: 0;
|
105
|
+
margin-bottom: 5px;
|
106
|
+
}
|