From 087bd1b14d5e1f45f60b1ffa64ca318c23b7c6ea Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:56:52 +0200 Subject: Adding debian version 2.0.0+dfsg-1. Signed-off-by: Daniel Baumann --- debian/README.source | 20 + debian/changelog | 293 +++++++++++ debian/clean | 7 + debian/control | 49 ++ debian/copyright | 74 +++ debian/gbp.conf | 2 + debian/gitlab-ci.yml | 3 + debian/missing-sources/bourbon-neat/CHANGELOG.md | 259 ++++++++++ debian/missing-sources/bourbon-neat/LICENSE.md | 21 + debian/missing-sources/bourbon-neat/README.md | 281 +++++++++++ .../app/assets/stylesheets/_neat-helpers.scss | 11 + .../bourbon-neat/app/assets/stylesheets/_neat.scss | 24 + .../stylesheets/functions/_new-breakpoint.scss | 49 ++ .../app/assets/stylesheets/functions/_private.scss | 154 ++++++ .../app/assets/stylesheets/grid/_box-sizing.scss | 15 + .../stylesheets/grid/_direction-context.scss | 33 ++ .../assets/stylesheets/grid/_display-context.scss | 28 ++ .../app/assets/stylesheets/grid/_fill-parent.scss | 22 + .../app/assets/stylesheets/grid/_media.scss | 92 ++++ .../app/assets/stylesheets/grid/_omega.scss | 112 +++++ .../assets/stylesheets/grid/_outer-container.scss | 34 ++ .../app/assets/stylesheets/grid/_pad.scss | 25 + .../app/assets/stylesheets/grid/_private.scss | 35 ++ .../assets/stylesheets/grid/_reset-display.scss | 14 + .../app/assets/stylesheets/grid/_row.scss | 45 ++ .../app/assets/stylesheets/grid/_shift.scss | 50 ++ .../app/assets/stylesheets/grid/_span-columns.scss | 94 ++++ .../app/assets/stylesheets/grid/_to-deprecate.scss | 81 ++++ .../app/assets/stylesheets/grid/_visual-grid.scss | 42 ++ .../app/assets/stylesheets/mixins/_clearfix.scss | 25 + .../stylesheets/settings/_disable-warnings.scss | 13 + .../app/assets/stylesheets/settings/_grid.scss | 51 ++ .../assets/stylesheets/settings/_visual-grid.scss | 27 ++ debian/missing-sources/bourbon/CHANGELOG.md | 47 ++ debian/missing-sources/bourbon/LICENSE.md | 21 + debian/missing-sources/bourbon/README.md | 154 ++++++ .../app/assets/stylesheets/_bourbon-deprecate.scss | 19 + .../stylesheets/_bourbon-deprecated-upcoming.scss | 425 ++++++++++++++++ .../bourbon/app/assets/stylesheets/_bourbon.scss | 90 ++++ .../assets/stylesheets/addons/_border-color.scss | 29 ++ .../assets/stylesheets/addons/_border-radius.scss | 48 ++ .../assets/stylesheets/addons/_border-style.scss | 28 ++ .../assets/stylesheets/addons/_border-width.scss | 28 ++ .../app/assets/stylesheets/addons/_buttons.scss | 69 +++ .../app/assets/stylesheets/addons/_clearfix.scss | 25 + .../app/assets/stylesheets/addons/_ellipsis.scss | 30 ++ .../assets/stylesheets/addons/_font-stacks.scss | 31 ++ .../app/assets/stylesheets/addons/_hide-text.scss | 27 ++ .../app/assets/stylesheets/addons/_margin.scss | 29 ++ .../app/assets/stylesheets/addons/_padding.scss | 29 ++ .../app/assets/stylesheets/addons/_position.scss | 51 ++ .../app/assets/stylesheets/addons/_prefixer.scss | 66 +++ .../assets/stylesheets/addons/_retina-image.scss | 27 ++ .../app/assets/stylesheets/addons/_size.scss | 56 +++ .../assets/stylesheets/addons/_text-inputs.scss | 118 +++++ .../stylesheets/addons/_timing-functions.scss | 34 ++ .../app/assets/stylesheets/addons/_triangle.scss | 63 +++ .../app/assets/stylesheets/addons/_word-wrap.scss | 29 ++ .../app/assets/stylesheets/css3/_animation.scss | 61 +++ .../app/assets/stylesheets/css3/_appearance.scss | 5 + .../stylesheets/css3/_backface-visibility.scss | 5 + .../assets/stylesheets/css3/_background-image.scss | 44 ++ .../app/assets/stylesheets/css3/_background.scss | 57 +++ .../app/assets/stylesheets/css3/_border-image.scss | 61 +++ .../bourbon/app/assets/stylesheets/css3/_calc.scss | 6 + .../app/assets/stylesheets/css3/_columns.scss | 67 +++ .../app/assets/stylesheets/css3/_filter.scss | 6 + .../app/assets/stylesheets/css3/_flex-box.scss | 327 +++++++++++++ .../app/assets/stylesheets/css3/_font-face.scss | 29 ++ .../stylesheets/css3/_font-feature-settings.scss | 6 + .../stylesheets/css3/_hidpi-media-query.scss | 12 + .../app/assets/stylesheets/css3/_hyphens.scss | 6 + .../assets/stylesheets/css3/_image-rendering.scss | 15 + .../app/assets/stylesheets/css3/_keyframes.scss | 38 ++ .../assets/stylesheets/css3/_linear-gradient.scss | 40 ++ .../app/assets/stylesheets/css3/_perspective.scss | 12 + .../app/assets/stylesheets/css3/_placeholder.scss | 10 + .../assets/stylesheets/css3/_radial-gradient.scss | 40 ++ .../app/assets/stylesheets/css3/_selection.scss | 44 ++ .../assets/stylesheets/css3/_text-decoration.scss | 27 ++ .../app/assets/stylesheets/css3/_transform.scss | 21 + .../app/assets/stylesheets/css3/_transition.scss | 81 ++++ .../app/assets/stylesheets/css3/_user-select.scss | 5 + .../stylesheets/functions/_assign-inputs.scss | 16 + .../stylesheets/functions/_contains-falsy.scss | 25 + .../assets/stylesheets/functions/_contains.scss | 31 ++ .../assets/stylesheets/functions/_is-length.scss | 16 + .../assets/stylesheets/functions/_is-light.scss | 26 + .../assets/stylesheets/functions/_is-number.scss | 16 + .../app/assets/stylesheets/functions/_is-size.scss | 23 + .../stylesheets/functions/_modular-scale.scss | 74 +++ .../assets/stylesheets/functions/_px-to-em.scss | 24 + .../assets/stylesheets/functions/_px-to-rem.scss | 26 + .../app/assets/stylesheets/functions/_shade.scss | 24 + .../assets/stylesheets/functions/_strip-units.scss | 22 + .../app/assets/stylesheets/functions/_tint.scss | 24 + .../functions/_transition-property-name.scss | 37 ++ .../app/assets/stylesheets/functions/_unpack.scss | 32 ++ .../assets/stylesheets/helpers/_convert-units.scss | 26 + .../stylesheets/helpers/_directional-values.scss | 108 +++++ .../helpers/_font-source-declaration.scss | 53 ++ .../helpers/_gradient-positions-parser.scss | 24 + .../stylesheets/helpers/_linear-angle-parser.scss | 35 ++ .../helpers/_linear-gradient-parser.scss | 51 ++ .../helpers/_linear-positions-parser.scss | 77 +++ .../helpers/_linear-side-corner-parser.scss | 41 ++ .../stylesheets/helpers/_radial-arg-parser.scss | 74 +++ .../helpers/_radial-gradient-parser.scss | 55 +++ .../helpers/_radial-positions-parser.scss | 28 ++ .../stylesheets/helpers/_render-gradients.scss | 31 ++ .../stylesheets/helpers/_shape-size-stripper.scss | 15 + .../assets/stylesheets/helpers/_str-to-num.scss | 55 +++ .../stylesheets/settings/_asset-pipeline.scss | 7 + .../settings/_deprecation-warnings.scss | 8 + .../app/assets/stylesheets/settings/_prefixer.scss | 9 + .../app/assets/stylesheets/settings/_px-to-em.scss | 1 + debian/missing-sources/wyrm/LICENSE | 20 + debian/missing-sources/wyrm/README.md | 11 + debian/missing-sources/wyrm/sass/_wyrm_all.sass | 21 + debian/missing-sources/wyrm/sass/_wyrm_core.sass | 39 ++ debian/missing-sources/wyrm/sass/styleguide.md | 44 ++ .../wyrm/sass/wyrm_addons/elements/_modal.sass | 67 +++ .../wyrm/sass/wyrm_addons/elements/_paginate.sass | 44 ++ .../wyrm/sass/wyrm_addons/elements/_stars.sass | 56 +++ .../wyrm/sass/wyrm_addons/elements/_tooltip.sass | 47 ++ .../sass/wyrm_addons/forms/_form_autocomplete.sass | 188 ++++++++ .../wyrm/sass/wyrm_addons/forms/_form_gallery.sass | 47 ++ .../wyrm/sass/wyrm_addons/forms/_form_tag.sass | 44 ++ .../wyrm/sass/wyrm_addons/forms/_form_upload.sass | 85 ++++ .../wyrm/sass/wyrm_addons/pygments/_pygments.sass | 59 +++ .../sass/wyrm_addons/pygments/_pygments_dark.sass | 129 +++++ .../sass/wyrm_addons/pygments/_pygments_light.sass | 146 ++++++ .../wyrm/sass/wyrm_addons/redactor/_figures.sass | 190 ++++++++ .../wyrm/sass/wyrm_addons/redactor/_redactor.sass | 526 ++++++++++++++++++++ .../wyrm/sass/wyrm_core/_alert.sass | 122 +++++ .../wyrm/sass/wyrm_core/_button.sass | 172 +++++++ .../wyrm/sass/wyrm_core/_dropdown.sass | 101 ++++ .../wyrm/sass/wyrm_core/_font_icon_defaults.sass | 38 ++ .../missing-sources/wyrm/sass/wyrm_core/_form.sass | 534 +++++++++++++++++++++ .../wyrm/sass/wyrm_core/_generic.sass | 16 + .../wyrm/sass/wyrm_core/_grid_settings.sass | 41 ++ .../wyrm/sass/wyrm_core/_mixin.sass | 129 +++++ .../wyrm/sass/wyrm_core/_neat_extra.sass | 43 ++ .../wyrm/sass/wyrm_core/_normalize.sass | 348 ++++++++++++++ .../wyrm/sass/wyrm_core/_reset.sass | 250 ++++++++++ .../wyrm/sass/wyrm_core/_spinner.sass | 71 +++ .../wyrm/sass/wyrm_core/_table.sass | 151 ++++++ .../missing-sources/wyrm/sass/wyrm_core/_type.sass | 237 +++++++++ .../wyrm/sass/wyrm_core/_video.sass | 28 ++ .../wyrm/sass/wyrm_core/_wy_variables.sass | 129 +++++ .../wyrm/sass/wyrm_docs/_highlight.sass | 90 ++++ .../missing-sources/wyrm/sass/wyrm_docs/_kss.sass | 198 ++++++++ .../wyrm/sass/wyrm_docs/_prettify.sass | 144 ++++++ debian/missing-sources/wyrm/sass/wyrm_test.sass | 59 +++ .../patches/do-not-override-build-commands.patch | 21 + debian/patches/fonts-only-ttf-woff2.patch | 64 +++ debian/patches/remove-html5shiv.patch | 22 + debian/patches/replace-webpack-imports.patch | 67 +++ debian/patches/series | 5 + debian/patches/tests-configuration.patch | 33 ++ debian/python3-sphinx-rtd-theme.docs | 1 + debian/python3-sphinx-rtd-theme.install | 2 + debian/rules | 46 ++ debian/source/format | 1 + debian/source/lintian-overrides | 3 + debian/source/options | 1 + debian/sphinx-rtd-theme-common.install | 3 + debian/sphinx-rtd-theme-common.links | 9 + debian/watch | 4 + 169 files changed, 10743 insertions(+) create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/gitlab-ci.yml create mode 100644 debian/missing-sources/bourbon-neat/CHANGELOG.md create mode 100644 debian/missing-sources/bourbon-neat/LICENSE.md create mode 100644 debian/missing-sources/bourbon-neat/README.md create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat-helpers.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_new-breakpoint.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_private.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_box-sizing.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_direction-context.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_display-context.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_fill-parent.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_media.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_omega.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_outer-container.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_pad.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_private.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_reset-display.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_row.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_shift.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_span-columns.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_to-deprecate.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_visual-grid.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_disable-warnings.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_grid.scss create mode 100644 debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_visual-grid.scss create mode 100644 debian/missing-sources/bourbon/CHANGELOG.md create mode 100644 debian/missing-sources/bourbon/LICENSE.md create mode 100644 debian/missing-sources/bourbon/README.md create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-color.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-radius.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-style.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_buttons.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_ellipsis.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_font-stacks.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_hide-text.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_margin.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_padding.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_position.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_prefixer.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_retina-image.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_size.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_text-inputs.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_timing-functions.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_triangle.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/addons/_word-wrap.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_animation.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_appearance.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_backface-visibility.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background-image.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_border-image.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_calc.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_columns.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_filter.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_flex-box.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-feature-settings.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_hidpi-media-query.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_hyphens.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_image-rendering.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_keyframes.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_linear-gradient.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_perspective.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_placeholder.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_radial-gradient.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_selection.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_text-decoration.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transform.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transition.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/css3/_user-select.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-length.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-light.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-number.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-size.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_modular-scale.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-em.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-rem.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_shade.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_strip-units.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_transition-property-name.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/functions/_unpack.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_convert-units.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_directional-values.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_gradient-positions-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-angle-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-gradient-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-positions-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-arg-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-gradient-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-positions-parser.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_render-gradients.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_str-to-num.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/settings/_asset-pipeline.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/settings/_deprecation-warnings.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/settings/_prefixer.scss create mode 100644 debian/missing-sources/bourbon/app/assets/stylesheets/settings/_px-to-em.scss create mode 100644 debian/missing-sources/wyrm/LICENSE create mode 100644 debian/missing-sources/wyrm/README.md create mode 100644 debian/missing-sources/wyrm/sass/_wyrm_all.sass create mode 100644 debian/missing-sources/wyrm/sass/_wyrm_core.sass create mode 100644 debian/missing-sources/wyrm/sass/styleguide.md create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/elements/_modal.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/elements/_paginate.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/elements/_stars.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_autocomplete.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_gallery.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_tag.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_upload.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_dark.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_light.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_figures.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_redactor.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_alert.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_button.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_dropdown.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_font_icon_defaults.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_form.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_generic.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_grid_settings.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_mixin.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_neat_extra.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_normalize.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_reset.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_spinner.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_table.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_type.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_video.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_core/_wy_variables.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_docs/_highlight.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_docs/_kss.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_docs/_prettify.sass create mode 100644 debian/missing-sources/wyrm/sass/wyrm_test.sass create mode 100644 debian/patches/do-not-override-build-commands.patch create mode 100644 debian/patches/fonts-only-ttf-woff2.patch create mode 100644 debian/patches/remove-html5shiv.patch create mode 100644 debian/patches/replace-webpack-imports.patch create mode 100644 debian/patches/series create mode 100644 debian/patches/tests-configuration.patch create mode 100644 debian/python3-sphinx-rtd-theme.docs create mode 100644 debian/python3-sphinx-rtd-theme.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/source/options create mode 100644 debian/sphinx-rtd-theme-common.install create mode 100644 debian/sphinx-rtd-theme-common.links create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..0fe7ff7 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,20 @@ +The `debian/missing-sources` directory contains the SASS sources needed to +build the theme CSS. + +The procedure for updating them is as follows: + +- Install the latest versions of node.js and npm. +- Install the JavaScript dependencies using `npm install`. +- Copy `bourbon`, `bourbon-neat` and `wyrm` directories from `node_modules` + to `debian/missing-sources`. + +The following components are copied: + +Name | Website | WNPP bug | Currently used version +------------ | ----------------------------- | -------- | ---------------------- +bourbon | https://www.bourbon.io/ | #892811 | 4.3.4 +bourbon-neat | https://neat.bourbon.io/ | | 1.9.1 +wyrm | https://github.com/snide/wyrm | | 1.0.9 + +Note that only the SASS files and the corresponding documentation are copied, +not the other files. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..63be1fd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,293 @@ +sphinx-rtd-theme (2.0.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Drop css-files.patch, applied upstream. + * Refresh remove-html5shiv.patch. + + -- Dmitry Shachnev Thu, 30 Nov 2023 13:23:04 +0300 + +sphinx-rtd-theme (2.0.0~rc3+dfsg-2) unstable; urgency=medium + + * Add a patch to support strings in css_files (closes: #1054685). + + -- Dmitry Shachnev Sat, 28 Oct 2023 15:57:17 +0300 + +sphinx-rtd-theme (2.0.0~rc3+dfsg-1) unstable; urgency=medium + + * New upstream release candidate. + * Refresh remove-html5shiv.patch. + + -- Dmitry Shachnev Tue, 24 Oct 2023 14:19:02 +0300 + +sphinx-rtd-theme (1.3.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Exclude upstream .gitattributes, it makes salsa-pipeline fail. + + -- Dmitry Shachnev Mon, 28 Aug 2023 14:12:23 +0300 + +sphinx-rtd-theme (1.2.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Upload to unstable. + + -- Dmitry Shachnev Sun, 18 Jun 2023 12:01:59 +0300 + +sphinx-rtd-theme (1.2.1+dfsg-1) experimental; urgency=medium + + * New upstream release. + * Drop remove-sphinxcontrib-jquery-dependency.patch. Instead, depend on + python3-sphinxcontrib.jquery which is now available in Debian. + * Stop shipping all dummy empty files. + + -- Dmitry Shachnev Wed, 24 May 2023 11:05:24 +0300 + +sphinx-rtd-theme (1.2.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Add a patch to remove sphinxcontrib-jquery dependency for now. + * Bump Standards-Version to 4.6.2, no changes needed. + + -- Dmitry Shachnev Thu, 09 Feb 2023 01:25:43 +0400 + +sphinx-rtd-theme (1.2.0~rc1+dfsg-1) unstable; urgency=medium + + * New upstream release candidate. + + -- Dmitry Shachnev Fri, 16 Dec 2022 20:18:06 +0300 + +sphinx-rtd-theme (1.1.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Dmitry Shachnev Sun, 13 Nov 2022 10:33:28 +0300 + +sphinx-rtd-theme (1.1.0+dfsg-1) unstable; urgency=medium + + [ Peter Wienemann ] + * Mark sphinx-rtd-theme-common package Multi-Arch: foreign + + [ Dmitry Shachnev ] + * Update debian/watch to use tags page and track pre-releases. + * New upstream release. + * Drop fix-indentation-error.patch, applied upstream. + * Refresh do-not-override-build-commands.patch. + * Update debian/source/lintian-overrides for Lintian pointed hints. + * Add generated sphinx.mo files to debian/clean. + * Bump Standards-Version to 4.6.1, no changes needed. + + -- Dmitry Shachnev Wed, 02 Nov 2022 00:34:59 +0300 + +sphinx-rtd-theme (1.0.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Update debian/watch to work with new GitHub URLs. + * Remove fonts from Files-Excluded. That directory is not included in + upstream git repository since 0.5.0. + * Rebase patches for the new release. + * Add a patch to fix indentation error from sass. + * Remove old transitional empty files: Inconsolata-*.ttf. + * Bump Standards-Version to 4.6.0, no changes needed. + * Override one more Lintian warning about webpack.prod.js. + * Declare Rules-Requires-Root: no. + + -- Dmitry Shachnev Wed, 15 Sep 2021 17:17:44 +0300 + +sphinx-rtd-theme (0.5.1+dfsg-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Dmitry Shachnev ] + * New upstream release. + * Remove node-html5shiv dependency, it was only needed for IE 8. + - Add html5shiv{,-printshiv}.min.js as dummy empty files. + * Bump Standards-Version to 4.5.1, no changes needed. + + -- Dmitry Shachnev Tue, 05 Jan 2021 21:38:24 +0300 + +sphinx-rtd-theme (0.5.0+dfsg-1) unstable; urgency=medium + + * Exclude some generated files from the tarball. + * New upstream release. + * Rebase fonts-only-ttf-woff2.patch. + * Update debian/missing-sources for the new release. + * Update build code in debian/rules for the new release. + * Add a patch to replace webpack-style imports with normal ones. + * Add a patch to not override Python build commands. + * Remove modernizr symlink, add html5shiv symlink. + * Override false positive Lintian warning about webpack.prod.js. + * Regenerate .mo files from .po files during build. + * Update links for fonts-font-awesome 5.0.10+really4.7.0~dfsg-2. + * Add GitLab CI configuration file. + * Update debian/copyright. + * Update to debhelper compat level 13. + * Bump Standards-Version to 4.5.0, no changes needed. + + -- Dmitry Shachnev Mon, 24 Aug 2020 14:44:20 +0300 + +sphinx-rtd-theme (0.4.3+dfsg-3) unstable; urgency=medium + + * Drop python2 support; Closes: #938545 + + -- Sandro Tosi Wed, 18 Mar 2020 18:04:55 -0400 + +sphinx-rtd-theme (0.4.3+dfsg-2) unstable; urgency=medium + + [ Dmitry Shachnev ] + * Update Homepage, debian/watch and debian/copyright for another owner + change of upstream GitHub repository. + * Remove outdated Upstream-Contact field. + * Update for fonts-roboto-slab switch from TrueType to OpenType in version + 1.100263+20170512-2: + - Build the WOFF2 version of RobotoSlab font from OTF source. + - Stop using the TTF version and replace it with a dummy empty file + for compatibility with packages built against older package versions. + + [ Ondřej Nový ] + * Use debhelper-compat instead of debian/compat. + * Bump Standards-Version to 4.4.1. + + -- Dmitry Shachnev Mon, 16 Dec 2019 11:37:15 +0300 + +sphinx-rtd-theme (0.4.3+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version to 4.3.0, no changes needed. + + -- Dmitry Shachnev Sat, 23 Feb 2019 15:22:25 +0300 + +sphinx-rtd-theme (0.4.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Sphinx is now listed in install_requires. Stop recommending it. + * Add .gitattributes and docs/make.bat to debian/clean. + * Bump Standards-Version to 4.2.1, no changes needed. + + -- Dmitry Shachnev Tue, 09 Oct 2018 19:12:42 +0300 + +sphinx-rtd-theme (0.4.0+dfsg-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + * d/copyright: Use https protocol in Format field + * d/watch: Use https protocol + * d/control: Remove ancient X-Python-Version field + * d/control: Remove ancient X-Python3-Version field + + [ Dmitry Shachnev ] + * Use tarballs from GitHub, as they contain the SASS source files. + * Exclude built files without source from the tarball. + * New upstream release. + * Provide missing SASS sources in debian/missing-sources/. + * Regenerate CSS files from source during build (closes: #892993). + * Document the missing-sources update steps in debian/README.source. + * Update Lato and RobotoSlab fonts: + - Symlink .ttf variants to the packaged versions. + - Generate .woff2 varitants from .ttf during build. + - Drop other variants (.eof and .woff). + - Use different file names for compatibility with packages built + against sphinx-rtd-theme 0.2.4. + * Update debian/copyright. + * Run upstream tests during build: + - Build-depend on pytest and sphinx. + - Add a patch to make tests pass in a build environment. + - Export LC_ALL=C.UTF-8 to make the Python 3 tests pass. + * Sort sphinx-rtd-theme-common.{install,links}. + * Add a symlink to the .woff2 version of font-awesome. + * Add Inconsolata-{Bold,Regular}.ttf as dummy empty files, to make sure + that packages built with sphinx-rtd-theme 0.2.4 do not have dangling + symlinks after upgrade. + * Revert from using theme-path.patch to lots of symlinks, to make sure + that newly built projects do not have these dummy files. + * Update debhelper compat level to 11. + * Bump Standards-Version to 4.1.5, no changes needed. + + -- Dmitry Shachnev Thu, 05 Jul 2018 19:36:50 +0300 + +sphinx-rtd-theme (0.2.4-1) unstable; urgency=medium + + * New upstream version 0.2.4. + * Update patches for the new release. + - Drop do-not-require-sphinx.patch, applied upstream. + - Drop sourcelink-suffix.patch, it was coming from upstream. + - Rebase theme-path.patch. + * Use HTTPS URL in Vcs-Git field. + * Update Homepage and Source URLs to the new upstream repository location. + * Bump Standards-Version to 4.0.0, no changes needed. + * Bump debhelper compatibility level to 10. + * Install README.rst in python3-sphinx-rtd-theme package. + * Upload to unstable. + + -- Dmitry Shachnev Fri, 30 Jun 2017 20:10:39 +0300 + +sphinx-rtd-theme (0.1.9-2) experimental; urgency=medium + + * Set theme_path to /usr/share/sphinx_rtd_theme. + This allows us to stop creating symlinks from real theme path to + dist-packages directories, and simplify the package layout. + * Add SOURCES.txt and requires.txt from egg-info to debian/clean. + * Move the package to Debian Python Modules Team. + * Reorder two debian/copyright entries to fix Lintian warning. + * d/p/sourcelink-suffix.patch: add compatibility with searchtools of + Sphinx 1.5 (backported from upstream). + * Bump Standards-Version to 3.9.8, no changes needed. + * Upload to experimental because of freeze. + + -- Dmitry Shachnev Wed, 01 Feb 2017 22:49:46 +0300 + +sphinx-rtd-theme (0.1.9-1) unstable; urgency=medium + + * Imported Upstream version 0.1.9 + * d/missing-sources/theme.css: reflect upstream changes. + * d/missing-sources/theme.js: new unminified file. + + -- Sébastien Villemot Mon, 28 Sep 2015 22:21:29 +0200 + +sphinx-rtd-theme (0.1.8-2) unstable; urgency=medium + + * Add sphinx-rtd-theme-common package shipping static files. + * Use canonical Vcs-Browser link. + + -- Dmitry Shachnev Mon, 27 Jul 2015 21:29:19 +0300 + +sphinx-rtd-theme (0.1.8-1) unstable; urgency=low + + * Imported Upstream version 0.1.8 + * d/copyright: reflect upstream changes. + * d/p/localize-modernizr.patch: drop patch, applied upstream. + * Use system-wide Lato fonts. + + d/control: add Depends on fonts-lato. + + d/python{,3}-sphinx-rtd-theme.links: add relevant symlinks. + * d/control: update Git-* fields to reflect the move to collab-maint. + * d/control: set myself as Maintainer and Dmitry Shachnev as Uploader. + * Demote Depends on python{,3}-sphinx to a Recommends. + + d/p/do-not-require-sphinx.patch: new patch to remove the requirement. + + d/rules: tell dh_python to recommend sphinx module. (Closes: #783795) + + -- Sébastien Villemot Wed, 06 May 2015 21:48:02 +0200 + +sphinx-rtd-theme (0.1.7-1) unstable; urgency=medium + + * Imported Upstream version 0.1.7 + * Fix debian/watch (use pypi.debian.net redirector). + * Use libjs-modernizr instead of linking to an external website. + - d/p/localize-modernizr.patch: new patch backported from upstream; + replaces the external link with a link to a local copy of modernizr.js + - d/missing-sources/modernizr.js: source of minified modernizr.js + - d/copyright: document copyright and license of modernizr.js + - replace local copy of modernizr.js with a symlink to libjs-modernizr + - consequently, add dependency on libjs-modernizr + Thanks to David Prévot for crafting the patch. (Closes: #765420) + * Bump Standards-Version to 3.9.6, no changes needed. + + -- Sébastien Villemot Sun, 19 Apr 2015 18:34:42 +0200 + +sphinx-rtd-theme (0.1.6-1) unstable; urgency=low + + * Initial release. (Closes: #756894) + + -- Sébastien Villemot Sun, 03 Aug 2014 11:55:25 +0200 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..2b3c1d5 --- /dev/null +++ b/debian/clean @@ -0,0 +1,7 @@ +.gitattributes +.pytest_cache/ +.sass-cache/ +docs/make.bat +sphinx_rtd_theme.egg-info/ +sphinx_rtd_theme/locale/*/LC_MESSAGES/sphinx.mo +sphinx_rtd_theme/static/ diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..887457f --- /dev/null +++ b/debian/control @@ -0,0 +1,49 @@ +Source: sphinx-rtd-theme +Section: python +Priority: optional +Maintainer: Debian Python Team +Uploaders: Dmitry Shachnev +Build-Depends: debhelper-compat (= 13), + dh-python, + fonts-font-awesome, + fonts-lato, + fonts-roboto-slab (>= 1.100263+20170512-2), + python3-all, + python3-pytest, + python3-setuptools, + python3-sphinx, + python3-sphinxcontrib.jquery, + ruby-sass, + woff2 +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://github.com/readthedocs/sphinx_rtd_theme +Vcs-Git: https://salsa.debian.org/python-team/packages/sphinx-rtd-theme.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/sphinx-rtd-theme + +Package: sphinx-rtd-theme-common +Architecture: all +Multi-Arch: foreign +Depends: fonts-font-awesome, fonts-lato, ${misc:Depends} +Description: sphinx theme from readthedocs.org (common files) + This mobile-friendly sphinx theme was initially created for readthedocs.org, + but can be incorporated in any project. + . + Among other things, it features a left panel with a browseable table of + contents, and a search bar. + . + This package contains the common files used by the theme. + +Package: python3-sphinx-rtd-theme +Architecture: all +Depends: sphinx-rtd-theme-common (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends} +Description: sphinx theme from readthedocs.org (Python 3) + This mobile-friendly sphinx theme was initially created for readthedocs.org, + but can be incorporated in any project. + . + Among other things, it features a left panel with a browseable table of + contents, and a search bar. + . + This is the Python 3 version of the package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..035fc1b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,74 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Sphinx ReadTheDocs theme +Source: https://github.com/readthedocs/sphinx_rtd_theme +Files-Excluded: package-lock.json + sphinx_rtd_theme/locale/*/LC_MESSAGES/sphinx.mo + sphinx_rtd_theme/static + .gitattributes + +Files: * +Copyright: 2013-2018 Dave Snider, Read the Docs, Inc. & contributors +License: Expat + +Files: sphinx_rtd_theme/search.html +Copyright: 2007-2013 The Sphinx team +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: debian/* +Copyright: 2014 Sébastien Villemot + 2015-2023 Dmitry Shachnev +License: Expat + +Files: debian/missing-sources/bourbon/* +Copyright: 2011-2017 thoughtbot, inc. +License: Expat + +Files: debian/missing-sources/bourbon-neat/* +Copyright: 2012-2015 thoughtbot, inc. +License: Expat + +Files: debian/missing-sources/wyrm/* +Copyright: 2013 Dave Snider +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3879982 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch=debian/master diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..0c22dc4 --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,3 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/debian/missing-sources/bourbon-neat/CHANGELOG.md b/debian/missing-sources/bourbon-neat/CHANGELOG.md new file mode 100644 index 0000000..508ac9c --- /dev/null +++ b/debian/missing-sources/bourbon-neat/CHANGELOG.md @@ -0,0 +1,259 @@ +## [1.9.1] - 2018-09-11 + +### Fixed + +- Fix Sass warning about "&&" vs "and" ([#646]) + +[#646]: https://github.com/thoughtbot/neat/pull/646 + +## [1.9.0] - 2017-06-27 + +### Added + +- Add support for complex `nth-child` selectors in `omega()`. ([#340]) + +### Changed + +- The background color for visual grid columns now alternates. ([#373]) +- Update node-sass dependency to 4.1.1. ([#520]) + +### Fixed + +- Removed unnecessary deprecation warning when using the `reset-display` mixin. + ([#456]) +- The description of the `remove` CLI command now correctly outputs "remove". + ([#451]) + +[#340]: https://github.com/thoughtbot/neat/pull/340 +[#373]: https://github.com/thoughtbot/neat/pull/373 +[#451]: https://github.com/thoughtbot/neat/pull/451 +[#456]: https://github.com/thoughtbot/neat/pull/456 +[#520]: https://github.com/thoughtbot/neat/pull/520 + +## 1.8.0 - 2016-06-21 + +### Added + +- Added `--version` and `-v` options to the CLI now has that show the version of + Neat you have installed + +### Removed + +- Neat no longer requires Bourbon + +## 1.7.4 - 2016-03-04 + +### Added + +- Added an explicit sass requirement + +## 1.7.3 - 2016-02-29 + +### Added + +- Added eyeglass support + +### Changed + +- Neat's npm package now includes the proper Sass paths +- The default `$max-width` is now `1200px` + +## 1.7.2 - 2015-03-13 + +### Added + +- Added Bourbon's updated `modular-scale` function for grid settings + +### Removed + +- Removed prefixes for `box-sizing` + +## 1.7.1 - 2015-01-02 + +### Added + +- Added custom `not` function for Libsass 3.0 compatibility + +### Changed + +- Fixed bug related to the `omega`'s query argument + +## 1.7.0 - 2014-10-17 + +### Added + +- Full compatibility with Sass 3.4+ and Libsass 3.0+ + +### Changed + +- `direction-context` mixin changes the direction inside an entire block. +- `display-context` mixin changes the display property inside an entire block. +- `outer-container` now takes a max-width argument + +### Removed + +- Removed `reset-direction` +- Removed `reset-display` + +## 1.5.1 - 2014-04-06 + +### Added + +- Restore compatibility with Sass 3.2.x + +## 1.6.0 - 2014-03-28 + +### Added +- Added multiple media queries support to the `media` mixin, including queries + such as orientation + +### Changed +- Updated to Sass 3.3 and silence `!global` variable warnings +- Use absolute percentage widths for table displays + +### Removed + +- Passing table no longer adds padding to elements +- Omega no longer supports table display + +## 1.6.0.pre2 - 2014-03-21 + +### Changed + +- Use Sass 3.3 and silence global variable warnings + +## 1.6.0.pre - 2014-02-10 + +### Added + +- Added multiple media queries support to the `media` mixin, including queries + such as orientation + +### Changed + +- Use absolute percentage widths for table displays + +### Removed + +- Passing table no longer adds padding to elements +- Omega no longer supports table display + +## 1.5.0 - 2013-22-15 + +### Added + +- Added the ability for `span-columns` to omit display property from the output +- Improved browser support + +### Changed + +- Renamed `span-columns` collapse argument to block-collapse +- Made `shift` take parent column argument (useful when other `span-columns` + calls override the nesting context) + +## 1.4.0 - 2013-08-28 + +### Added + +- Added collapse argument to `span-columns` in order to remove gutter + +### Changed + +- Fixed visual grid overrides by reordering breakpoints +- Unified padding across table cells +- Specified comma as separator for gradient-stops append for libsass + +### Removed + +## 1.3.0 - 2013-05-03 + +### Added + +- Added global RTL layout support +- Added row-specific RTL layout support +- Added auto-clearing for elements using `omega(nth-child)` (works only with + simple `nth-child` arguments due to limited string operations in Sass) + +### Changed + +- `reset-display`, `reset-layout-direction`, and `reset-all` for all your reset needs! + +### Removed + +- The visual grid no longer blocks user interactions +- `omega` will no longer take `$direction` in favor of `row($direction)` or + `$default-layout-direction` + + +## 1.2.1 - 2013-04-04 + +### Added + +- Added stylesheets path to `Sass.load_paths` +- Official Docset + +### Changed + +- Force full-width and fixed table-layout on `row(table)` + +## 1.2.0 - 2013-02-18 + +### Added + +- Auto-detect table layout when `span-columns` is called inside `row(table)` + +### Changed + +- Make `shift` reset context after each nested call + +## 1.1.0 - 2013-01-09 + +### Added + +- `pad` takes shorthand arguments + +### Changed + +- Merge `omega` and `nth-omega` +- Last child in table layouts keeps its right-padding + +## 1.0.2 - 2012-11-19 + +### Added + +- Add explicit require to the bourbon gem + [#38](https://github.com/thoughtbot/neat/issues/38) + +## 1.0.1 - 2012-11-06 + +### Added + +- Relative path imports in Rails + +### Changed + +- Make `em` always return a number + +## 1.0.0 - 2012-10-29 + +### Added + +- Added executable for non-Rails projects +- Added visual grid +- Added `media` and `new-breakpoint` mixins +- Added `_neat-helpers.scss` as a public interface for Neat + +### Changed + +- Made `shift` work properly in nested contexts + +### Removed + +- Removed typography mixins and settings + +## 0.4.2 - 2012-08-31 + +- Initial release + +[1.9.1]: https://github.com/thoughtbot/neat/compare/v1.9.0...v1.9.1 +[1.9.0]: https://github.com/thoughtbot/neat/compare/v1.8.0...v1.9.0 diff --git a/debian/missing-sources/bourbon-neat/LICENSE.md b/debian/missing-sources/bourbon-neat/LICENSE.md new file mode 100644 index 0000000..1be2ca7 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright © 2012–2015 [thoughtbot, inc.](http://thoughtbot.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the “Software”), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/debian/missing-sources/bourbon-neat/README.md b/debian/missing-sources/bourbon-neat/README.md new file mode 100644 index 0000000..c5b58f9 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/README.md @@ -0,0 +1,281 @@ +[![Neat](http://images.thoughtbot.com/bourbon/neat-logo.svg)](http://neat.bourbon.io) + +## A lightweight, semantic grid framework + +**Note: This branch is an archive of Neat v1. The current release is v2 on +`master`.** + +Neat is a fluid grid framework with the aim of being easy enough to use out of the box and flexible enough to customize down the road. + +- **[Demo](http://neat.bourbon.io)** +- **[Documentation](http://thoughtbot.github.io/neat-docs/latest)** +- **[Changelog](https://github.com/thoughtbot/neat/releases)** +- **[Issues & Bugs](https://github.com/thoughtbot/neat/issues)** + +Follow the [@bourbonsass](https://twitter.com/bourbonsass) Twitter account +for updates. + +## Requirements + +- [Sass](https://github.com/sass/sass) 3.3+ +- :warning: If you need **Sass 3.2 support**, you should [use Neat 1.5.1](#installing-older-versions-of-neat) + +## Installation + +For command line help, visit our wiki page on Neat’s [command line interface](https://github.com/thoughtbot/neat/wiki/Command-Line-Interface). + +1. Install the Neat gem using the [RubyGems](https://rubygems.org) package manager: + + ```bash + gem install neat + ``` + + Alternatively, you can install Neat with [Bower](http://bower.io). + +2. Install or update Neat’s dependencies: + + ```bash + gem install sass # or gem update sass + ``` + +3. Install the Neat library into the current directory: + + ```bash + neat install + ``` + +4. Import Neat in your stylesheet: + + ```scss + @import "neat/neat"; + ``` + + It’s not recommended to add or modify the Neat files so that you can update them easily. + +## Installation for Ruby on Rails + +1. Add Neat to your Gemfile: + + ```ruby + gem 'neat' + ``` + +2. Then run: + + ```bash + bundle install + ``` + + If you see the error `Bundler could not find compatible versions for gem "sass"`, run: + + ```bash + bundle update sass + ``` + +3. Import Neat in your `application.scss`: + + ```scss + @import "neat"; + ``` + + It should be noted that `@import` rules are not compatible with Sprockets directives. You need to use one or the other. + +## Installing with npm and using a Node-based asset pipeline + +1. Add Neat as a dependency: + + ```bash + npm install --save bourbon-neat + ``` + +1. If you’re using [Eyeglass](http://eyeglass.rocks), skip to Step 3. Otherwise, you’ll need to add Neat to your node-sass `includePaths` option. `require("bourbon-neat").includePaths` is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project. + +1. Import Neat into your Sass files: + + ```scss + @import "neat"; + ``` + +## Installing older versions of Neat + +1. Uninstall any Neat gem versions you already have: + + ```bash + gem uninstall neat + ``` + +2. Reinstall the Neat gem, using the `-v` flag to specify the version you need: + + ```bash + gem install neat -v 1.7.0 + ``` + +3. Follow the [instructions above](#installation) to install Neat into your project. + +## Using Neat + +First off, if you are planning to override the default grid settings (12 columns), it is recommended to create a `_grid-settings.scss` file for that purpose. Make sure to import it right *before* importing Neat: + +```scss +@import "grid-settings"; +@import "neat/neat"; // or "neat" when in Rails +``` + +In your newly created `_grid-settings.scss`, import `neat-helpers` if you are planning to use `new-breakpoint()`, then define your new variables: + +```scss +@import "neat/neat-helpers"; // or "neat-helpers" when in Rails + +// Change the grid settings +$column: 90px; +$gutter: 30px; +$grid-columns: 10; +$max-width: 1200px; + +// Define your breakpoints +$tablet: new-breakpoint(max-width 768px 8); +$mobile: new-breakpoint(max-width 480px 4); +``` + +See the [docs](http://thoughtbot.github.io/neat-docs/latest/#variable) for a full list of settings. + +Next, include the `outer-container` mixin in the topmost container (to which the `max-width` setting will be applied): + +```scss +div.container { + @include outer-container; +} +``` + +Then use `span-columns` on any element to specify the number of columns it should span: + +```scss +div.element { + @include span-columns(6); +} +``` + +If the element’s parent isn’t the top-most container, you need to add the number of columns of the parent element to keep the right proportions: + +```scss +div.container { + @include outer-container; + + div.parent-element { + @include span-columns(8); + + div.element { + @include span-columns(6 of 8); + } + } +} +``` + +To make your layout responsive, use the `media()` mixin to modify both the grid and the layout: + +```scss +.my-class { + @include media($mobile) { // As defined in _grid-settings.scss + @include span-columns(2); + } +} + +// Compiled CSS +@media screen and (max-width: 480px) { + .my-class { + display: block; + float: left; + margin-right: 7.42297%; + width: 46.28851%; // 2 columns of the total 4 in this media context + } + .my-class:last-child { + margin-right: 0; + } +} +``` + +By setting `$visual-grid` to `true` in a file that is imported before +`neat-helpers` (or prior to `neat` itself if you are using the default +breakpoints), you can display the base grid in the background (default) or as an +overlay. You can even change the color and opacity of the grid-lines by +overriding the default settings as detailed in the section below. + +The visual grid reflects the changes applied to the grid via the `new-breakpoint()` mixin, as long as the media contexts are defined *before* importing Neat. + +## FAQ + +#### How do I use `omega()` in a mobile-first workflow? + +Using `omega()` with an `nth-child` pseudo selector in a mobile-first workflow will cause the style to be applied to wider-viewport media queries as well. That is the cascading nature of CSS. + +One solution would be to provide an `omega-reset()` mixin that negates the effect of `omega()` on that specific `nth-child` pseudo selector. While this is often the most suggested solution, it is also a lazy hack that outputs ugly code and can quickly get out of hand in complex layouts. As a general rule, having to *undo* CSS styles is a sign of poor stylesheet architecture (more about [CSS code smells](http://csswizardry.com/2012/11/code-smells-in-css/)). + +The other, more elegant, solution is to use mutually exclusive media queries, also referred to as [media-query +splitting](http://simurai.com/blog/2012/08/29/media-query-splitting). This would guarantee that `omega()` styles are only applied where desired. + +```scss +$first-breakpoint-value: 400px; +$second-breakpoint-value: 700px; +$medium-viewport: new-breakpoint(min-width $first-breakpoint-value max-width $second-breakpoint-value); +$large-viewport: new-breakpoint(min-width $second-breakpoint-value + 1); + +.element { + @include media($medium-viewport) { + @include span-columns(6); + @include omega(2n); + } + + @include media($large-viewport) { + @include span-columns(4); + @include omega(3n); + } +} +``` + +If, for some reason, you still think that `omega-reset` is the only way you want to go, check out Josh Fry’s [omega-reset](http://joshfry.me/blog/2013/05/13/omega-reset-for-bourbon-neat). + +#### Why are the elements not properly aligned with the visual grid? + +The visual grid is built using CSS gradients whose stops might contain decimal values depending on the default settings of your grid. In order to render the gradient, browsers round the pixel values since they can’t deal with pixel fractions. + +As a result the visual grid might be few pixels off in some browsers. The result is also inconsistent across browsers. For best results, preview your website on Firefox as it renders closest to the expected outcome. + +At this point, writing an internal rounding mechanism is not high priority. + +#### Framework X has this feature that Neat seems to be missing. Can you add it? + +Unless you [open a pull request](https://github.com/thoughtbot/neat/compare/), the answer is most likely going to be no. Neat is lightweight and simple compared to other grid frameworks, and strives to remain so. We have plans for adding new features in future versions of the framework, but these will be most likely to support new ways of working with layouts on the Web, not patches to existing ones. + +## Browser support + +- Chrome 10+ +- Firefox 29+ +- Internet Explorer 9+ (visual grid is IE 10 only) +- Internet Explorer 8 with [selectivizr](http://selectivizr.com) (no `media()` support) +- Opera 9.5+ +- Safari 5.1+ + +## The Bourbon family + +- [Bourbon](https://github.com/thoughtbot/bourbon): A simple and lightweight mixin library for Sass +- [Neat](https://github.com/thoughtbot/neat): A lightweight semantic grid framework for Sass and Bourbon +- [Bitters](https://github.com/thoughtbot/bitters): Scaffold styles, variables and structure for Bourbon projects +- [Refills](https://github.com/thoughtbot/refills): Prepackaged patterns and components built with Bourbon, Neat and Bitters + +## License + +Copyright © 2012–2015 [thoughtbot, inc](http://thoughtbot.com). Neat is free software, and may be redistributed under the terms specified in the [license](LICENSE.md). + +## About thoughtbot + +[thoughtbot logo][hire] + +Neat is maintained and funded by thoughtbot, inc. +The names and logos for thoughtbot are trademarks of thoughtbot, inc. + +We love open source software! +See [our other projects][community] +or [hire us][hire] to design, develop, and grow your product. + +[community]: https://thoughtbot.com/community?utm_source=github +[hire]: https://thoughtbot.com/hire-us?utm_source=github diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat-helpers.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat-helpers.scss new file mode 100644 index 0000000..2d6d808 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat-helpers.scss @@ -0,0 +1,11 @@ +// Mixins +@import "mixins/clearfix"; + +// Functions +@import "functions/private"; +@import "functions/new-breakpoint"; + +// Settings +@import "settings/grid"; +@import "settings/visual-grid"; +@import "settings/disable-warnings"; diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat.scss new file mode 100644 index 0000000..9841430 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/_neat.scss @@ -0,0 +1,24 @@ +// Neat 1.9.1 +// http://neat.bourbon.io +// Copyright 2012-2015 thoughtbot, inc. +// MIT License + +// Helpers +@import "neat-helpers"; + +// Grid +@import "grid/private"; +@import "grid/box-sizing"; +@import "grid/omega"; +@import "grid/outer-container"; +@import "grid/span-columns"; +@import "grid/row"; +@import "grid/shift"; +@import "grid/pad"; +@import "grid/fill-parent"; +@import "grid/media"; +@import "grid/reset-display"; +@import "grid/to-deprecate"; +@import "grid/visual-grid"; +@import "grid/display-context"; +@import "grid/direction-context"; diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_new-breakpoint.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_new-breakpoint.scss new file mode 100644 index 0000000..41ab955 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_new-breakpoint.scss @@ -0,0 +1,49 @@ +@charset "UTF-8"; + +/// Returns a media context (media query / grid context) that can be stored in a variable and passed to `media()` as a single-keyword argument. Media contexts defined using `new-breakpoint` are used by the visual grid, as long as they are defined before importing Neat. +/// +/// @param {List} $query +/// A list of media query features and values. Each `$feature` should have a corresponding `$value`. +/// +/// If there is only a single `$value` in `$query`, `$default-feature` is going to be used. +/// +/// The number of total columns in the grid can be set by passing `$columns` at the end of the list (overrides `$total-columns`). For a list of valid values for `$feature`, click [here](http://www.w3.org/TR/css3-mediaqueries/#media1). +/// +/// @param {Number (unitless)} $total-columns [$grid-columns] +/// - Number of columns to use in the new grid context. Can be set as a shorthand in the first parameter. +/// +/// @example scss - Usage +/// $mobile: new-breakpoint(max-width 480px 4); +/// +/// .element { +/// @include media($mobile) { +/// @include span-columns(4); +/// } +/// } +/// +/// @example css - CSS Output +/// @media screen and (max-width: 480px) { +/// .element { +/// display: block; +/// float: left; +/// margin-right: 7.42297%; +/// width: 100%; +/// } +/// .element:last-child { +/// margin-right: 0; +/// } +/// } + +@function new-breakpoint($query: $feature $value $columns, $total-columns: $grid-columns) { + @if length($query) == 1 { + $query: $default-feature nth($query, 1) $total-columns; + } @else if is-even(length($query)) { + $query: append($query, $total-columns); + } + + @if is-not(belongs-to($query, $visual-grid-breakpoints)) { + $visual-grid-breakpoints: append($visual-grid-breakpoints, $query, comma) !global; + } + + @return $query; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_private.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_private.scss new file mode 100644 index 0000000..9a6cd2f --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/functions/_private.scss @@ -0,0 +1,154 @@ +// Not function for Libsass compatibility +// https://github.com/sass/libsass/issues/368 +@function is-not($value) { + @return if($value, false, true); +} + +// Checks if a number is even +@function is-even($int) { + @return $int % 2 == 0; +} + +// Checks if an element belongs to a list or not +@function belongs-to($tested-item, $list) { + @return is-not(not-belongs-to($tested-item, $list)); +} + +@function not-belongs-to($tested-item, $list) { + @return is-not(index($list, $tested-item)); +} + +// Contains display value +@function contains-display-value($query) { + @return belongs-to(table, $query) + or belongs-to(block, $query) + or belongs-to(inline-block, $query) + or belongs-to(inline, $query); +} + +// Parses the first argument of span-columns() +@function container-span($span: $span) { + @if length($span) == 3 { + $container-columns: nth($span, 3); + @return $container-columns; + } @else if length($span) == 2 { + $container-columns: nth($span, 2); + @return $container-columns; + } + + @return $grid-columns; +} + +@function container-shift($shift: $shift) { + $parent-columns: $grid-columns !default !global; + + @if length($shift) == 3 { + $container-columns: nth($shift, 3); + @return $container-columns; + } @else if length($shift) == 2 { + $container-columns: nth($shift, 2); + @return $container-columns; + } + + @return $parent-columns; +} + +// Generates a striped background +@function gradient-stops($grid-columns, $color: $visual-grid-color) { + $transparent: transparent; + $alt-color: darken($color, 10%); + + $column-width: flex-grid(1, $grid-columns); + $gutter-width: flex-gutter($grid-columns); + $column-offset: $column-width; + $alternate: false; + + $values: ($transparent 0, if($alternate, $color, $alt-color) 0); + + @for $i from 1 to $grid-columns*2 { + @if is-even($i) { + $values: append($values, $transparent $column-offset, comma); + $values: append($values, if($alternate, $color, $alt-color) $column-offset, comma); + $column-offset: $column-offset + $column-width; + } @else { + $values: append($values, if($alternate, $color, $alt-color) $column-offset, comma); + $values: append($values, $transparent $column-offset, comma); + $column-offset: $column-offset + $gutter-width; + + $alternate: not $alternate; + } + } + + @return $values; +} + +// Layout direction +@function get-direction($layout, $default) { + $direction: null; + + @if to-upper-case($layout) == "LTR" or to-upper-case($layout) == "RTL" { + $direction: direction-from-layout($layout); + } @else { + $direction: direction-from-layout($default); + } + + @return $direction; +} + +@function direction-from-layout($layout) { + $direction: null; + + @if to-upper-case($layout) == "LTR" { + $direction: right; + } @else { + $direction: left; + } + + @return $direction; +} + +@function get-opposite-direction($direction) { + $opposite-direction: left; + + @if $direction == "left" { + $opposite-direction: right; + } + + @return $opposite-direction; +} + + +@function to-number($string) { + $string: str-replace($string, " ", ""); + $strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9"; + $numbers: 0 1 2 3 4 5 6 7 8 9; + $result: 0; + + @for $i from 1 through str-length($string) { + $character: str-slice($string, $i, $i); + $index: index($strings, $character); + + @if not $index { + @warn "Unknown character `#{$character}`."; + @return false; + } + + $number: nth($numbers, $index); + $result: $result * 10 + $number; + } + + @return $result; +} + +@function str-replace($string, $search, $replace: "") { + $index: str-index($string, $search); + + @if $index { + $first: str-slice($string, 1, $index - 1); + $last-slice: str-slice($string, $index + str-length($search)); + $last: str-replace($last-slice, $search, $replace); + @return $first + $replace + $last; + } + + @return $string; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_box-sizing.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_box-sizing.scss new file mode 100644 index 0000000..b6d3fec --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_box-sizing.scss @@ -0,0 +1,15 @@ +@charset "UTF-8"; + +@if $border-box-sizing == true { + html { // http://bit.ly/1qk2tVR + box-sizing: border-box; + } + + * { + &, + &::after, + &::before { + box-sizing: inherit; + } + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_direction-context.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_direction-context.scss new file mode 100644 index 0000000..7b0d46e --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_direction-context.scss @@ -0,0 +1,33 @@ +@charset "UTF-8"; + +/// Changes the direction property used by other mixins called in the code block argument. +/// +/// @param {String} $direction [left-to-right] +/// Layout direction to be used within the block. Can be `left-to-right` or `right-to-left`. +/// +/// @example scss - Usage +/// @include direction-context(right-to-left) { +/// .right-to-left-block { +/// @include span-columns(6); +/// } +/// } +/// +/// @example css - CSS Output +/// .right-to-left-block { +/// float: right; +/// ... +/// } + +@mixin direction-context($direction: left-to-right) { + $scope-direction: $layout-direction; + + @if to-lower-case($direction) == "left-to-right" { + $layout-direction: LTR !global; + } @else if to-lower-case($direction) == "right-to-left" { + $layout-direction: RTL !global; + } + + @content; + + $layout-direction: $scope-direction !global; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_display-context.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_display-context.scss new file mode 100644 index 0000000..ed9b063 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_display-context.scss @@ -0,0 +1,28 @@ +@charset "UTF-8"; + +/// Changes the display property used by other mixins called in the code block argument. +/// +/// @param {String} $display [block] +/// Display value to be used within the block. Can be `table` or `block`. +/// +/// @example scss +/// @include display-context(table) { +/// .display-table { +/// @include span-columns(6); +/// } +/// } +/// +/// @example css +/// .display-table { +/// display: table-cell; +/// ... +/// } + +@mixin display-context($display: block) { + $scope-display: $container-display-table; + $container-display-table: $display == table !global; + + @content; + + $container-display-table: $scope-display !global; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_fill-parent.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_fill-parent.scss new file mode 100644 index 0000000..415f0b1 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_fill-parent.scss @@ -0,0 +1,22 @@ +@charset "UTF-8"; + +/// Forces the element to fill its parent container. +/// +/// @example scss - Usage +/// .element { +/// @include fill-parent; +/// } +/// +/// @example css - CSS Output +/// .element { +/// width: 100%; +/// box-sizing: border-box; +/// } + +@mixin fill-parent() { + width: 100%; + + @if $border-box-sizing == false { + box-sizing: border-box; + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_media.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_media.scss new file mode 100644 index 0000000..bd516e9 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_media.scss @@ -0,0 +1,92 @@ +@charset "UTF-8"; + +/// Outputs a media-query block with an optional grid context (the total number of columns used in the grid). +/// +/// @param {List} $query +/// A list of media query features and values, where each `$feature` should have a corresponding `$value`. +/// For a list of valid values for `$feature`, click [here](http://www.w3.org/TR/css3-mediaqueries/#media1). +/// +/// If there is only a single `$value` in `$query`, `$default-feature` is going to be used. +/// +/// The number of total columns in the grid can be set by passing `$columns` at the end of the list (overrides `$total-columns`). +/// +/// +/// @param {Number (unitless)} $total-columns [$grid-columns] +/// - Number of columns to use in the new grid context. Can be set as a shorthand in the first parameter. +/// +/// @example scss - Usage +/// .responsive-element { +/// @include media(769px) { +/// @include span-columns(6); +/// } +/// } +/// +/// .new-context-element { +/// @include media(min-width 320px max-width 480px, 6) { +/// @include span-columns(6); +/// } +/// } +/// +/// @example css - CSS Output +/// @media screen and (min-width: 769px) { +/// .responsive-element { +/// display: block; +/// float: left; +/// margin-right: 2.35765%; +/// width: 48.82117%; +/// } +/// +/// .responsive-element:last-child { +/// margin-right: 0; +/// } +/// } +/// +/// @media screen and (min-width: 320px) and (max-width: 480px) { +/// .new-context-element { +/// display: block; +/// float: left; +/// margin-right: 4.82916%; +/// width: 100%; +/// } +/// +/// .new-context-element:last-child { +/// margin-right: 0; +/// } +/// } + +@mixin media($query: $feature $value $columns, $total-columns: $grid-columns) { + @if length($query) == 1 { + @media screen and ($default-feature: nth($query, 1)) { + $default-grid-columns: $grid-columns; + $grid-columns: $total-columns !global; + @content; + $grid-columns: $default-grid-columns !global; + } + } @else { + $loop-to: length($query); + $media-query: "screen and "; + $default-grid-columns: $grid-columns; + $grid-columns: $total-columns !global; + + @if is-not(is-even(length($query))) { + $grid-columns: nth($query, $loop-to) !global; + $loop-to: $loop-to - 1; + } + + $i: 1; + @while $i <= $loop-to { + $media-query: $media-query + "(" + nth($query, $i) + ": " + nth($query, $i + 1) + ") "; + + @if ($i + 1) != $loop-to { + $media-query: $media-query + "and "; + } + + $i: $i + 2; + } + + @media #{$media-query} { + @content; + $grid-columns: $default-grid-columns !global; + } + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_omega.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_omega.scss new file mode 100644 index 0000000..532db05 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_omega.scss @@ -0,0 +1,112 @@ +@charset "UTF-8"; + +/// Removes the element's gutter margin, regardless of its position in the grid hierarchy or display property. It can target a specific element, or every `nth-child` occurrence. Works only with `block` layouts. +/// +/// @param {List} $query [block] +/// List of arguments. Supported arguments are `nth-child` selectors (targets a specific pseudo element) and `auto` (targets `last-child`). +/// +/// When passed an `nth-child` argument of type `*n` with `block` display, the omega mixin automatically adds a clear to the `*n+1` th element. Note that composite arguments such as `2n+1` do not support this feature. +/// +/// **Deprecation warning**: The omega mixin will no longer take a `$direction` argument. To change the layout direction, use `row($direction)` or set `$default-layout-direction` instead. +/// +/// @example scss - Usage +/// .element { +/// @include omega; +/// } +/// +/// .nth-element { +/// @include omega(4n); +/// } +/// +/// @example css - CSS Output +/// .element { +/// margin-right: 0; +/// } +/// +/// .nth-element:nth-child(4n) { +/// margin-right: 0; +/// } +/// +/// .nth-element:nth-child(4n+1) { +/// clear: left; +/// } + +@mixin omega($query: block, $direction: default) { + $table: belongs-to(table, $query); + $auto: belongs-to(auto, $query); + + @if $direction != default { + @include -neat-warn("The omega mixin will no longer take a $direction argument. To change the layout direction, use the direction(){...} mixin."); + } @else { + $direction: get-direction($layout-direction, $default-layout-direction); + } + + @if $table { + @include -neat-warn("The omega mixin no longer removes padding in table layouts."); + } + + @if length($query) == 1 { + @if $auto { + &:last-child { + margin-#{$direction}: 0; + } + } + + @else if contains-display-value($query) and $table == false { + margin-#{$direction}: 0; + } + + @else { + @include nth-child($query, $direction); + } + } @else if length($query) == 2 { + @if $auto { + &:last-child { + margin-#{$direction}: 0; + } + } @else { + @include nth-child(nth($query, 1), $direction); + } + } @else { + @include -neat-warn("Too many arguments passed to the omega() mixin."); + } +} + +@mixin nth-child($query, $direction) { + $opposite-direction: get-opposite-direction($direction); + + &:nth-child(#{$query}) { + margin-#{$direction}: 0; + } + + @if type-of($query) == string { + $query: str-replace($query, " ", ""); + $operator: false; + + @if str_index($query, "+") { + $operator: "+"; + } @else if str_index($query, "-") { + $operator: "-"; + } + + @if $operator { + $operator-index: str_index($query, $operator); + $first: str-slice($query, 0, ($operator-index - 1)); + $last: to-number(str-slice($query, ($operator-index + 1), -1)); + @if $operator == "+" { + $last: $last + 1; + } @else if $operator == "-" { + $last: $last - 1; + } + $nth: "#{$first}#{$operator}#{$last}"; + + &:nth-child(#{$nth}) { + clear: $opposite-direction; + } + } + } @else if type-of($query) == number and unit($query) == "n" { + &:nth-child(#{$query}+1) { + clear: $opposite-direction; + } + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_outer-container.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_outer-container.scss new file mode 100644 index 0000000..d3f6267 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_outer-container.scss @@ -0,0 +1,34 @@ +@charset "UTF-8"; + +/// Makes an element a outer container by centering it in the viewport, clearing its floats, and setting its `max-width`. +/// Although optional, using `outer-container` is recommended. The mixin can be called on more than one element per page, as long as they are not nested. +/// +/// @param {Number [unit]} $local-max-width [$max-width] +/// Max width to be applied to the element. Can be a percentage or a measure. +/// +/// @example scss - Usage +/// .element { +/// @include outer-container(100%); +/// } +/// +/// @example css - CSS Output +/// .element { +/// max-width: 100%; +/// margin-left: auto; +/// margin-right: auto; +/// } +/// +/// .element::after { +/// clear: both; +/// content: ""; +/// display: table; +/// } + +@mixin outer-container($local-max-width: $max-width) { + @include clearfix; + max-width: $local-max-width; + margin: { + left: auto; + right: auto; + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_pad.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_pad.scss new file mode 100644 index 0000000..d697e1b --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_pad.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Adds padding to the element. +/// +/// @param {List} $padding [flex-gutter()] +/// A list of padding value(s) to use. Passing `default` in the list will result in using the gutter width as a padding value. +/// +/// @example scss - Usage +/// .element { +/// @include pad(30px -20px 10px default); +/// } +/// +/// @example css - CSS Output +/// .element { +/// padding: 30px -20px 10px 2.35765%; +/// } + +@mixin pad($padding: flex-gutter()) { + $padding-list: null; + @each $value in $padding { + $value: if($value == 'default', flex-gutter(), $value); + $padding-list: join($padding-list, $value); + } + padding: $padding-list; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_private.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_private.scss new file mode 100644 index 0000000..5122427 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_private.scss @@ -0,0 +1,35 @@ +$parent-columns: $grid-columns !default; +$fg-column: $column; +$fg-gutter: $gutter; +$fg-max-columns: $grid-columns; +$container-display-table: false !default; +$layout-direction: LTR !default; + +@function flex-grid($columns, $container-columns: $fg-max-columns) { + $width: flex-width($columns); + $container-width: flex-width($container-columns); + @return percentage($width / $container-width); +} + +@function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) { + $container-width: flex-width($container-columns); + @return percentage($gutter / $container-width); +} + +@function flex-width($n, $column-width: $fg-column, $gutter-width: $fg-gutter) { + @return $n * $column-width + ($n - 1) * $gutter-width; +} + +@function get-parent-columns($columns) { + @if $columns != $grid-columns { + $parent-columns: $columns !global; + } @else { + $parent-columns: $grid-columns !global; + } + + @return $parent-columns; +} + +@function is-display-table($container-is-display-table, $display) { + @return $container-is-display-table == true or $display == table; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_reset-display.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_reset-display.scss new file mode 100644 index 0000000..b8332b8 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_reset-display.scss @@ -0,0 +1,14 @@ +/// Resets the active display property to `block`. Particularly useful when changing the display property in a single row. +/// +/// @example scss - Usage +/// .element { +/// @include row(table); +/// // Context changed to table display +/// } +/// +/// @include reset-display; +/// // Context is reset to block display + +@mixin reset-display { + $container-display-table: false !global; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_row.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_row.scss new file mode 100644 index 0000000..8150160 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_row.scss @@ -0,0 +1,45 @@ +@charset "UTF-8"; + +/// Designates the element as a row of columns in the grid layout. It clears the floats on the element and sets its display property. Rows can't be nested, but there can be more than one row element—with different display properties—per layout. +/// +/// @param {String} $display [default] +/// Sets the display property of the element and the display context that will be used by its children. Can be `block` or `table`. +/// +/// @param {String} $direction [$default-layout-direction] +/// Sets the layout direction. Can be `LTR` (left-to-right) or `RTL` (right-to-left). +/// +/// @example scss - Usage +/// .element { +/// @include row(); +/// } +/// +/// @example css - CSS Output +/// .element { +/// *zoom: 1; +/// display: block; +/// } +/// +/// .element:before, .element:after { +/// content: " "; +/// display: table; +/// } +/// +/// .element:after { +/// clear: both; +/// } + +@mixin row($display: default, $direction: $default-layout-direction) { + + $layout-direction: $direction !global; + + @if $display == table { + display: table; + @include fill-parent; + table-layout: fixed; + $container-display-table: true !global; + } @else { + @include clearfix; + display: block; + $container-display-table: false !global; + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_shift.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_shift.scss new file mode 100644 index 0000000..c0f24cd --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_shift.scss @@ -0,0 +1,50 @@ +@charset "UTF-8"; + +/// Translates an element horizontally by a number of columns. Positive arguments shift the element to the active layout direction, while negative ones shift it to the opposite direction. +/// +/// @param {Number (unitless)} $n-columns [1] +/// Number of columns by which the element shifts. +/// +/// @example scss - Usage +/// .element { +/// @include shift(-3); +/// } +/// +/// @example css - CSS output +/// .element { +/// margin-left: -25.58941%; +/// } + +@mixin shift($n-columns: 1) { + @include shift-in-context($n-columns); +} + +/// Translates an element horizontally by a number of columns, in a specific nesting context. +/// +/// @param {List} $shift +/// A list containing the number of columns to shift (`$columns`) and the number of columns of the parent element (`$container-columns`). +/// +/// The two values can be separated with any string such as `of`, `/`, etc. +/// +/// @example scss - Usage +/// .element { +/// @include shift(-3 of 6); +/// } +/// +/// @example css - CSS output +/// .element { +/// margin-left: -52.41458%; +/// } + +@mixin shift-in-context($shift: $columns of $container-columns) { + $n-columns: nth($shift, 1); + $parent-columns: container-shift($shift) !global; + + $direction: get-direction($layout-direction, $default-layout-direction); + $opposite-direction: get-opposite-direction($direction); + + margin-#{$opposite-direction}: $n-columns * flex-grid(1, $parent-columns) + $n-columns * flex-gutter($parent-columns); + + // Reset nesting context + $parent-columns: $grid-columns !global; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_span-columns.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_span-columns.scss new file mode 100644 index 0000000..a7f9b00 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_span-columns.scss @@ -0,0 +1,94 @@ +@charset "UTF-8"; + +/// Specifies the number of columns an element should span. If the selector is nested the number of columns of its parent element should be passed as an argument as well. +/// +/// @param {List} $span +/// A list containing `$columns`, the unitless number of columns the element spans (required), and `$container-columns`, the number of columns the parent element spans (optional). +/// +/// If only one value is passed, it is assumed that it's `$columns` and that that `$container-columns` is equal to `$grid-columns`, the total number of columns in the grid. +/// +/// The values can be separated with any string such as `of`, `/`, etc. +/// +/// `$columns` also accepts decimals for when it's necessary to break out of the standard grid. E.g. Passing `2.4` in a standard 12 column grid will divide the row into 5 columns. +/// +/// @param {String} $display [block] +/// Sets the display property of the element. By default it sets the display property of the element to `block`. +/// +/// If passed `block-collapse`, it also removes the margin gutter by adding it to the element width. +/// +/// If passed `table`, it sets the display property to `table-cell` and calculates the width of the element without taking gutters into consideration. The result does not align with the block-based grid. +/// +/// @example scss - Usage +/// .element { +/// @include span-columns(6); +/// +/// .nested-element { +/// @include span-columns(2 of 6); +/// } +/// } +/// +/// @example css - CSS Output +/// .element { +/// display: block; +/// float: left; +/// margin-right: 2.35765%; +/// width: 48.82117%; +/// } +/// +/// .element:last-child { +/// margin-right: 0; +/// } +/// +/// .element .nested-element { +/// display: block; +/// float: left; +/// margin-right: 4.82916%; +/// width: 30.11389%; +/// } +/// +/// .element .nested-element:last-child { +/// margin-right: 0; +/// } + +@mixin span-columns($span: $columns of $container-columns, $display: block) { + $columns: nth($span, 1); + $container-columns: container-span($span); + + $parent-columns: get-parent-columns($container-columns) !global; + + $direction: get-direction($layout-direction, $default-layout-direction); + $opposite-direction: get-opposite-direction($direction); + + $display-table: is-display-table($container-display-table, $display); + + @if $display-table { + display: table-cell; + width: percentage($columns / $container-columns); + } @else { + float: #{$opposite-direction}; + + @if $display != no-display { + display: block; + } + + @if $display == collapse { + @include -neat-warn("The 'collapse' argument will be deprecated. Use 'block-collapse' instead."); + } + + @if $display == collapse or $display == block-collapse { + width: flex-grid($columns, $container-columns) + flex-gutter($container-columns); + + &:last-child { + width: flex-grid($columns, $container-columns); + } + + } @else { + margin-#{$direction}: flex-gutter($container-columns); + width: flex-grid($columns, $container-columns); + + &:last-child { + margin-#{$direction}: 0; + } + } + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_to-deprecate.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_to-deprecate.scss new file mode 100644 index 0000000..b46d976 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_to-deprecate.scss @@ -0,0 +1,81 @@ +@charset "UTF-8"; + +@mixin breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) { + @include -neat-warn("The breakpoint() mixin was renamed to media() in Neat 1.0. Please update your project with the new syntax before the next version bump."); + + @if length($query) == 1 { + @media screen and ($default-feature: nth($query, 1)) { + $default-grid-columns: $grid-columns; + $grid-columns: $total-columns; + @content; + $grid-columns: $default-grid-columns; + } + } @else if length($query) == 2 { + @media screen and (nth($query, 1): nth($query, 2)) { + $default-grid-columns: $grid-columns; + $grid-columns: $total-columns; + @content; + $grid-columns: $default-grid-columns; + } + } @else if length($query) == 3 { + @media screen and (nth($query, 1): nth($query, 2)) { + $default-grid-columns: $grid-columns; + $grid-columns: nth($query, 3); + @content; + $grid-columns: $default-grid-columns; + } + } @else if length($query) == 4 { + @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) { + $default-grid-columns: $grid-columns; + $grid-columns: $total-columns; + @content; + $grid-columns: $default-grid-columns; + } + } @else if length($query) == 5 { + @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) { + $default-grid-columns: $grid-columns; + $grid-columns: nth($query, 5); + @content; + $grid-columns: $default-grid-columns; + } + } @else { + @include -neat-warn("Wrong number of arguments for breakpoint(). Read the documentation for more details."); + } +} + +@mixin nth-omega($nth, $display: block, $direction: default) { + @include -neat-warn("The nth-omega() mixin is deprecated. Please use omega() instead."); + @include omega($nth $display, $direction); +} + +/// Resets the active layout direction to the default value set in `$default-layout-direction`. Particularly useful when changing the layout direction in a single row. +/// +/// @example scss - Usage +/// .element { +/// @include row($direction: RTL); +/// // Context changed to right-to-left +/// } +/// +/// @include reset-layout-direction; +/// // Context is reset to left-to-right + +@mixin reset-layout-direction { + $layout-direction: $default-layout-direction !global; + @include -neat-warn("Resetting $direction will be deprecated in future versions in favor of the direction(){...} mixin."); +} + +/// Resets both the active layout direction and the active display property. +/// +/// @example scss - Usage +/// .element { +/// @include row(table, RTL); +/// // Context changed to table table and right-to-left +/// } +/// +/// @include reset-all; +/// // Context is reset to block display and left-to-right + +@mixin reset-all { + @include reset-display; + @include reset-layout-direction; +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_visual-grid.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_visual-grid.scss new file mode 100644 index 0000000..1192d82 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/grid/_visual-grid.scss @@ -0,0 +1,42 @@ +@charset "UTF-8"; + +@mixin grid-column-gradient($values...) { + background-image: -webkit-linear-gradient(left, $values); + background-image: -moz-linear-gradient(left, $values); + background-image: -ms-linear-gradient(left, $values); + background-image: -o-linear-gradient(left, $values); + background-image: unquote("linear-gradient(to left, #{$values})"); +} + +@if $visual-grid == true or $visual-grid == yes { + body:before { + @include grid-column-gradient(gradient-stops($grid-columns)); + content: ""; + display: inline-block; + height: 100%; + left: 0; + margin: 0 auto; + max-width: $max-width; + opacity: $visual-grid-opacity; + pointer-events: none; + position: fixed; + right: 0; + width: 100%; + + @if $visual-grid-index == back { + z-index: -1; + } + + @else if $visual-grid-index == front { + z-index: 9999; + } + + @each $breakpoint in $visual-grid-breakpoints { + @if $breakpoint { + @include media($breakpoint) { + @include grid-column-gradient(gradient-stops($grid-columns)); + } + } + } + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss new file mode 100644 index 0000000..e68efc4 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Provides an easy way to include a clearfix for containing floats. +/// +/// @link http://goo.gl/yP5hiZ +/// +/// @example scss +/// .element { +/// @include clearfix; +/// } +/// +/// @example css +/// .element::after { +/// clear: both; +/// content: ""; +/// display: block; +/// } + +@mixin clearfix { + &::after { + clear: both; + content: ""; + display: block; + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_disable-warnings.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_disable-warnings.scss new file mode 100644 index 0000000..3f9b92a --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_disable-warnings.scss @@ -0,0 +1,13 @@ +@charset "UTF-8"; + +/// Disable all deprecation warnings. Defaults to `false`. Set with a `!global` flag. +/// +/// @type Bool + +$disable-warnings: false !default; + +@mixin -neat-warn($message) { + @if $disable-warnings == false { + @warn "#{$message}"; + } +} diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_grid.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_grid.scss new file mode 100644 index 0000000..c1ab7fd --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_grid.scss @@ -0,0 +1,51 @@ +@charset "UTF-8"; + +/// Sets the relative width of a single grid column. The unit used should be the same one used to define `$gutter`. Set with a `!global` flag. +/// +/// @type Number (Unit) + +$column: 4.2358em !default; + +/// Sets the relative width of a single grid gutter. The unit used should be the same one used to define `$column`. Set with the `!global` flag. +/// +/// @type Number (Unit) + +$gutter: 1.618em !default; + +/// Sets the total number of columns in the grid. Its value can be overridden inside a media query using the `media()` mixin. Set with the `!global` flag. +/// +/// @type Number (Unitless) + +$grid-columns: 12 !default; + +/// Sets the max-width property of the element that includes `outer-container()`. Set with the `!global` flag. +/// +/// @type Number (Unit) +/// +$max-width: 1200px !default; + +/// When set to true, it sets the box-sizing property of all elements to `border-box`. Set with a `!global` flag. +/// +/// @type Bool +/// +/// @example css - CSS Output +/// html { +/// box-sizing: border-box; } +/// +/// *, *::after, *::before { +/// box-sizing: inherit; +/// } + +$border-box-sizing: true !default; + +/// Sets the default [media feature](http://www.w3.org/TR/css3-mediaqueries/#media) that `media()` and `new-breakpoint()` revert to when only a breakpoint value is passed. Set with a `!global` flag. +/// +/// @type String + +$default-feature: min-width; // Default @media feature for the breakpoint() mixin + +///Sets the default layout direction of the grid. Can be `LTR` or `RTL`. Set with a `!global` flag. +/// +///@type String + +$default-layout-direction: LTR !default; diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_visual-grid.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_visual-grid.scss new file mode 100644 index 0000000..9cd1815 --- /dev/null +++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/settings/_visual-grid.scss @@ -0,0 +1,27 @@ +@charset "UTF-8"; + +/// Displays the visual grid when set to true. The overlaid grid may be few pixels off depending on the browser's rendering engine and pixel rounding algorithm. Set with the `!global` flag. +/// +/// @type Bool + +$visual-grid: false !default; + +/// Sets the visual grid color. Set with `!global` flag. +/// +/// @type Color + +$visual-grid-color: #eee !default; + +/// Sets the `z-index` property of the visual grid. Can be `back` (behind content) or `front` (in front of content). Set with `!global` flag. +/// +/// @type String + +$visual-grid-index: back !default; + +/// Sets the opacity property of the visual grid. Set with `!global` flag. +/// +/// @type Number (unitless) + +$visual-grid-opacity: 0.4 !default; + +$visual-grid-breakpoints: () !default; diff --git a/debian/missing-sources/bourbon/CHANGELOG.md b/debian/missing-sources/bourbon/CHANGELOG.md new file mode 100644 index 0000000..ee17d53 --- /dev/null +++ b/debian/missing-sources/bourbon/CHANGELOG.md @@ -0,0 +1,47 @@ +# Change Log + +All notable changes to this project will be documented in this file. This +project adheres to [Semantic Versioning](http://semver.org). + +## 4.3.4 - 2017-04-01 + +### Changed + +- Updated deprecation warning message for `strip-units`. ([#1016]) + +[#1016]: https://github.com/thoughtbot/bourbon/pull/1016 + +## 4.3.3 - 2017-02-23 + +### Fixed + +- Internal Bourbon deprecation warnings for `is-size` and `is-length` will no + longer be thrown when using the `size` mixin. + +## 4.3.2 - 2017-02-10 + +### Fixed + +- Internal Bourbon deprecation warnings for `unpack` and `is-length` will no + longer be thrown when using the `position` mixin. ([#1004]) + +[#1004]: https://github.com/thoughtbot/bourbon/pull/1004 + +## 4.3.1 - 2017-02-07 + +### Fixed + +- Internal Bourbon deprecation warnings will no longer be thrown. ([#1002]) + +[#1002]: https://github.com/thoughtbot/bourbon/pull/1002 + +## 4.3.0 - 2017-02-03 + +### Added + +- Added deprecation warnings for features that will be removed in 5.0.0. Please + reference our [change log], which includes a list of these changes and + removals. ([#891]) + +[change log]: https://github.com/thoughtbot/bourbon/blob/master/CHANGELOG.md +[#891]: https://github.com/thoughtbot/bourbon/pull/891 diff --git a/debian/missing-sources/bourbon/LICENSE.md b/debian/missing-sources/bourbon/LICENSE.md new file mode 100644 index 0000000..ea5daef --- /dev/null +++ b/debian/missing-sources/bourbon/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright © 2011–2017 [thoughtbot, inc.](http://thoughtbot.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the “Software”), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/debian/missing-sources/bourbon/README.md b/debian/missing-sources/bourbon/README.md new file mode 100644 index 0000000..fd2b59f --- /dev/null +++ b/debian/missing-sources/bourbon/README.md @@ -0,0 +1,154 @@ +[![Bourbon](http://images.thoughtbot.com/bourbon/bourbon-logo.svg)](http://bourbon.io) + +[![GitHub release](https://img.shields.io/github/release/thoughtbot/bourbon.svg)](https://github.com/thoughtbot/bourbon/releases) +[![CircleCI branch](https://img.shields.io/circleci/project/thoughtbot/bourbon/master.svg)](https://circleci.com/gh/thoughtbot/bourbon/tree/master) + +## A simple and lightweight mixin library for Sass. + +Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration required. The mixins aim to be as vanilla as possible, meaning they should be as close to the original CSS syntax as possible. + +The mixins contain vendor specific prefixes for all CSS3 properties for support amongst modern browsers. The prefixes also ensure graceful degradation for older browsers that support only CSS3 prefixed properties. Bourbon uses SCSS syntax. + +- **[Documentation](http://bourbon.io/docs)** +- **[Changelog](https://github.com/thoughtbot/bourbon/releases)** +- **[Issues & Bugs](https://github.com/thoughtbot/bourbon/issues)** + +Follow the [@bourbonsass](https://twitter.com/bourbonsass) Twitter account +for updates. + +## Requirements + +- [Sass](https://github.com/sass/sass) 3.4+ or [LibSass](https://github.com/sass/libsass) 3.1+ + +## Installation + +For command line help, visit our wiki page on Bourbon’s [command line interface](https://github.com/thoughtbot/bourbon/wiki/Command-Line-Interface). + +1. Install the Bourbon gem using the [RubyGems](https://rubygems.org) package manager: + + ```bash + gem install bourbon + ``` + + Alternatively, you can install Bourbon with [Bower](http://bower.io). + +2. Install the Bourbon library into the current directory: + + ```bash + bourbon install + ``` + + **Pro Tip:** You can target installation into a specific directory using the `path` flag: + + ```bash + bourbon install --path my/custom/path/ + ``` + +3. Import Bourbon at the beginning of your stylesheet: + + ```scss + @import "bourbon/bourbon"; + ``` + + It’s not recommended to add or modify the Bourbon files so that you can update them easily. + +## Installation for Ruby on Rails 3.1+ + +1. Add Bourbon to your Gemfile: + + ```ruby + gem 'bourbon' + ``` + +2. Then run: + + ```bash + bundle install + ``` + +3. Restart your server and rename `application.css` to `application.scss`: + + ```bash + mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss + ``` + +4. Delete _all_ Sprockets directives in `application.scss` (`require`, `require_tree` and `require_self`) and use Sass’s native `@import` instead. ([why?](http://pivotallabs.com/structure-your-sass-files-with-import)) + +5. Import Bourbon at the beginning of `application.scss`. All additional stylesheets should be imported below Bourbon: + + ```scss + @import "bourbon"; + @import "home"; + @import "users"; + ``` + + [Help! I’m getting an undefined mixin error.](https://github.com/thoughtbot/bourbon/wiki/Rails-Help-%5C-Undefined-mixin) + +## Installing with npm and using a Node-based asset pipeline + +1. Add Bourbon as a dependency: + + ```bash + npm install --save bourbon + ``` + +2. If you’re using [Eyeglass](http://eyeglass.rocks), skip to Step 3. Otherwise, you’ll need to add Bourbon to your node-sass `includePaths` option. `require("bourbon").includePaths` is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project. + +3. Import Bourbon into your Sass files: + + ```scss + @import "bourbon"; + ``` + +## Installing older versions of Bourbon + +1. Uninstall any Bourbon gem versions you already have: + + ```bash + gem uninstall bourbon + ``` + +2. Reinstall the Bourbon gem, using the `-v` flag to specify the version you need: + + ```bash + gem install bourbon -v 3.2.4 + ``` + +3. Follow the [instructions above](#installation) to install Bourbon into your project. + +## Browser support + +- Chrome 26+ +- Firefox 29+ +- Internet Explorer 9+ +- Opera 15+ +- Safari 6.1+ + +## The Bourbon family + +- [Bourbon](https://github.com/thoughtbot/bourbon): A simple and lightweight mixin library for Sass +- [Neat](https://github.com/thoughtbot/neat): A lightweight semantic grid framework for Sass and Bourbon +- [Bitters](https://github.com/thoughtbot/bitters): Scaffold styles, variables and structure for Bourbon projects +- [Refills](https://github.com/thoughtbot/refills): Prepackaged patterns and components built with Bourbon, Neat and Bitters + +Also check out [Proteus](https://github.com/thoughtbot/proteus), a collection of useful starter kits to help you prototype faster. Each kit comes with Bourbon, Neat and Bitters out-of-the-box. + +## License + +Copyright © 2011–2017 [thoughtbot, inc](http://thoughtbot.com). +Bourbon is free software, +and may be redistributed under the terms specified in the [license](LICENSE.md). + +## About thoughtbot + +[thoughtbot logo][hire] + +Bourbon is maintained and funded by thoughtbot, inc. +The names and logos for thoughtbot are trademarks of thoughtbot, inc. + +We love open source software! +See [our other projects][community] or +[hire us][hire] to design, develop, and grow your product. + +[community]: https://thoughtbot.com/community?utm_source=github +[hire]: https://thoughtbot.com/hire-us?utm_source=github diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss new file mode 100644 index 0000000..f7c980d --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss @@ -0,0 +1,19 @@ +@charset "UTF-8"; + +/// Throws Sass warnings to announce library deprecations. You can disable them +/// by setting the `$output-bourbon-deprecation-warnings` variable to `false`. +/// +/// @access private + +@mixin _bourbon-deprecate($feature, $message: null) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `#{$feature}` is deprecated and will be " + + "removed in 5.0.0. #{$message}"; + @content; + } +} + +@mixin _bourbon-deprecate-for-prefixing($feature) { + @include _bourbon-deprecate($feature, "We suggest using an automated " + + "prefixing tool, like Autoprefixer."); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss new file mode 100644 index 0000000..7b42421 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss @@ -0,0 +1,425 @@ +// The following features have been deprecated and will be removed in the next MAJOR version release + +@mixin inline-block { + @include _bourbon-deprecate("inline-block"); + + display: inline-block; +} + +@mixin button ($style: simple, $base-color: #4294f0, $text-size: inherit, $padding: 7px 18px) { + @include _bourbon-deprecate("button"); + + @if type-of($style) == string and type-of($base-color) == color { + @include buttonstyle($style, $base-color, $text-size, $padding); + } + + @if type-of($style) == string and type-of($base-color) == number { + $padding: $text-size; + $text-size: $base-color; + $base-color: #4294f0; + + @if $padding == inherit { + $padding: 7px 18px; + } + + @include buttonstyle($style, $base-color, $text-size, $padding); + } + + @if type-of($style) == color and type-of($base-color) == color { + $base-color: $style; + $style: simple; + @include buttonstyle($style, $base-color, $text-size, $padding); + } + + @if type-of($style) == color and type-of($base-color) == number { + $padding: $text-size; + $text-size: $base-color; + $base-color: $style; + $style: simple; + + @if $padding == inherit { + $padding: 7px 18px; + } + + @include buttonstyle($style, $base-color, $text-size, $padding); + } + + @if type-of($style) == number { + $padding: $base-color; + $text-size: $style; + $base-color: #4294f0; + $style: simple; + + @if $padding == #4294f0 { + $padding: 7px 18px; + } + + @include buttonstyle($style, $base-color, $text-size, $padding); + } + + &:disabled { + cursor: not-allowed; + opacity: 0.5; + } +} + +// Selector Style Button +@mixin buttonstyle($type, $b-color, $t-size, $pad) { + // Grayscale button + @if $type == simple and $b-color == grayscale($b-color) { + @include simple($b-color, true, $t-size, $pad); + } + + @if $type == shiny and $b-color == grayscale($b-color) { + @include shiny($b-color, true, $t-size, $pad); + } + + @if $type == pill and $b-color == grayscale($b-color) { + @include pill($b-color, true, $t-size, $pad); + } + + @if $type == flat and $b-color == grayscale($b-color) { + @include flat($b-color, true, $t-size, $pad); + } + + // Colored button + @if $type == simple { + @include simple($b-color, false, $t-size, $pad); + } + + @else if $type == shiny { + @include shiny($b-color, false, $t-size, $pad); + } + + @else if $type == pill { + @include pill($b-color, false, $t-size, $pad); + } + + @else if $type == flat { + @include flat($b-color, false, $t-size, $pad); + } +} + +// Simple Button +@mixin simple($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) { + $color: hsl(0, 0, 100%); + $border: adjust-color($base-color, $saturation: 9%, $lightness: -14%); + $inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%); + $stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%); + $text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%); + + @if is-light($base-color) { + $color: hsl(0, 0, 20%); + $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%); + } + + @if $grayscale == true { + $border: grayscale($border); + $inset-shadow: grayscale($inset-shadow); + $stop-gradient: grayscale($stop-gradient); + $text-shadow: grayscale($text-shadow); + } + + border: 1px solid $border; + border-radius: 3px; + box-shadow: inset 0 1px 0 0 $inset-shadow; + color: $color; + display: inline-block; + font-size: $textsize; + font-weight: bold; + @include linear-gradient ($base-color, $stop-gradient); + padding: $padding; + text-decoration: none; + text-shadow: 0 1px 0 $text-shadow; + background-clip: padding-box; + + &:hover:not(:disabled) { + $base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%); + $inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%); + $stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%); + + @if $grayscale == true { + $base-color-hover: grayscale($base-color-hover); + $inset-shadow-hover: grayscale($inset-shadow-hover); + $stop-gradient-hover: grayscale($stop-gradient-hover); + } + + @include linear-gradient ($base-color-hover, $stop-gradient-hover); + + box-shadow: inset 0 1px 0 0 $inset-shadow-hover; + cursor: pointer; + } + + &:active:not(:disabled), + &:focus:not(:disabled) { + $border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%); + $inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%); + + @if $grayscale == true { + $border-active: grayscale($border-active); + $inset-shadow-active: grayscale($inset-shadow-active); + } + + border: 1px solid $border-active; + box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active; + } +} + +// Shiny Button +@mixin shiny($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) { + $color: hsl(0, 0, 100%); + $border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81); + $border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122); + $fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46); + $inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12); + $second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33); + $text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114); + $third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48); + + @if is-light($base-color) { + $color: hsl(0, 0, 20%); + $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%); + } + + @if $grayscale == true { + $border: grayscale($border); + $border-bottom: grayscale($border-bottom); + $fourth-stop: grayscale($fourth-stop); + $inset-shadow: grayscale($inset-shadow); + $second-stop: grayscale($second-stop); + $text-shadow: grayscale($text-shadow); + $third-stop: grayscale($third-stop); + } + + @include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%); + + border: 1px solid $border; + border-bottom: 1px solid $border-bottom; + border-radius: 5px; + box-shadow: inset 0 1px 0 0 $inset-shadow; + color: $color; + display: inline-block; + font-size: $textsize; + font-weight: bold; + padding: $padding; + text-align: center; + text-decoration: none; + text-shadow: 0 -1px 1px $text-shadow; + + &:hover:not(:disabled) { + $first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18); + $second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51); + $third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66); + $fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63); + + @if $grayscale == true { + $first-stop-hover: grayscale($first-stop-hover); + $second-stop-hover: grayscale($second-stop-hover); + $third-stop-hover: grayscale($third-stop-hover); + $fourth-stop-hover: grayscale($fourth-stop-hover); + } + + @include linear-gradient(top, $first-stop-hover 0%, + $second-stop-hover 50%, + $third-stop-hover 50%, + $fourth-stop-hover 100%); + cursor: pointer; + } + + &:active:not(:disabled), + &:focus:not(:disabled) { + $inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122); + + @if $grayscale == true { + $inset-shadow-active: grayscale($inset-shadow-active); + } + + box-shadow: inset 0 0 20px 0 $inset-shadow-active; + } +} + +// Pill Button +@mixin pill($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) { + $color: hsl(0, 0, 100%); + $border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%); + $border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%); + $border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%); + $inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%); + $stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%); + $text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%); + + @if is-light($base-color) { + $color: hsl(0, 0, 20%); + $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%); + } + + @if $grayscale == true { + $border-bottom: grayscale($border-bottom); + $border-sides: grayscale($border-sides); + $border-top: grayscale($border-top); + $inset-shadow: grayscale($inset-shadow); + $stop-gradient: grayscale($stop-gradient); + $text-shadow: grayscale($text-shadow); + } + + border: 1px solid $border-top; + border-color: $border-top $border-sides $border-bottom; + border-radius: 16px; + box-shadow: inset 0 1px 0 0 $inset-shadow; + color: $color; + display: inline-block; + font-size: $textsize; + font-weight: normal; + line-height: 1; + @include linear-gradient ($base-color, $stop-gradient); + padding: $padding; + text-align: center; + text-decoration: none; + text-shadow: 0 -1px 1px $text-shadow; + background-clip: padding-box; + + &:hover:not(:disabled) { + $base-color-hover: adjust-color($base-color, $lightness: -4.5%); + $border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%); + $border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%); + $border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%); + $inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%); + $stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%); + $text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%); + + @if $grayscale == true { + $base-color-hover: grayscale($base-color-hover); + $border-bottom: grayscale($border-bottom); + $border-sides: grayscale($border-sides); + $border-top: grayscale($border-top); + $inset-shadow-hover: grayscale($inset-shadow-hover); + $stop-gradient-hover: grayscale($stop-gradient-hover); + $text-shadow-hover: grayscale($text-shadow-hover); + } + + @include linear-gradient ($base-color-hover, $stop-gradient-hover); + + background-clip: padding-box; + border: 1px solid $border-top; + border-color: $border-top $border-sides $border-bottom; + box-shadow: inset 0 1px 0 0 $inset-shadow-hover; + cursor: pointer; + text-shadow: 0 -1px 1px $text-shadow-hover; + } + + &:active:not(:disabled), + &:focus:not(:disabled) { + $active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%); + $border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%); + $border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%); + $inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%); + $text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%); + + @if $grayscale == true { + $active-color: grayscale($active-color); + $border-active: grayscale($border-active); + $border-bottom-active: grayscale($border-bottom-active); + $inset-shadow-active: grayscale($inset-shadow-active); + $text-shadow-active: grayscale($text-shadow-active); + } + + background: $active-color; + border: 1px solid $border-active; + border-bottom: 1px solid $border-bottom-active; + box-shadow: inset 0 0 6px 3px $inset-shadow-active; + text-shadow: 0 -1px 1px $text-shadow-active; + } +} + +// Flat Button +@mixin flat($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) { + $color: hsl(0, 0, 100%); + + @if is-light($base-color) { + $color: hsl(0, 0, 20%); + } + + background-color: $base-color; + border-radius: 3px; + border: 0; + color: $color; + display: inline-block; + font-size: $textsize; + font-weight: bold; + padding: $padding; + text-decoration: none; + background-clip: padding-box; + + &:hover:not(:disabled){ + $base-color-hover: adjust-color($base-color, $saturation: 4%, $lightness: 5%); + + @if $grayscale == true { + $base-color-hover: grayscale($base-color-hover); + } + + background-color: $base-color-hover; + cursor: pointer; + } + + &:active:not(:disabled), + &:focus:not(:disabled) { + $base-color-active: adjust-color($base-color, $saturation: -4%, $lightness: -5%); + + @if $grayscale == true { + $base-color-active: grayscale($base-color-active); + } + + background-color: $base-color-active; + cursor: pointer; + } +} + +// Flexible grid +@function flex-grid($columns, $container-columns: $fg-max-columns) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `flex-grid` is deprecated and will be " + + "removed in 5.0.0. For grid functions, check out Bourbon's sister library" + + "Neat."; + } + + $width: $columns * $fg-column + ($columns - 1) * $fg-gutter; + $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter; + @return percentage($width / $container-width); +} + +// Flexible gutter +@function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `flex-gutter` is deprecated and will be " + + "removed in 5.0.0. For grid functions, check out Bourbon's sister library" + + "Neat."; + } + + $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter; + @return percentage($gutter / $container-width); +} + +@function grid-width($n) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `grid-width` is deprecated and will be " + + "removed in 5.0.0. For grid functions, check out Bourbon's sister library" + + "Neat."; + } + + @return $n * $gw-column + ($n - 1) * $gw-gutter; +} + +@function golden-ratio($value, $increment) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `golden-ratio` is deprecated and will be " + + "removed in 5.0.0. You can use the `modular-scale` function instead."; + } + + @return modular-scale($increment, $value, $ratio: $golden); +} + +@mixin box-sizing($box) { + @include _bourbon-deprecate-for-prefixing("box-sizing"); + + @include prefixer(box-sizing, $box, webkit moz spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon.scss new file mode 100644 index 0000000..0e5f646 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/_bourbon.scss @@ -0,0 +1,90 @@ +// Bourbon 4.3.4 +// http://bourbon.io +// Copyright 2011-2017 thoughtbot, inc. +// MIT License + +@import "settings/deprecation-warnings"; +@import "settings/prefixer"; +@import "settings/px-to-em"; +@import "settings/asset-pipeline"; + +@import "bourbon-deprecate"; + +@import "functions/assign-inputs"; +@import "functions/contains"; +@import "functions/contains-falsy"; +@import "functions/is-length"; +@import "functions/is-light"; +@import "functions/is-number"; +@import "functions/is-size"; +@import "functions/px-to-em"; +@import "functions/px-to-rem"; +@import "functions/shade"; +@import "functions/strip-units"; +@import "functions/tint"; +@import "functions/transition-property-name"; +@import "functions/unpack"; +@import "functions/modular-scale"; + +@import "helpers/convert-units"; +@import "helpers/directional-values"; +@import "helpers/font-source-declaration"; +@import "helpers/gradient-positions-parser"; +@import "helpers/linear-angle-parser"; +@import "helpers/linear-gradient-parser"; +@import "helpers/linear-positions-parser"; +@import "helpers/linear-side-corner-parser"; +@import "helpers/radial-arg-parser"; +@import "helpers/radial-positions-parser"; +@import "helpers/radial-gradient-parser"; +@import "helpers/render-gradients"; +@import "helpers/shape-size-stripper"; +@import "helpers/str-to-num"; + +@import "css3/animation"; +@import "css3/appearance"; +@import "css3/backface-visibility"; +@import "css3/background"; +@import "css3/background-image"; +@import "css3/border-image"; +@import "css3/calc"; +@import "css3/columns"; +@import "css3/filter"; +@import "css3/flex-box"; +@import "css3/font-face"; +@import "css3/font-feature-settings"; +@import "css3/hidpi-media-query"; +@import "css3/hyphens"; +@import "css3/image-rendering"; +@import "css3/keyframes"; +@import "css3/linear-gradient"; +@import "css3/perspective"; +@import "css3/placeholder"; +@import "css3/radial-gradient"; +@import "css3/selection"; +@import "css3/text-decoration"; +@import "css3/transform"; +@import "css3/transition"; +@import "css3/user-select"; + +@import "addons/border-color"; +@import "addons/border-radius"; +@import "addons/border-style"; +@import "addons/border-width"; +@import "addons/buttons"; +@import "addons/clearfix"; +@import "addons/ellipsis"; +@import "addons/font-stacks"; +@import "addons/hide-text"; +@import "addons/margin"; +@import "addons/padding"; +@import "addons/position"; +@import "addons/prefixer"; +@import "addons/retina-image"; +@import "addons/size"; +@import "addons/text-inputs"; +@import "addons/timing-functions"; +@import "addons/triangle"; +@import "addons/word-wrap"; + +@import "bourbon-deprecated-upcoming"; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-color.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-color.scss new file mode 100644 index 0000000..84624e8 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-color.scss @@ -0,0 +1,29 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `border-color` on specific sides of a box. Use a `null` value to “skip” a side. +/// +/// @param {Arglist} $vals +/// List of arguments +/// +/// @example scss - Usage +/// .element { +/// @include border-color(#a60b55 #76cd9c null #e8ae1a); +/// } +/// +/// @example css - CSS Output +/// .element { +/// border-left-color: #e8ae1a; +/// border-right-color: #76cd9c; +/// border-top-color: #a60b55; +/// } +/// +/// @require {mixin} directional-property +/// +/// @output `border-color` + +@mixin border-color($vals...) { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + @include directional-property(border, color, $vals...); + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-radius.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-radius.scss new file mode 100644 index 0000000..1f65863 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-radius.scss @@ -0,0 +1,48 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `border-radius` on both corners on the side of a box. +/// +/// @param {Number} $radii +/// List of arguments +/// +/// @example scss - Usage +/// .element-one { +/// @include border-top-radius(5px); +/// } +/// +/// .element-two { +/// @include border-left-radius(3px); +/// } +/// +/// @example css - CSS Output +/// .element-one { +/// border-top-left-radius: 5px; +/// border-top-right-radius: 5px; +/// } +/// +/// .element-two { +/// border-bottom-left-radius: 3px; +/// border-top-left-radius: 3px; +/// } +/// +/// @output `border-radius` + +@mixin border-top-radius($radii) { + border-top-left-radius: $radii; + border-top-right-radius: $radii; +} + +@mixin border-right-radius($radii) { + border-bottom-right-radius: $radii; + border-top-right-radius: $radii; +} + +@mixin border-bottom-radius($radii) { + border-bottom-left-radius: $radii; + border-bottom-right-radius: $radii; +} + +@mixin border-left-radius($radii) { + border-bottom-left-radius: $radii; + border-top-left-radius: $radii; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-style.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-style.scss new file mode 100644 index 0000000..b3299cd --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-style.scss @@ -0,0 +1,28 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side. +/// +/// @param {Arglist} $vals +/// List of arguments +/// +/// @example scss - Usage +/// .element { +/// @include border-style(dashed null solid); +/// } +/// +/// @example css - CSS Output +/// .element { +/// border-bottom-style: solid; +/// border-top-style: dashed; +/// } +/// +/// @require {mixin} directional-property +/// +/// @output `border-style` + +@mixin border-style($vals...) { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + @include directional-property(border, style, $vals...); + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss new file mode 100644 index 0000000..6ff32b5 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss @@ -0,0 +1,28 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `border-width` on specific sides of a box. Use a `null` value to “skip” a side. +/// +/// @param {Arglist} $vals +/// List of arguments +/// +/// @example scss - Usage +/// .element { +/// @include border-width(1em null 20px); +/// } +/// +/// @example css - CSS Output +/// .element { +/// border-bottom-width: 20px; +/// border-top-width: 1em; +/// } +/// +/// @require {mixin} directional-property +/// +/// @output `border-width` + +@mixin border-width($vals...) { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + @include directional-property(border, width, $vals...); + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_buttons.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_buttons.scss new file mode 100644 index 0000000..53728be --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_buttons.scss @@ -0,0 +1,69 @@ +@charset "UTF-8"; + +/// Generates variables for all buttons. Please note that you must use interpolation on the variable: `#{$all-buttons}`. +/// +/// @example scss - Usage +/// #{$all-buttons} { +/// background-color: #f00; +/// } +/// +/// #{$all-buttons-focus}, +/// #{$all-buttons-hover} { +/// background-color: #0f0; +/// } +/// +/// #{$all-buttons-active} { +/// background-color: #00f; +/// } +/// +/// @example css - CSS Output +/// button, +/// input[type="button"], +/// input[type="reset"], +/// input[type="submit"] { +/// background-color: #f00; +/// } +/// +/// button:focus, +/// input[type="button"]:focus, +/// input[type="reset"]:focus, +/// input[type="submit"]:focus, +/// button:hover, +/// input[type="button"]:hover, +/// input[type="reset"]:hover, +/// input[type="submit"]:hover { +/// background-color: #0f0; +/// } +/// +/// button:active, +/// input[type="button"]:active, +/// input[type="reset"]:active, +/// input[type="submit"]:active { +/// background-color: #00f; +/// } +/// +/// @require assign-inputs +/// +/// @type List +/// +/// @todo Remove double assigned variables (Lines 59–62) in v5.0.0 + +$buttons-list: 'button', + 'input[type="button"]', + 'input[type="reset"]', + 'input[type="submit"]'; + +$user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; +$output-bourbon-deprecation-warnings: false; + +$all-buttons: assign-inputs($buttons-list); +$all-buttons-active: assign-inputs($buttons-list, active); +$all-buttons-focus: assign-inputs($buttons-list, focus); +$all-buttons-hover: assign-inputs($buttons-list, hover); + +$output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting; + +$all-button-inputs: $all-buttons; +$all-button-inputs-active: $all-buttons-active; +$all-button-inputs-focus: $all-buttons-focus; +$all-button-inputs-hover: $all-buttons-hover; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss new file mode 100644 index 0000000..11313d6 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Provides an easy way to include a clearfix for containing floats. +/// +/// @link http://cssmojo.com/latest_new_clearfix_so_far/ +/// +/// @example scss - Usage +/// .element { +/// @include clearfix; +/// } +/// +/// @example css - CSS Output +/// .element::after { +/// clear: both; +/// content: ""; +/// display: table; +/// } + +@mixin clearfix { + &::after { + clear: both; + content: ""; + display: table; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_ellipsis.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_ellipsis.scss new file mode 100644 index 0000000..a367f65 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_ellipsis.scss @@ -0,0 +1,30 @@ +@charset "UTF-8"; + +/// Truncates text and adds an ellipsis to represent overflow. +/// +/// @param {Number} $width [100%] +/// Max-width for the string to respect before being truncated +/// +/// @example scss - Usage +/// .element { +/// @include ellipsis; +/// } +/// +/// @example css - CSS Output +/// .element { +/// display: inline-block; +/// max-width: 100%; +/// overflow: hidden; +/// text-overflow: ellipsis; +/// white-space: nowrap; +/// word-wrap: normal; +/// } + +@mixin ellipsis($width: 100%) { + display: inline-block; + max-width: $width; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_font-stacks.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_font-stacks.scss new file mode 100644 index 0000000..57128f4 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_font-stacks.scss @@ -0,0 +1,31 @@ +@charset "UTF-8"; + +/// Georgia font stack. +/// +/// @type List + +$georgia: "Georgia", "Cambria", "Times New Roman", "Times", serif; + +/// Helvetica font stack. +/// +/// @type List + +$helvetica: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; + +/// Lucida Grande font stack. +/// +/// @type List + +$lucida-grande: "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif; + +/// Monospace font stack. +/// +/// @type List + +$monospace: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace; + +/// Verdana font stack. +/// +/// @type List + +$verdana: "Verdana", "Geneva", sans-serif; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_hide-text.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_hide-text.scss new file mode 100644 index 0000000..4caf20e --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_hide-text.scss @@ -0,0 +1,27 @@ +/// Hides the text in an element, commonly used to show an image. Some elements will need block-level styles applied. +/// +/// @link http://zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement +/// +/// @example scss - Usage +/// .element { +/// @include hide-text; +/// } +/// +/// @example css - CSS Output +/// .element { +/// overflow: hidden; +/// text-indent: 101%; +/// white-space: nowrap; +/// } +/// +/// @todo Remove height argument in v5.0.0 + +@mixin hide-text($height: null) { + overflow: hidden; + text-indent: 101%; + white-space: nowrap; + + @if $height { + @warn "The `hide-text` mixin has changed and no longer requires a height. The height argument will no longer be accepted in v5.0.0"; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_margin.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_margin.scss new file mode 100644 index 0000000..849ded2 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_margin.scss @@ -0,0 +1,29 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `margin` on specific sides of a box. Use a `null` value to “skip” a side. +/// +/// @param {Arglist} $vals +/// List of arguments +/// +/// @example scss - Usage +/// .element { +/// @include margin(null 10px 3em 20vh); +/// } +/// +/// @example css - CSS Output +/// .element { +/// margin-bottom: 3em; +/// margin-left: 20vh; +/// margin-right: 10px; +/// } +/// +/// @require {mixin} directional-property +/// +/// @output `margin` + +@mixin margin($vals...) { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + @include directional-property(margin, false, $vals...); + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_padding.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_padding.scss new file mode 100644 index 0000000..508f85d --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_padding.scss @@ -0,0 +1,29 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `padding` on specific sides of a box. Use a `null` value to “skip” a side. +/// +/// @param {Arglist} $vals +/// List of arguments +/// +/// @example scss - Usage +/// .element { +/// @include padding(12vh null 10px 5%); +/// } +/// +/// @example css - CSS Output +/// .element { +/// padding-bottom: 10px; +/// padding-left: 5%; +/// padding-top: 12vh; +/// } +/// +/// @require {mixin} directional-property +/// +/// @output `padding` + +@mixin padding($vals...) { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + @include directional-property(padding, false, $vals...); + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_position.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_position.scss new file mode 100644 index 0000000..000abc2 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_position.scss @@ -0,0 +1,51 @@ +@charset "UTF-8"; + +/// Provides a quick method for setting an element’s position. Use a `null` value to “skip” a side. +/// +/// @param {Position} $position [relative] +/// A CSS position value +/// +/// @param {Arglist} $coordinates [null null null null] +/// List of values that correspond to the 4-value syntax for the edges of a box +/// +/// @example scss - Usage +/// .element { +/// @include position(absolute, 0 null null 10em); +/// } +/// +/// @example css - CSS Output +/// .element { +/// left: 10em; +/// position: absolute; +/// top: 0; +/// } +/// +/// @require {function} is-length +/// @require {function} unpack + +@mixin position($position: relative, $coordinates: null null null null) { + @if type-of($position) == list { + $coordinates: $position; + $position: relative; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + $coordinates: unpack($coordinates); + + $offsets: ( + top: nth($coordinates, 1), + right: nth($coordinates, 2), + bottom: nth($coordinates, 3), + left: nth($coordinates, 4) + ); + + position: $position; + + @each $offset, $value in $offsets { + @if is-length($value) { + #{$offset}: $value; + } + } + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_prefixer.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_prefixer.scss new file mode 100644 index 0000000..2b6f731 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_prefixer.scss @@ -0,0 +1,66 @@ +@charset "UTF-8"; + +/// A mixin for generating vendor prefixes on non-standardized properties. +/// +/// @param {String} $property +/// Property to prefix +/// +/// @param {*} $value +/// Value to use +/// +/// @param {List} $prefixes +/// Prefixes to define +/// +/// @example scss - Usage +/// .element { +/// @include prefixer(border-radius, 10px, webkit ms spec); +/// } +/// +/// @example css - CSS Output +/// .element { +/// -webkit-border-radius: 10px; +/// -moz-border-radius: 10px; +/// border-radius: 10px; +/// } +/// +/// @require {variable} $prefix-for-webkit +/// @require {variable} $prefix-for-mozilla +/// @require {variable} $prefix-for-microsoft +/// @require {variable} $prefix-for-opera +/// @require {variable} $prefix-for-spec + +@mixin prefixer($property, $value, $prefixes) { + @each $prefix in $prefixes { + @if $prefix == webkit { + @if $prefix-for-webkit { + -webkit-#{$property}: $value; + } + } @else if $prefix == moz { + @if $prefix-for-mozilla { + -moz-#{$property}: $value; + } + } @else if $prefix == ms { + @if $prefix-for-microsoft { + -ms-#{$property}: $value; + } + } @else if $prefix == o { + @if $prefix-for-opera { + -o-#{$property}: $value; + } + } @else if $prefix == spec { + @if $prefix-for-spec { + #{$property}: $value; + } + } @else { + @warn "Unrecognized prefix: #{$prefix}"; + } + } +} + +@mixin disable-prefix-for-all() { + $prefix-for-webkit: false !global; + $prefix-for-mozilla: false !global; + $prefix-for-microsoft: false !global; + $prefix-for-opera: false !global; + $prefix-for-spec: false !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_retina-image.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_retina-image.scss new file mode 100644 index 0000000..ea659ee --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_retina-image.scss @@ -0,0 +1,27 @@ +@mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) { + @include _bourbon-deprecate("retina-image"); + + @if $asset-pipeline { + background-image: image-url("#{$filename}.#{$extension}"); + } @else { + background-image: url("#{$filename}.#{$extension}"); + } + + @include hidpi { + @if $asset-pipeline { + @if $retina-filename { + background-image: image-url("#{$retina-filename}.#{$extension}"); + } @else { + background-image: image-url("#{$filename}#{$retina-suffix}.#{$extension}"); + } + } @else { + @if $retina-filename { + background-image: url("#{$retina-filename}.#{$extension}"); + } @else { + background-image: url("#{$filename}#{$retina-suffix}.#{$extension}"); + } + } + + background-size: $background-size; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_size.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_size.scss new file mode 100644 index 0000000..0ee0e93 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_size.scss @@ -0,0 +1,56 @@ +@charset "UTF-8"; + +/// Sets the `width` and `height` of the element. +/// +/// @param {List} $size +/// A list of at most 2 size values. +/// +/// If there is only a single value in `$size` it is used for both width and height. All units are supported. +/// +/// @example scss - Usage +/// .first-element { +/// @include size(2em); +/// } +/// +/// .second-element { +/// @include size(auto 10em); +/// } +/// +/// @example css - CSS Output +/// .first-element { +/// width: 2em; +/// height: 2em; +/// } +/// +/// .second-element { +/// width: auto; +/// height: 10em; +/// } +/// +/// @todo Refactor in 5.0.0 to use a comma-separated argument + +@mixin size($value) { + $width: nth($value, 1); + $height: $width; + + @if length($value) > 1 { + $height: nth($value, 2); + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + @if is-size($height) { + height: $height; + } @else { + @warn "`#{$height}` is not a valid length for the `$height` parameter in the `size` mixin."; + } + + @if is-size($width) { + width: $width; + } @else { + @warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin."; + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_text-inputs.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_text-inputs.scss new file mode 100644 index 0000000..07048ae --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_text-inputs.scss @@ -0,0 +1,118 @@ +@charset "UTF-8"; + +/// Generates variables for all text-based inputs. Please note that you must use interpolation on the variable: `#{$all-text-inputs}`. +/// +/// @example scss - Usage +/// #{$all-text-inputs} { +/// border: 1px solid #f00; +/// } +/// +/// #{$all-text-inputs-focus}, +/// #{$all-text-inputs-hover} { +/// border: 1px solid #0f0; +/// } +/// +/// #{$all-text-inputs-active} { +/// border: 1px solid #00f; +/// } +/// +/// @example css - CSS Output +/// input[type="color"], +/// input[type="date"], +/// input[type="datetime"], +/// input[type="datetime-local"], +/// input[type="email"], +/// input[type="month"], +/// input[type="number"], +/// input[type="password"], +/// input[type="search"], +/// input[type="tel"], +/// input[type="text"], +/// input[type="time"], +/// input[type="url"], +/// input[type="week"], +/// textarea { +/// border: 1px solid #f00; +/// } +/// +/// input[type="color"]:focus, +/// input[type="date"]:focus, +/// input[type="datetime"]:focus, +/// input[type="datetime-local"]:focus, +/// input[type="email"]:focus, +/// input[type="month"]:focus, +/// input[type="number"]:focus, +/// input[type="password"]:focus, +/// input[type="search"]:focus, +/// input[type="tel"]:focus, +/// input[type="text"]:focus, +/// input[type="time"]:focus, +/// input[type="url"]:focus, +/// input[type="week"]:focus, +/// textarea:focus, +/// input[type="color"]:hover, +/// input[type="date"]:hover, +/// input[type="datetime"]:hover, +/// input[type="datetime-local"]:hover, +/// input[type="email"]:hover, +/// input[type="month"]:hover, +/// input[type="number"]:hover, +/// input[type="password"]:hover, +/// input[type="search"]:hover, +/// input[type="tel"]:hover, +/// input[type="text"]:hover, +/// input[type="time"]:hover, +/// input[type="url"]:hover, +/// input[type="week"]:hover, +/// textarea:hover { +/// border: 1px solid #0f0; +/// } +/// +/// input[type="color"]:active, +/// input[type="date"]:active, +/// input[type="datetime"]:active, +/// input[type="datetime-local"]:active, +/// input[type="email"]:active, +/// input[type="month"]:active, +/// input[type="number"]:active, +/// input[type="password"]:active, +/// input[type="search"]:active, +/// input[type="tel"]:active, +/// input[type="text"]:active, +/// input[type="time"]:active, +/// input[type="url"]:active, +/// input[type="week"]:active, +/// textarea:active { +/// border: 1px solid #00f; +/// } +/// +/// @require assign-inputs +/// +/// @type List + +$text-inputs-list: 'input[type="color"]', + 'input[type="date"]', + 'input[type="datetime"]', + 'input[type="datetime-local"]', + 'input[type="email"]', + 'input[type="month"]', + 'input[type="number"]', + 'input[type="password"]', + 'input[type="search"]', + 'input[type="tel"]', + 'input[type="text"]', + 'input[type="time"]', + 'input[type="url"]', + 'input[type="week"]', + 'input:not([type])', + 'textarea'; + +$user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; +$output-bourbon-deprecation-warnings: false; + +$all-text-inputs: assign-inputs($text-inputs-list); +$all-text-inputs-active: assign-inputs($text-inputs-list, active); +$all-text-inputs-focus: assign-inputs($text-inputs-list, focus); +$all-text-inputs-hover: assign-inputs($text-inputs-list, hover); + +$output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_timing-functions.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_timing-functions.scss new file mode 100644 index 0000000..20e5f1d --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_timing-functions.scss @@ -0,0 +1,34 @@ +@charset "UTF-8"; + +/// CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie) +/// +/// Timing functions are the same as demoed here: http://jqueryui.com/resources/demos/effect/easing.html +/// +/// @type cubic-bezier + +$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530); +$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190); +$ease-in-quart: cubic-bezier(0.895, 0.030, 0.685, 0.220); +$ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060); +$ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715); +$ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035); +$ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335); +$ease-in-back: cubic-bezier(0.600, -0.280, 0.735, 0.045); + +$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940); +$ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000); +$ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000); +$ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000); +$ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000); +$ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000); +$ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000); +$ease-out-back: cubic-bezier(0.175, 0.885, 0.320, 1.275); + +$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955); +$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000); +$ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000); +$ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000); +$ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950); +$ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000); +$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860); +$ease-in-out-back: cubic-bezier(0.680, -0.550, 0.265, 1.550); diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_triangle.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_triangle.scss new file mode 100644 index 0000000..8a1ed9c --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_triangle.scss @@ -0,0 +1,63 @@ +@mixin triangle($size, $color, $direction) { + $width: nth($size, 1); + $height: nth($size, length($size)); + $foreground-color: nth($color, 1); + $background-color: if(length($color) == 2, nth($color, 2), transparent); + height: 0; + width: 0; + + @if ($direction == up) or ($direction == down) or ($direction == right) or ($direction == left) { + $width: $width / 2; + $height: if(length($size) > 1, $height, $height/2); + + @if $direction == up { + border-bottom: $height solid $foreground-color; + border-left: $width solid $background-color; + border-right: $width solid $background-color; + } @else if $direction == right { + border-bottom: $width solid $background-color; + border-left: $height solid $foreground-color; + border-top: $width solid $background-color; + } @else if $direction == down { + border-left: $width solid $background-color; + border-right: $width solid $background-color; + border-top: $height solid $foreground-color; + } @else if $direction == left { + border-bottom: $width solid $background-color; + border-right: $height solid $foreground-color; + border-top: $width solid $background-color; + } + } @else if ($direction == up-right) or ($direction == up-left) { + border-top: $height solid $foreground-color; + + @if $direction == up-right { + border-left: $width solid $background-color; + } @else if $direction == up-left { + border-right: $width solid $background-color; + } + } @else if ($direction == down-right) or ($direction == down-left) { + border-bottom: $height solid $foreground-color; + + @if $direction == down-right { + border-left: $width solid $background-color; + } @else if $direction == down-left { + border-right: $width solid $background-color; + } + } @else if ($direction == inset-up) { + border-color: $background-color $background-color $foreground-color; + border-style: solid; + border-width: $height $width; + } @else if ($direction == inset-down) { + border-color: $foreground-color $background-color $background-color; + border-style: solid; + border-width: $height $width; + } @else if ($direction == inset-right) { + border-color: $background-color $background-color $background-color $foreground-color; + border-style: solid; + border-width: $width $height; + } @else if ($direction == inset-left) { + border-color: $background-color $foreground-color $background-color $background-color; + border-style: solid; + border-width: $width $height; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_word-wrap.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_word-wrap.scss new file mode 100644 index 0000000..64856a9 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_word-wrap.scss @@ -0,0 +1,29 @@ +@charset "UTF-8"; + +/// Provides an easy way to change the `word-wrap` property. +/// +/// @param {String} $wrap [break-word] +/// Value for the `word-break` property. +/// +/// @example scss - Usage +/// .wrapper { +/// @include word-wrap(break-word); +/// } +/// +/// @example css - CSS Output +/// .wrapper { +/// overflow-wrap: break-word; +/// word-break: break-all; +/// word-wrap: break-word; +/// } + +@mixin word-wrap($wrap: break-word) { + overflow-wrap: $wrap; + word-wrap: $wrap; + + @if $wrap == break-word { + word-break: break-all; + } @else { + word-break: $wrap; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_animation.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_animation.scss new file mode 100644 index 0000000..87c3c59 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_animation.scss @@ -0,0 +1,61 @@ +// http://www.w3.org/TR/css3-animations/#the-animation-name-property- +// Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties. + +@mixin animation($animations...) { + @include _bourbon-deprecate-for-prefixing("animation"); + + @include prefixer(animation, $animations, webkit moz spec); +} + +@mixin animation-name($names...) { + @include _bourbon-deprecate-for-prefixing("animation-name"); + + @include prefixer(animation-name, $names, webkit moz spec); +} + +@mixin animation-duration($times...) { + @include _bourbon-deprecate-for-prefixing("animation-duration"); + + @include prefixer(animation-duration, $times, webkit moz spec); +} + +@mixin animation-timing-function($motions...) { + @include _bourbon-deprecate-for-prefixing("animation-timing-function"); + + // ease | linear | ease-in | ease-out | ease-in-out + @include prefixer(animation-timing-function, $motions, webkit moz spec); +} + +@mixin animation-iteration-count($values...) { + @include _bourbon-deprecate-for-prefixing("animation-iteration-count"); + + // infinite | + @include prefixer(animation-iteration-count, $values, webkit moz spec); +} + +@mixin animation-direction($directions...) { + @include _bourbon-deprecate-for-prefixing("animation-direction"); + + // normal | alternate + @include prefixer(animation-direction, $directions, webkit moz spec); +} + +@mixin animation-play-state($states...) { + @include _bourbon-deprecate-for-prefixing("animation-play-state"); + + // running | paused + @include prefixer(animation-play-state, $states, webkit moz spec); +} + +@mixin animation-delay($times...) { + @include _bourbon-deprecate-for-prefixing("animation-delay"); + + @include prefixer(animation-delay, $times, webkit moz spec); +} + +@mixin animation-fill-mode($modes...) { + @include _bourbon-deprecate-for-prefixing("animation-fill-mode"); + + // none | forwards | backwards | both + @include prefixer(animation-fill-mode, $modes, webkit moz spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_appearance.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_appearance.scss new file mode 100644 index 0000000..4a60052 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_appearance.scss @@ -0,0 +1,5 @@ +@mixin appearance($value) { + @include _bourbon-deprecate-for-prefixing("appearance"); + + @include prefixer(appearance, $value, webkit moz ms o spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_backface-visibility.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_backface-visibility.scss new file mode 100644 index 0000000..3766f6e --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_backface-visibility.scss @@ -0,0 +1,5 @@ +@mixin backface-visibility($visibility) { + @include _bourbon-deprecate-for-prefixing("backface-visibility"); + + @include prefixer(backface-visibility, $visibility, webkit spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background-image.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background-image.scss new file mode 100644 index 0000000..b252aaa --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background-image.scss @@ -0,0 +1,44 @@ +//************************************************************************// +// Background-image property for adding multiple background images with +// gradients, or for stringing multiple gradients together. +//************************************************************************// + +@mixin background-image($images...) { + @include _bourbon-deprecate-for-prefixing("background-image"); + + $webkit-images: (); + $spec-images: (); + + @each $image in $images { + $webkit-image: (); + $spec-image: (); + + @if (type-of($image) == string) { + $url-str: str-slice($image, 1, 3); + $gradient-type: str-slice($image, 1, 6); + + @if $url-str == "url" { + $webkit-image: $image; + $spec-image: $image; + } + + @else if $gradient-type == "linear" { + $gradients: _linear-gradient-parser($image); + $webkit-image: map-get($gradients, webkit-image); + $spec-image: map-get($gradients, spec-image); + } + + @else if $gradient-type == "radial" { + $gradients: _radial-gradient-parser($image); + $webkit-image: map-get($gradients, webkit-image); + $spec-image: map-get($gradients, spec-image); + } + } + + $webkit-images: append($webkit-images, $webkit-image, comma); + $spec-images: append($spec-images, $spec-image, comma); + } + + background-image: $webkit-images; + background-image: $spec-images; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background.scss new file mode 100644 index 0000000..350ac14 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_background.scss @@ -0,0 +1,57 @@ +//************************************************************************// +// Background property for adding multiple backgrounds using shorthand +// notation. +//************************************************************************// + +@mixin background($backgrounds...) { + @include _bourbon-deprecate-for-prefixing("background"); + + $webkit-backgrounds: (); + $spec-backgrounds: (); + + @each $background in $backgrounds { + $webkit-background: (); + $spec-background: (); + $background-type: type-of($background); + + @if $background-type == string or $background-type == list { + $background-str: if($background-type == list, nth($background, 1), $background); + + $url-str: str-slice($background-str, 1, 3); + $gradient-type: str-slice($background-str, 1, 6); + + @if $url-str == "url" { + $webkit-background: $background; + $spec-background: $background; + } + + @else if $gradient-type == "linear" { + $gradients: _linear-gradient-parser("#{$background}"); + $webkit-background: map-get($gradients, webkit-image); + $spec-background: map-get($gradients, spec-image); + } + + @else if $gradient-type == "radial" { + $gradients: _radial-gradient-parser("#{$background}"); + $webkit-background: map-get($gradients, webkit-image); + $spec-background: map-get($gradients, spec-image); + } + + @else { + $webkit-background: $background; + $spec-background: $background; + } + } + + @else { + $webkit-background: $background; + $spec-background: $background; + } + + $webkit-backgrounds: append($webkit-backgrounds, $webkit-background, comma); + $spec-backgrounds: append($spec-backgrounds, $spec-background, comma); + } + + background: $webkit-backgrounds; + background: $spec-backgrounds; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_border-image.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_border-image.scss new file mode 100644 index 0000000..42451c7 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_border-image.scss @@ -0,0 +1,61 @@ +@mixin border-image($borders...) { + @include _bourbon-deprecate-for-prefixing("border-image"); + + $webkit-borders: (); + $spec-borders: (); + + @each $border in $borders { + $webkit-border: (); + $spec-border: (); + $border-type: type-of($border); + + @if $border-type == string or list { + $border-str: if($border-type == list, nth($border, 1), $border); + + $url-str: str-slice($border-str, 1, 3); + $gradient-type: str-slice($border-str, 1, 6); + + @if $url-str == "url" { + $webkit-border: $border; + $spec-border: $border; + } + + @else if $gradient-type == "linear" { + $gradients: _linear-gradient-parser("#{$border}"); + $webkit-border: map-get($gradients, webkit-image); + $spec-border: map-get($gradients, spec-image); + } + + @else if $gradient-type == "radial" { + $gradients: _radial-gradient-parser("#{$border}"); + $webkit-border: map-get($gradients, webkit-image); + $spec-border: map-get($gradients, spec-image); + } + + @else { + $webkit-border: $border; + $spec-border: $border; + } + } + + @else { + $webkit-border: $border; + $spec-border: $border; + } + + $webkit-borders: append($webkit-borders, $webkit-border, comma); + $spec-borders: append($spec-borders, $spec-border, comma); + } + + -webkit-border-image: $webkit-borders; + border-image: $spec-borders; + border-style: solid; +} + +//Examples: +// @include border-image(url("image.png")); +// @include border-image(url("image.png") 20 stretch); +// @include border-image(linear-gradient(45deg, orange, yellow)); +// @include border-image(linear-gradient(45deg, orange, yellow) stretch); +// @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round); +// @include border-image(radial-gradient(top, cover, orange, yellow, orange)); diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_calc.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_calc.scss new file mode 100644 index 0000000..8acda5f --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_calc.scss @@ -0,0 +1,6 @@ +@mixin calc($property, $value) { + @include _bourbon-deprecate-for-prefixing("calc"); + + #{$property}: -webkit-calc(#{$value}); + #{$property}: calc(#{$value}); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_columns.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_columns.scss new file mode 100644 index 0000000..e7d2dda --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_columns.scss @@ -0,0 +1,67 @@ +@mixin columns($arg: auto) { + @include _bourbon-deprecate-for-prefixing("columns"); + + // || + @include prefixer(columns, $arg, webkit moz spec); +} + +@mixin column-count($int: auto) { + @include _bourbon-deprecate-for-prefixing("column-count"); + + // auto || integer + @include prefixer(column-count, $int, webkit moz spec); +} + +@mixin column-gap($length: normal) { + @include _bourbon-deprecate-for-prefixing("column-gap"); + + // normal || length + @include prefixer(column-gap, $length, webkit moz spec); +} + +@mixin column-fill($arg: auto) { + @include _bourbon-deprecate-for-prefixing("column-fill"); + + // auto || length + @include prefixer(column-fill, $arg, webkit moz spec); +} + +@mixin column-rule($arg) { + @include _bourbon-deprecate-for-prefixing("column-rule"); + + // || || + @include prefixer(column-rule, $arg, webkit moz spec); +} + +@mixin column-rule-color($color) { + @include _bourbon-deprecate-for-prefixing("column-rule-color"); + + @include prefixer(column-rule-color, $color, webkit moz spec); +} + +@mixin column-rule-style($style: none) { + @include _bourbon-deprecate-for-prefixing("column-rule-style"); + + // none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid + @include prefixer(column-rule-style, $style, webkit moz spec); +} + +@mixin column-rule-width($width: none) { + @include _bourbon-deprecate-for-prefixing("column-rule-width"); + + @include prefixer(column-rule-width, $width, webkit moz spec); +} + +@mixin column-span($arg: none) { + @include _bourbon-deprecate-for-prefixing("column-span"); + + // none || all + @include prefixer(column-span, $arg, webkit moz spec); +} + +@mixin column-width($length: auto) { + @include _bourbon-deprecate-for-prefixing("column-width"); + + // auto || length + @include prefixer(column-width, $length, webkit moz spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_filter.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_filter.scss new file mode 100644 index 0000000..834756d --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_filter.scss @@ -0,0 +1,6 @@ +@mixin filter($function: none) { + @include _bourbon-deprecate-for-prefixing("filter"); + + // [ + @include prefixer(perspective, $depth, webkit moz spec); +} + +@mixin perspective-origin($value: 50% 50%) { + @include _bourbon-deprecate-for-prefixing("perspective-origin"); + + @include prefixer(perspective-origin, $value, webkit moz spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_placeholder.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_placeholder.scss new file mode 100644 index 0000000..3ef9d06 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_placeholder.scss @@ -0,0 +1,10 @@ +@mixin placeholder { + @include _bourbon-deprecate-for-prefixing("placeholder"); + + $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input"; + @each $placeholder in $placeholders { + &:#{$placeholder}-placeholder { + @content; + } + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_radial-gradient.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_radial-gradient.scss new file mode 100644 index 0000000..cb01c83 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_radial-gradient.scss @@ -0,0 +1,40 @@ +// Requires Sass 3.1+ +@mixin radial-gradient($g1, $g2, + $g3: null, $g4: null, + $g5: null, $g6: null, + $g7: null, $g8: null, + $g9: null, $g10: null, + $pos: null, + $shape-size: null, + $fallback: null) { + @include _bourbon-deprecate-for-prefixing("radial-gradient"); + + $data: _radial-arg-parser($g1, $g2, $pos, $shape-size); + $g1: nth($data, 1); + $g2: nth($data, 2); + $pos: nth($data, 3); + $shape-size: nth($data, 4); + + $full: $g1, $g2, $g3, $g4, $g5, $g6, $g7, $g8, $g9, $g10; + + // Strip deprecated cover/contain for spec + $shape-size-spec: _shape-size-stripper($shape-size); + + // Set $g1 as the default fallback color + $first-color: nth($full, 1); + $fallback-color: nth($first-color, 1); + + @if (type-of($fallback) == color) or ($fallback == "transparent") { + $fallback-color: $fallback; + } + + // Add Commas and spaces + $shape-size: if($shape-size, "#{$shape-size}, ", null); + $pos: if($pos, "#{$pos}, ", null); + $pos-spec: if($pos, "at #{$pos}", null); + $shape-size-spec: if(($shape-size-spec != " ") and ($pos == null), "#{$shape-size-spec}, ", "#{$shape-size-spec} "); + + background-color: $fallback-color; + background-image: -webkit-radial-gradient(#{$pos}#{$shape-size}#{$full}); + background-image: radial-gradient(#{$shape-size-spec}#{$pos-spec}#{$full}); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_selection.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_selection.scss new file mode 100644 index 0000000..216fff5 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_selection.scss @@ -0,0 +1,44 @@ +@charset "UTF-8"; + +/// Outputs the spec and prefixed versions of the `::selection` pseudo-element. +/// +/// @param {Bool} $current-selector [false] +/// If set to `true`, it takes the current element into consideration. +/// +/// @example scss - Usage +/// .element { +/// @include selection(true) { +/// background-color: #ffbb52; +/// } +/// } +/// +/// @example css - CSS Output +/// .element::-moz-selection { +/// background-color: #ffbb52; +/// } +/// +/// .element::selection { +/// background-color: #ffbb52; +/// } + +@mixin selection($current-selector: false) { + @include _bourbon-deprecate-for-prefixing("selection"); + + @if $current-selector { + &::-moz-selection { + @content; + } + + &::selection { + @content; + } + } @else { + ::-moz-selection { + @content; + } + + ::selection { + @content; + } + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_text-decoration.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_text-decoration.scss new file mode 100644 index 0000000..6a575db --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_text-decoration.scss @@ -0,0 +1,27 @@ +@mixin text-decoration($value) { + @include _bourbon-deprecate-for-prefixing("text-decoration"); + +// || || + @include prefixer(text-decoration, $value, moz); +} + +@mixin text-decoration-line($line: none) { + @include _bourbon-deprecate-for-prefixing("text-decoration-line"); + +// none || underline || overline || line-through + @include prefixer(text-decoration-line, $line, moz); +} + +@mixin text-decoration-style($style: solid) { + @include _bourbon-deprecate-for-prefixing("text-decoration-style"); + +// solid || double || dotted || dashed || wavy + @include prefixer(text-decoration-style, $style, moz webkit); +} + +@mixin text-decoration-color($color: currentColor) { + @include _bourbon-deprecate-for-prefixing("text-decoration-color"); + +// currentColor || + @include prefixer(text-decoration-color, $color, moz); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transform.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transform.scss new file mode 100644 index 0000000..3553c7a --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transform.scss @@ -0,0 +1,21 @@ +@mixin transform($property: none) { + @include _bourbon-deprecate-for-prefixing("transform"); + + // none | + @include prefixer(transform, $property, webkit moz ms o spec); +} + +@mixin transform-origin($axes: 50%) { + @include _bourbon-deprecate-for-prefixing("transform-origin"); + + // x-axis - left | center | right | length | % + // y-axis - top | center | bottom | length | % + // z-axis - length + @include prefixer(transform-origin, $axes, webkit moz ms o spec); +} + +@mixin transform-style($style: flat) { + @include _bourbon-deprecate-for-prefixing("transform-style"); + + @include prefixer(transform-style, $style, webkit moz ms o spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transition.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transition.scss new file mode 100644 index 0000000..8ff3467 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_transition.scss @@ -0,0 +1,81 @@ +// Shorthand mixin. Supports multiple parentheses-deliminated values for each variable. +// Example: @include transition (all 2s ease-in-out); +// @include transition (opacity 1s ease-in 2s, width 2s ease-out); +// @include transition-property (transform, opacity); + +@mixin transition($properties...) { + @include _bourbon-deprecate-for-prefixing("transition"); + + // Fix for vendor-prefix transform property + $needs-prefixes: false; + $webkit: (); + $moz: (); + $spec: (); + + // Create lists for vendor-prefixed transform + @each $list in $properties { + @if nth($list, 1) == "transform" { + $needs-prefixes: true; + $list1: -webkit-transform; + $list2: -moz-transform; + $list3: (); + + @each $var in $list { + $list3: join($list3, $var); + + @if $var != "transform" { + $list1: join($list1, $var); + $list2: join($list2, $var); + } + } + + $webkit: append($webkit, $list1); + $moz: append($moz, $list2); + $spec: append($spec, $list3); + } @else { + $webkit: append($webkit, $list, comma); + $moz: append($moz, $list, comma); + $spec: append($spec, $list, comma); + } + } + + @if $needs-prefixes { + -webkit-transition: $webkit; + -moz-transition: $moz; + transition: $spec; + } @else { + @if length($properties) >= 1 { + @include prefixer(transition, $properties, webkit moz spec); + } @else { + $properties: all 0.15s ease-out 0s; + @include prefixer(transition, $properties, webkit moz spec); + } + } +} + +@mixin transition-property($properties...) { + @include _bourbon-deprecate-for-prefixing("transition-property"); + + -webkit-transition-property: transition-property-names($properties, "webkit"); + -moz-transition-property: transition-property-names($properties, "moz"); + transition-property: transition-property-names($properties, false); +} + +@mixin transition-duration($times...) { + @include _bourbon-deprecate-for-prefixing("transition-duration"); + + @include prefixer(transition-duration, $times, webkit moz spec); +} + +@mixin transition-timing-function($motions...) { + @include _bourbon-deprecate-for-prefixing("transition-timing-function"); + + // ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier() + @include prefixer(transition-timing-function, $motions, webkit moz spec); +} + +@mixin transition-delay($times...) { + @include _bourbon-deprecate-for-prefixing("transition-delay"); + + @include prefixer(transition-delay, $times, webkit moz spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_user-select.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_user-select.scss new file mode 100644 index 0000000..b262ae4 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_user-select.scss @@ -0,0 +1,5 @@ +@mixin user-select($value: none) { + @include _bourbon-deprecate-for-prefixing("user-select"); + + @include prefixer(user-select, $value, webkit moz ms spec); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss new file mode 100644 index 0000000..1ad8420 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_assign-inputs.scss @@ -0,0 +1,16 @@ +@function assign-inputs($inputs, $pseudo: null) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `assign-inputs` is deprecated and will be " + + "removed in 5.0.0."; + } + + $list: (); + + @each $input in $inputs { + $input: unquote($input); + $input: if($pseudo, $input + ":" + $pseudo, $input); + $list: append($list, $input, comma); + } + + @return $list; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss new file mode 100644 index 0000000..d5ab01b --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Checks if a list does not contains a value. +/// +/// @access private +/// +/// @param {List} $list +/// The list to check against. +/// +/// @return {Bool} + +@function contains-falsy($list) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `contains-falsy` is deprecated and will be " + + "removed in 5.0.0."; + } + + @each $item in $list { + @if not $item { + @return true; + } + } + + @return false; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains.scss new file mode 100644 index 0000000..4db1eaf --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains.scss @@ -0,0 +1,31 @@ +@charset "UTF-8"; + +/// Checks if a list contains a value(s). +/// +/// @access private +/// +/// @param {List} $list +/// The list to check against. +/// +/// @param {List} $values +/// A single value or list of values to check for. +/// +/// @example scss - Usage +/// contains($list, $value) +/// +/// @return {Bool} + +@function contains($list, $values...) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `contains` is deprecated and will be " + + "removed in 5.0.0."; + } + + @each $value in $values { + @if type-of(index($list, $value)) != "number" { + @return false; + } + } + + @return true; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-length.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-length.scss new file mode 100644 index 0000000..4e1b333 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-length.scss @@ -0,0 +1,16 @@ +@charset "UTF-8"; + +/// Checks for a valid CSS length. +/// +/// @param {String} $value + +@function is-length($value) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `is-length` is deprecated and will be " + + "removed in 5.0.0."; + } + + @return type-of($value) != "null" and (str-slice($value + "", 1, 4) == "calc" + or index(auto inherit initial 0, $value) + or (type-of($value) == "number" and not(unitless($value)))); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-light.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-light.scss new file mode 100644 index 0000000..0d72867 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-light.scss @@ -0,0 +1,26 @@ +@charset "UTF-8"; + +/// Programatically determines whether a color is light or dark. +/// +/// @link http://robots.thoughtbot.com/closer-look-color-lightness +/// +/// @param {Color (Hex)} $color +/// +/// @example scss - Usage +/// is-light($color) +/// +/// @return {Bool} + +@function is-light($hex-color) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `is-light` is deprecated and will be " + + "removed in 5.0.0."; + } + + $-local-red: red(rgba($hex-color, 1)); + $-local-green: green(rgba($hex-color, 1)); + $-local-blue: blue(rgba($hex-color, 1)); + $-local-lightness: ($-local-red * 0.2126 + $-local-green * 0.7152 + $-local-blue * 0.0722) / 255; + + @return $-local-lightness > 0.6; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-number.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-number.scss new file mode 100644 index 0000000..febad3d --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-number.scss @@ -0,0 +1,16 @@ +@charset "UTF-8"; + +/// Checks for a valid number. +/// +/// @param {Number} $value +/// +/// @require {function} contains + +@function is-number($value) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `is-number` is deprecated and will be " + + "removed in 5.0.0."; + } + + @return contains("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" 0 1 2 3 4 5 6 7 8 9, $value); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-size.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-size.scss new file mode 100644 index 0000000..c30fbd4 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-size.scss @@ -0,0 +1,23 @@ +@charset "UTF-8"; + +/// Checks for a valid CSS size. +/// +/// @param {String} $value +/// +/// @require {function} contains +/// @require {function} is-length + +@function is-size($value) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `is-size` is deprecated and will be " + + "removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + @return is-length($value) + or contains("fill" "fit-content" "min-content" "max-content", $value); + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_modular-scale.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_modular-scale.scss new file mode 100644 index 0000000..1ece50c --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_modular-scale.scss @@ -0,0 +1,74 @@ +// Scaling Variables +$golden: 1.618; +$minor-second: 1.067; +$major-second: 1.125; +$minor-third: 1.2; +$major-third: 1.25; +$perfect-fourth: 1.333; +$augmented-fourth: 1.414; +$perfect-fifth: 1.5; +$minor-sixth: 1.6; +$major-sixth: 1.667; +$minor-seventh: 1.778; +$major-seventh: 1.875; +$octave: 2; +$major-tenth: 2.5; +$major-eleventh: 2.667; +$major-twelfth: 3; +$double-octave: 4; + +$user-output-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; +$output-bourbon-deprecation-warnings: false; + +$modular-scale-ratio: $perfect-fourth !default; +$modular-scale-base: em($em-base) !default; + +$output-bourbon-deprecation-warnings: $user-output-deprecation-warnings-setting; + +@function modular-scale($increment, $value: $modular-scale-base, $ratio: $modular-scale-ratio) { + $v1: nth($value, 1); + $v2: nth($value, length($value)); + $value: $v1; + + // scale $v2 to just above $v1 + @while $v2 > $v1 { + $v2: ($v2 / $ratio); // will be off-by-1 + } + @while $v2 < $v1 { + $v2: ($v2 * $ratio); // will fix off-by-1 + } + + // check AFTER scaling $v2 to prevent double-counting corner-case + $double-stranded: $v2 > $v1; + + @if $increment > 0 { + @for $i from 1 through $increment { + @if $double-stranded and ($v1 * $ratio) > $v2 { + $value: $v2; + $v2: ($v2 * $ratio); + } @else { + $v1: ($v1 * $ratio); + $value: $v1; + } + } + } + + @if $increment < 0 { + // adjust $v2 to just below $v1 + @if $double-stranded { + $v2: ($v2 / $ratio); + } + + @for $i from $increment through -1 { + @if $double-stranded and ($v1 / $ratio) < $v2 { + $value: $v2; + $v2: ($v2 / $ratio); + } @else { + $v1: ($v1 / $ratio); + $value: $v1; + } + } + } + + @return $value; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-em.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-em.scss new file mode 100644 index 0000000..89f33fb --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-em.scss @@ -0,0 +1,24 @@ +// Convert pixels to ems +// eg. for a relational value of 12px write em(12) when the parent is 16px +// if the parent is another value say 24px write em(12, 24) + +@function em($pxval, $base: $em-base) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `em` is deprecated and will be " + + "removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + @if not unitless($pxval) { + $pxval: strip-units($pxval); + } + @if not unitless($base) { + $base: strip-units($base); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return ($pxval / $base) * 1em; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-rem.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-rem.scss new file mode 100644 index 0000000..39be7e4 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_px-to-rem.scss @@ -0,0 +1,26 @@ +// Convert pixels to rems +// eg. for a relational value of 12px write rem(12) +// Assumes $em-base is the font-size of + +@function rem($pxval) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `rem` is deprecated and will be " + + "removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + @if not unitless($pxval) { + $pxval: strip-units($pxval); + } + + $base: $em-base; + @if not unitless($base) { + $base: strip-units($base); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return ($pxval / $base) * 1rem; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_shade.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_shade.scss new file mode 100644 index 0000000..8aaf2c6 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_shade.scss @@ -0,0 +1,24 @@ +@charset "UTF-8"; + +/// Mixes a color with black. +/// +/// @param {Color} $color +/// +/// @param {Number (Percentage)} $percent +/// The amount of black to be mixed in. +/// +/// @example scss - Usage +/// .element { +/// background-color: shade(#ffbb52, 60%); +/// } +/// +/// @example css - CSS Output +/// .element { +/// background-color: #664a20; +/// } +/// +/// @return {Color} + +@function shade($color, $percent) { + @return mix(#000, $color, $percent); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_strip-units.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_strip-units.scss new file mode 100644 index 0000000..2cb0ff0 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_strip-units.scss @@ -0,0 +1,22 @@ +@charset "UTF-8"; + +/// Strips the unit from a number. +/// +/// @param {Number (With Unit)} $value +/// +/// @example scss - Usage +/// $dimension: strip-units(10em); +/// +/// @example css - CSS Output +/// $dimension: 10; +/// +/// @return {Number (Unitless)} + +@function strip-units($value) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `strip-units` is deprecated and will be " + + "removed in 5.0.0 and replaced by the `strip-unit` function."; + } + + @return ($value / ($value * 0 + 1)); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss new file mode 100644 index 0000000..2e33814 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_tint.scss @@ -0,0 +1,24 @@ +@charset "UTF-8"; + +/// Mixes a color with white. +/// +/// @param {Color} $color +/// +/// @param {Number (Percentage)} $percent +/// The amount of white to be mixed in. +/// +/// @example scss - Usage +/// .element { +/// background-color: tint(#6ecaa6, 40%); +/// } +/// +/// @example css - CSS Output +/// .element { +/// background-color: #a8dfc9; +/// } +/// +/// @return {Color} + +@function tint($color, $percent) { + @return mix(#fff, $color, $percent); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_transition-property-name.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_transition-property-name.scss new file mode 100644 index 0000000..af59f37 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_transition-property-name.scss @@ -0,0 +1,37 @@ +// Return vendor-prefixed property names if appropriate +// Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background +//************************************************************************// +@function transition-property-names($props, $vendor: false) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `transition-property-names` is deprecated " + + "and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $new-props: (); + + @each $prop in $props { + $new-props: append($new-props, transition-property-name($prop, $vendor), comma); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return $new-props; +} + +@function transition-property-name($prop, $vendor: false) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `transition-property-name` is deprecated " + + "and will be removed in 5.0.0."; + } + + // put other properties that need to be prefixed here aswell + @if $vendor and $prop == transform { + @return unquote('-'+$vendor+'-'+$prop); + } + @else { + @return $prop; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_unpack.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_unpack.scss new file mode 100644 index 0000000..e8cea40 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_unpack.scss @@ -0,0 +1,32 @@ +@charset "UTF-8"; + +/// Converts shorthand to the 4-value syntax. +/// +/// @param {List} $shorthand +/// +/// @example scss - Usage +/// .element { +/// margin: unpack(1em 2em); +/// } +/// +/// @example css - CSS Output +/// .element { +/// margin: 1em 2em 1em 2em; +/// } + +@function unpack($shorthand) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `unpack` is deprecated and will be " + + "removed in 5.0.0."; + } + + @if length($shorthand) == 1 { + @return nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1); + } @else if length($shorthand) == 2 { + @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 1) nth($shorthand, 2); + } @else if length($shorthand) == 3 { + @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 3) nth($shorthand, 2); + } @else { + @return $shorthand; + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_convert-units.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_convert-units.scss new file mode 100644 index 0000000..8b11f71 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_convert-units.scss @@ -0,0 +1,26 @@ +//************************************************************************// +// Helper function for str-to-num fn. +// Source: http://sassmeister.com/gist/9647408 +//************************************************************************// +@function _convert-units($number, $unit) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_convert-units` is deprecated and will " + + "be removed in 5.0.0."; + } + + $strings: "px", "cm", "mm", "%", "ch", "pica", "in", "em", "rem", "pt", "pc", "ex", "vw", "vh", "vmin", "vmax", "deg", "rad", "grad", "turn"; + $units: 1px, 1cm, 1mm, 1%, 1ch, 1pica, 1in, 1em, 1rem, 1pt, 1pc, 1ex, 1vw, 1vh, 1vmin, 1vmax, 1deg, 1rad, 1grad, 1turn; + $index: index($strings, $unit); + + @if not $index { + @warn "Unknown unit `#{$unit}`."; + @return false; + } + + @if type-of($number) != "number" { + @warn "`#{$number} is not a number`"; + @return false; + } + + @return $number * nth($units, $index); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_directional-values.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_directional-values.scss new file mode 100644 index 0000000..c5b09ec --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_directional-values.scss @@ -0,0 +1,108 @@ +@charset "UTF-8"; + +/// Directional-property mixins are shorthands for writing properties like the following +/// +/// @ignore You can also use `false` instead of `null`. +/// +/// @param {List} $vals +/// List of directional values +/// +/// @example scss - Usage +/// .element { +/// @include border-style(dotted null); +/// @include margin(null 0 10px); +/// } +/// +/// @example css - CSS Output +/// .element { +/// border-bottom-style: dotted; +/// border-top-style: dotted; +/// margin-bottom: 10px; +/// margin-left: 0; +/// margin-right: 0; +/// } +/// +/// @require {function} contains-falsy +/// +/// @return {List} + +@function collapse-directionals($vals) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `collapse-directionals` is deprecated and " + + "will be removed in 5.0.0."; + } + + $output: null; + + $a: nth($vals, 1); + $b: if(length($vals) < 2, $a, nth($vals, 2)); + $c: if(length($vals) < 3, $a, nth($vals, 3)); + $d: if(length($vals) < 2, $a, nth($vals, if(length($vals) < 4, 2, 4))); + + @if $a == 0 { $a: 0; } + @if $b == 0 { $b: 0; } + @if $c == 0 { $c: 0; } + @if $d == 0 { $d: 0; } + + @if $a == $b and $a == $c and $a == $d { $output: $a; } + @else if $a == $c and $b == $d { $output: $a $b; } + @else if $b == $d { $output: $a $b $c; } + @else { $output: $a $b $c $d; } + + @return $output; +} + +/// Output directional properties, for instance `margin`. +/// +/// @access private +/// +/// @param {String} $pre +/// Prefix to use +/// @param {String} $suf +/// Suffix to use +/// @param {List} $vals +/// List of values +/// +/// @require {function} collapse-directionals +/// @require {function} contains-falsy + +@mixin directional-property($pre, $suf, $vals) { + @include _bourbon-deprecate("directional-property"); + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + // Property Names + $top: $pre + "-top" + if($suf, "-#{$suf}", ""); + $bottom: $pre + "-bottom" + if($suf, "-#{$suf}", ""); + $left: $pre + "-left" + if($suf, "-#{$suf}", ""); + $right: $pre + "-right" + if($suf, "-#{$suf}", ""); + $all: $pre + if($suf, "-#{$suf}", ""); + + $vals: collapse-directionals($vals); + + @if contains-falsy($vals) { + @if nth($vals, 1) { #{$top}: nth($vals, 1); } + + @if length($vals) == 1 { + @if nth($vals, 1) { #{$right}: nth($vals, 1); } + } @else { + @if nth($vals, 2) { #{$right}: nth($vals, 2); } + } + + @if length($vals) == 2 { + @if nth($vals, 1) { #{$bottom}: nth($vals, 1); } + @if nth($vals, 2) { #{$left}: nth($vals, 2); } + } @else if length($vals) == 3 { + @if nth($vals, 3) { #{$bottom}: nth($vals, 3); } + @if nth($vals, 2) { #{$left}: nth($vals, 2); } + } @else if length($vals) == 4 { + @if nth($vals, 3) { #{$bottom}: nth($vals, 3); } + @if nth($vals, 4) { #{$left}: nth($vals, 4); } + } + } @else { + #{$all}: $vals; + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss new file mode 100644 index 0000000..18b381e --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_font-source-declaration.scss @@ -0,0 +1,53 @@ +// Used for creating the source string for fonts using @font-face +// Reference: http://goo.gl/Ru1bKP + +@function font-url-prefixer($asset-pipeline) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `font-url-prefixer` is deprecated and " + + "will be removed in 5.0.0."; + } + + @if $asset-pipeline == true { + @return font-url; + } @else { + @return url; + } +} + +@function font-source-declaration( + $font-family, + $file-path, + $asset-pipeline, + $file-formats, + $font-url) { + + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `font-source-declaration` is deprecated " + + "and will be removed in 5.0.0."; + } + + $src: (); + + $formats-map: ( + eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"), + woff2: "#{$file-path}.woff2" format("woff2"), + woff: "#{$file-path}.woff" format("woff"), + ttf: "#{$file-path}.ttf" format("truetype"), + svg: "#{$file-path}.svg##{$font-family}" format("svg") + ); + + @each $key, $values in $formats-map { + @if contains($file-formats, $key) { + $file-path: nth($values, 1); + $font-format: nth($values, 2); + + @if $asset-pipeline == true { + $src: append($src, font-url($file-path) $font-format, comma); + } @else { + $src: append($src, url($file-path) $font-format, comma); + } + } + } + + @return $src; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_gradient-positions-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_gradient-positions-parser.scss new file mode 100644 index 0000000..3386e35 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_gradient-positions-parser.scss @@ -0,0 +1,24 @@ +@function _gradient-positions-parser($gradient-type, $gradient-positions) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_gradient-positions-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + @if $gradient-positions + and ($gradient-type == linear) + and (type-of($gradient-positions) != color) { + $gradient-positions: _linear-positions-parser($gradient-positions); + } + @else if $gradient-positions + and ($gradient-type == radial) + and (type-of($gradient-positions) != color) { + $gradient-positions: _radial-positions-parser($gradient-positions); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return $gradient-positions; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-angle-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-angle-parser.scss new file mode 100644 index 0000000..8948860 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-angle-parser.scss @@ -0,0 +1,35 @@ +// Private function for linear-gradient-parser +@function _linear-angle-parser($image, $first-val, $prefix, $suffix) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_linear-angle-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $offset: null; + $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val)); + $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val)); + + @if ($unit-long == "grad") or + ($unit-long == "turn") { + $offset: if($unit-long == "grad", -100grad * 3, -0.75turn); + } + + @else if ($unit-short == "deg") or + ($unit-short == "rad") { + $offset: if($unit-short == "deg", -90 * 3, 1.6rad); + } + + @if $offset { + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $num: _str-to-num($first-val); + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return ( + webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix, + spec-image: $image + ); + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-gradient-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-gradient-parser.scss new file mode 100644 index 0000000..1553883 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-gradient-parser.scss @@ -0,0 +1,51 @@ +@function _linear-gradient-parser($image) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_linear-gradient-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $image: unquote($image); + $gradients: (); + $start: str-index($image, "("); + $end: str-index($image, ","); + $first-val: str-slice($image, $start + 1, $end - 1); + + $prefix: str-slice($image, 1, $start); + $suffix: str-slice($image, $end, str-length($image)); + + $has-multiple-vals: str-index($first-val, " "); + $has-single-position: unquote(_position-flipper($first-val) + ""); + $has-angle: is-number(str-slice($first-val, 1, 1)); + + @if $has-multiple-vals { + $gradients: _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals); + } + + @else if $has-single-position != "" { + $pos: unquote($has-single-position + ""); + + $gradients: ( + webkit-image: -webkit- + $image, + spec-image: $prefix + "to " + $pos + $suffix + ); + } + + @else if $has-angle { + // Rotate degree for webkit + $gradients: _linear-angle-parser($image, $first-val, $prefix, $suffix); + } + + @else { + $gradients: ( + webkit-image: -webkit- + $image, + spec-image: $image + ); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return $gradients; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-positions-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-positions-parser.scss new file mode 100644 index 0000000..a9c8e12 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-positions-parser.scss @@ -0,0 +1,77 @@ +@function _linear-positions-parser($pos) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_linear-positions-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $type: type-of(nth($pos, 1)); + $spec: null; + $degree: null; + $side: null; + $corner: null; + $length: length($pos); + // Parse Side and corner positions + @if ($length > 1) { + @if nth($pos, 1) == "to" { // Newer syntax + $side: nth($pos, 2); + + @if $length == 2 { // eg. to top + // Swap for backwards compatibility + $degree: _position-flipper(nth($pos, 2)); + } + @else if $length == 3 { // eg. to top left + $corner: nth($pos, 3); + } + } + @else if $length == 2 { // Older syntax ("top left") + $side: _position-flipper(nth($pos, 1)); + $corner: _position-flipper(nth($pos, 2)); + } + + @if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") { + $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); + } + @else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") { + $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); + } + @else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") { + $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); + } + @else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") { + $degree: _position-flipper(#{$side}) _position-flipper(#{$corner}); + } + $spec: to $side $corner; + } + @else if $length == 1 { + // Swap for backwards compatibility + @if $type == string { + $degree: $pos; + $spec: to _position-flipper($pos); + } + @else { + $degree: -270 - $pos; //rotate the gradient opposite from spec + $spec: $pos; + } + } + $degree: unquote($degree + ","); + $spec: unquote($spec + ","); + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return $degree $spec; +} + +@function _position-flipper($pos) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_position-flipper` is " + + "deprecated and will be removed in 5.0.0."; + } + + @return if($pos == left, right, null) + if($pos == right, left, null) + if($pos == top, bottom, null) + if($pos == bottom, top, null); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss new file mode 100644 index 0000000..25980f4 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss @@ -0,0 +1,41 @@ +// Private function for linear-gradient-parser +@function _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_linear-side-corner-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $val-1: str-slice($first-val, 1, $has-multiple-vals - 1); + $val-2: str-slice($first-val, $has-multiple-vals + 1, str-length($first-val)); + $val-3: null; + $has-val-3: str-index($val-2, " "); + + @if $has-val-3 { + $val-3: str-slice($val-2, $has-val-3 + 1, str-length($val-2)); + $val-2: str-slice($val-2, 1, $has-val-3 - 1); + } + + $pos: _position-flipper($val-1) _position-flipper($val-2) _position-flipper($val-3); + $pos: unquote($pos + ""); + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + // Use old spec for webkit + @if $val-1 == "to" { + @return ( + webkit-image: -webkit- + $prefix + $pos + $suffix, + spec-image: $image + ); + } + + // Bring the code up to spec + @else { + @return ( + webkit-image: -webkit- + $image, + spec-image: $prefix + "to " + $pos + $suffix + ); + } +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-arg-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-arg-parser.scss new file mode 100644 index 0000000..866ee21 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-arg-parser.scss @@ -0,0 +1,74 @@ +@function _radial-arg-parser($g1, $g2, $pos, $shape-size) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_radial-arg-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + @each $value in $g1, $g2 { + $first-val: nth($value, 1); + $pos-type: type-of($first-val); + $spec-at-index: null; + + // Determine if spec was passed to mixin + @if type-of($value) == list { + $spec-at-index: if(index($value, at), index($value, at), false); + } + @if $spec-at-index { + @if $spec-at-index > 1 { + @for $i from 1 through ($spec-at-index - 1) { + $shape-size: $shape-size nth($value, $i); + } + @for $i from ($spec-at-index + 1) through length($value) { + $pos: $pos nth($value, $i); + } + } + @else if $spec-at-index == 1 { + @for $i from ($spec-at-index + 1) through length($value) { + $pos: $pos nth($value, $i); + } + } + $g1: null; + } + + // If not spec calculate correct values + @else { + @if ($pos-type != color) or ($first-val != "transparent") { + @if ($pos-type == number) + or ($first-val == "center") + or ($first-val == "top") + or ($first-val == "right") + or ($first-val == "bottom") + or ($first-val == "left") { + + $pos: $value; + + @if $pos == $g1 { + $g1: null; + } + } + + @else if + ($first-val == "ellipse") + or ($first-val == "circle") + or ($first-val == "closest-side") + or ($first-val == "closest-corner") + or ($first-val == "farthest-side") + or ($first-val == "farthest-corner") + or ($first-val == "contain") + or ($first-val == "cover") { + + $shape-size: $value; + + @if $value == $g1 { + $g1: null; + } + + @else if $value == $g2 { + $g2: null; + } + } + } + } + } + @return $g1, $g2, $pos, $shape-size; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-gradient-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-gradient-parser.scss new file mode 100644 index 0000000..871869b --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-gradient-parser.scss @@ -0,0 +1,55 @@ +@function _radial-gradient-parser($image) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_radial-gradient-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $image: unquote($image); + $gradients: (); + $start: str-index($image, "("); + $end: str-index($image, ","); + $first-val: str-slice($image, $start + 1, $end - 1); + + $prefix: str-slice($image, 1, $start); + $suffix: str-slice($image, $end, str-length($image)); + + $is-spec-syntax: str-index($first-val, "at"); + + @if $is-spec-syntax and $is-spec-syntax > 1 { + $keyword: str-slice($first-val, 1, $is-spec-syntax - 2); + $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val)); + $pos: append($pos, $keyword, comma); + + $gradients: ( + webkit-image: -webkit- + $prefix + $pos + $suffix, + spec-image: $image + ); + } + + @else if $is-spec-syntax == 1 { + $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val)); + + $gradients: ( + webkit-image: -webkit- + $prefix + $pos + $suffix, + spec-image: $image + ); + } + + @else if str-index($image, "cover") or str-index($image, "contain") { + @warn "Radial-gradient needs to be updated to conform to latest spec."; + + $gradients: ( + webkit-image: null, + spec-image: $image + ); + } + + @else { + $gradients: ( + webkit-image: -webkit- + $image, + spec-image: $image + ); + } + + @return $gradients; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-positions-parser.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-positions-parser.scss new file mode 100644 index 0000000..3169a9c --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_radial-positions-parser.scss @@ -0,0 +1,28 @@ +@function _radial-positions-parser($gradient-pos) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_radial-positions-parser` is " + + "deprecated and will be removed in 5.0.0."; + } + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $shape-size: nth($gradient-pos, 1); + $pos: nth($gradient-pos, 2); + $shape-size-spec: _shape-size-stripper($shape-size); + + $pre-spec: unquote(if($pos, "#{$pos}, ", null)) + unquote(if($shape-size, "#{$shape-size},", null)); + $pos-spec: if($pos, "at #{$pos}", null); + + $spec: "#{$shape-size-spec} #{$pos-spec}"; + + // Add comma + @if ($spec != " ") { + $spec: "#{$spec},"; + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; + + @return $pre-spec $spec; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_render-gradients.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_render-gradients.scss new file mode 100644 index 0000000..ec9fc37 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_render-gradients.scss @@ -0,0 +1,31 @@ +// User for linear and radial gradients within background-image or border-image properties + +@function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_render-gradients` is " + + "deprecated and will be removed in 5.0.0."; + } + + $pre-spec: null; + $spec: null; + $vendor-gradients: null; + @if $gradient-type == linear { + @if $gradient-positions { + $pre-spec: nth($gradient-positions, 1); + $spec: nth($gradient-positions, 2); + } + } + @else if $gradient-type == radial { + $pre-spec: nth($gradient-positions, 1); + $spec: nth($gradient-positions, 2); + } + + @if $vendor { + $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients); + } + @else if $vendor == false { + $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})"; + $vendor-gradients: unquote($vendor-gradients); + } + @return $vendor-gradients; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss new file mode 100644 index 0000000..6caf05c --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss @@ -0,0 +1,15 @@ +@function _shape-size-stripper($shape-size) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_shape-size-stripper` is " + + "deprecated and will be removed in 5.0.0."; + } + + $shape-size-spec: null; + @each $value in $shape-size { + @if ($value == "cover") or ($value == "contain") { + $value: null; + } + $shape-size-spec: "#{$shape-size-spec} #{$value}"; + } + @return $shape-size-spec; +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_str-to-num.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_str-to-num.scss new file mode 100644 index 0000000..1e039f2 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_str-to-num.scss @@ -0,0 +1,55 @@ +//************************************************************************// +// Helper function for linear/radial-gradient-parsers. +// Source: http://sassmeister.com/gist/9647408 +//************************************************************************// +@function _str-to-num($string) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `_str-to-num` is " + + "deprecated and will be removed in 5.0.0."; + } + + // Matrices + $strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9"; + $numbers: 0 1 2 3 4 5 6 7 8 9; + + // Result + $result: 0; + $divider: 0; + $minus: false; + + // Looping through all characters + @for $i from 1 through str-length($string) { + $character: str-slice($string, $i, $i); + $index: index($strings, $character); + + @if $character == "-" { + $minus: true; + } + + @else if $character == "." { + $divider: 1; + } + + @else { + @if not $index { + $result: if($minus, $result * -1, $result); + @return _convert-units($result, str-slice($string, $i)); + } + + $number: nth($numbers, $index); + + @if $divider == 0 { + $result: $result * 10; + } + + @else { + // Move the decimal dot to the left + $divider: $divider * 10; + $number: $number / $divider; + } + + $result: $result + $number; + } + } + @return if($minus, $result * -1, $result); +} diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_asset-pipeline.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_asset-pipeline.scss new file mode 100644 index 0000000..4c6afc5 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_asset-pipeline.scss @@ -0,0 +1,7 @@ +@charset "UTF-8"; + +/// A global setting to enable or disable the `$asset-pipeline` variable for all functions that accept it. +/// +/// @type Bool + +$asset-pipeline: false !default; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_deprecation-warnings.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_deprecation-warnings.scss new file mode 100644 index 0000000..65e4670 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_deprecation-warnings.scss @@ -0,0 +1,8 @@ +@charset "UTF-8"; + +/// Enable or disable output of Bourbon’s deprecation-related Sass warnings. +/// This variable must be declared _before_ importing Bourbon. +/// +/// @type Bool + +$output-bourbon-deprecation-warnings: true !default; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_prefixer.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_prefixer.scss new file mode 100644 index 0000000..8c39051 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_prefixer.scss @@ -0,0 +1,9 @@ +@charset "UTF-8"; + +/// Global variables to enable or disable vendor prefixes + +$prefix-for-webkit: true !default; +$prefix-for-mozilla: true !default; +$prefix-for-microsoft: true !default; +$prefix-for-opera: true !default; +$prefix-for-spec: true !default; diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_px-to-em.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_px-to-em.scss new file mode 100644 index 0000000..f2f9a3e --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/settings/_px-to-em.scss @@ -0,0 +1 @@ +$em-base: 16px !default; diff --git a/debian/missing-sources/wyrm/LICENSE b/debian/missing-sources/wyrm/LICENSE new file mode 100644 index 0000000..921f073 --- /dev/null +++ b/debian/missing-sources/wyrm/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2013 Dave Snider + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/missing-sources/wyrm/README.md b/debian/missing-sources/wyrm/README.md new file mode 100644 index 0000000..9b48351 --- /dev/null +++ b/debian/missing-sources/wyrm/README.md @@ -0,0 +1,11 @@ +#### wyrm + +The wyrm frontend is a collection of responsive, static assets that work well with form or document heavy sites. + +#### install + +With bower. + +``` +bower install wyrm +``` diff --git a/debian/missing-sources/wyrm/sass/_wyrm_all.sass b/debian/missing-sources/wyrm/sass/_wyrm_all.sass new file mode 100644 index 0000000..7508d74 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/_wyrm_all.sass @@ -0,0 +1,21 @@ +// ------------------------------------------------------------ +// WYRM ALL +// ------------------------------------------------------------ +// This file includes wym_core along with all its addons. +// ------------------------------------------------------------ + +@import wyrm_core + +// Addons +@import wyrm_addons/forms/form_upload +@import wyrm_addons/forms/form_autocomplete +@import wyrm_addons/forms/form_tag +@import wyrm_addons/forms/form_gallery +@import wyrm_addons/pygments/pygments +@import wyrm_addons/pygments/pygments_light +@import wyrm_addons/elements/tooltip +@import wyrm_addons/elements/stars +@import wyrm_addons/elements/paginate +@import wyrm_addons/elements/modal +@import wyrm_addons/redactor/redactor +@import wyrm_addons/redactor/figures diff --git a/debian/missing-sources/wyrm/sass/_wyrm_core.sass b/debian/missing-sources/wyrm/sass/_wyrm_core.sass new file mode 100644 index 0000000..fea1105 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/_wyrm_core.sass @@ -0,0 +1,39 @@ +// ------------------------------------------------------------ +// WYRM CORE ONLY +// ------------------------------------------------------------ +// Slimmed down Wyrm that doesn't need anything fancy. +// ------------------------------------------------------------ + +// Variable defaults set by Wyrm +@import wyrm_core/wy_variables + +// bourbon.io framework +@import bourbon + +// Bourbon.io/neat framework, with some default media queries +@import wyrm_core/grid_settings +@import neat +// Add omega-type mixin, which is better for JS libraries like ember +// that add a bunch of extra elements in the dom. +@import wyrm_core/neat_extra + +// Custom reset +@import wyrm_core/reset + +// Wyrm mixins +@import wyrm_core/mixin + +// Font awesome and overwrites. +@import font-awesome +@import wyrm_core/font_icon_defaults + +// Wyrm core styles used in this theme +@import wyrm_core/alert +@import wyrm_core/button +@import wyrm_core/dropdown +@import wyrm_core/form +@import wyrm_core/generic +@import wyrm_core/table +@import wyrm_core/type +@import wyrm_core/video +@import wyrm_core/spinner diff --git a/debian/missing-sources/wyrm/sass/styleguide.md b/debian/missing-sources/wyrm/sass/styleguide.md new file mode 100644 index 0000000..2f16266 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/styleguide.md @@ -0,0 +1,44 @@ +# Wyrm + +Built primarily by Dave Snider for use on his web sites. Here be documentation +for the poor souls that have to work with him and wonder why he doesn't just +use bootstrap. + +Wyrm is a small library of [Bourbon](http://bourbon.io) powered SASS files meant +for use in minimalistic Document and Form heavy sites. It was primarily built +for [Webhook](http://www.webhook.com) but can also be found in use on +[Read the Docs sphinx theme](http://snide.github.com/sphinx_rtd_theme) among +other places. + +## Installation + +Wyrm is best installed through [bower](http://bower.io) and is updated regularly. + +``` +bower install wyrm +``` + +By default, Wyrm installs [Font Awesome](http://fontawesome.io) setting the +`$icon-prefix` to FA's default of `fa`. You'll want to use [Grunt](http://gruntjs.org) +or some other method to copy the font files to your font folder in your project. Wyrm +by default assumes that it is `../fonts/` relative to your css, but this variable can +be changed with `$fa-font-path`. You can use any font icons though, and all icons +actually used in Wyrm itself are set as variables in the `_wy_variables.sass` files. + +## Things to know + +1. Uses indented Sass style because it's awesome. +2. `$base-line-height` is the magic number used for calculations across wyrm. `$gutter` is +it's em based cousin usefual for grids. +4. Because `$gutter` is an em value, I've included an `em()` mixin for converting pixels +to ems should you need to make calculations with the two. +3. Vertical margin is only applied to the **bottom** of elements, not spread +top/bottom like other frameworks. It is always some multiple of `$base-line-height` + +## Wyrm core / add-on structure + +Files that you'll likely want to install are in `/wyrm_core/` and you can handly call +all of them using the `_wyrm_core.sass` file. Alternatively, I've built a whole lot +of addons, located in `/wym_addons/`, which you can plug and play into wyrm as you need. Most of them are +documented here. To install core + plus all the addons, there's a handy `_wyrm_all.sass` +file, though honestly you'll prolly just make your own document at that point. diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_modal.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_modal.sass new file mode 100644 index 0000000..5ea1e2a --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_modal.sass @@ -0,0 +1,67 @@ +.wy-modal-screen + position: fixed + width: 100% + height: 100% + background: rgba(0,0,0,.5) + top: 0 + left: 0 + z-index: $z-index-modal + +.wy-modal-close + @extend %icon + @extend .#{$icon-prefix}-#{$icon-close} + color: $text-color + cursor: pointer + position: absolute + right: $base-line-height + top: $base-line-height + font-size: 0 + &:before + font-size: 20px + &:hover + color: $red + +.wy-modal + position: fixed + width: 50% + top: 50% + left: 50% + margin-left: -25% + margin-top: -25% + background: $section-background-color + z-index: $z-index-modal + 1 + border: solid 1px $table-border-color + section + padding: 0 $gutter $gutter $gutter + header + font-weight: 500 + padding: $base-line-height + padding-top: $base-line-height / 2 + font-weight: bold + font-family: $custom-font-family + font-size: 150% + footer + background: $background-color + padding: $gutter + text-align: right + .btn + margin-left: 5px + +.wy-body-mask + position: fixed + width: 100% + height: 100% + background: rgba(0,0,0,.8) + display: none + z-index: $z-index-modal - 1 + top: 0 + &.on + display: block + ++media($mobile) + .wy-modal + width: 100% + margin: 0 + left: 0 + right: 0 + top: 0 diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_paginate.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_paginate.sass new file mode 100644 index 0000000..42a2af6 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_paginate.sass @@ -0,0 +1,44 @@ +// Pagination +// +// Pagination `/wyrm_addons/elements/_paginate.sass`. +// +// Markup: +// +// +// .wy-paginate-center - Centered +// +// Styleguide 11.0 + +.wy-paginate + margin-bottom: $base-line-height + list-style: none + li + list-style: none + display: inline-block + margin: 0 + a + display: inline-block + padding: $base-line-height / 4 $base-line-height / 2 + border: solid 1px $table-border-color + color: $text-color + line-height: 1 + font-size: 90% + a:hover + background: $table-border-color + li.active a + background: $gray-dark + border-color: $gray-dark + color: $white !important + li.dots a + border-color: transparent + &.wy-paginate-center + text-align: center diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_stars.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_stars.sass new file mode 100644 index 0000000..bf512b6 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_stars.sass @@ -0,0 +1,56 @@ +// Ratings +// +// Ratings using font icons. Located in `/wyrm_addons/elements/_stars.sass`. +// +// Markup: +// +// +// .wy-star-0 - 0 stars +// .wy-star-0dot5 - 0.5 stars +// .wy-star-1 - 1 stars +// .wy-star-1dot5 - 1.5 stars +// .wy-star-2 - 2 stars +// .wy-star-2dot5 - 2.5 stars +// .wy-star-3 - 3 stars +// .wy-star-3dot5 - 3.5 stars +// .wy-star-4 - 4 stars +// .wy-star-4dot5 - 4.5 stars +// .wy-star-5 - 5 stars +// +// Styleguide 10.0 + +.wy-star + display: inline-block + max-width: 100% + letter-spacing: 3px + color: $text-light + font-family: $icon-font-family + vertical-align: top + position: relative + &:before + content: "\f005\f005\f005\f005\f005" + &:after + position: absolute + top: 0 + left: 0 + color: $text-color + &.wy-star-0dot5:after + content: "\f089" + &.wy-star-1:after + content: "\f005" + &.wy-star-1dot5:after + content: "\f005\f089" + &.wy-star-2:after + content: "\f005\f005" + &.wy-star-2dot5:after + content: "\f005\f005\f089" + &.wy-star-3:after + content: "\f005\f005\f005" + &.wy-star-3dot5:after + content: "\f005\f005\f005\f089" + &.wy-star-4:after + content: "\f005\f005\f005\f005" + &.wy-star-4dot5:after + content: "\f005\f005\f005\f005\f089" + &.wy-star-5:after + content: "\f005\f005\f005\f005\f005" diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass new file mode 100644 index 0000000..11e4b94 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass @@ -0,0 +1,47 @@ +// Tooltips +// -------- + +.wy-tooltip + position: absolute + z-index: $z_index_tooltip + display: block + visibility: visible + padding: 5px + font-size: 11px + opacity: 0 + +transition(opacity 2.0s ease-in) + &.on + opacity: .8 + &.top + margin-top: -2px + &.right + margin-left: 2px + &.bottom + margin-top: 2px + &.left + margin-left: -2px + &.top .wy-tooltip-arrow + +arrow-top + &.left .wy-tooltip-arrow + +arrow-left + &.bottom .wy-tooltip-arrow + +arrow-bot + &.right .wy-tooltip-arrow + +arrow-right + +.wy-tooltip-inner + max-width: 200px + padding: $base-font-size / 2 + color: $white + text-align: center + text-decoration: none + background-color: $black + border-radius: 4px + +.wy-tooltip-arrow + position: absolute + width: 0 + height: 0 + + + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_autocomplete.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_autocomplete.sass new file mode 100644 index 0000000..d7dccc7 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_autocomplete.sass @@ -0,0 +1,188 @@ +// Form - autocompleter +// +// Located in `wyrm_core/_autocompleter.sass`. Autocompleters traditionally have three states, empty, +// single item and multi-item addition. Examples for all three are shown below. +// +// Markup: +//
+// +//
+//
+//
+// +//
+//
+// Example help text +//
+//
+//
+// +//
+//
+// Network +//
+// User needs to close the above item before choosing a replacement. +//
+//
+//
+// +//
+//
+// Network +// Rollerball +// Being There +//
+// +//
+//
    +//
  • +// Network +//
  • +//
  • +// Rollerball +//
  • +//
  • +// Being There +//
  • +//
  • +// Add new entry +//
  • +//
