@@ -0,0 +1,278 @@
|
||||
/* General settings */
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
div.selector, div.checker, div.button, div.radio, div.uploader {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
vertical-align: middle;
|
||||
/* Keeping this as :focus to remove browser styles */ }
|
||||
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus {
|
||||
outline: 0; }
|
||||
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.highContrastDetect {
|
||||
background: url("../images/bg-input.png") repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px; }
|
||||
|
||||
/* Input & Textarea */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
padding: 3px;
|
||||
background: url("../images/bg-input.png") repeat-x 0 0;
|
||||
outline: 0; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background: url("../images/bg-input-focus.png") repeat-x 0 0; }
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div.checker input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
background-position: 0 -130px;
|
||||
line-height: 26px;
|
||||
height: 26px;
|
||||
padding: 0 0 0 10px;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.selector span {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
background-position: right 0;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block; }
|
||||
div.selector.fixedWidth {
|
||||
width: 190px; }
|
||||
div.selector.fixedWidth span {
|
||||
width: 155px; }
|
||||
div.selector select {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
height: 22px;
|
||||
top: 2px;
|
||||
left: 0px;
|
||||
width: 100%; }
|
||||
div.selector.active {
|
||||
background-position: 0 -156px; }
|
||||
div.selector.active span {
|
||||
background-position: right -26px; }
|
||||
div.selector.hover, div.selector.focus {
|
||||
background-position: 0 -182px; }
|
||||
div.selector.hover span, div.selector.focus span {
|
||||
background-position: right -52px; }
|
||||
div.selector.hover.active, div.selector.focus.active {
|
||||
background-position: 0 -208px; }
|
||||
div.selector.hover.active span, div.selector.focus.active span {
|
||||
background-position: right -78px; }
|
||||
div.selector.disabled, div.selector.disabled.active {
|
||||
background-position: 0 -234px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
background-position: right -104px; }
|
||||
|
||||
/* Checkbox */
|
||||
div.checker {
|
||||
position: relative; }
|
||||
div.checker, div.checker span, div.checker input {
|
||||
width: 19px;
|
||||
height: 19px; }
|
||||
div.checker span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -260px; }
|
||||
div.checker span.checked {
|
||||
background-position: -76px -260px; }
|
||||
div.checker input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1; }
|
||||
div.checker.active span {
|
||||
background-position: -19px -260px; }
|
||||
div.checker.active span.checked {
|
||||
background-position: -95px -260px; }
|
||||
div.checker.hover span, div.checker.focus span {
|
||||
background-position: -38px -260px; }
|
||||
div.checker.hover span.checked, div.checker.focus span.checked {
|
||||
background-position: -114px -260px; }
|
||||
div.checker.hover.active span, div.checker.focus.active span {
|
||||
background-position: -57px -260px; }
|
||||
div.checker.hover.active span.checked, div.checker.focus.active span.checked {
|
||||
background-position: -133px -260px; }
|
||||
div.checker.disabled, div.checker.disabled.active {
|
||||
background-position: -152px -260px; }
|
||||
div.checker.disabled span.checked, div.checker.disabled.active span.checked {
|
||||
background-position: -171px -260px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
position: relative; }
|
||||
div.radio, div.radio span, div.radio input {
|
||||
width: 18px;
|
||||
height: 18px; }
|
||||
div.radio span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -279px; }
|
||||
div.radio span.checked {
|
||||
background-position: -72px -279px; }
|
||||
div.radio input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center; }
|
||||
div.radio.active span {
|
||||
background-position: -18px -18px -279px; }
|
||||
div.radio.active span.checked {
|
||||
background-position: -90px -279px; }
|
||||
div.radio.hover span, div.radio.focus span {
|
||||
background-position: -36px -36px -279px; }
|
||||
div.radio.hover span.checked, div.radio.focus span.checked {
|
||||
background-position: -108px -279px; }
|
||||
div.radio.hover.active span, div.radio.focus.active span {
|
||||
background-position: -54px -279px; }
|
||||
div.radio.hover.active span.checked, div.radio.focus.active span.checked {
|
||||
background-position: -126px -279px; }
|
||||
div.radio.disabled span, div.radio.disabled.active span {
|
||||
background-position: -144px -279px; }
|
||||
div.radio.disabled span.checked, div.radio.disabled.active span.checked {
|
||||
background-position: -162px -279px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
background-position: 0 -297px;
|
||||
height: 28px;
|
||||
width: 190px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.uploader span.action {
|
||||
background-position: right -409px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
width: 85px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer; }
|
||||
div.uploader span.filename {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: 24px;
|
||||
margin: 2px 0 2px 2px;
|
||||
line-height: 24px;
|
||||
width: 82px;
|
||||
padding: 0 10px; }
|
||||
div.uploader input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
div.uploader.active span.action {
|
||||
background-position: right -465px; }
|
||||
div.uploader.hover, div.uploader.focus {
|
||||
background-position: 0 -353px; }
|
||||
div.uploader.hover span.action, div.uploader.focus span.action {
|
||||
background-position: right -437px; }
|
||||
div.uploader.hover.active span.action, div.uploader.focus.active span.action {
|
||||
background-position: right -493px; }
|
||||
div.uploader.disabled, div.uploader.disabled.active {
|
||||
background-position: 0 -325px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
background-position: right -381px; }
|
||||
|
||||
/* Buttons */
|
||||
div.button {
|
||||
background-position: 0 -641px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
/* Keep buttons barely visible so they can get focus */ }
|
||||
div.button a, div.button button, div.button input {
|
||||
opacity: 0.01;
|
||||
filter: alpha(opacity=1);
|
||||
-moz-opacity: 0.01;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute; }
|
||||
div.button span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
background-position: right -521px;
|
||||
height: 30px;
|
||||
margin-left: 13px;
|
||||
padding: 0; }
|
||||
div.button.active {
|
||||
background-position: 0 -671px; }
|
||||
div.button.active span {
|
||||
background-position: right -551px;
|
||||
cursor: default; }
|
||||
div.button.hover, div.button.focus {
|
||||
background-position: 0 -701px; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
background-position: right -581px; }
|
||||
div.button.disabled, div.button.disabled.active {
|
||||
background-position: 0 -731px; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
background-position: right -611px;
|
||||
cursor: default; }
|
||||
@@ -0,0 +1,567 @@
|
||||
@mixin opacity($opacity) {
|
||||
opacity: $opacity;
|
||||
filter: unquote("alpha(opacity=#{round($opacity * 100)})");
|
||||
-moz-opacity: $opacity;
|
||||
}
|
||||
|
||||
@mixin hideYetClickable() {
|
||||
@include opacity(0);
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
@mixin inline-block() {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
@mixin ellipsis() {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@mixin border-radius($radius) {
|
||||
-webkit-border-radius: $radius;
|
||||
-moz-border-radius: $radius;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
@mixin box-shadow($def) {
|
||||
-webkit-box-shadow: $def;
|
||||
-moz-box-shadow: $def;
|
||||
box-shadow: $def;
|
||||
}
|
||||
|
||||
@mixin retina() {
|
||||
@media only screen {
|
||||
@media (min-resolution: 124dpi), (-webkit-min-device-pixel-ratio: 1.3), (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 4/3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) {
|
||||
@include use-backgrounds(url($sprite-retina), $sprite-size, url($input-background-retina), url($input-background-focus-retina), $input-background-size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin use-backgrounds($sprite, $sprite-size, $input, $input-focus, $input-size) {
|
||||
div#{$class-wrapper} {
|
||||
&#{$class-select},
|
||||
&#{$class-select} span,
|
||||
&#{$class-checkbox} span,
|
||||
&#{$class-radio} span,
|
||||
&#{$class-upload},
|
||||
&#{$class-upload} span#{$class-action},
|
||||
&#{$class-button},
|
||||
&#{$class-button} span {
|
||||
background-image: $sprite;
|
||||
|
||||
@if $sprite-size > 0 {
|
||||
background-size: $sprite-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
background-image: $input;
|
||||
|
||||
@if $sprite-size > 0 {
|
||||
background-size: $input-size;
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
background-image: $input-focus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin whenActive {
|
||||
&#{$class-active} {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
@mixin whenHover {
|
||||
&#{$class-hover}, &#{$class-focus} {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
@mixin whenDisabled {
|
||||
&#{$class-disabled}, &#{$class-disabled}#{$class-active} {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
@mixin whenChecked {
|
||||
&#{$class-checked} {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$sprite: "../images/sprite.png" !default;
|
||||
$sprite-retina: "../images/sprite-retina.png" !default;
|
||||
$sprite-size: 493px !default;
|
||||
$button-height: 30px !default;
|
||||
$button-margin-left: 13px !default;
|
||||
$button-padding: 0 !default;
|
||||
$button-span-height: $button-height !default;
|
||||
$checkbox-height: 19px !default;
|
||||
$checkbox-width: 19px !default;
|
||||
$input-padding: 3px !default;
|
||||
$input-background: "../images/bg-input.png" !default;
|
||||
$input-background-retina: "../images/bg-input-retina.png" !default;
|
||||
$input-background-focus: "../images/bg-input-focus.png" !default;
|
||||
$input-background-focus-retina: "../images/bg-input-focus-retina.png" !default;
|
||||
$input-background-size: 1px !default;
|
||||
$radio-height: 18px !default;
|
||||
$radio-width: 18px !default;
|
||||
$select-fixed-width: 190px !default;
|
||||
$select-height: 26px !default;
|
||||
$select-margin-left: 10px !default;
|
||||
$select-margin-right: 25px !default;
|
||||
$select-select-height: 22px !default;
|
||||
$select-select-top: 2px !default;
|
||||
$upload-action-width: 85px !default;
|
||||
$upload-filename-margin-top: 2px !default;
|
||||
$upload-filename-margin-bottom: 2px !default;
|
||||
$upload-filename-margin-left: 2px !default;
|
||||
$upload-filename-width: 82px !default;
|
||||
$upload-filename-padding: 0 10px !default;
|
||||
$upload-height: 28px !default;
|
||||
$upload-width: 190px !default;
|
||||
|
||||
$checkbox-voffset: (-10 * $select-height);
|
||||
$radio-voffset: ($checkbox-voffset - $checkbox-height);
|
||||
$upload-voffset: ($radio-voffset - $radio-height);
|
||||
$button-voffset: ($upload-voffset - (8 * $upload-height));
|
||||
|
||||
$class-action: ".action" !default;
|
||||
$class-active: ".active" !default;
|
||||
$class-button: ".button" !default;
|
||||
$class-checkbox: ".checker" !default;
|
||||
$class-checked: ".checked" !default;
|
||||
$class-disabled: ".disabled" !default;
|
||||
$class-input: ".uniform-input" !default;
|
||||
$class-filename: ".filename" !default;
|
||||
$class-focus: ".focus" !default;
|
||||
$class-hover: ".hover" !default;
|
||||
$class-multiselect: ".uniform-multiselect" !default;
|
||||
$class-radio: ".radio" !default;
|
||||
$class-select: ".selector" !default;
|
||||
$class-upload: ".uploader" !default;
|
||||
$class-textarea: ".uniform" !default;
|
||||
$class-wrapper: "" !default;
|
||||
|
||||
$class-wrapper-element: "";
|
||||
@if $class-wrapper != "" {
|
||||
$class-wrapper-element: "span"
|
||||
}
|
||||
|
||||
/* General settings */
|
||||
|
||||
div#{$class-wrapper} {
|
||||
&#{$class-select},
|
||||
&#{$class-select} span,
|
||||
&#{$class-checkbox} span,
|
||||
&#{$class-radio} span,
|
||||
&#{$class-upload},
|
||||
&#{$class-upload} span#{$class-action},
|
||||
&#{$class-button},
|
||||
&#{$class-button} span {
|
||||
background-image: url($sprite);
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
&#{$class-select},
|
||||
&#{$class-checkbox},
|
||||
&#{$class-button},
|
||||
&#{$class-radio},
|
||||
&#{$class-upload} {
|
||||
@include inline-block();
|
||||
vertical-align: middle;
|
||||
|
||||
/* Keeping this as :focus to remove browser styles */
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&#{$class-select},
|
||||
&#{$class-radio},
|
||||
&#{$class-checkbox},
|
||||
&#{$class-upload},
|
||||
&#{$class-button} {
|
||||
&, & * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.highContrastDetect {
|
||||
background: url($input-background) repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
/* Input & Textarea */
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
padding: $input-padding;
|
||||
background: url($input-background) repeat-x 0 0;
|
||||
outline: 0;
|
||||
|
||||
@include whenActive {
|
||||
background: url($input-background-focus) repeat-x 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div#{$class-wrapper}#{$class-checkbox} input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/* Select */
|
||||
|
||||
div#{$class-wrapper}#{$class-select} {
|
||||
background-position: 0 (-5 * $select-height);
|
||||
line-height: $select-height;
|
||||
height: $select-height;
|
||||
padding: 0 0 0 $select-margin-left;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
span {
|
||||
@include ellipsis();
|
||||
background-position: right 0;
|
||||
height: $select-height;
|
||||
line-height: $select-height;
|
||||
padding-right: $select-margin-right;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.fixedWidth{
|
||||
width: $select-fixed-width;
|
||||
|
||||
span {
|
||||
width: ($select-fixed-width - $select-margin-left - $select-margin-right);
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
@include hideYetClickable();
|
||||
position: absolute;
|
||||
height: $select-select-height;
|
||||
top: $select-select-top;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
background-position: 0 (-6 * $select-height);
|
||||
|
||||
span {
|
||||
background-position: right (-1 * $select-height);
|
||||
}
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
background-position: 0 (-7 * $select-height);
|
||||
|
||||
span {
|
||||
background-position: right (-2 * $select-height);
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
background-position: 0 (-8 * $select-height);
|
||||
|
||||
span {
|
||||
background-position: right (-3 * $select-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
background-position: 0 (-9 * $select-height);
|
||||
|
||||
span {
|
||||
background-position: right (-4 * $select-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Checkbox */
|
||||
|
||||
div#{$class-wrapper}#{$class-checkbox} {
|
||||
position: relative;
|
||||
|
||||
&, span, input {
|
||||
width: $checkbox-width;
|
||||
height: $checkbox-height;
|
||||
}
|
||||
|
||||
span {
|
||||
@include inline-block();
|
||||
text-align: center;
|
||||
background-position: 0 $checkbox-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-4 * $checkbox-width) $checkbox-voffset;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
@include hideYetClickable();
|
||||
@include inline-block();
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span {
|
||||
background-position: (-1 * $checkbox-width) $checkbox-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-5 * $checkbox-width) $checkbox-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
span {
|
||||
background-position: (-2 * $checkbox-width) $checkbox-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-6 * $checkbox-width) $checkbox-voffset;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span {
|
||||
background-position: (-3 * $checkbox-width) $checkbox-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-7 * $checkbox-width) $checkbox-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
background-position: (-8 * $checkbox-width) $checkbox-voffset;
|
||||
|
||||
span {
|
||||
@include whenChecked {
|
||||
background-position: (-9 * $checkbox-width) $checkbox-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Radio */
|
||||
|
||||
div#{$class-wrapper}#{$class-radio} {
|
||||
position: relative;
|
||||
|
||||
&, span, input {
|
||||
width: $radio-width;
|
||||
height: $radio-height;
|
||||
}
|
||||
|
||||
span {
|
||||
@include inline-block();
|
||||
text-align: center;
|
||||
background-position: 0 $radio-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-4 * $radio-width) $radio-voffset;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
@include hideYetClickable();
|
||||
@include inline-block();
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span {
|
||||
background-position: (-1 * $radio-width) $radio-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-5 * $radio-width) $radio-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
span {
|
||||
background-position: (-2 * $radio-width) $radio-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-6 * $radio-width) $radio-voffset;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span {
|
||||
background-position: (-3 * $radio-width) $radio-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-7 * $radio-width) $radio-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
background-position: (-8 * $radio-width) $radio-voffset;
|
||||
|
||||
@include whenChecked {
|
||||
background-position: (-9 * $radio-width) $radio-voffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Uploader */
|
||||
|
||||
div#{$class-wrapper}#{$class-upload} {
|
||||
background-position: 0 $upload-voffset;
|
||||
height: $upload-height;
|
||||
width: $upload-width;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
span#{$class-action} {
|
||||
background-position: right ($upload-voffset + (-4 * $upload-height));
|
||||
height: $upload-height;
|
||||
line-height: $upload-height;
|
||||
width: $upload-action-width;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
@include ellipsis();
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: ($upload-height - $upload-filename-margin-top - $upload-filename-margin-bottom);
|
||||
margin: $upload-filename-margin-top 0 $upload-filename-margin-bottom $upload-filename-margin-left;
|
||||
line-height: ($upload-height - $upload-filename-margin-top - $upload-filename-margin-bottom);
|
||||
width: $upload-filename-width;
|
||||
padding: $upload-filename-padding;
|
||||
}
|
||||
|
||||
input {
|
||||
@include hideYetClickable();
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span#{$class-action} {
|
||||
background-position: right ($upload-voffset + (-6 * $upload-height));
|
||||
}
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
background-position: 0 ($upload-voffset + (-2 * $upload-height));
|
||||
|
||||
span#{$class-action} {
|
||||
background-position: right ($upload-voffset + (-5 * $upload-height));
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
span#{$class-action} {
|
||||
background-position: right ($upload-voffset + (-7 * $upload-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
background-position: 0 ($upload-voffset + (-1 * $upload-height));
|
||||
|
||||
span#{$class-action} {
|
||||
background-position: right ($upload-voffset + (-3 * $upload-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
div#{$class-wrapper}#{$class-button} {
|
||||
background-position: 0 ($button-voffset + (-4 * $button-height));
|
||||
height: $button-height;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
/* Keep buttons barely visible so they can get focus */
|
||||
a, button, input {
|
||||
@include opacity(0.01);
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
span {
|
||||
@include inline-block();
|
||||
line-height: $button-span-height;
|
||||
text-align: center;
|
||||
background-position: right $button-voffset;
|
||||
height: $button-span-height;
|
||||
margin-left: $button-margin-left;
|
||||
padding: $button-padding;
|
||||
}
|
||||
|
||||
@include whenActive {
|
||||
background-position: 0 ($button-voffset + (-5 * $button-height));
|
||||
|
||||
span {
|
||||
background-position: right ($button-voffset + (-1 * $button-height));
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
background-position: 0 ($button-voffset + (-6 * $button-height));
|
||||
|
||||
span {
|
||||
background-position: right ($button-voffset + (-2 * $button-height));
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
background-position: 0 ($button-voffset + (-7 * $button-height));
|
||||
|
||||
span {
|
||||
background-position: right ($button-voffset + (-3 * $button-height));
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,369 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Agent
|
||||
Version: 1.0
|
||||
By: Collin Allen
|
||||
License: MIT
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://pixelmatrixdesign.com/uniform/
|
||||
|
||||
*/
|
||||
/* General settings */
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite-agent.png");
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
div.selector, div.checker, div.button, div.radio, div.uploader {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
vertical-align: middle;
|
||||
/* Keeping this as :focus to remove browser styles */ }
|
||||
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus {
|
||||
outline: 0; }
|
||||
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.highContrastDetect {
|
||||
background: url("../images/bg-input-agent.png") repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px; }
|
||||
|
||||
/* Input & Textarea */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
padding: 4px;
|
||||
background: url("../images/bg-input-agent.png") repeat-x 0 0;
|
||||
outline: 0; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background: url("../images/bg-input-agent-focus.png") repeat-x 0 0; }
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div.checker input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
background-position: 0 -160px;
|
||||
line-height: 32px;
|
||||
height: 32px;
|
||||
padding: 0 0 0 12px;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.selector span {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
background-position: right 0;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block; }
|
||||
div.selector.fixedWidth {
|
||||
width: 190px; }
|
||||
div.selector.fixedWidth span {
|
||||
width: 153px; }
|
||||
div.selector select {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
height: 25px;
|
||||
top: 4px;
|
||||
left: 0px;
|
||||
width: 100%; }
|
||||
div.selector.active {
|
||||
background-position: 0 -192px; }
|
||||
div.selector.active span {
|
||||
background-position: right -32px; }
|
||||
div.selector.hover, div.selector.focus {
|
||||
background-position: 0 -224px; }
|
||||
div.selector.hover span, div.selector.focus span {
|
||||
background-position: right -64px; }
|
||||
div.selector.hover.active, div.selector.focus.active {
|
||||
background-position: 0 -256px; }
|
||||
div.selector.hover.active span, div.selector.focus.active span {
|
||||
background-position: right -96px; }
|
||||
div.selector.disabled, div.selector.disabled.active {
|
||||
background-position: 0 -288px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
background-position: right -128px; }
|
||||
|
||||
/* Checkbox */
|
||||
div.checker {
|
||||
position: relative; }
|
||||
div.checker, div.checker span, div.checker input {
|
||||
width: 23px;
|
||||
height: 23px; }
|
||||
div.checker span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -320px; }
|
||||
div.checker span.checked {
|
||||
background-position: -92px -320px; }
|
||||
div.checker input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1; }
|
||||
div.checker.active span {
|
||||
background-position: -23px -320px; }
|
||||
div.checker.active span.checked {
|
||||
background-position: -115px -320px; }
|
||||
div.checker.hover span, div.checker.focus span {
|
||||
background-position: -46px -320px; }
|
||||
div.checker.hover span.checked, div.checker.focus span.checked {
|
||||
background-position: -138px -320px; }
|
||||
div.checker.hover.active span, div.checker.focus.active span {
|
||||
background-position: -69px -320px; }
|
||||
div.checker.hover.active span.checked, div.checker.focus.active span.checked {
|
||||
background-position: -161px -320px; }
|
||||
div.checker.disabled, div.checker.disabled.active {
|
||||
background-position: -184px -320px; }
|
||||
div.checker.disabled span.checked, div.checker.disabled.active span.checked {
|
||||
background-position: -207px -320px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
position: relative; }
|
||||
div.radio, div.radio span, div.radio input {
|
||||
width: 23px;
|
||||
height: 23px; }
|
||||
div.radio span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -343px; }
|
||||
div.radio span.checked {
|
||||
background-position: -92px -343px; }
|
||||
div.radio input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center; }
|
||||
div.radio.active span {
|
||||
background-position: -23px -343px; }
|
||||
div.radio.active span.checked {
|
||||
background-position: -115px -343px; }
|
||||
div.radio.hover span, div.radio.focus span {
|
||||
background-position: -46px -343px; }
|
||||
div.radio.hover span.checked, div.radio.focus span.checked {
|
||||
background-position: -138px -343px; }
|
||||
div.radio.hover.active span, div.radio.focus.active span {
|
||||
background-position: -69px -343px; }
|
||||
div.radio.hover.active span.checked, div.radio.focus.active span.checked {
|
||||
background-position: -161px -343px; }
|
||||
div.radio.disabled span, div.radio.disabled.active span {
|
||||
background-position: -184px -343px; }
|
||||
div.radio.disabled span.checked, div.radio.disabled.active span.checked {
|
||||
background-position: -207px -343px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
background-position: 0 -366px;
|
||||
height: 32px;
|
||||
width: 190px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.uploader span.action {
|
||||
background-position: right -494px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
width: 90px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer; }
|
||||
div.uploader span.filename {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: 32px;
|
||||
margin: 0px 0 0px 4px;
|
||||
line-height: 32px;
|
||||
width: 76px;
|
||||
padding: 0 10px; }
|
||||
div.uploader input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
div.uploader.active span.action {
|
||||
background-position: right -558px; }
|
||||
div.uploader.hover, div.uploader.focus {
|
||||
background-position: 0 -430px; }
|
||||
div.uploader.hover span.action, div.uploader.focus span.action {
|
||||
background-position: right -526px; }
|
||||
div.uploader.hover.active span.action, div.uploader.focus.active span.action {
|
||||
background-position: right -590px; }
|
||||
div.uploader.disabled, div.uploader.disabled.active {
|
||||
background-position: 0 -398px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
background-position: right -462px; }
|
||||
|
||||
/* Buttons */
|
||||
div.button {
|
||||
background-position: 0 -750px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
/* Keep buttons barely visible so they can get focus */ }
|
||||
div.button a, div.button button, div.button input {
|
||||
opacity: 0.01;
|
||||
filter: alpha(opacity=1);
|
||||
-moz-opacity: 0.01;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute; }
|
||||
div.button span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
background-position: right -622px;
|
||||
height: 24px;
|
||||
margin-left: 13px;
|
||||
padding: 5px 15px 5px 2px; }
|
||||
div.button.active {
|
||||
background-position: 0 -782px; }
|
||||
div.button.active span {
|
||||
background-position: right -654px;
|
||||
cursor: default; }
|
||||
div.button.hover, div.button.focus {
|
||||
background-position: 0 -814px; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
background-position: right -686px; }
|
||||
div.button.disabled, div.button.disabled.active {
|
||||
background-position: 0 -846px; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
background-position: right -718px;
|
||||
cursor: default; }
|
||||
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
background-color: #434343;
|
||||
border-top: solid 1px #1a1a1a;
|
||||
border-left: solid 1px #1a1a1a;
|
||||
border-bottom: solid 1px #1c1c1c;
|
||||
border-right: solid 1px #1c1c1c;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px; }
|
||||
input.uniform-input.hover, input.uniform-input.focus,
|
||||
select.uniform-multiselect.hover,
|
||||
select.uniform-multiselect.focus,
|
||||
textarea.uniform.hover,
|
||||
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-color: #575757; }
|
||||
|
||||
div.button span {
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
font-weight: bold;
|
||||
color: #464545;
|
||||
font-size: 14px; }
|
||||
div.selector span {
|
||||
padding: 0 25px 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
text-shadow: 0 1px 0 white; }
|
||||
div.selector select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 1em;
|
||||
border: solid 1px white; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Checker */
|
||||
div.checker {
|
||||
margin-right: 10px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
margin-right: 10px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
margin-bottom: 20px;
|
||||
cursor: pointer; }
|
||||
div.uploader span.action {
|
||||
text-align: center;
|
||||
text-shadow: #1a1a1a 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-weight: bold;
|
||||
color: #ffffff; }
|
||||
div.uploader span.filename {
|
||||
color: #777;
|
||||
font-size: 11px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
color: #aaa; }
|
||||
div.uploader.disabled span.filename, div.uploader.disabled.active span.filename {
|
||||
border-color: #ddd;
|
||||
color: #aaa; }
|
||||
@@ -0,0 +1,145 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Agent
|
||||
Version: 1.0
|
||||
By: Collin Allen
|
||||
License: MIT
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://pixelmatrixdesign.com/uniform/
|
||||
|
||||
*/
|
||||
|
||||
$button-height: 32px;
|
||||
$button-margin-left: 13px;
|
||||
$button-padding: 9px 15px 0 2px;
|
||||
$button-span-height: 24px;
|
||||
$checkbox-height: 23px;
|
||||
$checkbox-width: 23px;
|
||||
$input-background: "../images/bg-input-agent.png";
|
||||
$input-background-focus: "../images/bg-input-agent-focus.png";
|
||||
$input-padding: 4px;
|
||||
$radio-height: 23px;
|
||||
$radio-width: 23px;
|
||||
$select-fixed-width: 190px;
|
||||
$select-height: 32px;
|
||||
$select-margin-left: 12px;
|
||||
$select-margin-right: 25px;
|
||||
$select-select-height: 25px;
|
||||
$select-select-top: 4px;
|
||||
$sprite: "../images/sprite-agent.png";
|
||||
$upload-action-width: 90px;
|
||||
$upload-filename-margin-top: 0px;
|
||||
$upload-filename-margin-bottom: 0px;
|
||||
$upload-filename-margin-left: 4px;
|
||||
$upload-filename-width: 76px;
|
||||
$upload-filename-padding: 0 10px;
|
||||
$upload-height: 32px;
|
||||
$upload-width: 190px;
|
||||
|
||||
@import "../../_base/css/uniform._base.scss";
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
background-color: #434343;
|
||||
border-top: solid 1px #1a1a1a;
|
||||
border-left: solid 1px #1a1a1a;
|
||||
border-bottom: solid 1px #1c1c1c;
|
||||
border-right: solid 1px #1c1c1c;
|
||||
@include border-radius(3px);
|
||||
|
||||
@include whenHover {
|
||||
@include box-shadow(0px 0px 4px rgba(0,0,0,0.3));
|
||||
border-color: #999;
|
||||
background-color: #575757;
|
||||
}
|
||||
}
|
||||
|
||||
div#{$class-wrapper}#{$class-button} {
|
||||
span {
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Select */
|
||||
div#{$class-wrapper}#{$class-select} {
|
||||
font-weight: bold;
|
||||
color: #464545;
|
||||
font-size: 14px;
|
||||
|
||||
span {
|
||||
padding: 0 25px 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 1em;
|
||||
border: solid 1px #fff;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Checker */
|
||||
div#{$class-wrapper}#{$class-checkbox} {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* Radio */
|
||||
div#{$class-wrapper}#{$class-radio} {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* Uploader */
|
||||
div#{$class-wrapper}#{$class-upload} {
|
||||
margin-bottom: 20px;
|
||||
cursor: pointer;
|
||||
|
||||
span#{$class-action} {
|
||||
text-align: center;
|
||||
text-shadow: #1a1a1a 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
color: #777;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span#{$class-action} {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
border-color: #ddd;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 181 B |
|
After Width: | Height: | Size: 186 B |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,365 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Aristo
|
||||
Version: 1.1
|
||||
By: 280North / Ported by Josh Pyles
|
||||
License: Creative Commons Share Alike
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
/* General settings */
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite-aristo.png");
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
div.selector, div.checker, div.button, div.radio, div.uploader {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
vertical-align: middle;
|
||||
/* Keeping this as :focus to remove browser styles */ }
|
||||
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus {
|
||||
outline: 0; }
|
||||
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.highContrastDetect {
|
||||
background: url("../images/bg-input-aristo.png") repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px; }
|
||||
|
||||
/* Input & Textarea */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
padding: 4px;
|
||||
background: url("../images/bg-input-aristo.png") repeat-x 0 0;
|
||||
outline: 0; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background: url("../images/bg-input-focus-aristo.png") repeat-x 0 0; }
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div.checker input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
background-position: 0 -160px;
|
||||
line-height: 32px;
|
||||
height: 32px;
|
||||
padding: 0 0 0 10px;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.selector span {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
background-position: right 0;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block; }
|
||||
div.selector.fixedWidth {
|
||||
width: 190px; }
|
||||
div.selector.fixedWidth span {
|
||||
width: 155px; }
|
||||
div.selector select {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
height: 24px;
|
||||
top: 4px;
|
||||
left: 0px;
|
||||
width: 100%; }
|
||||
div.selector.active {
|
||||
background-position: 0 -192px; }
|
||||
div.selector.active span {
|
||||
background-position: right -32px; }
|
||||
div.selector.hover, div.selector.focus {
|
||||
background-position: 0 -224px; }
|
||||
div.selector.hover span, div.selector.focus span {
|
||||
background-position: right -64px; }
|
||||
div.selector.hover.active, div.selector.focus.active {
|
||||
background-position: 0 -256px; }
|
||||
div.selector.hover.active span, div.selector.focus.active span {
|
||||
background-position: right -96px; }
|
||||
div.selector.disabled, div.selector.disabled.active {
|
||||
background-position: 0 -288px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
background-position: right -128px; }
|
||||
|
||||
/* Checkbox */
|
||||
div.checker {
|
||||
position: relative; }
|
||||
div.checker, div.checker span, div.checker input {
|
||||
width: 23px;
|
||||
height: 23px; }
|
||||
div.checker span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -320px; }
|
||||
div.checker span.checked {
|
||||
background-position: -92px -320px; }
|
||||
div.checker input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1; }
|
||||
div.checker.active span {
|
||||
background-position: -23px -320px; }
|
||||
div.checker.active span.checked {
|
||||
background-position: -115px -320px; }
|
||||
div.checker.hover span, div.checker.focus span {
|
||||
background-position: -46px -320px; }
|
||||
div.checker.hover span.checked, div.checker.focus span.checked {
|
||||
background-position: -138px -320px; }
|
||||
div.checker.hover.active span, div.checker.focus.active span {
|
||||
background-position: -69px -320px; }
|
||||
div.checker.hover.active span.checked, div.checker.focus.active span.checked {
|
||||
background-position: -161px -320px; }
|
||||
div.checker.disabled, div.checker.disabled.active {
|
||||
background-position: -184px -320px; }
|
||||
div.checker.disabled span.checked, div.checker.disabled.active span.checked {
|
||||
background-position: -207px -320px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
position: relative; }
|
||||
div.radio, div.radio span, div.radio input {
|
||||
width: 23px;
|
||||
height: 23px; }
|
||||
div.radio span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -343px; }
|
||||
div.radio span.checked {
|
||||
background-position: -92px -343px; }
|
||||
div.radio input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center; }
|
||||
div.radio.active span {
|
||||
background-position: -23px -18px -343px; }
|
||||
div.radio.active span.checked {
|
||||
background-position: -115px -343px; }
|
||||
div.radio.hover span, div.radio.focus span {
|
||||
background-position: -46px -36px -343px; }
|
||||
div.radio.hover span.checked, div.radio.focus span.checked {
|
||||
background-position: -138px -343px; }
|
||||
div.radio.hover.active span, div.radio.focus.active span {
|
||||
background-position: -69px -343px; }
|
||||
div.radio.hover.active span.checked, div.radio.focus.active span.checked {
|
||||
background-position: -161px -343px; }
|
||||
div.radio.disabled span, div.radio.disabled.active span {
|
||||
background-position: -184px -343px; }
|
||||
div.radio.disabled span.checked, div.radio.disabled.active span.checked {
|
||||
background-position: -207px -343px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
background-position: 0 -366px;
|
||||
height: 32px;
|
||||
width: 190px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.uploader span.action {
|
||||
background-position: right -494px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
width: 90px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer; }
|
||||
div.uploader span.filename {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: 24px;
|
||||
margin: 4px 0 4px 4px;
|
||||
line-height: 24px;
|
||||
width: 76px;
|
||||
padding: 0 10px; }
|
||||
div.uploader input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
div.uploader.active span.action {
|
||||
background-position: right -558px; }
|
||||
div.uploader.hover, div.uploader.focus {
|
||||
background-position: 0 -430px; }
|
||||
div.uploader.hover span.action, div.uploader.focus span.action {
|
||||
background-position: right -526px; }
|
||||
div.uploader.hover.active span.action, div.uploader.focus.active span.action {
|
||||
background-position: right -590px; }
|
||||
div.uploader.disabled, div.uploader.disabled.active {
|
||||
background-position: 0 -398px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
background-position: right -462px; }
|
||||
|
||||
/* Buttons */
|
||||
div.button {
|
||||
background-position: 0 -750px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
/* Keep buttons barely visible so they can get focus */ }
|
||||
div.button a, div.button button, div.button input {
|
||||
opacity: 0.01;
|
||||
filter: alpha(opacity=1);
|
||||
-moz-opacity: 0.01;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute; }
|
||||
div.button span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
background-position: right -622px;
|
||||
height: 22px;
|
||||
margin-left: 13px;
|
||||
padding: 5px 15px 5px 2px; }
|
||||
div.button.active {
|
||||
background-position: 0 -782px; }
|
||||
div.button.active span {
|
||||
background-position: right -654px;
|
||||
cursor: default; }
|
||||
div.button.hover, div.button.focus {
|
||||
background-position: 0 -814px; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
background-position: right -686px; }
|
||||
div.button.disabled, div.button.disabled.active {
|
||||
background-position: 0 -846px; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
background-position: right -718px;
|
||||
cursor: default; }
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #777;
|
||||
background-color: #a1cbe2;
|
||||
border-top: solid 1px #aaaaaa;
|
||||
border-left: solid 1px #aaaaaa;
|
||||
border-bottom: solid 1px #cccccc;
|
||||
border-right: solid 1px #cccccc;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px; }
|
||||
input.uniform-input.hover, input.uniform-input.focus,
|
||||
select.uniform-multiselect.hover,
|
||||
select.uniform-multiselect.focus,
|
||||
textarea.uniform.hover,
|
||||
textarea.uniform.focus {
|
||||
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
||||
border-color: #999;
|
||||
background-color: #a1cbe2; }
|
||||
|
||||
/* Uploader */
|
||||
div.button span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
color: #555; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
font-weight: bold;
|
||||
color: #464545;
|
||||
font-size: 14px; }
|
||||
div.selector span {
|
||||
color: #666;
|
||||
text-shadow: 0 1px 0 white; }
|
||||
div.selector select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 1em;
|
||||
border: solid 1px white; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Checker */
|
||||
div.checker {
|
||||
margin-right: 10px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
margin-right: 10px; }
|
||||
|
||||
div.uploader span.action {
|
||||
text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-weight: bold;
|
||||
color: #1c4257; }
|
||||
div.uploader span.filename {
|
||||
color: #777;
|
||||
font-size: 11px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
color: #aaa; }
|
||||
div.uploader.disabled span.filename, div.uploader.disabled.active span.filename {
|
||||
border-color: #ddd;
|
||||
color: #aaa; }
|
||||
@@ -0,0 +1,151 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Aristo
|
||||
Version: 1.1
|
||||
By: 280North / Ported by Josh Pyles
|
||||
License: Creative Commons Share Alike
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
|
||||
$button-height: 32px;
|
||||
$button-margin-left: 13px;
|
||||
$button-padding: 5px 15px 5px 2px;
|
||||
$button-span-height: 22px;
|
||||
$checkbox-height: 23px;
|
||||
$checkbox-width: 23px;
|
||||
$input-background-focus: "../images/bg-input-focus-aristo.png";
|
||||
$input-background: "../images/bg-input-aristo.png";
|
||||
$input-padding: 4px;
|
||||
$radio-height: 23px;
|
||||
$radio-width: 23px;
|
||||
$select-fixed-width: 190px;
|
||||
$select-height: 32px;
|
||||
$select-margin-left: 10px;
|
||||
$select-margin-right: 25px;
|
||||
$select-select-height: 24px;
|
||||
$select-select-top: 4px;
|
||||
$sprite: "../images/sprite-aristo.png";
|
||||
$upload-action-width: 90px;
|
||||
$upload-filename-margin-left: 4px;
|
||||
$upload-filename-margin-top: 4px;
|
||||
$upload-filename-margin-bottom: 4px;
|
||||
$upload-filename-padding: 0 10px;
|
||||
$upload-filename-width: 76px;
|
||||
$upload-height: 32px;
|
||||
$upload-width: 190px;
|
||||
|
||||
@import "../../_base/css/uniform._base.scss";
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #777;
|
||||
background-color: #a1cbe2;
|
||||
border-top: solid 1px #aaa;
|
||||
border-left: solid 1px #aaa;
|
||||
border-bottom: solid 1px #ccc;
|
||||
border-right: solid 1px #ccc;
|
||||
@include border-radius(3px);
|
||||
|
||||
@include whenHover {
|
||||
@include box-shadow(0 0 4px rgba(0,0,0,0.3));
|
||||
border-color: #999;
|
||||
background-color: #a1cbe2;
|
||||
}
|
||||
}
|
||||
|
||||
/* Uploader */
|
||||
|
||||
|
||||
div#{$class-wrapper}#{$class-button} {
|
||||
span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
span {
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Select */
|
||||
|
||||
div#{$class-wrapper}#{$class-select} {
|
||||
font-weight: bold;
|
||||
color: #464545;
|
||||
font-size: 14px;
|
||||
|
||||
span {
|
||||
color: #666;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 1em;
|
||||
border: solid 1px #fff;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Checker */
|
||||
div#{$class-wrapper}#{$class-checkbox} {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* Radio */
|
||||
div#{$class-wrapper}#{$class-radio} {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
div#{$class-wrapper}#{$class-upload} {
|
||||
span#{$class-action} {
|
||||
text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-weight: bold;
|
||||
color: #1c4257;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
color: #777;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span#{$class-action} {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
border-color: #ddd;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 192 B |
|
After Width: | Height: | Size: 186 B |
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,366 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Uniform Default
|
||||
Version: 1.8
|
||||
By: Josh Pyles
|
||||
License: MIT License
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
/* General settings */
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
div.selector, div.checker, div.button, div.radio, div.uploader {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
vertical-align: middle;
|
||||
/* Keeping this as :focus to remove browser styles */ }
|
||||
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus {
|
||||
outline: 0; }
|
||||
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.highContrastDetect {
|
||||
background: url("../images/bg-input.png") repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px; }
|
||||
|
||||
/* Input & Textarea */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
padding: 3px;
|
||||
background: url("../images/bg-input.png") repeat-x 0 0;
|
||||
outline: 0; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background: url("../images/bg-input-focus.png") repeat-x 0 0; }
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div.checker input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
background-position: 0 -130px;
|
||||
line-height: 26px;
|
||||
height: 26px;
|
||||
padding: 0 0 0 10px;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.selector span {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
background-position: right 0;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block; }
|
||||
div.selector.fixedWidth {
|
||||
width: 190px; }
|
||||
div.selector.fixedWidth span {
|
||||
width: 155px; }
|
||||
div.selector select {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
height: 22px;
|
||||
top: 2px;
|
||||
left: 0px;
|
||||
width: 100%; }
|
||||
div.selector.active {
|
||||
background-position: 0 -156px; }
|
||||
div.selector.active span {
|
||||
background-position: right -26px; }
|
||||
div.selector.hover, div.selector.focus {
|
||||
background-position: 0 -182px; }
|
||||
div.selector.hover span, div.selector.focus span {
|
||||
background-position: right -52px; }
|
||||
div.selector.hover.active, div.selector.focus.active {
|
||||
background-position: 0 -208px; }
|
||||
div.selector.hover.active span, div.selector.focus.active span {
|
||||
background-position: right -78px; }
|
||||
div.selector.disabled, div.selector.disabled.active {
|
||||
background-position: 0 -234px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
background-position: right -104px; }
|
||||
|
||||
/* Checkbox */
|
||||
div.checker {
|
||||
position: relative; }
|
||||
div.checker, div.checker span, div.checker input {
|
||||
width: 19px;
|
||||
height: 19px; }
|
||||
div.checker span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -260px; }
|
||||
div.checker span.checked {
|
||||
background-position: -76px -260px; }
|
||||
div.checker input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1; }
|
||||
div.checker.active span {
|
||||
background-position: -19px -260px; }
|
||||
div.checker.active span.checked {
|
||||
background-position: -95px -260px; }
|
||||
div.checker.hover span, div.checker.focus span {
|
||||
background-position: -38px -260px; }
|
||||
div.checker.hover span.checked, div.checker.focus span.checked {
|
||||
background-position: -114px -260px; }
|
||||
div.checker.hover.active span, div.checker.focus.active span {
|
||||
background-position: -57px -260px; }
|
||||
div.checker.hover.active span.checked, div.checker.focus.active span.checked {
|
||||
background-position: -133px -260px; }
|
||||
div.checker.disabled, div.checker.disabled.active {
|
||||
background-position: -152px -260px; }
|
||||
div.checker.disabled span.checked, div.checker.disabled.active span.checked {
|
||||
background-position: -171px -260px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
position: relative; }
|
||||
div.radio, div.radio span, div.radio input {
|
||||
width: 18px;
|
||||
height: 18px; }
|
||||
div.radio span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -279px; }
|
||||
div.radio span.checked {
|
||||
background-position: -72px -279px; }
|
||||
div.radio input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center; }
|
||||
div.radio.active span {
|
||||
background-position: -18px -18px -279px; }
|
||||
div.radio.active span.checked {
|
||||
background-position: -90px -279px; }
|
||||
div.radio.hover span, div.radio.focus span {
|
||||
background-position: -36px -36px -279px; }
|
||||
div.radio.hover span.checked, div.radio.focus span.checked {
|
||||
background-position: -108px -279px; }
|
||||
div.radio.hover.active span, div.radio.focus.active span {
|
||||
background-position: -54px -279px; }
|
||||
div.radio.hover.active span.checked, div.radio.focus.active span.checked {
|
||||
background-position: -126px -279px; }
|
||||
div.radio.disabled span, div.radio.disabled.active span {
|
||||
background-position: -144px -279px; }
|
||||
div.radio.disabled span.checked, div.radio.disabled.active span.checked {
|
||||
background-position: -162px -279px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
background-position: 0 -297px;
|
||||
height: 28px;
|
||||
width: 190px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.uploader span.action {
|
||||
background-position: right -409px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
width: 82px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer; }
|
||||
div.uploader span.filename {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: 24px;
|
||||
margin: 2px 0 2px 2px;
|
||||
line-height: 24px;
|
||||
width: 85px;
|
||||
padding: 0 10px; }
|
||||
div.uploader input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
div.uploader.active span.action {
|
||||
background-position: right -465px; }
|
||||
div.uploader.hover, div.uploader.focus {
|
||||
background-position: 0 -353px; }
|
||||
div.uploader.hover span.action, div.uploader.focus span.action {
|
||||
background-position: right -437px; }
|
||||
div.uploader.hover.active span.action, div.uploader.focus.active span.action {
|
||||
background-position: right -493px; }
|
||||
div.uploader.disabled, div.uploader.disabled.active {
|
||||
background-position: 0 -325px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
background-position: right -381px; }
|
||||
|
||||
/* Buttons */
|
||||
div.button {
|
||||
background-position: 0 -641px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
/* Keep buttons barely visible so they can get focus */ }
|
||||
div.button a, div.button button, div.button input {
|
||||
opacity: 0.01;
|
||||
filter: alpha(opacity=1);
|
||||
-moz-opacity: 0.01;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute; }
|
||||
div.button span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
background-position: right -521px;
|
||||
height: 22px;
|
||||
margin-left: 13px;
|
||||
padding: 8px 15px 0 2px; }
|
||||
div.button.active {
|
||||
background-position: 0 -671px; }
|
||||
div.button.active span {
|
||||
background-position: right -551px;
|
||||
cursor: default; }
|
||||
div.button.hover, div.button.focus {
|
||||
background-position: 0 -701px; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
background-position: right -581px; }
|
||||
div.button.disabled, div.button.disabled.active {
|
||||
background-position: 0 -731px; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
background-position: right -611px;
|
||||
cursor: default; }
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
font-size: 12px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #777;
|
||||
border-top: solid 1px #aaaaaa;
|
||||
border-left: solid 1px #aaaaaa;
|
||||
border-bottom: solid 1px #cccccc;
|
||||
border-right: solid 1px #cccccc;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px; }
|
||||
input.uniform-input.hover, input.uniform-input.focus,
|
||||
select.uniform-multiselect.hover,
|
||||
select.uniform-multiselect.focus,
|
||||
textarea.uniform.hover,
|
||||
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; }
|
||||
|
||||
/* PRESENTATION */
|
||||
/* Buttons */
|
||||
div.button span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
color: #555; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
font-size: 12px; }
|
||||
div.selector span {
|
||||
color: #666;
|
||||
text-shadow: 0 1px 0 white; }
|
||||
div.selector select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
color: #bbb; }
|
||||
|
||||
/* Checker */
|
||||
div.checker {
|
||||
margin-right: 5px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
margin-right: 3px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader span.action {
|
||||
text-shadow: white 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: bold; }
|
||||
div.uploader span.filename {
|
||||
color: #777;
|
||||
border-right: solid 1px #bbbbbb;
|
||||
font-size: 11px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
color: #aaa; }
|
||||
div.uploader.disabled span.filename, div.uploader.disabled.active span.filename {
|
||||
border-color: #ddd;
|
||||
color: #aaa; }
|
||||
|
||||
input.uniform-input, input.uniform-input:focus {
|
||||
background-color: #fff; }
|
||||
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Uniform Default
|
||||
Version: 1.8
|
||||
By: Josh Pyles
|
||||
License: MIT License
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
|
||||
$button-height: 30px;
|
||||
$button-margin-left: 13px;
|
||||
$button-padding: 8px 15px 0 2px;
|
||||
$button-span-height: 22px;
|
||||
$checkbox-height: 19px;
|
||||
$checkbox-width: 19px;
|
||||
$input-padding: 3px;
|
||||
$radio-height: 18px;
|
||||
$radio-width: 18px;
|
||||
$select-fixed-width: 190px;
|
||||
$select-height: 26px;
|
||||
$select-margin-left: 10px;
|
||||
$select-margin-right: 25px;
|
||||
$select-select-height: 22px;
|
||||
$select-select-top: 2px;
|
||||
$upload-action-width: 82px;
|
||||
$upload-filename-margin-top: 2px;
|
||||
$upload-filename-margin-bottom: 2px;
|
||||
$upload-filename-margin-left: 2px;
|
||||
$upload-filename-width: 85px;
|
||||
$upload-filename-padding: 0 10px;
|
||||
$upload-height: 28px;
|
||||
$upload-width: 190px;
|
||||
|
||||
@import "../../_base/css/uniform._base.scss";
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
font-size: 12px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #777;
|
||||
border-top: solid 1px #aaa;
|
||||
border-left: solid 1px #aaa;
|
||||
border-bottom: solid 1px #ccc;
|
||||
border-right: solid 1px #ccc;
|
||||
@include border-radius($input-padding);
|
||||
|
||||
@include whenHover {
|
||||
@include box-shadow(0px 0px 4px rgba(0,0,0,0.3));
|
||||
border-color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
/* PRESENTATION */
|
||||
|
||||
/* Buttons */
|
||||
|
||||
div#{$class-wrapper}#{$class-button} {
|
||||
span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
span {
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Select */
|
||||
|
||||
div#{$class-wrapper}#{$class-select} {
|
||||
font-size: 12px;
|
||||
|
||||
span {
|
||||
color: #666;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Checker */
|
||||
div#{$class-wrapper}#{$class-checkbox} {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/* Radio */
|
||||
div#{$class-wrapper}#{$class-radio} {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* Uploader */
|
||||
div#{$class-wrapper}#{$class-upload} {
|
||||
span#{$class-action} {
|
||||
text-shadow: #fff 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
color: #777;
|
||||
border-right: solid 1px #bbb;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span#{$class-action} {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
border-color: #ddd;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input} {
|
||||
&, &:focus {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 143 B |
|
After Width: | Height: | Size: 143 B |
|
After Width: | Height: | Size: 34 KiB |
@@ -0,0 +1,385 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Crayon
|
||||
Version: 2.0
|
||||
By: Tyler Akins
|
||||
License: MIT License
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
/* General settings */
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite-jeans.png");
|
||||
background-repeat: no-repeat;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
div.selector, div.checker, div.button, div.radio, div.uploader {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
vertical-align: middle;
|
||||
/* Keeping this as :focus to remove browser styles */ }
|
||||
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus {
|
||||
outline: 0; }
|
||||
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.highContrastDetect {
|
||||
background: url("../images/bg-input-jeans.png") repeat-x 0 0;
|
||||
width: 0px;
|
||||
height: 0px; }
|
||||
|
||||
/* Input & Textarea */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
padding: 3px;
|
||||
background: url("../images/bg-input-jeans.png") repeat-x 0 0;
|
||||
outline: 0; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background: url("../images/bg-input-focus-jeans.png") repeat-x 0 0; }
|
||||
|
||||
/* Remove default webkit and possible mozilla .search styles.
|
||||
* Keeping this as :active to remove browser styles */
|
||||
div.checker input,
|
||||
input[type="search"],
|
||||
input[type="search"]:active {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
background-position: 0 -130px;
|
||||
line-height: 26px;
|
||||
height: 26px;
|
||||
padding: 0 0 0 10px;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.selector span {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
background-position: right 0;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
padding-right: 25px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: block; }
|
||||
div.selector.fixedWidth {
|
||||
width: 190px; }
|
||||
div.selector.fixedWidth span {
|
||||
width: 155px; }
|
||||
div.selector select {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
height: 22px;
|
||||
top: 2px;
|
||||
left: 0px;
|
||||
width: 100%; }
|
||||
div.selector.active {
|
||||
background-position: 0 -156px; }
|
||||
div.selector.active span {
|
||||
background-position: right -26px; }
|
||||
div.selector.hover, div.selector.focus {
|
||||
background-position: 0 -182px; }
|
||||
div.selector.hover span, div.selector.focus span {
|
||||
background-position: right -52px; }
|
||||
div.selector.hover.active, div.selector.focus.active {
|
||||
background-position: 0 -208px; }
|
||||
div.selector.hover.active span, div.selector.focus.active span {
|
||||
background-position: right -78px; }
|
||||
div.selector.disabled, div.selector.disabled.active {
|
||||
background-position: 0 -234px; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
background-position: right -104px; }
|
||||
|
||||
/* Checkbox */
|
||||
div.checker {
|
||||
position: relative; }
|
||||
div.checker, div.checker span, div.checker input {
|
||||
width: 19px;
|
||||
height: 19px; }
|
||||
div.checker span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -260px; }
|
||||
div.checker span.checked {
|
||||
background-position: -76px -260px; }
|
||||
div.checker input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1; }
|
||||
div.checker.active span {
|
||||
background-position: -19px -260px; }
|
||||
div.checker.active span.checked {
|
||||
background-position: -95px -260px; }
|
||||
div.checker.hover span, div.checker.focus span {
|
||||
background-position: -38px -260px; }
|
||||
div.checker.hover span.checked, div.checker.focus span.checked {
|
||||
background-position: -114px -260px; }
|
||||
div.checker.hover.active span, div.checker.focus.active span {
|
||||
background-position: -57px -260px; }
|
||||
div.checker.hover.active span.checked, div.checker.focus.active span.checked {
|
||||
background-position: -133px -260px; }
|
||||
div.checker.disabled, div.checker.disabled.active {
|
||||
background-position: -152px -260px; }
|
||||
div.checker.disabled span.checked, div.checker.disabled.active span.checked {
|
||||
background-position: -171px -260px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
position: relative; }
|
||||
div.radio, div.radio span, div.radio input {
|
||||
width: 18px;
|
||||
height: 18px; }
|
||||
div.radio span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center;
|
||||
background-position: 0 -279px; }
|
||||
div.radio span.checked {
|
||||
background-position: -72px -279px; }
|
||||
div.radio input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
text-align: center; }
|
||||
div.radio.active span {
|
||||
background-position: -18px -18px -279px; }
|
||||
div.radio.active span.checked {
|
||||
background-position: -90px -279px; }
|
||||
div.radio.hover span, div.radio.focus span {
|
||||
background-position: -36px -36px -279px; }
|
||||
div.radio.hover span.checked, div.radio.focus span.checked {
|
||||
background-position: -108px -279px; }
|
||||
div.radio.hover.active span, div.radio.focus.active span {
|
||||
background-position: -54px -279px; }
|
||||
div.radio.hover.active span.checked, div.radio.focus.active span.checked {
|
||||
background-position: -126px -279px; }
|
||||
div.radio.disabled span, div.radio.disabled.active span {
|
||||
background-position: -144px -279px; }
|
||||
div.radio.disabled span.checked, div.radio.disabled.active span.checked {
|
||||
background-position: -162px -279px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader {
|
||||
background-position: 0 -297px;
|
||||
height: 28px;
|
||||
width: 190px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
div.uploader span.action {
|
||||
background-position: right -409px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
width: 82px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: inline;
|
||||
overflow: hidden;
|
||||
cursor: pointer; }
|
||||
div.uploader span.filename {
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
cursor: default;
|
||||
height: 24px;
|
||||
margin: 2px 0 2px 2px;
|
||||
line-height: 24px;
|
||||
width: 85px;
|
||||
padding: 0 10px; }
|
||||
div.uploader input {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
div.uploader.active span.action {
|
||||
background-position: right -465px; }
|
||||
div.uploader.hover, div.uploader.focus {
|
||||
background-position: 0 -353px; }
|
||||
div.uploader.hover span.action, div.uploader.focus span.action {
|
||||
background-position: right -437px; }
|
||||
div.uploader.hover.active span.action, div.uploader.focus.active span.action {
|
||||
background-position: right -493px; }
|
||||
div.uploader.disabled, div.uploader.disabled.active {
|
||||
background-position: 0 -325px; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
background-position: right -381px; }
|
||||
|
||||
/* Buttons */
|
||||
div.button {
|
||||
background-position: 0 -641px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
/* Keep buttons barely visible so they can get focus */ }
|
||||
div.button a, div.button button, div.button input {
|
||||
opacity: 0.01;
|
||||
filter: alpha(opacity=1);
|
||||
-moz-opacity: 0.01;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute; }
|
||||
div.button span {
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
zoom: 1;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
background-position: right -521px;
|
||||
height: 22px;
|
||||
margin-left: 12px;
|
||||
padding: 8px 15px 0 2px; }
|
||||
div.button.active {
|
||||
background-position: 0 -671px; }
|
||||
div.button.active span {
|
||||
background-position: right -551px;
|
||||
cursor: default; }
|
||||
div.button.hover, div.button.focus {
|
||||
background-position: 0 -701px; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
background-position: right -581px; }
|
||||
div.button.disabled, div.button.disabled.active {
|
||||
background-position: 0 -731px; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
background-position: right -611px;
|
||||
cursor: default; }
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
font-size: 12px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #FFE000;
|
||||
border-top: solid 1px #aaaaaa;
|
||||
border-left: solid 1px #aaaaaa;
|
||||
border-bottom: solid 1px #cccccc;
|
||||
border-right: solid 1px #cccccc;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px; }
|
||||
input.uniform-input:focus,
|
||||
select.uniform-multiselect: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; }
|
||||
|
||||
/* PRESENTATION */
|
||||
/* Buttons */
|
||||
div.button span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
color: #FFE000; }
|
||||
div.button.hover span, div.button.focus span {
|
||||
color: #FFE000; }
|
||||
div.button.disabled span, div.button.disabled.active span {
|
||||
color: #FFE000; }
|
||||
|
||||
/* Select */
|
||||
div.selector {
|
||||
font-size: 12px; }
|
||||
div.selector select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px; }
|
||||
div.selector span {
|
||||
color: #FFE000;
|
||||
text-shadow: 0 1px 0 black; }
|
||||
div.selector.disabled span, div.selector.disabled.active span {
|
||||
color: #FFE000; }
|
||||
|
||||
/* Checker */
|
||||
div.checker {
|
||||
margin-right: 5px; }
|
||||
|
||||
/* Radio */
|
||||
div.radio {
|
||||
margin-right: 3px; }
|
||||
|
||||
/* Uploader */
|
||||
div.uploader span.action {
|
||||
text-shadow: black 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #FFE000; }
|
||||
div.uploader span.filename {
|
||||
color: #FFE000;
|
||||
font-size: 11px;
|
||||
border-right: 1px solid #2f4368; }
|
||||
div.uploader.disabled span.action, div.uploader.disabled.active span.action {
|
||||
color: #FFE000; }
|
||||
div.uploader.disabled span.filename, div.uploader.disabled.active span.filename {
|
||||
border-color: #ddd;
|
||||
color: #FFE000; }
|
||||
|
||||
input.uniform-input, input.uniform-input:focus,
|
||||
select.uniform-multiselect,
|
||||
select.uniform-multiselect:focus,
|
||||
textarea.uniform,
|
||||
textarea.uniform:focus {
|
||||
background-repeat: repeat; }
|
||||
|
||||
@media only screen and (min-resolution: 124dpi), only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 4 / 3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx) {
|
||||
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span {
|
||||
background-image: url("../images/sprite-retina-jeans.png");
|
||||
background-size: 493px; }
|
||||
|
||||
input.uniform-input,
|
||||
select.uniform-multiselect,
|
||||
textarea.uniform {
|
||||
background-image: url("../images/bg-input-retina-jeans.png");
|
||||
background-size: 60px; }
|
||||
input.uniform-input.active,
|
||||
select.uniform-multiselect.active,
|
||||
textarea.uniform.active {
|
||||
background-image: url("../images/bg-input-focus-retina-jeans.png"); } }
|
||||
@@ -0,0 +1,162 @@
|
||||
/*
|
||||
|
||||
Uniform Theme: Crayon
|
||||
Version: 2.0
|
||||
By: Tyler Akins
|
||||
License: MIT License
|
||||
---
|
||||
For use with the Uniform plugin:
|
||||
http://uniformjs.com/
|
||||
|
||||
*/
|
||||
|
||||
$button-height: 30px;
|
||||
$button-margin-left: 12px;
|
||||
$button-padding: 8px 15px 0 2px;
|
||||
$button-span-height: 22px;
|
||||
$checkbox-height: 19px;
|
||||
$checkbox-width: 19px;
|
||||
$input-background-focus: "../images/bg-input-focus-jeans.png";
|
||||
$input-background-focus-retina: "../images/bg-input-focus-retina-jeans.png";
|
||||
$input-background: "../images/bg-input-jeans.png";
|
||||
$input-background-retina: "../images/bg-input-retina-jeans.png";
|
||||
$input-padding: 3px;
|
||||
$radio-height: 18px;
|
||||
$radio-width: 18px;
|
||||
$select-fixed-width: 190px;
|
||||
$select-height: 26px;
|
||||
$select-margin-left: 10px;
|
||||
$select-margin-right: 25px;
|
||||
$select-select-height: 22px;
|
||||
$select-select-top: 2px;
|
||||
$sprite: "../images/sprite-jeans.png";
|
||||
$sprite-retina: "../images/sprite-retina-jeans.png";
|
||||
$upload-action-width: 82px;
|
||||
$upload-filename-margin-top: 2px;
|
||||
$upload-filename-margin-left: 2px;
|
||||
$upload-filename-width: 85px;
|
||||
$upload-filename-padding: 0 10px;
|
||||
$upload-height: 28px;
|
||||
$upload-span-height: 24px;
|
||||
$upload-width: 190px;
|
||||
$input-background-size: 60px;
|
||||
|
||||
@import "../../_base/css/uniform._base.scss";
|
||||
|
||||
/* INPUT & TEXTAREA */
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
font-size: 12px;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #FFE000;
|
||||
border-top: solid 1px #aaa;
|
||||
border-left: solid 1px #aaa;
|
||||
border-bottom: solid 1px #ccc;
|
||||
border-right: solid 1px #ccc;
|
||||
@include border-radius($input-padding);
|
||||
|
||||
&:focus {
|
||||
@include box-shadow(0px 0px 4px rgba(0,0,0,0.3));
|
||||
border-color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
/* PRESENTATION */
|
||||
|
||||
/* Buttons */
|
||||
|
||||
div#{$class-wrapper}#{$class-button} {
|
||||
span {
|
||||
font-weight: bold;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
color: #FFE000;
|
||||
}
|
||||
|
||||
@include whenHover {
|
||||
span {
|
||||
color: #FFE000;
|
||||
}
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #FFE000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Select */
|
||||
|
||||
div#{$class-wrapper}#{$class-select} {
|
||||
font-size: 12px;
|
||||
|
||||
select {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #FFE000;
|
||||
text-shadow: 0 1px 0 #000;
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span {
|
||||
color: #FFE000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Checker */
|
||||
div#{$class-wrapper}#{$class-checkbox} {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/* Radio */
|
||||
div#{$class-wrapper}#{$class-radio} {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* Uploader */
|
||||
div#{$class-wrapper}#{$class-upload} {
|
||||
span#{$class-action} {
|
||||
text-shadow: #000 0px 1px 0px;
|
||||
background-color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #FFE000;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
color: #FFE000;
|
||||
font-size: 11px;
|
||||
border-right: 1px solid rgb(47, 67, 104);
|
||||
}
|
||||
|
||||
@include whenDisabled {
|
||||
span#{$class-action} {
|
||||
color: #FFE000;
|
||||
}
|
||||
|
||||
span#{$class-filename} {
|
||||
border-color: #ddd;
|
||||
color: #FFE000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
|
||||
#{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
|
||||
#{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
|
||||
&, &:focus {
|
||||
background-repeat: repeat
|
||||
}
|
||||
}
|
||||
|
||||
@include retina()
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 586 KiB |
|
After Width: | Height: | Size: 2.0 MiB |
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "Uniform.js",
|
||||
"filename": "jquery.uniform.min.js",
|
||||
"version": "2.1.2",
|
||||
"homepage": "http://uniformjs.com",
|
||||
"description": "A plugin for jQuery. Make your form controls look how you want them to.",
|
||||
"keywords": [
|
||||
"uniform"
|
||||
],
|
||||
"repositories": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "git://github.com/pixelmatrix/uniform.git"
|
||||
}
|
||||
]
|
||||
}
|
||||