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,105 @@
|
|
1
|
+
//
|
2
|
+
// Basic print styles
|
3
|
+
// --------------------------------------------------
|
4
|
+
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
5
|
+
|
6
|
+
@media print {
|
7
|
+
|
8
|
+
* {
|
9
|
+
text-shadow: none !important;
|
10
|
+
color: #000 !important; // Black prints faster: h5bp.com/s
|
11
|
+
background: transparent !important;
|
12
|
+
box-shadow: none !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
a,
|
16
|
+
a:visited {
|
17
|
+
text-decoration: underline;
|
18
|
+
}
|
19
|
+
|
20
|
+
a[href]:after {
|
21
|
+
content: " (" attr(href) ")";
|
22
|
+
}
|
23
|
+
|
24
|
+
abbr[title]:after {
|
25
|
+
content: " (" attr(title) ")";
|
26
|
+
}
|
27
|
+
|
28
|
+
// Don't show links for images, or javascript/internal links
|
29
|
+
a[href^="javascript:"]:after,
|
30
|
+
a[href^="#"]:after {
|
31
|
+
content: "";
|
32
|
+
}
|
33
|
+
|
34
|
+
pre,
|
35
|
+
blockquote {
|
36
|
+
border: 1px solid #999;
|
37
|
+
page-break-inside: avoid;
|
38
|
+
}
|
39
|
+
|
40
|
+
thead {
|
41
|
+
display: table-header-group; // h5bp.com/t
|
42
|
+
}
|
43
|
+
|
44
|
+
tr,
|
45
|
+
img {
|
46
|
+
page-break-inside: avoid;
|
47
|
+
}
|
48
|
+
|
49
|
+
img {
|
50
|
+
max-width: 100% !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
@page {
|
54
|
+
margin: 2cm .5cm;
|
55
|
+
}
|
56
|
+
|
57
|
+
p,
|
58
|
+
h2,
|
59
|
+
h3 {
|
60
|
+
orphans: 3;
|
61
|
+
widows: 3;
|
62
|
+
}
|
63
|
+
|
64
|
+
h2,
|
65
|
+
h3 {
|
66
|
+
page-break-after: avoid;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
70
|
+
// Once fixed, we can just straight up remove this.
|
71
|
+
select {
|
72
|
+
background: #fff !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Bootstrap components
|
76
|
+
.navbar {
|
77
|
+
display: none;
|
78
|
+
}
|
79
|
+
.table {
|
80
|
+
td,
|
81
|
+
th {
|
82
|
+
background-color: #fff !important;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.btn,
|
86
|
+
.dropup > .btn {
|
87
|
+
> .caret {
|
88
|
+
border-top-color: #000 !important;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
.label {
|
92
|
+
border: 1px solid #000;
|
93
|
+
}
|
94
|
+
|
95
|
+
.table {
|
96
|
+
border-collapse: collapse !important;
|
97
|
+
}
|
98
|
+
.table-bordered {
|
99
|
+
th,
|
100
|
+
td {
|
101
|
+
border: 1px solid #ddd !important;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
//
|
2
|
+
// Progress bars
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Bar animations
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
// WebKit
|
10
|
+
@-webkit-keyframes progress-bar-stripes {
|
11
|
+
from { background-position: 40px 0; }
|
12
|
+
to { background-position: 0 0; }
|
13
|
+
}
|
14
|
+
|
15
|
+
// Spec and IE10+
|
16
|
+
@keyframes progress-bar-stripes {
|
17
|
+
from { background-position: 40px 0; }
|
18
|
+
to { background-position: 0 0; }
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
// Bar itself
|
24
|
+
// -------------------------
|
25
|
+
|
26
|
+
// Outer container
|
27
|
+
.progress {
|
28
|
+
overflow: hidden;
|
29
|
+
height: @line-height-computed;
|
30
|
+
margin-bottom: @line-height-computed;
|
31
|
+
background-color: @progress-bg;
|
32
|
+
border-radius: @border-radius-base;
|
33
|
+
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
34
|
+
}
|
35
|
+
|
36
|
+
// Bar of progress
|
37
|
+
.progress-bar {
|
38
|
+
float: left;
|
39
|
+
width: 0%;
|
40
|
+
height: 100%;
|
41
|
+
font-size: @font-size-small;
|
42
|
+
line-height: @line-height-computed;
|
43
|
+
color: @progress-bar-color;
|
44
|
+
text-align: center;
|
45
|
+
background-color: @progress-bar-bg;
|
46
|
+
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
47
|
+
.transition(width .6s ease);
|
48
|
+
}
|
49
|
+
|
50
|
+
// Striped bars
|
51
|
+
.progress-striped .progress-bar {
|
52
|
+
#gradient > .striped();
|
53
|
+
background-size: 40px 40px;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Call animation for the active one
|
57
|
+
.progress.active .progress-bar {
|
58
|
+
.animation(progress-bar-stripes 2s linear infinite);
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
// Variations
|
64
|
+
// -------------------------
|
65
|
+
|
66
|
+
.progress-bar-success {
|
67
|
+
.progress-bar-variant(@progress-bar-success-bg);
|
68
|
+
}
|
69
|
+
|
70
|
+
.progress-bar-info {
|
71
|
+
.progress-bar-variant(@progress-bar-info-bg);
|
72
|
+
}
|
73
|
+
|
74
|
+
.progress-bar-warning {
|
75
|
+
.progress-bar-variant(@progress-bar-warning-bg);
|
76
|
+
}
|
77
|
+
|
78
|
+
.progress-bar-danger {
|
79
|
+
.progress-bar-variant(@progress-bar-danger-bg);
|
80
|
+
}
|
@@ -0,0 +1,209 @@
|
|
1
|
+
//
|
2
|
+
// Responsive: Utility classes
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// IE10 in Windows (Phone) 8
|
7
|
+
//
|
8
|
+
// Support for responsive views via media queries is kind of borked in IE10, for
|
9
|
+
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
10
|
+
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
11
|
+
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
12
|
+
// our Getting Started page for more information on this bug.
|
13
|
+
//
|
14
|
+
// For more information, see the following:
|
15
|
+
//
|
16
|
+
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
17
|
+
// Docs: http://getbootstrap.com/getting-started/#browsers
|
18
|
+
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
19
|
+
|
20
|
+
@-ms-viewport {
|
21
|
+
width: device-width;
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
// Visibility utilities
|
26
|
+
|
27
|
+
.visible-xs {
|
28
|
+
.responsive-invisibility();
|
29
|
+
@media (max-width: @screen-xs-max) {
|
30
|
+
.responsive-visibility();
|
31
|
+
}
|
32
|
+
&.visible-sm {
|
33
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
34
|
+
.responsive-visibility();
|
35
|
+
}
|
36
|
+
}
|
37
|
+
&.visible-md {
|
38
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
39
|
+
.responsive-visibility();
|
40
|
+
}
|
41
|
+
}
|
42
|
+
&.visible-lg {
|
43
|
+
@media (min-width: @screen-lg-min) {
|
44
|
+
.responsive-visibility();
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
.visible-sm {
|
49
|
+
.responsive-invisibility();
|
50
|
+
&.visible-xs {
|
51
|
+
@media (max-width: @screen-xs-max) {
|
52
|
+
.responsive-visibility();
|
53
|
+
}
|
54
|
+
}
|
55
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
56
|
+
.responsive-visibility();
|
57
|
+
}
|
58
|
+
&.visible-md {
|
59
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
60
|
+
.responsive-visibility();
|
61
|
+
}
|
62
|
+
}
|
63
|
+
&.visible-lg {
|
64
|
+
@media (min-width: @screen-lg-min) {
|
65
|
+
.responsive-visibility();
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.visible-md {
|
70
|
+
.responsive-invisibility();
|
71
|
+
&.visible-xs {
|
72
|
+
@media (max-width: @screen-xs-max) {
|
73
|
+
.responsive-visibility();
|
74
|
+
}
|
75
|
+
}
|
76
|
+
&.visible-sm {
|
77
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
78
|
+
.responsive-visibility();
|
79
|
+
}
|
80
|
+
}
|
81
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
82
|
+
.responsive-visibility();
|
83
|
+
}
|
84
|
+
&.visible-lg {
|
85
|
+
@media (min-width: @screen-lg-min) {
|
86
|
+
.responsive-visibility();
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
.visible-lg {
|
91
|
+
.responsive-invisibility();
|
92
|
+
&.visible-xs {
|
93
|
+
@media (max-width: @screen-xs-max) {
|
94
|
+
.responsive-visibility();
|
95
|
+
}
|
96
|
+
}
|
97
|
+
&.visible-sm {
|
98
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
99
|
+
.responsive-visibility();
|
100
|
+
}
|
101
|
+
}
|
102
|
+
&.visible-md {
|
103
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
104
|
+
.responsive-visibility();
|
105
|
+
}
|
106
|
+
}
|
107
|
+
@media (min-width: @screen-lg-min) {
|
108
|
+
.responsive-visibility();
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.hidden-xs {
|
113
|
+
.responsive-visibility();
|
114
|
+
@media (max-width: @screen-xs-max) {
|
115
|
+
.responsive-invisibility();
|
116
|
+
}
|
117
|
+
&.hidden-sm {
|
118
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
119
|
+
.responsive-invisibility();
|
120
|
+
}
|
121
|
+
}
|
122
|
+
&.hidden-md {
|
123
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
124
|
+
.responsive-invisibility();
|
125
|
+
}
|
126
|
+
}
|
127
|
+
&.hidden-lg {
|
128
|
+
@media (min-width: @screen-lg-min) {
|
129
|
+
.responsive-invisibility();
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
.hidden-sm {
|
134
|
+
.responsive-visibility();
|
135
|
+
&.hidden-xs {
|
136
|
+
@media (max-width: @screen-xs-max) {
|
137
|
+
.responsive-invisibility();
|
138
|
+
}
|
139
|
+
}
|
140
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
141
|
+
.responsive-invisibility();
|
142
|
+
}
|
143
|
+
&.hidden-md {
|
144
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
145
|
+
.responsive-invisibility();
|
146
|
+
}
|
147
|
+
}
|
148
|
+
&.hidden-lg {
|
149
|
+
@media (min-width: @screen-lg-min) {
|
150
|
+
.responsive-invisibility();
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
.hidden-md {
|
155
|
+
.responsive-visibility();
|
156
|
+
&.hidden-xs {
|
157
|
+
@media (max-width: @screen-xs-max) {
|
158
|
+
.responsive-invisibility();
|
159
|
+
}
|
160
|
+
}
|
161
|
+
&.hidden-sm {
|
162
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
163
|
+
.responsive-invisibility();
|
164
|
+
}
|
165
|
+
}
|
166
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
167
|
+
.responsive-invisibility();
|
168
|
+
}
|
169
|
+
&.hidden-lg {
|
170
|
+
@media (min-width: @screen-lg-min) {
|
171
|
+
.responsive-invisibility();
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
.hidden-lg {
|
176
|
+
.responsive-visibility();
|
177
|
+
&.hidden-xs {
|
178
|
+
@media (max-width: @screen-xs-max) {
|
179
|
+
.responsive-invisibility();
|
180
|
+
}
|
181
|
+
}
|
182
|
+
&.hidden-sm {
|
183
|
+
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
184
|
+
.responsive-invisibility();
|
185
|
+
}
|
186
|
+
}
|
187
|
+
&.hidden-md {
|
188
|
+
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
189
|
+
.responsive-invisibility();
|
190
|
+
}
|
191
|
+
}
|
192
|
+
@media (min-width: @screen-lg-min) {
|
193
|
+
.responsive-invisibility();
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
// Print utilities
|
198
|
+
.visible-print {
|
199
|
+
.responsive-invisibility();
|
200
|
+
}
|
201
|
+
|
202
|
+
@media print {
|
203
|
+
.visible-print {
|
204
|
+
.responsive-visibility();
|
205
|
+
}
|
206
|
+
.hidden-print {
|
207
|
+
.responsive-invisibility();
|
208
|
+
}
|
209
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
//
|
2
|
+
// Scaffolding
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Reset the box-sizing
|
7
|
+
|
8
|
+
*,
|
9
|
+
*:before,
|
10
|
+
*:after {
|
11
|
+
.box-sizing(border-box);
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
// Body reset
|
16
|
+
|
17
|
+
html {
|
18
|
+
font-size: 62.5%;
|
19
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
20
|
+
}
|
21
|
+
|
22
|
+
body {
|
23
|
+
font-family: @font-family-base;
|
24
|
+
font-size: @font-size-base;
|
25
|
+
line-height: @line-height-base;
|
26
|
+
color: @text-color;
|
27
|
+
background-color: @body-bg;
|
28
|
+
}
|
29
|
+
|
30
|
+
// Reset fonts for relevant elements
|
31
|
+
input,
|
32
|
+
button,
|
33
|
+
select,
|
34
|
+
textarea {
|
35
|
+
font-family: inherit;
|
36
|
+
font-size: inherit;
|
37
|
+
line-height: inherit;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Links
|
42
|
+
|
43
|
+
a {
|
44
|
+
color: @link-color;
|
45
|
+
text-decoration: none;
|
46
|
+
|
47
|
+
&:hover,
|
48
|
+
&:focus {
|
49
|
+
color: @link-hover-color;
|
50
|
+
text-decoration: underline;
|
51
|
+
}
|
52
|
+
|
53
|
+
&:focus {
|
54
|
+
.tab-focus();
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
// Images
|
60
|
+
|
61
|
+
img {
|
62
|
+
vertical-align: middle;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Responsive images (ensure images don't scale beyond their parents)
|
66
|
+
.img-responsive {
|
67
|
+
.img-responsive();
|
68
|
+
}
|
69
|
+
|
70
|
+
// Rounded corners
|
71
|
+
.img-rounded {
|
72
|
+
border-radius: @border-radius-large;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Image thumbnails
|
76
|
+
//
|
77
|
+
// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
|
78
|
+
.img-thumbnail {
|
79
|
+
padding: @thumbnail-padding;
|
80
|
+
line-height: @line-height-base;
|
81
|
+
background-color: @thumbnail-bg;
|
82
|
+
border: 1px solid @thumbnail-border;
|
83
|
+
border-radius: @thumbnail-border-radius;
|
84
|
+
.transition(all .2s ease-in-out);
|
85
|
+
|
86
|
+
// Keep them at most 100% wide
|
87
|
+
.img-responsive(inline-block);
|
88
|
+
}
|
89
|
+
|
90
|
+
// Perfect circle
|
91
|
+
.img-circle {
|
92
|
+
border-radius: 50%; // set radius in percents
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Horizontal rules
|
97
|
+
|
98
|
+
hr {
|
99
|
+
margin-top: @line-height-computed;
|
100
|
+
margin-bottom: @line-height-computed;
|
101
|
+
border: 0;
|
102
|
+
border-top: 1px solid @hr-border;
|
103
|
+
}
|
104
|
+
|
105
|
+
|
106
|
+
// Only display content to screen readers
|
107
|
+
//
|
108
|
+
// See: http://a11yproject.com/posts/how-to-hide-content/
|
109
|
+
|
110
|
+
.sr-only {
|
111
|
+
position: absolute;
|
112
|
+
width: 1px;
|
113
|
+
height: 1px;
|
114
|
+
margin: -1px;
|
115
|
+
padding: 0;
|
116
|
+
overflow: hidden;
|
117
|
+
clip: rect(0,0,0,0);
|
118
|
+
border: 0;
|
119
|
+
}
|