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,31 @@
|
|
1
|
+
/*****************
|
2
|
+
* Font Types
|
3
|
+
*****************/
|
4
|
+
$screenfont: "Liberation Sans", sans-serif !default;
|
5
|
+
$headlinefont: "Overpass", Interstate, sans-serif !default;
|
6
|
+
|
7
|
+
/*****************
|
8
|
+
* Static
|
9
|
+
*****************/
|
10
|
+
$static_width: 960px !default;
|
11
|
+
|
12
|
+
/*****************
|
13
|
+
* Responsive
|
14
|
+
*****************/
|
15
|
+
$responsive_phone_width: 480px !default;
|
16
|
+
$responsive_tablet_width: 768px !default;
|
17
|
+
$responsive_classic_width: 1024px !default;
|
18
|
+
$responsive_wide_width: 1200px !default;
|
19
|
+
|
20
|
+
/*****************
|
21
|
+
* Elements - Global
|
22
|
+
*****************/
|
23
|
+
$border_radius: 3px !default;
|
24
|
+
|
25
|
+
/********
|
26
|
+
* Images
|
27
|
+
*********/
|
28
|
+
$logo_img: image-url("embed/logo.png") no-repeat 0 0 transparent !default;
|
29
|
+
$loading_img: image-url("alchemy/icons/spinner_head.gif") no-repeat 0 0 transparent !default;
|
30
|
+
$arrow_icon: image-url("alchemy/icons/arrow_icon.png") no-repeat 0 0 !default;
|
31
|
+
$chosen_sprite_url: "../../../images/alchemy/icons/chosen-sprite.png" !default;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
//
|
2
|
+
// Alerts
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.alert {
|
10
|
+
padding: @alert-padding;
|
11
|
+
margin-bottom: @line-height-computed;
|
12
|
+
border: 1px solid transparent;
|
13
|
+
border-radius: @alert-border-radius;
|
14
|
+
|
15
|
+
// Headings for larger alerts
|
16
|
+
h4 {
|
17
|
+
margin-top: 0;
|
18
|
+
// Specified for the h4 to prevent conflicts of changing @headings-color
|
19
|
+
color: inherit;
|
20
|
+
}
|
21
|
+
// Provide class for links that match alerts
|
22
|
+
.alert-link {
|
23
|
+
font-weight: @alert-link-font-weight;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Improve alignment and spacing of inner content
|
27
|
+
> p,
|
28
|
+
> ul {
|
29
|
+
margin-bottom: 0;
|
30
|
+
}
|
31
|
+
> p + p {
|
32
|
+
margin-top: 5px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
// Dismissable alerts
|
37
|
+
//
|
38
|
+
// Expand the right padding and account for the close button's positioning.
|
39
|
+
|
40
|
+
.alert-dismissable {
|
41
|
+
padding-right: (@alert-padding + 20);
|
42
|
+
|
43
|
+
// Adjust close link position
|
44
|
+
.close {
|
45
|
+
position: relative;
|
46
|
+
top: -2px;
|
47
|
+
right: -21px;
|
48
|
+
color: inherit;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// Alternate styles
|
53
|
+
//
|
54
|
+
// Generate contextual modifier classes for colorizing the alert.
|
55
|
+
|
56
|
+
.alert-success {
|
57
|
+
.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
|
58
|
+
}
|
59
|
+
.alert-info {
|
60
|
+
.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
|
61
|
+
}
|
62
|
+
.alert-warning {
|
63
|
+
.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
|
64
|
+
}
|
65
|
+
.alert-danger {
|
66
|
+
.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
|
67
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
//
|
2
|
+
// Badges
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base classes
|
7
|
+
.badge {
|
8
|
+
display: inline-block;
|
9
|
+
min-width: 10px;
|
10
|
+
padding: 3px 7px;
|
11
|
+
font-size: @font-size-small;
|
12
|
+
font-weight: @badge-font-weight;
|
13
|
+
color: @badge-color;
|
14
|
+
line-height: @badge-line-height;
|
15
|
+
vertical-align: baseline;
|
16
|
+
white-space: nowrap;
|
17
|
+
text-align: center;
|
18
|
+
background-color: @badge-bg;
|
19
|
+
border-radius: @badge-border-radius;
|
20
|
+
|
21
|
+
// Empty badges collapse automatically (not available in IE8)
|
22
|
+
&:empty {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Quick fix for badges in buttons
|
27
|
+
.btn & {
|
28
|
+
position: relative;
|
29
|
+
top: -1px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Hover state, but only for links
|
34
|
+
a.badge {
|
35
|
+
&:hover,
|
36
|
+
&:focus {
|
37
|
+
color: @badge-link-hover-color;
|
38
|
+
text-decoration: none;
|
39
|
+
cursor: pointer;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
// Account for counters in navs
|
44
|
+
a.list-group-item.active > .badge,
|
45
|
+
.nav-pills > .active > a > .badge {
|
46
|
+
color: @badge-active-color;
|
47
|
+
background-color: @badge-active-bg;
|
48
|
+
}
|
49
|
+
.nav-pills > li > a > .badge {
|
50
|
+
margin-left: 3px;
|
51
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// Core variables and mixins
|
2
|
+
@import "variables.less";
|
3
|
+
@import "mixins.less";
|
4
|
+
|
5
|
+
// Reset
|
6
|
+
@import "normalize.less";
|
7
|
+
@import "print.less";
|
8
|
+
|
9
|
+
// Core CSS
|
10
|
+
@import "scaffolding.less";
|
11
|
+
@import "type.less";
|
12
|
+
@import "code.less";
|
13
|
+
@import "grid.less";
|
14
|
+
@import "tables.less";
|
15
|
+
@import "forms.less";
|
16
|
+
@import "buttons.less";
|
17
|
+
|
18
|
+
// Components
|
19
|
+
@import "component-animations.less";
|
20
|
+
@import "glyphicons.less";
|
21
|
+
@import "dropdowns.less";
|
22
|
+
@import "button-groups.less";
|
23
|
+
@import "input-groups.less";
|
24
|
+
@import "navs.less";
|
25
|
+
@import "navbar.less";
|
26
|
+
@import "breadcrumbs.less";
|
27
|
+
@import "pagination.less";
|
28
|
+
@import "pager.less";
|
29
|
+
@import "labels.less";
|
30
|
+
@import "badges.less";
|
31
|
+
@import "jumbotron.less";
|
32
|
+
@import "thumbnails.less";
|
33
|
+
@import "alerts.less";
|
34
|
+
@import "progress-bars.less";
|
35
|
+
@import "media.less";
|
36
|
+
@import "list-group.less";
|
37
|
+
@import "panels.less";
|
38
|
+
@import "wells.less";
|
39
|
+
@import "close.less";
|
40
|
+
|
41
|
+
// Components w/ JavaScript
|
42
|
+
@import "modals.less";
|
43
|
+
@import "tooltip.less";
|
44
|
+
@import "popovers.less";
|
45
|
+
@import "carousel.less";
|
46
|
+
|
47
|
+
// Utility classes
|
48
|
+
@import "utilities.less";
|
49
|
+
@import "responsive-utilities.less";
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// Breadcrumbs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.breadcrumb {
|
7
|
+
padding: 8px 15px;
|
8
|
+
margin-bottom: @line-height-computed;
|
9
|
+
list-style: none;
|
10
|
+
background-color: @breadcrumb-bg;
|
11
|
+
border-radius: @border-radius-base;
|
12
|
+
> li {
|
13
|
+
display: inline-block;
|
14
|
+
+ li:before {
|
15
|
+
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
16
|
+
padding: 0 5px;
|
17
|
+
color: @breadcrumb-color;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
> .active {
|
21
|
+
color: @breadcrumb-active-color;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,227 @@
|
|
1
|
+
//
|
2
|
+
// Button groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Make the div behave like a button
|
6
|
+
.btn-group,
|
7
|
+
.btn-group-vertical {
|
8
|
+
position: relative;
|
9
|
+
display: inline-block;
|
10
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
11
|
+
> .btn {
|
12
|
+
position: relative;
|
13
|
+
float: left;
|
14
|
+
// Bring the "active" button to the front
|
15
|
+
&:hover,
|
16
|
+
&:focus,
|
17
|
+
&:active,
|
18
|
+
&.active {
|
19
|
+
z-index: 2;
|
20
|
+
}
|
21
|
+
&:focus {
|
22
|
+
// Remove focus outline when dropdown JS adds it after closing the menu
|
23
|
+
outline: none;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Prevent double borders when buttons are next to each other
|
29
|
+
.btn-group {
|
30
|
+
.btn + .btn,
|
31
|
+
.btn + .btn-group,
|
32
|
+
.btn-group + .btn,
|
33
|
+
.btn-group + .btn-group {
|
34
|
+
margin-left: -1px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
// Optional: Group multiple button groups together for a toolbar
|
39
|
+
.btn-toolbar {
|
40
|
+
.clearfix();
|
41
|
+
|
42
|
+
.btn-group {
|
43
|
+
float: left;
|
44
|
+
}
|
45
|
+
// Space out series of button groups
|
46
|
+
> .btn,
|
47
|
+
> .btn-group {
|
48
|
+
+ .btn,
|
49
|
+
+ .btn-group {
|
50
|
+
margin-left: 5px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
56
|
+
border-radius: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
60
|
+
.btn-group > .btn:first-child {
|
61
|
+
margin-left: 0;
|
62
|
+
&:not(:last-child):not(.dropdown-toggle) {
|
63
|
+
.border-right-radius(0);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
67
|
+
.btn-group > .btn:last-child:not(:first-child),
|
68
|
+
.btn-group > .dropdown-toggle:not(:first-child) {
|
69
|
+
.border-left-radius(0);
|
70
|
+
}
|
71
|
+
|
72
|
+
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
73
|
+
.btn-group > .btn-group {
|
74
|
+
float: left;
|
75
|
+
}
|
76
|
+
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
77
|
+
border-radius: 0;
|
78
|
+
}
|
79
|
+
.btn-group > .btn-group:first-child {
|
80
|
+
> .btn:last-child,
|
81
|
+
> .dropdown-toggle {
|
82
|
+
.border-right-radius(0);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
.btn-group > .btn-group:last-child > .btn:first-child {
|
86
|
+
.border-left-radius(0);
|
87
|
+
}
|
88
|
+
|
89
|
+
// On active and open, don't show outline
|
90
|
+
.btn-group .dropdown-toggle:active,
|
91
|
+
.btn-group.open .dropdown-toggle {
|
92
|
+
outline: 0;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
// Sizing
|
97
|
+
//
|
98
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
99
|
+
|
100
|
+
.btn-group-xs > .btn { .btn-xs(); }
|
101
|
+
.btn-group-sm > .btn { .btn-sm(); }
|
102
|
+
.btn-group-lg > .btn { .btn-lg(); }
|
103
|
+
|
104
|
+
|
105
|
+
// Split button dropdowns
|
106
|
+
// ----------------------
|
107
|
+
|
108
|
+
// Give the line between buttons some depth
|
109
|
+
.btn-group > .btn + .dropdown-toggle {
|
110
|
+
padding-left: 8px;
|
111
|
+
padding-right: 8px;
|
112
|
+
}
|
113
|
+
.btn-group > .btn-lg + .dropdown-toggle {
|
114
|
+
padding-left: 12px;
|
115
|
+
padding-right: 12px;
|
116
|
+
}
|
117
|
+
|
118
|
+
// The clickable button for toggling the menu
|
119
|
+
// Remove the gradient and set the same inset shadow as the :active state
|
120
|
+
.btn-group.open .dropdown-toggle {
|
121
|
+
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
122
|
+
|
123
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
124
|
+
&.btn-link {
|
125
|
+
.box-shadow(none);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
// Reposition the caret
|
131
|
+
.btn .caret {
|
132
|
+
margin-left: 0;
|
133
|
+
}
|
134
|
+
// Carets in other button sizes
|
135
|
+
.btn-lg .caret {
|
136
|
+
border-width: @caret-width-large @caret-width-large 0;
|
137
|
+
border-bottom-width: 0;
|
138
|
+
}
|
139
|
+
// Upside down carets for .dropup
|
140
|
+
.dropup .btn-lg .caret {
|
141
|
+
border-width: 0 @caret-width-large @caret-width-large;
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
// Vertical button groups
|
146
|
+
// ----------------------
|
147
|
+
|
148
|
+
.btn-group-vertical {
|
149
|
+
> .btn,
|
150
|
+
> .btn-group,
|
151
|
+
> .btn-group > .btn {
|
152
|
+
display: block;
|
153
|
+
float: none;
|
154
|
+
width: 100%;
|
155
|
+
max-width: 100%;
|
156
|
+
}
|
157
|
+
|
158
|
+
// Clear floats so dropdown menus can be properly placed
|
159
|
+
> .btn-group {
|
160
|
+
.clearfix();
|
161
|
+
> .btn {
|
162
|
+
float: none;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
> .btn + .btn,
|
167
|
+
> .btn + .btn-group,
|
168
|
+
> .btn-group + .btn,
|
169
|
+
> .btn-group + .btn-group {
|
170
|
+
margin-top: -1px;
|
171
|
+
margin-left: 0;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
.btn-group-vertical > .btn {
|
176
|
+
&:not(:first-child):not(:last-child) {
|
177
|
+
border-radius: 0;
|
178
|
+
}
|
179
|
+
&:first-child:not(:last-child) {
|
180
|
+
border-top-right-radius: @border-radius-base;
|
181
|
+
.border-bottom-radius(0);
|
182
|
+
}
|
183
|
+
&:last-child:not(:first-child) {
|
184
|
+
border-bottom-left-radius: @border-radius-base;
|
185
|
+
.border-top-radius(0);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
189
|
+
border-radius: 0;
|
190
|
+
}
|
191
|
+
.btn-group-vertical > .btn-group:first-child {
|
192
|
+
> .btn:last-child,
|
193
|
+
> .dropdown-toggle {
|
194
|
+
.border-bottom-radius(0);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
198
|
+
.border-top-radius(0);
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
// Justified button groups
|
204
|
+
// ----------------------
|
205
|
+
|
206
|
+
.btn-group-justified {
|
207
|
+
display: table;
|
208
|
+
width: 100%;
|
209
|
+
table-layout: fixed;
|
210
|
+
border-collapse: separate;
|
211
|
+
> .btn,
|
212
|
+
> .btn-group {
|
213
|
+
float: none;
|
214
|
+
display: table-cell;
|
215
|
+
width: 1%;
|
216
|
+
}
|
217
|
+
> .btn-group .btn {
|
218
|
+
width: 100%;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
|
223
|
+
// Checkbox and radio options
|
224
|
+
[data-toggle="buttons"] > .btn > input[type="radio"],
|
225
|
+
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
226
|
+
display: none;
|
227
|
+
}
|