+//
+//
+//
+// Infinite autocomplete. +//
+//
+// +// Styleguide 9 + +.wy-autocomplete-group + display: inline-block + position: relative + background: $input-background-color + +.wy-autocomplete-dropdown + position: absolute + top: 100% + left: 0 + float: left + min-width: 100% + background: $dropdown-color + z-index: $z-index-dropdown + border: solid 1px $dropdown-border-color + box-shadow: 0 5px 5px 0 rgba(0,0,0,.1) + ul + list-style: none !important + margin: 0 !important + li + line-height: 1.5 + padding: $base-font-size / 2 + cursor: pointer + list-style: none !important + margin: 0 !important + border-bottom: solid 1px $table-border-color + &:last-child + border-bottom: none + &.on, &:hover + background: $link-color + border-color: transparent + color: $white + &.add + background: lighten($green, 50%) + &:hover.add, &.add.on + background: $green + img + width: 16px + height: 16px + margin-right: $base-font-size / 2 + +.wy-tag-input-group + .wy-autocomplete-dropdown + margin-top: -4px + +// Form - Autocompleter, many items. +// +// For when there are lots of items in a tag group. +// +// Markup: +//
+// +//
+//
+//
    +//
  1. Network
  2. +//
  3. Rollerball
  4. +//
  5. The Godfather
  6. +//
  7. The Godfather Part II
  8. +//
  9. The Big Lebowski
  10. +//
  11. Fargo
  12. +//
  13. Bad Santa
  14. +//
