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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Jasmine Spec Runner</title> | |
<link rel="shortcut icon" type="image/png" href="lib/jasmine-2.0.0/jasmine_favicon.png"> | |
<link rel="stylesheet" type="text/css" href="lib/jasmine-2.0.0/jasmine.css"> | |
<script type="text/javascript" src="lib/jquery.js"></script> |
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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
/* Alias */ | |
$active-tile-background-color: #4C9CEA; | |
$inactive-tile-background-color: #FFF; | |
$active-text-color: #FFF; | |
$inactive-text-color: #000; |
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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
/* Lists */ | |
$states: active inactive; | |
$tile-types: business home; | |
%active-text-color { |
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
String.prototype.toDOM = function() { | |
var element = document.createElement("div"), | |
fragment = document.createDocumentFragment(); | |
element.innerHTML=this; | |
fragment.appendChild(element.firstChild); | |
return fragment; | |
}; |
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
div { | |
padding: 2px 5px; | |
margin: 2px; | |
background: red; | |
} | |
.div { | |
background: black; | |
} |
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
div { | |
padding: 5px; | |
margin: 2px; | |
background: black; | |
} | |
.one { | |
background: red; | |
display: run-in; | |
padding: 0px; |
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
.container { | |
color: white; | |
background: black; | |
} | |
h4 { | |
background: red; | |
display: inline-block; | |
margin: 0px; | |
padding: 5px; |
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
div { | |
background: black; | |
padding: 5px; | |
margin: 10px; | |
color: white; | |
} | |
.one { | |
background: red; | |
display: run-in; |
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
.container { | |
width: 600px; | |
height: 300px; | |
position: relative; | |
} | |
.top, .bottom { | |
position: absolute; | |
width: 100%; | |
} |
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
$css3-ie-support: 0 !default; | |
@mixin linear-gradient($topColor, $bottomColor) { | |
background-image: -moz-linear-gradient(top, $topColor, $bottomColor); | |
background-image: -webkit-gradient(linear, left top, left bottom, from($topColor), to($bottomColor)); | |
// If you set the output style as "compressed", it doesn't work well... | |
@if $css3-ie-support == 1 { | |
$ieTopColor: rgb(red($topColor), green($topColor), blue($topColor)); | |
$ieBottomColor: rgb(red($bottomColor), green($bottomColor), blue($bottomColor)); |
OlderNewer