asciidocsy-jekyll-theme 0.3.0.pre.dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/_config.yml +66 -0
- data/_data/theme/alerts.yml +21 -0
- data/_data/theme/blocks.yml +33 -0
- data/_data/theme/forms.yml +72 -0
- data/_data/theme/navigation.yml +53 -0
- data/_data/theme/page-actions.yml +83 -0
- data/_data/theme/policies.yml +68 -0
- data/_data/theme/release-hx.yml +163 -0
- data/_data/theme/scripts.yml +43 -0
- data/_data/theme/semantics.yml +14 -0
- data/_data/theme/strings.yml +13 -0
- data/_data/theme/styles.yml +8 -0
- data/_docs/snippets/example_tabset-source.adoc +60 -0
- data/_docs/snippets/example_tabset-source_data.json +16 -0
- data/_docs/snippets/example_tabset-source_data.xml +17 -0
- data/_docs/snippets/example_tabset-source_data.yml +10 -0
- data/_docs/snippets/example_toggles.adoc +25 -0
- data/_docs/snippets/handlers-table.adoc +40 -0
- data/_docs/snippets/reference-cluster.adoc +1 -0
- data/_docs/topics/advanced-applications_c.adoc +50 -0
- data/_docs/topics/config-api_r.adoc +21 -0
- data/_docs/topics/config-release-hx.adoc +4 -0
- data/_docs/topics/config-search-algolia.adoc +77 -0
- data/_docs/topics/config-search.adoc +47 -0
- data/_docs/topics/config-semantics.adoc +45 -0
- data/_docs/topics/config-switcher_r.adoc +33 -0
- data/_docs/topics/config-tabber_r.adoc +49 -0
- data/_docs/topics/config-toggle_r.adoc +20 -0
- data/_docs/topics/config-versioning-amenders_r.adoc +76 -0
- data/_docs/topics/config-versioning-swaps_r.adoc +193 -0
- data/_docs/topics/config-versioning-tabsets_r.adoc +51 -0
- data/_docs/topics/config-versioning-toggles_r.adoc +42 -0
- data/_docs/topics/config-versioning.adoc +134 -0
- data/_docs/topics/config_r.adoc +131 -0
- data/_docs/topics/extend.adoc +70 -0
- data/_docs/topics/frontend-overview.adoc +62 -0
- data/_docs/topics/history-converse.adoc +18 -0
- data/_docs/topics/history-patches-merged.adoc +18 -0
- data/_docs/topics/history.adoc +23 -0
- data/_docs/topics/intro.adoc +6 -0
- data/_docs/topics/setup-bootstrap_t.adoc +71 -0
- data/_docs/topics/setup-environment_rg.adoc +65 -0
- data/_docs/topics/setup-quickstart_t.adoc +10 -0
- data/_docs/topics/setup.adoc +9 -0
- data/_docs/topics/syntax-highlighter-examples_r.adoc +172 -0
- data/_docs/topics/toolchain.adoc +79 -0
- data/_includes/_settings.liquid +2 -0
- data/_includes/_variables.sass +12 -0
- data/_includes/breadcrumbs.html +20 -0
- data/_includes/breadcrumbs_alt.html +6 -0
- data/_includes/config-api-objects.asciidoc +23 -0
- data/_includes/config-api-properties.asciidoc +29 -0
- data/_includes/config-api.asciidoc +29 -0
- data/_includes/feedback.html +59 -0
- data/_includes/footer-links_sup.html +5 -0
- data/_includes/footer.html +59 -0
- data/_includes/gdpr-message.html +41 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +74 -0
- data/_includes/header.html +22 -0
- data/_includes/hook.liquid +26 -0
- data/_includes/nav-site.html +30 -0
- data/_includes/nav-subject-menu.html +49 -0
- data/_includes/page-links.html +45 -0
- data/_includes/path-active.liquid +18 -0
- data/_includes/release-hx-change.asciidoc +7 -0
- data/_includes/release-hx-changes-listing.asciidoc +14 -0
- data/_includes/release-hx-note.asciidoc +54 -0
- data/_includes/release-hx-notes-listing.asciidoc +16 -0
- data/_includes/release-hx-revision.asciidoc +86 -0
- data/_includes/release-hx.asciidoc +57 -0
- data/_includes/scripts.html +8 -0
- data/_includes/search-form.html +113 -0
- data/_includes/see-also.html +17 -0
- data/_includes/social-links.html +10 -0
- data/_includes/string-eval.liquid +38 -0
- data/_includes/tail.html +7 -0
- data/_includes/theme-api-object-sub.asciidoc +4 -0
- data/_includes/theme-api-object.asciidoc +35 -0
- data/_includes/version-handler.html +245 -0
- data/_includes/versioning-controls.html +88 -0
- data/_layouts/default.html +94 -0
- data/_layouts/landing.html +28 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +8 -0
- data/_layouts/reference.html +6 -0
- data/_layouts/search.html +110 -0
- data/_layouts/topic.html +19 -0
- data/_sass/_asciidocsy.scss +698 -0
- data/_sass/_custom.scss +3 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +54 -0
- data/_sass/bootstrap/_breadcrumb.scss +41 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +137 -0
- data/_sass/bootstrap/_card.scss +289 -0
- data/_sass/bootstrap/_carousel.scss +197 -0
- data/_sass/bootstrap/_close.scss +41 -0
- data/_sass/bootstrap/_code.scss +48 -0
- data/_sass/bootstrap/_custom-forms.scss +507 -0
- data/_sass/bootstrap/_dropdown.scss +191 -0
- data/_sass/bootstrap/_forms.scss +330 -0
- data/_sass/bootstrap/_functions.scss +86 -0
- data/_sass/bootstrap/_grid.scss +52 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +193 -0
- data/_sass/bootstrap/_jumbotron.scss +17 -0
- data/_sass/bootstrap/_list-group.scss +149 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +47 -0
- data/_sass/bootstrap/_modal.scss +229 -0
- data/_sass/bootstrap/_nav.scss +120 -0
- data/_sass/bootstrap/_navbar.scss +294 -0
- data/_sass/bootstrap/_pagination.scss +73 -0
- data/_sass/bootstrap/_popover.scss +171 -0
- data/_sass/bootstrap/_print.scss +141 -0
- data/_sass/bootstrap/_progress.scss +43 -0
- data/_sass/bootstrap/_reboot.scss +483 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_spinners.scss +55 -0
- data/_sass/bootstrap/_tables.scss +185 -0
- data/_sass/bootstrap/_toasts.scss +44 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +20 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +17 -0
- data/_sass/bootstrap/_variables.scss +1123 -0
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/mixins/_badge.scss +17 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +63 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +107 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_float.scss +14 -0
- data/_sass/bootstrap/mixins/_forms.scss +192 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +66 -0
- data/_sass/bootstrap/mixins/_grid.scss +51 -0
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
- data/_sass/bootstrap/mixins/_size.scss +7 -0
- data/_sass/bootstrap/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +16 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +16 -0
- data/_sass/bootstrap/mixins/_visibility.scss +8 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +75 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +26 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +11 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
- data/_sass/bootstrap/utilities/_text.scss +72 -0
- data/_sass/bootstrap/utilities/_visibility.scss +13 -0
- data/assets/css/asciidocsy.bak.css +722 -0
- data/assets/css/asciidocsy.scss +9 -0
- data/assets/css/asciidoctor.css +776 -0
- data/assets/css/bootstrap-4.3.bak.css +13780 -0
- data/assets/css/bootstrap-toc.css +60 -0
- data/assets/css/bootstrap.scss +4 -0
- data/assets/css/custom.css +2 -0
- data/assets/css/font-awesome.css +2337 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/jquery.navgoco.css +69 -0
- data/assets/css/palette.css +217 -0
- data/assets/css/skins/colony.css +734 -0
- data/assets/css/skins/foundation-lime.css +727 -0
- data/assets/css/skins/foundation-potion.css +727 -0
- data/assets/css/skins/foundation.css +720 -0
- data/assets/css/skins/github.css +741 -0
- data/assets/css/skins/golo.css +738 -0
- data/assets/css/skins/iconic.css +762 -0
- data/assets/css/skins/maker.css +738 -0
- data/assets/css/skins/readthedocs.css +739 -0
- data/assets/css/skins/riak.css +759 -0
- data/assets/css/skins/rocket-panda.css +734 -0
- data/assets/css/skins/rubygems.css +722 -0
- data/assets/css/syntax/hljs/a11y-dark.css +99 -0
- data/assets/css/syntax/hljs/a11y-light.css +99 -0
- data/assets/css/syntax/hljs/agate.css +108 -0
- data/assets/css/syntax/hljs/an-old-hope.css +89 -0
- data/assets/css/syntax/hljs/androidstudio.css +66 -0
- data/assets/css/syntax/hljs/arduino-light.css +87 -0
- data/assets/css/syntax/hljs/arta.css +73 -0
- data/assets/css/syntax/hljs/ascetic.css +45 -0
- data/assets/css/syntax/hljs/atelier-cave-dark.css +83 -0
- data/assets/css/syntax/hljs/atelier-cave-light.css +85 -0
- data/assets/css/syntax/hljs/atelier-dune-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-dune-light.css +69 -0
- data/assets/css/syntax/hljs/atelier-estuary-dark.css +84 -0
- data/assets/css/syntax/hljs/atelier-estuary-light.css +84 -0
- data/assets/css/syntax/hljs/atelier-forest-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-forest-light.css +69 -0
- data/assets/css/syntax/hljs/atelier-heath-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-heath-light.css +69 -0
- data/assets/css/syntax/hljs/atelier-lakeside-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-lakeside-light.css +69 -0
- data/assets/css/syntax/hljs/atelier-plateau-dark.css +84 -0
- data/assets/css/syntax/hljs/atelier-plateau-light.css +84 -0
- data/assets/css/syntax/hljs/atelier-savanna-dark.css +84 -0
- data/assets/css/syntax/hljs/atelier-savanna-light.css +84 -0
- data/assets/css/syntax/hljs/atelier-seaside-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-seaside-light.css +69 -0
- data/assets/css/syntax/hljs/atelier-sulphurpool-dark.css +69 -0
- data/assets/css/syntax/hljs/atelier-sulphurpool-light.css +69 -0
- data/assets/css/syntax/hljs/atom-one-dark-reasonable.css +75 -0
- data/assets/css/syntax/hljs/atom-one-dark.css +96 -0
- data/assets/css/syntax/hljs/atom-one-light.css +96 -0
- data/assets/css/syntax/hljs/brown-paper.css +64 -0
- data/assets/css/syntax/hljs/brown-papersq.png +0 -0
- data/assets/css/syntax/hljs/codepen-embed.css +60 -0
- data/assets/css/syntax/hljs/color-brewer.css +71 -0
- data/assets/css/syntax/hljs/darcula.css +74 -0
- data/assets/css/syntax/hljs/dark.css +63 -0
- data/assets/css/syntax/hljs/default.css +99 -0
- data/assets/css/syntax/hljs/docco.css +97 -0
- data/assets/css/syntax/hljs/dracula.css +76 -0
- data/assets/css/syntax/hljs/far.css +71 -0
- data/assets/css/syntax/hljs/foundation.css +89 -0
- data/assets/css/syntax/hljs/github-gist.css +79 -0
- data/assets/css/syntax/hljs/github.css +99 -0
- data/assets/css/syntax/hljs/gml.css +78 -0
- data/assets/css/syntax/hljs/googlecode.css +89 -0
- data/assets/css/syntax/hljs/gradient-dark.css +122 -0
- data/assets/css/syntax/hljs/gradient-light.css +130 -0
- data/assets/css/syntax/hljs/grayscale.css +101 -0
- data/assets/css/syntax/hljs/gruvbox-dark.css +108 -0
- data/assets/css/syntax/hljs/gruvbox-light.css +108 -0
- data/assets/css/syntax/hljs/hopscotch.css +84 -0
- data/assets/css/syntax/hljs/hybrid.css +102 -0
- data/assets/css/syntax/hljs/idea.css +97 -0
- data/assets/css/syntax/hljs/ir-black.css +73 -0
- data/assets/css/syntax/hljs/isbl-editor-dark.css +112 -0
- data/assets/css/syntax/hljs/isbl-editor-light.css +111 -0
- data/assets/css/syntax/hljs/kimbie.dark.css +74 -0
- data/assets/css/syntax/hljs/kimbie.light.css +74 -0
- data/assets/css/syntax/hljs/lightfair.css +88 -0
- data/assets/css/syntax/hljs/lioshi.css +88 -0
- data/assets/css/syntax/hljs/magula.css +70 -0
- data/assets/css/syntax/hljs/mono-blue.css +56 -0
- data/assets/css/syntax/hljs/monokai-sublime.css +83 -0
- data/assets/css/syntax/hljs/monokai.css +71 -0
- data/assets/css/syntax/hljs/night-owl.css +182 -0
- data/assets/css/syntax/hljs/nnfx-dark.css +106 -0
- data/assets/css/syntax/hljs/nnfx.css +106 -0
- data/assets/css/syntax/hljs/nord.css +309 -0
- data/assets/css/syntax/hljs/obsidian.css +88 -0
- data/assets/css/syntax/hljs/ocean.css +74 -0
- data/assets/css/syntax/hljs/paraiso-dark.css +72 -0
- data/assets/css/syntax/hljs/paraiso-light.css +72 -0
- data/assets/css/syntax/hljs/pojoaque.css +83 -0
- data/assets/css/syntax/hljs/pojoaque.jpg +0 -0
- data/assets/css/syntax/hljs/purebasic.css +96 -0
- data/assets/css/syntax/hljs/qtcreator_dark.css +83 -0
- data/assets/css/syntax/hljs/qtcreator_light.css +83 -0
- data/assets/css/syntax/hljs/railscasts.css +106 -0
- data/assets/css/syntax/hljs/rainbow.css +85 -0
- data/assets/css/syntax/hljs/routeros.css +108 -0
- data/assets/css/syntax/hljs/school-book.css +69 -0
- data/assets/css/syntax/hljs/school-book.png +0 -0
- data/assets/css/syntax/hljs/shades-of-purple.css +96 -0
- data/assets/css/syntax/hljs/solarized-dark.css +84 -0
- data/assets/css/syntax/hljs/solarized-light.css +84 -0
- data/assets/css/syntax/hljs/srcery.css +78 -0
- data/assets/css/syntax/hljs/stackoverflow-dark.css +78 -0
- data/assets/css/syntax/hljs/stackoverflow-light.css +78 -0
- data/assets/css/syntax/hljs/sunburst.css +102 -0
- data/assets/css/syntax/hljs/tomorrow-night-blue.css +75 -0
- data/assets/css/syntax/hljs/tomorrow-night-bright.css +74 -0
- data/assets/css/syntax/hljs/tomorrow-night-eighties.css +74 -0
- data/assets/css/syntax/hljs/tomorrow-night.css +75 -0
- data/assets/css/syntax/hljs/tomorrow.css +72 -0
- data/assets/css/syntax/hljs/vs.css +68 -0
- data/assets/css/syntax/hljs/vs2015.css +115 -0
- data/assets/css/syntax/hljs/xcode.css +104 -0
- data/assets/css/syntax/hljs/xt256.css +92 -0
- data/assets/css/syntax/hljs/zenburn.css +80 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/asciidocsy-nav-model.png +0 -0
- data/assets/images/asciidocsy-screenshot.png +0 -0
- data/assets/images/docops-labs-logo.png +0 -0
- data/assets/images/favicons/favicon-16x16.png +0 -0
- data/assets/images/favicons/favicon-32x32.png +0 -0
- data/assets/images/favicons/favicon.ico +0 -0
- data/assets/images/github-repo-download_screenshot.png +0 -0
- data/assets/images/logo-full.png +0 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/logo.svg +87 -0
- data/assets/images/search-by-algolia-light-background.svg +1 -0
- data/assets/images/thumb-topic-data-source-edit.png +0 -0
- data/assets/js/anchor.min.js +9 -0
- data/assets/js/asciidoctor.min.js +1472 -0
- data/assets/js/bootstrap-toc.js +180 -0
- data/assets/js/bootstrap.min.js +7 -0
- data/assets/js/highlight.pack.js +870 -0
- data/assets/js/jquery-3.3.1.js +10364 -0
- data/assets/js/jquery-3.3.1.min.js +2 -0
- data/assets/js/jquery.cookie.js +114 -0
- data/assets/js/jquery.navgoco.js +314 -0
- data/assets/js/semantics.js +58 -0
- data/assets/js/tabber.js +111 -0
- data/assets/js/tail.js +37 -0
- data/assets/js/toggler.js +50 -0
- data/lib/asciidocsy/data/dependencies.yml +142 -0
- data/lib/asciidocsy/data/releases.yml +197 -0
- data/lib/asciidocsy/templates/notice-file.txt +16 -0
- data/lib/asciidocsy/version.rb +13 -0
- data/lib/asciidocsy.rb +1 -0
- metadata +423 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.card {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
|
|
10
|
+
word-wrap: break-word;
|
|
11
|
+
background-color: $card-bg;
|
|
12
|
+
background-clip: border-box;
|
|
13
|
+
border: $card-border-width solid $card-border-color;
|
|
14
|
+
@include border-radius($card-border-radius);
|
|
15
|
+
|
|
16
|
+
> hr {
|
|
17
|
+
margin-right: 0;
|
|
18
|
+
margin-left: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> .list-group:first-child {
|
|
22
|
+
.list-group-item:first-child {
|
|
23
|
+
@include border-top-radius($card-border-radius);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
> .list-group:last-child {
|
|
28
|
+
.list-group-item:last-child {
|
|
29
|
+
@include border-bottom-radius($card-border-radius);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.card-body {
|
|
35
|
+
// Enable `flex-grow: 1` for decks and groups so that card blocks take up
|
|
36
|
+
// as much space as possible, ensuring footers are aligned to the bottom.
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
padding: $card-spacer-x;
|
|
39
|
+
color: $card-color;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.card-title {
|
|
43
|
+
margin-bottom: $card-spacer-y;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.card-subtitle {
|
|
47
|
+
margin-top: -$card-spacer-y / 2;
|
|
48
|
+
margin-bottom: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.card-text:last-child {
|
|
52
|
+
margin-bottom: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.card-link {
|
|
56
|
+
@include hover {
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
+ .card-link {
|
|
61
|
+
margin-left: $card-spacer-x;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
//
|
|
66
|
+
// Optional textual caps
|
|
67
|
+
//
|
|
68
|
+
|
|
69
|
+
.card-header {
|
|
70
|
+
padding: $card-spacer-y $card-spacer-x;
|
|
71
|
+
margin-bottom: 0; // Removes the default margin-bottom of <hN>
|
|
72
|
+
color: $card-cap-color;
|
|
73
|
+
background-color: $card-cap-bg;
|
|
74
|
+
border-bottom: $card-border-width solid $card-border-color;
|
|
75
|
+
|
|
76
|
+
&:first-child {
|
|
77
|
+
@include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
+ .list-group {
|
|
81
|
+
.list-group-item:first-child {
|
|
82
|
+
border-top: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.card-footer {
|
|
88
|
+
padding: $card-spacer-y $card-spacer-x;
|
|
89
|
+
background-color: $card-cap-bg;
|
|
90
|
+
border-top: $card-border-width solid $card-border-color;
|
|
91
|
+
|
|
92
|
+
&:last-child {
|
|
93
|
+
@include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
//
|
|
99
|
+
// Header navs
|
|
100
|
+
//
|
|
101
|
+
|
|
102
|
+
.card-header-tabs {
|
|
103
|
+
margin-right: -$card-spacer-x / 2;
|
|
104
|
+
margin-bottom: -$card-spacer-y;
|
|
105
|
+
margin-left: -$card-spacer-x / 2;
|
|
106
|
+
border-bottom: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.card-header-pills {
|
|
110
|
+
margin-right: -$card-spacer-x / 2;
|
|
111
|
+
margin-left: -$card-spacer-x / 2;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Card image
|
|
115
|
+
.card-img-overlay {
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
right: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
padding: $card-img-overlay-padding;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.card-img {
|
|
125
|
+
width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
|
|
126
|
+
@include border-radius($card-inner-border-radius);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Card image caps
|
|
130
|
+
.card-img-top {
|
|
131
|
+
width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
|
|
132
|
+
@include border-top-radius($card-inner-border-radius);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.card-img-bottom {
|
|
136
|
+
width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
|
|
137
|
+
@include border-bottom-radius($card-inner-border-radius);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
// Card deck
|
|
142
|
+
|
|
143
|
+
.card-deck {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
|
|
147
|
+
.card {
|
|
148
|
+
margin-bottom: $card-deck-margin;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@include media-breakpoint-up(sm) {
|
|
152
|
+
flex-flow: row wrap;
|
|
153
|
+
margin-right: -$card-deck-margin;
|
|
154
|
+
margin-left: -$card-deck-margin;
|
|
155
|
+
|
|
156
|
+
.card {
|
|
157
|
+
display: flex;
|
|
158
|
+
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
|
|
159
|
+
flex: 1 0 0%;
|
|
160
|
+
flex-direction: column;
|
|
161
|
+
margin-right: $card-deck-margin;
|
|
162
|
+
margin-bottom: 0; // Override the default
|
|
163
|
+
margin-left: $card-deck-margin;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
//
|
|
170
|
+
// Card groups
|
|
171
|
+
//
|
|
172
|
+
|
|
173
|
+
.card-group {
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
|
|
177
|
+
// The child selector allows nested `.card` within `.card-group`
|
|
178
|
+
// to display properly.
|
|
179
|
+
> .card {
|
|
180
|
+
margin-bottom: $card-group-margin;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@include media-breakpoint-up(sm) {
|
|
184
|
+
flex-flow: row wrap;
|
|
185
|
+
// The child selector allows nested `.card` within `.card-group`
|
|
186
|
+
// to display properly.
|
|
187
|
+
> .card {
|
|
188
|
+
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
|
|
189
|
+
flex: 1 0 0%;
|
|
190
|
+
margin-bottom: 0;
|
|
191
|
+
|
|
192
|
+
+ .card {
|
|
193
|
+
margin-left: 0;
|
|
194
|
+
border-left: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// Handle rounded corners
|
|
198
|
+
@if $enable-rounded {
|
|
199
|
+
&:not(:last-child) {
|
|
200
|
+
@include border-right-radius(0);
|
|
201
|
+
|
|
202
|
+
.card-img-top,
|
|
203
|
+
.card-header {
|
|
204
|
+
// stylelint-disable-next-line property-blacklist
|
|
205
|
+
border-top-right-radius: 0;
|
|
206
|
+
}
|
|
207
|
+
.card-img-bottom,
|
|
208
|
+
.card-footer {
|
|
209
|
+
// stylelint-disable-next-line property-blacklist
|
|
210
|
+
border-bottom-right-radius: 0;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:not(:first-child) {
|
|
215
|
+
@include border-left-radius(0);
|
|
216
|
+
|
|
217
|
+
.card-img-top,
|
|
218
|
+
.card-header {
|
|
219
|
+
// stylelint-disable-next-line property-blacklist
|
|
220
|
+
border-top-left-radius: 0;
|
|
221
|
+
}
|
|
222
|
+
.card-img-bottom,
|
|
223
|
+
.card-footer {
|
|
224
|
+
// stylelint-disable-next-line property-blacklist
|
|
225
|
+
border-bottom-left-radius: 0;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
//
|
|
235
|
+
// Columns
|
|
236
|
+
//
|
|
237
|
+
|
|
238
|
+
.card-columns {
|
|
239
|
+
.card {
|
|
240
|
+
margin-bottom: $card-columns-margin;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@include media-breakpoint-up(sm) {
|
|
244
|
+
column-count: $card-columns-count;
|
|
245
|
+
column-gap: $card-columns-gap;
|
|
246
|
+
orphans: 1;
|
|
247
|
+
widows: 1;
|
|
248
|
+
|
|
249
|
+
.card {
|
|
250
|
+
display: inline-block; // Don't let them vertically span multiple columns
|
|
251
|
+
width: 100%; // Don't let their width change
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
//
|
|
258
|
+
// Accordion
|
|
259
|
+
//
|
|
260
|
+
|
|
261
|
+
.accordion {
|
|
262
|
+
> .card {
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
|
|
265
|
+
&:not(:first-of-type) {
|
|
266
|
+
.card-header:first-child {
|
|
267
|
+
@include border-radius(0);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&:not(:last-of-type) {
|
|
271
|
+
border-bottom: 0;
|
|
272
|
+
@include border-radius(0);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&:first-of-type {
|
|
277
|
+
border-bottom: 0;
|
|
278
|
+
@include border-bottom-radius(0);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&:last-of-type {
|
|
282
|
+
@include border-top-radius(0);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.card-header {
|
|
286
|
+
margin-bottom: -$card-border-width;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
// Notes on the classes:
|
|
2
|
+
//
|
|
3
|
+
// 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)
|
|
4
|
+
// even when their scroll action started on a carousel, but for compatibility (with Firefox)
|
|
5
|
+
// we're preventing all actions instead
|
|
6
|
+
// 2. The .carousel-item-left and .carousel-item-right is used to indicate where
|
|
7
|
+
// the active slide is heading.
|
|
8
|
+
// 3. .active.carousel-item is the current slide.
|
|
9
|
+
// 4. .active.carousel-item-left and .active.carousel-item-right is the current
|
|
10
|
+
// slide in its in-transition state. Only one of these occurs at a time.
|
|
11
|
+
// 5. .carousel-item-next.carousel-item-left and .carousel-item-prev.carousel-item-right
|
|
12
|
+
// is the upcoming slide in transition.
|
|
13
|
+
|
|
14
|
+
.carousel {
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.carousel.pointer-event {
|
|
19
|
+
touch-action: pan-y;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.carousel-inner {
|
|
23
|
+
position: relative;
|
|
24
|
+
width: 100%;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
@include clearfix();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.carousel-item {
|
|
30
|
+
position: relative;
|
|
31
|
+
display: none;
|
|
32
|
+
float: left;
|
|
33
|
+
width: 100%;
|
|
34
|
+
margin-right: -100%;
|
|
35
|
+
backface-visibility: hidden;
|
|
36
|
+
@include transition($carousel-transition);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.carousel-item.active,
|
|
40
|
+
.carousel-item-next,
|
|
41
|
+
.carousel-item-prev {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.carousel-item-next:not(.carousel-item-left),
|
|
46
|
+
.active.carousel-item-right {
|
|
47
|
+
transform: translateX(100%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.carousel-item-prev:not(.carousel-item-right),
|
|
51
|
+
.active.carousel-item-left {
|
|
52
|
+
transform: translateX(-100%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
//
|
|
57
|
+
// Alternate transitions
|
|
58
|
+
//
|
|
59
|
+
|
|
60
|
+
.carousel-fade {
|
|
61
|
+
.carousel-item {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
transition-property: opacity;
|
|
64
|
+
transform: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.carousel-item.active,
|
|
68
|
+
.carousel-item-next.carousel-item-left,
|
|
69
|
+
.carousel-item-prev.carousel-item-right {
|
|
70
|
+
z-index: 1;
|
|
71
|
+
opacity: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.active.carousel-item-left,
|
|
75
|
+
.active.carousel-item-right {
|
|
76
|
+
z-index: 0;
|
|
77
|
+
opacity: 0;
|
|
78
|
+
@include transition(0s $carousel-transition-duration opacity);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
//
|
|
84
|
+
// Left/right controls for nav
|
|
85
|
+
//
|
|
86
|
+
|
|
87
|
+
.carousel-control-prev,
|
|
88
|
+
.carousel-control-next {
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 0;
|
|
91
|
+
bottom: 0;
|
|
92
|
+
z-index: 1;
|
|
93
|
+
// Use flex for alignment (1-3)
|
|
94
|
+
display: flex; // 1. allow flex styles
|
|
95
|
+
align-items: center; // 2. vertically center contents
|
|
96
|
+
justify-content: center; // 3. horizontally center contents
|
|
97
|
+
width: $carousel-control-width;
|
|
98
|
+
color: $carousel-control-color;
|
|
99
|
+
text-align: center;
|
|
100
|
+
opacity: $carousel-control-opacity;
|
|
101
|
+
@include transition($carousel-control-transition);
|
|
102
|
+
|
|
103
|
+
// Hover/focus state
|
|
104
|
+
@include hover-focus {
|
|
105
|
+
color: $carousel-control-color;
|
|
106
|
+
text-decoration: none;
|
|
107
|
+
outline: 0;
|
|
108
|
+
opacity: $carousel-control-hover-opacity;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.carousel-control-prev {
|
|
112
|
+
left: 0;
|
|
113
|
+
@if $enable-gradients {
|
|
114
|
+
background: linear-gradient(90deg, rgba($black, .25), rgba($black, .001));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.carousel-control-next {
|
|
118
|
+
right: 0;
|
|
119
|
+
@if $enable-gradients {
|
|
120
|
+
background: linear-gradient(270deg, rgba($black, .25), rgba($black, .001));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Icons for within
|
|
125
|
+
.carousel-control-prev-icon,
|
|
126
|
+
.carousel-control-next-icon {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
width: $carousel-control-icon-width;
|
|
129
|
+
height: $carousel-control-icon-width;
|
|
130
|
+
background: no-repeat 50% / 100% 100%;
|
|
131
|
+
}
|
|
132
|
+
.carousel-control-prev-icon {
|
|
133
|
+
background-image: $carousel-control-prev-icon-bg;
|
|
134
|
+
}
|
|
135
|
+
.carousel-control-next-icon {
|
|
136
|
+
background-image: $carousel-control-next-icon-bg;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
// Optional indicator pips
|
|
141
|
+
//
|
|
142
|
+
// Add an ordered list with the following class and add a list item for each
|
|
143
|
+
// slide your carousel holds.
|
|
144
|
+
|
|
145
|
+
.carousel-indicators {
|
|
146
|
+
position: absolute;
|
|
147
|
+
right: 0;
|
|
148
|
+
bottom: 0;
|
|
149
|
+
left: 0;
|
|
150
|
+
z-index: 15;
|
|
151
|
+
display: flex;
|
|
152
|
+
justify-content: center;
|
|
153
|
+
padding-left: 0; // override <ol> default
|
|
154
|
+
// Use the .carousel-control's width as margin so we don't overlay those
|
|
155
|
+
margin-right: $carousel-control-width;
|
|
156
|
+
margin-left: $carousel-control-width;
|
|
157
|
+
list-style: none;
|
|
158
|
+
|
|
159
|
+
li {
|
|
160
|
+
box-sizing: content-box;
|
|
161
|
+
flex: 0 1 auto;
|
|
162
|
+
width: $carousel-indicator-width;
|
|
163
|
+
height: $carousel-indicator-height;
|
|
164
|
+
margin-right: $carousel-indicator-spacer;
|
|
165
|
+
margin-left: $carousel-indicator-spacer;
|
|
166
|
+
text-indent: -999px;
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
background-color: $carousel-indicator-active-bg;
|
|
169
|
+
background-clip: padding-box;
|
|
170
|
+
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
|
171
|
+
border-top: $carousel-indicator-hit-area-height solid transparent;
|
|
172
|
+
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
|
173
|
+
opacity: .5;
|
|
174
|
+
@include transition($carousel-indicator-transition);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.active {
|
|
178
|
+
opacity: 1;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
// Optional captions
|
|
184
|
+
//
|
|
185
|
+
//
|
|
186
|
+
|
|
187
|
+
.carousel-caption {
|
|
188
|
+
position: absolute;
|
|
189
|
+
right: (100% - $carousel-caption-width) / 2;
|
|
190
|
+
bottom: 20px;
|
|
191
|
+
left: (100% - $carousel-caption-width) / 2;
|
|
192
|
+
z-index: 10;
|
|
193
|
+
padding-top: 20px;
|
|
194
|
+
padding-bottom: 20px;
|
|
195
|
+
color: $carousel-caption-color;
|
|
196
|
+
text-align: center;
|
|
197
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.close {
|
|
2
|
+
float: right;
|
|
3
|
+
@include font-size($close-font-size);
|
|
4
|
+
font-weight: $close-font-weight;
|
|
5
|
+
line-height: 1;
|
|
6
|
+
color: $close-color;
|
|
7
|
+
text-shadow: $close-text-shadow;
|
|
8
|
+
opacity: .5;
|
|
9
|
+
|
|
10
|
+
// Override <a>'s hover style
|
|
11
|
+
@include hover {
|
|
12
|
+
color: $close-color;
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:not(:disabled):not(.disabled) {
|
|
17
|
+
@include hover-focus {
|
|
18
|
+
opacity: .75;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Additional properties for button version
|
|
24
|
+
// iOS requires the button element instead of an anchor tag.
|
|
25
|
+
// If you want the anchor version, it requires `href="#"`.
|
|
26
|
+
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
27
|
+
|
|
28
|
+
// stylelint-disable-next-line selector-no-qualifying-type
|
|
29
|
+
button.close {
|
|
30
|
+
padding: 0;
|
|
31
|
+
background-color: transparent;
|
|
32
|
+
border: 0;
|
|
33
|
+
appearance: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Future-proof disabling of clicks on `<a>` elements
|
|
37
|
+
|
|
38
|
+
// stylelint-disable-next-line selector-no-qualifying-type
|
|
39
|
+
a.close.disabled {
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Inline code
|
|
2
|
+
code {
|
|
3
|
+
@include font-size($code-font-size);
|
|
4
|
+
color: $code-color;
|
|
5
|
+
word-break: break-word;
|
|
6
|
+
|
|
7
|
+
// Streamline the style when inside anchors to avoid broken underline and more
|
|
8
|
+
a > & {
|
|
9
|
+
color: inherit;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// User input typically entered via keyboard
|
|
14
|
+
kbd {
|
|
15
|
+
padding: $kbd-padding-y $kbd-padding-x;
|
|
16
|
+
@include font-size($kbd-font-size);
|
|
17
|
+
color: $kbd-color;
|
|
18
|
+
background-color: $kbd-bg;
|
|
19
|
+
@include border-radius($border-radius-sm);
|
|
20
|
+
@include box-shadow($kbd-box-shadow);
|
|
21
|
+
|
|
22
|
+
kbd {
|
|
23
|
+
padding: 0;
|
|
24
|
+
@include font-size(100%);
|
|
25
|
+
font-weight: $nested-kbd-font-weight;
|
|
26
|
+
@include box-shadow(none);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Blocks of code
|
|
31
|
+
pre {
|
|
32
|
+
display: block;
|
|
33
|
+
@include font-size($code-font-size);
|
|
34
|
+
color: $pre-color;
|
|
35
|
+
|
|
36
|
+
// Account for some code outputs that place code tags in pre tags
|
|
37
|
+
code {
|
|
38
|
+
@include font-size(inherit);
|
|
39
|
+
color: inherit;
|
|
40
|
+
word-break: normal;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Enable scrollable blocks of code
|
|
45
|
+
.pre-scrollable {
|
|
46
|
+
max-height: $pre-scrollable-max-height;
|
|
47
|
+
overflow-y: scroll;
|
|
48
|
+
}
|