+//
+// +// +//
+//
+//
+// +// Styleguide 9.2 + +.wy-tag-input-group.wy-tag-input-group-many + border: none + box-shadow: none + padding: 0 + display: block + background: transparent + .wy-autocomplete-group + display: inline-block + border: solid 1px $table-border-color + width: 50% + margin-bottom: $base-line-height / 4 + padding: 0 $base-line-height / 4 + label + margin-left: 0 + input + margin-bottom: 0 + .wy-spinner + float: right + margin-top: $base-line-height / 4 + margin-bottom: $base-line-height / 4 + +.wy-tag-input-group.wy-tag-input-group-many ol + margin-bottom: 0 + +.wy-tag-input-group.wy-tag-input-group-many ol li + cursor: move + margin-left: 0 + span + padding: $base-line-height / 4 $base-line-height / 2 + margin-bottom: $base-line-height / 4 + background: rgba(0,0,0,.1) + position: relative + +truncate(50%) + +transition(background .5s ease-in-out) + &.active span + background: rgba(0,0,0,.2) + + span:hover + .#{$icon-prefix}-#{$icon-remove} + opacity: 1 + span:before + color: $gray-light + margin-right: $base-line-height / 4 + + .#{$icon-prefix}-#{$icon-remove} + position: absolute + right: $base-line-height / 4 + top: $base-line-height / 4 + color: $red + opacity: 0 + +.wy-tag-input-group.wy-tag-input-group-many li + cursor: auto + ++media($mobile) + .wy-tag-input-group.wy-tag-input-group-many ol li span + width: 100% + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_gallery.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_gallery.sass new file mode 100644 index 0000000..53c2624 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_gallery.sass @@ -0,0 +1,47 @@ +// Gallery management + +.wy-form-gallery-manage + margin-left: -$base-line-height / 2 + margin-right: -$base-line-height / 2 + li + float: left + padding: $base-line-height / 2 + width: 20% + cursor: pointer + +media($tablet) + width: 25% + +media($mobile) + width: 50% + &:active + cursor: move + li > a + padding: $base-line-height / 2 + background-color: #FFF + border: solid 1px $table-border-color + border-bottom: solid 3px $table-border-color + display: inline-block + +transition(all .1s ease-in) + &:active + border: solid 1px $input-border-color + border-top: solid 3px $input-border-color + img + width: 100% + +transition(all .05s ease-in) + +li.wy-form-gallery-edit + position: relative + color: $text-invert + padding: $base-line-height + width: 100% + display: block + background-color: $menu-background-color + border-radius: 4px + .arrow + position: absolute + display: block + top: -50px + left: 50% + margin-left: -25px + z-index: 500 + +triangle(50px, $menu-background-color, up) + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_tag.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_tag.sass new file mode 100644 index 0000000..14dab83 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_tag.sass @@ -0,0 +1,44 @@ +// Tags + +.wy-tag-input-group + padding: 4px 4px 0px 4px + display: inline-block + border: 1px solid $input-border-color + font-size: 80% + font-family: $base-font-family + box-shadow: inset 0 1px 3px $input-shadow-color + background: $input-background-color + +transition(border .3s linear) + +font-smooth + .wy-tag + display: inline-block + background-color: rgba(0,0,0,.1) + padding: em(8px) em(10px) + border-radius: 2px + position: relative + margin-bottom: 4px + +transition(background-color .5s ease-in-out) + &.on + background-color: rgba(0,0,0,.2) + .wy-tag-remove + color: $red + &.active + background-color: rgba(0,0,0,.2) + .wy-tag-remove + @extend %icon + @extend .#{$icon-prefix}-#{$icon-close} + color: $gray-lighter + margin-left: 5px + &:hover + color: $red + // label is used here as an icon to the input, which is why normal label stuff is removed + label + margin-left: 5px + display: inline-block + margin-bottom: 0 + input + border: none + font-size: 100% + margin-bottom: 4px + box-shadow: none + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_upload.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_upload.sass new file mode 100644 index 0000000..b266585 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/forms/_form_upload.sass @@ -0,0 +1,85 @@ +.wy-form-upload-container + vertical-align: middle + +.wy-form-upload + display: inline-block + cursor: pointer + color: $text-color + vertical-align: middle + +transition(border-color .1s ease-in) + +clearfix + +media($mobile) + width: 100% + .image-drop + display: none + .image-desktop + display: none + .image-loading + display: none + .image-drop .wy-form-upload-icon + color: $green + p + font-size: 90% + margin-bottom: $base-line-height / 4 + .wy-form-upload-image + display: inline-block + line-height: 150px + text-align: center + margin-right: $base-line-height / 2 + vertical-align: middle + .icon + font-size: 50px + line-height: 75px + img + max-width: 150px + max-height: 150px + .wy-form-upload-content + vertical-align: middle + display: inline-block + +media($mobile) + width: 100% + +.wy-form-upload.wy-form-upload-big + width: 100% + text-align: center + padding: $base-line-height * 3 + .wy-form-upload-content + float: none + +.wy-form-upload-url + padding: 18px 0px + vertical-align: middle + +.wy-form-upload.wy-form-upload-file + p + margin-bottom: 0 + .wy-form-upload-icon + display: inline-block + font-size: inherit + +.wy-form-upload.wy-form-upload-drop + background-color: lighten($green, 50%) + .image-drop + display: block + .image-desktop + display: none + .image-drag + display: none + +.wy-form-upload.wy-form-upload-loading + .image-drag + display: none + .image-desktop + display: none + .image-loading + display: block + .wy-input-prefix + display: none + p + margin-bottom: 0 + ++media($mobile) + .wy-form-upload + .wy-form-upload-image + margin-bottom: $base-line-height / 2 + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments.sass new file mode 100644 index 0000000..34a0ecc --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments.sass @@ -0,0 +1,59 @@ +.codeblock-example + border: 1px solid $table-border-color + border-bottom: none + padding: $base-line-height + padding-top: $base-line-height * 2 + font-weight: 500 + background: $white + position: relative + &:after + content: "Example" + position: absolute + top: 0px + left: 0px + background: $purple + color: lighten(purple, 80%) + padding: $base-line-height / 4 $base-line-height / 2 + &.prettyprint-example-only + border: 1px solid $table-border-color + margin-bottom: $base-line-height + +.codeblock, div[class^='highlight'] + border: 1px solid $table-border-color + padding: 0px + overflow-x: auto + background: $white + // 1px hack otherwise border won't show. lame + margin: 1px 0 $base-line-height 0 + div[class^='highlight'] + border: none + background: none + margin: 0 +// Needs 100% width for line highlighting to work properly +div[class^='highlight'] td.code + width: 100% +.linenodiv pre + border-right: solid 1px lighten($table-border-color, 2%) + margin: 0 + padding: $base-line-height / 2 $base-line-height / 2 + font-family: $code-font-family + font-size: 12px + line-height: 1.5 + color: $text-lighter +div[class^='highlight'] pre + white-space: pre + margin: 0 + padding: $base-line-height / 2 $base-line-height / 2 + font-family: $code-font-family + font-size: 12px + line-height: 1.5 + display: block + overflow: auto + color: $text-color +pre.literal-block + @extend .codeblock + +@media print + .codeblock, div[class^='highlight'], div[class^='highlight'] pre + white-space: pre-wrap + diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_dark.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_dark.sass new file mode 100644 index 0000000..1406d9d --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_dark.sass @@ -0,0 +1,129 @@ +.codeblock + border: 1px solid lighten($menu-background-color, 10%) + color: $text-invert + padding: 0px + width: 100% + overflow-x: auto + background: $menu-background-color + // 1px hack otherwise border won't show. lame + margin: 1px 0 $base-line-height 0 + +.hll + background-color: #49483e +.c + color: #75715e +.err + color: #960050 + background-color: #1e0010 +.k + color: #66d9ef +.l + color: #ae81ff +.n + color: #f8f8f2 +.o + color: #f92672 +.p + color: #f8f8f2 +.cm + color: #75715e +.cp + color: #75715e +.c1 + color: #75715e +.cs + color: #75715e +.ge + font-style: italic +.gs + font-weight: bold +.kc + color: #66d9ef +.kd + color: #66d9ef +.kn + color: #f92672 +.kp + color: #66d9ef +.kr + color: #66d9ef +.kt + color: #66d9ef +.ld + color: #e6db74 +.m + color: #ae81ff +.s + color: #e6db74 +.na + color: #a6e22e +.nb + color: #f8f8f2 +.nc + color: #a6e22e +.no + color: #66d9ef +.nd + color: #a6e22e +.ni + color: #f8f8f2 +.ne + color: #a6e22e +.nf + color: #a6e22e +.nl + color: #f8f8f2 +.nn + color: #f8f8f2 +.nx + color: #a6e22e +.py + color: #f8f8f2 +.nt + color: #f92672 +.nv + color: #f8f8f2 +.ow + color: #f92672 +.w + color: #f8f8f2 +.mf + color: #ae81ff +.mh + color: #ae81ff +.mi + color: #ae81ff +.mo + color: #ae81ff +.sb + color: #e6db74 +.sc + color: #e6db74 +.sd + color: #e6db74 +.s2 + color: #e6db74 +.se + color: #ae81ff +.sh + color: #e6db74 +.si + color: #e6db74 +.sx + color: #e6db74 +.sr + color: #e6db74 +.s1 + color: #e6db74 +.ss + color: #e6db74 +.bp + color: #f8f8f2 +.vc + color: #f8f8f2 +.vg + color: #f8f8f2 +.vi + color: #f8f8f2 +.il + color: #ae81ff diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_light.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_light.sass new file mode 100644 index 0000000..94ac46c --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/pygments/_pygments_light.sass @@ -0,0 +1,146 @@ +.hll + background-color: #ffffcc + margin: 0 -12px + padding: 0 12px + display: block +.c + color: #999988 + font-style: italic +.err + color: #a61717 + background-color: #e3d2d2 +.k + font-weight: bold +.o + font-weight: bold +.cm + color: #999988 + font-style: italic +.cp + color: #999999 + font-weight: bold +.c1 + color: #999988 + font-style: italic +.cs + color: #999999 + font-weight: bold + font-style: italic +.gd + color: #000000 + background-color: #ffdddd +.gd .x + color: #000000 + background-color: #ffaaaa +.ge + font-style: italic +.gr + color: #aa0000 +.gh + color: #999999 +.gi + color: #000000 + background-color: #ddffdd +.gi .x + color: #000000 + background-color: #aaffaa +.go + color: #888888 +.gp + color: #555555 +.gs + font-weight: bold +.gu + color: #800080 + font-weight: bold +.gt + color: #aa0000 +.kc + font-weight: bold +.kd + font-weight: bold +.kn + font-weight: bold +.kp + font-weight: bold +.kr + font-weight: bold +.kt + color: #445588 + font-weight: bold +.m + color: #009999 +.s + color: #dd1144 +.n + color: #333333 +.na + color: teal +.nb + color: #0086b3 +.nc + color: #445588 + font-weight: bold +.no + color: teal +.ni + color: purple +.ne + color: #990000 + font-weight: bold +.nf + color: #990000 + font-weight: bold +.nn + color: #555555 +.nt + color: navy +.nv + color: teal +.ow + font-weight: bold +.w + color: #bbbbbb +.mf + color: #009999 +.mh + color: #009999 +.mi + color: #009999 +.mo + color: #009999 +.sb + color: #dd1144 +.sc + color: #dd1144 +.sd + color: #dd1144 +.s2 + color: #dd1144 +.se + color: #dd1144 +.sh + color: #dd1144 +.si + color: #dd1144 +.sx + color: #dd1144 +.sr + color: #009926 +.s1 + color: #dd1144 +.ss + color: #990073 +.bp + color: #999999 +.vc + color: teal +.vg + color: teal +.vi + color: teal +.il + color: #009999 +.gc + color: #999 + background-color: #EAF2F5 diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_figures.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_figures.sass new file mode 100644 index 0000000..5069d82 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_figures.sass @@ -0,0 +1,190 @@ +figure + position: relative + +figcaption + text-align: center + line-height: $base-line-height + font-size: $base-font-size + +figure[data-type=table] + clear: both +figure[data-type=video] + position: relative + margin-bottom: $base-line-height + text-align: center + clear: both + p + margin: 0 + + &.wy-figure-full + &:before + position: relative + padding-bottom: 51% + width: 100% + height: 0 + content: "" + display: block + iframe + width: 100% + height: 100% + position: absolute + left: 0 + top: 0 + +figure[data-type=image] + position: relative + margin-bottom: $base-line-height + .wy-figure-controls + top: 0px + img + width: 100% + &.wy-figure-large + width: 100% + clear: both + &.wy-figure-medium + width: 50% + &.wy-figure-small + width: 33% + +figure[data-type=quote] + font-family: $custom-font-family + margin-bottom: $base-line-height + margin-left: $base-line-height + font-style: italic + position: relative + border-left: solid 5px $text-color + padding-left: $base-line-height + figcaption + font-weight: bold + text-align: left + .wy-figure-controls + margin-left: -5px + &.wy-figure-medium + font-size: 20px + &.wy-figure-large + font-size: 24px + &.wy-figure-right + width: 33% + &.wy-figure-left + width: 33% + border-left: none + border-right: solid 5px $text-color + padding-left: 0 + padding-right: $base-line-height + margin-left: 0 + margin-right: $base-line-height + .wy-figure-controls + margin-left: 0 + margin-right: -5px + cite + display: block + text-align: left + font-weight: bold + &:before + content: "\2014\00a0" + &:empty:before + opacity: 0.4 + content: "\2014 Type to add citation (optional)" + +figure:hover .wy-figure-controls + display: block + +.wy-figure-controls + background: $gray + padding: $base-line-height / 4 + position: absolute + display: none + min-width: 100% + white-space: nowrap + left: 0 + top: -37px + margin: auto + font-family: $base-font-family + border-bottom: solid 3px darken($gray, 10%) + line-height: $base-line-height + font-style: normal + z-index: 5 + text-align: center +.wy-figure-controls span + display: inline-block + border: none + background: none + color: $text-invert + vertical-align: top + font-size: 14px + width: 24px + height: 24px + line-height: 24px + text-align: center + cursor: pointer + &.#{$icon-prefix}, &:before + line-height: 24px + &:hover + background: rgba(255,255,255,.3) + color: $white + &.on + background: $white + color: $gray + +.wy-figure-controls span + &.wy-figure-controls-divider + width: 1px + background: lighten($gray, 10%) + padding: 0 + margin: 0 2px + cursor: normal + &.wy-figure-controls-small + font-size: 50% + &.wy-figure-controls-medium + font-size: 75% + &.wy-figure-controls-arrow-left + @extend %icon + @extend .#{$icon-prefix}-#{$icon-arrow-left} + &.wy-figure-controls-arrow-right + @extend %icon + @extend .#{$icon-prefix}-#{$icon-arrow-right} + &.wy-figure-controls-arrow-up + @extend %icon + @extend .#{$icon-prefix}-#{$icon-arrow-up} + &.wy-figure-controls-arrow-down + @extend %icon + @extend .#{$icon-prefix}-#{$icon-arrow-down} + &.wy-figure-controls-resize-full + @extend %icon + @extend .#{$icon-prefix}-#{$icon-expand} + &.wy-figure-controls-resize-small + @extend %icon + @extend .#{$icon-prefix}-#{$icon-compress} + &.wy-figure-controls-delete + @extend %icon + @extend .#{$icon-prefix}-#{$icon-trash} + margin-left: $base-line-height + &:hover + background: $red + &.wy-figure-controls-table + @extend %icon + @extend .#{$icon-prefix}-#{$icon-table} + width: auto + padding-left: $base-line-height / 4 + text-align: left + +.wy-figure-right + float: right + margin-left: $base-line-height + .wy-figure-controls + right: 0 + +.wy-figure-left + float: left + margin-right: $base-line-height + +// On mobile, images should be full width ++media($mobile) + figure[data-type=image] + width: 100% !important + float: none !important + margin-left: 0 + margin-right: 0 + figure[data-type=video] iframe + width: 100% !important + height: auto !important diff --git a/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_redactor.sass b/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_redactor.sass new file mode 100644 index 0000000..3aedcd1 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_addons/redactor/_redactor.sass @@ -0,0 +1,526 @@ +body + .redactor-air + position: absolute + z-index: $z-index-modal + .redactor_box_fullscreen + position: fixed + top: 0 + left: 0 + z-index: $z-index-modal - 5 + overflow: hidden + width: 100% + +/* + * Fullscreen + +.redactor-fake + background: $white + border: solid 1px $input-border-color + padding: $gutter + +.redactor-box + position: relative + overflow: visible + border: 1px solid $input-border-color + background-color: #fff + +clearfix + iframe + display: block + margin: 0 auto + padding: 0 + textarea + position: relative + display: block + overflow: auto + margin: 0 + padding: $gutter + width: 100% + outline: none + border: none + background-color: $gray-darker + box-shadow: none + color: $text-invert + font-size: 12px + font-family: $code-font-family + resize: none + pre + background: #2d2d2d + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace + font-size: 12px + line-height: 1.5 + padding: $base-line-height / 2 + overflow-x: auto + width: 100% + display: block + border: none + color: $white + white-space: pre-wrap + code + max-width: 100% + figcaption + &:empty:before + opacity: 0.4 + content: "Type to add caption (optional)" + figure[data-type=embed] + background: $table-stripe-color + padding: $base-line-height / 2 + border-radius: 4px + margin-bottom: $base-line-height + &:before + display: block + content: "EMBED: May not render correctly in this preview." + margin-bottom: $base-line-height / 2 + font-size: 80% + color: $red + font-weight: bold + +.redactor_box_fullscreen + background: $background-color + overflow-y: scroll !important + .redactor-editor + max-width: 960px + padding: $gutter + margin: $gutter * 2 auto $gutter !important + +.redactor-editor + font-family: $base-font-family + position: relative + padding: $gutter + padding-bottom: 5px + outline: none + background: #fff + box-shadow: none !important + white-space: normal + font-size: $base-font-size + line-height: $base-line-height + .redactor_placeholder + color: #999 !important + display: block !important + margin-bottom: 10px !important + &.redactor_editor_wym + padding: 10px 7px 0 7px !important + background: #f6f6f6 !important + +// GENERIC STYLING +.redactor-editor + ul + @extend %wy-plain-list-disc + ol + @extend %wy-plain-list-decimal +/* + * TOOLBAR + +.redactor-toolbar + position: relative + top: 0 + left: 0 + margin: 0 !important + padding: 0 !important + padding-left: 1px !important + border-bottom: 2px solid $input-border-color + background: hsl(0,0%,95%) + list-style: none !important + z-index: $z-index-tooltip - 1 + &:after + display: block + visibility: hidden + clear: both + height: 0 + content: "." + +.redactor-toolbar.toolbar_fixed_box + border: 1px solid $input-border-color + border-bottom-color: #b8b8b8 + +.redactor-toolbar li + float: left !important + margin: 0 !important + padding: 2px 0 2px 1px + outline: none + list-style: none !important + &.redactor-separator + float: left + margin: 0 0 0 2px !important + padding: 0 + height: 29px + border-right: 1px solid #f4f4f4 + border-left: 1px solid #d8d8d8 + &.redactor_btn_right + float: right !important + margin-right: 2px !important + a + @extend %icon + zoom: 1 + font-size: 14px + color: $text-color + width: 25px + line-height: 25px + text-align: center + &:hover + outline: none + background-color: $gray-light + color: $white + &:active, &.redactor-act + outline: none + background-color: $text-color + color: $white + +.redactor_button_disabled + opacity: 0.3 + &:hover + cursor: default + +/* + * BUTTONS + * step 25px + +body .redactor-toolbar li a + display: inline-block + &.redactor_btn_html + @extend .#{$icon-prefix}-#{$icon-code} + &.redactor_btn_formatting + @extend .#{$icon-prefix}-#{$icon-text-height} + &.redactor_btn_bold + @extend .#{$icon-prefix}-#{$icon-bold} + &.redactor_btn_italic + @extend .#{$icon-prefix}-#{$icon-italic} + &.redactor_btn_deleted + @extend .#{$icon-prefix}-#{$icon-strikethrough} + &.redactor_btn_unorderedlist + @extend .#{$icon-prefix}-#{$icon-list-ul} + &.redactor_btn_orderedlist + @extend .#{$icon-prefix}-#{$icon-list-ol} + &.redactor_btn_outdent + @extend .#{$icon-prefix}-#{$icon-outdent} + &.redactor_btn_indent + @extend .#{$icon-prefix}-#{$icon-indent} + &.redactor_btn_image + @extend .#{$icon-prefix}-#{$icon-picture} + &.redactor_btn_video + @extend .#{$icon-prefix}-#{$icon-youtube} + &.redactor_btn_file + @extend .#{$icon-prefix}-#{$icon-paperclip} + &.redactor_btn_table + @extend .#{$icon-prefix}-#{$icon-table} + &.redactor_btn_link + @extend .#{$icon-prefix}-#{$icon-link} + &.redactor_btn_quote + @extend .#{$icon-prefix}-#{$icon-quote-right} + &.redactor_btn_fontcolor + background-position: -325px + &.redactor_btn_backcolor + background-position: -350px + &.redactor_btn_alignleft + @extend .#{$icon-prefix}-#{$icon-align-left} + &.redactor_btn_aligncenter + @extend .#{$icon-prefix}-#{$icon-align-center} + &.redactor_btn_alignright + @extend .#{$icon-prefix}-#{$icon-align-right} + &.redactor_btn_justify + @extend .#{$icon-prefix}-#{$icon-align-justify} + &.redactor_btn_horizontalrule + background-position: -475px + &.redactor_btn_underline + background-position: -525px + &.redactor_btn_fullscreen + @extend .#{$icon-prefix}-#{$icon-arrows-alt} + &.redactor_btn_normalscreen + background-position: -575px + &.redactor_btn_clips + background-position: -600px + &.redactor_btn_alignment + background-position: -625px + &.redactor_btn_fontfamily + background-position: -650px + &.redactor_btn_fontsize + background-position: -675px + &.redactor_btn_direction + background-position: -700px + &.redactor_btn_lists + background-position: -725px + &.redactor_btn_font + background-position: -750px + &.redactor_btn_h1 + background-position: -775px + &.redactor_btn_h2 + background-position: -800px + &.redactor_btn_h3 + background-position: -825px + &.redactor_btn_quote + background-position: -850px + &.redactor_btn_pre + background-position: -875px + +/* + * Toolbar classes + +.redactor_format_blockquote + @extend blockquote +.redactor_format_pre + @extend pre +.redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4, .redactor_format_h5 + font-weight: bold +.redactor_format_h1 + @extend h1 +.redactor_format_h2 + @extend h2 +.redactor_format_h3 + @extend h3 +.redactor_format_h4 + @extend h4 +.redactor_format_h5 + @extend h5 +/* + * DROPDOWN + +.redactor-dropdown + position: absolute + top: 28px + left: 0 + z-index: $z-index-modal - 1 + padding: $base-line-height / 2 + width: 200px + border: solid 1px $dropdown-border-color + background: $dropdown-color + box-shadow: 0 5px 5px 0 rgba(0,0,0,.1) + font-size: 13px + font-family: $base-font-family + line-height: 21px + .redactor-dropdown-pre + background: $gray-dark + color: $white + font-family: $code-font-family + .redactor-dropdown-code + background: $text-code-background-color + border: solid 1px $text-code-border-color + padding: 0 5px + font-family: $code-font-family + color: $text-code-color + display: inline-block + .redactor-dropdown-h1 + font-size: 175% + font-weight: bold + .redactor-dropdown-h2 + font-size: 150% + font-weight: bold + .redactor-dropdown-h3 + font-size: 125% + font-weight: bold + .redactor-dropdown-h4 + font-size: 115% + font-weight: bold + .redactor-dropdown-h5 + font-size: 110% + font-weight: bold + .redactor-dropdown-h6 + font-weight: bold + + +.redactor-separator-drop + padding: 0 !important + border-top: 1px solid $input-border-color + font-size: 0 + line-height: 0 + +.redactor-dropdown a + display: block + padding: 3px 5px + color: #000 + text-decoration: none + &:hover + background-color: $gray-light + color: #FFF !important + text-decoration: none + +/* MODAL + +#redactor-modal-overlay + @extend .wy-body-mask + +#redactor-modal + @extend .wy-modal + width: 50% !important + margin-left: -25% !important + margin-top: -25% !important + top: 50% !important + +#redactor-modal footer + @extend .wy-btn-group + margin-bottom: 0 + +#redactor-modal-close + @extend .wy-modal-close +.redactor_input + width: 99% + font-size: 14px + +.redactor-modal-box + overflow: auto + margin-bottom: 10px + height: 350px + +#redactor_image_box + overflow: auto + margin-bottom: 10px + height: 270px + +#redactor_image_box_select + display: block + margin-bottom: 15px !important + width: 200px + +#redactor_image_box img + margin-right: 10px + margin-bottom: 10px + max-width: 100px + cursor: pointer + +#redactor_tabs + margin-bottom: 18px + a + display: inline-block + margin-right: 5px + padding: 4px 14px + border: 1px solid #d2d2d2 + border-radius: 10px + background-color: #fff + color: #000 + text-decoration: none + font-size: 12px + line-height: 1 + &:hover, &.redactor_tabs_act + padding: 5px 15px + border: none + background-color: $input-border-color + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset + color: #777 !important + text-decoration: none !important + text-shadow: 0 1px 0 #eee + +.redactor-modal-btn + @extend .btn + width: auto !important +.redactor-modal-action-btn + @extend .btn-success + @extend .#{$icon-prefix} + @extend .#{$icon-prefix}-#{$icon-ok} + &:before + margin-right: 5px +.redactor-modal-close-btn + @extend .btn-neutral + @extend .#{$icon-prefix} + @extend .#{$icon-prefix}-#{$icon-ok} + &:before + margin-right: 5px + +/* Drag and Drop Area + +.redactor_droparea + position: relative + margin: auto + margin-bottom: 5px + width: 100% + .redactor_dropareabox + position: relative + z-index: $z-index-popover + padding: 60px 0 + width: 99% + border: 2px dashed #bbb + background-color: #fff + text-align: center + color: #555 + font-size: 12px + +.redactor_dropalternative + color: #555 + font-size: 12px + margin: 4px 0 2px 0 + +.redactor_dropareabox + &.hover + border-color: #aaa + background: #efe3b8 + &.error + border-color: #dcc3c3 + background: #f7e5e5 + &.drop + border-color: #e0e5d6 + background: #f4f4ee + +.wy-control-group-disabled + .redactor-box, .redactor-editor + background: darken($input-background-color, 2%) + .redactor-toolbar li a + cursor: not-allowed + +#redactor-progress-drag + position: fixed + top: 50% + left: 50% + width: 200px + margin-left: -130px + margin-top: -35px + z-index: $z-index-modal + padding: 30px + background: rgba(0, 0, 0, 0.7) + box-shadow: none + +.redactor-progress + height: 12px + overflow: hidden + background-color: #f4f4f4 + border-radius: 3px + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) + margin-bottom: 1.5em + .redactor-progress-bar + top: 1px + left: 1px + position: relative + background-color: #55aaff + width: 0 + height: 12px + -webkit-box-sizing: border-box + -moz-box-sizing: border-box + -ms-box-sizing: border-box + box-sizing: border-box + +.redactor-progress-striped .redactor-progress-bar + background-image: url('data:image/gif;base64,R0lGODlhIAAQAIABAP///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODE3QTgyOEM0MzAwRkUyMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3NEY2MUMyQTlDMzgxMUUwOUFFQ0M4MEYwM0YzNUE2RCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3NEY2MUMyOTlDMzgxMUUwOUFFQ0M4MEYwM0YzNUE2RCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjAxODAxMTc0MDcyMDY4MTE4MTdBODI4QzQzMDBGRTIzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjAxODAxMTc0MDcyMDY4MTE4MTdBODI4QzQzMDBGRTIzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkECQoAAQAsAAAAACAAEAAAAiwMjqkQ7Q/bmijaR+ndee7bLZ8VKmNUJieUVqvTHi8cz1Jtx0yOz7pt6L10BQAh+QQJCgABACwAAAAAIAAQAAACLYwNqctwD2GbKtpH6d157ts1nxUyY1Qup5QmK9Y6LxLPdGsHsTvv8uuzBXuhAgAh+QQJCgABACwAAAAAIAAQAAACLIx/oMsNCKNxdMk7K8VXbx55DhiKDAmZJ5qoFhu4LysrcFzf9QPvet4D0igFACH5BAkKAAEALAAAAAAgABAAAAIsjI8Hy+2QYnyUyWtqxVdvnngUGIoOiZgnmqkWG7gvKy9wXN81BO963gPSGAUAIfkECQoAAQAsAAAAACAAEAAAAixEjqkB7Q/bmijaR+ndee7bLZ8VKmNUJieUVqvTHi8cz1Jtx0yOz7pt6L10BQAh+QQJCgABACwAAAAAIAAQAAACLYQdqctxD2GbKtpH6d157ts1nxUyY1Qup5QmK9Y6LxLPdGsDsTvv8uuzBXuhAgAh+QQJCgABACwAAAAAIAAQAAACLIR/ocsdCKNxdMk7K8VXbx55DhiKDAmZJ5qoFgu4LysrcFzf9QPvet4D0igFACH5BAUKAAEALAAAAAAgABAAAAIshI8Xy+2RYnyUyWtqxVdvnngUGIoOiZgnmqkWC7gvKy9wXN81BO963gPSGAUAOw==') + &:after + content: "" + position: absolute + top: 0 + right: 0 + bottom: 0 + left: 0 + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA6lpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFRTE5QjlCQTlDMkQxMUUwOUFFQ0M4MEYwM0YzNUE2RCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowNkRFQUIzNjlDMkUxMUUwOUFFQ0M4MEYwM0YzNUE2RCI+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z3JhZGllbnQ8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFRTE5QjlCODlDMkQxMUUwOUFFQ0M4MEYwM0YzNUE2RCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFRTE5QjlCOTlDMkQxMUUwOUFFQ0M4MEYwM0YzNUE2RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pq477Q0AAAD2SURBVHjaxFIxDsIwDLRF/1AmRp7AM9iYWHkD76AP6h9Qi1SGfqAMqGJg6XA4jts0RUwZiKLEsZ3L+Rwmoi0lDC6Ky4rAMuGO5DY5iuWH93oDegMuK8QA7JIYCMDpvwDDMBzNHCGtONYq2enjHKYLMObCp7dtu/+FDppDgyJpTemsrm/9l7L2ku4aUy4BTEmKR1hmVXV9OjfsqlqC7irAhBKxDnmOQdPc+ynKMXdenEELAFmzrnu8RoK6jpRhHkGJmFgdXmsByNf5Wx+fJPbigEI3OKrB77Bfy2VZzppqC0IfAtlIAusC9CNtUn/iIRXgnALwEWAA/+5+ZNOapmcAAAAASUVORK5CYII=') + + +.redactor-toolbar-tooltip + position: absolute + z-index: $z-index-tooltip + text-align: center + top: 0 + left: 0 + background: rgba(0,0,0,.8) + color: $text-invert + padding: 5px 8px + line-height: 1 + font-size: 12px + border-radius: 2px + ++media($mobile) + body .redactor_toolbar li a + &.redactor_btn_table + display: none + &.redactor_btn_html + display: none + &.redactor_btn_fullscreen + display: none + #redactor-modal + width: 100% !important + margin: 0 !important + left: 0 !important + right: 0 !important + top: 20% !important + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_alert.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_alert.sass new file mode 100644 index 0000000..5797be4 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_alert.sass @@ -0,0 +1,122 @@ +// Alerts +// +// Located in `wyrm_core/_alert.sass`. Alerts can exist as in page notices and as fixed drops. +// +// Markup: +//
+//
Title goes here
+//

