This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------- | |
// TRANSITION | |
// ----------------------------------------- | |
@mixin transition($prop: all, $time: 300ms, $ease: ease-out) { | |
-webkit-transition: $prop $time $ease; | |
-moz-transition: $prop $time $ease; | |
-ms-transition: $prop $time $ease; | |
-o-transition: $prop $time $ease; | |
transition: $prop $time $ease; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------- | |
// HIDE TEXT | |
// ----------------------------------------- | |
#hidetext { | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
} | |
// @extend %hidetext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------- | |
// ADD ELLIPSIS | |
// ----------------------------------------- | |
%ellipsis { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
// @extend %ellipsis; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------- | |
// RESET OBJECT | |
// ----------------------------------------- | |
%reset { | |
margin: 0px !important; | |
padding: 0px !important; | |
border: none; | |
background: transparent; | |
} | |
// @extend %reset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Sass::Script::Functions | |
# Appends "_2x" to the end of a filename before the extension | |
# e.g. foobar.jpg => foobar_2x.jpg | |
def retinize(string) | |
assert_type string, :String | |
Sass::Script::String.new string.value.gsub(/\.(\w+)$/, '_2x.\\1') | |
end | |
declare :retinize, :args => [:string] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" placeholder="Search for user" value="Abel Tuter" data-provide="typeahead" data-source="["Abel Tuter","Adela Cervantsz","Aileen Mottern","Alejandra Prenatt","Alejandro Mascall","Alene Rabeck","Alfonso Griglen","Alissa Mountjoy","Allan Schwantd","Allie Pumphrey","Allyson Gillispie","Alva Pennigton","Alyssa Biasotti","Amelia Caputo","Amos Linnan","Angelique Schermerhorn","Angelo Ferentz","Annabelle Coger","Annette Frietas","Antione Mccleary","Antony Thierauf","Armando Papik","Armando Kolm","Ashley Leonesio","Athena Fontanilla","Audra Cantu","Avery Parbol","Barbara Hindley","Bart Hachey","Barton Friesner","Benjamin Schkade","Bernard Laboy","Bert Schadle","Berta Karc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEPRECATED: check bettercanvas _mixins.scss at https://github.com/nonlinear/bettercanvas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ | |
-moz-box-sizing: border-box; /* Firefox, other Gecko */ | |
box-sizing: border-box; /* Opera/IE 8+ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assumes you are using <html> conditional classes as described here: | |
// http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ | |
.lt-ie7 { | |
// blockquote small:before{content:'\2014 \00A0';} | |
blockquote small:before{content:"";} | |
// [class*="span"]{display:inline;float:left;margin-left:20px;} | |
.span1{display:inline;float:left;margin-left:20px;} | |
.span2{display:inline;float:left;margin-left:20px;} | |
.span3{display:inline;float:left;margin-left:20px;} | |
.span4{display:inline;float:left;margin-left:20px;} |