aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/docs/mixins.less
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2015-03-01 20:27:35 +1100
committerSam Potts <me@sampotts.me>2015-03-01 20:27:35 +1100
commit05a97500aab22a0115fdb08f175fecb5b62895ae (patch)
treec7735866deb3f063e81867c94b9d2e93492105de /src/less/docs/mixins.less
parenteb630ab5518003d15bc09847c95fdb192720ab64 (diff)
downloadplyr-05a97500aab22a0115fdb08f175fecb5b62895ae.tar.lz
plyr-05a97500aab22a0115fdb08f175fecb5b62895ae.tar.xz
plyr-05a97500aab22a0115fdb08f175fecb5b62895ae.zip
Seperated docs, included SASS
Diffstat (limited to 'src/less/docs/mixins.less')
-rw-r--r--src/less/docs/mixins.less42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/less/docs/mixins.less b/src/less/docs/mixins.less
deleted file mode 100644
index b3a1f63b..00000000
--- a/src/less/docs/mixins.less
+++ /dev/null
@@ -1,42 +0,0 @@
-// ==========================================================================
-// Mixins
-// ==========================================================================
-
-// Contain floats: nicolasgallagher.com/micro-clearfix-hack/
-// ---------------------------------------
-.clearfix() {
- zoom: 1;
- &:before,
- &:after { content: ""; display: table; }
- &:after { clear: both; }
-}
-
-// Webkit-style focus
-// ---------------------------------------
-.tab-focus() {
- // Default
- outline: thin dotted @gray-dark;
- // Webkit
- //outline: 5px auto -webkit-focus-ring-color;
- outline-offset: 1px;
-}
-
-// Use rems for font sizing
-// Leave <body> at 100%/16px
-// ---------------------------------------
-.font-size(@font-size: 16){
- @rem: round((@font-size / 16), 1);
- font-size: (@font-size * 1px);
- font-size: ~"@{rem}rem";
-}
-
-// Font smoothing
-// ---------------------------------------
-.font-smoothing(@mode: on) when (@mode = on) {
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
-}
-.font-smoothing(@mode: on) when (@mode = off) {
- -moz-osx-font-smoothing: auto;
- -webkit-font-smoothing: subpixel-antialiased;
-} \ No newline at end of file