Alert instructions go here.

+//
+// +// .wy-alert-neutral - Generic alert, extra instruction. +// .wy-alert-success - Hooray, something good happened. +// .wy-alert-warning - Watch out, you might make a mistake. +// .wy-alert-danger - Yep, you made a mistake. +// +// Styleguide 2 + +.wy-alert + padding: $base-line-height / 2 + line-height: $base-line-height + margin-bottom: $base-line-height + background: lighten($blue, 50%) + +font-smooth +.wy-alert-title + color: $white + font-weight: bold + display: block + color: $white + background: lighten($blue,20%) + margin: -$base-line-height / 2 + padding: $base-line-height / 4 $base-line-height / 2 + margin-bottom: $base-line-height / 2 + +.wy-alert.wy-alert-danger + background: lighten($red, 40%) + .wy-alert-title + background: lighten($red,20%) +.wy-alert.wy-alert-warning + background: lighten(orange,40%) + .wy-alert-title + background: lighten($orange,20%) + +.wy-alert.wy-alert-info + background: lighten($blue, 50%) + .wy-alert-title + background: lighten($blue,20%) + +.wy-alert.wy-alert-success + background: lighten($offgreen, 50%) + .wy-alert-title + background: lighten($offgreen,0%) + +.wy-alert.wy-alert-neutral + background: $table-stripe-color + .wy-alert-title + color: $text-color + background: $table-border-color + a + color: $link-color + +.wy-alert p:last-child + margin-bottom: 0 + +// System alerts +// +// These alerts should trigger when a form error or something happens. +// Because these docs are auto-generated know that these alerts +// **will not output** below because they are set to +// display: none by default. +// +// Markup: +//
    +//
  • Alert instructions go here.
  • +//
