diff options
| author | Amaury Levé | 2018-06-27 12:38:58 +0200 |
|---|---|---|
| committer | Amaury Levé | 2018-06-27 12:48:29 +0200 |
| commit | 860ff7ee7f818bc0f60d8228670e584b3f6c218b (patch) | |
| tree | c6ae3e122d36bcfa432d81683ee8c0befc3dfd87 /its/plugin/projects/issues-project/src | |
| parent | 364780c6760b452f19f3a52cd4be3a675abacccf (diff) | |
| download | sonar-css-860ff7ee7f818bc0f60d8228670e584b3f6c218b.tar.bz2 | |
FP S4662: SCSS directives
Diffstat (limited to 'its/plugin/projects/issues-project/src')
| -rw-r--r-- | its/plugin/projects/issues-project/src/file3.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/its/plugin/projects/issues-project/src/file3.scss b/its/plugin/projects/issues-project/src/file3.scss index 20c7823..5ceb19c 100644 --- a/its/plugin/projects/issues-project/src/file3.scss +++ b/its/plugin/projects/issues-project/src/file3.scss @@ -61,4 +61,32 @@ unknown { /* S4670 | selecto @media screen and (unknown) { /* S4661 | media-feature-name-no-unknown */ width: 2px; +} + +@mixin adjust-location($x, $y) { + @if unitless($x) { + color: blue; + @debug "" + @warn "" + @error "" + } @else { + color: black; + } +} + +@for $i from 1 through 3 { + .item-#{$i} { width: 2em * $i; } +} + +@each $header, $size in (h1: 2em, h2: 1.5em, h3: 1.2em) { + #{$header} { + font-size: $size; + @include large-text; + } +} + +$i: 6; +@while $i > 0 { + .item-#{$i} { width: 2em * $i; } + $i: $i - 2; }
\ No newline at end of file |
