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,55 @@
|
|
1
|
+
//
|
2
|
+
// Pager pagination
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.pager {
|
7
|
+
padding-left: 0;
|
8
|
+
margin: @line-height-computed 0;
|
9
|
+
list-style: none;
|
10
|
+
text-align: center;
|
11
|
+
.clearfix();
|
12
|
+
li {
|
13
|
+
display: inline;
|
14
|
+
> a,
|
15
|
+
> span {
|
16
|
+
display: inline-block;
|
17
|
+
padding: 5px 14px;
|
18
|
+
background-color: @pagination-bg;
|
19
|
+
border: 1px solid @pagination-border;
|
20
|
+
border-radius: @pager-border-radius;
|
21
|
+
}
|
22
|
+
|
23
|
+
> a:hover,
|
24
|
+
> a:focus {
|
25
|
+
text-decoration: none;
|
26
|
+
background-color: @pagination-hover-bg;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.next {
|
31
|
+
> a,
|
32
|
+
> span {
|
33
|
+
float: right;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.previous {
|
38
|
+
> a,
|
39
|
+
> span {
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.disabled {
|
45
|
+
> a,
|
46
|
+
> a:hover,
|
47
|
+
> a:focus,
|
48
|
+
> span {
|
49
|
+
color: @pager-disabled-color;
|
50
|
+
background-color: @pagination-bg;
|
51
|
+
cursor: not-allowed;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
//
|
2
|
+
// Pagination (multiple pages)
|
3
|
+
// --------------------------------------------------
|
4
|
+
.pagination {
|
5
|
+
display: inline-block;
|
6
|
+
padding-left: 0;
|
7
|
+
margin: @line-height-computed 0;
|
8
|
+
border-radius: @border-radius-base;
|
9
|
+
|
10
|
+
> li {
|
11
|
+
display: inline; // Remove list-style and block-level defaults
|
12
|
+
> a,
|
13
|
+
> span {
|
14
|
+
position: relative;
|
15
|
+
float: left; // Collapse white-space
|
16
|
+
padding: @padding-base-vertical @padding-base-horizontal;
|
17
|
+
line-height: @line-height-base;
|
18
|
+
text-decoration: none;
|
19
|
+
background-color: @pagination-bg;
|
20
|
+
border: 1px solid @pagination-border;
|
21
|
+
margin-left: -1px;
|
22
|
+
}
|
23
|
+
&:first-child {
|
24
|
+
> a,
|
25
|
+
> span {
|
26
|
+
margin-left: 0;
|
27
|
+
.border-left-radius(@border-radius-base);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&:last-child {
|
31
|
+
> a,
|
32
|
+
> span {
|
33
|
+
.border-right-radius(@border-radius-base);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
> li > a,
|
39
|
+
> li > span {
|
40
|
+
&:hover,
|
41
|
+
&:focus {
|
42
|
+
background-color: @pagination-hover-bg;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
> .active > a,
|
47
|
+
> .active > span {
|
48
|
+
&,
|
49
|
+
&:hover,
|
50
|
+
&:focus {
|
51
|
+
z-index: 2;
|
52
|
+
color: @pagination-active-color;
|
53
|
+
background-color: @pagination-active-bg;
|
54
|
+
border-color: @pagination-active-bg;
|
55
|
+
cursor: default;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
> .disabled {
|
60
|
+
> span,
|
61
|
+
> span:hover,
|
62
|
+
> span:focus,
|
63
|
+
> a,
|
64
|
+
> a:hover,
|
65
|
+
> a:focus {
|
66
|
+
color: @pagination-disabled-color;
|
67
|
+
background-color: @pagination-bg;
|
68
|
+
border-color: @pagination-border;
|
69
|
+
cursor: not-allowed;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
// Sizing
|
75
|
+
// --------------------------------------------------
|
76
|
+
|
77
|
+
// Large
|
78
|
+
.pagination-lg {
|
79
|
+
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
80
|
+
}
|
81
|
+
|
82
|
+
// Small
|
83
|
+
.pagination-sm {
|
84
|
+
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
85
|
+
}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
//
|
2
|
+
// Panels
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.panel {
|
8
|
+
margin-bottom: @line-height-computed;
|
9
|
+
background-color: @panel-bg;
|
10
|
+
border: 1px solid transparent;
|
11
|
+
border-radius: @panel-border-radius;
|
12
|
+
.box-shadow(0 1px 1px rgba(0,0,0,.05));
|
13
|
+
}
|
14
|
+
|
15
|
+
// Panel contents
|
16
|
+
.panel-body {
|
17
|
+
padding: 15px;
|
18
|
+
.clearfix();
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
// List groups in panels
|
23
|
+
//
|
24
|
+
// By default, space out list group content from panel headings to account for
|
25
|
+
// any kind of custom content between the two.
|
26
|
+
|
27
|
+
.panel {
|
28
|
+
> .list-group {
|
29
|
+
margin-bottom: 0;
|
30
|
+
|
31
|
+
.list-group-item {
|
32
|
+
border-width: 1px 0;
|
33
|
+
|
34
|
+
// Remove border radius for top one
|
35
|
+
&:first-child {
|
36
|
+
.border-top-radius(0);
|
37
|
+
}
|
38
|
+
// But keep it for the last one
|
39
|
+
&:last-child {
|
40
|
+
border-bottom: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
// Collapse space between when there's no additional content.
|
46
|
+
.panel-heading + .list-group {
|
47
|
+
.list-group-item:first-child {
|
48
|
+
border-top-width: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
// Tables in panels
|
54
|
+
//
|
55
|
+
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
|
56
|
+
// watch it go full width.
|
57
|
+
|
58
|
+
.panel {
|
59
|
+
> .table,
|
60
|
+
> .table-responsive > .table {
|
61
|
+
margin-bottom: 0;
|
62
|
+
}
|
63
|
+
> .panel-body + .table,
|
64
|
+
> .panel-body + .table-responsive {
|
65
|
+
border-top: 1px solid @table-border-color;
|
66
|
+
}
|
67
|
+
> .table > tbody:first-child th,
|
68
|
+
> .table > tbody:first-child td {
|
69
|
+
border-top: 0;
|
70
|
+
}
|
71
|
+
> .table-bordered,
|
72
|
+
> .table-responsive > .table-bordered {
|
73
|
+
border: 0;
|
74
|
+
> thead,
|
75
|
+
> tbody,
|
76
|
+
> tfoot {
|
77
|
+
> tr {
|
78
|
+
> th:first-child,
|
79
|
+
> td:first-child {
|
80
|
+
border-left: 0;
|
81
|
+
}
|
82
|
+
> th:last-child,
|
83
|
+
> td:last-child {
|
84
|
+
border-right: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
&:last-child > th,
|
88
|
+
&:last-child > td {
|
89
|
+
border-bottom: 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
> .table-responsive {
|
95
|
+
border: 0;
|
96
|
+
margin-bottom: 0;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// Optional heading
|
102
|
+
.panel-heading {
|
103
|
+
padding: 10px 15px;
|
104
|
+
border-bottom: 1px solid transparent;
|
105
|
+
.border-top-radius(@panel-border-radius - 1);
|
106
|
+
|
107
|
+
> .dropdown .dropdown-toggle {
|
108
|
+
color: inherit;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// Within heading, strip any `h*` tag of it's default margins for spacing.
|
113
|
+
.panel-title {
|
114
|
+
margin-top: 0;
|
115
|
+
margin-bottom: 0;
|
116
|
+
font-size: ceil((@font-size-base * 1.125));
|
117
|
+
color: inherit;
|
118
|
+
|
119
|
+
> a {
|
120
|
+
color: inherit;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
// Optional footer (stays gray in every modifier class)
|
125
|
+
.panel-footer {
|
126
|
+
padding: 10px 15px;
|
127
|
+
background-color: @panel-footer-bg;
|
128
|
+
border-top: 1px solid @panel-inner-border;
|
129
|
+
.border-bottom-radius(@panel-border-radius - 1);
|
130
|
+
}
|
131
|
+
|
132
|
+
|
133
|
+
// Collapsable panels (aka, accordion)
|
134
|
+
//
|
135
|
+
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
|
136
|
+
// the help of our collapse JavaScript plugin.
|
137
|
+
|
138
|
+
.panel-group {
|
139
|
+
// Tighten up margin so it's only between panels
|
140
|
+
.panel {
|
141
|
+
margin-bottom: 0;
|
142
|
+
border-radius: @panel-border-radius;
|
143
|
+
overflow: hidden; // crop contents when collapsed
|
144
|
+
+ .panel {
|
145
|
+
margin-top: 5px;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.panel-heading {
|
150
|
+
border-bottom: 0;
|
151
|
+
+ .panel-collapse .panel-body {
|
152
|
+
border-top: 1px solid @panel-inner-border;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
.panel-footer {
|
156
|
+
border-top: 0;
|
157
|
+
+ .panel-collapse .panel-body {
|
158
|
+
border-bottom: 1px solid @panel-inner-border;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
// Contextual variations
|
165
|
+
.panel-default {
|
166
|
+
.panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
|
167
|
+
}
|
168
|
+
.panel-primary {
|
169
|
+
.panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
|
170
|
+
}
|
171
|
+
.panel-success {
|
172
|
+
.panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
|
173
|
+
}
|
174
|
+
.panel-warning {
|
175
|
+
.panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
|
176
|
+
}
|
177
|
+
.panel-danger {
|
178
|
+
.panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
|
179
|
+
}
|
180
|
+
.panel-info {
|
181
|
+
.panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
|
182
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
//
|
2
|
+
// Popovers
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.popover {
|
7
|
+
position: absolute;
|
8
|
+
top: 0;
|
9
|
+
left: 0;
|
10
|
+
z-index: @zindex-popover;
|
11
|
+
display: none;
|
12
|
+
max-width: @popover-max-width;
|
13
|
+
padding: 1px;
|
14
|
+
text-align: left; // Reset given new insertion method
|
15
|
+
background-color: @popover-bg;
|
16
|
+
background-clip: padding-box;
|
17
|
+
border: 1px solid @popover-fallback-border-color;
|
18
|
+
border: 1px solid @popover-border-color;
|
19
|
+
border-radius: @border-radius-large;
|
20
|
+
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
21
|
+
|
22
|
+
// Overrides for proper insertion
|
23
|
+
white-space: normal;
|
24
|
+
|
25
|
+
// Offset the popover to account for the popover arrow
|
26
|
+
&.top { margin-top: -10px; }
|
27
|
+
&.right { margin-left: 10px; }
|
28
|
+
&.bottom { margin-top: 10px; }
|
29
|
+
&.left { margin-left: -10px; }
|
30
|
+
}
|
31
|
+
|
32
|
+
.popover-title {
|
33
|
+
margin: 0; // reset heading margin
|
34
|
+
padding: 8px 14px;
|
35
|
+
font-size: @font-size-base;
|
36
|
+
font-weight: normal;
|
37
|
+
line-height: 18px;
|
38
|
+
background-color: @popover-title-bg;
|
39
|
+
border-bottom: 1px solid darken(@popover-title-bg, 5%);
|
40
|
+
border-radius: 5px 5px 0 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.popover-content {
|
44
|
+
padding: 9px 14px;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Arrows
|
48
|
+
//
|
49
|
+
// .arrow is outer, .arrow:after is inner
|
50
|
+
|
51
|
+
.popover .arrow {
|
52
|
+
&,
|
53
|
+
&:after {
|
54
|
+
position: absolute;
|
55
|
+
display: block;
|
56
|
+
width: 0;
|
57
|
+
height: 0;
|
58
|
+
border-color: transparent;
|
59
|
+
border-style: solid;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
.popover .arrow {
|
63
|
+
border-width: @popover-arrow-outer-width;
|
64
|
+
}
|
65
|
+
.popover .arrow:after {
|
66
|
+
border-width: @popover-arrow-width;
|
67
|
+
content: "";
|
68
|
+
}
|
69
|
+
|
70
|
+
.popover {
|
71
|
+
&.top .arrow {
|
72
|
+
left: 50%;
|
73
|
+
margin-left: -@popover-arrow-outer-width;
|
74
|
+
border-bottom-width: 0;
|
75
|
+
border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
76
|
+
border-top-color: @popover-arrow-outer-color;
|
77
|
+
bottom: -@popover-arrow-outer-width;
|
78
|
+
&:after {
|
79
|
+
content: " ";
|
80
|
+
bottom: 1px;
|
81
|
+
margin-left: -@popover-arrow-width;
|
82
|
+
border-bottom-width: 0;
|
83
|
+
border-top-color: @popover-arrow-color;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
&.right .arrow {
|
87
|
+
top: 50%;
|
88
|
+
left: -@popover-arrow-outer-width;
|
89
|
+
margin-top: -@popover-arrow-outer-width;
|
90
|
+
border-left-width: 0;
|
91
|
+
border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
92
|
+
border-right-color: @popover-arrow-outer-color;
|
93
|
+
&:after {
|
94
|
+
content: " ";
|
95
|
+
left: 1px;
|
96
|
+
bottom: -@popover-arrow-width;
|
97
|
+
border-left-width: 0;
|
98
|
+
border-right-color: @popover-arrow-color;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
&.bottom .arrow {
|
102
|
+
left: 50%;
|
103
|
+
margin-left: -@popover-arrow-outer-width;
|
104
|
+
border-top-width: 0;
|
105
|
+
border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
106
|
+
border-bottom-color: @popover-arrow-outer-color;
|
107
|
+
top: -@popover-arrow-outer-width;
|
108
|
+
&:after {
|
109
|
+
content: " ";
|
110
|
+
top: 1px;
|
111
|
+
margin-left: -@popover-arrow-width;
|
112
|
+
border-top-width: 0;
|
113
|
+
border-bottom-color: @popover-arrow-color;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.left .arrow {
|
118
|
+
top: 50%;
|
119
|
+
right: -@popover-arrow-outer-width;
|
120
|
+
margin-top: -@popover-arrow-outer-width;
|
121
|
+
border-right-width: 0;
|
122
|
+
border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
123
|
+
border-left-color: @popover-arrow-outer-color;
|
124
|
+
&:after {
|
125
|
+
content: " ";
|
126
|
+
right: 1px;
|
127
|
+
border-right-width: 0;
|
128
|
+
border-left-color: @popover-arrow-color;
|
129
|
+
bottom: -@popover-arrow-width;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
}
|