+// +// .wy-tray-item-info - Generic alert, extra instruction. +// .wy-tray-item-success - Hooray, something good happened. +// .wy-tray-item-warning - Watch out, you might make a mistake. +// .wy-tray-item-danger - Yep, you made a mistake. +// +// Styleguide 2.1 + + +.wy-tray-container + position: fixed + bottom: 0px + left: 0 + z-index: $z-index-alert + li + display: block + width: $nav-desktop-width + background: transparent + color: $white + text-align: center + box-shadow: 0 5px 5px 0 rgba(0,0,0,.1) + padding: 0 $base-line-height + min-width: 20% + opacity: 0 + height: 0 + line-height: 56px + overflow: hidden + +transition(all .3s ease-in) + &.wy-tray-item-success + background: $green + &.wy-tray-item-info + background: $blue + &.wy-tray-item-warning + background: $orange + &.wy-tray-item-danger + background: $red + &.on + opacity: 1 + height: 56px + ++media($tablet) + .wy-tray-container + bottom: auto + top: 0 + width: 100% + li + width: 100% + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_button.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_button.sass new file mode 100644 index 0000000..2e85353 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_button.sass @@ -0,0 +1,172 @@ +// Buttons +// +// Located in `wyrm_core/_button.sass`. You can also add font icons to any +// button as shown in the third example. Wyrm by default uses the FontAwesome +// library, but any icon set can be substituted. +// +// Markup: +// Link +// +// +// +// +// :hover - Highlight the button when hovered. +// :visited - Visited link +// :disabled - For disabled buttons. +// .btn-disabled - Class version of disabled. +// :active - Press the button down. +// :focus - Focus +// .btn-neutral - Neutral looking button. +// .btn-info - For imformative, or alternate actions. +// .btn-success - For positive actions. +// .btn-danger - Usually used for delete actions. +// .btn-warning - Beware, you might not want to click me. +// .btn-invert - Dark button to contrast the background. +// .btn-link - Unstyled, link looking button. Useful for secondary actions next to another button. +// .btn-small - Smaller button. +// +// Styleguide 1 + +button + font-size: 100% + margin: 0 + vertical-align: baseline + *vertical-align: middle + cursor: pointer + line-height: normal + -webkit-appearance: button + *overflow: visible +button::-moz-focus-inner, input::-moz-focus-inner + border: 0 + padding: 0 +button[disabled] + cursor: default + +.btn + /* Structure + display: inline-block + border-radius: 2px + line-height: normal + white-space: nowrap + text-align: center + cursor: pointer + font-size: 100% + padding: $base-line-height / 4 $base-line-height / 2 ($base-line-height / 4 + 2) $base-line-height / 2 + color: $white + border: 1px solid rgba(0,0,0,0.1) + background-color: $button-background-color + text-decoration: none + font-weight: normal + font-family: $base-font-family + box-shadow: 0px 1px 2px -1px rgba(255, 255, 255, .5) inset, 0px -2px 0px 0px rgba(0,0,0,.1) inset + outline-none: false + vertical-align: middle + *display: inline + zoom: 1 + -webkit-user-drag: none + +user-select(none) + +font-smooth + +transition(all 0.1s linear) + +.btn-hover + background: lighten($link-color, 5%) + color: $white + +.btn + &:hover + background: lighten($button-background-color, 5%) + color: $white + &:focus + background: lighten($button-background-color, 5%) + outline: 0 + &:active + box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, .05) inset, 0px 2px 0px 0px rgba(0,0,0,.1) inset + padding: ($base-line-height / 4 + 2) $base-line-height / 2 $base-line-height / 4 $base-line-height / 2 + &:visited + color: $white + &:disabled + background-image: none + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false) + filter: alpha(opacity = 40) + opacity: 0.4 + cursor: not-allowed + box-shadow: none + +.btn-disabled + background-image: none + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false) + filter: alpha(opacity = 40) + opacity: 0.4 + cursor: not-allowed + box-shadow: none + &:hover, &:focus, &:active + background-image: none + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false) + filter: alpha(opacity = 40) + opacity: 0.40 + cursor: not-allowed + box-shadow: none + +// Firefox: Get rid of the inner focus border +.btn::-moz-focus-inner + padding: 0 + border: 0 + +.btn-small + font-size: 80% + +.btn-info + background-color: $blue !important + &:hover + background-color: lighten($blue, 5%) !important + +.btn-neutral + background-color: $button-neutral-background-color !important + color: $text-color !important + &:hover + background-color: darken($button-neutral-background-color, 5%) !important + color: $text-color + &:visited + color: $text-color !important + +.btn-success + background-color: $green !important + &:hover + background-color: darken($green, 5%) !important + +.btn-danger + background-color: $red !important + &:hover + background-color: lighten($red, 5%) !important + +.btn-warning + background-color: $orange !important + &:hover + background-color: lighten($orange, 5%) !important +.btn-invert + background-color: $gray-darker + &:hover + background-color: lighten($gray-darker, 5%) !important + +.btn-link + background-color: transparent !important + color: $link-color + box-shadow: none + border-color: transparent !important + &:hover + background-color: transparent !important + color: lighten($link-color, 10%) !important + box-shadow: none + &:active + background-color: transparent !important + color: lighten($link-color, 10%) !important + box-shadow: none + &:visited + color: $link-color-visited + +.wy-btn-group .btn, .wy-control .btn + vertical-align: middle + +.wy-btn-group + margin-bottom: $base-line-height + +clearfix diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_dropdown.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_dropdown.sass new file mode 100644 index 0000000..ee9efc3 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_dropdown.sass @@ -0,0 +1,101 @@ +// Dropdowns +// +// Located in `wyrm_core/_dropdown.sass`. +// +// Markup: +//
+// Save... +//
+//
Save it as a draft
+//
Publish now
+//
Publish at a specific time
+//
+//
+// +// .wy-dropdown-active - Active class. You'd want to turn on/off through JS. +// +// Styleguide 8 + +.wy-dropdown + position: relative + display: inline-block + .caret + @extend %icon + @extend .#{$icon-prefix}-#{$icon-caret-down} +.wy-dropdown-active .wy-dropdown-menu + display: block +.wy-dropdown-menu + position: absolute + left: 0 + display: none + float: left + top: 100% + min-width: 100% + background: $dropdown-color + z-index: $z-index-dropdown + border: solid 1px $dropdown-border-color + box-shadow: 0 2px 2px 0 rgba(0,0,0,.1) + padding: $base-line-height / 2 + > dd > a + display: block + clear: both + color: $text-color + white-space: nowrap + font-size: 90% + padding: 0 $base-line-height / 2 + cursor: pointer + &:hover + background: $link-color + color: $white + > dd.divider + border-top: solid 1px $dropdown-border-color + margin: $base-line-height / 4 0 + > dd.search + padding-bottom: $base-line-height / 2 + input[type="search"] + width: 100% + > dd.call-to-action + background: darken($dropdown-color, 10%) + text-transform: uppercase + font-weight: 500 + font-size: 80% + &:hover + background: darken($dropdown-color, 10%) + .btn + color: $white + +.wy-dropdown.wy-dropdown-up .wy-dropdown-menu + bottom: 100% + top: auto + left: auto + right: 0 + +.wy-dropdown.wy-dropdown-bubble + .wy-dropdown-menu + background: $section-background-color + margin-top: 2px + .wy-dropdown-menu a + padding: $base-line-height / 4 $base-line-height / 2 + &:hover + background: $link-color + color: $white + +.wy-dropdown.wy-dropdown-left .wy-dropdown-menu + right: 0 + left: auto + text-align: right + +.wy-dropdown-arrow + &:before + content: " " + border-bottom: 5px solid hsla(0,0%,96%,1) + border-left: 5px solid transparent + border-right: 5px solid transparent + position: absolute + display: block + top: -4px + left: 50% + margin-left: -3px + &.wy-dropdown-arrow-left:before + left: 11px + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_font_icon_defaults.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_font_icon_defaults.sass new file mode 100644 index 0000000..9a97388 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_font_icon_defaults.sass @@ -0,0 +1,38 @@ +// Default Icon styles that can be used with Font Awesome or similar font libs. + +%icon + font-family: inherit + &:before + font-family: $icon-font-family + display: inline-block + font-style: normal + font-weight: normal + line-height: 1 + text-decoration: inherit + +font-smooth + +.#{$icon-prefix} + @extend %icon + +a .#{$icon-prefix} + display: inline-block + text-decoration: inherit + +.btn, .nav + .#{$icon-prefix} + display: inline + &.#{$icon-prefix}-large + line-height: .9em + &.#{$icon-prefix}-spin + display: inline-block + +.btn.#{$icon-prefix}:before + opacity: .5 + +transition(opacity .05s ease-in) +.btn.#{$icon-prefix}:hover:before + opacity: 1 + +.btn-mini + .#{$icon-prefix}:before + font-size: 14px + vertical-align: -15% diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_form.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_form.sass new file mode 100644 index 0000000..3b4a81c --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_form.sass @@ -0,0 +1,534 @@ +// Form structure +// +// Files located in `wyrm_core/_form.sass`. +// +// Forms follow the following basic struture. `.wy-control-group` +// wraps the label and a `.wy-control`, which itself warps your actual +// form elements. You can decide either to stack or align your forms. +// A help message can be provided in a couple different styles, but +// the most common is `.wy-form-message` as shown below. +// +// Markup: +//
+// A simple form +//
+//
+// +//
+// +//
+// Help text goes here! +//
+// +//
+//
+// +// Styleguide 6 + + +.wy-form-stacked + select + display: block +.wy-form-aligned + input, textarea, select, .wy-help-inline, label + display: inline-block + *display: inline + *zoom: 1 + vertical-align: middle + +.wy-form-aligned + .wy-control-group + > label + display: inline-block + vertical-align: middle + width: 10em + margin: $base-line-height / 4 $base-line-height / 2 0 0 + float: left + .wy-control + float: left + label + display: block + select + margin-top: $base-line-height / 4 + +fieldset + border: 0 + margin: 0 + padding: 0 +legend + display: block + width: 100% + border: 0 + padding: 0 + white-space: normal + margin-bottom: $base-line-height + font-size: 150% + *margin-left: -7px +label + display: block + margin: 0 0 em(5px) 0 + color: $gray-dark + font-size: 90% + +input, select, textarea + font-size: 100% + margin: 0 + vertical-align: baseline + *vertical-align: middle + + +.wy-control-group + margin-bottom: $base-line-height + +outer-container + +clearfix + +.wy-control-group.wy-control-group-required > label:after + content: " *" + color: $red + +// For doing multi part, aligned form blocks within a single label + +.wy-control-group + .wy-form-full, .wy-form-halves, .wy-form-thirds + padding-bottom: $base-line-height / 2 + select + width: 100% + input + &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + width: 100% +.wy-control-group .wy-form-full + +span-columns(12) + +omega-type + +.wy-control-group .wy-form-halves + +span-columns(6) + +omega-type(2n) + +.wy-control-group .wy-form-thirds + +span-columns(4) + +omega-type(3n) + +// Sometimes you just output text in a form, not an actual input +.wy-control-group.wy-control-group-no-input .wy-control + margin: $base-line-height / 4 0 0 0 + font-size: 90% + +.wy-control-no-input + display: inline-block + margin: $base-line-height / 4 0 0 0 + font-size: 90% + + +// Fluid inputs when needed + +.wy-control-group.fluid-input + input + &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + width: 100% + +// Inline help for forms + +.wy-form-message-inline + display: inline-block + padding-left: 0.3em + color: #666 + vertical-align: middle + font-size: 90% + +.wy-form-message + display: block + color: $gray-light + font-size: 70% + margin-top: em(5px) + font-style: italic + p + font-size: inherit + font-style: italic + margin-bottom: $base-line-height / 4 + p:last-child + margin-bottom: 0 + +// Generic form elements +// +// Here's the output of common form inputs. The sass itself covers more types +// like email, password, url, date...etc, but I've left them out for brevity. +// +// Markup: +//
+// +//
+// +//
+//
+//
+// +//
+// +//
+//
+//
+// +//
+// +//
+//
+//
+// +//
+// +// +//
+//
+//
+// +//
+// +// +//
+//
+// +// Styleguide 6.1 + + +input + line-height: normal + +input + &[type="button"], &[type="reset"], &[type="submit"] + -webkit-appearance: button + cursor: pointer + font-family: $base-font-family + *overflow: visible + &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + -webkit-appearance: none + padding: $base-line-height / 4 + display: inline-block + border: 1px solid $input-border-color + font-size: 80% + font-family: $base-font-family + box-shadow: inset 0 1px 3px $input-shadow-color + border-radius: 0 + +transition(border .3s linear) + +font-smooth + &[type="datetime-local"] + padding: em(5.5px) em(10px) + &[disabled] + cursor: default + &[type="checkbox"], &[type="radio"] + +box-sizing(border-box) + padding: 0 + margin-right: em(5px) + *height: 13px + *width: 13px + &[type="search"] + +box-sizing(border-box) + &::-webkit-search-cancel-button, &::-webkit-search-decoration + -webkit-appearance: none + &[type="text"]:focus, &[type="password"]:focus, &[type="email"]:focus, &[type="url"]:focus, &[type="date"]:focus, &[type="month"]:focus, &[type="time"]:focus, &[type="datetime"]:focus, &[type="datetime-local"]:focus, &[type="week"]:focus, &[type="number"]:focus, &[type="search"]:focus, &[type="tel"]:focus, &[type="color"]:focus + outline: 0 + outline: thin dotted \9 + border-color: $input-focus-color + &.no-focus:focus + border-color: $input-border-color !important + &[type="file"]:focus, &[type="radio"]:focus, &[type="checkbox"]:focus + outline: thin dotted $gray-dark + outline: 1px auto #129FEA + &[type="text"][disabled], &[type="password"][disabled], &[type="email"][disabled], &[type="url"][disabled], &[type="date"][disabled], &[type="month"][disabled], &[type="time"][disabled], &[type="datetime"][disabled], &[type="datetime-local"][disabled], &[type="week"][disabled], &[type="number"][disabled], &[type="search"][disabled], &[type="tel"][disabled], &[type="color"][disabled] + cursor: not-allowed + background-color: darken($input-background-color, 2%) + +input:focus:invalid, textarea:focus:invalid, select:focus:invalid + color: $red + border: 1px solid $red +input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus + border-color: $red +input + &[type="file"]:focus:invalid:focus, &[type="radio"]:focus:invalid:focus, &[type="checkbox"]:focus:invalid:focus + outline-color: $red + +input.wy-input-large + padding: $base-line-height / 2 + font-size: 100% + + +// Textareas and selects + +textarea + overflow: auto + vertical-align: top + width: 100% + font-family: $base-font-family +select, textarea + padding: em(8px) em(10px) + display: inline-block + border: 1px solid $input-border-color + font-size: 80% + box-shadow: inset 0 1px 3px $input-shadow-color + +transition(border .3s linear) + +font-smooth +select + border: 1px solid $input-border-color + background-color: $input-background-color + &[multiple] + height: auto +select:focus, textarea:focus + outline: 0 +select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] + cursor: not-allowed + background-color: darken($input-background-color, 2%) + +// Checkboxes and radios + +input + &[type="radio"][disabled], &[type="checkbox"][disabled] + cursor: not-allowed +.wy-checkbox, .wy-radio + margin: $base-line-height / 4 0 + // Important because we don't want it overwritten in the case of errors + color: $text-color + display: block + input + vertical-align: baseline + +// Messages and input context + +.wy-form-message-inline + display: inline-block + *display: inline + *zoom: 1 + vertical-align: middle + +// Prefix and suffix for inputs +// +// Wyrm allows some basic prefix and suffic styling for text inputs. +// +// Markup: +//
+// +//
+// @ +//
+//
+//
+// +//
+// @gmail.com +//
+//
+// +// Styleguide 6.2 + + +.wy-input-prefix, .wy-input-suffix + white-space: nowrap + padding: $base-line-height / 4 + .wy-input-context + line-height: 27px // Hack for the moment. + padding: 0 8px + display: inline-block + font-size: 80% + background-color: $table-stripe-color + border: solid 1px $input-border-color + color: $gray-light + +.wy-input-suffix .wy-input-context + border-left: 0 +.wy-input-prefix .wy-input-context + border-right: 0 + +// Switches +// +// True / false, boolean style switches. +// +// Markup: +//
Here is some really long text.
+// +// .active - active state. +// .disabled - disabled. +// +// Styleguide 6.3 + +.wy-switch + position: relative + display: block + height: $base-line-height + margin-top: $base-line-height / 2 + cursor: pointer + &:before + position: absolute + content: "" + display: block + left: 0 + top: 0 + width: $base-line-height * 1.5 + height: $base-line-height / 2 + border-radius: 4px + background: $gray-lighter + +transition(all .2s ease-in-out) + &:after + position: absolute + content: "" + display: block + width: 18px + height: 18px + border-radius: 4px + background: $gray-light + left: -3px + top: -3px + +transition(all .2s ease-in-out) + span + position: absolute + left: $base-line-height * 2 + display: block + font-size: 12px + color: $gray-lighter + line-height: 1 +.wy-switch.active + &:before + background: darken($green, 10%) + &:after + left: $base-line-height + background: $green + +.wy-switch.disabled + cursor: not-allowed + opacity: .8 + + +// Error handling and inline validation +// +// Wyrm has both block and inline level validation depending upon your needs. You can also +// pair these with the global alerts mentioned in the alerts section of this styleguide. +// +// Markup: +//
+// +//
+// +// Error text goes here. +//
+//
+//
+// +//
+// +// You may want to do this. +//
+//
+//
+// +//
+// +// Woot, way to go. +//
+//
+//
+// +//
+// +// Hold on cowboy. +//
+//
+//
+// +//
+// +// Damnit, you messed up. +//
+//
+// +// Styleguide 6.4 + +.wy-control-group.wy-control-group-error + .wy-form-message, > label + color: $red + input + &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + border: solid 1px $red + textarea + border: solid 1px $red + +.wy-inline-validate + white-space: nowrap + .wy-input-context + padding: em(8px) em(10px) + display: inline-block + font-size: 80% +.wy-inline-validate.wy-inline-validate-success .wy-input-context + color: $green + @extend %icon + @extend .#{$icon-prefix}-#{$icon-ok} +.wy-inline-validate.wy-inline-validate-danger .wy-input-context + color: $red + @extend %icon + @extend .#{$icon-prefix}-#{$icon-remove} +.wy-inline-validate.wy-inline-validate-warning .wy-input-context + color: $orange + @extend %icon + @extend .#{$icon-prefix}-#{$icon-alert} +.wy-inline-validate.wy-inline-validate-info .wy-input-context + color: $blue + @extend %icon + @extend .#{$icon-prefix}-#{$icon-alert} + +// Some generic rotation classes for reading user images + +.rotate-90 + @include transform(rotate(90deg)) +.rotate-180 + @include transform(rotate(180deg)) +.rotate-270 + @include transform(rotate(270deg)) +.mirror + @include transform(scaleX(-1)) + &.rotate-90 + @include transform(scaleX(-1) rotate(90deg)) + &.rotate-180 + @include transform(scaleX(-1) rotate(180deg)) + &.rotate-270 + @include transform(scaleX(-1) rotate(270deg)) + +@media only screen and (max-width: 480px) + .wy-form + button[type="submit"] + margin: 0.7em 0 0 + input + &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + margin-bottom: 0.3em + display: block + label + margin-bottom: 0.3em + display: block + .wy-form input + &[type="password"], &[type="email"], &[type="url"], &[type="date"], &[type="month"], &[type="time"], &[type="datetime"], &[type="datetime-local"], &[type="week"], &[type="number"], &[type="search"], &[type="tel"], &[type="color"] + margin-bottom: 0 + .wy-form-aligned + .wy-control-group label + margin-bottom: 0.3em + text-align: left + display: block + width: 100% + .wy-control + margin: 1.5em 0 0 0 + .wy-form .wy-help-inline, .wy-form-message-inline, .wy-form-message + display: block + font-size: 80% + padding: $base-line-height / 4 0 + + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_generic.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_generic.sass new file mode 100644 index 0000000..3a57582 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_generic.sass @@ -0,0 +1,16 @@ +.tablet-hide + +media($tablet) + display: none + +.mobile-hide + +media($mobile) + display: none + +.float-left + float: left + +.float-right + float: right + +.full-width + width: 100% diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_grid_settings.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_grid_settings.sass new file mode 100644 index 0000000..fc0f614 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_grid_settings.sass @@ -0,0 +1,41 @@ +// Grids +// +// Wyrm uses Bourbon's [Neat grid system](http://neat.bourbon.io) with `$border-box-sizing: true`. Please visit their site +// for full documenation. Wyrm's `+media()` breakpoint settings are set as follows in +// `wyrm_core/_grid_settings.sass`. +// +// * `+media($desktop-wide)` is 12 columns, min-width: 1400px wide. +// * `+media($desktop)` is 12 columns, min-width: 769px wide. +// * `+media($tablet)` is 8 columns, max-width: 768px. +// * `+media($mobile)` is 4 columns, max-width: 480px. +// +// Because Wyrm is used in a couple different Ember setups, we added the `+omega-type` mixin to `wyrm_core/neat_extra.sass`. +// It's essentially the same as Neat's `+omega` mixin, but uses nth-of-type to make play nice with Ember's love of adding +// additional DOM objects in between your constructed markup. +// +// Markup: +//
+//

