dashy 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/_dashy.scss +1 -14
- data/app/assets/stylesheets/dashy/_select.scss +3 -121
- data/app/assets/stylesheets/dashy/_set.scss +3 -76
- data/app/assets/stylesheets/dashy/all/_clears.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_corners.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_dimensions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_directions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_displays.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_orientations.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_overflows.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_positions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/_sides.scss +2 -0
- data/app/assets/stylesheets/dashy/all/font/_styles.scss +1 -0
- data/app/assets/stylesheets/dashy/all/font/_weights.scss +1 -0
- data/app/assets/stylesheets/dashy/all/horizontal/_dimensions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/horizontal/_directions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/horizontal/_sides.scss +1 -0
- data/app/assets/stylesheets/dashy/all/text/_aligns.scss +1 -0
- data/app/assets/stylesheets/dashy/all/text/_decorations.scss +1 -0
- data/app/assets/stylesheets/dashy/all/text/_inputs.scss +1 -0
- data/app/assets/stylesheets/dashy/all/text/_transforms.scss +1 -0
- data/app/assets/stylesheets/dashy/all/vertical/_aligns.scss +1 -0
- data/app/assets/stylesheets/dashy/all/vertical/_dimensions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/vertical/_directions.scss +1 -0
- data/app/assets/stylesheets/dashy/all/vertical/_sides.scss +1 -0
- data/app/assets/stylesheets/dashy/default/font/_size.scss +1 -0
- data/app/assets/stylesheets/dashy/default/line/_height.scss +1 -0
- data/app/assets/stylesheets/dashy/default/page/_width.scss +1 -0
- data/app/assets/stylesheets/dashy/default/text/_align.scss +1 -0
- data/app/assets/stylesheets/dashy/default/vertical/_align.scss +1 -0
- data/app/assets/stylesheets/dashy/define/_append.scss +53 -0
- data/app/assets/stylesheets/dashy/define/_backspace.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_clear.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_display.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_float.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_gutter.scss +21 -0
- data/app/assets/stylesheets/dashy/define/_height.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_inner.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_opacity.scss +53 -0
- data/app/assets/stylesheets/dashy/define/_outer.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_overflow.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_pad.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_position.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_prepend.scss +53 -0
- data/app/assets/stylesheets/dashy/define/_pull.scss +17 -0
- data/app/assets/stylesheets/dashy/define/_push.scss +22 -0
- data/app/assets/stylesheets/dashy/define/_space.scss +15 -0
- data/app/assets/stylesheets/dashy/define/_width.scss +53 -0
- data/app/assets/stylesheets/dashy/define/column/_count.scss +15 -0
- data/app/assets/stylesheets/dashy/define/column/_fill.scss +15 -0
- data/app/assets/stylesheets/dashy/define/column/_gap.scss +15 -0
- data/app/assets/stylesheets/dashy/define/column/break/_inside.scss +15 -0
- data/app/assets/stylesheets/dashy/define/font/_size.scss +15 -0
- data/app/assets/stylesheets/dashy/define/font/_style.scss +15 -0
- data/app/assets/stylesheets/dashy/define/font/_weight.scss +15 -0
- data/app/assets/stylesheets/dashy/define/line/_height.scss +17 -0
- data/app/assets/stylesheets/dashy/define/max/_height.scss +15 -0
- data/app/assets/stylesheets/dashy/define/max/_width.scss +15 -0
- data/app/assets/stylesheets/dashy/define/min/_height.scss +15 -0
- data/app/assets/stylesheets/dashy/define/min/_width.scss +15 -0
- data/app/assets/stylesheets/dashy/define/text/_align.scss +15 -0
- data/app/assets/stylesheets/dashy/define/text/_color.scss +15 -0
- data/app/assets/stylesheets/dashy/define/text/_decoration.scss +15 -0
- data/app/assets/stylesheets/dashy/define/text/_transform.scss +15 -0
- data/app/assets/stylesheets/dashy/define/vertical/_align.scss +15 -0
- data/app/assets/stylesheets/dashy/get/_direction.scss +6 -0
- data/app/assets/stylesheets/dashy/get/_side.scss +11 -0
- data/app/assets/stylesheets/dashy/get/opposite/_corner.scss +6 -0
- data/app/assets/stylesheets/dashy/get/opposite/_direction.scss +6 -0
- data/app/assets/stylesheets/dashy/get/opposite/_side.scss +6 -0
- data/app/assets/stylesheets/dashy/initialize/_pull.scss +14 -0
- data/app/assets/stylesheets/dashy/initialize/_push.scss +14 -0
- data/app/assets/stylesheets/dashy/is/_blank.scss +5 -0
- data/app/assets/stylesheets/dashy/is/_boolean.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_color.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_em.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_empty.scss +5 -0
- data/app/assets/stylesheets/dashy/is/_ex.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_list.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_nothing.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_null.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_number.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_percentage.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_px.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_rem.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_round.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_something.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_string.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_unit.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_unitful.scss +4 -0
- data/app/assets/stylesheets/dashy/is/_unitless.scss +4 -0
- data/app/assets/stylesheets/dashy/list/_append.scss +4 -0
- data/app/assets/stylesheets/dashy/list/_first.scss +4 -0
- data/app/assets/stylesheets/dashy/list/_last.scss +4 -0
- data/app/assets/stylesheets/dashy/list/_length.scss +4 -0
- data/app/assets/stylesheets/dashy/list/_nth.scss +5 -0
- data/app/assets/stylesheets/dashy/list/_second.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_approximate.scss +14 -0
- data/app/assets/stylesheets/dashy/number/_ceiling.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_decimal.scss +7 -0
- data/app/assets/stylesheets/dashy/number/_floor.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_fractional.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_integral.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_of.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_one.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_round.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_squared.scss +4 -0
- data/app/assets/stylesheets/dashy/number/_unit.scss +4 -0
- data/app/assets/stylesheets/dashy/select/_as.scss +0 -0
- data/app/assets/stylesheets/dashy/select/_attribute.scss +11 -0
- data/app/assets/stylesheets/dashy/select/_buttons.scss +14 -0
- data/app/assets/stylesheets/dashy/select/_children.scss +4 -0
- data/app/assets/stylesheets/dashy/select/_class.scss +9 -0
- data/app/assets/stylesheets/dashy/select/_descendants.scss +4 -0
- data/app/assets/stylesheets/dashy/select/_either.scss +0 -0
- data/app/assets/stylesheets/dashy/select/_following.scss +4 -0
- data/app/assets/stylesheets/dashy/select/_inputs.scss +9 -0
- data/app/assets/stylesheets/dashy/select/_lists.scss +9 -0
- data/app/assets/stylesheets/dashy/select/_next.scss +4 -0
- data/app/assets/stylesheets/dashy/select/_pseudoclass.scss +0 -0
- data/app/assets/stylesheets/dashy/select/_tables.scss +9 -0
- data/app/assets/stylesheets/dashy/select/_tabloids.scss +9 -0
- data/app/assets/stylesheets/dashy/select/as/_children.scss +4 -0
- data/app/assets/stylesheets/dashy/select/as/_descendants.scss +4 -0
- data/app/assets/stylesheets/dashy/select/as/_following.scss +4 -0
- data/app/assets/stylesheets/dashy/select/as/_next.scss +4 -0
- data/app/assets/stylesheets/dashy/select/attribute/_prefix.scss +9 -0
- data/app/assets/stylesheets/dashy/select/attribute/_suffix.scss +9 -0
- data/app/assets/stylesheets/dashy/select/class/_prefix.scss +9 -0
- data/app/assets/stylesheets/dashy/select/class/_suffix.scss +4 -0
- data/app/assets/stylesheets/dashy/select/list/_items.scss +9 -0
- data/app/assets/stylesheets/dashy/select/lists/_items.scss +9 -0
- data/app/assets/stylesheets/dashy/select/table/_cells.scss +9 -0
- data/app/assets/stylesheets/dashy/select/table/_groups.scss +4 -0
- data/app/assets/stylesheets/dashy/select/table/_rows.scss +4 -0
- data/app/assets/stylesheets/dashy/select/table/groups/_rows.scss +4 -0
- data/app/assets/stylesheets/dashy/select/table/groups/rows/_cells.scss +4 -0
- data/app/assets/stylesheets/dashy/select/tabloids/_rows.scss +10 -0
- data/app/assets/stylesheets/dashy/select/tabloids/rows/_cells.scss +9 -0
- data/app/assets/stylesheets/dashy/select/text/_inputs.scss +11 -0
- data/app/assets/stylesheets/dashy/set/_animation.scss +10 -0
- data/app/assets/stylesheets/dashy/set/_append.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_backspace.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_clear.scss +13 -0
- data/app/assets/stylesheets/dashy/set/_display.scss +11 -0
- data/app/assets/stylesheets/dashy/set/_float.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_height.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_inner.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_keyframes.scss +7 -0
- data/app/assets/stylesheets/dashy/set/_margin.scss +5 -0
- data/app/assets/stylesheets/dashy/set/_opacity.scss +9 -0
- data/app/assets/stylesheets/dashy/set/_outer.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_overflow.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_pad.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_padding.scss +5 -0
- data/app/assets/stylesheets/dashy/set/_position.scss +11 -0
- data/app/assets/stylesheets/dashy/set/_prepend.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_pull.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_push.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_rem.scss +5 -0
- data/app/assets/stylesheets/dashy/set/_rgb.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_rgba.scss +8 -0
- data/app/assets/stylesheets/dashy/set/_space.scss +4 -0
- data/app/assets/stylesheets/dashy/set/_transition.scss +7 -0
- data/app/assets/stylesheets/dashy/set/_tweening.scss +5 -0
- data/app/assets/stylesheets/dashy/set/_width.scss +4 -0
- data/app/assets/stylesheets/dashy/set/background/gradient.scss +37 -0
- data/app/assets/stylesheets/dashy/set/border/_radius.scss +6 -0
- data/app/assets/stylesheets/dashy/set/box/_shadow.scss +6 -0
- data/app/assets/stylesheets/dashy/set/box/_sizing.scss +6 -0
- data/app/assets/stylesheets/dashy/set/column/_count.scss +6 -0
- data/app/assets/stylesheets/dashy/set/column/_fill.scss +6 -0
- data/app/assets/stylesheets/dashy/set/column/_gap.scss +6 -0
- data/app/assets/stylesheets/dashy/set/column/break/_inside.scss +6 -0
- data/app/assets/stylesheets/dashy/set/font/_size.scss +4 -0
- data/app/assets/stylesheets/dashy/set/font/_style.scss +4 -0
- data/app/assets/stylesheets/dashy/set/font/_weight.scss +4 -0
- data/app/assets/stylesheets/dashy/set/line/_height.scss +4 -0
- data/app/assets/stylesheets/dashy/set/max/_height.scss +4 -0
- data/app/assets/stylesheets/dashy/set/max/_width.scss +4 -0
- data/app/assets/stylesheets/dashy/set/min/_height.scss +7 -0
- data/app/assets/stylesheets/dashy/set/min/_width.scss +4 -0
- data/app/assets/stylesheets/dashy/set/text/_align.scss +4 -0
- data/app/assets/stylesheets/dashy/set/text/_color.scss +4 -0
- data/app/assets/stylesheets/dashy/set/text/_decoration.scss +4 -0
- data/app/assets/stylesheets/dashy/set/text/_transform.scss +4 -0
- data/app/assets/stylesheets/dashy/set/vertical/_align.scss +4 -0
- data/app/assets/stylesheets/dashy/string/_hyphenate.scss +4 -0
- data/app/assets/stylesheets/dashy/string/_join.scss +0 -0
- data/app/assets/stylesheets/dashy/to/_dimension.scss +11 -0
- data/app/assets/stylesheets/dashy/to/_fraction.scss +12 -0
- data/app/assets/stylesheets/dashy/to/_number.scss +9 -0
- data/app/assets/stylesheets/dashy/to/_orientation.scss +11 -0
- data/app/assets/stylesheets/dashy/to/_percentage.scss +9 -0
- data/app/assets/stylesheets/dashy/to/_px.scss +9 -0
- data/app/assets/stylesheets/dashy/to/_unitless.scss +4 -0
- data/lib/dashy/version.rb +1 -1
- data/lib/dashy.rb +1 -0
- data/lib/sass/script/functions/dashy.rb +80 -271
- data/lib/sass/script/value/string/dashy.rb +25 -0
- metadata +197 -15
- data/app/assets/stylesheets/dashy/_color.scss +0 -5
- data/app/assets/stylesheets/dashy/_corner.scss +0 -15
- data/app/assets/stylesheets/dashy/_default.scss +0 -14
- data/app/assets/stylesheets/dashy/_define.scss +0 -158
- data/app/assets/stylesheets/dashy/_direction.scss +0 -36
- data/app/assets/stylesheets/dashy/_font-family.scss +0 -36
- data/app/assets/stylesheets/dashy/_is.scss +0 -81
- data/app/assets/stylesheets/dashy/_line-height.scss +0 -10
- data/app/assets/stylesheets/dashy/_list.scss +0 -161
- data/app/assets/stylesheets/dashy/_number.scss +0 -79
- data/app/assets/stylesheets/dashy/_opposite.scss +0 -36
- data/app/assets/stylesheets/dashy/_side.scss +0 -23
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dashy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Goldsmith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -82,20 +82,201 @@ files:
|
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
84
|
- app/assets/stylesheets/_dashy.scss
|
85
|
-
- app/assets/stylesheets/dashy/_color.scss
|
86
|
-
- app/assets/stylesheets/dashy/_corner.scss
|
87
|
-
- app/assets/stylesheets/dashy/_default.scss
|
88
|
-
- app/assets/stylesheets/dashy/_define.scss
|
89
|
-
- app/assets/stylesheets/dashy/_direction.scss
|
90
|
-
- app/assets/stylesheets/dashy/_font-family.scss
|
91
|
-
- app/assets/stylesheets/dashy/_is.scss
|
92
|
-
- app/assets/stylesheets/dashy/_line-height.scss
|
93
|
-
- app/assets/stylesheets/dashy/_list.scss
|
94
|
-
- app/assets/stylesheets/dashy/_number.scss
|
95
|
-
- app/assets/stylesheets/dashy/_opposite.scss
|
96
85
|
- app/assets/stylesheets/dashy/_select.scss
|
97
86
|
- app/assets/stylesheets/dashy/_set.scss
|
98
|
-
- app/assets/stylesheets/dashy/
|
87
|
+
- app/assets/stylesheets/dashy/all/_clears.scss
|
88
|
+
- app/assets/stylesheets/dashy/all/_corners.scss
|
89
|
+
- app/assets/stylesheets/dashy/all/_dimensions.scss
|
90
|
+
- app/assets/stylesheets/dashy/all/_directions.scss
|
91
|
+
- app/assets/stylesheets/dashy/all/_displays.scss
|
92
|
+
- app/assets/stylesheets/dashy/all/_orientations.scss
|
93
|
+
- app/assets/stylesheets/dashy/all/_overflows.scss
|
94
|
+
- app/assets/stylesheets/dashy/all/_positions.scss
|
95
|
+
- app/assets/stylesheets/dashy/all/_sides.scss
|
96
|
+
- app/assets/stylesheets/dashy/all/font/_styles.scss
|
97
|
+
- app/assets/stylesheets/dashy/all/font/_weights.scss
|
98
|
+
- app/assets/stylesheets/dashy/all/horizontal/_dimensions.scss
|
99
|
+
- app/assets/stylesheets/dashy/all/horizontal/_directions.scss
|
100
|
+
- app/assets/stylesheets/dashy/all/horizontal/_sides.scss
|
101
|
+
- app/assets/stylesheets/dashy/all/text/_aligns.scss
|
102
|
+
- app/assets/stylesheets/dashy/all/text/_decorations.scss
|
103
|
+
- app/assets/stylesheets/dashy/all/text/_inputs.scss
|
104
|
+
- app/assets/stylesheets/dashy/all/text/_transforms.scss
|
105
|
+
- app/assets/stylesheets/dashy/all/vertical/_aligns.scss
|
106
|
+
- app/assets/stylesheets/dashy/all/vertical/_dimensions.scss
|
107
|
+
- app/assets/stylesheets/dashy/all/vertical/_directions.scss
|
108
|
+
- app/assets/stylesheets/dashy/all/vertical/_sides.scss
|
109
|
+
- app/assets/stylesheets/dashy/default/font/_size.scss
|
110
|
+
- app/assets/stylesheets/dashy/default/line/_height.scss
|
111
|
+
- app/assets/stylesheets/dashy/default/page/_width.scss
|
112
|
+
- app/assets/stylesheets/dashy/default/text/_align.scss
|
113
|
+
- app/assets/stylesheets/dashy/default/vertical/_align.scss
|
114
|
+
- app/assets/stylesheets/dashy/define/_append.scss
|
115
|
+
- app/assets/stylesheets/dashy/define/_backspace.scss
|
116
|
+
- app/assets/stylesheets/dashy/define/_clear.scss
|
117
|
+
- app/assets/stylesheets/dashy/define/_display.scss
|
118
|
+
- app/assets/stylesheets/dashy/define/_float.scss
|
119
|
+
- app/assets/stylesheets/dashy/define/_gutter.scss
|
120
|
+
- app/assets/stylesheets/dashy/define/_height.scss
|
121
|
+
- app/assets/stylesheets/dashy/define/_inner.scss
|
122
|
+
- app/assets/stylesheets/dashy/define/_opacity.scss
|
123
|
+
- app/assets/stylesheets/dashy/define/_outer.scss
|
124
|
+
- app/assets/stylesheets/dashy/define/_overflow.scss
|
125
|
+
- app/assets/stylesheets/dashy/define/_pad.scss
|
126
|
+
- app/assets/stylesheets/dashy/define/_position.scss
|
127
|
+
- app/assets/stylesheets/dashy/define/_prepend.scss
|
128
|
+
- app/assets/stylesheets/dashy/define/_pull.scss
|
129
|
+
- app/assets/stylesheets/dashy/define/_push.scss
|
130
|
+
- app/assets/stylesheets/dashy/define/_space.scss
|
131
|
+
- app/assets/stylesheets/dashy/define/_width.scss
|
132
|
+
- app/assets/stylesheets/dashy/define/column/_count.scss
|
133
|
+
- app/assets/stylesheets/dashy/define/column/_fill.scss
|
134
|
+
- app/assets/stylesheets/dashy/define/column/_gap.scss
|
135
|
+
- app/assets/stylesheets/dashy/define/column/break/_inside.scss
|
136
|
+
- app/assets/stylesheets/dashy/define/font/_size.scss
|
137
|
+
- app/assets/stylesheets/dashy/define/font/_style.scss
|
138
|
+
- app/assets/stylesheets/dashy/define/font/_weight.scss
|
139
|
+
- app/assets/stylesheets/dashy/define/line/_height.scss
|
140
|
+
- app/assets/stylesheets/dashy/define/max/_height.scss
|
141
|
+
- app/assets/stylesheets/dashy/define/max/_width.scss
|
142
|
+
- app/assets/stylesheets/dashy/define/min/_height.scss
|
143
|
+
- app/assets/stylesheets/dashy/define/min/_width.scss
|
144
|
+
- app/assets/stylesheets/dashy/define/text/_align.scss
|
145
|
+
- app/assets/stylesheets/dashy/define/text/_color.scss
|
146
|
+
- app/assets/stylesheets/dashy/define/text/_decoration.scss
|
147
|
+
- app/assets/stylesheets/dashy/define/text/_transform.scss
|
148
|
+
- app/assets/stylesheets/dashy/define/vertical/_align.scss
|
149
|
+
- app/assets/stylesheets/dashy/get/_direction.scss
|
150
|
+
- app/assets/stylesheets/dashy/get/_side.scss
|
151
|
+
- app/assets/stylesheets/dashy/get/opposite/_corner.scss
|
152
|
+
- app/assets/stylesheets/dashy/get/opposite/_direction.scss
|
153
|
+
- app/assets/stylesheets/dashy/get/opposite/_side.scss
|
154
|
+
- app/assets/stylesheets/dashy/initialize/_pull.scss
|
155
|
+
- app/assets/stylesheets/dashy/initialize/_push.scss
|
156
|
+
- app/assets/stylesheets/dashy/is/_blank.scss
|
157
|
+
- app/assets/stylesheets/dashy/is/_boolean.scss
|
158
|
+
- app/assets/stylesheets/dashy/is/_color.scss
|
159
|
+
- app/assets/stylesheets/dashy/is/_em.scss
|
160
|
+
- app/assets/stylesheets/dashy/is/_empty.scss
|
161
|
+
- app/assets/stylesheets/dashy/is/_ex.scss
|
162
|
+
- app/assets/stylesheets/dashy/is/_list.scss
|
163
|
+
- app/assets/stylesheets/dashy/is/_nothing.scss
|
164
|
+
- app/assets/stylesheets/dashy/is/_null.scss
|
165
|
+
- app/assets/stylesheets/dashy/is/_number.scss
|
166
|
+
- app/assets/stylesheets/dashy/is/_percentage.scss
|
167
|
+
- app/assets/stylesheets/dashy/is/_px.scss
|
168
|
+
- app/assets/stylesheets/dashy/is/_rem.scss
|
169
|
+
- app/assets/stylesheets/dashy/is/_round.scss
|
170
|
+
- app/assets/stylesheets/dashy/is/_something.scss
|
171
|
+
- app/assets/stylesheets/dashy/is/_string.scss
|
172
|
+
- app/assets/stylesheets/dashy/is/_unit.scss
|
173
|
+
- app/assets/stylesheets/dashy/is/_unitful.scss
|
174
|
+
- app/assets/stylesheets/dashy/is/_unitless.scss
|
175
|
+
- app/assets/stylesheets/dashy/list/_append.scss
|
176
|
+
- app/assets/stylesheets/dashy/list/_first.scss
|
177
|
+
- app/assets/stylesheets/dashy/list/_last.scss
|
178
|
+
- app/assets/stylesheets/dashy/list/_length.scss
|
179
|
+
- app/assets/stylesheets/dashy/list/_nth.scss
|
180
|
+
- app/assets/stylesheets/dashy/list/_second.scss
|
181
|
+
- app/assets/stylesheets/dashy/number/_approximate.scss
|
182
|
+
- app/assets/stylesheets/dashy/number/_ceiling.scss
|
183
|
+
- app/assets/stylesheets/dashy/number/_decimal.scss
|
184
|
+
- app/assets/stylesheets/dashy/number/_floor.scss
|
185
|
+
- app/assets/stylesheets/dashy/number/_fractional.scss
|
186
|
+
- app/assets/stylesheets/dashy/number/_integral.scss
|
187
|
+
- app/assets/stylesheets/dashy/number/_of.scss
|
188
|
+
- app/assets/stylesheets/dashy/number/_one.scss
|
189
|
+
- app/assets/stylesheets/dashy/number/_round.scss
|
190
|
+
- app/assets/stylesheets/dashy/number/_squared.scss
|
191
|
+
- app/assets/stylesheets/dashy/number/_unit.scss
|
192
|
+
- app/assets/stylesheets/dashy/select/_as.scss
|
193
|
+
- app/assets/stylesheets/dashy/select/_attribute.scss
|
194
|
+
- app/assets/stylesheets/dashy/select/_buttons.scss
|
195
|
+
- app/assets/stylesheets/dashy/select/_children.scss
|
196
|
+
- app/assets/stylesheets/dashy/select/_class.scss
|
197
|
+
- app/assets/stylesheets/dashy/select/_descendants.scss
|
198
|
+
- app/assets/stylesheets/dashy/select/_either.scss
|
199
|
+
- app/assets/stylesheets/dashy/select/_following.scss
|
200
|
+
- app/assets/stylesheets/dashy/select/_inputs.scss
|
201
|
+
- app/assets/stylesheets/dashy/select/_lists.scss
|
202
|
+
- app/assets/stylesheets/dashy/select/_next.scss
|
203
|
+
- app/assets/stylesheets/dashy/select/_pseudoclass.scss
|
204
|
+
- app/assets/stylesheets/dashy/select/_tables.scss
|
205
|
+
- app/assets/stylesheets/dashy/select/_tabloids.scss
|
206
|
+
- app/assets/stylesheets/dashy/select/as/_children.scss
|
207
|
+
- app/assets/stylesheets/dashy/select/as/_descendants.scss
|
208
|
+
- app/assets/stylesheets/dashy/select/as/_following.scss
|
209
|
+
- app/assets/stylesheets/dashy/select/as/_next.scss
|
210
|
+
- app/assets/stylesheets/dashy/select/attribute/_prefix.scss
|
211
|
+
- app/assets/stylesheets/dashy/select/attribute/_suffix.scss
|
212
|
+
- app/assets/stylesheets/dashy/select/class/_prefix.scss
|
213
|
+
- app/assets/stylesheets/dashy/select/class/_suffix.scss
|
214
|
+
- app/assets/stylesheets/dashy/select/list/_items.scss
|
215
|
+
- app/assets/stylesheets/dashy/select/lists/_items.scss
|
216
|
+
- app/assets/stylesheets/dashy/select/table/_cells.scss
|
217
|
+
- app/assets/stylesheets/dashy/select/table/_groups.scss
|
218
|
+
- app/assets/stylesheets/dashy/select/table/_rows.scss
|
219
|
+
- app/assets/stylesheets/dashy/select/table/groups/_rows.scss
|
220
|
+
- app/assets/stylesheets/dashy/select/table/groups/rows/_cells.scss
|
221
|
+
- app/assets/stylesheets/dashy/select/tabloids/_rows.scss
|
222
|
+
- app/assets/stylesheets/dashy/select/tabloids/rows/_cells.scss
|
223
|
+
- app/assets/stylesheets/dashy/select/text/_inputs.scss
|
224
|
+
- app/assets/stylesheets/dashy/set/_animation.scss
|
225
|
+
- app/assets/stylesheets/dashy/set/_append.scss
|
226
|
+
- app/assets/stylesheets/dashy/set/_backspace.scss
|
227
|
+
- app/assets/stylesheets/dashy/set/_clear.scss
|
228
|
+
- app/assets/stylesheets/dashy/set/_display.scss
|
229
|
+
- app/assets/stylesheets/dashy/set/_float.scss
|
230
|
+
- app/assets/stylesheets/dashy/set/_height.scss
|
231
|
+
- app/assets/stylesheets/dashy/set/_inner.scss
|
232
|
+
- app/assets/stylesheets/dashy/set/_keyframes.scss
|
233
|
+
- app/assets/stylesheets/dashy/set/_margin.scss
|
234
|
+
- app/assets/stylesheets/dashy/set/_opacity.scss
|
235
|
+
- app/assets/stylesheets/dashy/set/_outer.scss
|
236
|
+
- app/assets/stylesheets/dashy/set/_overflow.scss
|
237
|
+
- app/assets/stylesheets/dashy/set/_pad.scss
|
238
|
+
- app/assets/stylesheets/dashy/set/_padding.scss
|
239
|
+
- app/assets/stylesheets/dashy/set/_position.scss
|
240
|
+
- app/assets/stylesheets/dashy/set/_prepend.scss
|
241
|
+
- app/assets/stylesheets/dashy/set/_pull.scss
|
242
|
+
- app/assets/stylesheets/dashy/set/_push.scss
|
243
|
+
- app/assets/stylesheets/dashy/set/_rem.scss
|
244
|
+
- app/assets/stylesheets/dashy/set/_rgb.scss
|
245
|
+
- app/assets/stylesheets/dashy/set/_rgba.scss
|
246
|
+
- app/assets/stylesheets/dashy/set/_space.scss
|
247
|
+
- app/assets/stylesheets/dashy/set/_transition.scss
|
248
|
+
- app/assets/stylesheets/dashy/set/_tweening.scss
|
249
|
+
- app/assets/stylesheets/dashy/set/_width.scss
|
250
|
+
- app/assets/stylesheets/dashy/set/background/gradient.scss
|
251
|
+
- app/assets/stylesheets/dashy/set/border/_radius.scss
|
252
|
+
- app/assets/stylesheets/dashy/set/box/_shadow.scss
|
253
|
+
- app/assets/stylesheets/dashy/set/box/_sizing.scss
|
254
|
+
- app/assets/stylesheets/dashy/set/column/_count.scss
|
255
|
+
- app/assets/stylesheets/dashy/set/column/_fill.scss
|
256
|
+
- app/assets/stylesheets/dashy/set/column/_gap.scss
|
257
|
+
- app/assets/stylesheets/dashy/set/column/break/_inside.scss
|
258
|
+
- app/assets/stylesheets/dashy/set/font/_size.scss
|
259
|
+
- app/assets/stylesheets/dashy/set/font/_style.scss
|
260
|
+
- app/assets/stylesheets/dashy/set/font/_weight.scss
|
261
|
+
- app/assets/stylesheets/dashy/set/line/_height.scss
|
262
|
+
- app/assets/stylesheets/dashy/set/max/_height.scss
|
263
|
+
- app/assets/stylesheets/dashy/set/max/_width.scss
|
264
|
+
- app/assets/stylesheets/dashy/set/min/_height.scss
|
265
|
+
- app/assets/stylesheets/dashy/set/min/_width.scss
|
266
|
+
- app/assets/stylesheets/dashy/set/text/_align.scss
|
267
|
+
- app/assets/stylesheets/dashy/set/text/_color.scss
|
268
|
+
- app/assets/stylesheets/dashy/set/text/_decoration.scss
|
269
|
+
- app/assets/stylesheets/dashy/set/text/_transform.scss
|
270
|
+
- app/assets/stylesheets/dashy/set/vertical/_align.scss
|
271
|
+
- app/assets/stylesheets/dashy/string/_hyphenate.scss
|
272
|
+
- app/assets/stylesheets/dashy/string/_join.scss
|
273
|
+
- app/assets/stylesheets/dashy/to/_dimension.scss
|
274
|
+
- app/assets/stylesheets/dashy/to/_fraction.scss
|
275
|
+
- app/assets/stylesheets/dashy/to/_number.scss
|
276
|
+
- app/assets/stylesheets/dashy/to/_orientation.scss
|
277
|
+
- app/assets/stylesheets/dashy/to/_percentage.scss
|
278
|
+
- app/assets/stylesheets/dashy/to/_px.scss
|
279
|
+
- app/assets/stylesheets/dashy/to/_unitless.scss
|
99
280
|
- bin/dashy
|
100
281
|
- dashy.gemspec
|
101
282
|
- dashy.json
|
@@ -104,6 +285,7 @@ files:
|
|
104
285
|
- lib/dashy/generator.rb
|
105
286
|
- lib/dashy/version.rb
|
106
287
|
- lib/sass/script/functions/dashy.rb
|
288
|
+
- lib/sass/script/value/string/dashy.rb
|
107
289
|
- lib/tasks/install.rake
|
108
290
|
- package.json
|
109
291
|
- sache.json
|
@@ -127,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
309
|
version: '0'
|
128
310
|
requirements: []
|
129
311
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
312
|
+
rubygems_version: 2.2.2
|
131
313
|
signing_key:
|
132
314
|
specification_version: 4
|
133
315
|
summary: Selector combinators and other helpers for Sass.
|
@@ -1,15 +0,0 @@
|
|
1
|
-
@import "dashy/list";
|
2
|
-
|
3
|
-
$corners: top-left top-right bottom-right bottom-left;
|
4
|
-
|
5
|
-
$corners-moz:
|
6
|
-
(top-left topleft)
|
7
|
-
(top-right topright)
|
8
|
-
(bottom-left bottomleft)
|
9
|
-
(bottom-right bottomright)
|
10
|
-
;
|
11
|
-
|
12
|
-
@function corner-moz($corner)
|
13
|
-
{
|
14
|
-
@return list-lookup($corners-moz, $corner);
|
15
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
$default-font-size: 16px !default;
|
2
|
-
$default-line-height: 1.618 !default;
|
3
|
-
$default-text-align: left !default;
|
4
|
-
$default-vertical-align: top !default;
|
5
|
-
|
6
|
-
$default-grid-gutter-width: 2.5% !default;
|
7
|
-
$default-grid-gutter-widths: default !default;
|
8
|
-
$default-grid-gutter-height-ratio: "0" !default;
|
9
|
-
$default-grid-gutter-height-ratios: default "1/1" "1/2" "1/3" "1/4" !default;
|
10
|
-
|
11
|
-
$default-limit-odd: 19 !default;
|
12
|
-
$default-limit-even: 20 !default;
|
13
|
-
|
14
|
-
$default-page-width: 840px !default;
|
@@ -1,158 +0,0 @@
|
|
1
|
-
@mixin define-box($selector, $position:(), $top:(), $left:(), $right:(), $bottom:(), $width:(), $height:$width)
|
2
|
-
{
|
3
|
-
#{ $selector }
|
4
|
-
{
|
5
|
-
@if is($top) { top : $top ; }
|
6
|
-
@if is($left) { top : $left ; }
|
7
|
-
@if is($right) { top : $right ; }
|
8
|
-
@if is($bottom) { top : $bottom ; }
|
9
|
-
@if is($position) { position : $position ; }
|
10
|
-
@if is($height) { height : $height ; }
|
11
|
-
@if is($width) { width : $width ; }
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
@mixin define-bar($selector, $width:(), $height:())
|
16
|
-
{
|
17
|
-
#{ select($selector) }
|
18
|
-
{
|
19
|
-
@if is($height) { height : $height ; }
|
20
|
-
@if is($width) { width : $width ; }
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
@mixin define-positioned-bar($selector, $top:(), $left:(), $right:(), $bottom:(), $width:(), $height:())
|
25
|
-
{
|
26
|
-
@include define-bar($selector:$selector, $width:$width, $height:$height)
|
27
|
-
{
|
28
|
-
@if is($top) { top : $top ; }
|
29
|
-
@if is($left) { top : $left ; }
|
30
|
-
@if is($right) { top : $right ; }
|
31
|
-
@if is($bottom) { top : $bottom ; }
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
@mixin define-fixed-position-bar($selector, $top:(), $left:(), $right:(), $bottom:(), $width:(), $height:())
|
36
|
-
{
|
37
|
-
@include define-positioned-bar($selector, $top:$top, $left:$left, $right:$right, $bottom:$bottom, $width:$width, $height:$height)
|
38
|
-
{
|
39
|
-
position:fixed;
|
40
|
-
}
|
41
|
-
@if 100% == $width
|
42
|
-
{
|
43
|
-
@if is-zero($top) body { margin-top : $height ; }
|
44
|
-
@else if is-zero($bottom) body { margin-bottom : $height ; }
|
45
|
-
}
|
46
|
-
@if 100% == $height
|
47
|
-
{
|
48
|
-
@if is-zero($left) body { margin-left : $width ; }
|
49
|
-
@else if is-zero($right) body { margin-right : $width ; }
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
@mixin define-sticky-bar()
|
54
|
-
{
|
55
|
-
|
56
|
-
}
|
57
|
-
|
58
|
-
@mixin define-sticky-footer($height:0)
|
59
|
-
{
|
60
|
-
body
|
61
|
-
{
|
62
|
-
margin-top:$header-toolbar-height; margin-bottom:$footer-toolbar-height;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
@mixin define-grid($gutter-widths:$default-grid-gutter-widths, $gutter-height-ratios:$default-grid-gutter-height-ratios)
|
67
|
-
{
|
68
|
-
@each $gutter-width in $gutter-widths
|
69
|
-
{
|
70
|
-
$gutter-width-name: $gutter-width;
|
71
|
-
@if default == $gutter-width { $gutter-width: $default-grid-gutter-width; }
|
72
|
-
|
73
|
-
@each $gutter-height-ratio in $gutter-height-ratios
|
74
|
-
{
|
75
|
-
$gutter-height-ratio-name: $gutter-height-ratio;
|
76
|
-
@if default == $gutter-height-ratio { $gutter-height-ratio: $default-grid-gutter-height-ratio; }
|
77
|
-
$gutter-height-ratio: number-from-fraction($gutter-height-ratio);
|
78
|
-
$gutter-height: $gutter-height-ratio * $gutter-width;
|
79
|
-
|
80
|
-
#{ select-grids($gutter-width:$gutter-width-name, $gutter-height-ratio:$gutter-height-ratio-name) }
|
81
|
-
{
|
82
|
-
margin-top: - $gutter-height;
|
83
|
-
> *
|
84
|
-
{
|
85
|
-
margin-top: $gutter-height;
|
86
|
-
&.gutter-overflow-top { margin-top: - $gutter-height; } // these should be part of select-grid-cells
|
87
|
-
&.gutter-overflow-bottom { margin-bottom: - $gutter-height; } // these should be part of select-grid-cells
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
#{ select-grids($gutter-width:$gutter-width-name) }
|
93
|
-
{
|
94
|
-
@each $span-width in $define-grid-span-widths
|
95
|
-
{
|
96
|
-
$nominal-width: nth($span-width, 1);
|
97
|
-
$actual-width: $nominal-width + ($nominal-width * $gutter-width)/100% - $gutter-width;
|
98
|
-
$fractions: nth($span-width, 2);
|
99
|
-
$cell: select-class(width $fractions); // these should be part of select-grid-cells
|
100
|
-
$overflow-left: select-class(gutter-overflow left); // these should be part of select-grid-cells
|
101
|
-
$overflow-right: select-class(gutter-overflow right); // these should be part of select-grid-cells
|
102
|
-
|
103
|
-
#{ select-children( $cell ) } { width: $actual-width; }
|
104
|
-
#{ select-children(select($cell $overflow-left) ) } { width: $actual-width + $gutter-width; margin-left: - $gutter-width; }
|
105
|
-
#{ select-children(select($cell $overflow-right) ) } { width: $actual-width + $gutter-width; margin-right: - $gutter-width; }
|
106
|
-
#{ select-children(select($cell $overflow-left $overflow-right) ) } { width: $actual-width + $gutter-width * 2; }
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
$define-grid-span-widths:
|
113
|
-
(008.33% ("1/12"))
|
114
|
-
(009.09% ("1/10"))
|
115
|
-
(010.00% ("1/11"))
|
116
|
-
(011.11% ("1/9"))
|
117
|
-
(012.50% ("1/8"))
|
118
|
-
(014.29% ("1/7"))
|
119
|
-
(016.67% ("1/6" "2/12"))
|
120
|
-
(018.18% ("2/11"))
|
121
|
-
(020.00% ("2/10" "1/5"))
|
122
|
-
(022.22% ("2/9"))
|
123
|
-
(025.00% ("3/12" "2/8" "1/4"))
|
124
|
-
(027.27% ("3/11"))
|
125
|
-
(028.57% ("2/7"))
|
126
|
-
(030.00% ("3/10"))
|
127
|
-
(033.33% ("1/3" "2/6" "4/12" "3/9"))
|
128
|
-
(036.36% ("4/11"))
|
129
|
-
(037.50% ("3/8"))
|
130
|
-
(040.00% ("4/10" "2/5"))
|
131
|
-
(041.67% ("5/12"))
|
132
|
-
(042.86% ("3/7"))
|
133
|
-
(044.44% ("4/9"))
|
134
|
-
(045.45% ("5/11"))
|
135
|
-
(050.00% ("4/8" "2/4" "1/2" "5/10" "6/12" "3/6"))
|
136
|
-
(054.55% ("6/11"))
|
137
|
-
(055.56% ("5/9"))
|
138
|
-
(057.14% ("4/7"))
|
139
|
-
(058.33% ("7/12"))
|
140
|
-
(060.00% ("6/10" "3/5"))
|
141
|
-
(062.50% ("5/8"))
|
142
|
-
(063.64% ("7/11"))
|
143
|
-
(066.67% ("6/9" "8/12" "4/6" "2/3"))
|
144
|
-
(070.00% ("7/10"))
|
145
|
-
(071.43% ("5/7"))
|
146
|
-
(072.73% ("8/11"))
|
147
|
-
(075.00% ("3/4" "6/8" "9/12"))
|
148
|
-
(077.78% ("7/9"))
|
149
|
-
(080.00% ("4/5" "8/10"))
|
150
|
-
(081.82% ("9/11"))
|
151
|
-
(083.33% ("5/6" "10/12"))
|
152
|
-
(085.71% ("6/7"))
|
153
|
-
(087.50% ("7/8"))
|
154
|
-
(088.89% ("8/9"))
|
155
|
-
(090.00% ("9/10"))
|
156
|
-
(090.91% ("10/11"))
|
157
|
-
(091.67% ("11/12"))
|
158
|
-
(100.00% ("6/6" "10/10" "9/9" "8/8" "7/7" "11/11" "5/5" "2/2" "1/1" "4/4" "3/3" "12/12"));
|
@@ -1,36 +0,0 @@
|
|
1
|
-
@import "dashy/list";
|
2
|
-
|
3
|
-
$directions-horizontal:
|
4
|
-
up
|
5
|
-
down
|
6
|
-
;
|
7
|
-
|
8
|
-
$directions-vertical:
|
9
|
-
left
|
10
|
-
right
|
11
|
-
;
|
12
|
-
|
13
|
-
$directions-vectors:
|
14
|
-
(up (+0.0 -1.0))
|
15
|
-
(down (+0.0 +1.0))
|
16
|
-
(left (-1.0 +0.0))
|
17
|
-
(right (+1.0 +0.0))
|
18
|
-
;
|
19
|
-
|
20
|
-
$directions: join($directions-horizontal, $directions-vertical);
|
21
|
-
|
22
|
-
$directions-sides:
|
23
|
-
(up top)
|
24
|
-
(down bottom)
|
25
|
-
(left left)
|
26
|
-
(right right);
|
27
|
-
|
28
|
-
@function direction-vector($dir)
|
29
|
-
{
|
30
|
-
@return list-lookup($directions-vectors, $dir);
|
31
|
-
}
|
32
|
-
|
33
|
-
@function direction-of-side($side)
|
34
|
-
{
|
35
|
-
@return list-lookup($directions-sides, $side);
|
36
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
$font-family-garamond: "Garamond", "Baskerville", "Baskerville Old Face", "Hoefler Text", "Times New Roman", "serif";
|
2
|
-
$font-family-lucida-bright: "Lucida Bright", "Georgia", "serif";
|
3
|
-
$font-family-palatino: "Palatino", "Palatino Linotype", "Palatino LT STD", "Book Antiqua", "Georgia", "serif";
|
4
|
-
$font-family-big-caslon: "Big Caslon", "Book Antiqua", "Palatino Linotype", "Georgia", "serif";
|
5
|
-
$font-family-didot: "Didot", "Didot LT STD", "Hoefler Text", "Garamond", "Times New Roman", "serif";
|
6
|
-
$font-family-baskerville: "Baskerville", "Baskerville old face", "Hoefler Text", "Garamond", "Times New Roman", "serif";
|
7
|
-
$font-family-hoefler-text: "Hoefler Text", "Baskerville old face", "Garamond", "Times New Roman", "serif";
|
8
|
-
$font-family-bodoni: "Bodoni MT", "Didot", "Didot LT STD", "Hoefler Text", "Garamond", "Times New Roman", "serif";
|
9
|
-
$font-family-goudy-old-style: "Goudy Old Style", "Garamond", "Big Caslon", "Times New Roman", "serif";
|
10
|
-
$font-family-constantia: "Constantia", "Palatino", "Palatino Linotype", "Palatino LT STD", "Georgia", "serif";
|
11
|
-
$font-family-cambria: "Cambria", "Georgia", "serif";
|
12
|
-
$font-family-book-antiqua: "Book Antiqua", "Palatino", "Palatino Linotype", "Palatino LT STD", "Georgia", "serif";
|
13
|
-
|
14
|
-
$font-family-optima: "Optima", "Segoe", "Segoe UI", "Candara", "Calibri", "Arial", "sans-serif";
|
15
|
-
$font-family-futura: "Futura", "Trebuchet MS", "Arial", "sans-serif";
|
16
|
-
$font-family-gill-sans: "Gill Sans", "Gill Sans MT", "Calibri", "sans-serif";
|
17
|
-
$font-family-trebuchet: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Tahoma", "sans-serif";
|
18
|
-
$font-family-helvetica: "Helvetica Neue", "Arial", "sans-serif";
|
19
|
-
$font-family-verdana: "Verdana", "Geneva", "sans-serif";
|
20
|
-
$font-family-lucida: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Geneva", "Verdana", "sans-serif";
|
21
|
-
$font-family-geneva: "Geneva", "Tahoma", "Verdana", "sans-serif";
|
22
|
-
$font-family-segoe: "Segoe", "Segoe UI", "Helvetica Neue", "Arial", "sans-serif";
|
23
|
-
$font-family-candara: "Candara", "Calibri", "Segoe", "Segoe UI", "Optima", "Arial", "sans-serif";
|
24
|
-
$font-family-calibri: "Calibri", "Candara", "Segoe", "Segoe UI", "Optima", "Arial", "sans-serif";
|
25
|
-
$font-family-franklin-gothic: "Franklin Gothic Medium", "Arial", "sans-serif";
|
26
|
-
$font-family-tahoma: "Tahoma", "Geneva", "Verdana", "sans-serif";
|
27
|
-
|
28
|
-
$font-family-proxima-nova: "Proxima Nova" /* adobe */, "Montserrat" /* google */, "sans-serif";
|
29
|
-
$font-family-gill-sans: "Gill Sans" /* adobe */, "Lato" /* google */, "sans-serif";
|
30
|
-
|
31
|
-
$font-family-headings: $font-family-hoefler-text;
|
32
|
-
$font-family-body: $font-family-optima;
|
33
|
-
$font-family-labels: $font-family-optima;
|
34
|
-
$font-family-fine-print: $font-family-optima;
|
35
|
-
|
36
|
-
$font-family-avenir: "Avenir", "Nunito" /* google */;
|
@@ -1,81 +0,0 @@
|
|
1
|
-
@function is($val)
|
2
|
-
{
|
3
|
-
@return not is-null($val);
|
4
|
-
}
|
5
|
-
|
6
|
-
@function is-null($val)
|
7
|
-
{
|
8
|
-
@return is-blank($val) or is-empty($val);
|
9
|
-
}
|
10
|
-
|
11
|
-
@function is-blank($val)
|
12
|
-
{
|
13
|
-
@if is-string($val) { @return $val == ""; }
|
14
|
-
@return false;
|
15
|
-
}
|
16
|
-
|
17
|
-
@function is-empty($val)
|
18
|
-
{
|
19
|
-
@if is-list($val) { @return list-length($val) == 0; }
|
20
|
-
@return false;
|
21
|
-
}
|
22
|
-
|
23
|
-
@function is-unitless($val)
|
24
|
-
{
|
25
|
-
@return unitless($val);
|
26
|
-
}
|
27
|
-
|
28
|
-
@function is-unitful($val)
|
29
|
-
{
|
30
|
-
@return is-number($val) and not is-blank(unit($val));
|
31
|
-
}
|
32
|
-
|
33
|
-
@function is-unit($unit, $val)
|
34
|
-
{
|
35
|
-
@return is-number($val) and $unit == unit($val);
|
36
|
-
}
|
37
|
-
|
38
|
-
@function is-px($val)
|
39
|
-
{
|
40
|
-
@return is-unit(px, $val);
|
41
|
-
}
|
42
|
-
|
43
|
-
@function is-em($val)
|
44
|
-
{
|
45
|
-
@return is-unit(em, $val);
|
46
|
-
}
|
47
|
-
|
48
|
-
@function is-ex($val)
|
49
|
-
{
|
50
|
-
@return is-unit(ex, $val);
|
51
|
-
}
|
52
|
-
|
53
|
-
@function is-percent($val)
|
54
|
-
{
|
55
|
-
@return is-unit("%", $val);
|
56
|
-
}
|
57
|
-
|
58
|
-
@function is-number($val)
|
59
|
-
{
|
60
|
-
@return type-of($val) == number;
|
61
|
-
}
|
62
|
-
|
63
|
-
@function is-string($val)
|
64
|
-
{
|
65
|
-
@return type-of($val) == string;
|
66
|
-
}
|
67
|
-
|
68
|
-
@function is-color($val)
|
69
|
-
{
|
70
|
-
@return type-of($val) == color;
|
71
|
-
}
|
72
|
-
|
73
|
-
@function is-boolean($val)
|
74
|
-
{
|
75
|
-
@return type-of($val) == bool;
|
76
|
-
}
|
77
|
-
|
78
|
-
@function is-list($val)
|
79
|
-
{
|
80
|
-
@return type-of($val) == list;
|
81
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
@function line-height-ideal($font-size)
|
2
|
-
{
|
3
|
-
@return $number-golden-ratio * $font-size;
|
4
|
-
}
|
5
|
-
|
6
|
-
@function line-height-optimal($font-size, $line-width)
|
7
|
-
{
|
8
|
-
@return $number-golden-ratio - (1 / $number-golden-ratio-doubled) * (1 - $line-width / number-squared(line-height-ideal($font-size)));
|
9
|
-
}
|
10
|
-
|