/* Uniform Theme: Uniform Default Version: 1.6 By: Josh Pyles License: MIT License --- For use with the Uniform plugin: http://pixelmatrixdesign.com/uniform/ --- Generated by Uniform Theme Generator: http://pixelmatrixdesign.com/uniform/themer.html */ /* Global Declaration */ div.uni-selector, div.uni-selector span, div.uni-checker span, div.uni-radio span, div.uni-uploader, div.uni-uploader span.uni-action, div.uni-button, div.uni-button span { background-image: url('./uniform/sprite.png'); background-repeat: no-repeat; -webkit-font-smoothing: antialiased; } .uni-selector, .uni-radio, .uni-checker, .uni-uploader, .uni-button, .uni-selector *, .uni-radio *, .uni-checker *, .uni-uploader *, .uni-button *{ margin: 0; padding: 0; } /* INPUT & TEXTAREA */ input.text, input.email, input.password, textarea.uniform { font-size: 12px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; padding: 3px; color: #777; background: url('./uniform/bg-input-focus.png') repeat-x 0px 0px; background: url('./uniform/bg-input.png') repeat-x 0px 0px; border-top: solid 1px #aaa; border-left: solid 1px #aaa; border-bottom: solid 1px #ccc; border-right: solid 1px #ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; outline: 0; } input.text:focus, input.email:focus, input.password:focus, textarea.uniform:focus { -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.3); -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.3); box-shadow: 0px 0px 4px rgba(0,0,0,0.3); border-color: #999; background: url('./uniform/bg-input-focus.png') repeat-x 0px 0px; } /* SPRITES */ /* Select */ div.uni-selector { background-position: -483px -130px; line-height: 26px; height: 26px; } div.uni-selector span { background-position: right 0px; height: 26px; line-height: 26px; } div.uni-selector select { /* change these to adjust positioning of select element */ top: 0px; left: 0px; } div.uni-selector:active, div.uni-selector.uni-active { background-position: -483px -156px; } div.uni-selector:active span, div.uni-selector.uni-active span { background-position: right -26px; } div.uni-selector.uni-focus, div.uni-selector.uni-hover, div.uni-selector:hover { background-position: -483px -182px; } div.uni-selector.uni-focus span, div.uni-selector.uni-hover span, div.uni-selector:hover span { background-position: right -52px; } div.uni-selector.uni-focus:active, div.uni-selector.uni-focus.uni-active, div.uni-selector:hover:active, div.uni-selector.uni-active:hover { background-position: -483px -208px; } div.uni-selector.uni-focus:active span, div.uni-selector:hover:active span, div.uni-selector.uni-active:hover span, div.uni-selector.uni-focus.uni-active span { background-position: right -78px; } div.uni-selector.uni-disabled { background-position: -483px -234px; } div.uni-selector.uni-disabled span { background-position: right -104px; } /* Checkbox */ div.uni-checker { width: 19px; height: 19px; } div.uni-checker input { width: 19px; height: 19px; } div.uni-checker span { background-position: 0px -260px; height: 19px; width: 19px; } div.uni-checker:active span, div.uni-checker.uni-active span { background-position: -19px -260px; } div.uni-checker.uni-focus span, div.uni-checker:hover span { background-position: -38px -260px; } div.uni-checker.uni-focus:active span, div.uni-checker:active:hover span, div.uni-checker.uni-active:hover span, div.uni-checker.uni-focus.uni-active span { background-position: -57px -260px; } div.uni-checker span.uni-checked { background-position: -76px -260px; } div.uni-checker:active span.uni-checked, div.uni-checker.uni-active span.uni-checked { background-position: -95px -260px; } div.uni-checker.uni-focus span.uni-checked, div.uni-checker:hover span.uni-checked { background-position: -114px -260px; } div.uni-checker.uni-focus:active span.uni-checked, div.uni-checker:hover:active span.uni-checked, div.uni-checker.uni-active:hover span.uni-checked, div.uni-checker.uni-active.uni-focus span.uni-checked { background-position: -133px -260px; } div.uni-checker.uni-disabled span, div.uni-checker.uni-disabled:active span, div.uni-checker.uni-disabled.uni-active span { background-position: -152px -260px; } div.uni-checker.uni-disabled span.uni-checked, div.uni-checker.uni-disabled:active span.uni-checked, div.uni-checker.uni-disabled.uni-active span.uni-checked { background-position: -171px -260px; } /* Radio */ div.uni-radio { width: 18px; height: 18px; } div.uni-radio input { width: 18px; height: 18px; } div.uni-radio span { height: 18px; width: 18px; background-position: 0px -279px; } div.uni-radio:active span, div.uni-radio.uni-active span { background-position: -18px -279px; } div.uni-radio.uni-focus span, div.uni-radio:hover span { background-position: -36px -279px; } div.uni-radio.uni-focus:active span, div.uni-radio:active:hover span, div.uni-radio.uni-active:hover span, div.uni-radio.uni-active.uni-focus span { background-position: -54px -279px; } div.uni-radio span.uni-checked { background-position: -72px -279px; } div.uni-radio:active span.uni-checked, div.uni-radio.uni-active span.uni-checked { background-position: -90px -279px; } div.uni-radio.uni-focus span.uni-checked, div.uni-radio:hover span.uni-checked { background-position: -108px -279px; } div.uni-radio.uni-focus:active span.uni-checked, div.uni-radio:hover:active span.uni-checked, div.uni-radio.uni-focus.uni-active span.uni-checked, div.uni-radio.uni-active:hover span.uni-checked { background-position: -126px -279px; } div.uni-radio.uni-disabled span, div.uni-radio.uni-disabled:active span, div.uni-radio.uni-disabled.uni-active span { background-position: -144px -279px; } div.uni-radio.uni-disabled span.uni-checked, div.uni-radio.uni-disabled:active span.uni-checked, div.uni-radio.uni-disabled.uni-active span.uni-checked { background-position: -162px -279px; } /* Uploader */ div.uni-uploader { background-position: 0px -297px; height: 28px; } div.uni-uploader span.uni-action { background-position: right -409px; height: 24px; line-height: 24px; } div.uni-uploader span.uni-filename { height: 24px; /* change this line to adjust positioning of filename area */ margin: 2px 0px 2px 2px; line-height: 24px; } div.uni-uploader.uni-focus, div.uni-uploader.uni-hover, div.uni-uploader:hover { background-position: 0px -353px; } div.uni-uploader.uni-focus span.uni-action, div.uni-uploader.uni-hover span.uni-action, div.uni-uploader:hover span.uni-action { background-position: right -437px; } div.uni-uploader.uni-active span.uni-action, div.uni-uploader:active span.uni-action { background-position: right -465px; } div.uni-uploader.uni-focus.uni-active span.uni-action, div.uni-uploader:focus.uni-active span.uni-action, div.uni-uploader.uni-focus:active span.uni-action, div.uni-uploader:focus:active span.uni-action { background-position: right -493px; } div.uni-uploader.uni-disabled { background-position: 0px -325px; } div.uni-uploader.uni-disabled span.uni-action { background-position: right -381px; } div.uni-button { background-position: 0px -523px; } div.uni-button span { background-position: right -643px; } div.uni-button.uni-focus, div.uni-button:focus, div.uni-button:hover, div.uni-button.uni-hover { background-position: 0px -553px; } div.uni-button.uni-focus span, div.uni-button:focus span, div.uni-button:hover span, div.uni-button.uni-hover span { background-position: right -673px; } div.uni-button.uni-active, div.uni-button:active { background-position: 0px -583px; } div.uni-button.uni-active span, div.uni-button:active span { background-position: right -703px; color: #555; } div.uni-button.uni-disabled, div.uni-button:disabled { background-position: 0px -613px; } div.uni-button.uni-disabled span, div.uni-button:disabled span { background-position: right -733px; color: #bbb; cursor: default; } /* PRESENTATION */ /* Button */ div.uni-button { height: 30px; } div.uni-button span { margin-left: 13px; height: 22px; padding-top: 8px; font-weight: bold; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding-left: 2px; padding-right: 15px; } /* Select */ div.uni-selector { width: 190px; font-size: 12px; } div.uni-selector select { min-width: 190px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; border: solid 1px #fff; } div.uni-selector span { padding: 0px 25px 0px 2px; cursor: pointer; } div.uni-selector span { color: #666; width: 158px; text-shadow: 0 1px 0 #fff; } div.uni-selector.uni-disabled span { color: #bbb; } /* Checker */ div.uni-checker { margin-right: 5px; } /* Radio */ div.uni-radio { margin-right: 3px; } /* Uploader */ div.uni-uploader { width: 190px; cursor: pointer; } div.uni-uploader span.uni-action { width: 85px; text-align: center; text-shadow: #fff 0px 1px 0px; background-color: #fff; font-size: 11px; font-weight: bold; } div.uni-uploader span.uni-filename { color: #777; width: 82px; border-right: solid 1px #bbb; font-size: 11px; } div.uni-uploader input { width: 190px; } div.uni-uploader.uni-disabled span.uni-action { color: #aaa; } div.uni-uploader.uni-disabled span.uni-filename { border-color: #ddd; color: #aaa; } /* CORE FUNCTIONALITY Not advised to edit stuff below this line ----------------------------------------------------- */ .uni-selector, .uni-checker, .uni-button, .uni-radio, .uni-uploader { display: -moz-inline-box; display: inline-block; vertical-align: middle; zoom: 1; *display: inline; } .uni-selector select:focus, .uni-radio input:focus, .uni-checker input:focus, .uni-uploader input:focus { outline: 0; } /* Button */ div.uni-button a, div.uni-button button, div.uni-button input { position: absolute; } div.uni-button { cursor: pointer; position: relative; } div.uni-button span { display: -moz-inline-box; display: inline-block; line-height: 1; text-align: center; } /* Select */ div.uni-selector { position: relative; padding-left: 10px; overflow: hidden; } div.uni-selector span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } div.uni-selector select { position: absolute; opacity: 0; filter: alpha(opacity=0); height: 25px; border: none; background: none; } /* Checker */ div.uni-checker { position: relative; } div.uni-checker span { display: -moz-inline-box; display: inline-block; text-align: center; } div.uni-checker input { opacity: 0; filter: alpha(opacity=0); display: inline-block; background: none; } /* Radio */ div.uni-radio { position: relative; } div.uni-radio span { display: -moz-inline-box; display: inline-block; text-align: center; } div.uni-radio input { opacity: 0; filter: alpha(opacity=0); text-align: center; display: inline-block; background: none; } /* Uploader */ div.uni-uploader { position: relative; overflow: hidden; cursor: default; } div.uni-uploader span.uni-action { float: left; display: inline; padding: 2px 0px; overflow: hidden; cursor: pointer; } div.uni-uploader span.uni-filename { padding: 0px 10px; float: left; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default; } div.uni-uploader input { opacity: 0; filter: alpha(opacity=0); position: absolute; top: 0; right: 0; bottom: 0; float: right; height: 25px; border: none; cursor: default; }