+outer-container applied to this wrapping grid.

+// +//
+span-columns(8) +omega-type
+//
+// +// Styleguide 5.0 + + +@import "neat-helpers" + +$column: golden-ratio(1em, 3) !default +$gutter: golden-ratio(1em, 1) !default +$grid-columns: 12 !default +$max-width: 100% !default +$border-box-sizing: true !default +$default-feature: min-width +$default-layout-direction: LTR !default + +$mobile: new-breakpoint(max-width 480px 4) +$tablet: new-breakpoint(max-width 768px 8) +$desktop: new-breakpoint(min-width 769px 12) +$desktop-wide: new-breakpoint(min-width 1200px 12) +$desktop-wider: new-breakpoint(min-width 1400px 12) + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_mixin.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_mixin.sass new file mode 100644 index 0000000..cd19587 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_mixin.sass @@ -0,0 +1,129 @@ +$support-for-original-webkit-gradients: false +$legacy-support-for-ie: false +$hide-text-direction: right +$default-border-radius: 4px + +=retina + @media only screen and (#{-webkit-min-device-pixel-ratio}: #{1.5}), only screen and (#{min-device-pixel-ratio}: #{1.5}) + @content + +=webkit + @media screen and (-webkit-min-device-pixel-ratio: 0) + @content + + +// TRICKY GRADIENTS +=gradient-vertical($start-color: #555, $end-color: #333) + @if alpha($start-color) == 1 and alpha($end-color) == 1 + background-color: $end-color + +background-image(linear-gradient($start-color, rgba($end-color,0))) + @else + +background-image(linear-gradient($start-color, $end-color)) + background-repeat: repeat-x + filter: progid:DXImageTransform.Microsoft.gradient(start-colorstr='#{ie-hex-str($start-color)}', end-colorstr='#{ie-hex-str($end-color)}', GradientType=0) +=gradient-horizontal($start-color: #555, $end-color: #333) + @if alpha($start-color) == 1 and alpha($end-color) == 1 + background-color: $end-color + +background-image(linear-gradient(left,$start-color, rgba($end-color,0))) + @else + +background-image(linear-gradient(left,$start-color, $end-color)) + background-repeat: repeat-x + filter: progid:DXImageTransform.Microsoft.gradient(start-colorstr='#{ie-hex-str($start-color)}', end-colorstr='#{ie-hex-str($end-color)}', GradientType=1) + +=gradient-striped($color, $stripe-color: rgba(white,.15), $angle: -45deg) + background-color: $color + background-image: -webkit-linear-gradient($angle, $stripe-color 25%, transparent 25%, transparent 50%, $stripe-color 50%, $stripe-color 75%, transparent 75%, transparent) + background-image: -moz-linear-gradient($angle, $stripe-color 25%, transparent 25%, transparent 50%, $stripe-color 50%, $stripe-color 75%, transparent 75%, transparent) + background-image: -ms-linear-gradient($angle, $stripe-color 25%, transparent 25%, transparent 50%, $stripe-color 50%, $stripe-color 75%, transparent 75%, transparent) + background-image: -o-linear-gradient($angle, $stripe-color 25%, transparent 25%, transparent 50%, $stripe-color 50%, $stripe-color 75%, transparent 75%, transparent) + background-image: linear-gradient($angle, $stripe-color 25%, $stripe-color 25%, $stripe-color 50%, $stripe-color 50%, $stripe-color 75%, rgba(white,0) 75%, rgba(white,0)) + +=text-shadow-invert($color: $text-invert, $alpha: 0.5, $x: 0, $y: 1px, $blur: 0) + @if $color == white + text-shadow: rgba(white,$alpha) $x $y $blur + @else if $color == black + text-shadow: rgba(black,$alpha) $x $y $blur + @else + text-shadow: $color $x $y $blur + +=none-select + +experimental(user-select, none, -moz, -webkit, not -o, -ms, not -khtml, official) + +// ----------------- +// Mixins used as Extends. Since its just easier to type +mixin instead of @extend class +// ----------------- + +// Thin out white fonts on dark backgrounds in webkit + +%font-smooth + -webkit-font-smoothing: antialiased + +=font-smooth + @extend %font-smooth + +// Popover arrows +// ------------------------- +// For tipsies and popovers +=arrow-top($arrow-width: 5px, $arrow-color: $black) + bottom: 0 + left: 50% + margin-left: -$arrow-width + border-left: $arrow-width solid transparent + border-right: $arrow-width solid transparent + border-top: $arrow-width solid $arrow-color + +=arrow-left($arrow-width: 5px, $arrow-color: $black) + top: 50% + right: 0 + margin-top: -$arrow-width + border-top: $arrow-width solid transparent + border-bottom: $arrow-width solid transparent + border-left: $arrow-width solid $arrow-color + +=arrow-bot($arrow-width: 5px, $arrow-color: $black) + top: 0 + left: 50% + margin-left: -$arrow-width + border-left: $arrow-width solid transparent + border-right: $arrow-width solid transparent + border-bottom: $arrow-width solid $arrow-color + +=arrow-right($arrow-width: 5px, $arrow-color: $black) + top: 50% + left: 0 + margin-top: -$arrow-width + border-top: $arrow-width solid transparent + border-bottom: $arrow-width solid transparent + border-right: $arrow-width solid $arrow-color + + +// OVERWRITES TO OUTSIDE LIBRARIES + +// Clearfix +=clearfix + *zoom: 1 + &:before, + &:after + display: table + content: "" + &:after + clear: both + +.clearfix + +clearfix + +// Since the typical default browser font-size is 16px, that makes the calculation for grid size. +// If you want your base font-size to be a different size and not have it effect grid size too, +// set the value of $em-base to $base-font-size ($em-base: $base-font-size;) +$em-base: 16px !default + +// Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px) +@function em($pxWidth) + @return $pxWidth / $em-base * 1em + +=truncate($width) + text-overflow: ellipsis + overflow: hidden + white-space: nowrap + display: block + width: $width diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_neat_extra.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_neat_extra.sass new file mode 100644 index 0000000..e6cf987 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_neat_extra.sass @@ -0,0 +1,43 @@ +// Remove last element gutter +=omega-type($query: block, $direction: default) + $table: if(belongs-to(table, $query), true, false) + $auto: if(belongs-to(auto, $query), true, false) + @if $direction != default + @warn "The omega mixin will no longer take a $direction argument. To change the layout direction, use row($direction) or set $default-layout-direction instead." + @else + $direction: get-direction($layout-direction, $default-layout-direction) + @if length($query) == 1 + @if $auto + &:last-child + margin-#{$direction}: 0 + @else if contains-display-value($query) + @if $table + padding-#{$direction}: 0 + @else + margin-#{$direction}: 0 + @else + +nth-of-type($query, $direction) + @else if length($query) == 2 + @if $table + @if $auto + &:last-child + padding-#{$direction}: 0 + @else + &:nth-of-type(#{nth($query, 1)}) + padding-#{$direction}: 0 + @else + @if $auto + &:last-child + margin-#{$direction}: 0 + @else + +nth-of-type(nth($query, 1), $direction) + @else + @warn "Too many arguments passed to the omega() mixin." + +=nth-of-type($query, $direction) + $opposite-direction: get-opposite-direction($direction) + &:nth-of-type(#{$query}) + margin-#{$direction}: 0 + @if type-of($query) == number + &:nth-of-type(#{$query}+1) + clear: $opposite-direction diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_normalize.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_normalize.sass new file mode 100644 index 0000000..e041d96 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_normalize.sass @@ -0,0 +1,348 @@ +/*! normalize.css v2.1.1 | MIT License | git.io/normalize + +/* ========================================================================== + * HTML5 display definitions + * ========================================================================== + +/** + * Correct `block` display not defined in IE 8/9. + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary + display: block + +/** + * Correct `inline-block` display not defined in IE 8/9. + +audio, +canvas, +video + display: inline-block + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + +audio:not([controls]) + display: none + height: 0 + +/** + * Address styling not present in IE 8/9. + +[hidden] + display: none + +/* ========================================================================== + * Base + * ========================================================================== + +/** + * 1. Prevent system color scheme's background color being used in Firefox, IE, + * and Opera. + * 2. Prevent system color scheme's text color being used in Firefox, IE, and + * Opera. + * 3. Set default font family to sans-serif. + * 4. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + +html + background: #fff + /* 1 + color: #000 + /* 2 + font-family: sans-serif + /* 3 + -ms-text-size-adjust: 100% + /* 4 + -webkit-text-size-adjust: 100% + /* 4 + +/** + * Remove default margin. + +body + margin: 0 + +/* ========================================================================== + * Links + * ========================================================================== + +/** + * Address `outline` inconsistency between Chrome and other browsers. + +a:focus + outline: thin dotted + +/** + * Improve readability when focused and also mouse hovered in all browsers. + +a:active, +a:hover + outline: 0 + +/* ========================================================================== + * Typography + * ========================================================================== + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + +h1 + font-size: 2em + margin: 0.67em 0 + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + +abbr[title] + border-bottom: 1px dotted + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + +b, +strong + font-weight: bold + +/** + * Address styling not present in Safari 5 and Chrome. + +dfn + font-style: italic + +/** + * Address differences between Firefox and other browsers. + +hr + -moz-box-sizing: content-box + box-sizing: content-box + height: 0 + +/** + * Address styling not present in IE 8/9. + +mark + background: #ff0 + color: #000 + +/** + * Correct font family set oddly in Safari 5 and Chrome. + +code, +kbd, +pre, +samp + font-family: monospace, serif + font-size: 1em + +/** + * Improve readability of pre-formatted text in all browsers. + +pre + white-space: pre-wrap + +/** + * Set consistent quote types. + +q + quotes: "\201C" "\201D" "\2018" "\2019" + +/** + * Address inconsistent and variable font size in all browsers. + +small + font-size: 80% + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + +sub, +sup + font-size: 75% + line-height: 0 + position: relative + vertical-align: baseline + +sup + top: -0.5em + +sub + bottom: -0.25em + +/* ========================================================================== + * Embedded content + * ========================================================================== + +/** + * Remove border when inside `a` element in IE 8/9. + +img + border: 0 + +/** + * Correct overflow displayed oddly in IE 9. + +svg:not(:root) + overflow: hidden + +/* ========================================================================== + * Figures + * ========================================================================== + +/** + * Address margin not present in IE 8/9 and Safari 5. + +figure + margin: 0 + +/* ========================================================================== + * Forms + * ========================================================================== + +/** + * Define consistent border, margin, and padding. + +fieldset + border: 1px solid #c0c0c0 + margin: 0 2px + padding: 0.35em 0.625em 0.75em + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + +legend + border: 0 + /* 1 + padding: 0 + /* 2 + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + +button, +input, +select, +textarea + font-family: inherit + /* 1 + font-size: 100% + /* 2 + margin: 0 + /* 3 + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + +button, +input + line-height: normal + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + +button, +select + text-transform: none + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] + -webkit-appearance: button + /* 2 + cursor: pointer + /* 3 + +/** + * Re-set default cursor for disabled elements. + +button[disabled], +html input[disabled] + cursor: default + +/** + * 1. Address box sizing set to `content-box` in IE 8/9. + * 2. Remove excess padding in IE 8/9. + +input[type="checkbox"], +input[type="radio"] + box-sizing: border-box + /* 1 + padding: 0 + /* 2 + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + +input[type="search"] + -webkit-appearance: textfield + /* 1 + -moz-box-sizing: content-box + -webkit-box-sizing: content-box + /* 2 + box-sizing: content-box + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration + -webkit-appearance: none + +/** + * Remove inner padding and border in Firefox 4+. + +button::-moz-focus-inner, +input::-moz-focus-inner + border: 0 + padding: 0 + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + +textarea + overflow: auto + /* 1 + vertical-align: top + /* 2 + +/* ========================================================================== + * Tables + * ========================================================================== + +/** + * Remove most spacing between table cells. + +table + border-collapse: collapse + border-spacing: 0 diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_reset.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_reset.sass new file mode 100644 index 0000000..dc6685b --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_reset.sass @@ -0,0 +1,250 @@ +article, aside, details, figcaption, figure, footer, header, hgroup, nav, section + display: block + +audio, canvas, video + display: inline-block + *display: inline + *zoom: 1 + +audio:not([controls]) + display: none + +[hidden] + display: none + +* + +box-sizing(border-box) + +html + font-size: 100% + -webkit-text-size-adjust: 100% + -ms-text-size-adjust: 100% + +body + margin: 0 + +a:hover, a:active + outline: 0 + +abbr[title] + border-bottom: 1px dotted + +b, strong + font-weight: bold + +blockquote + margin: 0 + +dfn + font-style: italic + + +ins + background: #ff9 + color: #000 + text-decoration: none + +mark + background: #ff0 + color: #000 + font-style: italic + font-weight: bold + +pre, code, kbd, samp + font-family: monospace, serif + _font-family: 'courier new', monospace + font-size: 1em + +pre + white-space: pre + +q + quotes: none + +q:before, q:after + content: "" + content: none + +small + font-size: 85% + +sub, sup + font-size: 75% + line-height: 0 + position: relative + vertical-align: baseline + +sup + top: -0.5em + +sub + bottom: -0.25em + +ul, ol, dl + margin: 0 + padding: 0 + list-style: none + list-style-image: none + +li + list-style: none + +dd + margin: 0 + +img + border: 0 + -ms-interpolation-mode: bicubic + vertical-align: middle + max-width: 100% + +svg:not(:root) + overflow: hidden + +figure + margin: 0 + +form + margin: 0 + +fieldset + border: 0 + margin: 0 + padding: 0 + +label + cursor: pointer + +legend + border: 0 + *margin-left: -7px + padding: 0 + white-space: normal + +button, input, select, textarea + font-size: 100% + margin: 0 + vertical-align: baseline + *vertical-align: middle + +button, input + line-height: normal + +button, input[type="button"], input[type="reset"], input[type="submit"] + cursor: pointer + -webkit-appearance: button + *overflow: visible + +button[disabled], input[disabled] + cursor: default + +input[type="checkbox"], input[type="radio"] + box-sizing: border-box + padding: 0 + *width: 13px + *height: 13px + +input[type="search"] + -webkit-appearance: textfield + -moz-box-sizing: content-box + -webkit-box-sizing: content-box + box-sizing: content-box + +input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button + -webkit-appearance: none + +button::-moz-focus-inner, input::-moz-focus-inner + border: 0 + padding: 0 + +textarea + overflow: auto + vertical-align: top + resize: vertical + +table + border-collapse: collapse + border-spacing: 0 + +td + vertical-align: top + +.chromeframe + margin: 0.2em 0 + background: #ccc + color: black + padding: 0.2em 0 + +.ir + display: block + border: 0 + text-indent: -999em + overflow: hidden + background-color: transparent + background-repeat: no-repeat + text-align: left + direction: ltr + *line-height: 0 + +.ir br + display: none + +.hidden + display: none !important + visibility: hidden + +.visuallyhidden + border: 0 + clip: rect(0 0 0 0) + height: 1px + margin: -1px + overflow: hidden + padding: 0 + position: absolute + width: 1px + +.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus + clip: auto + height: auto + margin: 0 + overflow: visible + position: static + width: auto + +.invisible + visibility: hidden + +.relative + position: relative + +big, small + font-size: 100% + +@media print + html, body, section + background: none !important + * + box-shadow: none !important + text-shadow: none !important + filter: none !important + -ms-filter: none !important + a, a:visited + text-decoration: underline + .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after + content: "" + pre, blockquote + page-break-inside: avoid + thead + display: table-header-group + tr, img + page-break-inside: avoid + img + max-width: 100% !important + @page + margin: 0.5cm + + p, h2, h3 + orphans: 3 + widows: 3 + h2, h3 + page-break-after: avoid diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_spinner.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_spinner.sass new file mode 100644 index 0000000..8921aec --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_spinner.sass @@ -0,0 +1,71 @@ +// Spinners +// +// Spinners are pretty simple. You can change the color by changing `$spinner-color`. +// Also, any of the modifiers below can also carry `.wy-spinner-absolute` to position +// the spinner in the absolute center of your wrapping area. +// +// Markup: +//
+// Loading +// +// .wy-spinner-large - Large spinner. +// .wy-spinner-small - Small spinner. +// +// Styleguide 7.0 + + +.wy-spinner + height: 30px + width: 30px + margin: 0 auto + position: relative + +animation(rotation .6s infinite linear) + border: 8px solid lighten($spinner-color, 50%) + border-top: 8px solid $spinner-color + border-radius: 100% + display: block + +.wy-spinner.wy-spinner-margin + margin: $base-line-height auto + +.btn .wy-spinner + display: inline-block + height: 14px + width: 14px + border-width: 4px + border-color: rgba(0,0,0,.1) + border-top-color: $white + top: 1px + +.wy-logo .wy-spinner + border-color: rgba(0,0,0,.1) + border-top-color: $section-background-color + margin-bottom: $gutter / 2 +.wy-spinner.wy-spinner-inline + display: inline-block + vertical-align: middle + margin: none + +.wy-spinner.wy-spinner-large + height: 45px + width: 45px + border-width: 12px + +.wy-spinner.wy-spinner-small + height: 16px + width: 16px + border-width: 4px + +.wy-spinner.wy-spinner-absolute + position: absolute + top: 0 + left: 0 + right: 0 + bottom: 0 + margin: auto + ++keyframes(rotation) + from + +transform(rotate(0deg)) + to + +transform(rotate(359deg)) diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_table.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_table.sass new file mode 100644 index 0000000..85240c9 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_table.sass @@ -0,0 +1,151 @@ +// Tables +// +// Located in `wyrm_core/_tables.sass`. Table classes are additive so you can mix and match as you need. +// +// Markup: +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +//
GameDeveloperDescription
+// Baldur's Gate II +// +// Bioware +// +// Boo has a space hamster. Imoen whines a bunch. +//
+// Icewind Dale II +// +// Black Isle +// +// Fly around on an airship, then kill tons of ice monsters. +//
+// Temple of Elemental Evil +// +// Trokia +// +// Turn based! Do everything 10 times slower. +//
+// +// .full-width - 100% width +// .wy-table-bordered - Border the table itself. +// .wy-table-bordered-rows - Border just the rows. +// .wy-table-bordered-all - Border the columns, rows, and the table. +// .wy-table-striped - Alternating row colors. +// +// Styleguide 3 + + +.wy-table + border-collapse: collapse + border-spacing: 0 + empty-cells: show + margin-bottom: $base-line-height + caption + color: #000 + font: italic 85%/1 arial, sans-serif + padding: 1em 0 + text-align: center + td, th + font-size: $table-font-size + margin: 0 + overflow: visible + padding: $table-padding-size + td:first-child, th:first-child + border-left-width: 0 + thead + color: #000 + text-align: left + vertical-align: bottom + white-space: nowrap + th + font-weight: $base-font-family-bold + border-bottom: solid 2px $table-border-color + td + background-color: transparent + vertical-align: middle + +.wy-table td p + line-height: $base-line-height * .75 + &:last-child + margin-bottom: 0 +.wy-table .wy-table-cell-min + width: 1% + padding-right: 0 + input[type=checkbox], input[type=checkbox] + margin: 0 + +.wy-table-secondary + color: $text-medium + font-size: 90% +.wy-table-tertiary + color: $text-medium + font-size: 80% + +// Striped + +.wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td + background-color: $table-stripe-color + +.wy-table-backed + background-color: $table-stripe-color + + +/* BORDERED TABLES + +.wy-table-bordered-all + border: 1px solid $table-border-color + td + border-bottom: 1px solid $table-border-color + border-left: 1px solid $table-border-color + tbody > tr:last-child td + border-bottom-width: 0 + +.wy-table-bordered + border: 1px solid $table-border-color + +.wy-table-bordered-rows + td + border-bottom: 1px solid $table-border-color + tbody > tr:last-child td + border-bottom-width: 0 + +.wy-table-horizontal + tbody > tr:last-child td + border-bottom-width: 0 + td, th + border-width: 0 0 1px 0 + border-bottom: 1px solid $table-border-color + tbody > tr:last-child td + border-bottom-width: 0 +/* RESPONSIVE TABLES + +.wy-table-responsive + margin-bottom: $base-line-height + max-width: 100% + overflow: auto + table + margin-bottom: 0 !important + td, th + white-space: nowrap diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_type.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_type.sass new file mode 100644 index 0000000..59fc117 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_type.sass @@ -0,0 +1,237 @@ +// Typography +// +// Styles from this page can be found in `wyrm_core/_type.sass`. +// Let's start with some basic links. +// +// Markup: +// I wonder where this link goes! +// +// :hover - On hover. +// :visited - Visited links. +// +// Styleguide 4.0 + +a + color: $link-color + text-decoration: none + cursor: pointer + &:hover + color: $link-color-hover + &:visited + color: $link-color-visited + + +// Text +// +// Text handling and other base styles. Can be safely used on any element, not just paragraph tags. +// +// Markup: +//

