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,305 @@
|
|
1
|
+
//
|
2
|
+
// Glyphicons for Bootstrap
|
3
|
+
//
|
4
|
+
// Since icons are fonts, they can be placed anywhere text is placed and are
|
5
|
+
// thus automatically sized to match the surrounding child. To use, create an
|
6
|
+
// inline element with the appropriate classes, like so:
|
7
|
+
//
|
8
|
+
// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
|
9
|
+
|
10
|
+
// Import the fonts
|
11
|
+
@font-face {
|
12
|
+
font-family: 'Glyphicons Halflings';
|
13
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
|
14
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
|
15
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff2'), '#{$icon-font-path}#{$icon-font-name}.woff2')) format('woff2'),
|
16
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
|
17
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
|
18
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');
|
19
|
+
}
|
20
|
+
|
21
|
+
// Catchall baseclass
|
22
|
+
.glyphicon {
|
23
|
+
position: relative;
|
24
|
+
top: 1px;
|
25
|
+
display: inline-block;
|
26
|
+
font-family: 'Glyphicons Halflings';
|
27
|
+
font-style: normal;
|
28
|
+
font-weight: normal;
|
29
|
+
line-height: 1;
|
30
|
+
-webkit-font-smoothing: antialiased;
|
31
|
+
-moz-osx-font-smoothing: grayscale;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Individual icons
|
35
|
+
.glyphicon-asterisk { &:before { content: "\2a"; } }
|
36
|
+
.glyphicon-plus { &:before { content: "\2b"; } }
|
37
|
+
.glyphicon-euro,
|
38
|
+
.glyphicon-eur { &:before { content: "\20ac"; } }
|
39
|
+
.glyphicon-minus { &:before { content: "\2212"; } }
|
40
|
+
.glyphicon-cloud { &:before { content: "\2601"; } }
|
41
|
+
.glyphicon-envelope { &:before { content: "\2709"; } }
|
42
|
+
.glyphicon-pencil { &:before { content: "\270f"; } }
|
43
|
+
.glyphicon-glass { &:before { content: "\e001"; } }
|
44
|
+
.glyphicon-music { &:before { content: "\e002"; } }
|
45
|
+
.glyphicon-search { &:before { content: "\e003"; } }
|
46
|
+
.glyphicon-heart { &:before { content: "\e005"; } }
|
47
|
+
.glyphicon-star { &:before { content: "\e006"; } }
|
48
|
+
.glyphicon-star-empty { &:before { content: "\e007"; } }
|
49
|
+
.glyphicon-user { &:before { content: "\e008"; } }
|
50
|
+
.glyphicon-film { &:before { content: "\e009"; } }
|
51
|
+
.glyphicon-th-large { &:before { content: "\e010"; } }
|
52
|
+
.glyphicon-th { &:before { content: "\e011"; } }
|
53
|
+
.glyphicon-th-list { &:before { content: "\e012"; } }
|
54
|
+
.glyphicon-ok { &:before { content: "\e013"; } }
|
55
|
+
.glyphicon-remove { &:before { content: "\e014"; } }
|
56
|
+
.glyphicon-zoom-in { &:before { content: "\e015"; } }
|
57
|
+
.glyphicon-zoom-out { &:before { content: "\e016"; } }
|
58
|
+
.glyphicon-off { &:before { content: "\e017"; } }
|
59
|
+
.glyphicon-signal { &:before { content: "\e018"; } }
|
60
|
+
.glyphicon-cog { &:before { content: "\e019"; } }
|
61
|
+
.glyphicon-trash { &:before { content: "\e020"; } }
|
62
|
+
.glyphicon-home { &:before { content: "\e021"; } }
|
63
|
+
.glyphicon-file { &:before { content: "\e022"; } }
|
64
|
+
.glyphicon-time { &:before { content: "\e023"; } }
|
65
|
+
.glyphicon-road { &:before { content: "\e024"; } }
|
66
|
+
.glyphicon-download-alt { &:before { content: "\e025"; } }
|
67
|
+
.glyphicon-download { &:before { content: "\e026"; } }
|
68
|
+
.glyphicon-upload { &:before { content: "\e027"; } }
|
69
|
+
.glyphicon-inbox { &:before { content: "\e028"; } }
|
70
|
+
.glyphicon-play-circle { &:before { content: "\e029"; } }
|
71
|
+
.glyphicon-repeat { &:before { content: "\e030"; } }
|
72
|
+
.glyphicon-refresh { &:before { content: "\e031"; } }
|
73
|
+
.glyphicon-list-alt { &:before { content: "\e032"; } }
|
74
|
+
.glyphicon-lock { &:before { content: "\e033"; } }
|
75
|
+
.glyphicon-flag { &:before { content: "\e034"; } }
|
76
|
+
.glyphicon-headphones { &:before { content: "\e035"; } }
|
77
|
+
.glyphicon-volume-off { &:before { content: "\e036"; } }
|
78
|
+
.glyphicon-volume-down { &:before { content: "\e037"; } }
|
79
|
+
.glyphicon-volume-up { &:before { content: "\e038"; } }
|
80
|
+
.glyphicon-qrcode { &:before { content: "\e039"; } }
|
81
|
+
.glyphicon-barcode { &:before { content: "\e040"; } }
|
82
|
+
.glyphicon-tag { &:before { content: "\e041"; } }
|
83
|
+
.glyphicon-tags { &:before { content: "\e042"; } }
|
84
|
+
.glyphicon-book { &:before { content: "\e043"; } }
|
85
|
+
.glyphicon-bookmark { &:before { content: "\e044"; } }
|
86
|
+
.glyphicon-print { &:before { content: "\e045"; } }
|
87
|
+
.glyphicon-camera { &:before { content: "\e046"; } }
|
88
|
+
.glyphicon-font { &:before { content: "\e047"; } }
|
89
|
+
.glyphicon-bold { &:before { content: "\e048"; } }
|
90
|
+
.glyphicon-italic { &:before { content: "\e049"; } }
|
91
|
+
.glyphicon-text-height { &:before { content: "\e050"; } }
|
92
|
+
.glyphicon-text-width { &:before { content: "\e051"; } }
|
93
|
+
.glyphicon-align-left { &:before { content: "\e052"; } }
|
94
|
+
.glyphicon-align-center { &:before { content: "\e053"; } }
|
95
|
+
.glyphicon-align-right { &:before { content: "\e054"; } }
|
96
|
+
.glyphicon-align-justify { &:before { content: "\e055"; } }
|
97
|
+
.glyphicon-list { &:before { content: "\e056"; } }
|
98
|
+
.glyphicon-indent-left { &:before { content: "\e057"; } }
|
99
|
+
.glyphicon-indent-right { &:before { content: "\e058"; } }
|
100
|
+
.glyphicon-facetime-video { &:before { content: "\e059"; } }
|
101
|
+
.glyphicon-picture { &:before { content: "\e060"; } }
|
102
|
+
.glyphicon-map-marker { &:before { content: "\e062"; } }
|
103
|
+
.glyphicon-adjust { &:before { content: "\e063"; } }
|
104
|
+
.glyphicon-tint { &:before { content: "\e064"; } }
|
105
|
+
.glyphicon-edit { &:before { content: "\e065"; } }
|
106
|
+
.glyphicon-share { &:before { content: "\e066"; } }
|
107
|
+
.glyphicon-check { &:before { content: "\e067"; } }
|
108
|
+
.glyphicon-move { &:before { content: "\e068"; } }
|
109
|
+
.glyphicon-step-backward { &:before { content: "\e069"; } }
|
110
|
+
.glyphicon-fast-backward { &:before { content: "\e070"; } }
|
111
|
+
.glyphicon-backward { &:before { content: "\e071"; } }
|
112
|
+
.glyphicon-play { &:before { content: "\e072"; } }
|
113
|
+
.glyphicon-pause { &:before { content: "\e073"; } }
|
114
|
+
.glyphicon-stop { &:before { content: "\e074"; } }
|
115
|
+
.glyphicon-forward { &:before { content: "\e075"; } }
|
116
|
+
.glyphicon-fast-forward { &:before { content: "\e076"; } }
|
117
|
+
.glyphicon-step-forward { &:before { content: "\e077"; } }
|
118
|
+
.glyphicon-eject { &:before { content: "\e078"; } }
|
119
|
+
.glyphicon-chevron-left { &:before { content: "\e079"; } }
|
120
|
+
.glyphicon-chevron-right { &:before { content: "\e080"; } }
|
121
|
+
.glyphicon-plus-sign { &:before { content: "\e081"; } }
|
122
|
+
.glyphicon-minus-sign { &:before { content: "\e082"; } }
|
123
|
+
.glyphicon-remove-sign { &:before { content: "\e083"; } }
|
124
|
+
.glyphicon-ok-sign { &:before { content: "\e084"; } }
|
125
|
+
.glyphicon-question-sign { &:before { content: "\e085"; } }
|
126
|
+
.glyphicon-info-sign { &:before { content: "\e086"; } }
|
127
|
+
.glyphicon-screenshot { &:before { content: "\e087"; } }
|
128
|
+
.glyphicon-remove-circle { &:before { content: "\e088"; } }
|
129
|
+
.glyphicon-ok-circle { &:before { content: "\e089"; } }
|
130
|
+
.glyphicon-ban-circle { &:before { content: "\e090"; } }
|
131
|
+
.glyphicon-arrow-left { &:before { content: "\e091"; } }
|
132
|
+
.glyphicon-arrow-right { &:before { content: "\e092"; } }
|
133
|
+
.glyphicon-arrow-up { &:before { content: "\e093"; } }
|
134
|
+
.glyphicon-arrow-down { &:before { content: "\e094"; } }
|
135
|
+
.glyphicon-share-alt { &:before { content: "\e095"; } }
|
136
|
+
.glyphicon-resize-full { &:before { content: "\e096"; } }
|
137
|
+
.glyphicon-resize-small { &:before { content: "\e097"; } }
|
138
|
+
.glyphicon-exclamation-sign { &:before { content: "\e101"; } }
|
139
|
+
.glyphicon-gift { &:before { content: "\e102"; } }
|
140
|
+
.glyphicon-leaf { &:before { content: "\e103"; } }
|
141
|
+
.glyphicon-fire { &:before { content: "\e104"; } }
|
142
|
+
.glyphicon-eye-open { &:before { content: "\e105"; } }
|
143
|
+
.glyphicon-eye-close { &:before { content: "\e106"; } }
|
144
|
+
.glyphicon-warning-sign { &:before { content: "\e107"; } }
|
145
|
+
.glyphicon-plane { &:before { content: "\e108"; } }
|
146
|
+
.glyphicon-calendar { &:before { content: "\e109"; } }
|
147
|
+
.glyphicon-random { &:before { content: "\e110"; } }
|
148
|
+
.glyphicon-comment { &:before { content: "\e111"; } }
|
149
|
+
.glyphicon-magnet { &:before { content: "\e112"; } }
|
150
|
+
.glyphicon-chevron-up { &:before { content: "\e113"; } }
|
151
|
+
.glyphicon-chevron-down { &:before { content: "\e114"; } }
|
152
|
+
.glyphicon-retweet { &:before { content: "\e115"; } }
|
153
|
+
.glyphicon-shopping-cart { &:before { content: "\e116"; } }
|
154
|
+
.glyphicon-folder-close { &:before { content: "\e117"; } }
|
155
|
+
.glyphicon-folder-open { &:before { content: "\e118"; } }
|
156
|
+
.glyphicon-resize-vertical { &:before { content: "\e119"; } }
|
157
|
+
.glyphicon-resize-horizontal { &:before { content: "\e120"; } }
|
158
|
+
.glyphicon-hdd { &:before { content: "\e121"; } }
|
159
|
+
.glyphicon-bullhorn { &:before { content: "\e122"; } }
|
160
|
+
.glyphicon-bell { &:before { content: "\e123"; } }
|
161
|
+
.glyphicon-certificate { &:before { content: "\e124"; } }
|
162
|
+
.glyphicon-thumbs-up { &:before { content: "\e125"; } }
|
163
|
+
.glyphicon-thumbs-down { &:before { content: "\e126"; } }
|
164
|
+
.glyphicon-hand-right { &:before { content: "\e127"; } }
|
165
|
+
.glyphicon-hand-left { &:before { content: "\e128"; } }
|
166
|
+
.glyphicon-hand-up { &:before { content: "\e129"; } }
|
167
|
+
.glyphicon-hand-down { &:before { content: "\e130"; } }
|
168
|
+
.glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
|
169
|
+
.glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
|
170
|
+
.glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
|
171
|
+
.glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
|
172
|
+
.glyphicon-globe { &:before { content: "\e135"; } }
|
173
|
+
.glyphicon-wrench { &:before { content: "\e136"; } }
|
174
|
+
.glyphicon-tasks { &:before { content: "\e137"; } }
|
175
|
+
.glyphicon-filter { &:before { content: "\e138"; } }
|
176
|
+
.glyphicon-briefcase { &:before { content: "\e139"; } }
|
177
|
+
.glyphicon-fullscreen { &:before { content: "\e140"; } }
|
178
|
+
.glyphicon-dashboard { &:before { content: "\e141"; } }
|
179
|
+
.glyphicon-paperclip { &:before { content: "\e142"; } }
|
180
|
+
.glyphicon-heart-empty { &:before { content: "\e143"; } }
|
181
|
+
.glyphicon-link { &:before { content: "\e144"; } }
|
182
|
+
.glyphicon-phone { &:before { content: "\e145"; } }
|
183
|
+
.glyphicon-pushpin { &:before { content: "\e146"; } }
|
184
|
+
.glyphicon-usd { &:before { content: "\e148"; } }
|
185
|
+
.glyphicon-gbp { &:before { content: "\e149"; } }
|
186
|
+
.glyphicon-sort { &:before { content: "\e150"; } }
|
187
|
+
.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
|
188
|
+
.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
|
189
|
+
.glyphicon-sort-by-order { &:before { content: "\e153"; } }
|
190
|
+
.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
|
191
|
+
.glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
|
192
|
+
.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
|
193
|
+
.glyphicon-unchecked { &:before { content: "\e157"; } }
|
194
|
+
.glyphicon-expand { &:before { content: "\e158"; } }
|
195
|
+
.glyphicon-collapse-down { &:before { content: "\e159"; } }
|
196
|
+
.glyphicon-collapse-up { &:before { content: "\e160"; } }
|
197
|
+
.glyphicon-log-in { &:before { content: "\e161"; } }
|
198
|
+
.glyphicon-flash { &:before { content: "\e162"; } }
|
199
|
+
.glyphicon-log-out { &:before { content: "\e163"; } }
|
200
|
+
.glyphicon-new-window { &:before { content: "\e164"; } }
|
201
|
+
.glyphicon-record { &:before { content: "\e165"; } }
|
202
|
+
.glyphicon-save { &:before { content: "\e166"; } }
|
203
|
+
.glyphicon-open { &:before { content: "\e167"; } }
|
204
|
+
.glyphicon-saved { &:before { content: "\e168"; } }
|
205
|
+
.glyphicon-import { &:before { content: "\e169"; } }
|
206
|
+
.glyphicon-export { &:before { content: "\e170"; } }
|
207
|
+
.glyphicon-send { &:before { content: "\e171"; } }
|
208
|
+
.glyphicon-floppy-disk { &:before { content: "\e172"; } }
|
209
|
+
.glyphicon-floppy-saved { &:before { content: "\e173"; } }
|
210
|
+
.glyphicon-floppy-remove { &:before { content: "\e174"; } }
|
211
|
+
.glyphicon-floppy-save { &:before { content: "\e175"; } }
|
212
|
+
.glyphicon-floppy-open { &:before { content: "\e176"; } }
|
213
|
+
.glyphicon-credit-card { &:before { content: "\e177"; } }
|
214
|
+
.glyphicon-transfer { &:before { content: "\e178"; } }
|
215
|
+
.glyphicon-cutlery { &:before { content: "\e179"; } }
|
216
|
+
.glyphicon-header { &:before { content: "\e180"; } }
|
217
|
+
.glyphicon-compressed { &:before { content: "\e181"; } }
|
218
|
+
.glyphicon-earphone { &:before { content: "\e182"; } }
|
219
|
+
.glyphicon-phone-alt { &:before { content: "\e183"; } }
|
220
|
+
.glyphicon-tower { &:before { content: "\e184"; } }
|
221
|
+
.glyphicon-stats { &:before { content: "\e185"; } }
|
222
|
+
.glyphicon-sd-video { &:before { content: "\e186"; } }
|
223
|
+
.glyphicon-hd-video { &:before { content: "\e187"; } }
|
224
|
+
.glyphicon-subtitles { &:before { content: "\e188"; } }
|
225
|
+
.glyphicon-sound-stereo { &:before { content: "\e189"; } }
|
226
|
+
.glyphicon-sound-dolby { &:before { content: "\e190"; } }
|
227
|
+
.glyphicon-sound-5-1 { &:before { content: "\e191"; } }
|
228
|
+
.glyphicon-sound-6-1 { &:before { content: "\e192"; } }
|
229
|
+
.glyphicon-sound-7-1 { &:before { content: "\e193"; } }
|
230
|
+
.glyphicon-copyright-mark { &:before { content: "\e194"; } }
|
231
|
+
.glyphicon-registration-mark { &:before { content: "\e195"; } }
|
232
|
+
.glyphicon-cloud-download { &:before { content: "\e197"; } }
|
233
|
+
.glyphicon-cloud-upload { &:before { content: "\e198"; } }
|
234
|
+
.glyphicon-tree-conifer { &:before { content: "\e199"; } }
|
235
|
+
.glyphicon-tree-deciduous { &:before { content: "\e200"; } }
|
236
|
+
.glyphicon-cd { &:before { content: "\e201"; } }
|
237
|
+
.glyphicon-save-file { &:before { content: "\e202"; } }
|
238
|
+
.glyphicon-open-file { &:before { content: "\e203"; } }
|
239
|
+
.glyphicon-level-up { &:before { content: "\e204"; } }
|
240
|
+
.glyphicon-copy { &:before { content: "\e205"; } }
|
241
|
+
.glyphicon-paste { &:before { content: "\e206"; } }
|
242
|
+
// The following 2 Glyphicons are omitted for the time being because
|
243
|
+
// they currently use Unicode codepoints that are outside the
|
244
|
+
// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle
|
245
|
+
// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.
|
246
|
+
// Notably, the bug affects some older versions of the Android Browser.
|
247
|
+
// More info: https://github.com/twbs/bootstrap/issues/10106
|
248
|
+
// .glyphicon-door { &:before { content: "\1f6aa"; } }
|
249
|
+
// .glyphicon-key { &:before { content: "\1f511"; } }
|
250
|
+
.glyphicon-alert { &:before { content: "\e209"; } }
|
251
|
+
.glyphicon-equalizer { &:before { content: "\e210"; } }
|
252
|
+
.glyphicon-king { &:before { content: "\e211"; } }
|
253
|
+
.glyphicon-queen { &:before { content: "\e212"; } }
|
254
|
+
.glyphicon-pawn { &:before { content: "\e213"; } }
|
255
|
+
.glyphicon-bishop { &:before { content: "\e214"; } }
|
256
|
+
.glyphicon-knight { &:before { content: "\e215"; } }
|
257
|
+
.glyphicon-baby-formula { &:before { content: "\e216"; } }
|
258
|
+
.glyphicon-tent { &:before { content: "\26fa"; } }
|
259
|
+
.glyphicon-blackboard { &:before { content: "\e218"; } }
|
260
|
+
.glyphicon-bed { &:before { content: "\e219"; } }
|
261
|
+
.glyphicon-apple { &:before { content: "\f8ff"; } }
|
262
|
+
.glyphicon-erase { &:before { content: "\e221"; } }
|
263
|
+
.glyphicon-hourglass { &:before { content: "\231b"; } }
|
264
|
+
.glyphicon-lamp { &:before { content: "\e223"; } }
|
265
|
+
.glyphicon-duplicate { &:before { content: "\e224"; } }
|
266
|
+
.glyphicon-piggy-bank { &:before { content: "\e225"; } }
|
267
|
+
.glyphicon-scissors { &:before { content: "\e226"; } }
|
268
|
+
.glyphicon-bitcoin { &:before { content: "\e227"; } }
|
269
|
+
.glyphicon-btc { &:before { content: "\e227"; } }
|
270
|
+
.glyphicon-xbt { &:before { content: "\e227"; } }
|
271
|
+
.glyphicon-yen { &:before { content: "\00a5"; } }
|
272
|
+
.glyphicon-jpy { &:before { content: "\00a5"; } }
|
273
|
+
.glyphicon-ruble { &:before { content: "\20bd"; } }
|
274
|
+
.glyphicon-rub { &:before { content: "\20bd"; } }
|
275
|
+
.glyphicon-scale { &:before { content: "\e230"; } }
|
276
|
+
.glyphicon-ice-lolly { &:before { content: "\e231"; } }
|
277
|
+
.glyphicon-ice-lolly-tasted { &:before { content: "\e232"; } }
|
278
|
+
.glyphicon-education { &:before { content: "\e233"; } }
|
279
|
+
.glyphicon-option-horizontal { &:before { content: "\e234"; } }
|
280
|
+
.glyphicon-option-vertical { &:before { content: "\e235"; } }
|
281
|
+
.glyphicon-menu-hamburger { &:before { content: "\e236"; } }
|
282
|
+
.glyphicon-modal-window { &:before { content: "\e237"; } }
|
283
|
+
.glyphicon-oil { &:before { content: "\e238"; } }
|
284
|
+
.glyphicon-grain { &:before { content: "\e239"; } }
|
285
|
+
.glyphicon-sunglasses { &:before { content: "\e240"; } }
|
286
|
+
.glyphicon-text-size { &:before { content: "\e241"; } }
|
287
|
+
.glyphicon-text-color { &:before { content: "\e242"; } }
|
288
|
+
.glyphicon-text-background { &:before { content: "\e243"; } }
|
289
|
+
.glyphicon-object-align-top { &:before { content: "\e244"; } }
|
290
|
+
.glyphicon-object-align-bottom { &:before { content: "\e245"; } }
|
291
|
+
.glyphicon-object-align-horizontal{ &:before { content: "\e246"; } }
|
292
|
+
.glyphicon-object-align-left { &:before { content: "\e247"; } }
|
293
|
+
.glyphicon-object-align-vertical { &:before { content: "\e248"; } }
|
294
|
+
.glyphicon-object-align-right { &:before { content: "\e249"; } }
|
295
|
+
.glyphicon-triangle-right { &:before { content: "\e250"; } }
|
296
|
+
.glyphicon-triangle-left { &:before { content: "\e251"; } }
|
297
|
+
.glyphicon-triangle-bottom { &:before { content: "\e252"; } }
|
298
|
+
.glyphicon-triangle-top { &:before { content: "\e253"; } }
|
299
|
+
.glyphicon-console { &:before { content: "\e254"; } }
|
300
|
+
.glyphicon-superscript { &:before { content: "\e255"; } }
|
301
|
+
.glyphicon-subscript { &:before { content: "\e256"; } }
|
302
|
+
.glyphicon-menu-left { &:before { content: "\e257"; } }
|
303
|
+
.glyphicon-menu-right { &:before { content: "\e258"; } }
|
304
|
+
.glyphicon-menu-down { &:before { content: "\e259"; } }
|
305
|
+
.glyphicon-menu-up { &:before { content: "\e260"; } }
|
@@ -0,0 +1,84 @@
|
|
1
|
+
//
|
2
|
+
// Grid system
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Container widths
|
7
|
+
//
|
8
|
+
// Set the container width, and override it for fixed navbars in media queries.
|
9
|
+
|
10
|
+
.container {
|
11
|
+
@include container-fixed;
|
12
|
+
|
13
|
+
@media (min-width: $screen-sm-min) {
|
14
|
+
width: $container-sm;
|
15
|
+
}
|
16
|
+
@media (min-width: $screen-md-min) {
|
17
|
+
width: $container-md;
|
18
|
+
}
|
19
|
+
@media (min-width: $screen-lg-min) {
|
20
|
+
width: $container-lg;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
// Fluid container
|
26
|
+
//
|
27
|
+
// Utilizes the mixin meant for fixed width containers, but without any defined
|
28
|
+
// width for fluid, full width layouts.
|
29
|
+
|
30
|
+
.container-fluid {
|
31
|
+
@include container-fixed;
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
// Row
|
36
|
+
//
|
37
|
+
// Rows contain and clear the floats of your columns.
|
38
|
+
|
39
|
+
.row {
|
40
|
+
@include make-row;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
// Columns
|
45
|
+
//
|
46
|
+
// Common styles for small and large grid columns
|
47
|
+
|
48
|
+
@include make-grid-columns;
|
49
|
+
|
50
|
+
|
51
|
+
// Extra small grid
|
52
|
+
//
|
53
|
+
// Columns, offsets, pushes, and pulls for extra small devices like
|
54
|
+
// smartphones.
|
55
|
+
|
56
|
+
@include make-grid(xs);
|
57
|
+
|
58
|
+
|
59
|
+
// Small grid
|
60
|
+
//
|
61
|
+
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
62
|
+
// to tablets.
|
63
|
+
|
64
|
+
@media (min-width: $screen-sm-min) {
|
65
|
+
@include make-grid(sm);
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
// Medium grid
|
70
|
+
//
|
71
|
+
// Columns, offsets, pushes, and pulls for the desktop device range.
|
72
|
+
|
73
|
+
@media (min-width: $screen-md-min) {
|
74
|
+
@include make-grid(md);
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
// Large grid
|
79
|
+
//
|
80
|
+
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
81
|
+
|
82
|
+
@media (min-width: $screen-lg-min) {
|
83
|
+
@include make-grid(lg);
|
84
|
+
}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
//
|
2
|
+
// Input groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Base styles
|
6
|
+
// -------------------------
|
7
|
+
.input-group {
|
8
|
+
position: relative; // For dropdowns
|
9
|
+
display: table;
|
10
|
+
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
11
|
+
|
12
|
+
// Undo padding and float of grid classes
|
13
|
+
&[class*="col-"] {
|
14
|
+
float: none;
|
15
|
+
padding-left: 0;
|
16
|
+
padding-right: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
.form-control {
|
20
|
+
// Ensure that the input is always above the *appended* addon button for
|
21
|
+
// proper border colors.
|
22
|
+
position: relative;
|
23
|
+
z-index: 2;
|
24
|
+
|
25
|
+
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
26
|
+
// select elements in input groups. To fix it, we float the input. Details:
|
27
|
+
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
28
|
+
float: left;
|
29
|
+
|
30
|
+
width: 100%;
|
31
|
+
margin-bottom: 0;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
// Sizing options
|
36
|
+
//
|
37
|
+
// Remix the default form control sizing classes into new ones for easier
|
38
|
+
// manipulation.
|
39
|
+
|
40
|
+
.input-group-lg > .form-control,
|
41
|
+
.input-group-lg > .input-group-addon,
|
42
|
+
.input-group-lg > .input-group-btn > .btn {
|
43
|
+
@extend .input-lg;
|
44
|
+
}
|
45
|
+
.input-group-sm > .form-control,
|
46
|
+
.input-group-sm > .input-group-addon,
|
47
|
+
.input-group-sm > .input-group-btn > .btn {
|
48
|
+
@extend .input-sm;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Display as table-cell
|
53
|
+
// -------------------------
|
54
|
+
.input-group-addon,
|
55
|
+
.input-group-btn,
|
56
|
+
.input-group .form-control {
|
57
|
+
display: table-cell;
|
58
|
+
|
59
|
+
&:not(:first-child):not(:last-child) {
|
60
|
+
border-radius: 0;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
// Addon and addon wrapper for buttons
|
64
|
+
.input-group-addon,
|
65
|
+
.input-group-btn {
|
66
|
+
width: 1%;
|
67
|
+
white-space: nowrap;
|
68
|
+
vertical-align: middle; // Match the inputs
|
69
|
+
}
|
70
|
+
|
71
|
+
// Text input groups
|
72
|
+
// -------------------------
|
73
|
+
.input-group-addon {
|
74
|
+
padding: $padding-base-vertical $padding-base-horizontal;
|
75
|
+
font-size: $font-size-base;
|
76
|
+
font-weight: normal;
|
77
|
+
line-height: 1;
|
78
|
+
color: $input-color;
|
79
|
+
text-align: center;
|
80
|
+
background-color: $input-group-addon-bg;
|
81
|
+
border: 1px solid $input-group-addon-border-color;
|
82
|
+
border-radius: $border-radius-base;
|
83
|
+
|
84
|
+
// Sizing
|
85
|
+
&.input-sm {
|
86
|
+
padding: $padding-small-vertical $padding-small-horizontal;
|
87
|
+
font-size: $font-size-small;
|
88
|
+
border-radius: $border-radius-small;
|
89
|
+
}
|
90
|
+
&.input-lg {
|
91
|
+
padding: $padding-large-vertical $padding-large-horizontal;
|
92
|
+
font-size: $font-size-large;
|
93
|
+
border-radius: $border-radius-large;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Nuke default margins from checkboxes and radios to vertically center within.
|
97
|
+
input[type="radio"],
|
98
|
+
input[type="checkbox"] {
|
99
|
+
margin-top: 0;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
// Reset rounded corners
|
104
|
+
.input-group .form-control:first-child,
|
105
|
+
.input-group-addon:first-child,
|
106
|
+
.input-group-btn:first-child > .btn,
|
107
|
+
.input-group-btn:first-child > .btn-group > .btn,
|
108
|
+
.input-group-btn:first-child > .dropdown-toggle,
|
109
|
+
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
110
|
+
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
111
|
+
@include border-right-radius(0);
|
112
|
+
}
|
113
|
+
.input-group-addon:first-child {
|
114
|
+
border-right: 0;
|
115
|
+
}
|
116
|
+
.input-group .form-control:last-child,
|
117
|
+
.input-group-addon:last-child,
|
118
|
+
.input-group-btn:last-child > .btn,
|
119
|
+
.input-group-btn:last-child > .btn-group > .btn,
|
120
|
+
.input-group-btn:last-child > .dropdown-toggle,
|
121
|
+
.input-group-btn:first-child > .btn:not(:first-child),
|
122
|
+
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
123
|
+
@include border-left-radius(0);
|
124
|
+
}
|
125
|
+
.input-group-addon:last-child {
|
126
|
+
border-left: 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Button input groups
|
130
|
+
// -------------------------
|
131
|
+
.input-group-btn {
|
132
|
+
position: relative;
|
133
|
+
// Jankily prevent input button groups from wrapping with `white-space` and
|
134
|
+
// `font-size` in combination with `inline-block` on buttons.
|
135
|
+
font-size: 0;
|
136
|
+
white-space: nowrap;
|
137
|
+
|
138
|
+
// Negative margin for spacing, position for bringing hovered/focused/actived
|
139
|
+
// element above the siblings.
|
140
|
+
> .btn {
|
141
|
+
position: relative;
|
142
|
+
+ .btn {
|
143
|
+
margin-left: -1px;
|
144
|
+
}
|
145
|
+
// Bring the "active" button to the front
|
146
|
+
&:hover,
|
147
|
+
&:focus,
|
148
|
+
&:active {
|
149
|
+
z-index: 2;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
// Negative margin to only have a 1px border between the two
|
154
|
+
&:first-child {
|
155
|
+
> .btn,
|
156
|
+
> .btn-group {
|
157
|
+
margin-right: -1px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
&:last-child {
|
161
|
+
> .btn,
|
162
|
+
> .btn-group {
|
163
|
+
margin-left: -1px;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|