Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ForkAwesome/Fork-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/assets/font-awesome/sass/_mixins.sass')
-rwxr-xr-xbuild/assets/font-awesome/sass/_mixins.sass43
1 files changed, 43 insertions, 0 deletions
diff --git a/build/assets/font-awesome/sass/_mixins.sass b/build/assets/font-awesome/sass/_mixins.sass
new file mode 100755
index 000000000..9648ec8b9
--- /dev/null
+++ b/build/assets/font-awesome/sass/_mixins.sass
@@ -0,0 +1,43 @@
+// Mixins
+
+@mixin border-radius($radius)
+ -webkit-border-radius: $radius
+ -moz-border-radius: $radius
+ border-radius: $radius
+
+@mixin icon-stack($width: 2em, $height: 2em, $top-font-size: 1em, $base-font-size: 2em)
+ .icon-stack
+ position: relative
+ display: inline-block
+ width: $width
+ height: $height
+ line-height: $width
+ vertical-align: -35%
+
+ [class^="icon-"],
+ [class*=" icon-"]
+ display: block
+ text-align: center
+ position: absolute
+ width: 100%
+ height: 100%
+ font-size: $top-font-size
+ line-height: inherit
+ *line-height: $height
+
+ .icon-stack-base
+ font-size: $base-font-size
+ *line-height: $height / $base-font-size
+
+@mixin animation($animation)
+ -moz-animation: $animation
+ -o-animation: $animation
+ -webkit-animation: $animation
+ animation: $animation
+
+@mixin transform($transform)
+ -webkit-transform: $transform
+ -moz-transform: $transform
+ -ms-transform: $transform
+ -o-transform: $transform
+ transform: $transform \ No newline at end of file