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,99 @@
|
|
1
|
+
/*************
|
2
|
+
* Base Colors
|
3
|
+
**************/
|
4
|
+
$application_background_color: rgb(217, 217, 217) !default;
|
5
|
+
$primary_color: rgb(19, 158, 221) !default;
|
6
|
+
$primary_gradient_top_color: lighten($primary_color, 16%) !default;
|
7
|
+
$primary_gradient_bottom_color: darken($primary_color, 0%) !default;
|
8
|
+
$link_color: darken($primary_color, 0%) !default; // default links
|
9
|
+
$text_color: rgb(60, 60, 60) !default;
|
10
|
+
$border_color: rgb(200, 200, 200) !default;
|
11
|
+
$white_color: white !default;
|
12
|
+
$black_color: black !default;
|
13
|
+
$transparent_white_color: rgba(white, 0) !default;
|
14
|
+
|
15
|
+
$success_color: rgb(76,146,23) !default;
|
16
|
+
$warning_color: rgb(255, 134, 14) !default;
|
17
|
+
$error_color: rgb(200,30,40) !default;
|
18
|
+
|
19
|
+
/****************
|
20
|
+
* Palette Colors
|
21
|
+
*****************/
|
22
|
+
|
23
|
+
/* Proposed colour palette
|
24
|
+
===========================*/
|
25
|
+
|
26
|
+
/* Generic default tone for non interactive elements */
|
27
|
+
$tone: #a7b0b2 !default;
|
28
|
+
|
29
|
+
/* Favorite greys for warm interactive elements */
|
30
|
+
$g0: #ffffff !default;
|
31
|
+
$g1: #f6f6f6 !default;
|
32
|
+
$g2: #d7d5cf !default;
|
33
|
+
$g3: #bdbab6 !default;
|
34
|
+
$g4: #9f9d99 !default;
|
35
|
+
$g5: #565753 !default;
|
36
|
+
$g6: #333333 !default;
|
37
|
+
$g7: #222222 !default;
|
38
|
+
$g8: #111111 !default;
|
39
|
+
$g9: #000000 !default;
|
40
|
+
|
41
|
+
/* Red Hat toners */
|
42
|
+
$rh_base: #60605b !default;
|
43
|
+
$rh_cream: #dedcc1 !default;
|
44
|
+
|
45
|
+
/* Red Hat Official */
|
46
|
+
$rh_red1: #cc0000 !default;
|
47
|
+
$rh_red2: #9e292b !default;
|
48
|
+
$rh_red3: #781f1c !default;
|
49
|
+
|
50
|
+
$rh_blue: #4e9fdd !default;
|
51
|
+
$rh_lightblue: #bfdce8 !default;
|
52
|
+
$rh_teal: #2c8596 !default;
|
53
|
+
$rh_dark_blue: #003d6e !default;
|
54
|
+
$rh_lime: #e3e936 !default;
|
55
|
+
$rh_green: #afbf27 !default;
|
56
|
+
$rh_purple: #564979 !default;
|
57
|
+
$rh_orange: #dc9f2e !default;
|
58
|
+
|
59
|
+
/* Red Hat Apps - Web Extended
|
60
|
+
================================*/
|
61
|
+
|
62
|
+
/* Orange (the letter o) */
|
63
|
+
$o7: #400 !default;
|
64
|
+
$o6: #b30 !default;
|
65
|
+
$o5: #c40 !default;
|
66
|
+
$o4: #e70 !default;
|
67
|
+
$o3: #fa0 !default;
|
68
|
+
$o2: #fc3 !default;
|
69
|
+
$o1: #fea !default;
|
70
|
+
|
71
|
+
/* Green */
|
72
|
+
$link_light: #39f !default;
|
73
|
+
$link: #05f !default;
|
74
|
+
$link_dark: #039 !default;
|
75
|
+
|
76
|
+
$green1: #a3d541 !default;
|
77
|
+
$green2: #57a81c !default;
|
78
|
+
$green3: #286200 !default;
|
79
|
+
|
80
|
+
/* Red */
|
81
|
+
$error_color: #990000 !default;
|
82
|
+
$error_lighter_color: lighten($error_color, 60%) !default;
|
83
|
+
|
84
|
+
|
85
|
+
/************
|
86
|
+
* Theme color
|
87
|
+
************/
|
88
|
+
/* background for header */
|
89
|
+
@mixin theme_background_gradient {
|
90
|
+
@include background(
|
91
|
+
linear-gradient(
|
92
|
+
top,
|
93
|
+
$primary_gradient_top_color 0%,
|
94
|
+
$primary_gradient_top_color 40%,
|
95
|
+
$primary_gradient_bottom_color 100%
|
96
|
+
)
|
97
|
+
);
|
98
|
+
}
|
99
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.media, .bd {
|
2
|
+
overflow: hidden;
|
3
|
+
_overflow: visible;
|
4
|
+
zoom: 1;
|
5
|
+
}
|
6
|
+
|
7
|
+
.media {
|
8
|
+
margin: 10px;
|
9
|
+
|
10
|
+
.img {
|
11
|
+
float: left;
|
12
|
+
margin-right: 10px;
|
13
|
+
|
14
|
+
img { display:block; }
|
15
|
+
}
|
16
|
+
|
17
|
+
.imgExt {
|
18
|
+
float: right;
|
19
|
+
margin-left: 10px;
|
20
|
+
}
|
21
|
+
|
22
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// different from basic linear gradient, that it is declaring fallbacks for different browsers
|
2
|
+
@mixin linear_gradient($fallback_color, $start_color, $end_color, $end_color_position: false) {
|
3
|
+
@if $end_color_position {
|
4
|
+
@include background(linear-gradient($start_color, $end_color $end_color_position)); /* general */
|
5
|
+
@include filter-gradient($fallback_color, $fallback_color); /* IE */
|
6
|
+
background-color: $fallback_color; /* fallback */
|
7
|
+
}
|
8
|
+
@else {
|
9
|
+
@include background(linear-gradient($start_color, $end_color)); /* general */
|
10
|
+
@include filter-gradient($start_color, $end_color); /* IE */
|
11
|
+
background-color: $fallback_color; /* fallback */
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
//mixin for making text unselectable in some useful and important cases
|
16
|
+
@mixin unselectable {
|
17
|
+
-webkit-touch-callout: none;
|
18
|
+
-webkit-user-select: none;
|
19
|
+
-khtml-user-select: none;
|
20
|
+
-moz-user-select: none;
|
21
|
+
-ms-user-select: none;
|
22
|
+
user-select: none;
|
23
|
+
}
|
24
|
+
|
@@ -0,0 +1,396 @@
|
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/* ==========================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Correct `block` display not defined in IE 8/9.
|
9
|
+
*/
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `inline-block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
/**
|
37
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
* Remove excess height in iOS 5 devices.
|
39
|
+
*/
|
40
|
+
|
41
|
+
audio:not([controls]) {
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Address styling not present in IE 8/9.
|
48
|
+
*/
|
49
|
+
|
50
|
+
[hidden] {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* ==========================================================================
|
55
|
+
Base
|
56
|
+
========================================================================== */
|
57
|
+
|
58
|
+
/**
|
59
|
+
* 1. Set default font family to sans-serif.
|
60
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
61
|
+
* user zoom.
|
62
|
+
*/
|
63
|
+
|
64
|
+
html {
|
65
|
+
font-family: sans-serif; /* 1 */
|
66
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
67
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
68
|
+
}
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Remove default margin.
|
72
|
+
*/
|
73
|
+
|
74
|
+
body {
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* ==========================================================================
|
79
|
+
Links
|
80
|
+
========================================================================== */
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
84
|
+
*/
|
85
|
+
|
86
|
+
a:focus {
|
87
|
+
outline: thin dotted;
|
88
|
+
}
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
92
|
+
*/
|
93
|
+
|
94
|
+
a:active,
|
95
|
+
a:hover {
|
96
|
+
outline: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* ==========================================================================
|
100
|
+
Typography
|
101
|
+
========================================================================== */
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
105
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
106
|
+
*/
|
107
|
+
|
108
|
+
h1 {
|
109
|
+
font-size: 2em;
|
110
|
+
margin: 0.67em 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
115
|
+
*/
|
116
|
+
|
117
|
+
abbr[title] {
|
118
|
+
border-bottom: 1px dotted;
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
123
|
+
*/
|
124
|
+
|
125
|
+
b,
|
126
|
+
strong {
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Address styling not present in Safari 5 and Chrome.
|
132
|
+
*/
|
133
|
+
|
134
|
+
dfn {
|
135
|
+
font-style: italic;
|
136
|
+
}
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Address differences between Firefox and other browsers.
|
140
|
+
*/
|
141
|
+
|
142
|
+
hr {
|
143
|
+
-moz-box-sizing: content-box;
|
144
|
+
box-sizing: content-box;
|
145
|
+
height: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
/**
|
149
|
+
* Address styling not present in IE 8/9.
|
150
|
+
*/
|
151
|
+
|
152
|
+
mark {
|
153
|
+
background: #ff0;
|
154
|
+
color: #000;
|
155
|
+
}
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Correct font family set oddly in Safari 5 and Chrome.
|
159
|
+
*/
|
160
|
+
|
161
|
+
code,
|
162
|
+
kbd,
|
163
|
+
pre,
|
164
|
+
samp {
|
165
|
+
font-family: monospace, serif;
|
166
|
+
font-size: 1em;
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Improve readability of pre-formatted text in all browsers.
|
171
|
+
*/
|
172
|
+
|
173
|
+
pre {
|
174
|
+
white-space: pre-wrap;
|
175
|
+
}
|
176
|
+
|
177
|
+
/**
|
178
|
+
* Set consistent quote types.
|
179
|
+
*/
|
180
|
+
|
181
|
+
q {
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Address inconsistent and variable font size in all browsers.
|
187
|
+
*/
|
188
|
+
|
189
|
+
small {
|
190
|
+
font-size: 80%;
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
195
|
+
*/
|
196
|
+
|
197
|
+
sub,
|
198
|
+
sup {
|
199
|
+
font-size: 75%;
|
200
|
+
line-height: 0;
|
201
|
+
position: relative;
|
202
|
+
vertical-align: baseline;
|
203
|
+
}
|
204
|
+
|
205
|
+
sup {
|
206
|
+
top: -0.5em;
|
207
|
+
}
|
208
|
+
|
209
|
+
sub {
|
210
|
+
bottom: -0.25em;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* ==========================================================================
|
214
|
+
Embedded content
|
215
|
+
========================================================================== */
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Remove border when inside `a` element in IE 8/9.
|
219
|
+
*/
|
220
|
+
|
221
|
+
img {
|
222
|
+
border: 0;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Correct overflow displayed oddly in IE 9.
|
227
|
+
*/
|
228
|
+
|
229
|
+
svg:not(:root) {
|
230
|
+
overflow: hidden;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* ==========================================================================
|
234
|
+
Figures
|
235
|
+
========================================================================== */
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
239
|
+
*/
|
240
|
+
|
241
|
+
figure {
|
242
|
+
margin: 0;
|
243
|
+
}
|
244
|
+
|
245
|
+
/* ==========================================================================
|
246
|
+
Forms
|
247
|
+
========================================================================== */
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Define consistent border, margin, and padding.
|
251
|
+
*/
|
252
|
+
|
253
|
+
fieldset {
|
254
|
+
border: 1px solid #c0c0c0;
|
255
|
+
margin: 0 2px;
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
257
|
+
}
|
258
|
+
|
259
|
+
/**
|
260
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
261
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
262
|
+
*/
|
263
|
+
|
264
|
+
legend {
|
265
|
+
border: 0; /* 1 */
|
266
|
+
padding: 0; /* 2 */
|
267
|
+
}
|
268
|
+
|
269
|
+
/**
|
270
|
+
* 1. Correct font family not being inherited in all browsers.
|
271
|
+
* 2. Correct font size not being inherited in all browsers.
|
272
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
273
|
+
*/
|
274
|
+
|
275
|
+
button,
|
276
|
+
input,
|
277
|
+
select,
|
278
|
+
textarea {
|
279
|
+
font-family: inherit; /* 1 */
|
280
|
+
font-size: 100%; /* 2 */
|
281
|
+
margin: 0; /* 3 */
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
286
|
+
* the UA stylesheet.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
290
|
+
input {
|
291
|
+
line-height: normal;
|
292
|
+
}
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
296
|
+
* All other form control elements do not inherit `text-transform` values.
|
297
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
298
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
299
|
+
*/
|
300
|
+
|
301
|
+
button,
|
302
|
+
select {
|
303
|
+
text-transform: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
308
|
+
* and `video` controls.
|
309
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
310
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
311
|
+
* `input` and others.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button,
|
315
|
+
html input[type="button"], /* 1 */
|
316
|
+
input[type="reset"],
|
317
|
+
input[type="submit"] {
|
318
|
+
-webkit-appearance: button; /* 2 */
|
319
|
+
cursor: pointer; /* 3 */
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* Re-set default cursor for disabled elements.
|
324
|
+
*/
|
325
|
+
|
326
|
+
button[disabled],
|
327
|
+
html input[disabled] {
|
328
|
+
cursor: default;
|
329
|
+
}
|
330
|
+
|
331
|
+
/**
|
332
|
+
* 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
+
* 2. Remove excess padding in IE 8/9.
|
334
|
+
*/
|
335
|
+
|
336
|
+
input[type="checkbox"],
|
337
|
+
input[type="radio"] {
|
338
|
+
box-sizing: border-box; /* 1 */
|
339
|
+
padding: 0; /* 2 */
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
344
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
345
|
+
* (include `-moz` to future-proof).
|
346
|
+
*/
|
347
|
+
|
348
|
+
input[type="search"] {
|
349
|
+
-webkit-appearance: textfield; /* 1 */
|
350
|
+
-moz-box-sizing: content-box;
|
351
|
+
-webkit-box-sizing: content-box; /* 2 */
|
352
|
+
box-sizing: content-box;
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
357
|
+
* on OS X.
|
358
|
+
*/
|
359
|
+
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
362
|
+
-webkit-appearance: none;
|
363
|
+
}
|
364
|
+
|
365
|
+
/**
|
366
|
+
* Remove inner padding and border in Firefox 4+.
|
367
|
+
*/
|
368
|
+
|
369
|
+
button::-moz-focus-inner,
|
370
|
+
input::-moz-focus-inner {
|
371
|
+
border: 0;
|
372
|
+
padding: 0;
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* 1. Remove default vertical scrollbar in IE 8/9.
|
377
|
+
* 2. Improve readability and alignment in all browsers.
|
378
|
+
*/
|
379
|
+
|
380
|
+
textarea {
|
381
|
+
overflow: auto; /* 1 */
|
382
|
+
vertical-align: top; /* 2 */
|
383
|
+
}
|
384
|
+
|
385
|
+
/* ==========================================================================
|
386
|
+
Tables
|
387
|
+
========================================================================== */
|
388
|
+
|
389
|
+
/**
|
390
|
+
* Remove most spacing between table cells.
|
391
|
+
*/
|
392
|
+
|
393
|
+
table {
|
394
|
+
border-collapse: collapse;
|
395
|
+
border-spacing: 0;
|
396
|
+
}
|