cleanup, some basic themes

This commit is contained in:
Colin Mitchell 2013-03-12 19:50:25 -04:00
parent 343e00c763
commit 6084c4bf5b
13 changed files with 7335 additions and 90 deletions

View File

@ -9,9 +9,6 @@
font-style: normal;
}
body {
padding-top: 50px; /* 50px to make the container go all the way to the bottom of the topbar */
}
#gopher {
font-family: DroidSansMonoRegular, monospace;

View File

@ -231,9 +231,9 @@ GopherParser.prototype.entryToLink = function(e) {
// output a link
else {
result = $("<a />").
attr("href", href).
html(text);
result = $("<a />").
attr("href", href).
html(text);
}
// if we have an icon class, add it here

View File

@ -42,23 +42,23 @@ $(document).ready(function() {
var crumb = "";
var li;
$("#breadcrumb").html("<ul class='breadcrumb' />");
$("#breadcrumb").html("<ul class='breadcrumbs' />");
for ( var i = 0; i < bc.length; i++ ) {
crumb = crumb + bc[i] + "/";
li = $("<li />");
if ( i + 1 == bc.length ) {
$(li).addClass("active");
$(li).addClass("current");
}
$(li).html($("<a />").attr("href", crumb).html(bc[i]));
if ( i + 1 < bc.length ) {
$(li).append($("<span />").addClass("divider").html("/"));
$(li).append($("<span />").addClass("divider")); //.html("/"));
}
$(".breadcrumb").append(li);
$(".breadcrumbs").append(li);
}
};
@ -160,39 +160,51 @@ $(document).ready(function() {
};
/**
* handle clicks on gopher selectors
*/
$("#gopher,#breadcrumb,#intro .as-html").on("click", "a", function() {
loadGopherUri({
url : $(this).attr("href")
/**
* handle clicks on gopher selectors
*/
$("#gopher,#breadcrumb,#intro .as-html").on("click", "a", function() {
loadGopherUri({
url : $(this).attr("href")
});
return false;
}).on("submit", "form", function() {
loadGopherUri({
url : $(this).attr("action"),
input : $(this).find("input").val()
});
return false;
});
return false;
}).on("submit", "form", function() {
loadGopherUri({
url : $(this).attr("action"),
input : $(this).find("input").val()
/**
* handle URI form submission
*/
$("form.gopher-uri").on("submit", function() {
loadGopherUri($(this).find("input[name=uri]").val());
return false;
});
return false;
});
/**
* handle URI form submission
*/
$("form.gopher-uri").on("submit", function() {
loadGopherUri($(this).find("input[name=uri]").val());
return false;
});
/** theme switcher! */
$(".theme-switcher").on("click", function(e) {
e.preventDefault();
$("body").toggleClass("oldschool");
if ( $("body").hasClass("oldschool") ) {
$(".theme-switcher span").html("old school!");
}
else {
$(".theme-switcher span").html("modern");
}
});
/**
* Handle existing URI on the browser's URL -- we'll only do this if the intro is hidden,
* and there's something to load. We'll add the 'hide' class to the output in home.html to trigger this.
*/
if ( window.location.pathname != "/" && $("#intro").hasClass("hide") ) {
loadGopherUri(unescape(window.location.pathname));
}
/**
* Handle existing URI on the browser's URL -- we'll only do this if the intro is hidden,
* and there's something to load. We'll add the 'hide' class to the output in home.html to trigger this.
*/
if ( window.location.pathname != "/" && $("#intro").hasClass("hide") ) {
loadGopherUri(unescape(window.location.pathname));
}
if ( $("#gopher").html() !== "" ) {
$("#gopher").fromGopher();

View File

@ -83,6 +83,7 @@ function loadGopher($url, $input) {
// send binary files and large text back as an attachment
if ( $x->isBinary() || $x->size() > 1000000 ) {
error_log("binar!");
$result['url'] = "/file?name=" . basename($url) . "&path=" . $x->urlFor();
$result['image'] = $x->isImage();
}

View File

@ -15,7 +15,7 @@ class Cache {
}
$cache_path = $this->_name($key);
error_log("PATH $cache_path");
if (!@file_exists($cache_path)) {
return FALSE;
}
@ -35,6 +35,8 @@ class Cache {
$cache_path = $this->_name($key);
error_log("PATH $cache_path");
// return mime type ala mimetype extension
$finfo = finfo_open(FILEINFO_MIME);
error_log(finfo_file($finfo, $cache_path));
@ -66,6 +68,7 @@ class Cache {
public function get($key, $expiration = CACHE_LIFETIME) {
if ( !is_dir($this->dir) OR !is_writable($this->dir)) {
error_log("problem with " . $this->dir);
return FALSE;
}
@ -128,6 +131,7 @@ class Cache {
}
$cache_path = $this->_name($key);
error_log("PATH $cache_path");
$this->mkdir_p(dirname($cache_path));

View File

@ -83,9 +83,9 @@ class GopherGetter {
$this->errstr = "";
$this->errno = "";
$this->result = $this->cache->get($this->key);
if ( $this->result === FALSE ) {
error_log("load it");
$fp = stream_socket_client("tcp://$this->host:$this->port", $this->errno, $this->errstr, 30);
if (!$fp) {

80
sass/_gophper.scss Normal file
View File

@ -0,0 +1,80 @@
@import "compass/layout/sticky-footer";
@include sticky-footer(40px);
body.oldschool {
background: #000;
color: #0f0;
#breadcrumb {
border: 1px dashed #0f0;
height: 45px;
margin-bottom: 20px;
ul {
background: #000;
border: none;
li {
a {
color: #0f0;
}
a:hover {
color: #f00;
}
}
}
}
}
@font-face {
font-family: 'DroidSansMonoRegular';
src: url('/assets/font/DroidSansMono-webfont.eot');
src: url('/assets/font/DroidSansMono-webfont.eot?#iefix') format('embedded-opentype'),
url('/assets/font/DroidSansMono-webfont.woff') format('woff'),
url('/assets/font/DroidSansMono-webfont.ttf') format('truetype'),
url('/assets/font/DroidSansMono-webfont.svg#DroidSansMonoRegular') format('svg');
font-weight: normal;
font-style: normal;
}
#main {
padding-top: 20px;
}
#gopher {
font-family: DroidSansMonoRegular, monospace;
white-space: pre-wrap;
padding-bottom: 100px;
line-height: 18px;
}
#gopher .as-html {
white-space: normal;
}
#gopher i {
width: 25px; /* padding for icons */
}
#gopher i.icon-search {
float: left
}
#spinner {
float: right;
}
#spinner img {
position: fixed;
right: 25px;
display: none;
}
#footer {
background: #000000;
color: #fff;
margin-top: 30px;
p {
margin-top: 9px;
font-size: 80%;
line-height: 1.6;
}
}

988
sass/_settings.scss Normal file
View File

@ -0,0 +1,988 @@
// Required global settings and mixins for Foundation
@import "foundation/foundation-global";
// Settings file to override Foundation variables
// You can find the variables for each component at the bottom of their
// doc page. We tried to name them to where they'd make sense just by reading them.
// Go to http://foundation.zurb.com/docs/ to find what you need.
//
// Foundation Global Variables
//
// This is the default html and body font-size for the base em value.
// $em-base: 16px;
// We use these to control various global styles
// $body-bg: #fff;
// $body-font-color: #222;
// $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
// $body-font-weight: normal;
// $body-font-style: normal;
// We use this to control font-smoothing
// $font-smoothing: antialiased;
// We use these to control text direction settings
// $text-direction: ltr;
// We use these as default colors throughout
// $primary-color: #2ba6cb;
// $secondary-color: #e9e9e9;
// $alert-color: #c60f13;
// $success-color: #5da423;
// We use these to make sure border radius matches unless we want it different.
// $global-radius: 3px;
// $global-rounded: 1000px;
// We use these to control inset shadow shiny edges and depressions.
// $shiny-edge-size: 0 1px 0;
// $shiny-edge-color: rgba(#fff, .5);
// $shiny-edge-active-color: rgba(#000, .2);
// We use this to control whether or not CSS classes come through in the gem files.
// $include-html-classes: true;
// $include-print-styles: true;
//
// Grid Variables
//
// $row-width: 62.5em;
// $column-gutter: 1.875em;
// $total-columns: 12;
//
// Block Grid Variables
//
// We use this to control the maximum number of block grid elements per row
// $block-grid-elements: 12;
// $block-grid-default-spacing: 10px;
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
// $block-grid-media-queries: true;
//
// Typography Variables
//
// We use these to control header font styles
// $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
// $header-font-weight: bold;
// $header-font-style: normal;
// $header-font-color: #222;
// $header-line-height: 1.4;
// $header-top-margin: .2em;
// $header-bottom-margin: .5em;
// $header-text-rendering: optimizeLegibility;
// We use these to control header font sizes
// $h1-font-size: emCalc(44px);
// $h2-font-size: emCalc(37px);
// $h3-font-size: emCalc(27px);
// $h4-font-size: emCalc(23px);
// $h5-font-size: emCalc(18px);
// $h6-font-size: 1em;
// These control how subheaders are styled.
// $subheader-line-height: 1.4;
// $subheader-font-color: lighten($header-font-color, 30%);
// $subheader-font-weight: 300;
// $subheader-top-margin: .2em;
// $subheader-bottom-margin: .5em;
// A general <small> styling
// $small-font-size: 60%;
// $small-font-color: lighten($header-font-color, 30%);
// We use these to style paragraphs
// $paragraph-font-family: inherit;
// $paragraph-font-weight: normal;
// $paragraph-font-size: 1em;
// $paragraph-line-height: 1.6;
// $paragraph-margin-bottom: emCalc(20px);
// $paragraph-aside-font-size: emCalc(14px);
// $paragraph-aside-line-height: 1.35;
// $paragraph-aside-font-style: italic;
// We use these to style <code> tags
// $code-color: darken($alert-color, 15%);
// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
// $code-font-weight: bold;
// We use these to style anchors
// $anchor-text-decoration: none;
// $anchor-font-color: $primary-color;
// $anchor-font-color-hover: darken($primary-color, 5%);
// We use these to style the <hr> element
// $hr-border-width: 1px;
// $hr-border-style: solid;
// $hr-border-color: #ddd;
// $hr-margin: emCalc(20px);
// We use these to style lists
// $list-style-position: outside;
// $list-side-margin: emCalc(18px);
// $definition-list-header-weight: bold;
// $definition-list-header-margin-bottom: .3em;
// $definition-list-margin-bottom: emCalc(12px);
// We use these to style blockquotes
// $blockquote-font-color: lighten($header-font-color, 30%);
// $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
// $blockquote-border: 1px solid #ddd;
// $blockquote-cite-font-size: emCalc(13px);
// $blockquote-cite-font-color: lighten($header-font-color, 20%);
// $blockquote-cite-link-color: $blockquote-cite-font-color;
// Acronym styles
// $acronym-underline: 1px dotted #ddd;
// We use these to control padding and margin
// $microformat-padding: emCalc(10px) emCalc(12px);
// $microformat-margin: 0 0 emCalc(20px) 0;
// We use these to control the border styles
// $microformat-border-width: 1px;
// $microformat-border-style: solid;
// $microformat-border-color: #ddd;
// We use these to control full name font styles
// $microformat-fullname-font-weight: bold;
// $microformat-fullname-font-size: emCalc(15px);
// We use this to control the summary font styles
// $microformat-summary-font-weight: bold;
// We use this to control abbr padding
// $microformat-abbr-padding: 0 emCalc(1px);
// We use this to control abbr font styles
// $microformat-abbr-font-weight: bold;
// $microformat-abbr-font-decoration: none;
//
// Form Variables
//
// We use this to set the base for lots of form spacing and positioning styles
// $form-spacing: emCalc(16px);
// We use these to style the labels in different ways
// $label-pointer: pointer;
// $label-font-size: emCalc(14px);
// $label-font-weight: 500;
// $label-font-color: lighten(#000, 30%);
// $label-bottom-margin: emCalc(3px);
// $input-font-color: rgba(0,0,0,0.75);
// $input-font-size: emCalc(14px);
// $input-bg-color: #fff;
// $input-focus-bg-color: darken(#fff, 2%);
// $input-border-color: darken(#fff, 20%);
// $input-focus-border-color: darken(#fff, 40%);
// $input-border-style: solid;
// $input-border-width: 1px;
// $input-disabled-bg: #ddd;
// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
// We use these to style the fieldset border and spacing.
// $fieldset-border-style: solid;
// $fieldset-border-width: 1px;
// $fieldset-border-color: #ddd;
// $fieldset-padding: emCalc(20px);
// $fieldset-margin: emCalc(18px) 0;
// We use these to style the legends when you use them
// $legend-bg: #fff;
// $legend-font-weight: bold;
// $legend-padding: 0 emCalc(3px);
// We use these to style the prefix and postfix input elements
// $input-prefix-bg: darken(#fff, 5%);
// $input-prefix-border-color: darken(#fff, 20%);
// $input-prefix-border-size: 1px;
// $input-prefix-border-type: solid;
// $input-prefix-overflow: hidden;
// $input-prefix-font-color: #333;
// $input-prefix-font-color-alt: #fff;
// We use these to style the error states for inputs and labels
// $input-error-message-padding: emCalc(6px) emCalc(4px);
// $input-error-message-top: -($form-spacing) - emCalc(5px);
// $input-error-message-font-size: emCalc(12px);
// $input-error-message-font-weight: bold;
// $input-error-message-font-color: #fff;
// $input-error-message-font-color-alt: #333;
// We use these to build padding for buttons.
// $button-med: emCalc(12px);
// $button-tny: emCalc(7px);
// $button-sml: emCalc(9px);
// $button-lrg: emCalc(16px);
// We use this to control the display property.
// $button-display: inline-block;
// $button-margin-bottom: emCalc(20px);
// We use these to control button text styles.
// $button-font-color: #fff;
// $button-font-color-alt: #333;
// $button-font-med: emCalc(16px);
// $button-font-tny: emCalc(11px);
// $button-font-sml: emCalc(13px);
// $button-font-lrg: emCalc(20px);
// $button-font-weight: bold;
// $button-font-align: center;
// We use these to control various hover effects.
// $button-function-factor: 10%;
// We use these to control button border styles.
// $button-border-width: 1px;
// $button-border-style: solid;
// $button-border-color: darken($primary-color, $button-function-factor);
// We use this to set the default radius used throughout the core.
// $button-radius: $global-radius;
// We use this to set default opacity for disabled buttons.
// $button-disabled-opacity: 0.6;
//
// Dropdown Button Variables
//
// We use these to set the color of the pip in dropdown buttons
// $dropdown-button-pip-color: #fff;
// $dropdown-button-pip-color-alt: #333;
// We use these to style tiny dropdown buttons
// $dropdown-button-padding-tny: $button-tny * 5;
// $dropdown-button-pip-size-tny: $button-tny;
// $dropdown-button-pip-right-tny: $button-tny * 2;
// $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
// We use these to style small dropdown buttons
// $dropdown-button-padding-sml: $button-sml * 5;
// $dropdown-button-pip-size-sml: $button-sml;
// $dropdown-button-pip-right-sml: $button-sml * 2;
// $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
// We use these to style medium dropdown buttons
// $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
// $dropdown-button-pip-size-med: $button-med - emCalc(3px);
// $dropdown-button-pip-right-med: $button-med * 2;
// $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
// We use these to style large dropdown buttons
// $dropdown-button-padding-lrg: $button-lrg * 4;
// $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
// $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
// $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
//
// Split Button Variables
//
// We use these to control different shared styles for Split Buttons
// $split-button-function-factor: 15%;
// $split-button-pip-color: #fff;
// $split-button-pip-color-alt: #333;
// $split-button-active-bg-tint: rgba(0,0,0,0.1);
// We use these to control tiny split buttons
// $split-button-padding-tny: $button-tny * 9;
// $split-button-span-width-tny: $button-tny * 6.5;
// $split-button-pip-size-tny: $button-tny;
// $split-button-pip-top-tny: $button-tny * 2;
// $split-button-pip-left-tny: emCalc(-5px);
// We use these to control small split buttons
// $split-button-padding-sml: $button-sml * 7;
// $split-button-span-width-sml: $button-sml * 5;
// $split-button-pip-size-sml: $button-sml;
// $split-button-pip-top-sml: $button-sml * 1.5;
// $split-button-pip-left-sml: emCalc(-9px);
// We use these to control medium split buttons
// $split-button-padding-med: $button-med * 6.4;
// $split-button-span-width-med: $button-med * 4;
// $split-button-pip-size-med: $button-med - emCalc(3px);
// $split-button-pip-top-med: $button-med * 1.5;
// $split-button-pip-left-med: emCalc(-9px);
// We use these to control large split buttons
// $split-button-padding-lrg: $button-lrg * 6;
// $split-button-span-width-lrg: $button-lrg * 3.75;
// $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
// $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
// $split-button-pip-left-lrg: emCalc(-9px);
//
// Alert Variables
//
// We use this to control alert padding.
// $alert-padding-top: emCalc(11px);
// $alert-padding-left: $alert-padding-top;
// $alert-padding-right: $alert-padding-top + emCalc(10px);
// $alert-padding-bottom: $alert-padding-top + emCalc(1px);
// We use these to control text style.
// $alert-font-weight: bold;
// $alert-font-size: emCalc(14px);
// $alert-font-color: #fff;
// $alert-font-color-alt: darken($secondary-color, 60%);
// We use this for close hover effect.
// $alert-function-factor: 10%;
// We use these to control border styles.
// $alert-border-style: solid;
// $alert-border-width: 1px;
// $alert-border-color: darken($primary-color, $alert-function-factor);
// $alert-bottom-margin: emCalc(20px);
// We use these to style the close buttons
// $alert-close-color: #333;
// $alert-close-position: emCalc(5px);
// $alert-close-font-size: emCalc(22px);
// $alert-close-opacity: 0.3;
// $alert-close-opacity-hover: 0.5;
// $alert-close-padding: 5px 4px 4px;
// We use this to control border radius
// $alert-radius: $global-radius;
//
// Breadcrumb Variables
//
// We use this to set the background color for the breadcrumb container.
// $crumb-bg: lighten($secondary-color, 5%);
// We use these to set the padding around the breadcrumbs.
// $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
// $crumb-side-padding: emCalc(12px);
// We use these to control border styles.
// $crumb-function-factor: 10%;
// $crumb-border-size: 1px;
// $crumb-border-style: solid;
// $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
// $crumb-radius: $button-radius;
// We use these to set various text styles for breadcrumbs.
// $crumb-font-size: emCalc(11px);
// $crumb-font-color: $primary-color;
// $crumb-font-color-current: #333;
// $crumb-font-color-unavailable: #999;
// $crumb-font-transform: uppercase;
// $crumb-link-decor: underline;
// We use these to control the slash between breadcrumbs
// $crumb-slash-color: #aaa;
// $crumb-slash: "/";
//
// Clearing Variables
//
// We use these to set the background colors for parts of Clearing.
// $clearing-bg: #111;
// $clearing-caption-bg: $clearing-bg;
// $clearing-carousel-bg: #111;
// $clearing-img-bg: $clearing-bg;
// We use these to style the close button
// $clearing-close-color: #fff;
// $clearing-close-size: 40px;
// We use these to style the arrows
// $clearing-arrow-size: 16px;
// $clearing-arrow-color: $clearing-close-color;
// We use these to style captions
// $clearing-caption-font-color: #fff;
// $clearing-caption-padding: 10px 30px;
// We use these to make the image and carousel height and style
// $clearing-active-img-height: 75%;
// $clearing-carousel-height: 150px;
// $clearing-carousel-thumb-width: 175px;
// $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
//
// Custom Form Variables
//
// We use these to control the basic form styles input styles
// $custom-form-border-color: #ccc;
// $custom-form-bg: #fff;
// $custom-form-bg-disabled: #ddd;
// $custom-form-check-color: #222;
// We use these to style the custom select form element.
// $custom-select-bg: #fff;
// $custom-select-fade-to-color: #f3f3f3;
// $custom-select-border-color: #ddd;
// $custom-select-triangle-color: #aaa;
// $custom-select-triangle-color-open: #222;
// $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
// $custom-select-margin-bottom: emCalc(20px);
// $custom-select-font-color-selected: #141414;
// $custom-select-disabled-color: #888;
// We use these to control the style of the custom select dropdown element.
// $custom-dropdown-height: 200px;
// $custom-dropdown-bg: #fff;
// $custom-dropdown-border-color: darken(#fff, 20%);
// $custom-dropdown-border-width: 1px;
// $custom-dropdown-border-style: solid;
// $custom-dropdown-font-color: #555;
// $custom-dropdown-font-size: emCalc(14px);
// $custom-dropdown-color-selected: #eeeeee;
// $custom-dropdown-font-color-selected: #000;
// $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
// $custom-dropdown-offset-top: none;
// $custom-dropdown-list-padding: emCalc(4px);
// $custom-dropdown-left-padding: emCalc(6px);
// $custom-dropdown-right-padding: emCalc(38px);
// $custom-dropdown-list-item-min-height: emCalc(24px);
//
// Dropdown Variables
//
// We use these to controls height and width styles.
// $f-dropdown-max-width: 200px;
// $f-dropdown-height: auto;
// $f-dropdown-max-height: none;
// $f-dropdown-margin-top: 2px;
// We use this to control the background color
// $f-dropdown-bg: #fff;
// We use this to set the border styles for dropdowns.
// $f-dropdown-border-style: solid;
// $f-dropdown-border-width: 1px;
// $f-dropdown-border-color: darken(#fff, 20%);
// We use these to style the triangle pip.
// $f-dropdown-triangle-size: 6px;
// $f-dropdown-triangle-color: #fff;
// $f-dropdown-triangle-side-offset: 10px;
// We use these to control styles for the list elements.
// $f-dropdown-list-style: none;
// $f-dropdown-font-color: #555;
// $f-dropdown-font-size: emCalc(14px);
// $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
// $f-dropdown-line-height: emCalc(18px);
// $f-dropdown-list-hover-bg: #eeeeee;
// $dropdown-mobile-left: 0;
// We use this to control the styles for when the dropdown has custom content.
// $f-dropdown-content-padding: emCalc(20px);
//
// Flex Video Variables
//
// We use these to control video container padding and margins
// $flex-video-padding-top: emCalc(25px);
// $flex-video-padding-bottom: 67.5%;
// $flex-video-margin-bottom: emCalc(16px);
// We use this to control widescreen bottom padding
// $flex-video-widescreen-padding-bottom: 57.25%;
//
// Inline List Variables
//
// We use this to control the margins and padding of the inline list.
// $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
// $inline-list-margin: 0 0;
// $inline-list-padding: 0;
// We use this to control the overflow of the inline list.
// $inline-list-overflow: hidden;
// We use this to control the list items
// $inline-list-display: block;
// We use this to control any elments within list items
// $inline-list-children-display: block;
//
// Joyride Variables
//
// Controlling default Joyride styles
// $joyride-tip-bg: rgb(0,0,0);
// $joyride-tip-default-width: 300px;
// $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
// $joyride-tip-border: solid 1px #555;
// $joyride-tip-radius: 4px;
// $joyride-tip-position-offset: 22px;
// Here, we're setting the tip dont styles
// $joyride-tip-font-color: #fff;
// $joyride-tip-font-size: emCalc(14px);
// $joyride-tip-header-weight: bold;
// This changes the nub size
// $joyride-tip-nub-size: 14px;
// This adjusts the styles for the timer when its enabled
// $joyride-tip-timer-width: 50px;
// $joyride-tip-timer-height: 3px;
// $joyride-tip-timer-color: #666;
// This changes up the styles for the close button
// $joyride-tip-close-color: #777;
// $joyride-tip-close-size: 30px;
// $joyride-tip-close-weight: normal;
// When Joyride is filling the screen, we use this style for the bg
// $joyride-screenfill: rgba(0,0,0,0.5);
//
// Keystroke Variables
//
// We use these to control text styles.
// $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
// $keystroke-font-size: emCalc(15px);
// $keystroke-font-color: #222;
// $keystroke-font-color-alt: #fff;
// $keystroke-function-factor: 7%;
// We use this to control keystroke padding.
// $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
// We use these to control background and border styles.
// $keystroke-bg: darken(#fff, $keystroke-function-factor);
// $keystroke-border-style: solid;
// $keystroke-border-width: 1px;
// $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
// $keystroke-radius: $button-radius;
//
// Label Variables
//
// We use these to style the labels
// $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
// $label-radius: $button-radius;
// We use these to style the label text
// $label-font-size: emCalc(14px);
// $label-font-weight: bold;
//
// Orbit Settings
//
// We use these to control the caption styles
// $orbit-caption-bg-old-browser: #000;
// $orbit-caption-bg-old: rgb(0,0,0);
// $orbit-caption-bg: rgba(0,0,0,0.6);
// $orbit-caption-font-color: #fff;
// We use these to control the left/right nav styles
// $orbit-nav-bg-old: rgb(0,0,0);
// $orbit-nav-bg: rgba(0,0,0,0.6);
// We use these to control the timer styles
// $orbit-timer-bg-old: rgb(0,0,0);
// $orbit-timer-bg: rgba(0,0,0,0.6);
// We use these to control the bullet nav styles
// $orbit-bullet-nav-color: #999;
// $orbit-bullet-nav-color-active: #222;
// We use thes to controls the style of slide numbers
// $orbit-slide-number-bg: rgb(0,0,0);
// $orbit-slide-number-font-color: #fff;
// $orbit-slide-number-padding: emCalc(5px);
//
// Pagination Variables
//
// We use these to control the pagination container
// $pagination-height: emCalc(24px);
// $pagination-margin: emCalc(-5px);
// We use these to set the list-item properties
// $pagination-li-float: $default-float;
// $pagination-li-height: emCalc(24px);
// $pagination-li-font-color: #222;
// $pagination-li-font-size: emCalc(14px);
// $pagination-li-margin: emCalc(5px);
// We use these for the pagination anchor links
// $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
// $pagination-link-font-color: #999;
// $pagination-link-active-bg: darken(#fff, 10%);
// We use these for disabled anchor links
// $pagination-link-unavailable-cursor: default;
// $pagination-link-unavailable-font-color: #999;
// $pagination-link-unavailable-bg-active: transparent;
// We use these for currently selected anchor links
// $pagination-link-current-background: $primary-color;
// $pagination-link-current-font-color: #fff;
// $pagination-link-current-font-weight: bold;
// $pagination-link-current-cursor: default;
// $pagination-link-current-active-bg: $primary-color;
//
// Panel Variables
//
// We use these to control the background and border styles
// $panel-bg: darken(#fff, 5%);
// $panel-border-style: solid;
// $panel-border-size: 1px;
// We use this % to control how much we darken things on hover
// $panel-function-factor: 10%;
// $panel-border-color: darken($panel-bg, $panel-function-factor);
// We use these to set default inner padding and bottom margin
// $panel-margin-bottom: emCalc(20px);
// $panel-padding: emCalc(20px);
// We use these to set default font colors
// $panel-font-color: #333;
// $panel-font-color-alt: #fff;
//
// Pricing Table Variables
//
// We use this to control the border color
// $price-table-border: solid 1px #ddd;
// We use this to control the bottom margin of the pricing table
// $price-table-margin-bottom: emCalc(20px);
// We use these to control the title styles
// $price-title-bg: #ddd;
// $price-title-padding: emCalc(15px) emCalc(20px);
// $price-title-align: center;
// $price-title-color: #333;
// $price-title-weight: bold;
// $price-title-size: emCalc(16px);
// We use these to control the price styles
// $price-money-bg: #eee;
// $price-money-padding: emCalc(15px) emCalc(20px);
// $price-money-align: center;
// $price-money-color: #333;
// $price-money-weight: normal;
// $price-money-size: emCalc(20px);
// We use these to control the description styles
// $price-bg: #fff;
// $price-desc-color: #777;
// $price-desc-padding: emCalc(15px);
// $price-desc-align: center;
// $price-desc-font-size: emCalc(12px);
// $price-desc-weight: normal;
// $price-desc-line-height: 1.4;
// $price-desc-bottom-border: dotted 1px #ddd;
// We use these to control the list item styles
// $price-item-color: #333;
// $price-item-padding: emCalc(15px);
// $price-item-align: center;
// $price-item-font-size: emCalc(14px);
// $price-item-weight: normal;
// $price-item-bottom-border: dotted 1px #ddd;
// We use these to control the CTA area styles
// $price-cta-bg: #f5f5f5;
// $price-cta-align: center;
// $price-cta-padding: emCalc(20px) emCalc(20px) 0;
//
// Progress Bar Variables
//
// We use this to se the prog bar height
// $progress-bar-height: emCalc(25px);
// We use these to control the border styles
// $progress-bar-border-color: darken(#fff, 20%);
// $progress-bar-border-size: 1px;
// $progress-bar-border-style: solid;
// $progress-bar-border-radius: $button-radius;
// We use these to control the margin & padding
// $progress-bar-pad: emCalc(2px);
// $progress-bar-margin-bottom: emCalc(10px);
// We use these to set the meter colors
// $progress-meter-color: $primary-color;
// $progress-meter-secondary-color: $secondary-color;
// $progress-meter-success-color: $success-color;
// $progress-meter-alert-color: $alert-color;
// NEED TO FINISH THE LOGIC HERE
//
// Reveal Variables
//
// We use these to control the style of the reveal overlay.
// $reveal-overlay-bg: rgba(#000, .45);
// $reveal-overlay-bg-old: #000;
// We use these to control the style of the modal itself.
// $reveal-modal-bg: #fff;
// $reveal-position-top: 50px;
// $reveal-default-width: 80%;
// $reveal-modal-padding: emCalc(20px);
// $reveal-box-shadow: 0 0 10px rgba(#000,.4);
// We use these to style the reveal close button
// $reveal-close-font-size: emCalc(22px);
// $reveal-close-top: emCalc(8px);
// $reveal-close-side: emCalc(11px);
// $reveal-close-color: #aaa;
// $reveal-close-weight: bold;
// We use these to control the modal border
// $reveal-border-style: solid;
// $reveal-border-width: 1px;
// $reveal-border-color: #666;
//
// Section Variables
//
// We use these to set padding and hover factor
// $section-padding: emCalc(15px);
// $section-function-factor: 10%;
// These style the titles
// $section-title-color: #333;
// $section-title-bg: #efefef;
// $section-title-bg-active: darken($section-title-bg, $section-function-factor);
// $section-title-bg-active-tabs: #fff;
// Want to control border size, here ya go!
// $section-border-size: 1px;
// $section-border-style: solid;
// $section-border-color: #ccc;
// Control the color of the background and some size options
// $section-content-bg: #fff;
// $section-vertical-nav-min-width: emCalc(200px);
// $section-bottom-margin: emCalc(20px);
//
// Side Nav Variables
//
// We use this to control padding.
// $side-nav-padding: emCalc(14px) 0;
// We use these to control list styles.
// $side-nav-list-type: none;
// $side-nav-list-position: inside;
// $side-nav-list-margin: 0 0 emCalc(7px) 0;
// We use these to control link styles.
// $side-nav-link-color: $primary-color;
// $side-nav-link-color-active: lighten(#000, 30%);
// $side-nav-font-size: emCalc(14px);
// $side-nav-font-weight: bold;
// We use these to control border styles
// $side-nav-divider-size: 1px;
// $side-nav-divider-style: solid;
// $side-nav-divider-color: darken(#fff, 10%);
//
// Sub Nav Variables
//
// We use these to control margin and padding
// $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
// $sub-nav-list-padding-top: emCalc(4px);
// We use this to control the definition
// $sub-nav-font-size: emCalc(14px);
// $sub-nav-font-color: #999;
// $sub-nav-font-weight: normal;
// $sub-nav-text-decoration: none;
// $sub-nav-border-radius: 1000px;
// We use these to control the active item styles
// $sub-nav-active-font-weight: bold;
// $sub-nav-active-bg: $primary-color;
// $sub-nav-active-color: #fff;
// $sub-nav-active-padding: emCalc(3px) emCalc(9px);
// $sub-nav-active-cursor: default;
//
// Switch Variables
//
// Controlling border styles and background colors for the switch container
// $switch-border-color: darken(#fff, 20%);
// $switch-border-style: solid;
// $switch-border-width: 1px;
// $switch-bg: #fff;
// We use these to control the switch heights for our default classes
// $switch-height-tny: 22px;
// $switch-height-sml: 28px;
// $switch-height-med: 36px;
// $switch-height-lrg: 44px;
// $switch-bottom-margin: emCalc(20px);
// We use these to control default font sizes for our classes.
// $switch-font-size-tny: 11px;
// $switch-font-size-sml: 12px;
// $switch-font-size-med: 14px;
// $switch-font-size-lrg: 17px;
// $switch-label-side-padding: 6px;
// We use these to style the switch-paddle
// $switch-paddle-bg: #fff;
// $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
// $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
// $switch-paddle-border-width: 1px;
// $switch-paddle-border-style: solid;
// $switch-paddle-transition-speed: .1s;
// $switch-paddle-transition-ease: ease-out;
// $switch-positive-color: lighten($success-color, 50%);
// $switch-negative-color: #f5f5f5;
// Outline Style for tabbing through switches
// $switch-label-outline: 1px dotted #888;
//
// Table Variables
//
// These control the background color for the table and even rows
// $table-bg: #fff;
// $table-even-row-bg: #f9f9f9;
// These control the table cell border style
// $table-border-style: solid;
// $table-border-size: 1px;
// $table-border-color: #ddd;
// These control the table head styles
// $table-head-bg: #f5f5f5;
// $table-head-font-size: emCalc(14px);
// $table-head-font-color: #222;
// $table-head-font-weight: bold;
// $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
// These control the row padding and font styles
// $table-row-padding: emCalc(9px) emCalc(10px);
// $table-row-font-size: emCalc(14px);
// $table-row-font-color: #222;
// $table-line-height: emCalc(18px);
// These are for controlling the display and margin of tables
// $table-display: table-cell;
// $table-margin-bottom: emCalc(20px);
//
// Image Thumbnail Variables
//
// We use these to control border styles
// $thumb-border-style: solid;
// $thumb-border-width: 4px;
// $thumb-border-color: #fff;
// $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
// $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
// Radius and transition speed for thumbs
// $thumb-radius: $global-radius;
// $thumb-transition-speed: 200ms;
//
// Tooltip Variables
//
// $has-tip-border-bottom: dotted 1px #ccc;
// $has-tip-font-weight: bold;
// $has-tip-font-color: #333;
// $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
// $has-tip-font-color-hover: $primary-color;
// $has-tip-cursor-type: help;
// $tooltip-padding: emCalc(8px);
// $tooltip-bg: #000;
// $tooltip-font-size: emCalc(15px);
// $tooltip-font-weight: bold;
// $tooltip-font-color: #fff;
// $tooltip-line-height: 1.3;
// $tooltip-close-font-size: emCalc(10px);
// $tooltip-close-font-weight: normal;
// $tooltip-close-font-color: #888;
// $tooltip-font-size-sml: emCalc(14px);
// $tooltip-radius: $global-radius;
// $tooltip-pip-size: 5px;
//
// Top Bar Variables
//
// Background color for the top bar
// $topbar-bg: #111;
// Height and margin
// $topbar-height: 45px;
// $topbar-margin-bottom: emCalc(30px);
// Control Input height for top bar
// $topbar-input-height: 2.45em;
// Controlling the styles for the title in the top bar
// $topbar-title-weight: bold;
// $topbar-title-font-size: emCalc(17px);
// Set the link colors and styles for top-level nav
// $topbar-link-color: #fff;
// $topbar-link-weight: bold;
// $topbar-link-font-size: emCalc(13px);
// Style the top bar dropdown elements
// $topbar-dropdown-bg: #333;
// $topbar-dropdown-link-color: #fff;
// $topbar-dropdown-toggle-size: 5px;
// $topbar-dropdown-toggle-color: #fff;
// $topbar-dropdown-toggle-alpha: 0.5;
// $dropdown-label-color: #555;
// Top menu icon styles
// $topbar-menu-link-transform: uppercase;
// $topbar-menu-link-font-size: emCalc(13px);
// $topbar-menu-link-weight: bold;
// $topbar-menu-link-color: #fff;
// $topbar-menu-icon-color: #fff;
// $topbar-menu-link-color-toggled: #888;
// $topbar-menu-icon-color-toggled: #888;
// Transitions and breakpoint styles
// $topbar-transition-speed: 300ms;
// $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
// $topbar-media-query: "only screen and (min-width "#{$topbar-breakpoint}")";

48
sass/app.scss Normal file
View File

@ -0,0 +1,48 @@
// Global Foundation Settings
@import "settings";
// Comment out this import if you are customizing you imports below
@import "foundation";
@import "gophper";
// Import specific parts of Foundation by commenting the import "foundation"
// and uncommenting what you want below. You must uncomment the following if customizing
// @import "foundation/foundation-global";
// @import "foundation/components/global";
// @import "foundation/components/grid";
// @import "foundation/components/visibility";
// @import "foundation/components/block-grid";
// @import "foundation/components/type";
// @import "foundation/components/buttons";
// @import "foundation/components/forms";
// @import "foundation/components/custom-forms";
// @import "foundation/components/button-groups";
// @import "foundation/components/dropdown-buttons";
// @import "foundation/components/split-buttons";
// @import "foundation/components/flex-video";
// @import "foundation/components/section";
// @import "foundation/components/top-bar";
// @import "foundation/components/orbit";
// @import "foundation/components/reveal";
// @import "foundation/components/joyride";
// @import "foundation/components/clearing";
// @import "foundation/components/alert-boxes";
// @import "foundation/components/breadcrumbs";
// @import "foundation/components/keystrokes";
// @import "foundation/components/labels";
// @import "foundation/components/inline-lists";
// @import "foundation/components/pagination";
// @import "foundation/components/panels";
// @import "foundation/components/pricing-tables";
// @import "foundation/components/progress-bars";
// @import "foundation/components/side-nav";
// @import "foundation/components/sub-nav";
// @import "foundation/components/switch";
// @import "foundation/components/magellan";
// @import "foundation/components/tables";
// @import "foundation/components/thumbs";
// @import "foundation/components/tooltips";
// @import "foundation/components/dropdown";

396
sass/normalize.scss vendored Normal file
View File

@ -0,0 +1,396 @@
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
audio,
canvas,
video {
display: inline-block;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre-wrap;
}
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to `content-box` in IE 8/9.
* 2. Remove excess padding in IE 8/9.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}

5265
stylesheets/app.css Normal file

File diff suppressed because it is too large Load Diff

405
stylesheets/normalize.css vendored Normal file
View File

@ -0,0 +1,405 @@
/* normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
/* line 22, ../sass/normalize.scss */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
/* line 32, ../sass/normalize.scss */
audio,
canvas,
video {
display: inline-block;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
/* line 41, ../sass/normalize.scss */
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
/* line 50, ../sass/normalize.scss */
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
/* line 64, ../sass/normalize.scss */
html {
font-family: sans-serif;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
-ms-text-size-adjust: 100%;
/* 2 */
}
/**
* Remove default margin.
*/
/* line 74, ../sass/normalize.scss */
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
/* line 86, ../sass/normalize.scss */
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
/* line 95, ../sass/normalize.scss */
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
/* line 108, ../sass/normalize.scss */
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
/* line 117, ../sass/normalize.scss */
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
/* line 126, ../sass/normalize.scss */
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
/* line 134, ../sass/normalize.scss */
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
*/
/* line 142, ../sass/normalize.scss */
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
/* line 152, ../sass/normalize.scss */
mark {
background: #ff0;
color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
/* line 164, ../sass/normalize.scss */
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
/* line 173, ../sass/normalize.scss */
pre {
white-space: pre-wrap;
}
/**
* Set consistent quote types.
*/
/* line 181, ../sass/normalize.scss */
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
* Address inconsistent and variable font size in all browsers.
*/
/* line 189, ../sass/normalize.scss */
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
/* line 198, ../sass/normalize.scss */
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
/* line 205, ../sass/normalize.scss */
sup {
top: -0.5em;
}
/* line 209, ../sass/normalize.scss */
sub {
bottom: -0.25em;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
/* line 221, ../sass/normalize.scss */
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
/* line 229, ../sass/normalize.scss */
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
/* line 241, ../sass/normalize.scss */
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
/* line 253, ../sass/normalize.scss */
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
/* line 264, ../sass/normalize.scss */
legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */
}
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
/* line 278, ../sass/normalize.scss */
button,
input,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 2 */
margin: 0;
/* 3 */
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
/* line 290, ../sass/normalize.scss */
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
/* line 302, ../sass/normalize.scss */
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
/* line 317, ../sass/normalize.scss */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
/* line 327, ../sass/normalize.scss */
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to `content-box` in IE 8/9.
* 2. Remove excess padding in IE 8/9.
*/
/* line 337, ../sass/normalize.scss */
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
/* line 348, ../sass/normalize.scss */
input[type="search"] {
-webkit-appearance: textfield;
/* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
/* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
/* line 361, ../sass/normalize.scss */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
/* line 370, ../sass/normalize.scss */
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
/* line 380, ../sass/normalize.scss */
textarea {
overflow: auto;
/* 1 */
vertical-align: top;
/* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
/* line 393, ../sass/normalize.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}

View File

@ -15,13 +15,13 @@ if ( ! array_key_exists('result', $this->data) && ! array_key_exists('file', $th
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!---
<link href="/assets/css/assets.css" rel="stylesheet">
--->
<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="/assets/css/colorbox.css" rel="stylesheet">
<link href="/assets/css/gophper.css" rel="stylesheet">
<link href="/stylesheets/normalize.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<link href="/stylesheets/app.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
<link href="/assets/css/colorbox.css" rel="stylesheet">
<script src="/javascripts/vendor/custom.modernizr.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
@ -29,63 +29,112 @@ if ( ! array_key_exists('result', $this->data) && ! array_key_exists('file', $th
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">Gophper</a>
<div class="nav-collapse">
<ul class="nav">
<div id="root">
<div class="fixed">
<nav class="top-bar">
<ul class="title-area">
<li class="name">
<h1><a href="/">Gophper</a></h1>
</li>
<li class="toggle-topbar"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<ul class="left">
<li class="active"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="https://github.com/muffinista/gophper-proxy">Code</a></li>
</ul>
</div><!--/.nav-collapse -->
<form class="gopher-uri form-inline">
<input type="text" name="uri" class="span4" style="margin-top:5px" placeholder="URL" />
<button type="submit" class="btn">go</button>
</form>
</div>
<ul class="right">
<li><a href="#" class="theme-switcher">Theme: <span>modern</span></a></li>
<li class="has-form">
<form class="gopher-uri">
<div class="row collapse">
<div class="large-10 columns">
<input type="text" name="uri" placeholder="URL" />
</div>
<div class="large-2 columns">
<input type="submit" class="button" value="go" />
</div>
</div>
</form>
</li>
</ul>
</section>
</nav>
</div>
<div id="main" class="row container">
<div id="spinner">
<img src="/assets/img/spinner.gif" />
</div>
<div class="large-12">
<div id="intro" class="<?php echo $this->data["class"] ?>">
<?php
if ( array_key_exists('file', $this->data) ) {
include_once($this->data["file"]);
}
?>
</div>
<div id="breadcrumb"></div>
<div id="gopher">
<?php
if ( array_key_exists('result', $this->data) ) {
print $this->data["result"]['data'];
}
?>
</div> <!-- /gopher -->
</div> <!-- /span8 -->
</div> <!-- /container -->
<div id="root_footer"></div>
</div>
<div class="container">
<div id="spinner">
<img src="/assets/img/spinner.gif" />
</div>
<div class="span2"></div>
<div class="span10">
<div id="intro" class="<?php echo $this->data["class"] ?>">
<?php
if ( array_key_exists('file', $this->data) ) {
include_once($this->data["file"]);
}
?>
</div>
<div id="breadcrumb"></div>
<div id="gopher">
<?php
if ( array_key_exists('result', $this->data) ) {
print $this->data["result"]['data'];
}
?>
</div> <!-- /gopher -->
</div> <!-- /span8 -->
</div> <!-- /container -->
<div class="navbar navbar-inverse navbar-fixed-bottom">
<div class="navbar-inner">
<div class="container">
<p class="muted credit">Gophper-PHP &copy; 2013 <a href="http://muffinlabs.com/">Colin
<div id="footer">
<div class="row fill-width">
<div class="small-10">
<p>Gophper-PHP &copy; 2013 <a href="http://muffinlabs.com/">Colin
Mitchell</a>. Content delivered via Gophper belongs to its
original authors. Enjoy!</p>
</div>
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/javascripts/foundation/foundation.js"></script>
<script src="/javascripts/foundation/foundation.alerts.js"></script>
<script src="/javascripts/foundation/foundation.placeholder.js"></script>
<script src="/javascripts/foundation/foundation.tooltips.js"></script>
<script src="/javascripts/foundation/foundation.section.js"></script>
<script src="/javascripts/foundation/foundation.magellan.js"></script>
<script src="/javascripts/foundation/foundation.forms.js"></script>
<script src="/javascripts/foundation/foundation.cookie.js"></script>
<script src="/javascripts/foundation/foundation.topbar.js"></script>
<script src="/javascripts/foundation/foundation.orbit.js"></script>
<script src="/javascripts/foundation/foundation.joyride.js"></script>
<script src="/javascripts/foundation/foundation.clearing.js"></script>
<script src="/javascripts/foundation/foundation.reveal.js"></script>
<script src="/javascripts/foundation/foundation.dropdown.js"></script>
<script>
$(document).foundation();
</script>
<script src="/assets/js/jquery.history.js"></script>
<!-- <script src="/assets/js/compressed.js"></script>-->
<script src="/assets/js/jquery.colorbox.js"></script>