bastion 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.jshintrc +35 -0
- data/Gruntfile.js +24 -0
- data/LICENSE +339 -0
- data/README.md +8 -0
- data/Rakefile +53 -0
- data/app/assets/javascripts/bastion/auth/auth.module.js +87 -0
- data/app/assets/javascripts/bastion/auth/authorization.service.js +48 -0
- data/app/assets/javascripts/bastion/bastion-bootstrap.js +32 -0
- data/app/assets/javascripts/bastion/bastion-resource.factory.js +39 -0
- data/app/assets/javascripts/bastion/bastion.js +52 -0
- data/app/assets/javascripts/bastion/bastion.module.js +213 -0
- data/app/assets/javascripts/bastion/i18n/README +9 -0
- data/app/assets/javascripts/bastion/i18n/i18n.module.js +24 -0
- data/app/assets/javascripts/bastion/i18n/katello.pot +968 -0
- data/app/assets/javascripts/bastion/i18n/locale/README +1 -0
- data/app/assets/javascripts/bastion/i18n/translate.service.js +14 -0
- data/app/assets/javascripts/bastion/i18n/translations.js +3 -0
- data/app/assets/javascripts/bastion/i18n/zanata.xml +28 -0
- data/app/assets/javascripts/bastion/incubator/alch-alert.directive.js +67 -0
- data/app/assets/javascripts/bastion/incubator/alch-container-scroll.directive.js +44 -0
- data/app/assets/javascripts/bastion/incubator/alch-dropdown.directive.js +28 -0
- data/app/assets/javascripts/bastion/incubator/alch-edit.directive.js +361 -0
- data/app/assets/javascripts/bastion/incubator/alch-flyout.directive.js +19 -0
- data/app/assets/javascripts/bastion/incubator/alch-form-buttons.directive.js +60 -0
- data/app/assets/javascripts/bastion/incubator/alch-form-group.directive.js +87 -0
- data/app/assets/javascripts/bastion/incubator/alch-infinite-scroll.directive.js +84 -0
- data/app/assets/javascripts/bastion/incubator/alch-menu.directive.js +56 -0
- data/app/assets/javascripts/bastion/incubator/alch-modal.directive.js +80 -0
- data/app/assets/javascripts/bastion/incubator/alch-save-control.directive.js +42 -0
- data/app/assets/javascripts/bastion/incubator/alch-table.directive.js +295 -0
- data/app/assets/javascripts/bastion/incubator/format/alch-format.module.js +21 -0
- data/app/assets/javascripts/bastion/incubator/format/array-to-string.filter.js +30 -0
- data/app/assets/javascripts/bastion/incubator/format/boolean-to-yes-no.filter.js +34 -0
- data/app/assets/javascripts/bastion/incubator/format/capitalize.filter.js +32 -0
- data/app/assets/javascripts/bastion/incubator/format/key-value-to-string.filter.js +40 -0
- data/app/assets/javascripts/bastion/incubator/format/unlimitedFilter.filter.js +35 -0
- data/app/assets/javascripts/bastion/incubator/stylesheets/alch-edit.scss +34 -0
- data/app/assets/javascripts/bastion/incubator/stylesheets/header.scss +207 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-alert.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-dropdown.html +19 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-item.html +21 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-add-remove-cancel.html +28 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-checkbox.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-custom.html +8 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-multiselect.html +17 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-save-cancel.html +20 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-select.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-text.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit-textarea.html +6 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-edit.html +18 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-flyout.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-form-buttons.html +10 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-form-group.html +9 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-menu.html +18 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-modal-remove.html +13 -0
- data/app/assets/javascripts/bastion/incubator/views/alch-save-control.html +18 -0
- data/app/assets/javascripts/bastion/layouts/details-nutupane.html +73 -0
- data/app/assets/javascripts/bastion/layouts/nutupane.html +63 -0
- data/app/assets/javascripts/bastion/layouts/select-all-results.html +9 -0
- data/app/assets/javascripts/bastion/menu/menu-expander.service.js +51 -0
- data/app/assets/javascripts/bastion/menu/menu.module.js +26 -0
- data/app/assets/javascripts/bastion/utils/as.filter.js +33 -0
- data/app/assets/javascripts/bastion/utils/form-utils.service.js +53 -0
- data/app/assets/javascripts/bastion/utils/utils.module.js +21 -0
- data/app/assets/javascripts/bastion/widgets/current-tasks.directive.js +67 -0
- data/app/assets/javascripts/bastion/widgets/nutupane-table.directive.js +59 -0
- data/app/assets/javascripts/bastion/widgets/nutupane.factory.js +316 -0
- data/app/assets/javascripts/bastion/widgets/page-title.directive.js +61 -0
- data/app/assets/javascripts/bastion/widgets/page-title.service.js +42 -0
- data/app/assets/javascripts/bastion/widgets/path-selector.directive.js +109 -0
- data/app/assets/javascripts/bastion/widgets/views/current-tasks.html +23 -0
- data/app/assets/javascripts/bastion/widgets/views/path-selector.html +11 -0
- data/app/assets/javascripts/bastion/widgets/widgets.module.js +24 -0
- data/app/assets/stylesheets/bastion/animations.less +15 -0
- data/app/assets/stylesheets/bastion/bastion.less +160 -0
- data/app/assets/stylesheets/bastion/forms.less +41 -0
- data/app/assets/stylesheets/bastion/gpg-keys.less +36 -0
- data/app/assets/stylesheets/bastion/helpers.less +6 -0
- data/app/assets/stylesheets/bastion/mixins.less +15 -0
- data/app/assets/stylesheets/bastion/nutupane.less +382 -0
- data/app/assets/stylesheets/bastion/overrides.less +54 -0
- data/app/assets/stylesheets/bastion/path-selector.less +123 -0
- data/app/assets/stylesheets/bastion/systems.less +35 -0
- data/app/assets/stylesheets/bastion/tasks.less +23 -0
- data/app/assets/stylesheets/bastion/typography.less +31 -0
- data/app/assets/stylesheets/bastion/variables.less +3 -0
- data/app/controllers/bastion/bastion_controller.rb +24 -0
- data/app/views/bastion/layouts/application.html.erb +32 -0
- data/app/views/bastion/layouts/application_ie.html.erb +5 -0
- data/bastion.js +26 -0
- data/bower.json +94 -0
- data/config/routes.rb +25 -0
- data/config/routes/mount_engine.rb +3 -0
- data/grunt/bower.js +20 -0
- data/grunt/htmlhint.js +15 -0
- data/grunt/jshint.js +9 -0
- data/grunt/karma.js +83 -0
- data/lib/bastion.rb +17 -0
- data/lib/bastion/engine.rb +37 -0
- data/lib/bastion/version.rb +3 -0
- data/package.json +29 -0
- data/test/auth/authorization.service.test.js +63 -0
- data/test/bastion/bastion-resource.factory.test.js +31 -0
- data/test/bastion/test-constants.js +30 -0
- data/test/i18n/translate.service.test.js +31 -0
- data/test/incubator/alch-alert.directive.test.js +84 -0
- data/test/incubator/alch-container-scroll.directive.test.js +68 -0
- data/test/incubator/alch-dropdown.directive.test.js +113 -0
- data/test/incubator/alch-edit.directive.test.js +320 -0
- data/test/incubator/alch-flyout.directive.test.js +73 -0
- data/test/incubator/alch-form-buttons.directive.test.js +55 -0
- data/test/incubator/alch-form-group.directive.test.js +76 -0
- data/test/incubator/alch-infinite-scroll.directive.test.js +123 -0
- data/test/incubator/alch-menu.directive.test.js +94 -0
- data/test/incubator/alch-modal.directive.test.js +81 -0
- data/test/incubator/alch-table.directive.test.js +270 -0
- data/test/incubator/format/array-to-string.filter.test.js +38 -0
- data/test/incubator/format/boolean-to-yes-no.filter.test.js +41 -0
- data/test/incubator/format/capitalize.filter.test.js +35 -0
- data/test/incubator/format/key-value-to-string.filter.test.js +60 -0
- data/test/incubator/format/unlimited-filter.filter.test.js +31 -0
- data/test/incubator/nutupane-table.directive.test.js +69 -0
- data/test/incubator/nutupane.factory.test.js +307 -0
- data/test/menu/menu-expander.service.test.js +74 -0
- data/test/test-mocks.module.js +268 -0
- data/test/utils/as.filter.test.js +33 -0
- data/test/utils/form-utils.service.test.js +52 -0
- data/test/widgets/page-title.directive.test.js +54 -0
- data/test/widgets/page-title.service.test.js +51 -0
- data/test/widgets/path-selector.directive.test.js +136 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.svg +399 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.svg +146 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.svg +454 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.woff +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.eot +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.svg +454 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.woff +0 -0
- data/vendor/assets/javascripts/bastion/alchemy/alchemy.js +20 -0
- data/vendor/assets/javascripts/bastion/angular-animate/angular-animate.js +1226 -0
- data/vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js +79 -0
- data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js +3677 -0
- data/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap.js +3427 -0
- data/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +345 -0
- data/vendor/assets/javascripts/bastion/angular-resource/angular-resource.js +594 -0
- data/vendor/assets/javascripts/bastion/angular-route/angular-route.js +920 -0
- data/vendor/assets/javascripts/bastion/angular-sanitize/angular-sanitize.js +622 -0
- data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/datepicker.js +447 -0
- data/vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js +232 -0
- data/vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js +3223 -0
- data/vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js +21 -0
- data/vendor/assets/javascripts/bastion/angular/angular.js +20560 -0
- data/vendor/assets/javascripts/bastion/es5-shim/es5-shim.js +1216 -0
- data/vendor/assets/javascripts/bastion/json3/json3.js +861 -0
- data/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +205 -0
- data/vendor/assets/javascripts/bastion/underscore/underscore.js +1276 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_colors.scss +99 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_media_object.scss +22 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_mixins.scss +24 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/bastion/alchemy/_vars.scss +31 -0
- data/vendor/assets/stylesheets/bastion/alchemy/alchemy.scss +8 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/alerts.less +67 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +51 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/bootstrap.less +49 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +23 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +227 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +155 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +232 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/close.less +33 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/code.less +53 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/component-animations.less +29 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +187 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +375 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +237 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +79 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +136 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +46 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/labels.less +64 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +88 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/media.less +56 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +845 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +129 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +612 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +242 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +406 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +55 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +85 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +182 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +133 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/print.less +105 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less +80 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +209 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +119 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +231 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +247 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +36 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +95 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/type.less +281 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/utilities.less +56 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +642 -0
- data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +29 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/bootstrap.less +84 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +129 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +93 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome-ie7.less +1953 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +33 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +381 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +48 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +14 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +735 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bootstrap.scss +84 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +129 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +93 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +381 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +48 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +14 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +734 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome-ie7.scss +1953 -0
- data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +33 -0
- data/vendor/assets/stylesheets/bastion/rcue/buttons.less +44 -0
- data/vendor/assets/stylesheets/bastion/rcue/fonts.less +52 -0
- data/vendor/assets/stylesheets/bastion/rcue/forms.less +19 -0
- data/vendor/assets/stylesheets/bastion/rcue/mixins.less +50 -0
- data/vendor/assets/stylesheets/bastion/rcue/navbar.less +481 -0
- data/vendor/assets/stylesheets/bastion/rcue/rcue.less +15 -0
- data/vendor/assets/stylesheets/bastion/rcue/variables.less +47 -0
- metadata +376 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
//
|
2
|
+
// Thumbnails
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Mixin and adjust the regular image class
|
7
|
+
.thumbnail {
|
8
|
+
display: block;
|
9
|
+
padding: @thumbnail-padding;
|
10
|
+
margin-bottom: @line-height-computed;
|
11
|
+
line-height: @line-height-base;
|
12
|
+
background-color: @thumbnail-bg;
|
13
|
+
border: 1px solid @thumbnail-border;
|
14
|
+
border-radius: @thumbnail-border-radius;
|
15
|
+
.transition(all .2s ease-in-out);
|
16
|
+
|
17
|
+
> img,
|
18
|
+
a > img {
|
19
|
+
.img-responsive();
|
20
|
+
margin-left: auto;
|
21
|
+
margin-right: auto;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Add a hover state for linked versions only
|
25
|
+
a&:hover,
|
26
|
+
a&:focus,
|
27
|
+
a&.active {
|
28
|
+
border-color: @link-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Image captions
|
32
|
+
.caption {
|
33
|
+
padding: @thumbnail-caption-padding;
|
34
|
+
color: @thumbnail-caption-color;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
//
|
2
|
+
// Tooltips
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.tooltip {
|
8
|
+
position: absolute;
|
9
|
+
z-index: @zindex-tooltip;
|
10
|
+
display: block;
|
11
|
+
visibility: visible;
|
12
|
+
font-size: @font-size-small;
|
13
|
+
line-height: 1.4;
|
14
|
+
.opacity(0);
|
15
|
+
|
16
|
+
&.in { .opacity(.9); }
|
17
|
+
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
|
18
|
+
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
|
19
|
+
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
|
20
|
+
&.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
|
21
|
+
}
|
22
|
+
|
23
|
+
// Wrapper for the tooltip content
|
24
|
+
.tooltip-inner {
|
25
|
+
max-width: @tooltip-max-width;
|
26
|
+
padding: 3px 8px;
|
27
|
+
color: @tooltip-color;
|
28
|
+
text-align: center;
|
29
|
+
text-decoration: none;
|
30
|
+
background-color: @tooltip-bg;
|
31
|
+
border-radius: @border-radius-base;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Arrows
|
35
|
+
.tooltip-arrow {
|
36
|
+
position: absolute;
|
37
|
+
width: 0;
|
38
|
+
height: 0;
|
39
|
+
border-color: transparent;
|
40
|
+
border-style: solid;
|
41
|
+
}
|
42
|
+
.tooltip {
|
43
|
+
&.top .tooltip-arrow {
|
44
|
+
bottom: 0;
|
45
|
+
left: 50%;
|
46
|
+
margin-left: -@tooltip-arrow-width;
|
47
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
48
|
+
border-top-color: @tooltip-arrow-color;
|
49
|
+
}
|
50
|
+
&.top-left .tooltip-arrow {
|
51
|
+
bottom: 0;
|
52
|
+
left: @tooltip-arrow-width;
|
53
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
54
|
+
border-top-color: @tooltip-arrow-color;
|
55
|
+
}
|
56
|
+
&.top-right .tooltip-arrow {
|
57
|
+
bottom: 0;
|
58
|
+
right: @tooltip-arrow-width;
|
59
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
60
|
+
border-top-color: @tooltip-arrow-color;
|
61
|
+
}
|
62
|
+
&.right .tooltip-arrow {
|
63
|
+
top: 50%;
|
64
|
+
left: 0;
|
65
|
+
margin-top: -@tooltip-arrow-width;
|
66
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
|
67
|
+
border-right-color: @tooltip-arrow-color;
|
68
|
+
}
|
69
|
+
&.left .tooltip-arrow {
|
70
|
+
top: 50%;
|
71
|
+
right: 0;
|
72
|
+
margin-top: -@tooltip-arrow-width;
|
73
|
+
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
|
74
|
+
border-left-color: @tooltip-arrow-color;
|
75
|
+
}
|
76
|
+
&.bottom .tooltip-arrow {
|
77
|
+
top: 0;
|
78
|
+
left: 50%;
|
79
|
+
margin-left: -@tooltip-arrow-width;
|
80
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
81
|
+
border-bottom-color: @tooltip-arrow-color;
|
82
|
+
}
|
83
|
+
&.bottom-left .tooltip-arrow {
|
84
|
+
top: 0;
|
85
|
+
left: @tooltip-arrow-width;
|
86
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
87
|
+
border-bottom-color: @tooltip-arrow-color;
|
88
|
+
}
|
89
|
+
&.bottom-right .tooltip-arrow {
|
90
|
+
top: 0;
|
91
|
+
right: @tooltip-arrow-width;
|
92
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
93
|
+
border-bottom-color: @tooltip-arrow-color;
|
94
|
+
}
|
95
|
+
}
|
@@ -0,0 +1,281 @@
|
|
1
|
+
//
|
2
|
+
// Typography
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Headings
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
h1, h2, h3, h4, h5, h6,
|
10
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
11
|
+
font-family: @headings-font-family;
|
12
|
+
font-weight: @headings-font-weight;
|
13
|
+
line-height: @headings-line-height;
|
14
|
+
color: @headings-color;
|
15
|
+
|
16
|
+
small,
|
17
|
+
.small {
|
18
|
+
font-weight: normal;
|
19
|
+
line-height: 1;
|
20
|
+
color: @headings-small-color;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
h1,
|
25
|
+
h2,
|
26
|
+
h3 {
|
27
|
+
margin-top: @line-height-computed;
|
28
|
+
margin-bottom: (@line-height-computed / 2);
|
29
|
+
|
30
|
+
small,
|
31
|
+
.small {
|
32
|
+
font-size: 65%;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
h4,
|
36
|
+
h5,
|
37
|
+
h6 {
|
38
|
+
margin-top: (@line-height-computed / 2);
|
39
|
+
margin-bottom: (@line-height-computed / 2);
|
40
|
+
|
41
|
+
small,
|
42
|
+
.small {
|
43
|
+
font-size: 75%;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
h1, .h1 { font-size: @font-size-h1; }
|
48
|
+
h2, .h2 { font-size: @font-size-h2; }
|
49
|
+
h3, .h3 { font-size: @font-size-h3; }
|
50
|
+
h4, .h4 { font-size: @font-size-h4; }
|
51
|
+
h5, .h5 { font-size: @font-size-h5; }
|
52
|
+
h6, .h6 { font-size: @font-size-h6; }
|
53
|
+
|
54
|
+
|
55
|
+
// Body text
|
56
|
+
// -------------------------
|
57
|
+
|
58
|
+
p {
|
59
|
+
margin: 0 0 (@line-height-computed / 2);
|
60
|
+
}
|
61
|
+
|
62
|
+
.lead {
|
63
|
+
margin-bottom: @line-height-computed;
|
64
|
+
font-size: floor(@font-size-base * 1.15);
|
65
|
+
font-weight: 200;
|
66
|
+
line-height: 1.4;
|
67
|
+
|
68
|
+
@media (min-width: @screen-sm-min) {
|
69
|
+
font-size: (@font-size-base * 1.5);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
// Emphasis & misc
|
75
|
+
// -------------------------
|
76
|
+
|
77
|
+
// Ex: 14px base font * 85% = about 12px
|
78
|
+
small,
|
79
|
+
.small { font-size: 85%; }
|
80
|
+
|
81
|
+
// Undo browser default styling
|
82
|
+
cite { font-style: normal; }
|
83
|
+
|
84
|
+
// Contextual emphasis
|
85
|
+
.text-muted {
|
86
|
+
color: @text-muted;
|
87
|
+
}
|
88
|
+
.text-primary {
|
89
|
+
color: @brand-primary;
|
90
|
+
&:hover {
|
91
|
+
color: darken(@brand-primary, 10%);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.text-warning {
|
95
|
+
color: @state-warning-text;
|
96
|
+
&:hover {
|
97
|
+
color: darken(@state-warning-text, 10%);
|
98
|
+
}
|
99
|
+
}
|
100
|
+
.text-danger {
|
101
|
+
color: @state-danger-text;
|
102
|
+
&:hover {
|
103
|
+
color: darken(@state-danger-text, 10%);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
.text-success {
|
107
|
+
color: @state-success-text;
|
108
|
+
&:hover {
|
109
|
+
color: darken(@state-success-text, 10%);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
.text-info {
|
113
|
+
color: @state-info-text;
|
114
|
+
&:hover {
|
115
|
+
color: darken(@state-info-text, 10%);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
// Alignment
|
120
|
+
.text-left { text-align: left; }
|
121
|
+
.text-right { text-align: right; }
|
122
|
+
.text-center { text-align: center; }
|
123
|
+
|
124
|
+
|
125
|
+
// Page header
|
126
|
+
// -------------------------
|
127
|
+
|
128
|
+
.page-header {
|
129
|
+
padding-bottom: ((@line-height-computed / 2) - 1);
|
130
|
+
margin: (@line-height-computed * 2) 0 @line-height-computed;
|
131
|
+
border-bottom: 1px solid @page-header-border-color;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
// Lists
|
136
|
+
// --------------------------------------------------
|
137
|
+
|
138
|
+
// Unordered and Ordered lists
|
139
|
+
ul,
|
140
|
+
ol {
|
141
|
+
margin-top: 0;
|
142
|
+
margin-bottom: (@line-height-computed / 2);
|
143
|
+
ul,
|
144
|
+
ol {
|
145
|
+
margin-bottom: 0;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
// List options
|
150
|
+
|
151
|
+
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
152
|
+
.list-unstyled {
|
153
|
+
padding-left: 0;
|
154
|
+
list-style: none;
|
155
|
+
}
|
156
|
+
|
157
|
+
// Inline turns list items into inline-block
|
158
|
+
.list-inline {
|
159
|
+
.list-unstyled();
|
160
|
+
|
161
|
+
> li {
|
162
|
+
display: inline-block;
|
163
|
+
padding-left: 5px;
|
164
|
+
padding-right: 5px;
|
165
|
+
|
166
|
+
&:first-child {
|
167
|
+
padding-left: 0;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
// Description Lists
|
173
|
+
dl {
|
174
|
+
margin-top: 0; // Remove browser default
|
175
|
+
margin-bottom: @line-height-computed;
|
176
|
+
}
|
177
|
+
dt,
|
178
|
+
dd {
|
179
|
+
line-height: @line-height-base;
|
180
|
+
}
|
181
|
+
dt {
|
182
|
+
font-weight: bold;
|
183
|
+
}
|
184
|
+
dd {
|
185
|
+
margin-left: 0; // Undo browser default
|
186
|
+
}
|
187
|
+
|
188
|
+
// Horizontal description lists
|
189
|
+
//
|
190
|
+
// Defaults to being stacked without any of the below styles applied, until the
|
191
|
+
// grid breakpoint is reached (default of ~768px).
|
192
|
+
|
193
|
+
@media (min-width: @grid-float-breakpoint) {
|
194
|
+
.dl-horizontal {
|
195
|
+
dt {
|
196
|
+
float: left;
|
197
|
+
width: (@component-offset-horizontal - 20);
|
198
|
+
clear: left;
|
199
|
+
text-align: right;
|
200
|
+
.text-overflow();
|
201
|
+
}
|
202
|
+
dd {
|
203
|
+
margin-left: @component-offset-horizontal;
|
204
|
+
.clearfix(); // Clear the floated `dt` if an empty `dd` is present
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
// MISC
|
210
|
+
// ----
|
211
|
+
|
212
|
+
// Abbreviations and acronyms
|
213
|
+
abbr[title],
|
214
|
+
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
215
|
+
abbr[data-original-title] {
|
216
|
+
cursor: help;
|
217
|
+
border-bottom: 1px dotted @abbr-border-color;
|
218
|
+
}
|
219
|
+
.initialism {
|
220
|
+
font-size: 90%;
|
221
|
+
text-transform: uppercase;
|
222
|
+
}
|
223
|
+
|
224
|
+
// Blockquotes
|
225
|
+
blockquote {
|
226
|
+
padding: (@line-height-computed / 2) @line-height-computed;
|
227
|
+
margin: 0 0 @line-height-computed;
|
228
|
+
border-left: 5px solid @blockquote-border-color;
|
229
|
+
p {
|
230
|
+
font-size: (@font-size-base * 1.25);
|
231
|
+
font-weight: 300;
|
232
|
+
line-height: 1.25;
|
233
|
+
}
|
234
|
+
p:last-child {
|
235
|
+
margin-bottom: 0;
|
236
|
+
}
|
237
|
+
small,
|
238
|
+
.small {
|
239
|
+
display: block;
|
240
|
+
line-height: @line-height-base;
|
241
|
+
color: @blockquote-small-color;
|
242
|
+
&:before {
|
243
|
+
content: '\2014 \00A0'; // EM DASH, NBSP
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
// Float right with text-align: right
|
248
|
+
&.pull-right {
|
249
|
+
padding-right: 15px;
|
250
|
+
padding-left: 0;
|
251
|
+
border-right: 5px solid @blockquote-border-color;
|
252
|
+
border-left: 0;
|
253
|
+
p,
|
254
|
+
small,
|
255
|
+
.small {
|
256
|
+
text-align: right;
|
257
|
+
}
|
258
|
+
small,
|
259
|
+
.small {
|
260
|
+
&:before {
|
261
|
+
content: '';
|
262
|
+
}
|
263
|
+
&:after {
|
264
|
+
content: '\00A0 \2014'; // NBSP, EM DASH
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
// Quotes
|
271
|
+
blockquote:before,
|
272
|
+
blockquote:after {
|
273
|
+
content: "";
|
274
|
+
}
|
275
|
+
|
276
|
+
// Addresses
|
277
|
+
address {
|
278
|
+
margin-bottom: @line-height-computed;
|
279
|
+
font-style: normal;
|
280
|
+
line-height: @line-height-base;
|
281
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Floats
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.clearfix {
|
10
|
+
.clearfix();
|
11
|
+
}
|
12
|
+
.center-block {
|
13
|
+
.center-block();
|
14
|
+
}
|
15
|
+
.pull-right {
|
16
|
+
float: right !important;
|
17
|
+
}
|
18
|
+
.pull-left {
|
19
|
+
float: left !important;
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
// Toggling content
|
24
|
+
// -------------------------
|
25
|
+
|
26
|
+
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
27
|
+
.hide {
|
28
|
+
display: none !important;
|
29
|
+
}
|
30
|
+
.show {
|
31
|
+
display: block !important;
|
32
|
+
}
|
33
|
+
.invisible {
|
34
|
+
visibility: hidden;
|
35
|
+
}
|
36
|
+
.text-hide {
|
37
|
+
.text-hide();
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Hide from screenreaders and browsers
|
42
|
+
//
|
43
|
+
// Credit: HTML5 Boilerplate
|
44
|
+
|
45
|
+
.hidden {
|
46
|
+
display: none !important;
|
47
|
+
visibility: hidden !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// For Affix plugin
|
52
|
+
// -------------------------
|
53
|
+
|
54
|
+
.affix {
|
55
|
+
position: fixed;
|
56
|
+
}
|