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 ::Haml::Filters::Sass | |
def render(text) | |
::Sass::Engine.new(text, Compass.sass_engine_options).render | |
end | |
end |
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 ::Haml::Filters::Sass | |
def render(text) | |
::Sass::Engine.new(text, Compass.sass_engine_options).render | |
end | |
end |
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
Compass.configuration do |config| | |
config.project_path = Dir.pwd | |
config.sass_dir = File.join(File.basename(self.views), "stylesheets") | |
config.output_style = :nested | |
config.images_dir = File.join(File.basename(self.public), "images") | |
config.http_images_path = "/images/" | |
end | |
Compass.configure_sass_plugin! |
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
$.fn.googleMap = function(address, options) { | |
var defaults = { | |
zoom: 14, | |
mapTypeId: google.maps.MapTypeId.HYBRID | |
} | |
options = $.extend(defaults, options || {}); | |
var map = new google.maps.Map(this[0], $.extend(options, { | |
center: new google.maps.LatLng(44.081996, -123.0286928), | |
})); |
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
%strong.large< | |
%span.dollars $ | |
3600 |
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
<dl> | |
<dt>Pic</dt> | |
<dd> | |
<p>Text</p> | |
</dd> | |
</dl> |
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
!header_selector = "h1,h2,h3,h4,h5,h6" | |
#{!header_selector} | |
font-weight: bold |
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
<?php | |
$thishost=$_SERVER['SERVER_NAME']; | |
if ($thishost == "software.intel.com") { | |
$path = "."; | |
// $path = $_SERVER['DOCUMENT_ROOT']; | |
$path .= "/inc/intel-footer.php"; | |
include_once($path); | |
} else { | |
$path = "."; |
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
=column-with-border(!n, !border_color = #eee, !width = 1px) | |
+column-base | |
width= (!blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1)) - (2 * !width)) | |
border= !width "solid" border_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
<div class="careersOuter clearfix"> | |
<div class="careersHead">Current Openings</div> | |
<div class="careerCon clearfix"> | |
<div class="rowOuter clearfix"> | |
<div class="rowHead clearfix">Position :</div> | |
<div class="rowDesc clearfix">Visualiser</div> | |
</div> | |
<div class="rowOuter clearfix"> | |
<div class="rowHead clearfix">Location :</div> |