less 2.1.1 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/inspectionProfiles/Project_Default.xml +1 -0
- package/.idea/jsLinters/jscs.xml +4 -0
- package/.idea/jsLinters/jshint.xml +58 -4
- package/.idea/workspace.xml +451 -758
- package/.jscsrc +38 -0
- package/.jshintrc +0 -2
- package/.travis.yml +0 -1
- package/CHANGELOG.md +52 -0
- package/Gruntfile.js +37 -3
- package/bin/lessc +380 -316
- package/bower.json +1 -1
- package/dist/less.js +790 -479
- package/dist/less.min.js +7 -7
- package/lib/less/contexts.js +1 -1
- package/lib/less/data/unit-conversions.js +3 -3
- package/lib/less/environment/abstract-file-manager.js +4 -4
- package/lib/less/environment/environment.js +9 -0
- package/lib/less/functions/color-blending.js +3 -3
- package/lib/less/functions/color.js +8 -8
- package/lib/less/functions/data-uri.js +39 -31
- package/lib/less/functions/string.js +3 -1
- package/lib/less/functions/svg.js +12 -15
- package/lib/less/functions/types.js +15 -2
- package/lib/less/import-manager.js +10 -5
- package/lib/less/index.js +2 -1
- package/lib/less/parse-tree.js +8 -2
- package/lib/less/parse.js +65 -0
- package/lib/less/parser/parser-input.js +3 -2
- package/lib/less/parser/parser.js +24 -11
- package/lib/less/render.js +7 -36
- package/lib/less/source-map-output.js +3 -3
- package/lib/less/transform-tree.js +1 -1
- package/lib/less/tree/assignment.js +0 -1
- package/lib/less/tree/color.js +4 -4
- package/lib/less/tree/condition.js +1 -1
- package/lib/less/tree/debug-info.js +6 -2
- package/lib/less/tree/dimension.js +1 -1
- package/lib/less/tree/directive.js +25 -6
- package/lib/less/tree/expression.js +1 -1
- package/lib/less/tree/import.js +2 -2
- package/lib/less/tree/index.js +1 -0
- package/lib/less/tree/media.js +3 -2
- package/lib/less/tree/mixin-call.js +3 -4
- package/lib/less/tree/mixin-definition.js +4 -3
- package/lib/less/tree/quoted.js +1 -1
- package/lib/less/tree/rule.js +2 -3
- package/lib/less/tree/ruleset.js +263 -157
- package/lib/less/tree/selector.js +2 -1
- package/lib/less/tree/url.js +5 -2
- package/lib/less/tree/value.js +1 -1
- package/lib/less/tree/variable.js +1 -1
- package/lib/less/visitors/extend-visitor.js +60 -25
- package/lib/less/visitors/import-sequencer.js +20 -14
- package/lib/less/visitors/import-visitor.js +13 -10
- package/lib/less/visitors/to-css-visitor.js +37 -5
- package/lib/less-browser/add-default-options.js +5 -1
- package/lib/less-browser/bootstrap.js +10 -8
- package/lib/less-browser/cache.js +1 -1
- package/lib/less-browser/index.js +13 -12
- package/lib/less-browser/utils.js +9 -6
- package/lib/less-node/file-manager.js +51 -28
- package/lib/less-node/image-size.js +34 -0
- package/lib/less-node/index.js +3 -0
- package/lib/less-node/lessc-helper.js +3 -2
- package/lib/less-node/url-file-manager.js +2 -2
- package/lib/less-rhino/index.js +2 -4
- package/package.json +10 -7
- package/test/browser/common.js +13 -11
- package/test/browser/css/urls.css +6 -3
- package/test/browser/jasmine-jsreporter.js +2 -3
- package/test/browser/less/nested-gradient-with-svg-gradient/mixin-consumer.less +5 -0
- package/test/browser/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +15 -0
- package/test/browser/less/urls.less +1 -0
- package/test/browser/less.js +15 -9424
- package/test/browser/runner-errors-options.js +0 -1
- package/test/browser/runner-errors-spec.js +0 -1
- package/test/browser/runner-legacy-options.js +0 -1
- package/test/browser/runner-no-js-errors-spec.js +0 -1
- package/test/browser/runner-production-options.js +0 -1
- package/test/browser/runner-relative-urls-options.js +0 -1
- package/test/browser/runner-rootpath-options.js +0 -1
- package/test/browser/runner-rootpath-relative-options.js +0 -1
- package/test/browser/runner-strict-units-options.js +0 -1
- package/test/copy-bom.js +72 -0
- package/test/css/comments.css +1 -0
- package/test/css/css-3.css +2 -0
- package/test/css/functions.css +2 -0
- package/test/css/import-interpolation.css +6 -0
- package/test/css/import-reference.css +25 -0
- package/test/css/include-path/include-path.css +6 -0
- package/test/css/mixins-important.css +6 -0
- package/test/css/selectors.css +10 -1
- package/test/css/url-args/urls.css +3 -3
- package/test/css/urls.css +12 -4
- package/test/css/variables.css +7 -1
- package/test/data/image.svg +3 -0
- package/test/index.js +14 -10
- package/test/less/comments.less +1 -0
- package/test/less/css-3.less +3 -0
- package/test/less/css-guards.less +2 -1
- package/test/less/errors/detached-ruleset-2.txt +1 -1
- package/test/less/errors/import-missing.txt +1 -1
- package/test/less/errors/parens-error-1.txt +1 -1
- package/test/less/errors/parens-error-2.txt +1 -1
- package/test/less/errors/parens-error-3.txt +1 -1
- package/test/less/errors/single-character.less +1 -0
- package/test/less/errors/single-character.txt +2 -0
- package/test/less/functions.less +5 -0
- package/test/less/import/import-interpolation.less +1 -0
- package/test/less/import/import-reference.less +38 -0
- package/test/less/import-reference.less +3 -1
- package/test/less/import.less +2 -0
- package/test/less/include-path/include-path.less +6 -0
- package/test/less/mixins-important.less +12 -0
- package/test/less/nested-gradient-with-svg-gradient/mixin-consumer.less +5 -0
- package/test/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +15 -0
- package/test/less/selectors.less +19 -4
- package/test/less/urls.less +10 -1
- package/test/less/variables.less +17 -3
- package/test/less-bom/charsets.less +3 -0
- package/test/less-bom/colors.less +98 -0
- package/test/less-bom/comments.less +102 -0
- package/test/less-bom/comments2.less +20 -0
- package/test/less-bom/compression/compression.less +36 -0
- package/test/less-bom/css-3.less +154 -0
- package/test/less-bom/css-escapes.less +33 -0
- package/test/less-bom/css-guards.less +103 -0
- package/test/less-bom/css.less +108 -0
- package/test/less-bom/debug/import/test.less +25 -0
- package/test/less-bom/debug/linenumbers.less +33 -0
- package/test/less-bom/detached-rulesets.less +103 -0
- package/test/less-bom/empty.less +1 -0
- package/test/less-bom/errors/add-mixed-units.less +3 -0
- package/test/less-bom/errors/add-mixed-units.txt +4 -0
- package/test/less-bom/errors/add-mixed-units2.less +3 -0
- package/test/less-bom/errors/add-mixed-units2.txt +4 -0
- package/test/less-bom/errors/at-rules-undefined-var.less +4 -0
- package/test/less-bom/errors/at-rules-undefined-var.txt +4 -0
- package/test/less-bom/errors/bad-variable-declaration1.less +1 -0
- package/test/less-bom/errors/bad-variable-declaration1.txt +2 -0
- package/test/less-bom/errors/color-func-invalid-color.less +3 -0
- package/test/less-bom/errors/color-func-invalid-color.txt +4 -0
- package/test/less-bom/errors/color-invalid-hex-code.less +3 -0
- package/test/less-bom/errors/color-invalid-hex-code.txt +4 -0
- package/test/less-bom/errors/color-invalid-hex-code2.less +3 -0
- package/test/less-bom/errors/color-invalid-hex-code2.txt +4 -0
- package/test/less-bom/errors/css-guard-default-func.less +4 -0
- package/test/less-bom/errors/css-guard-default-func.txt +4 -0
- package/test/less-bom/errors/detached-ruleset-1.less +6 -0
- package/test/less-bom/errors/detached-ruleset-1.txt +4 -0
- package/test/less-bom/errors/detached-ruleset-2.less +6 -0
- package/test/less-bom/errors/detached-ruleset-2.txt +4 -0
- package/test/less-bom/errors/detached-ruleset-3.less +4 -0
- package/test/less-bom/errors/detached-ruleset-3.txt +4 -0
- package/test/less-bom/errors/detached-ruleset-4.less +5 -0
- package/test/less-bom/errors/detached-ruleset-4.txt +4 -0
- package/test/less-bom/errors/detached-ruleset-5.less +4 -0
- package/test/less-bom/errors/detached-ruleset-5.txt +3 -0
- package/test/less-bom/errors/detached-ruleset-6.less +5 -0
- package/test/less-bom/errors/detached-ruleset-6.txt +4 -0
- package/test/less-bom/errors/divide-mixed-units.less +3 -0
- package/test/less-bom/errors/divide-mixed-units.txt +4 -0
- package/test/less-bom/errors/extend-no-selector.less +3 -0
- package/test/less-bom/errors/extend-no-selector.txt +3 -0
- package/test/less-bom/errors/extend-not-at-end.less +3 -0
- package/test/less-bom/errors/extend-not-at-end.txt +3 -0
- package/test/less-bom/errors/import-malformed.less +1 -0
- package/test/less-bom/errors/import-malformed.txt +3 -0
- package/test/less-bom/errors/import-missing.less +6 -0
- package/test/less-bom/errors/import-missing.txt +3 -0
- package/test/less-bom/errors/import-no-semi.less +1 -0
- package/test/less-bom/errors/import-no-semi.txt +2 -0
- package/test/less-bom/errors/import-subfolder1.less +1 -0
- package/test/less-bom/errors/import-subfolder1.txt +3 -0
- package/test/less-bom/errors/import-subfolder2.less +1 -0
- package/test/less-bom/errors/import-subfolder2.txt +4 -0
- package/test/less-bom/errors/imports/import-subfolder1.less +1 -0
- package/test/less-bom/errors/imports/import-subfolder2.less +1 -0
- package/test/less-bom/errors/imports/import-test.less +4 -0
- package/test/less-bom/errors/imports/subfolder/mixin-not-defined.less +1 -0
- package/test/less-bom/errors/imports/subfolder/parse-error-curly-bracket.less +1 -0
- package/test/less-bom/errors/javascript-error.less +3 -0
- package/test/less-bom/errors/javascript-error.txt +4 -0
- package/test/less-bom/errors/javascript-undefined-var.less +3 -0
- package/test/less-bom/errors/javascript-undefined-var.txt +4 -0
- package/test/less-bom/errors/mixed-mixin-definition-args-1.less +6 -0
- package/test/less-bom/errors/mixed-mixin-definition-args-1.txt +4 -0
- package/test/less-bom/errors/mixed-mixin-definition-args-2.less +6 -0
- package/test/less-bom/errors/mixed-mixin-definition-args-2.txt +4 -0
- package/test/less-bom/errors/mixin-not-defined.less +11 -0
- package/test/less-bom/errors/mixin-not-defined.txt +3 -0
- package/test/less-bom/errors/mixin-not-matched.less +6 -0
- package/test/less-bom/errors/mixin-not-matched.txt +3 -0
- package/test/less-bom/errors/mixin-not-matched2.less +6 -0
- package/test/less-bom/errors/mixin-not-matched2.txt +3 -0
- package/test/less-bom/errors/mixin-not-visible-in-scope-1.less +9 -0
- package/test/less-bom/errors/mixin-not-visible-in-scope-1.txt +4 -0
- package/test/less-bom/errors/mixins-guards-default-func-1.less +9 -0
- package/test/less-bom/errors/mixins-guards-default-func-1.txt +4 -0
- package/test/less-bom/errors/mixins-guards-default-func-2.less +9 -0
- package/test/less-bom/errors/mixins-guards-default-func-2.txt +4 -0
- package/test/less-bom/errors/mixins-guards-default-func-3.less +9 -0
- package/test/less-bom/errors/mixins-guards-default-func-3.txt +4 -0
- package/test/less-bom/errors/multiple-guards-on-css-selectors.less +4 -0
- package/test/less-bom/errors/multiple-guards-on-css-selectors.txt +4 -0
- package/test/less-bom/errors/multiple-guards-on-css-selectors2.less +4 -0
- package/test/less-bom/errors/multiple-guards-on-css-selectors2.txt +4 -0
- package/test/less-bom/errors/multiply-mixed-units.less +7 -0
- package/test/less-bom/errors/multiply-mixed-units.txt +4 -0
- package/test/less-bom/errors/parens-error-1.less +3 -0
- package/test/less-bom/errors/parens-error-1.txt +4 -0
- package/test/less-bom/errors/parens-error-2.less +3 -0
- package/test/less-bom/errors/parens-error-2.txt +4 -0
- package/test/less-bom/errors/parens-error-3.less +3 -0
- package/test/less-bom/errors/parens-error-3.txt +4 -0
- package/test/less-bom/errors/parse-error-curly-bracket.less +4 -0
- package/test/less-bom/errors/parse-error-curly-bracket.txt +4 -0
- package/test/less-bom/errors/parse-error-extra-parens.less +5 -0
- package/test/less-bom/errors/parse-error-extra-parens.txt +3 -0
- package/test/less-bom/errors/parse-error-missing-bracket.less +2 -0
- package/test/less-bom/errors/parse-error-missing-bracket.txt +3 -0
- package/test/less-bom/errors/parse-error-missing-parens.less +5 -0
- package/test/less-bom/errors/parse-error-missing-parens.txt +3 -0
- package/test/less-bom/errors/parse-error-with-import.less +13 -0
- package/test/less-bom/errors/parse-error-with-import.txt +4 -0
- package/test/less-bom/errors/percentage-missing-space.less +3 -0
- package/test/less-bom/errors/percentage-missing-space.txt +4 -0
- package/test/less-bom/errors/property-asterisk-only-name.less +3 -0
- package/test/less-bom/errors/property-asterisk-only-name.txt +4 -0
- package/test/less-bom/errors/property-ie5-hack.less +3 -0
- package/test/less-bom/errors/property-ie5-hack.txt +3 -0
- package/test/less-bom/errors/property-in-root.less +4 -0
- package/test/less-bom/errors/property-in-root.txt +4 -0
- package/test/less-bom/errors/property-in-root2.less +1 -0
- package/test/less-bom/errors/property-in-root2.txt +4 -0
- package/test/less-bom/errors/property-in-root3.less +4 -0
- package/test/less-bom/errors/property-in-root3.txt +3 -0
- package/test/less-bom/errors/property-interp-not-defined.less +1 -0
- package/test/less-bom/errors/property-interp-not-defined.txt +2 -0
- package/test/less-bom/errors/recursive-variable.less +1 -0
- package/test/less-bom/errors/recursive-variable.txt +2 -0
- package/test/less-bom/errors/single-character.less +1 -0
- package/test/less-bom/errors/single-character.txt +2 -0
- package/test/less-bom/errors/svg-gradient1.less +3 -0
- package/test/less-bom/errors/svg-gradient1.txt +4 -0
- package/test/less-bom/errors/svg-gradient2.less +3 -0
- package/test/less-bom/errors/svg-gradient2.txt +4 -0
- package/test/less-bom/errors/svg-gradient3.less +3 -0
- package/test/less-bom/errors/svg-gradient3.txt +4 -0
- package/test/less-bom/errors/unit-function.less +3 -0
- package/test/less-bom/errors/unit-function.txt +4 -0
- package/test/less-bom/extend-chaining.less +91 -0
- package/test/less-bom/extend-clearfix.less +19 -0
- package/test/less-bom/extend-exact.less +46 -0
- package/test/less-bom/extend-media.less +24 -0
- package/test/less-bom/extend-nest.less +65 -0
- package/test/less-bom/extend-selector.less +99 -0
- package/test/less-bom/extend.less +81 -0
- package/test/less-bom/extract-and-length.less +133 -0
- package/test/less-bom/functions.less +201 -0
- package/test/less-bom/globalVars/extended.json +5 -0
- package/test/less-bom/globalVars/extended.less +10 -0
- package/test/less-bom/globalVars/simple.json +3 -0
- package/test/less-bom/globalVars/simple.less +3 -0
- package/test/less-bom/ie-filters.less +15 -0
- package/test/less-bom/import/deeper/deeper-2/url-import-2.less +3 -0
- package/test/less-bom/import/deeper/deeper-2/url-import.less +1 -0
- package/test/less-bom/import/deeper/import-once-test-a.less +1 -0
- package/test/less-bom/import/deeper/url-import.less +1 -0
- package/test/less-bom/import/import-and-relative-paths-test.less +17 -0
- package/test/less-bom/import/import-charset-test.less +1 -0
- package/test/less-bom/import/import-interpolation.less +2 -0
- package/test/less-bom/import/import-interpolation2.less +5 -0
- package/test/less-bom/import/import-once-test-c.less +6 -0
- package/test/less-bom/import/import-reference.less +89 -0
- package/test/less-bom/import/import-test-a.less +4 -0
- package/test/less-bom/import/import-test-b.less +8 -0
- package/test/less-bom/import/import-test-c.less +6 -0
- package/test/less-bom/import/import-test-d.css +1 -0
- package/test/less-bom/import/import-test-e.less +2 -0
- package/test/less-bom/import/import-test-f.less +5 -0
- package/test/less-bom/import/imports/font.less +8 -0
- package/test/less-bom/import/imports/logo.less +5 -0
- package/test/less-bom/import/interpolation-vars.less +6 -0
- package/test/less-bom/import/invalid-css.less +1 -0
- package/test/less-bom/import/urls.less +1 -0
- package/test/less-bom/import-inline.less +3 -0
- package/test/less-bom/import-interpolation.less +8 -0
- package/test/less-bom/import-once.less +6 -0
- package/test/less-bom/import-reference.less +23 -0
- package/test/less-bom/import.less +30 -0
- package/test/less-bom/include-path/include-path.less +6 -0
- package/test/less-bom/javascript.less +38 -0
- package/test/less-bom/lazy-eval.less +6 -0
- package/test/less-bom/legacy/legacy.less +7 -0
- package/test/less-bom/media.less +234 -0
- package/test/less-bom/merge.less +78 -0
- package/test/less-bom/mixins-args.less +215 -0
- package/test/less-bom/mixins-closure.less +26 -0
- package/test/less-bom/mixins-guards-default-func.less +195 -0
- package/test/less-bom/mixins-guards.less +271 -0
- package/test/less-bom/mixins-important.less +37 -0
- package/test/less-bom/mixins-interpolated.less +75 -0
- package/test/less-bom/mixins-named-args.less +36 -0
- package/test/less-bom/mixins-nested.less +22 -0
- package/test/less-bom/mixins-pattern.less +102 -0
- package/test/less-bom/mixins.less +145 -0
- package/test/less-bom/modifyVars/extended.json +5 -0
- package/test/less-bom/modifyVars/extended.less +11 -0
- package/test/less-bom/nested-gradient-with-svg-gradient/mixin-consumer.less +5 -0
- package/test/less-bom/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +15 -0
- package/test/less-bom/no-js-errors/no-js-errors.less +3 -0
- package/test/less-bom/no-js-errors/no-js-errors.txt +4 -0
- package/test/less-bom/no-output.less +2 -0
- package/test/less-bom/operations.less +62 -0
- package/test/less-bom/parens.less +45 -0
- package/test/less-bom/property-name-interp.less +56 -0
- package/test/less-bom/rulesets.less +30 -0
- package/test/less-bom/scope.less +104 -0
- package/test/less-bom/selectors.less +174 -0
- package/test/less-bom/sourcemaps/basic.json +3 -0
- package/test/less-bom/sourcemaps/basic.less +27 -0
- package/test/less-bom/sourcemaps/imported.css +7 -0
- package/test/less-bom/static-urls/urls.less +33 -0
- package/test/less-bom/strict-units/strict-units.less +4 -0
- package/test/less-bom/strings.less +73 -0
- package/test/less-bom/url-args/urls.less +63 -0
- package/test/less-bom/urls.less +94 -0
- package/test/less-bom/variables-in-at-rules.less +20 -0
- package/test/less-bom/variables.less +119 -0
- package/test/less-bom/whitespace.less +44 -0
- package/test/less-test.js +127 -28
- package/test/modify-vars.js +6 -4
package/test/less/urls.less
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "nested-gradient-with-svg-gradient/mixin-consumer.less";
|
|
2
|
+
|
|
1
3
|
@font-face {
|
|
2
4
|
src: url("/fonts/garamond-pro.ttf");
|
|
3
5
|
src: local(Futura-Medium),
|
|
@@ -43,6 +45,9 @@
|
|
|
43
45
|
|
|
44
46
|
#data-uri {
|
|
45
47
|
uri: data-uri('image/jpeg;base64', '../data/image.jpg');
|
|
48
|
+
@var: replace('../data/replace.jpg', "replace", "image");
|
|
49
|
+
background-image: data-uri(@var), data-uri(replace('../data/image.filext', "filext", "jpg"));
|
|
50
|
+
|
|
46
51
|
uri-fragment: data-uri('image/jpeg;base64', '../data/image.jpg#fragment');
|
|
47
52
|
}
|
|
48
53
|
|
|
@@ -55,8 +60,12 @@
|
|
|
55
60
|
uri-2: data-uri('../data/page.html');
|
|
56
61
|
}
|
|
57
62
|
|
|
58
|
-
#
|
|
63
|
+
#file-functions {
|
|
59
64
|
uri: data-uri('../data/data-uri-fail.png');
|
|
65
|
+
svg-not-base-64: data-uri('../data/image.svg');
|
|
66
|
+
size: image-size('../data/data-uri-fail.png');
|
|
67
|
+
width: image-width('../data/data-uri-fail.png');
|
|
68
|
+
height: image-height('../data/data-uri-fail.png');
|
|
60
69
|
}
|
|
61
70
|
.add_an_import(@file_to_import) {
|
|
62
71
|
@import "@{file_to_import}";
|
package/test/less/variables.less
CHANGED
|
@@ -51,9 +51,23 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.variable-names {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
.quoted {
|
|
55
|
+
@var: 'hello';
|
|
56
|
+
@name: 'var';
|
|
57
|
+
name: @@name;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.unquoted {
|
|
61
|
+
@var: 'hello';
|
|
62
|
+
@name: var;
|
|
63
|
+
name: @@name;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.color-keyword {
|
|
67
|
+
@red: 'hello';
|
|
68
|
+
@name: red;
|
|
69
|
+
name: @@name;
|
|
70
|
+
}
|
|
57
71
|
}
|
|
58
72
|
|
|
59
73
|
.alpha {
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#yelow {
|
|
2
|
+
#short {
|
|
3
|
+
color: #fea;
|
|
4
|
+
}
|
|
5
|
+
#long {
|
|
6
|
+
color: #ffeeaa;
|
|
7
|
+
}
|
|
8
|
+
#rgba {
|
|
9
|
+
color: rgba(255, 238, 170, 0.1);
|
|
10
|
+
}
|
|
11
|
+
#argb {
|
|
12
|
+
color: argb(rgba(255, 238, 170, 0.1));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#blue {
|
|
17
|
+
#short {
|
|
18
|
+
color: #00f;
|
|
19
|
+
}
|
|
20
|
+
#long {
|
|
21
|
+
color: #0000ff;
|
|
22
|
+
}
|
|
23
|
+
#rgba {
|
|
24
|
+
color: rgba(0, 0, 255, 0.1);
|
|
25
|
+
}
|
|
26
|
+
#argb {
|
|
27
|
+
color: argb(rgba(0, 0, 255, 0.1));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#alpha #hsla {
|
|
32
|
+
color: hsla(11, 20%, 20%, 0.6);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#overflow {
|
|
36
|
+
.a { color: (#111111 - #444444); } // #000000
|
|
37
|
+
.b { color: (#eee + #fff); } // #ffffff
|
|
38
|
+
.c { color: (#aaa * 3); } // #ffffff
|
|
39
|
+
.d { color: (#00ee00 + #009900); } // #00ff00
|
|
40
|
+
.e { color: rgba(-99.9, 31.4159, 321, 0.42); }
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#grey {
|
|
44
|
+
color: rgb(200, 200, 200);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#333333 {
|
|
48
|
+
color: rgb(20%, 20%, 20%);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#808080 {
|
|
52
|
+
color: hsl(50, 0%, 50%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
#00ff00 {
|
|
56
|
+
color: hsl(120, 100%, 50%);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.lightenblue {
|
|
60
|
+
color: lighten(blue, 10%);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.darkenblue {
|
|
64
|
+
color: darken(blue, 10%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.unknowncolors {
|
|
68
|
+
color: blue2;
|
|
69
|
+
border: 2px solid superred;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.transparent {
|
|
73
|
+
color: transparent;
|
|
74
|
+
background-color: rgba(0, 0, 0, 0);
|
|
75
|
+
}
|
|
76
|
+
#alpha {
|
|
77
|
+
@colorvar: rgba(150, 200, 150, 0.7);
|
|
78
|
+
#fromvar {
|
|
79
|
+
opacity: alpha(@colorvar);
|
|
80
|
+
}
|
|
81
|
+
#short {
|
|
82
|
+
opacity: alpha(#aaa);
|
|
83
|
+
}
|
|
84
|
+
#long {
|
|
85
|
+
opacity: alpha(#bababa);
|
|
86
|
+
}
|
|
87
|
+
#rgba {
|
|
88
|
+
opacity: alpha(rgba(50, 120, 95, 0.2));
|
|
89
|
+
}
|
|
90
|
+
#hsl {
|
|
91
|
+
opacity: alpha(hsl(120, 100%, 50%));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
#percentage {
|
|
96
|
+
color: red(rgb(100%, 0, 0));
|
|
97
|
+
border-color: rgba(100%, 0, 0, 50%);
|
|
98
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/******************\
|
|
2
|
+
* *
|
|
3
|
+
* Comment Header *
|
|
4
|
+
* *
|
|
5
|
+
\******************/
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
|
|
9
|
+
Comment
|
|
10
|
+
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
* Comment Test
|
|
15
|
+
*
|
|
16
|
+
* - cloudhead (http://cloudhead.net)
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
////////////////
|
|
21
|
+
@var: "content";
|
|
22
|
+
////////////////
|
|
23
|
+
|
|
24
|
+
/* Colors
|
|
25
|
+
* ------
|
|
26
|
+
* #EDF8FC (background blue)
|
|
27
|
+
* #166C89 (darkest blue)
|
|
28
|
+
*
|
|
29
|
+
* Text:
|
|
30
|
+
* #333 (standard text) // A comment within a comment!
|
|
31
|
+
* #1F9EC9 (standard link)
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/* @group Variables
|
|
36
|
+
------------------- */
|
|
37
|
+
#comments /* boo *//* boo again*/,
|
|
38
|
+
//.commented_out1
|
|
39
|
+
//.commented_out2
|
|
40
|
+
//.commented_out3
|
|
41
|
+
.comments //end of comments1
|
|
42
|
+
//end of comments2
|
|
43
|
+
{
|
|
44
|
+
/**/ // An empty comment
|
|
45
|
+
color: red; /* A C-style comment */ /* A C-style comment */
|
|
46
|
+
background-color: orange; // A little comment
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
|
|
49
|
+
/* lost comment */ content: @var;
|
|
50
|
+
|
|
51
|
+
border: 1px solid black;
|
|
52
|
+
|
|
53
|
+
// padding & margin //
|
|
54
|
+
padding: 0; // }{ '"
|
|
55
|
+
margin: 2em;
|
|
56
|
+
} //
|
|
57
|
+
|
|
58
|
+
/* commented out
|
|
59
|
+
#more-comments {
|
|
60
|
+
color: grey;
|
|
61
|
+
}
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
.selector /* .with */, .lots, /* of */ .comments {
|
|
65
|
+
color/* survive */ /* me too */: grey, /* blue */ orange;
|
|
66
|
+
-webkit-border-radius: 2px /* webkit only */;
|
|
67
|
+
-moz-border-radius: (2px * 4) /* moz only with operation */;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mixin_def_with_colors(@a: white, // in
|
|
71
|
+
@b: 1px //put in @b - causes problems! --->
|
|
72
|
+
) // the
|
|
73
|
+
when (@a = white) {
|
|
74
|
+
.test {
|
|
75
|
+
color: @b;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.mixin_def_with_colors();
|
|
79
|
+
|
|
80
|
+
// .s when
|
|
81
|
+
//R/2
|
|
82
|
+
|
|
83
|
+
.sr-only-focusable {
|
|
84
|
+
clip: auto;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@-webkit-keyframes /* Safari */ hover /* and Chrome */ {
|
|
88
|
+
0% {
|
|
89
|
+
color: red;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
#last { color: blue }
|
|
94
|
+
//
|
|
95
|
+
|
|
96
|
+
/* *//* { *//* *//* *//* */#div { color:#A33; }/* } */
|
|
97
|
+
|
|
98
|
+
// line immediatly followed
|
|
99
|
+
/*by block */
|
|
100
|
+
@string_w_comment: ~"/* // Not commented out // */";
|
|
101
|
+
#output-block { comment: @string_w_comment; }
|
|
102
|
+
/*comment on last line*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@media all and/*! */(max-width:1024px) {}
|
|
2
|
+
@-webkit-keyframes hover /* Safari and Chrome */{ }
|
|
3
|
+
.bg {
|
|
4
|
+
background-image: linear-gradient(#333 /*{comment}*/, #111);
|
|
5
|
+
}
|
|
6
|
+
#planadvisor,
|
|
7
|
+
/*comment*//*comment*/
|
|
8
|
+
.first,/*comment*//*comment*/.planning {
|
|
9
|
+
margin:10px;
|
|
10
|
+
total-width: @total-width;
|
|
11
|
+
}
|
|
12
|
+
@base : 1;
|
|
13
|
+
@column-width : @base * 6em; // Width of column */
|
|
14
|
+
@gutter-width : 2em; // Width of column spacing */
|
|
15
|
+
@columns : 12; // Number of Columns */
|
|
16
|
+
@gridsystem-width : (@column-width * // For calculating the total */
|
|
17
|
+
@columns) + ( // width of the content area. */
|
|
18
|
+
@gutter-width * // We strongly recommend you */
|
|
19
|
+
@columns); // do not change this formula. */
|
|
20
|
+
@total-width : @gridsystem-width; // set to 100% for fluid grid */
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#colours {
|
|
2
|
+
color1: #fea;
|
|
3
|
+
color2: #ffeeaa;
|
|
4
|
+
color3: rgba(255, 238, 170, 0.1);
|
|
5
|
+
@color1: #fea;
|
|
6
|
+
string: "@{color1}";
|
|
7
|
+
/* comments are stripped */
|
|
8
|
+
// both types!
|
|
9
|
+
/*! but not this type
|
|
10
|
+
Note preserved whitespace
|
|
11
|
+
*/
|
|
12
|
+
}
|
|
13
|
+
dimensions {
|
|
14
|
+
val: 0.1px;
|
|
15
|
+
val: 0em;
|
|
16
|
+
val: 4cm;
|
|
17
|
+
val: 0.2;
|
|
18
|
+
val: 5;
|
|
19
|
+
angles-must-have-unit: 0deg;
|
|
20
|
+
durations-must-have-unit: 0s;
|
|
21
|
+
length-doesnt-have-unit: 0px;
|
|
22
|
+
width: auto\9;
|
|
23
|
+
}
|
|
24
|
+
@page {
|
|
25
|
+
marks: none;
|
|
26
|
+
@top-left-corner {
|
|
27
|
+
vertical-align: top;
|
|
28
|
+
}
|
|
29
|
+
@top-left {
|
|
30
|
+
vertical-align: top;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.shadow ^ .dom,
|
|
34
|
+
body ^^ .shadow {
|
|
35
|
+
display: done;
|
|
36
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
.comma-delimited {
|
|
2
|
+
text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
|
|
3
|
+
-moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset,
|
|
4
|
+
0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
|
|
5
|
+
-webkit-transform: rotate(-0.0000000001deg);
|
|
6
|
+
}
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: Headline;
|
|
9
|
+
unicode-range: U+??????, U+0???, U+0-7F, U+A5;
|
|
10
|
+
}
|
|
11
|
+
.other {
|
|
12
|
+
-moz-transform: translate(0, 11em) rotate(-90deg);
|
|
13
|
+
transform: rotateX(45deg);
|
|
14
|
+
}
|
|
15
|
+
.item[data-cra_zy-attr1b-ut3=bold] {
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
}
|
|
18
|
+
p:not([class*="lead"]) {
|
|
19
|
+
color: black;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
input[type="text"].class#id[attr=32]:not(1) {
|
|
23
|
+
color: white;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
div#id.class[a=1][b=2].class:not(1) {
|
|
27
|
+
color: white;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
ul.comma > li:not(:only-child)::after {
|
|
31
|
+
color: white;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
ol.comma > li:nth-last-child(2)::after {
|
|
35
|
+
color: white;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
li:nth-child(4n+1),
|
|
39
|
+
li:nth-child(-5n),
|
|
40
|
+
li:nth-child(-n+2) {
|
|
41
|
+
color: white;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
a[href^="http://"] {
|
|
45
|
+
color: black;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
a[href$="http://"] {
|
|
49
|
+
color: black;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
form[data-disabled] {
|
|
53
|
+
color: black;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
p::before {
|
|
57
|
+
color: black;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#issue322 {
|
|
61
|
+
-webkit-animation: anim2 7s infinite ease-in-out;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@-webkit-keyframes frames {
|
|
65
|
+
0% { border: 1px }
|
|
66
|
+
5.5% { border: 2px }
|
|
67
|
+
100% { border: 3px }
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes fontbulger1 {
|
|
71
|
+
to {
|
|
72
|
+
font-size: 15px;
|
|
73
|
+
}
|
|
74
|
+
from,to {
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
}
|
|
77
|
+
0%,100% {
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.units {
|
|
83
|
+
font: 1.2rem/2rem;
|
|
84
|
+
font: 8vw/9vw;
|
|
85
|
+
font: 10vh/12vh;
|
|
86
|
+
font: 12vm/15vm;
|
|
87
|
+
font: 12vmin/15vmin;
|
|
88
|
+
font: 1.2ch/1.5ch;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@supports ( box-shadow: 2px 2px 2px black ) or
|
|
92
|
+
( -moz-box-shadow: 2px 2px 2px black ) {
|
|
93
|
+
.outline {
|
|
94
|
+
box-shadow: 2px 2px 2px black;
|
|
95
|
+
-moz-box-shadow: 2px 2px 2px black;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@-x-document url-prefix(""github.com"") {
|
|
100
|
+
h1 {
|
|
101
|
+
color: red;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@viewport {
|
|
106
|
+
font-size: 10px;
|
|
107
|
+
}
|
|
108
|
+
@namespace foo url(http://www.example.com);
|
|
109
|
+
|
|
110
|
+
foo|h1 { color: blue; }
|
|
111
|
+
foo|* { color: yellow; }
|
|
112
|
+
|h1 { color: red; }
|
|
113
|
+
*|h1 { color: green; }
|
|
114
|
+
h1 { color: green; }
|
|
115
|
+
.upper-test {
|
|
116
|
+
UpperCaseProperties: allowed;
|
|
117
|
+
}
|
|
118
|
+
@host {
|
|
119
|
+
div {
|
|
120
|
+
display: block;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
::distributed(input::placeholder) {
|
|
124
|
+
color: #b3b3b3;
|
|
125
|
+
}
|
|
126
|
+
.shadow ^ .dom,
|
|
127
|
+
body ^^ .shadow {
|
|
128
|
+
display: done;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:host(.sel .a),
|
|
132
|
+
:host-context(.sel .b),
|
|
133
|
+
.sel /deep/ .b,
|
|
134
|
+
::content .sel {
|
|
135
|
+
type: shadow-dom;
|
|
136
|
+
}
|
|
137
|
+
/deep/ b {
|
|
138
|
+
c: 'd';
|
|
139
|
+
&[e]{
|
|
140
|
+
f: 'g';
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
#issue2066 {
|
|
145
|
+
background: url('/images/icon-team.svg') 0 0 / contain;
|
|
146
|
+
}
|
|
147
|
+
@counter-style triangle {
|
|
148
|
+
system: cyclic;
|
|
149
|
+
symbols: ‣;
|
|
150
|
+
suffix: " ";
|
|
151
|
+
}
|
|
152
|
+
@-ms-viewport{
|
|
153
|
+
//width: auto !important;
|
|
154
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@ugly: fuchsia;
|
|
2
|
+
|
|
3
|
+
.escape\|random\|char {
|
|
4
|
+
color: red;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.mixin\!tUp {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// class="404"
|
|
12
|
+
.\34 04 {
|
|
13
|
+
background: red;
|
|
14
|
+
|
|
15
|
+
strong {
|
|
16
|
+
color: @ugly;
|
|
17
|
+
.mixin\!tUp;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.trailingTest\+ {
|
|
22
|
+
color: red;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* This hideous test of hideousness checks for the selector "blockquote" with various permutations of hex escapes */
|
|
26
|
+
\62\6c\6f \63 \6B \0071 \000075o\74 e {
|
|
27
|
+
color: silver;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[ng\:cloak],
|
|
31
|
+
ng\:form {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
|
|
2
|
+
.light when (lightness(@a) > 50%) {
|
|
3
|
+
color: green;
|
|
4
|
+
}
|
|
5
|
+
.dark when (lightness(@a) < 50%) {
|
|
6
|
+
color: orange;
|
|
7
|
+
}
|
|
8
|
+
@a: #ddd;
|
|
9
|
+
|
|
10
|
+
.see-the {
|
|
11
|
+
@a: #444; // this mirrors what mixins do - they evaluate the guards at the point of definition
|
|
12
|
+
.light();
|
|
13
|
+
.dark();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hide-the {
|
|
17
|
+
.light();
|
|
18
|
+
.dark();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.multiple-conditions-1 when (@b = 1), (@c = 2), (@d = 3) {
|
|
22
|
+
color: red;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.multiple-conditions-2 when (@b = 1), (@c = 2), (@d = 2) {
|
|
26
|
+
color: blue;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@b: 2;
|
|
30
|
+
@c: 3;
|
|
31
|
+
@d: 3;
|
|
32
|
+
|
|
33
|
+
.inheritance when (@b = 2) {
|
|
34
|
+
.test {
|
|
35
|
+
color: black;
|
|
36
|
+
}
|
|
37
|
+
&:hover {
|
|
38
|
+
color: pink;
|
|
39
|
+
}
|
|
40
|
+
.hideme when (@b = 1) {
|
|
41
|
+
color: green;
|
|
42
|
+
}
|
|
43
|
+
& when (@b = 1) {
|
|
44
|
+
hideme: green;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.hideme when (@b = 1) {
|
|
49
|
+
.test {
|
|
50
|
+
color: black;
|
|
51
|
+
}
|
|
52
|
+
&:hover {
|
|
53
|
+
color: pink;
|
|
54
|
+
}
|
|
55
|
+
.hideme when (@b = 1) {
|
|
56
|
+
color: green;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
& when (@b = 1) {
|
|
61
|
+
.hideme {
|
|
62
|
+
color: red;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mixin-with-guard-inside(@colWidth) {
|
|
67
|
+
// selector with guard (applies also to & when() ...)
|
|
68
|
+
.clsWithGuard when (@colWidth <= 0) {
|
|
69
|
+
dispaly: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.mixin-with-guard-inside(0px);
|
|
74
|
+
|
|
75
|
+
.dont-split-me-up {
|
|
76
|
+
width: 1px;
|
|
77
|
+
& when (@c = 3) {
|
|
78
|
+
color: red;
|
|
79
|
+
}
|
|
80
|
+
& when (@c = 3) {
|
|
81
|
+
height: 1px;
|
|
82
|
+
}
|
|
83
|
+
+ & when (@c = 3) { // creates invalid css but tests that we don't fold it in
|
|
84
|
+
sibling: true;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.scope-check when (@c = 3) {
|
|
89
|
+
@k: 1px;
|
|
90
|
+
& when (@c = 3) {
|
|
91
|
+
@k: 2px;
|
|
92
|
+
sub-prop: @k;
|
|
93
|
+
}
|
|
94
|
+
prop: @k;
|
|
95
|
+
}
|
|
96
|
+
.scope-check-2 {
|
|
97
|
+
.scope-check();
|
|
98
|
+
@k:4px;
|
|
99
|
+
}
|
|
100
|
+
.errors-if-called when (@c = never) {
|
|
101
|
+
.mixin-doesnt-exist();
|
|
102
|
+
}
|
|
103
|
+
a:hover when (2 = true) {5:-}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
div { color: black; }
|
|
3
|
+
div { width: 99%; }
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
min-width: 45em;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
h1, h2 > a > p, h3 {
|
|
10
|
+
color: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.class {
|
|
14
|
+
color: blue;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
div#id {
|
|
18
|
+
color: green;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.class#id {
|
|
22
|
+
color: purple;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.one.two.three {
|
|
26
|
+
color: grey;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media print {
|
|
30
|
+
* {
|
|
31
|
+
font-size: 3em;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media screen {
|
|
36
|
+
* {
|
|
37
|
+
font-size: 10px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: 'Garamond Pro';
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
a:hover, a:link {
|
|
46
|
+
color: #999;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
p, p:first-child {
|
|
50
|
+
text-transform: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
q:lang(no) {
|
|
54
|
+
quotes: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
p + h1 {
|
|
58
|
+
font-size: +2.2em;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#shorthands {
|
|
62
|
+
border: 1px solid #000;
|
|
63
|
+
font: 12px/16px Arial;
|
|
64
|
+
font: 100%/16px Arial;
|
|
65
|
+
margin: 1px 0;
|
|
66
|
+
padding: 0 auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
#more-shorthands {
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 1px 0 2px 0;
|
|
72
|
+
font: normal small/20px 'Trebuchet MS', Verdana, sans-serif;
|
|
73
|
+
font: 0/0 a;
|
|
74
|
+
border-radius: 5px / 10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.misc {
|
|
78
|
+
-moz-border-radius: 2px;
|
|
79
|
+
display: -moz-inline-stack;
|
|
80
|
+
width: .1em;
|
|
81
|
+
background-color: #009998;
|
|
82
|
+
background: -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
|
|
83
|
+
margin: ;
|
|
84
|
+
.nested-multiple {
|
|
85
|
+
multiple-semi-colons: yes;;;;;;
|
|
86
|
+
};
|
|
87
|
+
filter: alpha(opacity=100);
|
|
88
|
+
width: auto\9;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#important {
|
|
92
|
+
color: red !important;
|
|
93
|
+
width: 100%!important;
|
|
94
|
+
height: 20px ! important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.def-font(@name) {
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: @name
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.def-font(font-a);
|
|
104
|
+
.def-font(font-b);
|
|
105
|
+
|
|
106
|
+
.æøå {
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|