praxis 2.0.pre.6 → 2.0.pre.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +1 -3
- data/CHANGELOG.md +25 -0
- data/TODO.md +1 -4
- data/bin/praxis +67 -12
- data/lib/praxis.rb +10 -3
- data/lib/praxis/action_definition.rb +15 -13
- data/lib/praxis/action_definition/headers_dsl_compiler.rb +0 -7
- data/lib/praxis/api_general_info.rb +1 -1
- data/lib/praxis/application.rb +6 -2
- data/lib/praxis/blueprint.rb +357 -0
- data/lib/praxis/bootloader.rb +9 -3
- data/lib/praxis/bootloader_stages/environment.rb +16 -13
- data/lib/praxis/collection.rb +1 -11
- data/lib/praxis/config_hash.rb +44 -0
- data/lib/praxis/docs/{openapi → open_api}/info_object.rb +18 -10
- data/lib/praxis/docs/{openapi → open_api}/media_type_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/operation_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/parameter_object.rb +2 -2
- data/lib/praxis/docs/{openapi → open_api}/paths_object.rb +12 -15
- data/lib/praxis/docs/{openapi → open_api}/request_body_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/response_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/responses_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/schema_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/server_object.rb +0 -0
- data/lib/praxis/docs/{openapi → open_api}/tag_object.rb +0 -0
- data/lib/praxis/docs/open_api_generator.rb +91 -6
- data/lib/praxis/endpoint_definition.rb +273 -0
- data/lib/praxis/extensions/attribute_filtering/active_record_filter_query_builder.rb +57 -8
- data/lib/praxis/extensions/attribute_filtering/filtering_params.rb +3 -16
- data/lib/praxis/extensions/attribute_filtering/sequel_filter_query_builder.rb +20 -8
- data/lib/praxis/extensions/field_expansion.rb +3 -36
- data/lib/praxis/extensions/pagination.rb +5 -32
- data/lib/praxis/extensions/pagination/ordering_params.rb +5 -1
- data/lib/praxis/extensions/pagination/pagination_params.rb +10 -4
- data/lib/praxis/field_expander.rb +90 -0
- data/lib/praxis/finalizable.rb +34 -0
- data/lib/praxis/mapper/active_model_compat.rb +4 -0
- data/lib/praxis/mapper/resource.rb +18 -2
- data/lib/praxis/mapper/selector_generator.rb +2 -1
- data/lib/praxis/mapper/sequel_compat.rb +7 -0
- data/lib/praxis/media_type.rb +3 -68
- data/lib/praxis/plugin_concern.rb +1 -1
- data/lib/praxis/plugins/mapper_plugin.rb +24 -15
- data/lib/praxis/plugins/pagination_plugin.rb +34 -4
- data/lib/praxis/renderer.rb +88 -0
- data/lib/praxis/request.rb +1 -1
- data/lib/praxis/resource_definition.rb +2 -311
- data/lib/praxis/response_definition.rb +2 -10
- data/lib/praxis/response_template.rb +3 -3
- data/lib/praxis/router.rb +2 -2
- data/lib/praxis/routing_config.rb +1 -1
- data/lib/praxis/tasks/api_docs.rb +17 -64
- data/lib/praxis/tasks/routes.rb +2 -2
- data/lib/praxis/types/media_type_common.rb +1 -11
- data/lib/praxis/version.rb +1 -1
- data/praxis.gemspec +0 -1
- data/spec/functional_spec.rb +5 -9
- data/spec/praxis/action_definition_spec.rb +12 -20
- data/spec/praxis/blueprint_spec.rb +373 -0
- data/spec/praxis/bootloader_spec.rb +10 -2
- data/spec/praxis/collection_spec.rb +0 -13
- data/spec/praxis/config_hash_spec.rb +64 -0
- data/spec/praxis/{resource_definition_spec.rb → endpoint_definition_spec.rb} +37 -64
- data/spec/praxis/extensions/attribute_filtering/active_record_filter_query_builder_spec.rb +19 -8
- data/spec/praxis/extensions/attribute_filtering/filtering_params_spec.rb +106 -0
- data/spec/praxis/extensions/field_expansion_spec.rb +5 -24
- data/spec/praxis/extensions/field_selection/active_record_query_selector_spec.rb +1 -1
- data/spec/praxis/extensions/field_selection/sequel_query_selector_spec.rb +1 -1
- data/spec/praxis/extensions/support/spec_resources_active_model.rb +1 -1
- data/spec/praxis/field_expander_spec.rb +149 -0
- data/spec/praxis/mapper/selector_generator_spec.rb +1 -1
- data/spec/praxis/media_type_identifier_spec.rb +5 -4
- data/spec/praxis/media_type_spec.rb +4 -93
- data/spec/praxis/renderer_spec.rb +188 -0
- data/spec/praxis/response_definition_spec.rb +0 -31
- data/spec/praxis/response_spec.rb +1 -1
- data/spec/praxis/router_spec.rb +8 -8
- data/spec/praxis/routing_config_spec.rb +3 -3
- data/spec/spec_app/app/controllers/instances.rb +13 -7
- data/spec/spec_app/design/media_types/instance.rb +1 -19
- data/spec/spec_app/design/media_types/volume.rb +1 -1
- data/spec/spec_app/design/media_types/volume_snapshot.rb +2 -14
- data/spec/spec_app/design/resources/instances.rb +5 -8
- data/spec/spec_app/design/resources/volume_snapshots.rb +1 -1
- data/spec/spec_app/design/resources/volumes.rb +1 -1
- data/spec/support/spec_authorization_plugin.rb +1 -1
- data/spec/support/spec_blueprints.rb +72 -0
- data/spec/support/{spec_resource_definitions.rb → spec_endpoint_definitions.rb} +2 -2
- data/spec/support/spec_media_types.rb +6 -26
- data/tasks/thor/app.rb +8 -34
- data/tasks/thor/example.rb +51 -285
- data/tasks/thor/model.rb +40 -0
- data/tasks/thor/scaffold.rb +117 -0
- data/tasks/thor/templates/generator/empty_app/.gitignore +0 -1
- data/tasks/thor/templates/generator/empty_app/Gemfile +7 -23
- data/tasks/thor/templates/generator/empty_app/README.md +1 -1
- data/tasks/thor/templates/generator/empty_app/Rakefile +4 -13
- data/tasks/thor/templates/generator/empty_app/{design/response_templates → app/v1/resources}/.empty_directory +0 -0
- data/tasks/thor/templates/generator/empty_app/{design/response_templates → app/v1/resources}/.gitkeep +0 -0
- data/tasks/thor/templates/generator/empty_app/config/environment.rb +26 -17
- data/tasks/thor/templates/generator/empty_app/{design/v1/resources → config/initializers}/.empty_directory +0 -0
- data/tasks/thor/templates/generator/empty_app/{design/v1/resources → config/initializers}/.gitkeep +0 -0
- data/tasks/thor/templates/generator/empty_app/design/v1/endpoints/.empty_directory +0 -0
- data/tasks/thor/templates/generator/empty_app/design/v1/endpoints/.gitkeep +0 -0
- data/tasks/thor/templates/generator/empty_app/docs/.empty_directory +0 -0
- data/tasks/thor/templates/generator/empty_app/docs/.gitkeep +0 -0
- data/tasks/thor/templates/generator/empty_app/spec/spec_helper.rb +14 -9
- data/tasks/thor/templates/generator/example_app/.gitignore +1 -0
- data/tasks/thor/templates/generator/example_app/Gemfile +19 -0
- data/tasks/thor/templates/generator/example_app/Rakefile +61 -0
- data/tasks/thor/templates/generator/example_app/app/models/user.rb +6 -0
- data/tasks/thor/templates/generator/example_app/app/v1/concerns/controller_base.rb +24 -0
- data/tasks/thor/templates/generator/example_app/app/v1/controllers/users.rb +17 -0
- data/tasks/thor/templates/generator/example_app/app/v1/resources/base.rb +11 -0
- data/tasks/thor/templates/generator/example_app/app/v1/resources/user.rb +25 -0
- data/tasks/thor/templates/generator/example_app/config.ru +30 -0
- data/tasks/thor/templates/generator/example_app/config/environment.rb +41 -0
- data/tasks/thor/templates/generator/example_app/db/migrate/20201010101010_create_users_table.rb +12 -0
- data/tasks/thor/templates/generator/example_app/db/seeds.rb +6 -0
- data/tasks/thor/templates/generator/example_app/design/api.rb +18 -0
- data/tasks/thor/templates/generator/example_app/design/v1/endpoints/users.rb +37 -0
- data/tasks/thor/templates/generator/example_app/design/v1/media_types/user.rb +21 -0
- data/tasks/thor/templates/generator/example_app/spec/helpers/database_helper.rb +20 -0
- data/tasks/thor/templates/generator/example_app/spec/spec_helper.rb +42 -0
- data/tasks/thor/templates/generator/example_app/spec/v1/controllers/users_spec.rb +37 -0
- data/tasks/thor/templates/generator/scaffold/design/endpoints/collection.rb +98 -0
- data/tasks/thor/templates/generator/scaffold/design/media_types/item.rb +18 -0
- data/tasks/thor/templates/generator/scaffold/implementation/controllers/collection.rb +77 -0
- data/tasks/thor/templates/generator/scaffold/implementation/resources/base.rb +11 -0
- data/tasks/thor/templates/generator/scaffold/implementation/resources/item.rb +45 -0
- data/tasks/thor/templates/generator/scaffold/models/active_record.rb +6 -0
- data/tasks/thor/templates/generator/scaffold/models/sequel.rb +6 -0
- metadata +62 -136
- data/lib/api_browser/.bowerrc +0 -3
- data/lib/api_browser/.editorconfig +0 -21
- data/lib/api_browser/Gruntfile.js +0 -581
- data/lib/api_browser/app/index.html +0 -59
- data/lib/api_browser/app/js/app.js +0 -48
- data/lib/api_browser/app/js/controllers/action.js +0 -47
- data/lib/api_browser/app/js/controllers/controller.js +0 -10
- data/lib/api_browser/app/js/controllers/menu.js +0 -93
- data/lib/api_browser/app/js/controllers/trait.js +0 -10
- data/lib/api_browser/app/js/controllers/type.js +0 -24
- data/lib/api_browser/app/js/directives/attribute_description.js +0 -56
- data/lib/api_browser/app/js/directives/attribute_table.js +0 -28
- data/lib/api_browser/app/js/directives/conditional_requirements.js +0 -13
- data/lib/api_browser/app/js/directives/fixed_if_fits.js +0 -38
- data/lib/api_browser/app/js/directives/highlight.js +0 -14
- data/lib/api_browser/app/js/directives/menu_item.js +0 -59
- data/lib/api_browser/app/js/directives/no_container.js +0 -8
- data/lib/api_browser/app/js/directives/readable_list.js +0 -87
- data/lib/api_browser/app/js/directives/request_examples.js +0 -31
- data/lib/api_browser/app/js/directives/type_placeholder.js +0 -30
- data/lib/api_browser/app/js/directives/url.js +0 -15
- data/lib/api_browser/app/js/factories/Configuration.js +0 -12
- data/lib/api_browser/app/js/factories/Documentation.js +0 -61
- data/lib/api_browser/app/js/factories/Example.js +0 -51
- data/lib/api_browser/app/js/factories/PageInfo.js +0 -9
- data/lib/api_browser/app/js/factories/normalize_attributes.js +0 -20
- data/lib/api_browser/app/js/factories/prepare_template.js +0 -15
- data/lib/api_browser/app/js/factories/template_for.js +0 -128
- data/lib/api_browser/app/js/filters/attribute_name.js +0 -10
- data/lib/api_browser/app/js/filters/friendly_json.js +0 -5
- data/lib/api_browser/app/js/filters/has_requirement.js +0 -14
- data/lib/api_browser/app/js/filters/header_info.js +0 -9
- data/lib/api_browser/app/js/filters/is_empty.js +0 -8
- data/lib/api_browser/app/js/filters/markdown.js +0 -6
- data/lib/api_browser/app/js/filters/resource_name.js +0 -5
- data/lib/api_browser/app/js/filters/tag_requirement.js +0 -13
- data/lib/api_browser/app/sass/modules/_body.scss +0 -40
- data/lib/api_browser/app/sass/modules/_cloke.scss +0 -8
- data/lib/api_browser/app/sass/modules/_header.scss +0 -10
- data/lib/api_browser/app/sass/modules/_nav.scss +0 -7
- data/lib/api_browser/app/sass/modules/_sidebar.scss +0 -134
- data/lib/api_browser/app/sass/modules/_switch.scss +0 -55
- data/lib/api_browser/app/sass/modules/_table.scss +0 -13
- data/lib/api_browser/app/sass/praxis.scss +0 -70
- data/lib/api_browser/app/sass/variables/_bootstrap-variables.scss +0 -774
- data/lib/api_browser/app/views/action.html +0 -97
- data/lib/api_browser/app/views/builtin/field-selector.html +0 -24
- data/lib/api_browser/app/views/controller.html +0 -55
- data/lib/api_browser/app/views/directives/attribute_description.html +0 -2
- data/lib/api_browser/app/views/directives/attribute_description/default.html +0 -2
- data/lib/api_browser/app/views/directives/attribute_description/example.html +0 -13
- data/lib/api_browser/app/views/directives/attribute_description/headers.html +0 -8
- data/lib/api_browser/app/views/directives/attribute_description/member_options.html +0 -4
- data/lib/api_browser/app/views/directives/attribute_description/values.html +0 -14
- data/lib/api_browser/app/views/directives/attribute_table.html +0 -17
- data/lib/api_browser/app/views/directives/menu_item.html +0 -8
- data/lib/api_browser/app/views/directives/url.html +0 -3
- data/lib/api_browser/app/views/examples/general.html +0 -26
- data/lib/api_browser/app/views/home.html +0 -5
- data/lib/api_browser/app/views/layout.html +0 -8
- data/lib/api_browser/app/views/menu.html +0 -42
- data/lib/api_browser/app/views/navbar.html +0 -9
- data/lib/api_browser/app/views/trait.html +0 -13
- data/lib/api_browser/app/views/type.html +0 -6
- data/lib/api_browser/app/views/type/details.html +0 -33
- data/lib/api_browser/app/views/types/embedded/array.html +0 -2
- data/lib/api_browser/app/views/types/embedded/default.html +0 -12
- data/lib/api_browser/app/views/types/embedded/field-selector.html +0 -13
- data/lib/api_browser/app/views/types/embedded/links.html +0 -11
- data/lib/api_browser/app/views/types/embedded/requirements.html +0 -6
- data/lib/api_browser/app/views/types/embedded/single_req.html +0 -9
- data/lib/api_browser/app/views/types/embedded/struct.html +0 -14
- data/lib/api_browser/app/views/types/label/link.html +0 -1
- data/lib/api_browser/app/views/types/label/primitive.html +0 -1
- data/lib/api_browser/app/views/types/label/primitive_collection.html +0 -1
- data/lib/api_browser/app/views/types/label/type.html +0 -1
- data/lib/api_browser/app/views/types/label/type_collection.html +0 -1
- data/lib/api_browser/app/views/types/main/array.html +0 -22
- data/lib/api_browser/app/views/types/main/default.html +0 -23
- data/lib/api_browser/app/views/types/main/hash.html +0 -23
- data/lib/api_browser/app/views/types/standalone/array.html +0 -3
- data/lib/api_browser/app/views/types/standalone/default.html +0 -18
- data/lib/api_browser/app/views/types/standalone/struct.html +0 -2
- data/lib/api_browser/bower_template.json +0 -41
- data/lib/api_browser/package-lock.json +0 -7110
- data/lib/api_browser/package.json +0 -43
- data/lib/praxis/docs/generator.rb +0 -243
- data/lib/praxis/docs/link_builder.rb +0 -30
- data/lib/praxis/links.rb +0 -135
- data/lib/praxis/types/multipart.rb +0 -109
- data/spec/api_browser/directives/type_placeholder_spec.js +0 -134
- data/spec/api_browser/factories/configuration_spec.js +0 -32
- data/spec/api_browser/factories/documentation_spec.js +0 -100
- data/spec/api_browser/factories/normalize_attributes_spec.js +0 -92
- data/spec/api_browser/factories/template_for_spec.js +0 -67
- data/spec/api_browser/filters/attribute_name_spec.js +0 -23
- data/spec/praxis/types/multipart_spec.rb +0 -112
- data/tasks/thor/templates/generator/empty_app/.rspec +0 -1
- data/tasks/thor/templates/generator/empty_app/Guardfile +0 -3
- data/tasks/thor/templates/generator/empty_app/config/rainbows.rb +0 -57
- data/tasks/thor/templates/generator/empty_app/docs/app.js +0 -1
- data/tasks/thor/templates/generator/empty_app/docs/styles.scss +0 -3
@@ -1,10 +0,0 @@
|
|
1
|
-
app.filter('attributeName', function($sce) {
|
2
|
-
return function(input) {
|
3
|
-
var parts = input.split('.');
|
4
|
-
if (parts.length > 1) {
|
5
|
-
var prefix = _.take(parts, parts.length-1).join('.');
|
6
|
-
return $sce.trustAsHtml('<span class="attribute-prefix">' + prefix + '.</span>' + _.last(parts));
|
7
|
-
}
|
8
|
-
return $sce.trustAsHtml(input);
|
9
|
-
};
|
10
|
-
});
|
@@ -1,14 +0,0 @@
|
|
1
|
-
app.filter('hasRequirement', function() {
|
2
|
-
return function(parent_reqs, attr_name) {
|
3
|
-
var name = _.last(attr_name.split('.'));
|
4
|
-
var groups=[]
|
5
|
-
if( parent_reqs.length > 0 ){
|
6
|
-
_.each(parent_reqs, function(reqdef) {
|
7
|
-
if( reqdef.attributes.includes(name) ){
|
8
|
-
groups.push(reqdef.type);
|
9
|
-
}
|
10
|
-
});
|
11
|
-
}
|
12
|
-
return groups;
|
13
|
-
};
|
14
|
-
});
|
@@ -1,13 +0,0 @@
|
|
1
|
-
app.filter('tagRequirement', function() {
|
2
|
-
return function(groups) {
|
3
|
-
if ( typeof groups === 'undefined' || groups.length == 0 ) {
|
4
|
-
return "";
|
5
|
-
}else if (groups.includes('all') ) {
|
6
|
-
var title = "required attribute";
|
7
|
-
return "<span class='required-attribute-mark' title=\""+title+"\" >*</span>"
|
8
|
-
} else {
|
9
|
-
var title = "conditionally required";
|
10
|
-
return"<span class='conditional-attribute-mark' title=\""+title+"\" >*</span>"
|
11
|
-
}
|
12
|
-
};
|
13
|
-
});
|
@@ -1,40 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Body
|
3
|
-
// ------------------------------
|
4
|
-
|
5
|
-
body {
|
6
|
-
padding-top: 65px;
|
7
|
-
padding-bottom: 50px;
|
8
|
-
a {
|
9
|
-
cursor: pointer;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.content {
|
14
|
-
dl {
|
15
|
-
margin-top: 0;
|
16
|
-
margin-bottom: 0;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.verb.get {
|
21
|
-
background: $get-color;
|
22
|
-
}
|
23
|
-
.verb.post {
|
24
|
-
background: $post-color;
|
25
|
-
}
|
26
|
-
.verb.delete {
|
27
|
-
background: $delete-color;
|
28
|
-
}
|
29
|
-
.verb.put {
|
30
|
-
background: $put-color;
|
31
|
-
}
|
32
|
-
.verb.patch {
|
33
|
-
background: $patch-color;
|
34
|
-
}
|
35
|
-
|
36
|
-
.action-divider {
|
37
|
-
border-top: 2px solid darken($hr-border, 4);
|
38
|
-
margin-bottom: 3rem;
|
39
|
-
margin-top: 3rem;
|
40
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
_cloke.scss
|
2
|
-
/*
|
3
|
-
since the cloak css code is added by angular.js, which is at the bottom of the page, we lose all benefit of it.
|
4
|
-
we add it here so that it is loaded at the beginning of the page
|
5
|
-
*/
|
6
|
-
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
|
7
|
-
display: none !important;
|
8
|
-
}
|
@@ -1,134 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Sidebar
|
3
|
-
// ------------------------------
|
4
|
-
|
5
|
-
.sidebar {
|
6
|
-
@media (min-width: $screen-lg-min) {
|
7
|
-
width: 250px;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
.sidebar {
|
12
|
-
&.affix {
|
13
|
-
@media (max-width: $screen-sm-min) {
|
14
|
-
position: relative;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
.sidebar {
|
20
|
-
.open .dropdown-menu {
|
21
|
-
margin-left: 15px;
|
22
|
-
}
|
23
|
-
.list-group {
|
24
|
-
margin-bottom: 0;
|
25
|
-
margin-top: 0;
|
26
|
-
& > menu-item:first-of-type > .menu-item {
|
27
|
-
border-radius: 0;
|
28
|
-
border-top: 0 none;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
.action {
|
32
|
-
background: $table-bg-accent;
|
33
|
-
font-size: 11px;
|
34
|
-
font-weight: bolder;
|
35
|
-
}
|
36
|
-
.menu-item {
|
37
|
-
position: relative;
|
38
|
-
display: block;
|
39
|
-
// Place the border on the list items and negative margin up for better styling
|
40
|
-
margin-bottom: -1px;
|
41
|
-
background-color: $list-group-bg;
|
42
|
-
border: 1px solid $list-group-border;
|
43
|
-
border-width: 1px 0;
|
44
|
-
word-break: break-word;
|
45
|
-
a {
|
46
|
-
display: block;
|
47
|
-
padding: 10px 15px;
|
48
|
-
text-overflow: ellipsis;
|
49
|
-
white-space: nowrap;
|
50
|
-
// Hover state
|
51
|
-
&:hover,
|
52
|
-
&:focus {
|
53
|
-
text-decoration: none;
|
54
|
-
background-color: $list-group-hover-bg;
|
55
|
-
}
|
56
|
-
|
57
|
-
// Active class on item itself, not parent
|
58
|
-
&.active,
|
59
|
-
&.active:hover,
|
60
|
-
&.active:focus {
|
61
|
-
z-index: 2; // Place active items above their siblings for proper border styling
|
62
|
-
color: $list-group-active-color;
|
63
|
-
background-color: $list-group-active-bg;
|
64
|
-
border-color: $list-group-active-border;
|
65
|
-
font-weight: bolder;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
.menu-item {
|
69
|
-
a.action { padding: 10px 2.5rem; }
|
70
|
-
a.main { padding: 10px 2rem; }
|
71
|
-
a.main::before {
|
72
|
-
content: "↳"
|
73
|
-
}
|
74
|
-
.menu-item {
|
75
|
-
a.action { padding: 10px 3.5rem; }
|
76
|
-
a.main { padding: 10px 3rem; }
|
77
|
-
.menu-item {
|
78
|
-
a.action { padding: 10px 4.5rem; }
|
79
|
-
a.main { padding: 10px 4rem; }
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
.tab-list-group {
|
87
|
-
border: 1px solid $nav-tabs-border-color;
|
88
|
-
border-radius: 3px;
|
89
|
-
margin-top: 1rem;
|
90
|
-
}
|
91
|
-
|
92
|
-
.sidebar {
|
93
|
-
.nav-tabs {
|
94
|
-
border: 1px solid $nav-tabs-border-color;
|
95
|
-
border-width: 0 0 1px 0;
|
96
|
-
li {
|
97
|
-
&:first-of-type {
|
98
|
-
a,
|
99
|
-
a:hover,
|
100
|
-
a:focus {
|
101
|
-
border-left: 0 none;
|
102
|
-
border-radius: 2px 2px 0 0;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
&:last-of-type {
|
106
|
-
a,
|
107
|
-
a:hover,
|
108
|
-
a:focus {
|
109
|
-
border-radius: 2px 2px 0 0;
|
110
|
-
border-right: 0 none;
|
111
|
-
}
|
112
|
-
}
|
113
|
-
a {
|
114
|
-
border-bottom: 0;
|
115
|
-
font-size: 12px;
|
116
|
-
padding: 10px 5px;
|
117
|
-
&:hover {
|
118
|
-
background-color: #fff;
|
119
|
-
border-color: transparent;
|
120
|
-
color: $link-hover-color;
|
121
|
-
}
|
122
|
-
}
|
123
|
-
}
|
124
|
-
.active a,
|
125
|
-
.active a:hover,
|
126
|
-
.active a:focus {
|
127
|
-
border-top: 2px solid $link-color;
|
128
|
-
color: $link-color;
|
129
|
-
font-weight: bold;
|
130
|
-
margin-bottom: -1px;
|
131
|
-
}
|
132
|
-
|
133
|
-
}
|
134
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
.onoffswitch {
|
2
|
-
position: relative; width: 96px;
|
3
|
-
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
|
4
|
-
}
|
5
|
-
|
6
|
-
.onoffswitch-checkbox {
|
7
|
-
display: none;
|
8
|
-
}
|
9
|
-
|
10
|
-
.onoffswitch-label {
|
11
|
-
display: block; overflow: hidden; cursor: pointer;
|
12
|
-
border: 2px solid #999999; border-radius: 20px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.onoffswitch-inner {
|
16
|
-
width: 200%; margin-left: -100%;
|
17
|
-
-moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
|
18
|
-
-o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
|
19
|
-
}
|
20
|
-
|
21
|
-
.onoffswitch-inner:before, .onoffswitch-inner:after {
|
22
|
-
float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
|
23
|
-
font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
|
24
|
-
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
|
25
|
-
}
|
26
|
-
|
27
|
-
.onoffswitch-inner:before {
|
28
|
-
content: "Example";
|
29
|
-
padding-left: 8px;
|
30
|
-
background-color: #428BCA; color: #FFFFFF;
|
31
|
-
}
|
32
|
-
|
33
|
-
.onoffswitch-inner:after {
|
34
|
-
content: "Attributes";
|
35
|
-
padding-right: 8px;
|
36
|
-
background-color: #EEEEEE; color: #999999;
|
37
|
-
text-align: right;
|
38
|
-
}
|
39
|
-
|
40
|
-
.onoffswitch-switch {
|
41
|
-
width: 15px; margin: 7.5px;
|
42
|
-
background: #FFFFFF;
|
43
|
-
border: 2px solid #999999; border-radius: 20px;
|
44
|
-
position: absolute; top: 0; bottom: 0; right: 62px;
|
45
|
-
-moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
|
46
|
-
-o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
|
47
|
-
}
|
48
|
-
|
49
|
-
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
|
50
|
-
margin-left: 0;
|
51
|
-
}
|
52
|
-
|
53
|
-
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
|
54
|
-
right: 0px;
|
55
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// API Doc Browser
|
3
|
-
// ------------------------------
|
4
|
-
|
5
|
-
// Bootstrap and Bootstrap variables
|
6
|
-
|
7
|
-
@import "variables/bootstrap-variables";
|
8
|
-
@import "../bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap";
|
9
|
-
|
10
|
-
// Modules
|
11
|
-
|
12
|
-
@import "modules/body";
|
13
|
-
@import "modules/header";
|
14
|
-
@import "modules/sidebar";
|
15
|
-
@import "modules/nav";
|
16
|
-
@import "modules/table";
|
17
|
-
@import "modules/switch";
|
18
|
-
@import "modules/cloke";
|
19
|
-
|
20
|
-
// Miscellaneous
|
21
|
-
|
22
|
-
.required-type {
|
23
|
-
background-color: #f9f9f9;
|
24
|
-
}
|
25
|
-
|
26
|
-
.struct-main-attr-name {
|
27
|
-
color: #b0b0b0;
|
28
|
-
}
|
29
|
-
|
30
|
-
.attribute-prefix {
|
31
|
-
color: #aaa;
|
32
|
-
}
|
33
|
-
|
34
|
-
.required-attribute-mark {
|
35
|
-
color: red;
|
36
|
-
font-weight: bold;
|
37
|
-
}
|
38
|
-
|
39
|
-
.conditional-attribute-mark {
|
40
|
-
color: orange;
|
41
|
-
font-weight: bold;
|
42
|
-
}
|
43
|
-
|
44
|
-
|
45
|
-
.attribute-table {
|
46
|
-
div[class*='col-'] {
|
47
|
-
padding: $table-cell-padding;
|
48
|
-
line-height: $line-height-base;
|
49
|
-
}
|
50
|
-
|
51
|
-
.head {
|
52
|
-
border-bottom: 2px solid $table-border-color;
|
53
|
-
font-weight: bold;
|
54
|
-
}
|
55
|
-
|
56
|
-
.content {
|
57
|
-
|
58
|
-
.row {
|
59
|
-
border-top: 1px solid $table-border-color;
|
60
|
-
}
|
61
|
-
|
62
|
-
.row:nth-child(odd) {
|
63
|
-
background-color: $table-bg-accent;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
h4, h5 {
|
69
|
-
font-weight: 600;
|
70
|
-
}
|
@@ -1,774 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Bootstrap Variables
|
3
|
-
// Customize to fit your needs
|
4
|
-
// ------------------------------
|
5
|
-
|
6
|
-
$bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
|
7
|
-
|
8
|
-
|
9
|
-
// Colors
|
10
|
-
|
11
|
-
// gray colors
|
12
|
-
$gray-darker: lighten(#000, 13.5%) !default; // #222
|
13
|
-
$gray-dark: lighten(#000, 20%) !default; // #333
|
14
|
-
$gray: lighten(#000, 33.5%) !default; // #555
|
15
|
-
$gray-light: lighten(#000, 60%) !default; // #999
|
16
|
-
$gray-lighter: lighten(#000, 93.5%) !default; // #eee
|
17
|
-
|
18
|
-
// brand colors
|
19
|
-
$brand-primary: #0069CC !default;
|
20
|
-
$brand-success: #5FB000 !default;
|
21
|
-
$brand-info: #6E50A1 !default;
|
22
|
-
$brand-warning: #EB9722 !default;
|
23
|
-
$brand-danger: #D11313 !default;
|
24
|
-
|
25
|
-
|
26
|
-
// Scaffolding
|
27
|
-
|
28
|
-
// background color
|
29
|
-
$body-bg: #fff !default;
|
30
|
-
// global text
|
31
|
-
$text-color: $gray-dark !default;
|
32
|
-
// link color.
|
33
|
-
$link-color: $brand-primary !default;
|
34
|
-
// link hover color
|
35
|
-
$link-hover-color: darken($link-color, 15%) !default;
|
36
|
-
|
37
|
-
|
38
|
-
// Typography
|
39
|
-
|
40
|
-
$font-family-sans-serif: Helvetica,arial,freesans,clean,sans-serif !default;
|
41
|
-
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
|
42
|
-
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
43
|
-
$font-family-base: $font-family-sans-serif !default;
|
44
|
-
|
45
|
-
$font-size-base: 13px !default;
|
46
|
-
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
|
47
|
-
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
|
48
|
-
|
49
|
-
$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~33px
|
50
|
-
$font-size-h2: floor(($font-size-base * 2.2)) !default; // ~28px
|
51
|
-
$font-size-h3: ceil(($font-size-base * 1.4)) !default; // ~19px
|
52
|
-
$font-size-h4: ceil(($font-size-base * 1.1)) !default; // ~15px
|
53
|
-
$font-size-h5: $font-size-base !default;
|
54
|
-
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
|
55
|
-
|
56
|
-
// unit-less `line-height` for use in components like buttons
|
57
|
-
$line-height-base: 1.428571429 !default; // 20/14
|
58
|
-
// computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc
|
59
|
-
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
|
60
|
-
|
61
|
-
// by default, this inherits from the `<body>`
|
62
|
-
$headings-font-family: inherit !default;
|
63
|
-
$headings-font-weight: 500 !default;
|
64
|
-
$headings-line-height: 1.1 !default;
|
65
|
-
$headings-color: inherit !default;
|
66
|
-
|
67
|
-
|
68
|
-
// Iconography
|
69
|
-
// Location and filename
|
70
|
-
|
71
|
-
// load fonts from this directory
|
72
|
-
$icon-font-path: "bootstrap/" !default;
|
73
|
-
// file name for all font files
|
74
|
-
$icon-font-name: "glyphicons-halflings-regular" !default;
|
75
|
-
// element ID within SVG icon file
|
76
|
-
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
77
|
-
|
78
|
-
|
79
|
-
// Components
|
80
|
-
// define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
81
|
-
|
82
|
-
$padding-base-vertical: 6px !default;
|
83
|
-
$padding-base-horizontal: 12px !default;
|
84
|
-
|
85
|
-
$padding-large-vertical: 10px !default;
|
86
|
-
$padding-large-horizontal: 16px !default;
|
87
|
-
|
88
|
-
$padding-small-vertical: 5px !default;
|
89
|
-
$padding-small-horizontal: 10px !default;
|
90
|
-
|
91
|
-
$padding-xs-vertical: 1px !default;
|
92
|
-
$padding-xs-horizontal: 5px !default;
|
93
|
-
|
94
|
-
$line-height-large: 1.33 !default;
|
95
|
-
$line-height-small: 1.5 !default;
|
96
|
-
|
97
|
-
$border-radius-base: 4px !default;
|
98
|
-
$border-radius-large: 6px !default;
|
99
|
-
$border-radius-small: 3px !default;
|
100
|
-
|
101
|
-
// global color for active items (e.g., navs or dropdowns)
|
102
|
-
$component-active-color: #fff !default;
|
103
|
-
// global background color for active items (e.g., navs or dropdowns)
|
104
|
-
$component-active-bg: $brand-primary !default;
|
105
|
-
|
106
|
-
// width of the `border` for generating carets that indicator dropdowns
|
107
|
-
$caret-width-base: 4px !default;
|
108
|
-
// carets increase slightly in size for larger components
|
109
|
-
$caret-width-large: 5px !default;
|
110
|
-
|
111
|
-
|
112
|
-
// Tables
|
113
|
-
// customizes the `.table` component with basic values, each used across all table variations
|
114
|
-
|
115
|
-
// padding for `<th>`s and `<td>`s
|
116
|
-
$table-cell-padding: 8px !default;
|
117
|
-
// padding for cells in `.table-condensed`
|
118
|
-
$table-condensed-cell-padding: 5px !default;
|
119
|
-
|
120
|
-
// default background color used for all tables.
|
121
|
-
$table-bg: transparent !default;
|
122
|
-
// background color used for `.table-striped`
|
123
|
-
$table-bg-accent: #f9f9f9 !default;
|
124
|
-
// background color used for `.table-hover`
|
125
|
-
$table-bg-hover: #f5f5f5 !default;
|
126
|
-
$table-bg-active: $table-bg-hover !default;
|
127
|
-
|
128
|
-
// border color for table and cell borders
|
129
|
-
$table-border-color: #ddd !default;
|
130
|
-
|
131
|
-
|
132
|
-
// Buttons
|
133
|
-
// for each of Bootstrap's buttons, define text, background and border color
|
134
|
-
|
135
|
-
$btn-font-weight: normal !default;
|
136
|
-
|
137
|
-
$btn-default-color: #333 !default;
|
138
|
-
$btn-default-bg: #fff !default;
|
139
|
-
$btn-default-border: #ccc !default;
|
140
|
-
|
141
|
-
$btn-primary-color: #fff !default;
|
142
|
-
$btn-primary-bg: $brand-primary !default;
|
143
|
-
$btn-primary-border: darken($btn-primary-bg, 5%) !default;
|
144
|
-
|
145
|
-
$btn-success-color: #fff !default;
|
146
|
-
$btn-success-bg: $brand-success !default;
|
147
|
-
$btn-success-border: darken($btn-success-bg, 5%) !default;
|
148
|
-
|
149
|
-
$btn-info-color: #fff !default;
|
150
|
-
$btn-info-bg: $brand-info !default;
|
151
|
-
$btn-info-border: darken($btn-info-bg, 5%) !default;
|
152
|
-
|
153
|
-
$btn-warning-color: #fff !default;
|
154
|
-
$btn-warning-bg: $brand-warning !default;
|
155
|
-
$btn-warning-border: darken($btn-warning-bg, 5%) !default;
|
156
|
-
|
157
|
-
$btn-danger-color: #fff !default;
|
158
|
-
$btn-danger-bg: $brand-danger !default;
|
159
|
-
$btn-danger-border: darken($btn-danger-bg, 5%) !default;
|
160
|
-
|
161
|
-
$btn-link-disabled-color: $gray-light !default;
|
162
|
-
|
163
|
-
|
164
|
-
// Forms
|
165
|
-
|
166
|
-
// input background color
|
167
|
-
$input-bg: #fff !default;
|
168
|
-
// input disabled background color
|
169
|
-
$input-bg-disabled: $gray-lighter !default;
|
170
|
-
// text color for input
|
171
|
-
$input-color: $gray !default;
|
172
|
-
// input border color
|
173
|
-
$input-border: #ccc !default;
|
174
|
-
// input border radius
|
175
|
-
$input-border-radius: $border-radius-base !default;
|
176
|
-
// border color for inputs on focus
|
177
|
-
$input-border-focus: #66afe9 !default;
|
178
|
-
|
179
|
-
// placeholder text color
|
180
|
-
$input-color-placeholder: $gray-light !default;
|
181
|
-
|
182
|
-
// default `.form-control` height
|
183
|
-
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
|
184
|
-
// large `.form-control` height
|
185
|
-
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
|
186
|
-
//** Small `.form-control` height
|
187
|
-
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
|
188
|
-
|
189
|
-
$legend-color: $gray-dark !default;
|
190
|
-
$legend-border-color: #e5e5e5 !default;
|
191
|
-
|
192
|
-
// background color for textual input addons
|
193
|
-
$input-group-addon-bg: $gray-lighter !default;
|
194
|
-
// border color for textual input addons
|
195
|
-
$input-group-addon-border-color: $input-border !default;
|
196
|
-
|
197
|
-
|
198
|
-
// Dropdowns
|
199
|
-
// dropdown menu container and contents
|
200
|
-
|
201
|
-
// background for the dropdown menu
|
202
|
-
$dropdown-bg: #fff !default;
|
203
|
-
// dropdown menu `border-color`
|
204
|
-
$dropdown-border: rgba(0,0,0,.15) !default;
|
205
|
-
// dropdown menu `border-color` **for IE8**
|
206
|
-
$dropdown-fallback-border: #ccc !default;
|
207
|
-
// divider color for between dropdown items
|
208
|
-
$dropdown-divider-bg: #e5e5e5 !default;
|
209
|
-
|
210
|
-
// dropdown link text color
|
211
|
-
$dropdown-link-color: $gray-dark !default;
|
212
|
-
// hover color for dropdown links
|
213
|
-
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
|
214
|
-
// hover background for dropdown links
|
215
|
-
$dropdown-link-hover-bg: #f5f5f5 !default;
|
216
|
-
|
217
|
-
// active dropdown menu item text color
|
218
|
-
$dropdown-link-active-color: $component-active-color !default;
|
219
|
-
// active dropdown menu item background color.
|
220
|
-
$dropdown-link-active-bg: $component-active-bg !default;
|
221
|
-
|
222
|
-
// disabled dropdown menu item background color
|
223
|
-
$dropdown-link-disabled-color: $gray-light !default;
|
224
|
-
|
225
|
-
// text color for headers within dropdown menus.
|
226
|
-
$dropdown-header-color: $gray-light !default;
|
227
|
-
|
228
|
-
// deprecated `$dropdown-caret-color` as of v3.1.0
|
229
|
-
$dropdown-caret-color: #000 !default;
|
230
|
-
|
231
|
-
|
232
|
-
// Z-index master list
|
233
|
-
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
234
|
-
// of components dependent on the z-axis and are designed to all work together
|
235
|
-
|
236
|
-
$zindex-navbar: 1000 !default;
|
237
|
-
$zindex-dropdown: 1000 !default;
|
238
|
-
$zindex-popover: 1060 !default;
|
239
|
-
$zindex-tooltip: 1070 !default;
|
240
|
-
$zindex-navbar-fixed: 1030 !default;
|
241
|
-
$zindex-modal-background: 1040 !default;
|
242
|
-
$zindex-modal: 1050 !default;
|
243
|
-
|
244
|
-
|
245
|
-
// Media queries breakpoints
|
246
|
-
// define the breakpoints at which your layout will change, adapting to different screen sizes
|
247
|
-
|
248
|
-
// Small screen / tablet
|
249
|
-
$screen-sm-min: 768px !default;
|
250
|
-
// Medium screen / desktop
|
251
|
-
$screen-md-min: 992px !default;
|
252
|
-
// Large screen / wide desktop
|
253
|
-
$screen-lg-min: 1200px !default;
|
254
|
-
|
255
|
-
// So media queries don't overlap when required, provide a maximum
|
256
|
-
$screen-xs-max: ($screen-sm-min - 1) !default;
|
257
|
-
$screen-sm-max: ($screen-md-min - 1) !default;
|
258
|
-
$screen-md-max: ($screen-lg-min - 1) !default;
|
259
|
-
|
260
|
-
|
261
|
-
// Grid system
|
262
|
-
// define your custom responsive grid
|
263
|
-
|
264
|
-
// number of columns in the grid
|
265
|
-
$grid-columns: 12 !default;
|
266
|
-
// padding between columns (gets divided in half for the left and right)
|
267
|
-
$grid-gutter-width: 30px !default;
|
268
|
-
// navbar collapse
|
269
|
-
$grid-float-breakpoint: $screen-sm-min !default;
|
270
|
-
// point at which the navbar begins collapsing
|
271
|
-
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
272
|
-
|
273
|
-
|
274
|
-
// Container sizes
|
275
|
-
// define the maximum width of `.container` for different screen sizes.
|
276
|
-
|
277
|
-
// small screen / tablet
|
278
|
-
$container-tablet: ((720px + $grid-gutter-width)) !default;
|
279
|
-
// for `$screen-sm-min` and up
|
280
|
-
$container-sm: $container-tablet !default;
|
281
|
-
|
282
|
-
// medium screen / desktop
|
283
|
-
$container-desktop: ((940px + $grid-gutter-width)) !default;
|
284
|
-
// for `$screen-md-min` and up.
|
285
|
-
$container-md: $container-desktop !default;
|
286
|
-
|
287
|
-
// large screen / wide desktop
|
288
|
-
$container-large-desktop: ((1140px + $grid-gutter-width)) !default;
|
289
|
-
// for `$screen-lg-min` and up
|
290
|
-
$container-lg: $container-large-desktop !default;
|
291
|
-
|
292
|
-
|
293
|
-
// Navbar
|
294
|
-
|
295
|
-
// navbar basics
|
296
|
-
$navbar-height: 40px !default;
|
297
|
-
$navbar-margin-bottom: $line-height-computed !default;
|
298
|
-
$navbar-border-radius: $border-radius-base !default;
|
299
|
-
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
300
|
-
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
301
|
-
$navbar-collapse-max-height: 340px !default;
|
302
|
-
|
303
|
-
$navbar-default-color: #777 !default;
|
304
|
-
$navbar-default-bg: #f3f3f3 !default;
|
305
|
-
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
306
|
-
|
307
|
-
$navbar-default-gradient-start: #fff !default;
|
308
|
-
$navbar-default-gradient-end: $navbar-default-bg !default;
|
309
|
-
|
310
|
-
// navbar links
|
311
|
-
$navbar-default-link-color: $text-color !default;
|
312
|
-
$navbar-default-link-hover-color: $brand-primary !default;
|
313
|
-
$navbar-default-link-hover-bg: transparent !default;
|
314
|
-
$navbar-default-link-active-color: #555 !default;
|
315
|
-
$navbar-default-link-active-bg: darken($navbar-default-bg, 10) !default;
|
316
|
-
$navbar-default-link-disabled-color: #ccc !default;
|
317
|
-
$navbar-default-link-disabled-bg: transparent !default;
|
318
|
-
|
319
|
-
// navbar brand
|
320
|
-
$navbar-default-brand-color: $navbar-default-link-color !default;
|
321
|
-
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
|
322
|
-
$navbar-default-brand-hover-bg: transparent !default;
|
323
|
-
|
324
|
-
// navbar toggle
|
325
|
-
$navbar-default-toggle-hover-bg: #ddd !default;
|
326
|
-
$navbar-default-toggle-icon-bar-bg: #888 !default;
|
327
|
-
$navbar-default-toggle-border-color: #ddd !default;
|
328
|
-
|
329
|
-
|
330
|
-
// inverted navbar
|
331
|
-
$navbar-inverse-color: $gray-light !default;
|
332
|
-
$navbar-inverse-bg: #222 !default;
|
333
|
-
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
|
334
|
-
|
335
|
-
// inverted navbar links
|
336
|
-
$navbar-inverse-link-color: $gray-light !default;
|
337
|
-
$navbar-inverse-link-hover-color: #fff !default;
|
338
|
-
$navbar-inverse-link-hover-bg: transparent !default;
|
339
|
-
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
|
340
|
-
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
|
341
|
-
$navbar-inverse-link-disabled-color: #444 !default;
|
342
|
-
$navbar-inverse-link-disabled-bg: transparent !default;
|
343
|
-
|
344
|
-
// inverted navbar brand label
|
345
|
-
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
346
|
-
$navbar-inverse-brand-hover-color: #fff !default;
|
347
|
-
$navbar-inverse-brand-hover-bg: transparent !default;
|
348
|
-
|
349
|
-
// inverted navbar toggle
|
350
|
-
$navbar-inverse-toggle-hover-bg: #333 !default;
|
351
|
-
$navbar-inverse-toggle-icon-bar-bg: #fff !default;
|
352
|
-
$navbar-inverse-toggle-border-color: #333 !default;
|
353
|
-
|
354
|
-
|
355
|
-
// Navs
|
356
|
-
|
357
|
-
// shared nav styles
|
358
|
-
$nav-link-padding: 10px 15px !default;
|
359
|
-
$nav-link-hover-bg: $gray-lighter !default;
|
360
|
-
|
361
|
-
$nav-disabled-link-color: $gray-light !default;
|
362
|
-
$nav-disabled-link-hover-color: $gray-light !default;
|
363
|
-
|
364
|
-
$nav-open-link-hover-color: #fff !default;
|
365
|
-
|
366
|
-
// tabs
|
367
|
-
$nav-tabs-border-color: #ddd !default;
|
368
|
-
|
369
|
-
$nav-tabs-link-hover-border-color: $gray-lighter !default;
|
370
|
-
|
371
|
-
$nav-tabs-active-link-hover-bg: $body-bg !default;
|
372
|
-
$nav-tabs-active-link-hover-color: $gray !default;
|
373
|
-
$nav-tabs-active-link-hover-border-color: #ddd !default;
|
374
|
-
|
375
|
-
$nav-tabs-justified-link-border-color: #ddd !default;
|
376
|
-
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
377
|
-
|
378
|
-
// pills
|
379
|
-
$nav-pills-border-radius: $border-radius-base !default;
|
380
|
-
$nav-pills-active-link-hover-bg: $component-active-bg !default;
|
381
|
-
$nav-pills-active-link-hover-color: $component-active-color !default;
|
382
|
-
|
383
|
-
|
384
|
-
// Pagination
|
385
|
-
|
386
|
-
$pagination-color: $link-color !default;
|
387
|
-
$pagination-bg: #fff !default;
|
388
|
-
$pagination-border: #ddd !default;
|
389
|
-
|
390
|
-
$pagination-hover-color: $link-hover-color !default;
|
391
|
-
$pagination-hover-bg: $gray-lighter !default;
|
392
|
-
$pagination-hover-border: #ddd !default;
|
393
|
-
|
394
|
-
$pagination-active-color: #fff !default;
|
395
|
-
$pagination-active-bg: $brand-primary !default;
|
396
|
-
$pagination-active-border: $brand-primary !default;
|
397
|
-
|
398
|
-
$pagination-disabled-color: $gray-light !default;
|
399
|
-
$pagination-disabled-bg: #fff !default;
|
400
|
-
$pagination-disabled-border: #ddd !default;
|
401
|
-
|
402
|
-
|
403
|
-
// Pager
|
404
|
-
|
405
|
-
$pager-bg: $pagination-bg !default;
|
406
|
-
$pager-border: $pagination-border !default;
|
407
|
-
$pager-border-radius: 15px !default;
|
408
|
-
|
409
|
-
$pager-hover-bg: $pagination-hover-bg !default;
|
410
|
-
|
411
|
-
$pager-active-bg: $pagination-active-bg !default;
|
412
|
-
$pager-active-color: $pagination-active-color !default;
|
413
|
-
|
414
|
-
$pager-disabled-color: $pagination-disabled-color !default;
|
415
|
-
|
416
|
-
|
417
|
-
// Jumbotron
|
418
|
-
|
419
|
-
$jumbotron-padding: 30px !default;
|
420
|
-
$jumbotron-color: inherit !default;
|
421
|
-
$jumbotron-bg: $gray-lighter !default;
|
422
|
-
$jumbotron-heading-color: inherit !default;
|
423
|
-
$jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
|
424
|
-
|
425
|
-
|
426
|
-
// Form states and alerts
|
427
|
-
|
428
|
-
$state-success-text: #3c763d !default;
|
429
|
-
$state-success-bg: #dff0d8 !default;
|
430
|
-
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
|
431
|
-
|
432
|
-
$state-info-text: #31708f !default;
|
433
|
-
$state-info-bg: #d9edf7 !default;
|
434
|
-
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
|
435
|
-
|
436
|
-
$state-warning-text: #8a6d3b !default;
|
437
|
-
$state-warning-bg: #fcf8e3 !default;
|
438
|
-
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
|
439
|
-
|
440
|
-
$state-danger-text: #a94442 !default;
|
441
|
-
$state-danger-bg: #f2dede !default;
|
442
|
-
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
|
443
|
-
|
444
|
-
|
445
|
-
// Tooltips
|
446
|
-
|
447
|
-
// tooltip max width
|
448
|
-
$tooltip-max-width: 200px !default;
|
449
|
-
// tooltip text color
|
450
|
-
$tooltip-color: #fff !default;
|
451
|
-
// tooltip background color
|
452
|
-
$tooltip-bg: #000 !default;
|
453
|
-
$tooltip-opacity: 0.9 !default;
|
454
|
-
|
455
|
-
// tooltip arrow width
|
456
|
-
$tooltip-arrow-width: 5px !default;
|
457
|
-
// tooltip arrow color
|
458
|
-
$tooltip-arrow-color: $tooltip-bg !default;
|
459
|
-
|
460
|
-
|
461
|
-
// Popovers
|
462
|
-
|
463
|
-
// popover body background color
|
464
|
-
$popover-bg: #fff !default;
|
465
|
-
// popover maximum width
|
466
|
-
$popover-max-width: 276px !default;
|
467
|
-
// popover border color
|
468
|
-
$popover-border-color: rgba(0,0,0,.2) !default;
|
469
|
-
// popover fallback border color
|
470
|
-
$popover-fallback-border-color: #ccc !default;
|
471
|
-
|
472
|
-
// popover title background color
|
473
|
-
$popover-title-bg: darken($popover-bg, 3%) !default;
|
474
|
-
|
475
|
-
// popover arrow width
|
476
|
-
$popover-arrow-width: 10px !default;
|
477
|
-
// popover arrow color
|
478
|
-
$popover-arrow-color: #fff !default;
|
479
|
-
|
480
|
-
// popover outer arrow width
|
481
|
-
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
482
|
-
// popover outer arrow color
|
483
|
-
$popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
|
484
|
-
// popover outer arrow fallback color
|
485
|
-
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
|
486
|
-
|
487
|
-
|
488
|
-
// Labels
|
489
|
-
|
490
|
-
// default label background color
|
491
|
-
$label-default-bg: $gray-light !default;
|
492
|
-
// primary label background color
|
493
|
-
$label-primary-bg: $brand-primary !default;
|
494
|
-
// success label background color
|
495
|
-
$label-success-bg: $brand-success !default;
|
496
|
-
// info label background color
|
497
|
-
$label-info-bg: $brand-info !default;
|
498
|
-
// warning label background color
|
499
|
-
$label-warning-bg: $brand-warning !default;
|
500
|
-
// danger label background color
|
501
|
-
$label-danger-bg: $brand-danger !default;
|
502
|
-
|
503
|
-
// default label text color
|
504
|
-
$label-color: #fff !default;
|
505
|
-
// default text color of a linked label
|
506
|
-
$label-link-hover-color: #fff !default;
|
507
|
-
|
508
|
-
|
509
|
-
// Modals
|
510
|
-
|
511
|
-
// padding applied to the modal body
|
512
|
-
$modal-inner-padding: 15px !default;
|
513
|
-
|
514
|
-
// padding applied to the modal title
|
515
|
-
$modal-title-padding: 15px !default;
|
516
|
-
// modal title line-height
|
517
|
-
$modal-title-line-height: $line-height-base !default;
|
518
|
-
|
519
|
-
// background color of modal content area
|
520
|
-
$modal-content-bg: #fff !default;
|
521
|
-
// modal content border color
|
522
|
-
$modal-content-border-color: rgba(0,0,0,.2) !default;
|
523
|
-
// modal content border color **for IE8**
|
524
|
-
$modal-content-fallback-border-color: #999 !default;
|
525
|
-
|
526
|
-
// modal backdrop background color
|
527
|
-
$modal-backdrop-bg: #000 !default;
|
528
|
-
// modal backdrop opacity
|
529
|
-
$modal-backdrop-opacity: 0.5 !default;
|
530
|
-
// modal header border color
|
531
|
-
$modal-header-border-color: #e5e5e5 !default;
|
532
|
-
// modal footer border color
|
533
|
-
$modal-footer-border-color: $modal-header-border-color !default;
|
534
|
-
|
535
|
-
$modal-lg: 900px !default;
|
536
|
-
$modal-md: 600px !default;
|
537
|
-
$modal-sm: 300px !default;
|
538
|
-
|
539
|
-
|
540
|
-
// Alerts
|
541
|
-
|
542
|
-
$alert-padding: 15px !default;
|
543
|
-
$alert-border-radius: $border-radius-base !default;
|
544
|
-
$alert-link-font-weight: bold !default;
|
545
|
-
|
546
|
-
$alert-success-bg: $state-success-bg !default;
|
547
|
-
$alert-success-text: $state-success-text !default;
|
548
|
-
$alert-success-border: $state-success-border !default;
|
549
|
-
|
550
|
-
$alert-info-bg: $state-info-bg !default;
|
551
|
-
$alert-info-text: $state-info-text !default;
|
552
|
-
$alert-info-border: $state-info-border !default;
|
553
|
-
|
554
|
-
$alert-warning-bg: $state-warning-bg !default;
|
555
|
-
$alert-warning-text: $state-warning-text !default;
|
556
|
-
$alert-warning-border: $state-warning-border !default;
|
557
|
-
|
558
|
-
$alert-danger-bg: $state-danger-bg !default;
|
559
|
-
$alert-danger-text: $state-danger-text !default;
|
560
|
-
$alert-danger-border: $state-danger-border !default;
|
561
|
-
|
562
|
-
|
563
|
-
// Progress bars
|
564
|
-
|
565
|
-
// background color of the whole progress component
|
566
|
-
$progress-bg: #f5f5f5 !default;
|
567
|
-
// progress bar text color
|
568
|
-
$progress-bar-color: #fff !default;
|
569
|
-
|
570
|
-
// default progress bar color
|
571
|
-
$progress-bar-bg: $brand-primary !default;
|
572
|
-
// success progress bar color
|
573
|
-
$progress-bar-success-bg: $brand-success !default;
|
574
|
-
// warning progress bar color
|
575
|
-
$progress-bar-warning-bg: $brand-warning !default;
|
576
|
-
// danger progress bar color
|
577
|
-
$progress-bar-danger-bg: $brand-danger !default;
|
578
|
-
// info progress bar color
|
579
|
-
$progress-bar-info-bg: $brand-info !default;
|
580
|
-
|
581
|
-
|
582
|
-
// List group
|
583
|
-
|
584
|
-
// background color on `.list-group-item`
|
585
|
-
$list-group-bg: #fff !default;
|
586
|
-
// `.list-group-item` border color
|
587
|
-
$list-group-border: #ddd !default;
|
588
|
-
// list group border radius
|
589
|
-
$list-group-border-radius: $border-radius-base !default;
|
590
|
-
|
591
|
-
// background color of single list items on hover
|
592
|
-
$list-group-hover-bg: #f5f5f5 !default;
|
593
|
-
// text color of active list items
|
594
|
-
$list-group-active-color: $component-active-color !default;
|
595
|
-
// background color of active list items
|
596
|
-
$list-group-active-bg: $component-active-bg !default;
|
597
|
-
// border color of active list elements
|
598
|
-
$list-group-active-border: $list-group-active-bg !default;
|
599
|
-
// text color for content within active list items
|
600
|
-
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
601
|
-
|
602
|
-
// text color of disabled list items
|
603
|
-
$list-group-disabled-color: $gray-light !default;
|
604
|
-
// background color of disabled list items
|
605
|
-
$list-group-disabled-bg: $gray-lighter !default;
|
606
|
-
// text color for content within disabled list items
|
607
|
-
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
608
|
-
|
609
|
-
$list-group-link-color: #555 !default;
|
610
|
-
$list-group-link-hover-color: $list-group-link-color !default;
|
611
|
-
$list-group-link-heading-color: #333 !default;
|
612
|
-
|
613
|
-
|
614
|
-
// Panels
|
615
|
-
|
616
|
-
$panel-bg: #fff !default;
|
617
|
-
$panel-body-padding: 15px !default;
|
618
|
-
$panel-heading-padding: 10px 15px !default;
|
619
|
-
$panel-footer-padding: $panel-heading-padding !default;
|
620
|
-
$panel-border-radius: $border-radius-base !default;
|
621
|
-
|
622
|
-
// border color for elements within panels
|
623
|
-
$panel-inner-border: #ddd !default;
|
624
|
-
$panel-footer-bg: #f5f5f5 !default;
|
625
|
-
|
626
|
-
$panel-default-text: $gray-dark !default;
|
627
|
-
$panel-default-border: #ddd !default;
|
628
|
-
$panel-default-heading-bg: #f5f5f5 !default;
|
629
|
-
|
630
|
-
$panel-primary-text: #fff !default;
|
631
|
-
$panel-primary-border: $brand-primary !default;
|
632
|
-
$panel-primary-heading-bg: $brand-primary !default;
|
633
|
-
|
634
|
-
$panel-success-text: $state-success-text !default;
|
635
|
-
$panel-success-border: $state-success-border !default;
|
636
|
-
$panel-success-heading-bg: $state-success-bg !default;
|
637
|
-
|
638
|
-
$panel-info-text: $state-info-text !default;
|
639
|
-
$panel-info-border: $state-info-border !default;
|
640
|
-
$panel-info-heading-bg: $state-info-bg !default;
|
641
|
-
|
642
|
-
$panel-warning-text: $state-warning-text !default;
|
643
|
-
$panel-warning-border: $state-warning-border !default;
|
644
|
-
$panel-warning-heading-bg: $state-warning-bg !default;
|
645
|
-
|
646
|
-
$panel-danger-text: $state-danger-text !default;
|
647
|
-
$panel-danger-border: $state-danger-border !default;
|
648
|
-
$panel-danger-heading-bg: $state-danger-bg !default;
|
649
|
-
|
650
|
-
|
651
|
-
//== Thumbnails
|
652
|
-
|
653
|
-
// padding around the thumbnail image
|
654
|
-
$thumbnail-padding: 4px !default;
|
655
|
-
// thumbnail background color
|
656
|
-
$thumbnail-bg: $body-bg !default;
|
657
|
-
// thumbnail border color
|
658
|
-
$thumbnail-border: #ddd !default;
|
659
|
-
// thumbnail border radius
|
660
|
-
$thumbnail-border-radius: $border-radius-base !default;
|
661
|
-
|
662
|
-
// custom text color for thumbnail captions
|
663
|
-
$thumbnail-caption-color: $text-color !default;
|
664
|
-
// padding around the thumbnail caption
|
665
|
-
$thumbnail-caption-padding: 9px !default;
|
666
|
-
|
667
|
-
|
668
|
-
// Wells
|
669
|
-
|
670
|
-
$well-bg: #f5f5f5 !default;
|
671
|
-
$well-border: darken($well-bg, 7%) !default;
|
672
|
-
|
673
|
-
|
674
|
-
// Badges
|
675
|
-
|
676
|
-
$badge-color: #fff !default;
|
677
|
-
// linked badge text color on hover
|
678
|
-
$badge-link-hover-color: #fff !default;
|
679
|
-
$badge-bg: $gray-light !default;
|
680
|
-
|
681
|
-
// badge text color in active nav link
|
682
|
-
$badge-active-color: $link-color !default;
|
683
|
-
// badge background color in active nav link
|
684
|
-
$badge-active-bg: #fff !default;
|
685
|
-
|
686
|
-
$badge-font-weight: bold !default;
|
687
|
-
$badge-line-height: 1 !default;
|
688
|
-
$badge-border-radius: 10px !default;
|
689
|
-
|
690
|
-
|
691
|
-
// Breadcrumbs
|
692
|
-
|
693
|
-
$breadcrumb-padding-vertical: 8px !default;
|
694
|
-
$breadcrumb-padding-horizontal: 15px !default;
|
695
|
-
// breadcrumb background color
|
696
|
-
$breadcrumb-bg: #f5f5f5 !default;
|
697
|
-
// breadcrumb text color
|
698
|
-
$breadcrumb-color: #ccc !default;
|
699
|
-
// current page
|
700
|
-
$breadcrumb-active-color: $gray-light !default;
|
701
|
-
// textual separator for between breadcrumb elements
|
702
|
-
$breadcrumb-separator: "/" !default;
|
703
|
-
|
704
|
-
|
705
|
-
// Carousel
|
706
|
-
|
707
|
-
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
708
|
-
|
709
|
-
$carousel-control-color: #fff !default;
|
710
|
-
$carousel-control-width: 15% !default;
|
711
|
-
$carousel-control-opacity: .5 !default;
|
712
|
-
$carousel-control-font-size: 20px !default;
|
713
|
-
|
714
|
-
$carousel-indicator-active-bg: #fff !default;
|
715
|
-
$carousel-indicator-border-color: #fff !default;
|
716
|
-
|
717
|
-
$carousel-caption-color: #fff !default;
|
718
|
-
|
719
|
-
|
720
|
-
// Close
|
721
|
-
|
722
|
-
$close-font-weight: bold !default;
|
723
|
-
$close-color: #000 !default;
|
724
|
-
$close-text-shadow: 0 1px 0 #fff !default;
|
725
|
-
|
726
|
-
|
727
|
-
// Code
|
728
|
-
|
729
|
-
$code-color: #c7254e !default;
|
730
|
-
$code-bg: #f9f2f4 !default;
|
731
|
-
|
732
|
-
$kbd-color: #fff !default;
|
733
|
-
$kbd-bg: #333 !default;
|
734
|
-
|
735
|
-
$pre-bg: #f5f5f5 !default;
|
736
|
-
$pre-color: $gray-dark !default;
|
737
|
-
$pre-border-color: #ccc !default;
|
738
|
-
$pre-scrollable-max-height: 340px !default;
|
739
|
-
|
740
|
-
|
741
|
-
// Type
|
742
|
-
|
743
|
-
// text muted color
|
744
|
-
$text-muted: $gray-light !default;
|
745
|
-
// abbreviations and acronyms border color
|
746
|
-
$abbr-border-color: $gray-light !default;
|
747
|
-
// headings small color
|
748
|
-
$headings-small-color: $gray-light !default;
|
749
|
-
// blockquote small color
|
750
|
-
$blockquote-small-color: $gray-light !default;
|
751
|
-
// blockquote font size
|
752
|
-
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
753
|
-
// blockquote border color
|
754
|
-
$blockquote-border-color: $gray-lighter !default;
|
755
|
-
// page header border color
|
756
|
-
$page-header-border-color: $gray-lighter !default;
|
757
|
-
|
758
|
-
|
759
|
-
// Miscellaneous
|
760
|
-
|
761
|
-
// horizontal line color.
|
762
|
-
$hr-border: $gray-lighter !default;
|
763
|
-
|
764
|
-
// horizontal offset for forms and lists.
|
765
|
-
$component-offset-horizontal: 180px !default;
|
766
|
-
|
767
|
-
// Praxis Specific Variables
|
768
|
-
|
769
|
-
// HTTP verbs
|
770
|
-
$get-color: #85c630 !default;
|
771
|
-
$post-color: #8640b5 !default;
|
772
|
-
$put-color: #e88a3c !default;
|
773
|
-
$delete-color: #b8321e !default;
|
774
|
-
$patch-color: #58b587 !default;
|