Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
3.4.7 (Selective Steve)
358898582f9e2aa21eceacbebe6934fe3b0c7da3
o:Sass::Tree::RootNode:@children[o:Sass::Tree::CommentNode
:@value[I"�/*/ 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(right-to-left) {
*/ .right-to-left-block {
*/ @include span-columns(6);
*/ }
*/ }
*/
*/ @example css - CSS Output
*/ .right-to-left-block {
*/ float: right;
*/ ...
*/ } */:ET:
@type:silent;[ :
@linei:
@options{ o:Sass::Tree::MixinDefNode
:
@nameI"direction-context; T:
@args[[o:!Sass::Script::Tree::Variable;I"direction; T:@underscored_nameI"direction; T;i:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position;i:@offseti:
@end_poso;;i;i):
@fileI"3sass/plug-in/neat/grid/_direction-context.scss; T:@importero: Sass::Importers::Filesystem:
@rootI"&/Volumes/Works/htdocs/aiba/public; T:@real_rootI"&/Volumes/Works/htdocs/aiba/public; T:@same_name_warningso:Set:
@hash{ :@filename@;
@o: Sass::Script::Tree::Literal ;o: Sass::Script::Value::String;I"left-to-right; T;
:identifier;
@;i;o; ;o;;i;i+;o;;i;i8;@;@;!@:@splat0;[ o:Sass::Tree::VariableNode
;I"scope-direction; T:
@expro;;I"layout-direction; T;I"layout_direction; T;i;o; ;o;;i;i;o;;i;i+;@;@;!@;
@:
@guarded0:@global0;[ ;i;o; ;o;;i;i ;o;;i;i+;@;@;
@u:Sass::Tree::IfNodeo [o:"Sass::Script::Tree::Operation:@operand1o: Sass::Script::Tree::Funcall:
@nameI"to-lower-case:ET:
@args[o:!Sass::Script::Tree::Variable;I"direction; T:@underscored_nameI"direction; T:
@linei:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position;
i:@offseti:
@end_poso;;
i;i$:
@fileI"3sass/plug-in/neat/grid/_direction-context.scss; T:@importero: Sass::Importers::Filesystem:
@rootI"&/Volumes/Works/htdocs/aiba/public; T:@real_rootI"&/Volumes/Works/htdocs/aiba/public; T:@same_name_warningso:Set:
@hash{ :@filename@:
@options{ :@keywordso:Sass::Util::NormalizedMap:@key_strings{ : @map{ :@splat0:@kwarg_splat0;
i;o; ;o;;
i;i;o;;
i;i%;@;@;@;@:@operand2o: Sass::Script::Tree::Literal :@valueo: Sass::Script::Value::String;&I"left-to-right; T:
@type:string;@;
i;o; ;o;;
i;i);o;;
i;i8;@;@;@:@operator:eq;
i;o; ;@;o;;
i;i9;@;@;@;@u:Sass::Tree::IfNode�[o:"Sass::Script::Tree::Operation:@operand1o: Sass::Script::Tree::Funcall:
@nameI"to-lower-case:ET:
@args[o:!Sass::Script::Tree::Variable;I"direction; T:@underscored_nameI"direction; T:
@linei:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position;
i:@offseti!:
@end_poso;;
i;i+:
@fileI"3sass/plug-in/neat/grid/_direction-context.scss; T:@importero: Sass::Importers::Filesystem:
@rootI"&/Volumes/Works/htdocs/aiba/public; T:@real_rootI"&/Volumes/Works/htdocs/aiba/public; T:@same_name_warningso:Set:
@hash{ :@filename@:
@options{ :@keywordso:Sass::Util::NormalizedMap:@key_strings{ : @map{ :@splat0:@kwarg_splat0;
i;o; ;o;;
i;i;o;;
i;i,;@;@;@;@:@operand2o: Sass::Script::Tree::Literal :@valueo: Sass::Script::Value::String;&I"right-to-left; T:
@type:string;@;
i;o; ;o;;
i;i0;o;;
i;i?;@;@;@:@operator:eq;
i;o; ;@;o;;
i;i@;@;@;@;@0[o:Sass::Tree::VariableNode
;I"layout-direction; T:
@expro;% ;&o;';&I"RTL; T;(:identifier;@;
i;o; ;o;;
i;i;o;;
i;i ;@;@;@:
@guarded0:@globalT:@children[ ;
i;o; ;o;;
i;i;o;;
i;i(;@;@;@[o:Sass::Tree::VariableNode
;I"layout-direction; T:
@expro;% ;&o;';&I"LTR; T;(:identifier;@;
i;o; ;o;;
i;i;o;;
i;i ;@;@;@:
@guarded0:@globalT:@children[ ;
i;o; ;o;;
i;i;o;;
i;i(;@;@;@o:Sass::Tree::ContentNode ;[ ;i!;o; ;o;;i!;i;o;;i!;i;@;@;
@o;&
;I"layout-direction; T;'o;;I"scope-direction; T;I"scope_direction; T;i#;o; ;o;;i#;i;o;;i#;i+;@;@;!@;
@;(0;)T;[ ;i#;o; ;o;;i#;i ;o;;i#;i3;@;@;
@;i;o; ;o;;i;i;o;;i;i:;@;@:@has_childrenT;
@:@templateI"M/// 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(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;
}
; T;i;o; ;o;;i;i;o;;i;i;@;@;,T;
@
|
Revision |
Author |
Commited |
Message |
1464
|
MOliva
|
Tue 13 Oct, 2020 11:16:56 +0000 |
|