The best movie of all time is either Network or Rollerball.

+// +// .wy-text-small - Smaller, 80% text. Can also use the `` tag for this. +// .wy-text-large - Larger, 120% text. +// .wy-text-left - To the left. +// .wy-text-right - To the right. +// .wy-text-center - To the center. +// .wy-text-center - To the center. +// .wy-text-strike - Strikethrough. +// .wy-text-neutral - Simply applies the normal text color. +// .wy-text-info - Info text. +// .wy-text-success - Success text. +// .wy-text-warning - Warning text. +// .wy-text-danger - Danger text. +// +// Styleguide 4.1 + + +html + height: 100% + overflow-x: hidden + +body + font-family: $base-font-family + font-weight: normal + color: $text_color + min-height: 100% + overflow-x: hidden + background: $background_color + +.wy-text-left + text-align: left + +.wy-text-center + text-align: center + +.wy-text-right + text-align: right + +.wy-text-large + font-size: 120% + +.wy-text-normal + font-size: 100% + +.wy-text-small, small + font-size: 80% + +.wy-text-strike + text-decoration: line-through + +.wy-text-warning + color: $orange !important +a.wy-text-warning:hover + color: lighten($orange, 10%) !important +.wy-text-info + color: $blue !important +a.wy-text-info:hover + color: lighten($blue, 10%) !important +.wy-text-success + color: $green !important +a.wy-text-success:hover + color: lighten($green, 10%) !important +.wy-text-danger + color: $red !important +a.wy-text-danger:hover + color: lighten($red, 10%) !important +.wy-text-neutral + color: $text-color !important +a.wy-text-neutral:hover + color: lighten($text-color, 10%) !important + +// Headings and paragraphs. +// +// Headings and paragraphs have a `margin-bottom: $base-line-height` on them like most objects in wyrm. +// +// Markup: +//

