HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div data-role="page" id="truckstockcart">
<div role="main" class="ui-content">
<fieldset class="ui-grid-b">
<!-- START Camera Box -->
<div id="interactive" class="viewport hide">
<div class="flash"></div>
<video autoplay="true" preload="auto" src="" muted="true" playsinline="true"></video>
<canvas #canvas class="drawing"></canvas>
</div>
<!-- /END Camera Box -->
<form name="QuickAdd" id="QuickAddForm" method="post" action="WebCatPageServer.exe" data-ajax="false" data-parsley-validate>
<input name="Action" type="hidden" value="TS_QuickAdd" />
<div class="ui-block-a" style="width:50%; padding-left:0; margin-right:0;">
<div class="ui-bar ui-bar-a">
<input type="text" name="ProductID" id="scanField" placeholder="Scan Barcode/Enter Product ID" value="" data-parsley-errors-container=".errorspanproductid" data-parsley-required-message="Please scan a barcode or enter a product ID to search." required />
<span class="errorspanproductid"></span>
</div>
</div>
<div class="ui-block-c" style="width:15%; padding-left:0; margin-right:0;">
<div class="ui-bar ui-bar-a">
<button type="button" id="openCam" class="ui-btn ui-corner-all icon-barcode ui-shadow scan" style="padding-right:0; margin-right:0;"> </button>
<button type="button" id="closeCam" class="ui-btn ui-corner-all icon-barcode ui-shadow scan hide" style="padding-right:0; margin-right:0;">
</button>
</div>
</div>
</form>
</fieldset>
</div>
</div>
/*!
* jQuery Mobile 1.4.3
* Git HEAD hash: b9c6473e3d90af26570e6f14e5a0307897ab385c <> Date: Tue Jul 1 2014 15:37:36 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and othercontributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
/* Globals */
/* Font
-----------------------------------------------------------------------------------------------------------*/
html {
font-size: 100%;
}
body,
input,
select,
textarea,
button,
.ui-btn {
font-size: 1em;
line-height: 1.3;
font-family: Helvetica /*{global-font-family}*/;
}
legend,
.ui-input-text input,
.ui-input-search input {
color: inherit;
text-shadow: inherit;
}
/* Form labels (overrides font-weight bold in bars, and mini font-size) */
.ui-mobile label,
div.ui-controlgroup-label {
font-weight: normal;
font-size: 16px;
}
/* Separators
-----------------------------------------------------------------------------------------------------------*/
/* Field contain separator (< 28em) */
.ui-field-contain {
border-bottom-color: #828282;
border-bottom-color: rgba(0,0,0,.15);
border-bottom-width: 1px;
border-bottom-style: solid;
}
/* Table opt-in classes: strokes between each row, and alternating row stripes */
/* Classes table-stroke and table-stripe are deprecated in 1.4. */
.table-stroke thead th,
.table-stripe thead th,
.table-stripe tbody tr:last-child {
border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback */
border-bottom: 1px solid rgba(0,0,0,.1);
}
.table-stroke tbody th,
.table-stroke tbody td {
border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback */
border-bottom: 1px solid rgba(0,0,0,.05);
}
.table-stripe.table-stroke tbody tr:last-child th,
.table-stripe.table-stroke tbody tr:last-child td {
border-bottom: 0;
}
.table-stripe tbody tr:nth-child(odd) td,
.table-stripe tbody tr:nth-child(odd) th {
background-color: #eeeeee; /* non-RGBA fallback */
background-color: rgba(0,0,0,.04);
}
/* Buttons
-----------------------------------------------------------------------------------------------------------*/
.ui-btn,
label.ui-btn {
font-weight: bold;
border-width: 1px;
border-style: solid;
}
.ui-btn {
text-decoration: none !important;
}
.ui-btn-active {
cursor: pointer;
}
/* Corner rounding
-----------------------------------------------------------------------------------------------------------*/
/* Class ui-btn-corner-all deprecated in 1.4 */
.ui-corner-all {
-webkit-border-radius: .6em /*{global-radii-blocks}*/;
border-radius: .6em /*{global-radii-blocks}*/;
}
/* Buttons */
.ui-btn-corner-all,
.ui-btn.ui-corner-all,
/* Slider track */
.ui-slider-track.ui-corner-all,
/* Flipswitch */
.ui-flipswitch.ui-corner-all,
/* Count bubble */
.ui-li-count {
-webkit-border-radius: .3125em /*{global-radii-buttons}*/;
border-radius: .3125em /*{global-radii-buttons}*/;
}
/* Icon-only buttons */
.ui-btn-icon-notext.ui-btn-corner-all,
.ui-btn-icon-notext.ui-corner-all {
-webkit-border-radius: 1em;
border-radius: 1em;
}
/* Radius clip workaround for cleaning up corner trapping */
.ui-btn-corner-all,
.ui-corner-all {
-webkit-background-clip: padding;
background-clip: padding-box;
}
/* Popup arrow */
.ui-popup.ui-corner-all > .ui-popup-arrow-guide {
left: .6em /*{global-radii-blocks}*/;
right: .6em /*{global-radii-blocks}*/;
top: .6em /*{global-radii-blocks}*/;
bottom: .6em /*{global-radii-blocks}*/;
}
/* Shadow
-----------------------------------------------------------------------------------------------------------*/
.ui-shadow {
-webkit-box-shadow: 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
-moz-box-shadow: 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
box-shadow: 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
}
.ui-shadow-inset {
-webkit-box-shadow: inset 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
-moz-box-shadow: inset 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
box-shadow: inset 0 1px 1px /*{global-box-shadow-size}*/ rgba(0,0,0,0.2) /*{global-box-shadow-color}*/;
}
.ui-overlay-shadow {
-webkit-box-shadow: 0 0 12px rgba(0,0,0,.6);
-moz-box-shadow: 0 0 12px rgba(0,0,0,.6);
box-shadow: 0 0 12px rgba(0,0,0,.6);
}
/* Icons
-----------------------------------------------------------------------------------------------------------*/
.ui-btn-icon-left:after,
.ui-btn-icon-right:after,
.ui-btn-icon-top:after,
.ui-btn-icon-bottom:after,
.ui-btn-icon-notext:after {
background-color: #000000 /*{global-icon-color}*/;
background-color: rgba(0,0,0,0.1) /*{global-icon-disc}*/;
background-position: center center;
background-repeat: no-repeat;
-webkit-border-radius: 1em;
border-radius: 1em;
}
/* Alt icons */
.ui-alt-icon.ui-btn:after,
.ui-alt-icon .ui-btn:after,
html .ui-alt-icon.ui-checkbox-off:after,
html .ui-alt-icon.ui-radio-off:after,
html .ui-alt-icon .ui-checkbox-off:after,
html .ui-alt-icon .ui-radio-off:after {
background-color: #000000 /*{global-icon-color}*/;
background-color: rgba(0,0,0,0.1) /*{global-icon-disc}*/;
}
/* No disc */
.ui-nodisc-icon.ui-btn:after,
.ui-nodisc-icon .ui-btn:after {
background-color: transparent;
}
/* Icon shadow */
.ui-shadow-icon.ui-btn:after,
.ui-shadow-icon .ui-btn:after {
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/;
box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/;
}
/* Checkbox and radio */
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after,
.ui-btn.ui-radio-off:after,
.ui-btn.ui-radio-on:after {
display: block;
width: 18px;
height: 18px;
margin: -9px 2px 0 2px;
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
-webkit-border-radius: .1875em;
border-radius: .1875em;
}
.ui-btn.ui-checkbox-off:after {
background-color: #666;
background-color: rgba(0,0,0,.3);
}
.ui-radio .ui-btn.ui-radio-on:after {
background-image: none;
background-color: #fff;
width: 8px;
height: 8px;
border-width: 5px;
border-style: solid;
}
.ui-alt-icon.ui-btn.ui-radio-on:after,
.ui-alt-icon .ui-btn.ui-radio-on:after {
background-color: #000;
}
/* Loader */
.ui-icon-loading {
background: url("images/ajax-loader.gif");
background-size: 2.875em 2.875em;
}
/* Swatches */
/* A
-----------------------------------------------------------------------------------------------------------*/
/* Bar: Toolbars, dividers, slider track */
.ui-bar-a,
.ui-page-theme-a .ui-bar-inherit,
html .ui-bar-a .ui-bar-inherit,
html .ui-body-a .ui-bar-inherit,
html body .ui-group-theme-a .ui-bar-inherit {
background-color: #2573a9 /*{a-bar-background-color}*/;
border-color: #dddddd /*{a-bar-border}*/;
color: #f3f6f7 /*{a-bar-color}*/;
text-shadow: 0 /*{a-bar-shadow-x}*/ 0px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #515a5d /*{a-bar-shadow-color}*/;
font-weight: bold;
}
.ui-bar-a {
border-width: 1px;
border-style: solid;
}
/* Page and overlay */
.ui-overlay-a,
.ui-page-theme-a,
.ui-page-theme-a .ui-panel-wrapper {
background-color: #dbdbdb /*{a-page-background-color}*/;
border-color: #bbbbbb /*{a-page-border}*/;
color: #515c68 /*{a-page-color}*/;
text-shadow: 0 /*{a-page-shadow-x}*/ 0px /*{a-page-shadow-y}*/ 0 /*{a-page-shadow-radius}*/ #f3f3f3 /*{a-page-shadow-color}*/;
}
/* Body: Read-only lists, text inputs, collapsible content */
.ui-body-a,
.ui-page-theme-a .ui-body-inherit,
html .ui-bar-a .ui-body-inherit,
html .ui-body-a .ui-body-inherit,
html body .ui-group-theme-a .ui-body-inherit,
html .ui-panel-page-container-a {
background-color: #ffffff /*{a-body-background-color}*/;
border-color: #dddddd /*{a-body-border}*/;
color: #515c68 /*{a-body-color}*/;
text-shadow: 0 /*{a-body-shadow-x}*/ 1px /*{a-body-shadow-y}*/ 0 /*{a-body-shadow-radius}*/ #f3f3f3 /*{a-body-shadow-color}*/;
}
.ui-body-a {
border-width: 1px;
border-style: solid;
}
/* Links */
.ui-page-theme-a a,
html .ui-bar-a a,
html .ui-body-a a,
html body .ui-group-theme-a a {
color: #3e8ec6 /*{a-link-color}*/;
font-weight: bold;
}
.ui-page-theme-a a:visited,
html .ui-bar-a a:visited,
html .ui-body-a a:visited,
html body .ui-group-theme-a a:visited {
color: #3388cc /*{a-link-visited}*/;
}
.ui-page-theme-a a:hover,
html .ui-bar-a a:hover,
html .ui-body-a a:hover,
html body .ui-group-theme-a a:hover {
color: #005599 /*{a-link-hover}*/;
}
.ui-page-theme-a a:active,
html .ui-bar-a a:active,
html .ui-body-a a:active,
html body .ui-group-theme-a a:active {
color: #005599 /*{a-link-active}*/;
}
/* Button up */
.ui-page-theme-a .ui-btn,
html .ui-bar-a .ui-btn,
html .ui-body-a .ui-btn,
html body .ui-group-theme-a .ui-btn,
html head + body .ui-btn.ui-btn-a,
/* Button visited */
.ui-page-theme-a .ui-btn:visited,
html .ui-bar-a .ui-btn:visited,
html .ui-body-a .ui-btn:visited,
html body .ui-group-theme-a .ui-btn:visited,
html head + body .ui-btn.ui-btn-a:visited {
background-color: #909498 /*{a-bup-background-color}*/;
border-color: #a7a8aa /*{a-bup-border}*/;
color: #f3f6f7 /*{a-bup-color}*/;
text-shadow: 0 /*{a-bup-shadow-x}*/ 1px /*{a-bup-shadow-y}*/ 0 /*{a-bup-shadow-radius}*/ #515a5d /*{a-bup-shadow-color}*/;
}
/* Button hover */
.ui-page-theme-a .ui-btn:hover,
html .ui-bar-a .ui-btn:hover,
html .ui-body-a .ui-btn:hover,
html body .ui-group-theme-a .ui-btn:hover,
html head + body .ui-btn.ui-btn-a:hover {
background-color: #494c50 /*{a-bhover-background-color}*/;
border-color: #7f8690 /*{a-bhover-border}*/;
color: #f3f6f7 /*{a-bhover-color}*/;
text-shadow: 0 /*{a-bhover-shadow-x}*/ 1px /*{a-bhover-shadow-y}*/ 0 /*{a-bhover-shadow-radius}*/ #494c50 /*{a-bhover-shadow-color}*/;
}
/* Button down */
.ui-page-theme-a .ui-btn:active,
html .ui-bar-a .ui-btn:active,
html .ui-body-a .ui-btn:active,
html body .ui-group-theme-a .ui-btn:active,
html head + body .ui-btn.ui-btn-a:active {
background-color: #494c50 /*{a-bdown-background-color}*/;
border-color: #7f8690 /*{a-bdown-border}*/;
color: #f3f6f7 /*{a-bdown-color}*/;
text-shadow: 0 /*{a-bdown-shadow-x}*/ 1px /*{a-bdown-shadow-y}*/ 0 /*{a-bdown-shadow-radius}*/ #494c50 /*{a-bdown-shadow-color}*/;
}
/* Active button */
.ui-page-theme-a .ui-btn.ui-btn-active,
html .ui-bar-a .ui-btn.ui-btn-active,
html .ui-body-a .ui-btn.ui-btn-active,
html body .ui-group-theme-a .ui-btn.ui-btn-active,
html head + body .ui-btn.ui-btn-a.ui-btn-active,
/* Active checkbox icon */
.ui-page-theme-a .ui-checkbox-on:after,
html .ui-bar-a .ui-checkbox-on:after,
html .ui-body-a .ui-checkbox-on:after,
html body .ui-group-theme-a .ui-checkbox-on:after,
.ui-btn.ui-checkbox-on.ui-btn-a:after,
/* Active flipswitch background */
.ui-page-theme-a .ui-flipswitch-active,
html .ui-bar-a .ui-flipswitch-active,
html .ui-body-a .ui-flipswitch-active,
html body .ui-group-theme-a .ui-flipswitch-active,
html body .ui-flipswitch.ui-bar-a.ui-flipswitch-active,
/* Active slider track */
.ui-page-theme-a .ui-slider-track .ui-btn-active,
html .ui-bar-a .ui-slider-track .ui-btn-active,
html .ui-body-a .ui-slider-track .ui-btn-active,
html body .ui-group-theme-a .ui-slider-track .ui-btn-active,
html body div.ui-slider-track.ui-body-a .ui-btn-active {
background-color: #494c50 /*{a-active-background-color}*/;
border-color: #7f8690 /*{a-active-border}*/;
color: #ffffff /*{a-active-color}*/;
text-shadow: 0 /*{a-active-shadow-x}*/ 1px /*{a-active-shadow-y}*/ 0 /*{a-active-shadow-radius}*/ #005599 /*{a-active-shadow-color}*/;
}
/* Active radio button icon */
.ui-page-theme-a .ui-radio-on:after,
html .ui-bar-a .ui-radio-on:after,
html .ui-body-a .ui-radio-on:after,
html body .ui-group-theme-a .ui-radio-on:after,
.ui-btn.ui-radio-on.ui-btn-a:after {
border-color: #494c50 /*{a-active-background-color}*/;
}
/* Focus */
.ui-page-theme-a .ui-btn:focus,
html .ui-bar-a .ui-btn:focus,
html .ui-body-a .ui-btn:focus,
html body .ui-group-theme-a .ui-btn:focus,
html head + body .ui-btn.ui-btn-a:focus,
/* Focus buttons and text inputs with div wrap */
.ui-page-theme-a .ui-focus,
html .ui-bar-a .ui-focus,
html .ui-body-a .ui-focus,
html body .ui-group-theme-a .ui-focus,
html head + body .ui-btn-a.ui-focus,
html head + body .ui-body-a.ui-focus {
-webkit-box-shadow: 0 0 12px #494c50 /*{a-active-background-color}*/;
-moz-box-shadow: 0 0 12px #494c50 /*{a-active-background-color}*/;
box-shadow: 0 0 12px #494c50 /*{a-active-background-color}*/;
}
/* B
-----------------------------------------------------------------------------------------------------------*/
/* Bar: Toolbars, dividers, slider track */
.ui-bar-b,
.ui-page-theme-b .ui-bar-inherit,
html .ui-bar-b .ui-bar-inherit,
html .ui-body-b .ui-bar-inherit,
html body .ui-group-theme-b .ui-bar-inherit {
background-color: #1f5d91 /*{b-bar-background-color}*/;
border-color: #2b82cb /*{b-bar-border}*/;
color: #f3f6f7 /*{b-bar-color}*/;
text-shadow: 0 /*{b-bar-shadow-x}*/ 0px /*{b-bar-shadow-y}*/ 0 /*{b-bar-shadow-radius}*/ #515a5d /*{b-bar-shadow-color}*/;
font-weight: bold;
}
.ui-bar-b {
border-width: 1px;
border-style: solid;
}
/* Page and overlay */
.ui-overlay-b,
.ui-page-theme-b,
.ui-page-theme-b .ui-panel-wrapper {
background-color: #dbdbdb /*{b-page-background-color}*/;
border-color: #bbbbbb /*{b-page-border}*/;
color: #515c68 /*{b-page-color}*/;
text-shadow: 0 /*{b-page-shadow-x}*/ 0px /*{b-page-shadow-y}*/ 0 /*{b-page-shadow-radius}*/ #f3f3f3 /*{b-page-shadow-color}*/;
}
/* Body: Read-only lists, text inputs, collapsible content */
.ui-body-b,
.ui-page-theme-b .ui-body-inherit,
html .ui-bar-b .ui-body-inherit,
html .ui-body-b .ui-body-inherit,
html body .ui-group-theme-b .ui-body-inherit,
html .ui-panel-page-container-b {
background-color: #ffffff /*{b-body-background-color}*/;
border-color: #dddddd /*{b-body-border}*/;
color: #515c68 /*{b-body-color}*/;
text-shadow: 0 /*{b-body-shadow-x}*/ 1px /*{b-body-shadow-y}*/ 0 /*{b-body-shadow-radius}*/ #f3f3f3 /*{b-body-shadow-color}*/;
}
.ui-body-b {
border-width: 1px;
border-style: solid;
}
/* Links */
.ui-page-theme-b a,
html .ui-bar-b a,
html .ui-body-b a,
html body .ui-group-theme-b a {
color: #3388cc /*{b-link-color}*/;
font-weight: bold;
}
.ui-page-theme-b a:visited,
html .ui-bar-b a:visited,
html .ui-body-b a:visited,
html body .ui-group-theme-b a:visited {
color: #3388cc /*{b-link-visited}*/;
}
.ui-page-theme-b a:hover,
html .ui-bar-b a:hover,
html .ui-body-b a:hover,
html body .ui-group-theme-b a:hover {
color: #005599 /*{b-link-hover}*/;
}
.ui-page-theme-b a:active,
html .ui-bar-b a:active,
html .ui-body-b a:active,
html body .ui-group-theme-b a:active {
color: #005599 /*{b-link-active}*/;
}
/* Button up */
.ui-page-theme-b .ui-btn,
html .ui-bar-b .ui-btn,
html .ui-body-b .ui-btn,
html body .ui-group-theme-b .ui-btn,
html head + body .ui-btn.ui-btn-b,
/* Button visited */
.ui-page-theme-b .ui-btn:visited,
html .ui-bar-b .ui-btn:visited,
html .ui-body-b .ui-btn:visited,
html body .ui-group-theme-b .ui-btn:visited,
html head + body .ui-btn.ui-btn-b:visited {
background-color: #494c50 /*{b-bup-background-color}*/;
border-color: #7f8690 /*{b-bup-border}*/;
color: #f3f6f7 /*{b-bup-color}*/;
text-shadow: 0 /*{b-bup-shadow-x}*/ 1px /*{b-bup-shadow-y}*/ 0 /*{b-bup-shadow-radius}*/ #515a5d /*{b-bup-shadow-color}*/;
}
/* Button hover */
.ui-page-theme-b .ui-btn:hover,
html .ui-bar-b .ui-btn:hover,
html .ui-body-b .ui-btn:hover,
html body .ui-group-theme-b .ui-btn:hover,
html head + body .ui-btn.ui-btn-b:hover {
background-color: #909498 /*{b-bhover-background-color}*/;
border-color: #a7a8aa /*{b-bhover-border}*/;
color: #f3f6f7 /*{b-bhover-color}*/;
text-shadow: 0 /*{b-bhover-shadow-x}*/ 1px /*{b-bhover-shadow-y}*/ 0 /*{b-bhover-shadow-radius}*/ #494c50 /*{b-bhover-shadow-color}*/;
}
/* Button down */
.ui-page-theme-b .ui-btn:active,
html .ui-bar-b .ui-btn:active,
html .ui-body-b .ui-btn:active,
html body .ui-group-theme-b .ui-btn:active,
html head + body .ui-btn.ui-btn-b:active {
background-color: #909498 /*{b-bdown-background-color}*/;
border-color: #a7a8aa /*{b-bdown-border}*/;
color: #f3f6f7 /*{b-bdown-color}*/;
text-shadow: 0 /*{b-bdown-shadow-x}*/ 1px /*{b-bdown-shadow-y}*/ 0 /*{b-bdown-shadow-radius}*/ #494c50 /*{b-bdown-shadow-color}*/;
}
/* Active button */
.ui-page-theme-b .ui-btn.ui-btn-active,
html .ui-bar-b .ui-btn.ui-btn-active,
html .ui-body-b .ui-btn.ui-btn-active,
html body .ui-group-theme-b .ui-btn.ui-btn-active,
html head + body .ui-btn.ui-btn-b.ui-btn-active,
/* Active checkbox icon */
.ui-page-theme-b .ui-checkbox-on:after,
html .ui-bar-b .ui-checkbox-on:after,
html .ui-body-b .ui-checkbox-on:after,
html body .ui-group-theme-b .ui-checkbox-on:after,
.ui-btn.ui-checkbox-on.ui-btn-b:after,
/* Active flipswitch background */
.ui-page-theme-b .ui-flipswitch-active,
html .ui-bar-b .ui-flipswitch-active,
html .ui-body-b .ui-flipswitch-active,
html body .ui-group-theme-b .ui-flipswitch-active,
html body .ui-flipswitch.ui-bar-b.ui-flipswitch-active,
/* Active slider track */
.ui-page-theme-b .ui-slider-track .ui-btn-active,
html .ui-bar-b .ui-slider-track .ui-btn-active,
html .ui-body-b .ui-slider-track .ui-btn-active,
html body .ui-group-theme-b .ui-slider-track .ui-btn-active,
html body div.ui-slider-track.ui-body-b .ui-btn-active {
background-color: #909498 /*{b-active-background-color}*/;
border-color: #c1c1c1 /*{b-active-border}*/;
color: #ffffff /*{b-active-color}*/;
text-shadow: 0 /*{b-active-shadow-x}*/ 1px /*{b-active-shadow-y}*/ 0 /*{b-active-shadow-radius}*/ #005599 /*{b-active-shadow-color}*/;
}
/* Active radio button icon */
.ui-page-theme-b .ui-radio-on:after,
html .ui-bar-b .ui-radio-on:after,
html .ui-body-b .ui-radio-on:after,
html body .ui-group-theme-b .ui-radio-on:after,
.ui-btn.ui-radio-on.ui-btn-b:after {
border-color: #909498 /*{b-active-background-color}*/;
}
/* Focus */
.ui-page-theme-b .ui-btn:focus,
html .ui-bar-b .ui-btn:focus,
html .ui-body-b .ui-btn:focus,
html body .ui-group-theme-b .ui-btn:focus,
html head + body .ui-btn.ui-btn-b:focus,
/* Focus buttons and text inputs with div wrap */
.ui-page-theme-b .ui-focus,
html .ui-bar-b .ui-focus,
html .ui-body-b .ui-focus,
html body .ui-group-theme-b .ui-focus,
html head + body .ui-btn-b.ui-focus,
html head + body .ui-body-b.ui-focus {
-webkit-box-shadow: 0 0 12px #909498 /*{b-active-background-color}*/;
-moz-box-shadow: 0 0 12px #909498 /*{b-active-background-color}*/;
box-shadow: 0 0 12px #909498 /*{b-active-background-color}*/;
}
/* C
-----------------------------------------------------------------------------------------------------------*/
/* Bar: Toolbars, dividers, slider track */
.ui-bar-c,
.ui-page-theme-c .ui-bar-inherit,
html .ui-bar-c .ui-bar-inherit,
html .ui-body-c .ui-bar-inherit,
html body .ui-group-theme-c .ui-bar-inherit {
background-color: #074773 /*{c-bar-background-color}*/;
border-color: #dddddd /*{c-bar-border}*/;
color: #f3f6f7 /*{c-bar-color}*/;
text-shadow: 0 /*{c-bar-shadow-x}*/ 0px /*{c-bar-shadow-y}*/ 0 /*{c-bar-shadow-radius}*/ #515a5d /*{c-bar-shadow-color}*/;
font-weight: bold;
}
.ui-bar-c {
border-width: 1px;
border-style: solid;
}
/* Page and overlay */
.ui-overlay-c,
.ui-page-theme-c,
.ui-page-theme-c .ui-panel-wrapper {
background-color: #dbdbdb /*{c-page-background-color}*/;
border-color: #bbbbbb /*{c-page-border}*/;
color: #515c68 /*{c-page-color}*/;
text-shadow: 0 /*{c-page-shadow-x}*/ 0px /*{c-page-shadow-y}*/ 0 /*{c-page-shadow-radius}*/ #f3f3f3 /*{c-page-shadow-color}*/;
}
/* Body: Read-only lists, text inputs, collapsible content */
.ui-body-c,
.ui-page-theme-c .ui-body-inherit,
html .ui-bar-c .ui-body-inherit,
html .ui-body-c .ui-body-inherit,
html body .ui-group-theme-c .ui-body-inherit,
html .ui-panel-page-container-c {
background-color: #ffffff /*{c-body-background-color}*/;
border-color: #dddddd /*{c-body-border}*/;
color: #515c68 /*{c-body-color}*/;
text-shadow: 0 /*{c-body-shadow-x}*/ 1px /*{c-body-shadow-y}*/ 0 /*{c-body-shadow-radius}*/ #f3f3f3 /*{c-body-shadow-color}*/;
}
.ui-body-c {
border-width: 1px;
border-style: solid;
}
/* Links */
.ui-page-theme-c a,
html .ui-bar-c a,
html .ui-body-c a,
html body .ui-group-theme-c a {
color: #2573a9 /*{c-link-color}*/;
font-weight: bold;
}
.ui-page-theme-c a:visited,
html .ui-bar-c a:visited,
html .ui-body-c a:visited,
html body .ui-group-theme-c a:visited {
color: #1f5d91 /*{c-link-visited}*/;
}
.ui-page-theme-c a:hover,
html .ui-bar-c a:hover,
html .ui-body-c a:hover,
html body .ui-group-theme-c a:hover {
color: #074773 /*{c-link-hover}*/;
}
.ui-page-theme-c a:active,
html .ui-bar-c a:active,
html .ui-body-c a:active,
html body .ui-group-theme-c a:active {
color: #074773 /*{c-link-active}*/;
}
/* Button up */
.ui-page-theme-c .ui-btn,
html .ui-bar-c .ui-btn,
html .ui-body-c .ui-btn,
html body .ui-group-theme-c .ui-btn,
html head + body .ui-btn.ui-btn-c,
/* Button visited */
.ui-page-theme-c .ui-btn:visited,
html .ui-bar-c .ui-btn:visited,
html .ui-body-c .ui-btn:visited,
html body .ui-group-theme-c .ui-btn:visited,
html head + body .ui-btn.ui-btn-c:visited {
background-color: #504d49 /*{c-bup-background-color}*/;
border-color: #7f8690 /*{c-bup-border}*/;
color: #f3f6f7 /*{c-bup-color}*/;
text-shadow: 0 /*{c-bup-shadow-x}*/ 1px /*{c-bup-shadow-y}*/ 0 /*{c-bup-shadow-radius}*/ #005599 /*{c-bup-shadow-color}*/;
}
/* Button hover */
.ui-page-theme-c .ui-btn:hover,
html .ui-bar-c .ui-btn:hover,
html .ui-body-c .ui-btn:hover,
html body .ui-group-theme-c .ui-btn:hover,
html head + body .ui-btn.ui-btn-c:hover {
background-color: #909498 /*{c-bhover-background-color}*/;
border-color: #a7a8aa /*{c-bhover-border}*/;
color: #f3f6f7 /*{c-bhover-color}*/;
text-shadow: 0 /*{c-bhover-shadow-x}*/ 1px /*{c-bhover-shadow-y}*/ 0 /*{c-bhover-shadow-radius}*/ #005599 /*{c-bhover-shadow-color}*/;
}
/* Button down */
.ui-page-theme-c .ui-btn:active,
html .ui-bar-c .ui-btn:active,
html .ui-body-c .ui-btn:active,
html body .ui-group-theme-c .ui-btn:active,
html head + body .ui-btn.ui-btn-c:active {
background-color: #909498 /*{c-bdown-background-color}*/;
border-color: #a7a8aa /*{c-bdown-border}*/;
color: #f3f6f7 /*{c-bdown-color}*/;
text-shadow: 0 /*{c-bdown-shadow-x}*/ 1px /*{c-bdown-shadow-y}*/ 0 /*{c-bdown-shadow-radius}*/ #005599 /*{c-bdown-shadow-color}*/;
}
/* Active button */
.ui-page-theme-c .ui-btn.ui-btn-active,
html .ui-bar-c .ui-btn.ui-btn-active,
html .ui-body-c .ui-btn.ui-btn-active,
html body .ui-group-theme-c .ui-btn.ui-btn-active,
html head + body .ui-btn.ui-btn-c.ui-btn-active,
/* Active checkbox icon */
.ui-page-theme-c .ui-checkbox-on:after,
html .ui-bar-c .ui-checkbox-on:after,
html .ui-body-c .ui-checkbox-on:after,
html body .ui-group-theme-c .ui-checkbox-on:after,
.ui-btn.ui-checkbox-on.ui-btn-c:after,
/* Active flipswitch background */
.ui-page-theme-c .ui-flipswitch-active,
html .ui-bar-c .ui-flipswitch-active,
html .ui-body-c .ui-flipswitch-active,
html body .ui-group-theme-c .ui-flipswitch-active,
html body .ui-flipswitch.ui-bar-c.ui-flipswitch-active,
/* Active slider track */
.ui-page-theme-c .ui-slider-track .ui-btn-active,
html .ui-bar-c .ui-slider-track .ui-btn-active,
html .ui-body-c .ui-slider-track .ui-btn-active,
html body .ui-group-theme-c .ui-slider-track .ui-btn-active,
html body div.ui-slider-track.ui-body-c .ui-btn-active {
background-color: #909498 /*{c-active-background-color}*/;
border-color: #a7a8aa /*{c-active-border}*/;
color: #ffffff /*{c-active-color}*/;
text-shadow: 0 /*{c-active-shadow-x}*/ 1px /*{c-active-shadow-y}*/ 0 /*{c-active-shadow-radius}*/ #494c50 /*{c-active-shadow-color}*/;
}
/* Active radio button icon */
.ui-page-theme-c .ui-radio-on:after,
html .ui-bar-c .ui-radio-on:after,
html .ui-body-c .ui-radio-on:after,
html body .ui-group-theme-c .ui-radio-on:after,
.ui-btn.ui-radio-on.ui-btn-c:after {
border-color: #909498 /*{c-active-background-color}*/;
}
/* Focus */
.ui-page-theme-c .ui-btn:focus,
html .ui-bar-c .ui-btn:focus,
html .ui-body-c .ui-btn:focus,
html body .ui-group-theme-c .ui-btn:focus,
html head + body .ui-btn.ui-btn-c:focus,
/* Focus buttons and text inputs with div wrap */
.ui-page-theme-c .ui-focus,
html .ui-bar-c .ui-focus,
html .ui-body-c .ui-focus,
html body .ui-group-theme-c .ui-focus,
html head + body .ui-btn-c.ui-focus,
html head + body .ui-body-c.ui-focus {
-webkit-box-shadow: 0 0 12px #909498 /*{c-active-background-color}*/;
-moz-box-shadow: 0 0 12px #909498 /*{c-active-background-color}*/;
box-shadow: 0 0 12px #909498 /*{c-active-background-color}*/;
}
/* D
-----------------------------------------------------------------------------------------------------------*/
/* Bar: Toolbars, dividers, slider track */
.ui-bar-d,
.ui-page-theme-d .ui-bar-inherit,
html .ui-bar-d .ui-bar-inherit,
html .ui-body-d .ui-bar-inherit,
html body .ui-group-theme-d .ui-bar-inherit {
background-color: #014f9a /*{d-bar-background-color}*/;
border-color: #2e3a58 /*{d-bar-border}*/;
color: #ffffff /*{d-bar-color}*/;
text-shadow: 0 /*{d-bar-shadow-x}*/ 0 /*{d-bar-shadow-y}*/ 0 /*{d-bar-shadow-radius}*/ #444444 /*{d-bar-shadow-color}*/;
font-weight: bold;
}
.ui-bar-d {
border-width: 1px;
border-style: solid;
}
/* Page and overlay */
.ui-overlay-d,
.ui-page-theme-d,
.ui-page-theme-d .ui-panel-wrapper {
background-color: #f2f2f2 /*{d-page-background-color}*/;
border-color: #f2f2f2 /*{d-page-border}*/;
color: #000000 /*{d-page-color}*/;
text-shadow: 0 /*{d-page-shadow-x}*/ 1px /*{d-page-shadow-y}*/ 0 /*{d-page-shadow-radius}*/ #eeeeee /*{d-page-shadow-color}*/;
}
/* Body: Read-only lists, text inputs, collapsible content */
.ui-body-d,
.ui-page-theme-d .ui-body-inherit,
html .ui-bar-d .ui-body-inherit,
html .ui-body-d .ui-body-inherit,
html body .ui-group-theme-d .ui-body-inherit,
html .ui-panel-page-container-d {
background-color: #ffffff /*{d-body-background-color}*/;
border-color: #dddddd /*{d-body-border}*/;
color: #333333 /*{d-body-color}*/;
text-shadow: 0 /*{d-body-shadow-x}*/ 1px /*{d-body-shadow-y}*/ 0 /*{d-body-shadow-radius}*/ #f3f3f3 /*{d-body-shadow-color}*/;
}
.ui-body-d {
border-width: 1px;
border-style: solid;
}
/* Links */
.ui-page-theme-d a,
html .ui-bar-d a,
html .ui-body-d a,
html body .ui-group-theme-d a {
color: #3388cc /*{d-link-color}*/;
font-weight: bold;
}
.ui-page-theme-d a:visited,
html .ui-bar-d a:visited,
html .ui-body-d a:visited,
html body .ui-group-theme-d a:visited {
color: #3388cc /*{d-link-visited}*/;
}
.ui-page-theme-d a:hover,
html .ui-bar-d a:hover,
html .ui-body-d a:hover,
html body .ui-group-theme-d a:hover {
color: #005599 /*{d-link-hover}*/;
}
.ui-page-theme-d a:active,
html .ui-bar-d a:active,
html .ui-body-d a:active,
html body .ui-group-theme-d a:active {
color: #005599 /*{d-link-active}*/;
}
/* Button up */
.ui-page-theme-d .ui-btn,
html .ui-bar-d .ui-btn,
html .ui-body-d .ui-btn,
html body .ui-group-theme-d .ui-btn,
html head + body .ui-btn.ui-btn-d,
/* Button visited */
.ui-page-theme-d .ui-btn:visited,
html .ui-bar-d .ui-btn:visited,
html .ui-body-d .ui-btn:visited,
html body .ui-group-theme-d .ui-btn:visited,
html head + body .ui-btn.ui-btn-d:visited {
background-color: #71a829 /*{d-bup-background-color}*/;
border-color: #4d6c22 /*{d-bup-border}*/;
color: #ffffff /*{d-bup-color}*/;
text-shadow: 0 /*{d-bup-shadow-x}*/ 0px /*{d-bup-shadow-y}*/ 0 /*{d-bup-shadow-radius}*/ #444444 /*{d-bup-shadow-color}*/;
}
/* Button hover */
.ui-page-theme-d .ui-btn:hover,
html .ui-bar-d .ui-btn:hover,
html .ui-body-d .ui-btn:hover,
html body .ui-group-theme-d .ui-btn:hover,
html head + body .ui-btn.ui-btn-d:hover {
background-color: #96c658 /*{d-bhover-background-color}*/;
border-color: #587c27 /*{d-bhover-border}*/;
color: #ffffff /*{d-bhover-color}*/;
text-shadow: 0 /*{d-bhover-shadow-x}*/ 0 /*{d-bhover-shadow-y}*/ 0 /*{d-bhover-shadow-radius}*/ #444444 /*{d-bhover-shadow-color}*/;
}
/* Button down */
.ui-page-theme-d .ui-btn:active,
html .ui-bar-d .ui-btn:active,
html .ui-body-d .ui-btn:active,
html body .ui-group-theme-d .ui-btn:active,
html head + body .ui-btn.ui-btn-d:active {
background-color: #96c658 /*{d-bdown-background-color}*/;
border-color: #587c27 /*{d-bdown-border}*/;
color: #000000 /*{d-bdown-color}*/;
text-shadow: 0 /*{d-bdown-shadow-x}*/ 0 /*{d-bdown-shadow-y}*/ 0 /*{d-bdown-shadow-radius}*/ #eeeeee /*{d-bdown-shadow-color}*/;
}
/* Active button */
.ui-page-theme-d .ui-btn.ui-btn-active,
html .ui-bar-d .ui-btn.ui-btn-active,
html .ui-body-d .ui-btn.ui-btn-active,
html body .ui-group-theme-d .ui-btn.ui-btn-active,
html head + body .ui-btn.ui-btn-d.ui-btn-active,
/* Active checkbox icon */
.ui-page-theme-d .ui-checkbox-on:after,
html .ui-bar-d .ui-checkbox-on:after,
html .ui-body-d .ui-checkbox-on:after,
html body .ui-group-theme-d .ui-checkbox-on:after,
.ui-btn.ui-checkbox-on.ui-btn-d:after,
/* Active flipswitch background */
.ui-page-theme-d .ui-flipswitch-active,
html .ui-bar-d .ui-flipswitch-active,
html .ui-body-d .ui-flipswitch-active,
html body .ui-group-theme-d .ui-flipswitch-active,
html body .ui-flipswitch.ui-bar-d.ui-flipswitch-active,
/* Active slider track */
.ui-page-theme-d .ui-slider-track .ui-btn-active,
html .ui-bar-d .ui-slider-track .ui-btn-active,
html .ui-body-d .ui-slider-track .ui-btn-active,
html body .ui-group-theme-d .ui-slider-track .ui-btn-active,
html body div.ui-slider-track.ui-body-d .ui-btn-active {
background-color: #5a7f29 /*{d-active-background-color}*/;
border-color: #587c27 /*{d-active-border}*/;
color: #ffffff /*{d-active-color}*/;
text-shadow: 0 /*{d-active-shadow-x}*/ 0px /*{d-active-shadow-y}*/ 0 /*{d-active-shadow-radius}*/ #444444 /*{d-active-shadow-color}*/;
}
/* Active radio button icon */
.ui-page-theme-d .ui-radio-on:after,
html .ui-bar-d .ui-radio-on:after,
html .ui-body-d .ui-radio-on:after,
html body .ui-group-theme-d .ui-radio-on:after,
.ui-btn.ui-radio-on.ui-btn-d:after {
border-color: #5a7f29 /*{d-active-background-color}*/;
}
/* Focus */
.ui-page-theme-d .ui-btn:focus,
html .ui-bar-d .ui-btn:focus,
html .ui-body-d .ui-btn:focus,
html body .ui-group-theme-d .ui-btn:focus,
html head + body .ui-btn.ui-btn-d:focus,
/* Focus buttons and text inputs with div wrap */
.ui-page-theme-d .ui-focus,
html .ui-bar-d .ui-focus,
html .ui-body-d .ui-focus,
html body .ui-group-theme-d .ui-focus,
html head + body .ui-btn-d.ui-focus,
html head + body .ui-body-d.ui-focus {
-webkit-box-shadow: 0 0 12px #5a7f29 /*{d-active-background-color}*/;
-moz-box-shadow: 0 0 12px #5a7f29 /*{d-active-background-color}*/;
box-shadow: 0 0 12px #5a7f29 /*{d-active-background-color}*/;
}
/* Placeholders*/
input::-webkit-input-placeholder {
color: #666666;
}
input:-moz-placeholder {
color: #666666;
}
::-webkit-input-placeholder {
color: #666666;
}
:-moz-placeholder {
color: #666666;
}
[type="search"] {
-webkit-appearance: textfield;
}
/*Helpers*/
.hide {
display: none;
}
/*Login Pg Form Background*/
.form-container {
background-color: rgba(256, 256, 256, 0.6);
border-radius: 20px;
padding: 30px;
display: inline-block;
}
/* iPad 3 Media Queries */
/* Landscape */
/*Background Image*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
.login-pg {
-webkit-background-size: 1024px 708px !important;
background-size: 1024px 708px !important;
background: url('../images/TS-bg-image-landscape-728.jpg') no-repeat center top #000 !important;
}
/* end Background Image*/
.login-pg .ui-content {
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.form-container {
margin-left: 270px;
margin-top: 80px;
}
.ui-content {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
}
/* end Landscape*/
/* Portrait */
/*Background Image*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
.login-pg {
-webkit-background-size: 768px 980px !important;
background-size: 768px 980px !important;
/*background: url('../images/TS-bg-image-portrait-980.jpg') no-repeat center top #000 !important;*/
}
/* end Background Image*/
.login-pg .ui-content {
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.form-container {
margin-left: 118px;
margin-top: 160px;
padding-left: 50px;
padding-right: 50px;
}
.ui-content {
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
}
/* end Portrait*/
/* end iPad 3 Media Queries*/
/* iPad 1/2 Media Queries */
/* Landscape */
/*Background Image*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
.login-pg {
background: url('../images/TS-bg-image-landscape-728.jpg') no-repeat center top #000 !important;
-webkit-background-size: 1024px 728px !important;
background-size: 1024px 728px !important;
}
/* end Background Image*/
.login-pg .ui-content {
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.form-container {
margin-left: 270px;
margin-top: 80px;
}
.ui-content {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
}
/* end Landscape*/
/* Portrait*/
/*Background Image*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
.login-pg {
/* background: url('../images/TS-bg-image-portrait-980.jpg') no-repeat center top #000 !important;*/
-webkit-background-size: 768px 980px !important;
background-size: 768px 980px !important;
}
/* end Background Image*/
.login-pg .ui-content {
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.form-container {
margin-left: 118px;
margin-top: 160px;
padding-left: 50px;
padding-right: 50px;
}
.ui-content {
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
}
/* end Portrait*/
/* end iPad 1/2 Media Queries*/
/*Logo*/
.ts-logo {
width: 400px;
}
/*Button*/
.ts-btn {
margin-bottom: 20px;
}
/*Images*/
img {
max-width: 100%;
}
.product-pg img {
margin-left: 10px;
}
/*Listviews*/
.ui-listview li img {
margin: 75px 0 10px 5px;
}
.single.ui-listview li p img {
text-align: center;
margin: auto;
}
.ui-listview>.ui-li-divider {
padding-left: .9em;
font-size: 16px;
}
/*Transitions*/
.in {
-webkit-animation-timing-function: ease-out;
-webkit-animation-duration: 250ms;
-moz-animation-timing-function: ease-out;
-moz-animation-duration: 250ms;
animation-timing-function: ease-out;
animation-duration: 250ms
}
.out {
-webkit-animation-timing-function: ease-in;
-webkit-animation-duration: 175ms;
-moz-animation-timing-function: ease-in;
-moz-animation-duration: 175ms;
animation-timing-function: ease-in;
animation-duration: 175ms
}
/*Collapsibles*/
/*Change Size of P's and Labels within Collapsible Content Block*/
.ui-collapsible-content p, .ui-collapsible-content label, .ui-listview p, .ui-listview label {
font-size: 12px;
margin-top: 4px;
margin-bottom: 4px;
text-align: left;
}
/*Center Text on Collapsible Heading Block*/
.ui-collapsible h4 a {
text-align: center !important;
}
/*Change Size of Collapsible Headings*/
.ui-collapsible h3.itemheading a, .ui-listview li a.downsize {
font-weight: normal !important;
font-size: 14px !important;
white-space: normal !important;
padding-right: 45%;
height: auto;
min-height: 18px;
height: auto !important;
height: 18px;
}
/*JQM Buttons*/
.ui-btn {
white-space: normal !important;
}
/* Custom Buttons*/
#header .jobcartbackbtn {
position: absolute;
margin-top: 4px;
padding-right: 40px;
top: 0;
right: 85px;
}
#header .jobcartbackbtn span.ui-li-count {
position: absolute;
right: 6px;
}
#header h1.ui-title {
margin-right: 75px;
/* make room for location button */
margin-left: 75px;
/* Balance so that titles center */
}
/*Typography*/
.normal {
font-weight: normal;
}
.bold {
font-weight: bold;
}
/*Text Alignment*/
.center {
text-align: center !important;
}
.left {
text-align: left !important;
}
.right {
text-align: right !important;
}
/*Base alert box styles, putting this here until a theme has been created*/
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid rgba(0, 0, 0, 0);
border-radius: 4px;
}
/*Overwriting the widths of the ui-grid-a system*/
fieldset.ui-grid-a .ui-input-text input {
height: 43px !important;
}
/*Correcting text wrapping when next to a button on the listview*/
.ui-listview > li p, .ui-title {
white-space: normal;
}
.button-set a.delete {
margin-right: 1px;
}
/*Removing bottom border from .ui-field-contain*/
.ui-field-contain {
border-bottom: none;
}
/*Add More Right Padding to allow the count to sit to the left of the right-positioned icon */
.collapsible-count-icon-right {
margin-right: 2.6875em;
}
.button-padding {
margin: 2.5em 0.6em;
}
/**
* Forms - Standard Styles
*/
.req {
color: #C21A01;
}
.errorspan {} .ui-page-theme-a .ui-focus {
box-shadow: none;
}
/*!
* Forms - Validation (Parsley)
*/
.parsley-errors-list.filled {
opacity: 1;
}
input.parsley-success, select.parsley-success, textarea.parsley-success {
color: #468847;
background-color: #DFF0D8;
border-color: #3c763d;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
input.parsley-success:focus, select.parsley-success:focus, textarea.parsley-success:focus {
color: #468847;
background-color: #DFF0D8;
border-color: #2b542c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
}
input.parsley-error, select.parsley-error, textarea.parsley-error {
color: #B94A48;
background-color: #F2DEDE;
border-color: #a94442;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
input.parsley-error:focus, select.parsley-error:focus, textarea.parsley-error:focus {
border-color: #843534;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.parsley-errors-list {
margin: 2px 0 3px 0;
padding: 0;
list-style-type: none;
font-size: 0.9em;
line-height: 0.9em;
opacity: 0;
-moz-opacity: 0;
-webkit-opacity: 0;
transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-ms-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
}
.parsley-errors-list.filled {
opacity: 1;
}
li.parsley-required, li.parsley-type, li.parsley-pattern {
text-align: left;
color: #a94442;
padding-top: 5px;
}
/*
* jQuery Mobile Framework : plugin to provide a date and time picker.
* Copyright (c) JTSage
* CC 3.0 Attribution. May be relicensed without permission/notification.
* https://github.com/jtsage/jquery-mobile-datebox
*/
.ui-input-datebox {
width: 97%;
background-image: none;
padding: .4em;
line-height: 1.4;
font-size: 16px;
display: block;
padding-top: 0;
padding-bottom: 0;
background-color: transparent
}
.ui-input-datebox {
min-height: 38px
}
.ui-datebox-container>.ui-header:first-child {
-webkit-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px
}
.ui-input-datebox input {
width: 100%!important;
padding: 0!important;
margin-top: 5px!important;
margin-right: -40px!important;
border: 1px solid transparent!important;
vertical-align: middle;
display: inline-block!important;
background-color: transparent;
zoom: 1;
*display: inline
}
.ui-input-datebox input:focus {
outline: 0
}
.ui-input-datebox .ui-btn-text {
display: none
}
.ui-input-datebox.ui-mini {
min-height: 20px;
font-size: 14px
}
.ui-icon-datebox {
background-image: url('../images/datebox.png')!important;
background-repeat: no-repeat!important;
background-position: 99% 8px!important
}
.ui-icon-datebox-alt {
background-image: url('../images/datebox.png')!important;
background-repeat: no-repeat!important;
background-position: 99% -28px!important
}
.ui-mini.ui-icon-datebox {
background-position: 99% 6px
}
.ui-mini.ui-icon-datebox-alt {
background-position: 99% -30px
}
.ui-input-text>.ui-input-datebox>.ui-btn.ui-input-clear {
position: absolute;
right: 0;
top: 50%;
margin: -15px .3125em 0;
border: 0;
background-color: transparent
}
@media all and (min-width: 450px) {
.ui-field-contain .ui-input-datebox {
width: 74.7%;
display: inline-block
}
.ui-hide-label .ui-input-datebox {
width: 100%
}
}
.ui-grid-a .ui-input-datebox {
width: 97%
}
.ui-grid-b .ui-input-datebox {
width: 97%
}
.ui-grid-c .ui-input-datebox {
width: 97%
}
.ui-grid-d .ui-input-datebox {
width: 97%
}
.ui-grid-e .ui-input-datebox {
width: 97%
}
.ui-grid-e .ui-block-a, .ui-grid-e .ui-block-b, .ui-grid-e .ui-block-c, .ui-grid-e .ui-block-d, .ui-grid-e .ui-block-e, .ui-grid-e .ui-block-f {
width: 16.65%
}
.ui-grid-e>:nth-child(n) {
width: 16.65%
}
.ui-grid-e .ui-block-a {
clear: left
}
.ui-grid-e {
overflow: hidden
}
.ui-block-f {
margin: 0;
padding: 0;
border: 0;
float: left;
min-height: 1px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box
}
.ui-datebox-gridheader {
text-align: center
}
.ui-datebox-gridheader h4 {
text-align: center;
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
zoom: 1;
*display: inline
}
.ui-datebox-gridplus {
float: right
}
.ui-datebox-gridminus {
float: left
}
.ui-datebox-gridplus-rtl {
float: left
}
.ui-datebox-gridminus-rtl {
float: right
}
.ui-datebox-gridrow {
margin-left: 5px;
margin-right: 5px;
margin-bottom: -7px
}
.ui-datebox-grid {
clear: both;
margin-bottom: 5px
}
.ui-datebox-griddate {
width: 36px;
height: 30px;
padding: 0;
display: inline-block;
vertical-align: middle;
text-align: center;
line-height: 30px;
font-weight: bold;
font-size: 12px;
zoom: 1;
*display: inline
}
.ui-datebox-griddate-week {
width: 31px;
height: 30px;
display: inline-block;
vertical-align: middle;
text-align: center;
line-height: 30px;
font-weight: bold;
font-size: 12px;
zoom: 1;
*display: inline
}
.ui-datebox-griddate-empty {
border: 1px solid transparent;
color: #888
}
.ui-datebox-griddate-label {
height: 15px!important;
line-height: 15px!important;
color: black
}
.ui-datebox-griddate-disable {
color: #888!important;
cursor: default!important;
background: none repeat scroll 0 0 #f6f6f6!important
}
.ui-datebox-header h4 {
margin-top: 5px;
margin-bottom: 5px;
text-align: center
}
.ui-datebox-container fieldset div {
margin: 0!important
}
.ui-datebox-dboxin input {
padding: .4em 0!important;
text-align: center;
width: 95%
}
.ui-datebox-dboxin label {
width: 100%;
text-align: center;
display: block;
margin-top: 5px;
margin-bottom: -8px
}
.ui-datebox-controls {
text-align: center
}
.ui-datebox-controls div {
width: 77px;
text-align: center;
display: inline-block;
zoom: 1;
*display: inline
}
.ui-datebox-scontrols {
text-align: center
}
.ui-datebox-scontrols div {
width: 55px;
text-align: center;
display: inline-block;
zoom: 1;
*display: inline
}
.ui-datebox-scontrols .ui-datebox-sinput {
width: 68px
}
.ui-datebox-scontrols .ui-datebox-sinput input {
width: 48px;
text-align: center;
margin-left: 3px
}
.ui-datebox-input {
width: 74px!important;
margin-left: 1px;
margin-right: 1px;
text-align: center!important;
display: inline-block!important;
zoom: 1;
*display: inline
}
.ui-datebox-slide {
width: 280px;
margin-left: auto;
margin-right: auto
}
.ui-datebox-sliderow-d {
margin-bottom: 5px;
text-align: center;
height: 40px;
width: 280px;
overflow: hidden
}
.ui-datebox-sliderow-ym {
margin-bottom: 5px;
text-align: center;
height: 32px;
width: 280px;
overflow: hidden
}
.ui-datebox-sliderow-hi {
text-align: center;
height: 32px;
width: 280px;
overflow: hidden
}
.ui-datebox-sliderow-int {
display: inline-block;
white-space: nowrap
}
.ui-datebox-slide .ui-btn {
margin: 0;
padding: 0 1em
}
.ui-datebox-slideyear {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 84px;
vertical-align: middle;
line-height: 30px;
height: 30px;
font-size: 14px;
font-weight: bold
}
.ui-datebox-slidemonth {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 51px;
vertical-align: middle;
line-height: 30px;
height: 30px;
font-size: 12px;
font-weight: bold
}
.ui-datebox-slideday {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 32px;
vertical-align: middle;
line-height: 20px;
height: 38px;
font-size: 14px;
font-weight: bold
}
.ui-datebox-slidehour {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 32px;
vertical-align: middle;
line-height: 22px;
height: 24px;
font-size: 14px;
font-weight: bold
}
.ui-datebox-slidemins {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 32px;
vertical-align: middle;
line-height: 22px;
height: 24px;
font-size: 14px;
font-weight: bold
}
.ui-datebox-slidearrow {
text-align: center;
display: inline-block;
zoom: 1;
*display: inline;
width: 10px;
vertical-align: middle;
line-height: 38px;
height: 38px;
font-size: 10px;
font-weight: bold
}
.ui-datebox-slidewday {
font-size: 10px;
font-weight: normal
}
.ui-datebox-flipcontent {
text-align: center;
height: 125px;
margin-bottom: -40px
}
.ui-datebox-flipcontent div {
margin-left: 3px;
margin-right: 3px;
width: 77px;
height: 120px;
display: inline-block;
text-align: center;
zoom: 1;
*display: inline;
overflow: hidden
}
.ui-datebox-flipcontentd div {
width: 60px
}
.ui-datebox-flipcenter {
border: 1px solid #eee;
height: 40px;
margin-left: 10px;
width: 260px;
margin-right: auto;
margin-left: auto;
position: relative;
top: -45px
}
.ui-datebox-flipcontent ul {
list-style-type: none;
display: inline;
border: 1px solid rgba(0, 0, 0, 0)
}
.ui-datebox-flipcontent li {
height: 30px
}
.ui-datebox-flipcontent li span {
margin-top: 7px;
display: block
}
.ui-datebox-container {
border: 5px solid #111!important;
width: 280px;
-webkit-transform: translate3d(0, 0, 0)
}
.ui-datebox-screen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%
}
.ui-datebox-screen-modal {
background-color: black;
-moz-opacity: .8;
opacity: .80;
filter: alpha(opacity=80)
}
.ui-datebox-hidden {
display: none
}
.ui-dialog .ui-datebox-container {
border: none!important
}
.ui-popup-container .ui-datebox-container {
border: none!important
}
.ui-popup-container .ui-datebox-gridrow {
margin-left: 0;
margin-right: 0
}
.ui-datebox-collapse a {
display: inline-block;
width: 45%
}
.ui-datebox-inline, .ui-datebox-inlineblind {
margin-top: 5px;
border: 5px solid #111!important;
margin-left: auto!important;
margin-right: auto!important;
text-align: center
}
.ui-datebox-inlineblind {
width: 300px!important;
float: none!important;
clear: left!important
}
#count {
position: relative !important;
/*font-size: 12.5px;
font-weight: 700;
text-align: center;
border-width: 1px;
border-style: solid;
padding: 0 .48em;*/
/*right: 3.5em;
top: 25%*/
left: 2.0em !important;
}
/* Popup */
.ui-popup-container #popupavail {
width: 300px !important;
}
.ui-popup {
width: auto !important;
font-size: 12.5px;
}
.ui-popup li {
white-space: nowrap !important;
}
.ui-popup li.ui-first-child {
text-align: center;
}
/* -------- Taking vertical space out of the site and other styling changes ---------------*/
.ui-header .ui-title {
padding: .2em 0 !important;
}
.ui-content {
padding-top: 1px !important;
}
.ui-listview>.ui-li-static {
padding: 0em 1em !important;
}
.jobCartItems a{
/*font-size: 10px !important;*/
min-height: 40px !important;
}
.jobCartItems button{
font-size: 12px !important;
}
.jobCartItems h3 a{
font-size: 12px !important;
}
.jobCartItems h3 a.ui-collapsible-heading-toggle{
font-size: 12px !important;
padding-left: 12px !important;
}
.jobCartItems h3 a:after{
display: none !important;
}
#productpage .ui-listview > li p.prodpage,
#searchresults .ui-listview > li p.prodpage, #attList p.prodpage {
margin-left: 70px;
}
#ShoppingCart .ui-collapsible-content {
padding: 3px;
}
#ShoppingCart .qty-wrapper .ui-block-a {
padding-top: 20px;
}
.cartbtn {
height: 60px;
}
.disInline {
/*display: inline !important;*/
}
.noborder {
border: none !important;
margin-bottom: 5px !important;
}
.nomargin {
margin: 0px !important;
}
.filterByMargin {
margin: 10px 0px 10px 15px;
}
.ui-page-theme-a .ui-bar-inherit {
background-color: #000;
border-color: #ddd;
color: #fff;
text-shadow: none;
font-weight: 700;
}
.listdivider {
background-color: #e9e9e9 !important;
border-color: #ddd !important;
color: #333 !important;
text-shadow: 0 1px 0 #eee !important;
font-weight: 700 !important;
}
.ui-collapsible-heading-toggle {
border: none;
}
.ui-content {
padding-left: 0px;
padding-right: 0px;
}
/* .navUserInfo {
display: none;
}
#landing .navCart {
display: none !important;
}
#landing .navUserInfo {
display: block !important;
}*/
/* Structure */
/* Disabled
-----------------------------------------------------------------------------------------------------------*/
/* Class ui-disabled deprecated in 1.4. :disabled not supported by IE8 so we use [disabled] */
.ui-disabled,
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
cursor: default !important;
pointer-events: none;
}
/* Focus state outline
-----------------------------------------------------------------------------------------------------------*/
.ui-btn:focus,
.ui-btn.ui-focus {
outline: 0;
}
/* Unset box-shadow in browsers that don't do it right */
.ui-noboxshadow .ui-shadow,
.ui-noboxshadow .ui-shadow-inset,
.ui-noboxshadow .ui-overlay-shadow,
.ui-noboxshadow .ui-shadow-icon.ui-btn:after,
.ui-noboxshadow .ui-shadow-icon .ui-btn:after,
.ui-noboxshadow .ui-focus,
.ui-noboxshadow .ui-btn:focus,
.ui-noboxshadow input:focus,
.ui-noboxshadow .ui-panel {
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
.ui-noboxshadow .ui-btn:focus,
.ui-noboxshadow .ui-focus {
outline-width: 1px;
outline-style: auto;
}
.icon-barcode {
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTAgNGg0djIwaC00ek02IDRoMnYyMGgtMnpNMTAgNGgydjIwaC0yek0xNiA0aDJ2MjBoLTJ6TTI0IDRoMnYyMGgtMnpNMzAgNGgydjIwaC0yek0yMCA0aDF2MjBoLTF6TTE0IDRoMXYyMGgtMXpNMjcgNGgxdjIwaC0xek0wIDI2aDJ2MmgtMnpNNiAyNmgydjJoLTJ6TTEwIDI2aDJ2MmgtMnpNMjAgMjZoMnYyaC0yek0zMCAyNmgydjJoLTJ6TTI0IDI2aDR2MmgtNHpNMTQgMjZoNHYyaC00eiI+PC9wYXRoPjwvc3ZnPg==);
}
button.scan{
padding:.7em;
}
.overlay {
overflow: hidden;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
}
.overlay__content {
top: 50%;
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
max-height: 90%;
max-width: 800px;
}
.overlay__close {
position: absolute;
right: 0;
padding: 0.5rem;
width: 2rem;
height: 2rem;
line-height: 2rem;
text-align: center;
background-color: white;
cursor: pointer;
border: 3px solid black;
font-size: 1.5rem;
margin: -1rem;
border-radius: 2rem;
z-index: 100;
box-sizing: content-box;
}
.overlay__content video {
width: 100%;
height: 100%;
}
.overlay__content canvas {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
video {
min-width: 100%;
min-height: 100%;
object-fit: cover;
}
#interactive.viewport {
position:relative;
width: 400px;
height: 300px;
overflow: hidden;
margin:5% auto;
}
#interactive.viewport > canvas,
#interactive.viewport > video {
float: left;
width: 320px;
height: 300px;
}
canvas.drawing,
canvas.drawingBuffer {
position: absolute;
left: 0;
top: 0;
}
.flash{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-color:#000;
opacity: 0;
}
@media (max-width: 603px) {
#container {
margin: 10px auto;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
}
@media (max-width: 603px) {
#interactive.viewport {
width: 100%;
height: auto;
overflow: hidden;
}
}
.ui-input-text input{
padding:.7em !important;
line-height:1.3em;
}
var scanBeep = new Audio('https://www.soundjay.com/mechanical/camera-shutter-click-08.mp3');
var scannerCamEl = document.getElementsByClassName('interactive')[0];
var App = {
init: function() {
var self = this;
Quagga.init(this.config, function(err) {
if (err) {
return self.handleError(err);
}
Quagga.start();
});
},
handleError: function(err) {
console.log(err);
},
config: {
inputStream: {
target: scannerCamEl,
type : "LiveStream",
constraints: {
width: {min: 640},
height: {min: 480},
facingMode: "environment",
aspectRatio: {min: 1, max: 2}
}
},
locator: {
patchSize: "medium",
halfSample: true
},
numOfWorkers: 2,
frequency: 10,
decoder: {
readers : [{
format: "code_39",
config: {}
}]
},
locate: true
}
};
App.init();
function scanItem(code) {
scanBeep.play();
var el = document.createElement('li');
el.innerText = code;
document.getElementsByClassName('codes-list')[0].appendChild(el);
scannerCamEl.classList.add('scanner-cam--scanned');
}
var debouncedScanner = _.debounce(scanItem, 1000, true);
var styleTimer;
Quagga.onDetected((result) => {
var code = result.codeResult.code;
if (!code.match(/[0-9]+\/[0-9]+\/[A-Z]+\/[0-9]+/g)) { console.log(code); return; }
debouncedScanner(code);
clearTimeout(styleTimer);
styleTimer = setTimeout(function() {
scannerCamEl.classList.remove('scanner-cam--scanned');
}, 1000);
});
Also see: Tab Triggers