diff --git a/css/foundation/app.css b/css/foundation/app.css new file mode 100644 index 0000000..adf12d6 --- /dev/null +++ b/css/foundation/app.css @@ -0,0 +1,33 @@ +/* Artfully masterminded by ZURB */ + +/* -------------------------------------------------- + Table of Contents +----------------------------------------------------- +:: Shared Styles +:: Page Name 1 +:: Page Name 2 +*/ + + +/* ----------------------------------------- + Shared Styles +----------------------------------------- */ + + + + + +/* ----------------------------------------- + Page Name 1 +----------------------------------------- */ + + + + + + +/* ----------------------------------------- + Page Name 2 +----------------------------------------- */ + + diff --git a/css/foundation/forms.css b/css/foundation/forms.css new file mode 100644 index 0000000..b954a16 --- /dev/null +++ b/css/foundation/forms.css @@ -0,0 +1,83 @@ +/* Artfully masterminded by ZURB + + Make sure to include the app.js if you are going to use inline label inputs +*/ + + +/* ----------------------------------------- + Standard Forms +----------------------------------------- */ + + form { margin: 0 0 18px; } + form label { display: block; font-size: 13px; line-height: 18px; cursor: pointer; margin-bottom: 9px; } + + input.input-text, textarea { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; } + input.input-text, textarea, select { display: block; margin-bottom: 9px; } + label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown { margin-top: -9px; } + + /* Text input and textarea font and padding */ + input.input-text, textarea { font-size: 13px; padding: 4px 3px 2px; outline: none !important; background: #fff; } + input.input-text.oversize, textarea.oversize { font-size: 18px !important; padding: 4px 5px !important; } + input.input-text:focus, textarea:focus { background: #f9f9f9; } + + /* Inlined Label Style */ + input.placeholder, textarea.placeholder { color: #888; } + + /* Text input and textarea sizes */ + input.input-text, textarea { width: 254px; } + input.small, textarea.small { width: 134px; } + input.medium, textarea.medium { width: 254px; } + input.large, textarea.large { width: 434px; } + + /* Fieldsets */ + form fieldset { padding: 9px 9px 2px 9px; border: solid 1px #ddd; margin: 18px 0; } + + /* Errors */ + input.input-text.red { border-color: red; background-color: rgba(255,0,0,0.15); } + label.red { color: red; } + small.error { margin-top: -6px; display: block; margin-bottom: 9px; font-size: 11px; color: red; width: 260px; } + + .small + .error { width: 140px; } + .medium + .error { width: 260px; } + .large + .error { width: 440px; } + + /* ----------------------------------------- + Nicer Forms + ----------------------------------------- */ + form.nice input.input-text, form.nice textarea { border: solid 1px #bbb; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; } + form.nice input.input-text, form.nice textarea { font-size: 13px; padding: 6px 3px 4px; outline: none !important; background: url(../images/misc/input-bg.png) #fff; } + form.nice input.input-text:focus, form.nice textarea:focus { background-color: #f9f9f9; } + + form.nice fieldset { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; } + + form.nice small.error { padding: 6px 4px; border: solid 0px red; border-width: 0px 1px 1px 1px; margin-top: -10px; background: red; color: #fff; font-size: 12px; font-weight: bold; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomleft: 2px; -moz-border-radius-bottomright: 2px; } + + form.nice .small + .error { width: 132px; } + form.nice .medium + .error { width: 252px; } + form.nice .large + .error { width: 432px; } + + /* ----------------------------------------- + Custom Forms + ----------------------------------------- */ + + form.custom span.custom { display: inline-block; width: 14px; height: 14px; position: relative; top: 2px; border: solid 1px #ccc; background: url(../images/misc/custom-form-sprites.png) 0 0 no-repeat; } + form.custom span.custom.radio { border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; } + form.custom span.custom.radio.checked { background-position: 0px -14px; } + form.custom span.custom.checkbox.checked { background-position: 0px -28px; } + + form.custom div.custom.dropdown { position: relative; display: inline-block; width: auto; height: 28px; margin-bottom: 9px; } + form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; padding: 0 38px 0 6px; border: solid 1px #ddd; color: #141414; } + form.custom div.custom.dropdown a.selector { position: absolute; width: 26px; height: 26px; display: block; background: url(../images/misc/custom-form-sprites.png) -14px 0 no-repeat; right: 0px; top: 0px; border: solid 1px #ddd; } + form.custom div.custom.dropdown:hover a.selector, + form.custom div.custom.dropdown.open a.selector { background-position: -14px -26px; } + + form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0px; top: 27px; margin: 0; padding: 0; background: rgba(255,255,255,0.9); border: solid 1px #ddd; z-index: 10; } + form.custom div.custom.dropdown ul li { cursor: pointer; padding: 3px 38px 3px 6px; margin: 0; } + form.custom div.custom.dropdown ul li.selected { background: url(../images/misc/custom-form-sprites.png) right -52px no-repeat; } + form.custom div.custom.dropdown ul li:hover { background-color: #2a85e8; color: #fff; } + form.custom div.custom.dropdown ul li.selected:hover { background: url(../images/misc/custom-form-sprites.png) #2a85e8 right -78px no-repeat; } + form.custom div.custom.dropdown ul.show { display: block; } + + form.custom div.custom.dropdown.open ul { display: block; } + + \ No newline at end of file diff --git a/css/foundation/globals.css b/css/foundation/globals.css new file mode 100644 index 0000000..a9e6744 --- /dev/null +++ b/css/foundation/globals.css @@ -0,0 +1,127 @@ +/* Arfully Masterminded by ZURB */ + +/* -------------------------------------------------- + Table of Contents +----------------------------------------------------- +:: Reset & Standards +:: Links +:: Lists +:: Tables +:: Misc +*/ + + +/* -------------------------------------------------- + :: Global Reset & Standards + -------------------------------------------------- */ + + /* + Eric Meyer's CSS Reset + http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) + */ + + html, body, div, span, applet, object, iframe, + h1, h2, h3, h4, h5, h6, p, blockquote, pre, + a, abbr, acronym, address, big, cite, code, + del, dfn, em, img, ins, kbd, q, s, samp, + small, strike, strong, sub, sup, tt, var, + b, u, i, center, + dl, dt, dd, ol, ul, li, + fieldset, form, label, legend, + table, caption, tbody, tfoot, thead, tr, th, td, + article, aside, canvas, details, embed, + figure, figcaption, footer, header, hgroup, + menu, nav, output, ruby, section, summary, + time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font: inherit; + vertical-align: baseline; + } + html { + font-size: 62.5%; + } + /* HTML5 display-role reset for older browsers */ + article, aside, details, figcaption, figure, + footer, header, hgroup, menu, nav, section { + display: block; + } + body { + line-height: 1; + } + ol, ul { + list-style: none; + } + blockquote, q { + quotes: none; + } + blockquote:before, blockquote:after, + q:before, q:after { + content: ''; + content: none; + } + table { + border-collapse: collapse; + border-spacing: 0; + } + + + + body { background: #fff; font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px; line-height: 18px; color: #555; position: relative; -webkit-font-smoothing: antialiased; } + + + +/* -------------------------------------------------- + :: Links + -------------------------------------------------- */ + a { color: #2a85e8; text-decoration: none; outline: 0; line-height: inherit; } + a:hover { color: #11639d; } + p a, p a:visited { line-height: inherit; } + + +/* -------------------------------------------------- + :: Lists + -------------------------------------------------- */ + ul, ol { margin-bottom: 18px; } + ul { list-style: none outside; } + ol { list-style: decimal; } + ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } + ul.square { list-style: square outside; } + ul.circle { list-style: circle outside; } + ul.disc { list-style: disc outside; } + ul ul, ol ol { margin: 4px 0 5px 30px; } + li { margin-bottom: 12px; } + ul.large li { line-height: 21px; } + + +/* -------------------------------------------------- + :: Tables + -------------------------------------------------- */ + table { background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; width: 100%; margin: 0 0 18px; border: 1px solid #ddd; } + + table thead { background: #f5f5f5; } + table thead tr th, + table tbody tr td { font-size: 12px; line-height: 18px; text-align: left; } + table thead tr th { padding: 8px 10px 9px; font-size: 14px; font-weight: bold; color: #222; } + table thead tr th:first-child { border-left: none; } + table thead tr th:last-child { border-right: none; } + + table thead tr { } + table tbody { } + table tbody tr { } + table tbody tr.even, + table tbody tr.alt { background: #f9f9f9; } + table tbody tr:nth-child(even) { background: #f9f9f9; } + table tbody tr td { color: #333; padding: 9px 10px; vertical-align: top; border: none; } + +/* -------------------------------------------------- + :: Misc +---------------------------------------------------*/ + .left { float: left; } + .right { float: right; } + .hide { display: none; } + .highlight { background: #ff0; } + \ No newline at end of file diff --git a/css/foundation/grid.css b/css/foundation/grid.css new file mode 100644 index 0000000..38f0740 --- /dev/null +++ b/css/foundation/grid.css @@ -0,0 +1,103 @@ +/* Arfully Masterminded by ZURB */ + +/* -------------------------------------------------- + :: Grid + + This is the mobile-friendly, responsive grid that + lets Foundation work much of its magic. + + -------------------------------------------------- */ + + .container { padding: 0px 20px; } + + .row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; } + /* To fix the grid into a certain size, set max-width to width */ + .row .row { min-width: 0px; } + + .column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; } + .column:first-child, .columns:first-child { margin-left: 0px; } + + .row .one.columns { width: 4.3%; } + .row .two.columns { width: 13%; } + .row .three.columns { width: 21.68%; } + .row .four.columns { width: 30.4%; } + .row .five.columns { width: 39.1%; } + .row .six.columns { width: 47.8%; } + .row .seven.columns { width: 56.5%; } + .row .eight.columns { width: 65.2%; } + .row .nine.columns { width: 73.9%; } + .row .ten.columns { width: 82.6%; } + .row .eleven.columns { width: 91.3%; } + .row .twelve.columns { width: 100%; } + + .row .offset-by-one { margin-left: 13.1%; } + .row .offset-by-two { margin-left: 21.8%; } + .row .offset-by-three { margin-left: 30.5%; } + .row .offset-by-four { margin-left: 39.2%; } + .row .offset-by-five { margin-left: 47.9%; } + .row .offset-by-six { margin-left: 56.6%; } + .row .offset-by-seven { margin-left: 65.3%; } + .row .offset-by-eight { margin-left: 74.0%; } + .row .offset-by-nine { margin-left: 82.7%; } + .row .offset-by-ten { margin-left: 91.4%; } + /*.row .offset-by-eleven { margin-left: 95.7%; }*/ + + .row .one.centered { margin-left: 47.9%; } + .row .two.centered { margin-left: 43.5%; } + .row .three.centered { margin-left: 39.2%; } + .row .four.centered { margin-left: 34.8%; } + .row .five.centered { margin-left: 30.5%; } + .row .six.centered { margin-left: 26.1%; } + .row .seven.centered { margin-left: 21.8%; } + .row .eight.centered { margin-left: 17.4%; } + .row .nine.centered { margin-left: 13.1%; } + .row .ten.centered { margin-left: 8.7%; } + .row .eleven.centered { margin-left: 4.3%; } + + .row .offset-by-one:first-child { margin-left: 8.7%; } + .row .offset-by-two:first-child { margin-left: 17.4%; } + .row .offset-by-three:first-child { margin-left: 26.1%; } + .row .offset-by-four:first-child { margin-left: 34.8%; } + .row .offset-by-five:first-child { margin-left: 43.5%; } + .row .offset-by-six:first-child { margin-left: 52.2%; } + .row .offset-by-seven:first-child { margin-left: 60.9%; } + .row .offset-by-eight:first-child { margin-left: 69.6%; } + .row .offset-by-nine:first-child { margin-left: 78.3%; } + .row .offset-by-ten:first-child { margin-left: 87%; } + .row .offset-by-eleven:first-child { margin-left: 95.7%; } + + img, object, embed { max-width: 100%; } + img { -ms-interpolation-mode: bicubic; } + + /* Nicolas Gallagher's micro clearfix */ + .row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; } + .row:after, .clearfix:after { clear: both; } + .row, .clearfix { zoom: 1; } + + + + +/* -------------------------------------------------- + :: Block grids + + These are 2-up, 3-up, 4-up and 5-up ULs, suited + for repeating blocks of content. Add 'mobile' to + them to switch them just like the layout grid + (one item per line) on phones + -------------------------------------------------- */ + + .block-grid { display: block; overflow: hidden; } + .block-grid>li { display: block; height: auto; float: left; } + + .block-grid.two-up { margin-left: -4% } + .block-grid.two-up>li { margin-left: 4%; width: 46%; } + + .block-grid.three-up { margin-left: -2% } + .block-grid.three-up>li { margin-left: 2%; width: 31.3%; } + + .block-grid.four-up { margin-left: -2% } + .block-grid.four-up>li { margin-left: 2%; width: 23%; } + + .block-grid.five-up { margin-left: -1.5% } + .block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; } + diff --git a/css/foundation/ie.css b/css/foundation/ie.css new file mode 100644 index 0000000..1ae592c --- /dev/null +++ b/css/foundation/ie.css @@ -0,0 +1,4 @@ +/* This is for all IE specfific style less than IE9 and +we make IE 8 render like 7. We hate IE. */ + + div.panel { border: 1px solid #ccc; } \ No newline at end of file diff --git a/css/foundation/mobile.css b/css/foundation/mobile.css new file mode 100644 index 0000000..9930b93 --- /dev/null +++ b/css/foundation/mobile.css @@ -0,0 +1,112 @@ +/* -------------------------------------------------- + :: Grid + -------------------------------------------------- */ + + /* Tablet screens */ + @media only screen and (device-width: 768px), (device-width: 800px) { + /* Currently unused */ + } + + + /* Mobile */ + @media only screen and (max-width: 767px) { + body { -webkit-text-size-adjust: none; } + + .row, body, .container { width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; } + .row .row .column, .row .row .columns { padding: 0; } + .column, .columns { width: auto !important; float: none; margin-left: 0px; margin-right: 0px; padding-left: 20px; padding-right: 20px; } + .column:last-child, .columns:last-child { margin-right: 0px; } + .offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten, .offset-by-eleven { margin-left: 0% !important; } + } + + +/* -------------------------------------------------- + :: Block Grids + -------------------------------------------------- */ + + @media only screen and (max-width: 767px) { + .block-grid.mobile li { float: none; width: 100%; } + } + + + +/* -------------------------------------------------- + :: Mobile Visibility Affordances +---------------------------------------------------*/ + + + .show-on-phones { display: none !important; } + .show-on-tablets { display: none !important; } + .show-on-desktops { display: block; } + + .hide-on-phones { display: block !important; } + .hide-on-tablets { display: block !important; } + .hide-on-desktops { display: none; } + + + @media only screen and (device-width: 768px), only screen and (device-width: 1280px), only screen and (device-width: 800px) { + .hide-on-phones { display: block !important; } + .hide-on-tablets { display: none !important; } + .hide-on-desktops { display: block !important; } + + .show-on-phones { display: none !important; } + .show-on-tablets { display: block !important; } + .show-on-desktops { display: none !important; } + } + + + @media only screen and (max-width: 767px) { + .hide-on-phones { display: none !important; } + .hide-on-tablets { display: block !important; } + .hide-on-desktops { display: block !important; } + + .show-on-phones { display: block !important; } + .show-on-tablets { display: none !important; } + .show-on-desktops { display: none !important; } + } + + +/* -------------------------------------------------- + :: Forms +---------------------------------------------------*/ + + + @media only screen and (max-width: 767px) { + input.input-text, input.input-text.oversize, textarea, + form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { display: block; width: 96%; padding: 6px 2% 4px; font-size: 18px; } + form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { -webkit-border-radius: 2px; -moz-border-radius: 2px; } + form.nice small.error { padding: 6px 2%; display: block; } + form.nice .small + .error { width: auto; } + form.nice .medium + .error { width: auto; } + form.nice .large + .error { width: auto; } + } + + +/* -------------------------------------------------- + :: UI +---------------------------------------------------*/ + + /* Buttons */ + @media only screen and (max-width: 767px) { + .button { display: block; } + button.button { width: 100%; padding-left: 0px; padding-right: 0px; } + } + + /* Tabs */ + + @media only screen and (max-width: 767px) { + dl.tabs.mobile, dl.nice.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; } + dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd { float: none; height: auto; } + + dl.tabs.mobile dd a { display: block; width: auto; height: auto; padding: 18px 20px; line-height: 1; border: solid 0px #ccc; border-width: 1px 0px 0px; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; } + dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0px 0px; } + + .nice.tabs.mobile { border-bottom: solid 1px #ccc; height: auto; } + .nice.tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; } + .nice.tabs.mobile dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0px; height: auto; } + .nice.tabs.mobile dd:first-child a.active { margin: 0; } + + dl.contained.mobile, dl.nice.contained.mobile { margin-bottom: 0px; } + dl.contained.tabs.mobile dd a { padding: 18px 20px; } + dl.nice.contained.tabs.mobile dd a { padding: 18px 20px; } + } \ No newline at end of file diff --git a/css/foundation/orbit.css b/css/foundation/orbit.css new file mode 100644 index 0000000..8fb70cb --- /dev/null +++ b/css/foundation/orbit.css @@ -0,0 +1,210 @@ +/* CSS for jQuery Orbit Plugin 1.2.3 + * www.ZURB.com/playground + * Copyright 2010, ZURB + * Free to use under the MIT license. + * http://www.opensource.org/licenses/mit-license.php + + + +/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY + ================================================== */ +#caseStudies { + width: 1000px; + height: 210px; + background: #fff url('../images/orbit/loading.gif') no-repeat center center; + overflow: hidden; } +#caseStudies>img, +#caseStudies>div, +#caseStudies>a { display: none; } + + + + +/* CONTAINER + ================================================== */ + +div.orbit-wrapper { + width: 1px; + height: 1px; + position: relative; } + +div.orbit { + width: 1px; + height: 1px; + position: relative; + overflow: hidden } + +div.orbit>img { + position: absolute; + top: 0; + left: 0; + /* display: none; */ } + +div.orbit>a { + border: none; + position: absolute; + top: 0; + left: 0; + line-height: 0; + display: none; } + +.orbit>div { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; } + +/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */ + + +/* TIMER + ================================================== */ + +div.timer { + width: 40px; + height: 40px; + overflow: hidden; + position: absolute; + top: 10px; + right: 10px; + opacity: .6; + cursor: pointer; + z-index: 1001; } + +span.rotator { + display: block; + width: 40px; + height: 40px; + position: absolute; + top: 0; + left: -20px; + background: url(../images/orbit/rotator-black.png) no-repeat; + z-index: 3; } + +span.mask { + display: block; + width: 20px; + height: 40px; + position: absolute; + top: 0; + right: 0; + z-index: 2; + overflow: hidden; } + +span.rotator.move { + left: 0 } + +span.mask.move { + width: 40px; + left: 0; + background: url(../images/orbit/timer-black.png) repeat 0 0; } + +span.pause { + display: block; + width: 40px; + height: 40px; + position: absolute; + top: 0; + left: 0; + background: url(../images/orbit/pause-black.png) no-repeat; + z-index: 4; + opacity: 0; } + +span.pause.active { + background: url(../images/orbit/pause-black.png) no-repeat 0 -40px } + +div.timer:hover span.pause, +span.pause.active { + opacity: 1 } + + +/* CAPTIONS + ================================================== */ + +.orbit-caption { + display: none; + font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; } + +.orbit-wrapper .orbit-caption { + background: #000; + background: rgba(0,0,0,.6); + z-index: 1000; + color: #fff; + text-align: center; + padding: 7px 0; + font-size: 13px; + position: absolute; + right: 0; + bottom: 0; + width: 100%; } + + +/* DIRECTIONAL NAV + ================================================== */ + +div.slider-nav { + display: block } + +div.slider-nav span { + width: 78px; + height: 100px; + text-indent: -9999px; + position: absolute; + z-index: 1000; + top: 50%; + margin-top: -50px; + cursor: pointer; } + +div.slider-nav span.right { + background: url(../images/orbit/right-arrow.png); + right: 0; } + +div.slider-nav span.left { + background: url(../images/orbit/left-arrow.png); + left: 0; } + +/* BULLET NAV + ================================================== */ + +.orbit-bullets { + position: absolute; + z-index: 1000; + list-style: none; + bottom: -40px; + left: 50%; + margin-left: -50px; + padding: 0; } + +.orbit-bullets li { + float: left; + margin-left: 5px; + cursor: pointer; + color: #999; + text-indent: -9999px; + background: url(../images/orbit/bullets.jpg) no-repeat 4px 0; + width: 13px; + height: 12px; + overflow: hidden; } + +.orbit-bullets li.active { + color: #222; + background-position: -8px 0; } + +.orbit-bullets li.has-thumb { + background: none; + width: 100px; + height: 75px; } + +.orbit-bullets li.active.has-thumb { + background-position: 0 0; + border-top: 2px solid #000; } + +/* FLUID LAYOUT + ================================================== */ +.orbit .fluid-placeholder { + visibility: hidden; + position: static; + display: block; + width: 100%; +} \ No newline at end of file diff --git a/css/foundation/reveal.css b/css/foundation/reveal.css new file mode 100644 index 0000000..7d84ba0 --- /dev/null +++ b/css/foundation/reveal.css @@ -0,0 +1,91 @@ +/* -------------------------------------------------- + Reveal Modals + -------------------------------------------------- */ + + .reveal-modal-bg { + position: fixed; + height: 100%; + width: 100%; + background: #000; + background: rgba(0,0,0,.8); + z-index: 2000; + display: none; + top: 0; + left: 0; + } + + .reveal-modal { + visibility: hidden; + top: 100px; + left: 50%; + margin-left: -300px; + width: 520px; + background: #eee url(../images/misc/modal-gloss.png) no-repeat -200px -80px; + position: absolute; + z-index: 2001; + padding: 30px 40px 34px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: 0 0 10px rgba(0,0,0,.4); + -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4); + box-shadow: 0 0 10px rgba(0,0,0,.4); + } + + .reveal-modal.small { width: 200px; margin-left: -140px;} + .reveal-modal.medium { width: 400px; margin-left: -240px;} + .reveal-modal.large { width: 600px; margin-left: -340px;} + .reveal-modal.xlarge { width: 800px; margin-left: -440px;} + + .reveal-modal .close-reveal-modal { + font-size: 22px; + line-height: .5; + position: absolute; + top: 8px; + right: 11px; + color: #aaa; + text-shadow: 0 -1px 1px rbga(0,0,0,.6); + font-weight: bold; + cursor: pointer; + } + + + /* Mobile */ + + @media handheld, only screen and (device-width: 768px), (device-width: 800px) { + .reveal-modal-bg { position: absolute; } + + .reveal-modal, + .reveal-modal.small, + .reveal-modal.medium, + .reveal-modal.large, + .reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0px; padding: 5%; height: auto; } + } + + @media handheld, only screen and (max-width: 767px) { + .reveal-modal-bg { position: absolute; } + + .reveal-modal, + .reveal-modal.small, + .reveal-modal.medium, + .reveal-modal.large, + .reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0px; padding: 5%; height: auto; } + } + + + /* + + NOTES + + Close button entity is × + + Example markup + +
Your couch. I it's mine.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam.
+ × +