Heading 1

+//

Heading 2

+//

Heading 3

+//

Heading 4

+//
Heading 5
+//
Heading 6
+//

Hey everybody, it's Tuuuuuuuesday! I am the hat judge. Show me a hat and I will tell you if it's a good hat or bad hat. Seattle is actually Spanish for "taco." I try not to affiliate myself with Canadians. I've got a salty mustache. I've been a party to many, many stupid things in my life. This is by far the stupidest. This Quick Look is over! I'm an old man. I like turns.

+//

Jeff, I have a question. Why do we keep doing this? There's nothing I'd rather talk about right now than Peter Molyneux's balls! I WILL CONTINUE TO CALL PAX AUSTRALIA PAXA UNTIL IT FUCKING CATCHES ON. I feel like I'm gonna throw up, but in a good way. No one should ever put clothes on a shark. You are looking for far too much logical consistency.

+// +// Styleguide 4.2 + +h1,h2,h3,h4,h5,h6, legend + margin-top: 0 + font-weight: 700 + font-family: $custom-font-family + +p + line-height: $base-line-height + margin: 0 + font-size: $base-font-size + margin-bottom: $base-line-height + +h1 + font-size: 175% + +h2 + font-size: 150% + +h3 + font-size: 125% + +h4 + font-size: 115% + +h5 + font-size: 110% + +h6 + font-size: 100% + +hr + display: block + height: 1px + border: 0 + border-top: 1px solid $table-border-color + margin: $base-line-height 0 + padding: 0 + +code + white-space: nowrap + max-width: 100% + background: $text-code-background-color + border: solid 1px $text-code-border-color + font-size: 75% + padding: 0 5px + font-family: $code-font-family + color: $text-code-color + overflow-x: auto + &.code-large + font-size: 90% + +// Lists +// +// Lists in wyrm default to `list-style: none` mostly because I've found I use lists +// more often as nav or block elements than as text lists. To get traditional +// text lists you either add, or extend these classes through sass. For convenience +// default lists in the `
` tag also extend these values. +// +// Markup: +//
    +//
  • Freespace 2
  • +//
  • The Elder Scrolls: Skyrim
  • +//
  • Grim Fandango
  • +//
  • +// Saints forever: +//
      +//
    • Saint's Row
    • +//
    • Saint's Row 2
    • +//
    • Saint's Row: The Third
    • +//
    • Saint's Row IV
    • +//
    +//
      +//
    1. number 1
    2. +//
    3. number 2
    4. +//
    +//
  • +//
+// +// .wy-plain-list-disc - The usual disc list. +// .wy-plain-list-decimal - Decimal lists. +// +// Styleguide 4.3 + + +%wy-plain-list-disc + list-style: disc + line-height: $base-line-height + margin-bottom: $base-line-height + li + list-style: disc + margin-left: $base-line-height + p:last-child + margin-bottom: 0 + ul + margin-bottom: 0 + li + list-style: circle + li + list-style: square + ol li + list-style: decimal + +%wy-plain-list-decimal + list-style: decimal + line-height: $base-line-height + margin-bottom: $base-line-height + li + list-style: decimal + margin-left: $base-line-height + p:last-child + margin-bottom: 0 + ul + margin-bottom: 0 + li + list-style: disc + + +.wy-plain-list-disc, article ul + @extend %wy-plain-list-disc +.wy-plain-list-decimal, article ol + @extend %wy-plain-list-decimal + diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_video.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_video.sass new file mode 100644 index 0000000..bbc5eb5 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_video.sass @@ -0,0 +1,28 @@ +// Video +// +// Styles from this page can be found in `wyrm_core/_video.sass`. +// It is basically a simple way to handle simple 16:9 responsive embeds. +// +// Markup: +//
+// +// .wy-video-sd - 4:3 TV style +// .wy-video-cinema - Anamorphic +// +// Styleguide 12.0 + +.wy-video + position: relative + padding-bottom: 56.25% + height: 0 + iframe, object + position: absolute + top: 0 + left: 0 + width: 100% + height: 100% + +.wy-video.wy-video-sd + padding-bottom: 75% +.wy-video.wy-video-cinema + padding-bottom: 41.84% diff --git a/debian/missing-sources/wyrm/sass/wyrm_core/_wy_variables.sass b/debian/missing-sources/wyrm/sass/wyrm_core/_wy_variables.sass new file mode 100644 index 0000000..2dc5186 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_core/_wy_variables.sass @@ -0,0 +1,129 @@ +// Locations +$static-img: "img/" + + +// Colors +$background-color: #edf0f2 +$section-background-color: hsl(0,0%,99%) +$dropdown-color: $section-background-color +$dropdown-border-color: darken($background-color, 10%) + +$black: #000 !default +$gray-darker: #222 !default +$gray-dark: #333 !default +$gray: #555 !default +$gray-light: #999 !default +$gray-lighter: #ccc !default +$white: #fff !default + +$green: #27AE60 +$offgreen: #1ABC9C +$blue: #2980B9 +$purple: #9B59B6 +$cobalt: #34495E +$yellow: #F1C40F +$orange: #E67E22 +$red: #E74C3C +$shell: #ECF0F1 + +// Typography +$base-font-size: 16px !default +$base-font-family: "Helvetica Neue", Arial, sans-serif !default +$base-font-family-bold: bold +$base-line-height: 24px !default +$custom-font-family: "Georgia", serif !default +$custom-font-family2: "Georgia", serif !default +$code-font-family: "Consolas", "Monaco", monospace !default +$icon-font-family: "FontAwesome" +$text-color: hsl(0,0%,25%) !default +$text-invert: hsl(0,0%,100%) !default +$text-code-color: $red +$text-code-background-color: $white +$text-code-border-color: hsl(195,7%,89%) +$text-dark: lighten($text-color,15%) !default +$text-medium: lighten($text-color,25%) !default +$text-light: lighten($text-color,45%) !default +$text-lighter: lighten($text-color,60%) !default + +// Tables +$table-background-color: transparent +$table-border-color: hsl(195, 7%, 89%) +$table-stripe-color: hsl(185,15%,96%) +$table-bg-hover-color: hsl(0,0%,85%) +$table-head-background-color: $table-border-color +$table-font-size: 90% +$table-padding-size: $base-font-size / 2 $base-font-size + +// Forms +$input-text-color: #cad2d3 !default +$input-background-color: $white !default +$input-border-color: #ccc !default +$input-shadow-color: #ddd !default +$input-focus-color: $gray-dark + +// Links +$link-color: $blue +$link-color-visited: $purple +$link-color-hover: lighten($link-color, 6%) !default +$link-color-alt: hsl(33, 100%, 51%) + + +// Buttons +$button-background-color: $green +$button-neutral-background-color: $table-stripe-color + +// Spinner +$spinner-color: $link-color + +// Menu +$menu-top-link-color: hsl(0, 0%, 95%) +$menu-background-color: rgb(52, 49, 49) +$menu-logo-color: $link-color +$nav-desktop-width: 300px +$nav-desktop-position: left + +// Z-index master list +$z-index-dropdown: 100 !default +$z-index-popover: 200 !default +$z-index-tooltip: 300 !default +$z-index-tray: 400 !default +$z-index-modal: 500 !default +$z-index-alert: 600 !default + +// By default wyrm expects the following font-classes +// to exist. By default, uses Font Awesome 4.0 +// but this is completely configurable should you +// want to use a different icon pack. +$icon-prefix: "fa" +$icon-close: "times" +$icon-arrow-left: "arrow-left" +$icon-arrow-right: "arrow-right" +$icon-arrow-down: "arrow-down" +$icon-arrow-up: "arrow-up" +$icon-expand: "expand" +$icon-compress: "compress" +$icon-trash: "trash-o" +$icon-table: "table" +$icon-link: "link" +$icon-quote-right: "quote-right" +$icon-align-left: "align-left" +$icon-align-right: "align-right" +$icon-align-justify: "align-justify" +$icon-align-center: "align-center" +$icon-arrows-alt: "arrows-alt" +$icon-picture: "picture-o" +$icon-youtube: "youtube-play" +$icon-code: "code" +$icon-text-height: "text-height" +$icon-bold: "bold" +$icon-italic: "italic" +$icon-strikethrough: "strikethrough" +$icon-list-ul: "list-ul" +$icon-list-ol: "list-ol" +$icon-outdent: "outdent" +$icon-indent: "indent" +$icon-paperclip: "paperclip" +$icon-caret-down: "caret-down" +$icon-ok: "check-circle" +$icon-remove: "times-circle" +$icon-alert: "exclamation-circle" diff --git a/debian/missing-sources/wyrm/sass/wyrm_docs/_highlight.sass b/debian/missing-sources/wyrm/sass/wyrm_docs/_highlight.sass new file mode 100644 index 0000000..962a667 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_docs/_highlight.sass @@ -0,0 +1,90 @@ +/* Tomorrow Night Eighties Theme +/* Original theme - https://github.com/chriskempson/tomorrow-theme +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs + +.hljs + background: #2d2d2d + color: #cccccc + display: block + padding: 0.5em + white-space: pre + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace + font-size: 12px + line-height: 1.5 + padding: 10px + overflow-x: auto + width: 100% + display: block + border: none + +/* Tomorrow Comment + +.hljs-comment, .hljs-template_comment + color: #999999 + +/* Tomorrow Red + +.hljs-tag, .hljs-regexp, .ruby .hljs-constant, .hljs-title + color: #f2777a + +.xml + .hljs-tag .hljs-title, .hljs-pi, .hljs-doctype + color: #f2777a + +.html .hljs-doctype + color: #f2777a + +.css + .hljs-id, .hljs-class, .hljs-pseudo + color: #f2777a + +/* Tomorrow Orange + +.hljs-number, .hljs-preprocessor, .hljs-pragma, .hljs-literal, .hljs-params, .hljs-attribute, .hljs-constant + color: #f99157 + +/* Tomorrow Yellow + +.ruby .hljs-class .hljs-title, .css .hljs-rules .hljs-attribute + color: #ffcc66 + +/* Tomorrow Green + +.hljs-string, .hljs-value, .hljs-inheritance, .hljs-header, .ruby .hljs-symbol, .xml .hljs-cdata + color: #99cc99 + +/* Tomorrow Aqua + +.css .hljs-hexcolor, .hljs-variable + color: #66cccc + +/* Tomorrow Blue + +.hljs-function + color: #6699cc + +.python + .hljs-decorator, .hljs-title + color: #6699cc + +.ruby + .hljs-function .hljs-title, .hljs-title .hljs-keyword + color: #6699cc + +.perl .hljs-sub, .javascript .hljs-title, .coffeescript .hljs-title + color: #6699cc + +/* Tomorrow Purple + +.hljs-keyword, .javascript .hljs-function + color: #cc99cc + +.hljs-template_tag + color: white + +.coffeescript .javascript, .javascript .xml, .tex .hljs-formula + opacity: 0.5 + +.xml + .javascript, .vbscript, .css, .hljs-cdata + opacity: 0.5 diff --git a/debian/missing-sources/wyrm/sass/wyrm_docs/_kss.sass b/debian/missing-sources/wyrm/sass/wyrm_docs/_kss.sass new file mode 100644 index 0000000..a8e6391 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_docs/_kss.sass @@ -0,0 +1,198 @@ +body + background: $section-background-color + max-width: 100% + padding: 0 + margin: 0 +#wrap + +outer-container + padding: 0 $gutter +nav.wy-docs-nav + padding: $gutter * 2 0 + background: none + box-shadow: none + +span-columns(3) + .logo-area + +clearfix + padding-bottom: $base-line-height + border-bottom: solid 1px rgba(0,0,0,.1) + margin-bottom: $base-line-height / 2 + img + width: 125px + float: right + h3 + font-family: $base-font-family + margin-top: $base-line-height + margin-bottom: $base-font-size / 2 + p + font-size: 80% + margin-bottom: 0 + line-height: 1.5 +section.content, article.content + padding: $gutter * 2 0 + +span-columns(9) + +.wy-menu + a:hover + text-decoration: none + +.wy-menu-horiz + +clearfix + ul, li + display: inline-block + li:hover + background: rgba(255,255,255,.1) + li + &.divide-left + border-left: solid 1px hsl(0, 0%, 25%) + &.divide-right + border-right: solid 1px hsl(0, 0%, 25%) + a + height: $base-font-size * 2 + display: inline-block + line-height: $base-font-size * 2 + padding: 0 $base-font-size + +.wy-menu-vertical + header + height: $base-font-size * 2 + display: inline-block + line-height: $base-font-size * 2 + padding: 0 $gutter + display: block + + + font-weight: bold + text-transform: uppercase + font-size: 80% + color: $text-light + white-space: nowrap + + dl + margin-bottom: $base-line-height + dt + border-bottom: solid 1px rgba(0,0,0,.05) + font-weight: bold + padding: $gutter / 4 0 + margin-top: $base-line-height / 2 + dt:first-child + margin-top: 0 + dd + &.divide-top + border-top: solid 1px hsl(0, 0%, 25%) + &.divide-bottom + border-bottom: solid 1px hsl(0, 0%, 25%) + &.current + background: darken($section-background-color, 10%) + a + color: $text-medium + border-right: solid 1px darken($section-background-color, 20%) + padding: $gutter / 4 $gutter * 1.5 + &:hover + background: darken($section-background-color, 15%) + // On state for the first level + a.active, dd.active a + color: $section-background-color + padding: $gutter / 8 $gutter / 2 + font-weight: bold + position: relative + background: $gray-dark + border-right: solid 10px $gray-darker + +font-smooth + &:hover + background: $gray-dark + dd.active + a.sub-one, a.sub-two + padding: 0 $gutter / 2 + list-style: disc + color: $link-color + background: none + font-size: 80% + border: none + font-weight: normal + line-height: 1.5 + background: darken($section-background-color, 5%) + text-transform: none + &:hover + text-decoration: underline + &.active + color: $text-color + &:nth-child(2) + padding-top: $gutter / 4 + &:last-child + padding-bottom: $gutter / 4 + a.sub-two + color: $text-color + padding-left: $gutter * 1 + + a + display: inline-block + line-height: $base-line-height + padding: $gutter / 8 $gutter / 2 + display: block + position: relative + font-size: 90% + text-transform: capitalize + color: $text-color + &:hover + background-color: rgba(0,0,0,.05) + cursor: pointer + &:active + background-color: $gray-darker + color: $white + cursor: pointer + +.examples + > li + border-top: solid 1px rgba(0,0,0,.1) + padding: $base-line-height / 2 0 + position: relative + list-style: none + margin-left: 0 + +clearfix + .desc + display: inline-block + margin-bottom: $base-line-height / 2 + font-weight: bold + .name + color: $text-lighter + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace + background: #2d2d2d + display: inline-block + padding: 0 $base-line-height / 4 + float: right + font-size: 10px + .markup + display: block + +.prettyprint + font-size: 12px + line-height: 1.5 + +pre + margin: 0 0 $base-line-height 0 + +.markdown ul + @extend %wy-plain-list-disc +.markdown ol + @extend %wy-plain-list-decimal + +.grid-example + background: $gray-lighter + padding: $gutter + +outer-container + section,aside + background: $gray-light + padding: $gutter + section + +span-columns(8) + +omega-type + aside + +span-columns(4) + ++media($tablet) + article.content + +span-columns(8) + nav.wy-docs-nav + +span-columns(8) + + diff --git a/debian/missing-sources/wyrm/sass/wyrm_docs/_prettify.sass b/debian/missing-sources/wyrm/sass/wyrm_docs/_prettify.sass new file mode 100644 index 0000000..504ccd5 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_docs/_prettify.sass @@ -0,0 +1,144 @@ +/* Tomorrow Night Eighties Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +.prettyprint, pre.prettyprint + background: #2d2d2d + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace + font-size: 12px + line-height: 1.5 + padding: $base-line-height / 2 + overflow-x: auto + width: 100% + display: block + border: none + color: $text-invert + +.pln + color: #cccccc + + +@media screen + .str + color: #99cc99 + + + .kwd + color: #cc99cc + + + .com + color: #999999 + + + .typ + color: #6699cc + + + .lit + color: #f99157 + + + .pun + color: #cccccc + + + .opn + color: #cccccc + + + .clo + color: #cccccc + + + .tag + color: #f2777a + + + .atn + color: #f99157 + + + .atv + color: #66cccc + + + .dec + color: #f99157 + + + .var + color: #f2777a + + + .fun + color: #6699cc + + +@media print, projection + .str + color: #006600 + + + .kwd + color: #006 + font-weight: bold + + + .com + color: #600 + font-style: italic + + + .typ + color: #404 + font-weight: bold + + + .lit + color: #004444 + + + .pun, .opn, .clo + color: #444400 + + + .tag + color: #006 + font-weight: bold + + + .atn + color: #440044 + + + .atv + color: #006600 + + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums + margin-top: 0 + margin-bottom: 0 + + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 + /* */ + + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 + /* */ + diff --git a/debian/missing-sources/wyrm/sass/wyrm_test.sass b/debian/missing-sources/wyrm/sass/wyrm_test.sass new file mode 100644 index 0000000..52aaa15 --- /dev/null +++ b/debian/missing-sources/wyrm/sass/wyrm_test.sass @@ -0,0 +1,59 @@ +// ------------------------------------------------------------ +// WYRM TEST, KSS BUILD +// ------------------------------------------------------------ +// This file exists to test wyrm compiles correctly with +// everything loaded. You should not use this in your project. +// It also includes some KSS specific styles at the bottom. +// ------------------------------------------------------------ + +// Variable defaults set by Wyrm +@import wyrm_core/wy_variables + +// bourbon.io framework +@import bourbon + +// Bourbon.io/neat framework, with some default media queries +@import wyrm_core/grid_settings +@import neat +// Add omega-type mixin, which is better for JS libraries like ember +// that add a bunch of extra elements in the dom. +@import wyrm_core/neat_extra + +// Custom reset +@import wyrm_core/reset + +// Wyrm mixins +@import wyrm_core/mixin + +// Font awesome and overwrites. +@import font-awesome +@import wyrm_core/font_icon_defaults + +// Wyrm core styles used in this theme +@import wyrm_core/alert +@import wyrm_core/button +@import wyrm_core/dropdown +@import wyrm_core/form +@import wyrm_core/generic +@import wyrm_core/table +@import wyrm_core/type +@import wyrm_core/spinner +@import wyrm_core/video + +// Addons +@import wyrm_addons/forms/form_upload +@import wyrm_addons/forms/form_autocomplete +@import wyrm_addons/forms/form_tag +@import wyrm_addons/forms/form_gallery +@import wyrm_addons/pygments/pygments +@import wyrm_addons/pygments/pygments_light +@import wyrm_addons/elements/tooltip +@import wyrm_addons/elements/stars +@import wyrm_addons/elements/paginate +@import wyrm_addons/elements/modal +@import wyrm_addons/redactor/redactor +@import wyrm_addons/redactor/figures + +// KSS Documentation styles. +@import wyrm_docs/kss +@import wyrm_docs/highlight diff --git a/debian/patches/do-not-override-build-commands.patch b/debian/patches/do-not-override-build-commands.patch new file mode 100644 index 0000000..ca70751 --- /dev/null +++ b/debian/patches/do-not-override-build-commands.patch @@ -0,0 +1,21 @@ +From: Dmitry Shachnev +Date: Sun, 23 Aug 2020 18:04:51 +0300 +Subject: Do not override Python build commands + +We do not use webpack in debian packaging. +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 36a2a98..e42f539 100644 +--- a/setup.py ++++ b/setup.py +@@ -90,7 +90,5 @@ setup( + cmdclass={ + 'update_translations': UpdateTranslationsCommand, + 'transifex': TransifexCommand, +- 'build_assets': WebpackBuildCommand, +- 'watch': WebpackDevelopCommand, + }, + ) diff --git a/debian/patches/fonts-only-ttf-woff2.patch b/debian/patches/fonts-only-ttf-woff2.patch new file mode 100644 index 0000000..05d7e80 --- /dev/null +++ b/debian/patches/fonts-only-ttf-woff2.patch @@ -0,0 +1,64 @@ +From: Dmitry Shachnev +Date: Fri, 29 Jun 2018 14:54:26 +0300 +Subject: Use only TTF and WOFF2 fonts for Lato, only WOFF2 for RobotoSlab + +Also use different file names for compatibility with packages built +against sphinx-rtd-theme 0.2.4. +--- + src/sass/_theme_font_local.sass | 15 ++++++--------- + 1 file changed, 6 insertions(+), 9 deletions(-) + +diff --git a/src/sass/_theme_font_local.sass b/src/sass/_theme_font_local.sass +index 48f22e7..31da232 100644 +--- a/src/sass/_theme_font_local.sass ++++ b/src/sass/_theme_font_local.sass +@@ -1,30 +1,27 @@ +-$lato-font-path: "~lato-font/fonts" +-$roboto-font-path: "~roboto-fontface/fonts/roboto-slab" +- + @font-face + font-family: 'Lato' +- src: url('#{$lato-font-path}/lato-normal/lato-normal.woff2') format('woff2'), url('#{$lato-font-path}/lato-normal/lato-normal.woff') format('woff') ++ src: url('../fonts/Lato-Regular.woff2') format('woff2'), url('../fonts/Lato-Regular.ttf') format('truetype') + font-weight: 400 + font-style: normal + font-display: $font-display + + @font-face + font-family: 'Lato' +- src: url('#{$lato-font-path}/lato-bold/lato-bold.woff2') format('woff2'), url('#{$lato-font-path}/lato-bold/lato-bold.woff') format('woff') ++ src: url('../fonts/Lato-Bold.woff2') format('woff2'), url('../fonts/Lato-Bold.ttf') format('truetype') + font-weight: 700 + font-style: normal + font-display: $font-display + + @font-face + font-family: 'Lato' +- src: url('#{$lato-font-path}/lato-bold-italic/lato-bold-italic.woff2') format('woff2'), url('#{$lato-font-path}/lato-bold-italic/lato-bold-italic.woff') format('woff') ++ src: url('../fonts/Lato-BoldItalic.woff2') format('woff2'), url('../fonts/Lato-BoldItalic.ttf') format('truetype') + font-weight: 700 + font-style: italic + font-display: $font-display + + @font-face + font-family: 'Lato' +- src: url('#{$lato-font-path}/lato-normal-italic/lato-normal-italic.woff2') format('woff2'), url('#{$lato-font-path}/lato-normal-italic/lato-normal-italic.woff') format('woff') ++ src: url('../fonts/Lato-Italic.woff2') format('woff2'), url('../fonts/Lato-Italic.ttf') format('truetype') + font-weight: 400 + font-style: italic + font-display: $font-display +@@ -33,12 +30,12 @@ $roboto-font-path: "~roboto-fontface/fonts/roboto-slab" + font-family: 'Roboto Slab' + font-style: normal + font-weight: 400 +- src: url('#{$roboto-font-path}/Roboto-Slab-Regular.woff2') format('woff2'), url('#{$roboto-font-path}/Roboto-Slab-Regular.woff') format('woff') ++ src: url('../fonts/RobotoSlab-Regular.woff2') format('woff2') + font-display: $font-display + + @font-face + font-family: 'Roboto Slab' + font-style: normal + font-weight: 700 +- src: url('#{$roboto-font-path}/Roboto-Slab-Bold.woff2') format('woff2'), url('#{$roboto-font-path}/Roboto-Slab-Bold.woff') format('woff') ++ src: url('../fonts/RobotoSlab-Bold.woff2') format('woff2') + font-display: $font-display diff --git a/debian/patches/remove-html5shiv.patch b/debian/patches/remove-html5shiv.patch new file mode 100644 index 0000000..f9d0ace --- /dev/null +++ b/debian/patches/remove-html5shiv.patch @@ -0,0 +1,22 @@ +From: Dmitry Shachnev +Date: Wed, 16 Dec 2020 20:50:55 +0300 +Subject: Remove html5shiv dependency + +--- + sphinx_rtd_theme/layout.html | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html +index c8a3076..cfa84a2 100644 +--- a/sphinx_rtd_theme/layout.html ++++ b/sphinx_rtd_theme/layout.html +@@ -62,9 +62,6 @@ + + {#- JAVASCRIPTS #} + {%- block scripts %} +- + {%- if not embedded %} + {# XXX Sphinx 1.8.0 made this an external js-file, quick fix until we refactor the template to inherert more blocks directly from sphinx #} + {%- if sphinx_version_info >= (1, 8) -%} diff --git a/debian/patches/replace-webpack-imports.patch b/debian/patches/replace-webpack-imports.patch new file mode 100644 index 0000000..475faa3 --- /dev/null +++ b/debian/patches/replace-webpack-imports.patch @@ -0,0 +1,67 @@ +From: Dmitry Shachnev +Date: Sun, 23 Aug 2020 17:59:25 +0300 +Subject: Replace webpack-style imports with normal ones + +The ~ syntax is only supported by webpack, which we do not use: +https://github.com/webpack-contrib/sass-loader#resolving-import-at-rules +--- + src/sass/_theme_variables.sass | 2 +- + src/sass/badge_only.sass | 4 ++-- + src/sass/theme.sass | 6 +++--- + 3 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/sass/_theme_variables.sass b/src/sass/_theme_variables.sass +index d9a5310..5b47605 100644 +--- a/src/sass/_theme_variables.sass ++++ b/src/sass/_theme_variables.sass +@@ -2,7 +2,7 @@ + // that are set in wyrm_core/wy_variables.sass. You'll find wyrm in bower_components if you're looking + // for a reference. + +-$fa-font-path: "~font-awesome/fonts" ++$fa-font-path: "../fonts" + $static-img: "../img/" + + $nav-content-width: 800px +diff --git a/src/sass/badge_only.sass b/src/sass/badge_only.sass +index 2b09416..b8cdac3 100644 +--- a/src/sass/badge_only.sass ++++ b/src/sass/badge_only.sass +@@ -8,8 +8,8 @@ $border-box-sizing: false !default + + @import wyrm_core/wy_variables + @import theme_variables +-@import ~bourbon/app/assets/stylesheets/bourbon +-@import ~bourbon-neat/app/assets/stylesheets/neat ++@import bourbon ++@import neat + @import wyrm_core/mixin + @import wyrm_core/grid_settings + @import _theme_badge_fa +diff --git a/src/sass/theme.sass b/src/sass/theme.sass +index 73e77e4..3330736 100644 +--- a/src/sass/theme.sass ++++ b/src/sass/theme.sass +@@ -13,11 +13,11 @@ + @import theme_variables + + // bourbon.io framework +-@import ~bourbon/app/assets/stylesheets/bourbon ++@import bourbon + + // Bourbon.io/neat framework, with some default media queries + @import wyrm_core/grid_settings +-@import ~bourbon-neat/app/assets/stylesheets/neat ++@import neat + // Some corrections for neat + @import wyrm_core/neat_extra + +@@ -28,7 +28,7 @@ + @import wyrm_core/mixin + + // Font Awesome with wyrm extras +-@import ~font-awesome/scss/font-awesome ++@import font-awesome + @import wyrm_core/font_icon_defaults + + // Wyrm core styles used in this theme diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..af4c556 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,5 @@ +fonts-only-ttf-woff2.patch +tests-configuration.patch +replace-webpack-imports.patch +do-not-override-build-commands.patch +remove-html5shiv.patch diff --git a/debian/patches/tests-configuration.patch b/debian/patches/tests-configuration.patch new file mode 100644 index 0000000..d331d06 --- /dev/null +++ b/debian/patches/tests-configuration.patch @@ -0,0 +1,33 @@ +From: Dmitry Shachnev +Date: Fri, 29 Jun 2018 16:58:36 +0300 +Subject: Make it possible to run upstream tests + +- Do not use readthedocs-sphinx-ext, it is not packaged. +- Point to local version of sphinx_rtd_theme. +--- + tests/util.py | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/tests/util.py b/tests/util.py +index c9fdcc1..38fe839 100644 +--- a/tests/util.py ++++ b/tests/util.py +@@ -34,8 +34,8 @@ def build(root, builder='html', **kwargs): + confoverrides['html_theme'] = 'sphinx_rtd_theme' + extensions = confoverrides.get('extensions', []) + extensions.append('sphinx_rtd_theme') +- extensions.append('readthedocs_ext.readthedocs') + confoverrides['extensions'] = extensions ++ confoverrides['html_theme_path'] = [os.path.abspath('../../..')] + kwargs['confoverrides'] = confoverrides + + try: +@@ -55,7 +55,6 @@ def build(root, builder='html', **kwargs): + + + def build_all(root, **kwargs): +- for builder in ['html', 'singlehtml', 'readthedocs', 'readthedocsdirhtml', +- 'readthedocssinglehtml', 'readthedocssinglehtmllocalmedia']: ++ for builder in ['html', 'singlehtml']: + with build(root, builder, **kwargs) as ret: + yield ret diff --git a/debian/python3-sphinx-rtd-theme.docs b/debian/python3-sphinx-rtd-theme.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/python3-sphinx-rtd-theme.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/python3-sphinx-rtd-theme.install b/debian/python3-sphinx-rtd-theme.install new file mode 100644 index 0000000..1afc806 --- /dev/null +++ b/debian/python3-sphinx-rtd-theme.install @@ -0,0 +1,2 @@ +# Necessary because the underscores in the package name seem to confuse the Debian helper. +usr/lib/python3* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d8711be --- /dev/null +++ b/debian/rules @@ -0,0 +1,46 @@ +#!/usr/bin/make -f + +export LC_ALL=C.UTF-8 + +SASS_OPTIONS := --load-path debian/missing-sources/bourbon/app/assets/stylesheets \ + --load-path debian/missing-sources/bourbon-neat/app/assets/stylesheets \ + --load-path /usr/share/sass/font-awesome \ + --load-path debian/missing-sources/wyrm/sass \ + --style compressed \ + --sourcemap=none + +COMMON_PATH = debian/sphinx-rtd-theme-common/usr/share/sphinx_rtd_theme +PY3_PATH = debian/python3-sphinx-rtd-theme/usr/lib/python3/dist-packages/sphinx_rtd_theme + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_build: + mkdir -p sphinx_rtd_theme/static/css + sass $(SASS_OPTIONS) src/sass/theme.sass sphinx_rtd_theme/static/css/theme.css + sass $(SASS_OPTIONS) src/sass/badge_only.sass sphinx_rtd_theme/static/css/badge_only.css + mkdir -p sphinx_rtd_theme/static/js + sed s/module.exports.ThemeNav/_ThemeNav/ src/theme.js > sphinx_rtd_theme/static/js/theme.js + mkdir -p sphinx_rtd_theme/static/fonts + cp /usr/share/fonts/truetype/lato/Lato-Bold.ttf sphinx_rtd_theme/static/fonts/ + cp /usr/share/fonts/truetype/lato/Lato-BoldItalic.ttf sphinx_rtd_theme/static/fonts/ + cp /usr/share/fonts/truetype/lato/Lato-Italic.ttf sphinx_rtd_theme/static/fonts/ + cp /usr/share/fonts/truetype/lato/Lato-Regular.ttf sphinx_rtd_theme/static/fonts/ + cp /usr/share/fonts/opentype/roboto/slab/RobotoSlab-Bold.otf sphinx_rtd_theme/static/fonts/ + cp /usr/share/fonts/opentype/roboto/slab/RobotoSlab-Regular.otf sphinx_rtd_theme/static/fonts/ + set -ex; cd sphinx_rtd_theme/static/fonts/; for ttf in *.ttf; do woff2_compress $$ttf; done + set -ex; cd sphinx_rtd_theme/static/fonts/; for otf in *.otf; do woff2_compress $$otf; done + rm -fv sphinx_rtd_theme/static/fonts/*.otf + python3 setup.py compile_catalog + dh_auto_build + +override_dh_link: + dh_link -p sphinx-rtd-theme-common + rm -rf $(PY3_PATH)/static + set -ex; for d in static/css static/fonts static/js; do \ + mkdir -p $(PY3_PATH)/$$d; \ + done + set -ex; for f in `cd $(COMMON_PATH) && find -type f -or -type l | sed "s,^\./,,"`; do \ + ln -sf /usr/share/sphinx_rtd_theme/$$f $(PY3_PATH)/$$f; \ + done + dh_link --remaining-packages # To make the created symlinks relative diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..0b5357e --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,3 @@ +# webpack.prod.js matches Lintian's JS_EXT regex, but it is not a minified file. +sphinx-rtd-theme source: source-is-missing [webpack.prod.js] +sphinx-rtd-theme source: source-contains-prebuilt-javascript-object [webpack.prod.js] diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..4d82e22 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info" \ No newline at end of file diff --git a/debian/sphinx-rtd-theme-common.install b/debian/sphinx-rtd-theme-common.install new file mode 100644 index 0000000..77ac1b1 --- /dev/null +++ b/debian/sphinx-rtd-theme-common.install @@ -0,0 +1,3 @@ +sphinx_rtd_theme/*.html usr/share/sphinx_rtd_theme/ +sphinx_rtd_theme/static usr/share/sphinx_rtd_theme/ +sphinx_rtd_theme/theme.conf usr/share/sphinx_rtd_theme/ diff --git a/debian/sphinx-rtd-theme-common.links b/debian/sphinx-rtd-theme-common.links new file mode 100644 index 0000000..e07d538 --- /dev/null +++ b/debian/sphinx-rtd-theme-common.links @@ -0,0 +1,9 @@ +usr/share/fonts-font-awesome/fonts/fontawesome-webfont.eot usr/share/sphinx_rtd_theme/static/fonts/fontawesome-webfont.eot +usr/share/fonts-font-awesome/fonts/fontawesome-webfont.svg usr/share/sphinx_rtd_theme/static/fonts/fontawesome-webfont.svg +usr/share/fonts-font-awesome/fonts/fontawesome-webfont.ttf usr/share/sphinx_rtd_theme/static/fonts/fontawesome-webfont.ttf +usr/share/fonts-font-awesome/fonts/fontawesome-webfont.woff usr/share/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff +usr/share/fonts-font-awesome/fonts/fontawesome-webfont.woff2 usr/share/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff2 +usr/share/fonts/truetype/lato/Lato-Bold.ttf usr/share/sphinx_rtd_theme/static/fonts/Lato-Bold.ttf +usr/share/fonts/truetype/lato/Lato-BoldItalic.ttf usr/share/sphinx_rtd_theme/static/fonts/Lato-BoldItalic.ttf +usr/share/fonts/truetype/lato/Lato-Italic.ttf usr/share/sphinx_rtd_theme/static/fonts/Lato-Italic.ttf +usr/share/fonts/truetype/lato/Lato-Regular.ttf usr/share/sphinx_rtd_theme/static/fonts/Lato-Regular.ttf diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..c48c0f8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=uversionmangle=s/(rc|a|b|c)/~$1/,dversionmangle=s/\+dfsg//,repacksuffix=+dfsg \ +https://github.com/readthedocs/sphinx_rtd_theme/tags \ + /readthedocs/sphinx_rtd_theme/archive/refs/tags/@ANY_VERSION@\.tar\.gz -- cgit v1.2.3