diff --git a/.gitignore b/.gitignore index 9a58df5..b410e4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,4 @@ .* !.git* -*.swp -*~ /node_modules /bower_components - -# Do not ignore these generated files. This way, the GitHub generated -# archives will automatically still contain the minified version -# jquery.uniform.min.js -# themes/*/css/uniform.*.min.css - -# These files are created with bin/build -theme-kit/README.html -www/downloads/theme-kit.zip -www/downloads/uniform.*.theme.zip -www/images/bg-input*.png -www/images/sprite*.png -www/index.html -www/javascripts/jquery.uniform.js -www/javascripts/jquery.uniform.min.js -www/javascripts/themecss.js -www/stylesheets/uniform.*.css diff --git a/CREDITS.md b/CREDITS.md index 3646fe6..40d81a7 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -4,4 +4,4 @@ Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on this Disabling text selection is made possible by Mathias Bynens and his noSelect plugin, , which is embedded. -Tyler Akins (@fidien) has also rewritten chunks of the plugin, helped close many issues, and ensured version 2 got out the door. +Tyler Akins (@fidian) has also rewritten chunks of the plugin, helped close many issues, and ensured version 2 got out the door. diff --git a/Makefile b/Makefile deleted file mode 100644 index 6182b37..0000000 --- a/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -JS_MIN = jquery.uniform.min.js -THEME_CSS = $(patsubst %.scss, %.css, $(wildcard themes/*/css/*.scss)) -THEME_CSS_MIN = $(patsubst %.css, %.min.css, $(THEME_CSS)) -WWW_TARGETS = www/index.html www/stylesheets/multiple-themes.css -WWW_TARGETS += www/javascripts/jquery.uniform.js -WWW_TARGETS += www/javascripts/jquery.uniform.min.js -ZIP_THEME_TARGETS = www/downloads/uniform.agent.theme.zip -ZIP_THEME_TARGETS += www/downloads/uniform.aristo.theme.zip -ZIP_THEME_TARGETS += www/downloads/uniform.default.theme.zip -ZIP_THEME_TARGETS += www/downloads/uniform.jeans.theme.zip -WWW_TARGETS += $(ZIP_THEME_TARGETS) -CSS_THEME_TARGETS = www/stylesheets/uniform.agent.css -CSS_THEME_TARGETS += www/stylesheets/uniform.aristo.css -CSS_THEME_TARGETS += www/stylesheets/uniform.default.css -CSS_THEME_TARGETS += www/stylesheets/uniform.jeans.css -WWW_TARGETS += $(CSS_THEME_TARGETS) -WWW_TARGETS += www/downloads/theme-kit.zip - -.PHONY: all clean - -all: jquery.uniform.min.js $(JS_MIN) $(THEME_CSS) $(THEME_CSS_MIN) $(WWW_TARGETS) - -www: www/javascripts/jquery.uniform.js www/javascripts/jquery.uniform.min.js $(WWW_TARGETS) - -clean: - rm -f jquery.uniform.min.js $(WWW_TARGETS) $(THEME_CSS) $(THEME_CSS_MIN) - -%.min.js: %.js - node_modules/.bin/uglifyjs ./lib/jquery.uniform.js -o ./dist/jquery.uniform.min.js -m -c - -%.css: %.scss themes/_base/css/uniform._base.scss - sass --load-path themes/_base/css --scss -s < $< > $@ - -%.min.css: %.scss themes/_base/css/uniform._base.scss - sass --load-path themes/_base/css --scss -s --style=compressed < $< > $@ - -%.html: %.md - node_modules/.bin/marked --gfm -i $< -o $@ - -www/downloads/theme-kit.zip: $(wildcard theme-kit/*) theme-kit/README.html - rm -f $@ - ( cd theme-kit; zip -r9 ../$@ * ) - -www/downloads/uniform.agent.theme.zip: $(wildcard themes/agent/*/*) - rm -f $@ - ( cd themes/agent; zip -r9 ../../$@ * ) - cp themes/agent/images/*.png www/images/ - -www/downloads/uniform.aristo.theme.zip: $(wildcard themes/aristo/*/*) - rm -f $@ - ( cd themes/aristo; zip -r9 ../../$@ * ) - cp themes/aristo/images/*.png www/images/ - -www/downloads/uniform.default.theme.zip: $(wildcard themes/default/*/*) - rm -f $@ - ( cd themes/default; zip -r9 ../../$@ * ) - cp themes/default/images/*.png www/images/ - -www/downloads/uniform.jeans.theme.zip: $(wildcard themes/jeans/*/*) - rm -f $@ - ( cd themes/jeans; zip -r9 ../../$@ * ) - cp themes/jeans/images/*.png www/images/ - -www/index.html: $(wildcard www-fragments/index-*) README.md - cp www-fragments/index-start.html $@ - node_modules/.bin/marked --gfm -i README.md >> $@ - cat www-fragments/index-stop.html >> $@ - -www/javascripts/jquery.uniform.js: jquery.uniform.js - cp jquery.uniform.js www/javascripts - -www/javascripts/jquery.uniform.min.js: jquery.uniform.min.js - cp jquery.uniform.min.js www/javascripts - -www/stylesheets/multiple-themes.css: www/stylesheets/multiple-themes.scss $(wildcard themes/*/css/*.scss) - sass --load-path www/stylesheets --scss -s < $< > $@ - -www/stylesheets/uniform.agent.css: themes/agent/css/uniform.agent.css - cp $< $@ - -www/stylesheets/uniform.aristo.css: themes/aristo/css/uniform.aristo.css - cp $< $@ - -www/stylesheets/uniform.default.css: themes/default/css/uniform.default.css - cp $< $@ - -www/stylesheets/uniform.jeans.css: themes/jeans/css/uniform.jeans.css - cp $< $@ diff --git a/README.md b/README.md index 831e048..a140a7d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Uniform +# (jQuery) Uniform > A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes! @@ -10,6 +10,8 @@ Works well with jQuery 1.6+, but we've received patches and heard that this work ## Installation +Packaging of Uniform comes with source SASS files and minified CSS files, ready for consumption in live/production environment. You can install Uniform via one of two methods listed below: + ### Via NPM Simply run: @@ -25,18 +27,36 @@ Minified source file will be built inside ```dist/``` folder. ### Via Bower bower install --save jquery.uniform + +### Un-minified CSS files + +For your own development purposes, to get human-readable, un-minified CSS outputs, you will need to install Uniform via NPM (as shown above), install the necessary dependencies through ```npm install``` and then run ```gulp```. Doing so will recreate readable CSS files in ```dist/css``` folder. Invoking ```gulp --production``` however, will recreate minified CSS files (which is default behavior, what we already have in the ```dist``` folder). ## Implementation -Stylesheets and Javascript files should be linked in the ```
``` of your markup. Javascript files should be linked/included after jQuery: +There are two ways to go with this: + +### Basic Implementation + +Basically, you can use the final assets provided in ```dist``` folder out of the box. + +Stylesheets and Javascript files should be linked in the ```
``` of your markup (the latter, coming after jQuery): + + + + + + +Or if you are using our bundled version - ```jquery.uniform.bundled.js``` file - which already comes with jQuery (beware not to include jQuery twice): + + + + - - - - +### Advanced Implementation -This relies upon a copy of jquery.uniform.js, uniform.default.css and the various images all being available on your webserver. +To have more control over your web assets, you can directly work with our SCSS and JS files, by importing them into or bundling with your own assets. Please be advised that our Gulp configuration (via Laravel-Elixir package) includes Auto-prefixer, i.e. browser prefixes are automatically added to CSS during the post-processing of SCSS files. Whatever your post-processing solution will be (Gulp-based or Compass), you need to make sure to include Auto-prefixer in that workflow. Our SCSS source files do not include browser prefixes out of the box! ## Usage diff --git a/TODO.md b/TODO.md index 978fc79..fb120ad 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ -* Enhance demo page to show all sorts of edge cases, like when bugs were found. shidec has IE7 fixes with uniformed 'a' elements, which might be needed if they are still broken. -* Add tests. szaboat added Jasmine tests. May wish to be more thorough? Not browser based? -* IE8 issue when file button was moved to the left side? See https://github.com/kamilogorek/uniform/commit/d71e77f997e033e69fe0070f06428f8318cd9324 -* See if selects of various heights work in webkit https://github.com/AdrianGyuricska/uniform/commit/1fca129d7de2e5812f172f6f7b96a9df7c55a063 +- [ ] Enhance demo page to show all sorts of edge cases, like when bugs were found. shidec has IE7 fixes with uniformed 'a' elements, which might be needed if they are still broken. +- [ ] Add tests. szaboat added Jasmine tests. May wish to be more thorough? Not browser based? +- [ ] IE8 issue when file button was moved to the left side? See https://github.com/kamilogorek/uniform/commit/d71e77f997e033e69fe0070f06428f8318cd9324 +- [ ] See if selects of various heights work in webkit https://github.com/AdrianGyuricska/uniform/commit/1fca129d7de2e5812f172f6f7b96a9df7c55a063 diff --git a/bower.json b/bower.json index d13b91c..124f834 100644 --- a/bower.json +++ b/bower.json @@ -3,7 +3,7 @@ "description": "A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!", "homepage": "http://opensource.audith.org/uniform", "main": [ - "lib/jquery.uniform.js" + "dist/js/jquery.uniform.standalone.js" ], "dependencies": { "jquery": "^1.6" @@ -12,9 +12,9 @@ "globals" ], "keywords": [ - "motion", - "physics", - "particles" + "custom form controls", + "uniform", + "jquery" ], "authors": [ "Shahriyar Imanov ", @@ -29,8 +29,6 @@ "ignore": [ "**/.*", "node_modules", - "bower_components", - "www", - "www-fragments" + "bower_components" ] } diff --git a/dev/build.sh b/dev/build.sh new file mode 100644 index 0000000..10a9159 --- /dev/null +++ b/dev/build.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +docker build -f dev/docker/scripts/builder/Dockerfile -t audithsoftworks/uniform . + +#docker-compose -f docker-compose.yml pull; +#docker-compose -f docker-compose.yml up -d; +#docker-compose -f docker-compose.yml ps; + +#docker exec uniform_builder_1 /bin/bash -c "echo $(docker inspect -f '{{ .NetworkSettings.IPAddress }}' basis_nginx_1) basis.audith.org | tee -a /etc/hosts"; + +#test -f .env || cat .env.example | sed s/DB_HOST=.*/DB_HOST=mysql56/g | sed s/DB_USERNAME=.*/DB=mysql/g | sed s/DB_PASSWORD=.*//g | tee .env; + +docker exec uniform_builder_1 /bin/bash -c " + npm install; + gulp; +"; + +#docker-compose -f docker-compose.yml stop; + +#sleep 10; + +#docker rm $(docker ps -a | grep "Exited" | awk "{print \$1}") +#docker rmi $(docker images | grep "" | awk "{print \$3}"); diff --git a/dev/docker/scripts/builder/Dockerfile b/dev/docker/scripts/builder/Dockerfile new file mode 100644 index 0000000..26b0be8 --- /dev/null +++ b/dev/docker/scripts/builder/Dockerfile @@ -0,0 +1,51 @@ +FROM ubuntu:xenial +MAINTAINER Shahriyar Imanov + +WORKDIR /home/audith + +ENV DEBIAN_FRONTEND noninteractive + +# Install dependencies +RUN apt-get update -y && apt-get install -y apt-utils && apt-get upgrade -y +RUN apt-get install -y \ + build-essential \ + bzip2 \ + curl \ + ruby \ + ruby-dev \ + && apt-get clean \ + && apt-get autoremove -y + +# Install Compass dependencies +RUN gem install compass sass sass-globbing autoprefixer-rails fontcustom + +# Install Node +RUN set -ex \ + && for key in \ + 9554F04D7259F04124DE6B476D5A82AC7E37093B \ + 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \ + 0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 \ + FD3A5288F042B6850C66B31F09FE44734EB7990E \ + 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \ + DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ + B9AE9905FFD7803F25714661B63B535A4C206CA9 \ + C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \ + ; do \ + gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ + done + +ENV NPM_CONFIG_LOGLEVEL info +ENV NODE_VERSION 6.2.2 + +RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \ + && curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \ + && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \ + && grep " node-v$NODE_VERSION-linux-x64.tar.xz\$" SHASUMS256.txt | sha256sum -c - \ + && tar -xJf "node-v$NODE_VERSION-linux-x64.tar.xz" -C /usr/local --strip-components=1 \ + && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \ + && npm install -g npm@latest \ + && npm cache clear \ + && rm -rf /tmp/npm-* + +# Install Node global dependencies +RUN npm install -g bower gulp grunt-cli diff --git a/theme-kit/README.md b/dev/theme-kit/README.md similarity index 100% rename from theme-kit/README.md rename to dev/theme-kit/README.md diff --git a/theme-kit/bg-input-focus.png b/dev/theme-kit/bg-input-focus.png similarity index 100% rename from theme-kit/bg-input-focus.png rename to dev/theme-kit/bg-input-focus.png diff --git a/theme-kit/bg-input.png b/dev/theme-kit/bg-input.png similarity index 100% rename from theme-kit/bg-input.png rename to dev/theme-kit/bg-input.png diff --git a/theme-kit/identification.png b/dev/theme-kit/identification.png similarity index 100% rename from theme-kit/identification.png rename to dev/theme-kit/identification.png diff --git a/theme-kit/sprite.psd b/dev/theme-kit/sprite.psd similarity index 100% rename from theme-kit/sprite.psd rename to dev/theme-kit/sprite.psd diff --git a/dist/.gitkeep b/dist/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/dist/css/agent.css b/dist/css/agent.css new file mode 100644 index 0000000..2037020 --- /dev/null +++ b/dist/css/agent.css @@ -0,0 +1 @@ +div.checker input,div.radio input,div.uploader input{opacity:0;filter:alpha(opacity=0);border:none}div.button span,input.uniform-input,select.uniform-multiselect,textarea.uniform{color:#fff;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif}div.button span,div.selector select,input.uniform-input,select.uniform-multiselect,textarea.uniform{font-family:"Helvetica Neue",Arial,Helvetica,sans-serif}div.button,div.button span,div.checker span,div.radio span,div.selector,div.selector span,div.uploader,div.uploader span.action{background:url(../images/agent/sprite-agent.png) no-repeat;-webkit-font-smoothing:antialiased}div.button,div.checker,div.radio,div.selector,div.uploader{display:-moz-inline-box;display:inline-block;zoom:1;vertical-align:middle}div.button:focus,div.checker:focus,div.radio:focus,div.selector:focus,div.uploader:focus{outline:0}div.button,div.button *,div.checker,div.checker *,div.radio,div.radio *,div.selector,div.selector *,div.uploader,div.uploader *{margin:0;padding:0}.highContrastDetect{background:url(../images/agent/bg-input-agent.png) repeat-x;width:0;height:0}div.selector,div.selector span{height:32px;overflow:hidden;line-height:32px}input.uniform-input,select.uniform-multiselect,textarea.uniform{padding:4px;background:url(../images/agent/bg-input-agent.png) repeat-x;outline:0}input.uniform-input.active,select.uniform-multiselect.active,textarea.uniform.active{background:url(../images/agent/bg-input-focus-agent.png) repeat-x}div.checker input,input[type=search],input[type=search]:active{-webkit-appearance:none;-moz-appearance:none;appearance:none}div.selector{background-position:0 -160px;padding:0 0 0 12px;position:relative}div.selector span{text-overflow:ellipsis;display:block;white-space:nowrap;background-position:right 0;padding-right:25px;cursor:pointer;width:100%}div.selector.fixedWidth{width:190px}div.selector.fixedWidth span{width:153px}div.selector select{opacity:0;filter:alpha(opacity=0);background:0 0;position:absolute;height:25px;top:4px;left:0;width:100%}div.checker,div.radio,div.uploader{position:relative}div.checker,div.checker input,div.checker span,div.radio,div.radio input,div.radio span{width:23px;height:23px}div.selector.active{background-position:0 -192px}div.selector.active span{background-position:right -32px}div.selector.focus,div.selector.hover{background-position:0 -224px}div.selector.focus span,div.selector.hover span{background-position:right -64px}div.selector.focus.active,div.selector.hover.active{background-position:0 -256px}div.selector.focus.active span,div.selector.hover.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}div.checker span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -320px}div.checker span.checked{background-position:-92px -320px}div.checker input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1}div.checker.active span{background-position:-23px -320px}div.checker.active span.checked{background-position:-115px -320px}div.checker.focus span,div.checker.hover span{background-position:-46px -320px}div.checker.focus span.checked,div.checker.hover span.checked{background-position:-138px -320px}div.checker.focus.active span,div.checker.hover.active span{background-position:-69px -320px}div.checker.focus.active span.checked,div.checker.hover.active span.checked{background-position:-161px -320px}div.checker.disabled span,div.checker.disabled.active span{background-position:-184px -320px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-207px -320px}div.radio span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -343px}div.radio span.checked{background-position:-92px -343px}div.radio input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1;text-align:center}div.radio.active span{background-position:-23px -343px}div.radio.active span.checked{background-position:-115px -343px}div.radio.focus span,div.radio.hover span{background-position:-46px -343px}div.radio.focus span.checked,div.radio.hover span.checked{background-position:-138px -343px}div.radio.focus.active span,div.radio.hover.active span{background-position:-69px -343px}div.radio.focus.active span.checked,div.radio.hover.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}div.uploader{background-position:0 -366px;height:32px;width:190px;overflow:hidden}div.uploader span.action{background-position:right -494px;height:32px;line-height:32px;width:90px;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:0 0 0 4px;line-height:32px;width:76px;padding:0 10px}div.uploader input{background:0 0;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.focus,div.uploader.hover{background-position:0 -430px}div.uploader.focus span.action,div.uploader.hover span.action{background-position:right -526px}div.uploader.focus.active span.action,div.uploader.hover.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}div.button{background-position:0 -750px;height:32px;cursor:pointer;position:relative}div.button a,div.button button,div.button input{opacity:.01;filter:alpha(opacity=1);display:block;top:0;left:0;right:0;bottom:0;position:absolute}div.button span{display:-moz-inline-box;display:inline-block;zoom:1;line-height:24px;text-align:center;background-position:right -622px;height:24px;margin-left:13px;padding:9px 15px 0 2px}div.button.active{background-position:0 -782px}div.button.active span{background-position:right -654px;cursor:default}div.button.focus,div.button.hover{background-position:0 -814px}div.button.focus span,div.button.hover span{background-position:right -686px}div.button.disabled,div.button.disabled.active{background-position:0 -846px}input.uniform-input,select.uniform-multiselect,textarea.uniform{font-size:14px;font-weight:400;background-color:#434343;border:1px solid #1a1a1a;border-right-color:#1c1c1c;border-bottom-color:#1c1c1c;border-radius:3px}input.uniform-input.focus,input.uniform-input.hover,select.uniform-multiselect.focus,select.uniform-multiselect.hover,textarea.uniform.focus,textarea.uniform.hover{box-shadow:0 0 4px rgba(0,0,0,.3);border-color:#999;background-color:#575757}div.button span{font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase}div.button.disabled span,div.button.disabled.active span{background-position:right -718px;cursor:default;color:#bbb}div.selector{font-weight:700;color:#464545;font-size:14px}div.selector span{padding:0 25px 0 0;color:#fff;font-weight:400;text-shadow:0 1px 0 #fff}div.selector select{font-size:1em;border:1px solid #fff}div.selector.disabled span,div.selector.disabled.active span{color:#bbb}div.checker,div.radio{margin-right:10px}div.uploader{margin-bottom:20px;cursor:pointer}div.uploader span.action{text-align:center;text-shadow:#1a1a1a 0 1px 0;background-color:#fff;font-weight:700;color:#fff}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} \ No newline at end of file diff --git a/dist/css/aristo.css b/dist/css/aristo.css new file mode 100644 index 0000000..7a3753a --- /dev/null +++ b/dist/css/aristo.css @@ -0,0 +1 @@ +div.checker input,div.radio input,div.uploader input{opacity:0;filter:alpha(opacity=0);border:none}div.button span,div.selector select,input.uniform-input,select.uniform-multiselect,textarea.uniform{font-family:"Helvetica Neue",Arial,Helvetica,sans-serif}div.button,div.button span,div.checker span,div.radio span,div.selector,div.selector span,div.uploader,div.uploader span.action{background:url(../images/aristo/sprite-aristo.png) no-repeat;-webkit-font-smoothing:antialiased}div.button,div.checker,div.radio,div.selector,div.uploader{display:-moz-inline-box;display:inline-block;zoom:1;vertical-align:middle}div.button:focus,div.checker:focus,div.radio:focus,div.selector:focus,div.uploader:focus{outline:0}div.button,div.button *,div.checker,div.checker *,div.radio,div.radio *,div.selector,div.selector *,div.uploader,div.uploader *{margin:0;padding:0}.highContrastDetect{background:url(../images/aristo/bg-input-aristo.png) repeat-x;width:0;height:0}div.selector,div.selector span{overflow:hidden;height:32px;line-height:32px}input.uniform-input,select.uniform-multiselect,textarea.uniform{padding:4px;background:url(../images/aristo/bg-input-aristo.png) repeat-x;outline:0}input.uniform-input.active,select.uniform-multiselect.active,textarea.uniform.active{background:url(../images/aristo/bg-input-focus-aristo.png) repeat-x}div.checker input,input[type=search],input[type=search]:active{-webkit-appearance:none;-moz-appearance:none;appearance:none}div.selector{background-position:0 -160px;padding:0 0 0 10px;position:relative}div.selector span{text-overflow:ellipsis;display:block;white-space:nowrap;background-position:right 0;padding-right:25px;cursor:pointer;width:100%}div.selector.fixedWidth{width:190px}div.selector.fixedWidth span{width:155px}div.selector select{opacity:0;filter:alpha(opacity=0);background:0 0;position:absolute;height:24px;top:4px;left:0;width:100%}div.checker,div.radio,div.uploader{position:relative}div.checker,div.checker input,div.checker span,div.radio,div.radio input,div.radio span{width:23px;height:23px}div.selector.active{background-position:0 -192px}div.selector.active span{background-position:right -32px}div.selector.focus,div.selector.hover{background-position:0 -224px}div.selector.focus span,div.selector.hover span{background-position:right -64px}div.selector.focus.active,div.selector.hover.active{background-position:0 -256px}div.selector.focus.active span,div.selector.hover.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}div.checker span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -320px}div.checker span.checked{background-position:-92px -320px}div.checker input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1}div.checker.active span{background-position:-23px -320px}div.checker.active span.checked{background-position:-115px -320px}div.checker.focus span,div.checker.hover span{background-position:-46px -320px}div.checker.focus span.checked,div.checker.hover span.checked{background-position:-138px -320px}div.checker.focus.active span,div.checker.hover.active span{background-position:-69px -320px}div.checker.focus.active span.checked,div.checker.hover.active span.checked{background-position:-161px -320px}div.checker.disabled span,div.checker.disabled.active span{background-position:-184px -320px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-207px -320px}div.uploader,div.uploader span.action{height:32px;cursor:pointer;overflow:hidden}div.radio span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -343px}div.radio span.checked{background-position:-92px -343px}div.radio input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1;text-align:center}div.radio.active span{background-position:-23px -343px}div.radio.active span.checked{background-position:-115px -343px}div.radio.focus span,div.radio.hover span{background-position:-46px -343px}div.radio.focus span.checked,div.radio.hover span.checked{background-position:-138px -343px}div.radio.focus.active span,div.radio.hover.active span{background-position:-69px -343px}div.radio.focus.active span.checked,div.radio.hover.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}div.uploader{background-position:0 -366px;width:190px}div.uploader span.action{background-position:right -494px;line-height:32px;width:90px;text-align:center;float:left;display:inline}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{background:0 0;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.focus,div.uploader.hover{background-position:0 -430px}div.uploader.focus span.action,div.uploader.hover span.action{background-position:right -526px}div.uploader.focus.active span.action,div.uploader.hover.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}div.button{background-position:0 -750px;height:32px;cursor:pointer;position:relative}div.button a,div.button button,div.button input{opacity:.01;filter:alpha(opacity=1);display:block;top:0;left:0;right:0;bottom:0;position:absolute}div.button span{display:-moz-inline-box;display:inline-block;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.focus,div.button.hover{background-position:0 -814px}div.button.focus span,div.button.hover span{background-position:right -686px}div.button.disabled,div.button.disabled.active{background-position:0 -846px}input.uniform-input,select.uniform-multiselect,textarea.uniform{font-size:14px;font-weight:400;color:#777;background-color:#a1cbe2;border:1px solid #aaa;border-right-color:#ccc;border-bottom-color:#ccc;border-radius:3px}input.uniform-input.focus,input.uniform-input.hover,select.uniform-multiselect.focus,select.uniform-multiselect.hover,textarea.uniform.focus,textarea.uniform.hover{box-shadow:0 0 4px rgba(0,0,0,.3);border-color:#999;background-color:#a1cbe2}div.button span{font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase}div.button.focus span,div.button.hover span{color:#555}div.button.disabled span,div.button.disabled.active span{background-position:right -718px;cursor:default;color:#bbb}div.selector{font-weight:700;color:#464545;font-size:14px}div.selector span{color:#666;text-shadow:0 1px 0 #fff}div.selector select{font-size:1em;border:1px solid #fff}div.selector.disabled span,div.selector.disabled.active span{color:#bbb}div.checker,div.radio{margin-right:10px}div.uploader span.action{text-shadow:rgba(255,255,255,.5) 0 1px 0;background-color:#fff;font-weight:700;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} \ No newline at end of file diff --git a/dist/css/default.css b/dist/css/default.css new file mode 100644 index 0000000..dbaf955 --- /dev/null +++ b/dist/css/default.css @@ -0,0 +1 @@ +div.checker input,div.radio input,div.selector select,div.uploader input{opacity:0;filter:alpha(opacity=0);border:none}div.button span,div.selector select,input.uniform-input,select.uniform-multiselect,textarea.uniform{font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;font-size:12px}div.button,div.button span,div.checker span,div.radio span,div.selector,div.selector span,div.uploader,div.uploader span.action{background:url(../images/default/sprite.png) no-repeat;-webkit-font-smoothing:antialiased}div.button,div.checker,div.radio,div.selector,div.uploader{display:-moz-inline-box;display:inline-block;zoom:1;vertical-align:middle}div.button:focus,div.checker:focus,div.radio:focus,div.selector:focus,div.uploader:focus{outline:0}div.button,div.button *,div.checker,div.checker *,div.radio,div.radio *,div.selector,div.selector *,div.uploader,div.uploader *{margin:0;padding:0}.highContrastDetect{background:url(../images/default/bg-input.png) repeat-x;width:0;height:0}div.selector,div.selector span{overflow:hidden;height:26px;line-height:26px}input.uniform-input,select.uniform-multiselect,textarea.uniform{padding:3px;background:url(../images/default/bg-input.png) repeat-x;outline:0}input.uniform-input.active,select.uniform-multiselect.active,textarea.uniform.active{background:url(../images/default/bg-input-focus.png) repeat-x}div.checker input,input[type=search],input[type=search]:active{-webkit-appearance:none;-moz-appearance:none;appearance:none}div.selector{background-position:0 -130px;padding:0 0 0 10px;position:relative;font-size:12px}div.selector span{text-overflow:ellipsis;display:block;white-space:nowrap;background-position:right 0;padding-right:25px;cursor:pointer;width:100%}div.selector.fixedWidth{width:190px}div.selector.fixedWidth span{width:155px}div.selector select{background:0 0;position:absolute;height:22px;top:2px;left:0;width:100%}div.checker,div.radio,div.uploader{position:relative}div.selector.active{background-position:0 -156px}div.selector.active span{background-position:right -26px}div.selector.focus,div.selector.hover{background-position:0 -182px}div.selector.focus span,div.selector.hover span{background-position:right -52px}div.selector.focus.active,div.selector.hover.active{background-position:0 -208px}div.selector.focus.active span,div.selector.hover.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}div.checker,div.checker input,div.checker span{width:19px;height:19px}div.checker span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -260px}div.checker span.checked{background-position:-76px -260px}div.checker input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1}div.checker.active span{background-position:-19px -260px}div.checker.active span.checked{background-position:-95px -260px}div.checker.focus span,div.checker.hover span{background-position:-38px -260px}div.checker.focus span.checked,div.checker.hover span.checked{background-position:-114px -260px}div.checker.focus.active span,div.checker.hover.active span{background-position:-57px -260px}div.checker.focus.active span.checked,div.checker.hover.active span.checked{background-position:-133px -260px}div.checker.disabled span,div.checker.disabled.active span{background-position:-152px -260px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-171px -260px}div.radio,div.radio input,div.radio span{width:18px;height:18px}div.uploader,div.uploader span.action{height:28px;cursor:pointer;overflow:hidden}div.radio span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -279px}div.radio span.checked{background-position:-72px -279px}div.radio input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1;text-align:center}div.radio.active span{background-position:-18px -279px}div.radio.active span.checked{background-position:-90px -279px}div.radio.focus span,div.radio.hover span{background-position:-36px -279px}div.radio.focus span.checked,div.radio.hover span.checked{background-position:-108px -279px}div.radio.focus.active span,div.radio.hover.active span{background-position:-54px -279px}div.radio.focus.active span.checked,div.radio.hover.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}div.uploader{background-position:0 -297px;width:190px}div.uploader span.action{background-position:right -409px;line-height:28px;width:82px;text-align:center;float:left;display:inline}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{background:0 0;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.focus,div.uploader.hover{background-position:0 -353px}div.uploader.focus span.action,div.uploader.hover span.action{background-position:right -437px}div.uploader.focus.active span.action,div.uploader.hover.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}div.button{background-position:0 -641px;height:30px;cursor:pointer;position:relative}div.button a,div.button button,div.button input{opacity:.01;filter:alpha(opacity=1);display:block;top:0;left:0;right:0;bottom:0;position:absolute}div.button span{display:-moz-inline-box;display:inline-block;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.focus,div.button.hover{background-position:0 -701px}div.button.focus span,div.button.hover span{background-position:right -581px}div.button.disabled,div.button.disabled.active{background-position:0 -731px}input.uniform-input,select.uniform-multiselect,textarea.uniform{font-weight:400;color:#777;border:1px solid #aaa;border-right-color:#ccc;border-bottom-color:#ccc;border-radius:3px}input.uniform-input.focus,input.uniform-input.hover,select.uniform-multiselect.focus,select.uniform-multiselect.hover,textarea.uniform.focus,textarea.uniform.hover{box-shadow:0 0 4px rgba(0,0,0,.3);border-color:#999}div.button span{font-weight:700;letter-spacing:1px;text-transform:uppercase}div.button.focus span,div.button.hover span{color:#555}div.button.disabled span,div.button.disabled.active span{background-position:right -611px;cursor:default;color:#bbb}div.selector span{color:#666;text-shadow:0 1px 0 #fff}div.selector.disabled span,div.selector.disabled.active span{color:#bbb}div.checker{margin-right:5px}div.radio{margin-right:3px}div.uploader span.action{text-shadow:#fff 0 1px 0;background-color:#fff;font-size:11px;font-weight:700}div.uploader span.filename{color:#777;border-right:solid 1px #bbb;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} \ No newline at end of file diff --git a/dist/css/jeans.css b/dist/css/jeans.css new file mode 100644 index 0000000..b9bcf48 --- /dev/null +++ b/dist/css/jeans.css @@ -0,0 +1 @@ +div.checker input,div.radio input,div.selector select,div.uploader input{opacity:0;filter:alpha(opacity=0);border:none}div.button span,div.selector select,input.uniform-input,select.uniform-multiselect,textarea.uniform{font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;font-size:12px}div.button,div.button span,div.checker span,div.radio span,div.selector,div.selector span,div.uploader,div.uploader span.action{background:url(../images/jeans/sprite-jeans.png) no-repeat;-webkit-font-smoothing:antialiased}div.button,div.checker,div.radio,div.selector,div.uploader{display:-moz-inline-box;display:inline-block;zoom:1;vertical-align:middle}div.button:focus,div.checker:focus,div.radio:focus,div.selector:focus,div.uploader:focus{outline:0}div.button,div.button *,div.checker,div.checker *,div.radio,div.radio *,div.selector,div.selector *,div.uploader,div.uploader *{margin:0;padding:0}.highContrastDetect{background:url(../images/jeans/bg-input-jeans.png) repeat-x;width:0;height:0}div.selector,div.selector span{overflow:hidden;height:26px;line-height:26px}input.uniform-input,select.uniform-multiselect,textarea.uniform{padding:3px;background:url(../images/jeans/bg-input-jeans.png) repeat-x;outline:0}input.uniform-input.active,select.uniform-multiselect.active,textarea.uniform.active{background:url(../images/jeans/bg-input-focus-jeans.png) repeat-x}div.checker input,input[type=search],input[type=search]:active{-webkit-appearance:none;-moz-appearance:none;appearance:none}div.selector{background-position:0 -130px;padding:0 0 0 10px;position:relative;font-size:12px}div.selector span{text-overflow:ellipsis;display:block;white-space:nowrap;background-position:right 0;padding-right:25px;cursor:pointer;width:100%;color:#ffe000;text-shadow:0 1px 0 #000}div.selector.fixedWidth{width:190px}div.selector.fixedWidth span{width:155px}div.selector select{background:0 0;position:absolute;height:22px;top:2px;left:0;width:100%}div.checker,div.radio,div.uploader{position:relative}div.selector.active{background-position:0 -156px}div.selector.active span{background-position:right -26px}div.selector.focus,div.selector.hover{background-position:0 -182px}div.selector.focus span,div.selector.hover span{background-position:right -52px}div.selector.focus.active,div.selector.hover.active{background-position:0 -208px}div.selector.focus.active span,div.selector.hover.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;color:#ffe000}div.checker,div.checker input,div.checker span{width:19px;height:19px}div.checker span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -260px}div.checker span.checked{background-position:-76px -260px}div.checker input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1}div.checker.active span{background-position:-19px -260px}div.checker.active span.checked{background-position:-95px -260px}div.checker.focus span,div.checker.hover span{background-position:-38px -260px}div.checker.focus span.checked,div.checker.hover span.checked{background-position:-114px -260px}div.checker.focus.active span,div.checker.hover.active span{background-position:-57px -260px}div.checker.focus.active span.checked,div.checker.hover.active span.checked{background-position:-133px -260px}div.checker.disabled span,div.checker.disabled.active span{background-position:-152px -260px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-171px -260px}div.radio,div.radio input,div.radio span{width:18px;height:18px}div.uploader,div.uploader span.action{height:28px;cursor:pointer;overflow:hidden}div.radio span{display:-moz-inline-box;display:inline-block;zoom:1;text-align:center;background-position:0 -279px}div.radio span.checked{background-position:-72px -279px}div.radio input{background:0 0;display:-moz-inline-box;display:inline-block;zoom:1;text-align:center}div.radio.active span{background-position:-18px -279px}div.radio.active span.checked{background-position:-90px -279px}div.radio.focus span,div.radio.hover span{background-position:-36px -279px}div.radio.focus span.checked,div.radio.hover span.checked{background-position:-108px -279px}div.radio.focus.active span,div.radio.hover.active span{background-position:-54px -279px}div.radio.focus.active span.checked,div.radio.hover.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}div.uploader{background-position:0 -297px;width:190px}div.uploader span.action{background-position:right -409px;line-height:28px;width:82px;text-align:center;float:left;display:inline}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{background:0 0;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.focus,div.uploader.hover{background-position:0 -353px}div.uploader.focus span.action,div.uploader.hover span.action{background-position:right -437px}div.uploader.focus.active span.action,div.uploader.hover.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;color:#ffe000}div.button{background-position:0 -641px;height:30px;cursor:pointer;position:relative}div.button a,div.button button,div.button input{opacity:.01;filter:alpha(opacity=1);display:block;top:0;left:0;right:0;bottom:0;position:absolute}div.button span{display:-moz-inline-box;display:inline-block;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.focus,div.button.hover{background-position:0 -701px}div.button.focus span,div.button.hover 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.uniform-input,select.uniform-multiselect,textarea.uniform{font-weight:400;color:#ffe000;border:1px solid #aaa;border-right-color:#ccc;border-bottom-color:#ccc;border-radius:3px}input.uniform-input:focus,select.uniform-multiselect:focus,textarea.uniform:focus{box-shadow:0 0 4px rgba(0,0,0,.3);border-color:#999}div.button span{font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#ffe000}div.button.disabled span,div.button.disabled.active span,div.button.focus span,div.button.hover span{color:#ffe000}div.checker{margin-right:5px}div.radio{margin-right:3px}div.uploader span.action{text-shadow:#000 0 1px 0;background-color:#fff;font-size:11px;font-weight:700;color:#ffe000}div.uploader span.filename{color:#ffe000;font-size:11px;border-right:1px solid #2f4368}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 (-webkit-min-device-pixel-ratio:1.2916666666666667),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 (min-device-pixel-ratio:1.3),only screen and (min-resolution:1.3dppx){div.button,div.button span,div.checker span,div.radio span,div.selector,div.selector span,div.uploader,div.uploader span.action{background-image:url(../images/jeans/sprite-retina-jeans.png);background-size:493px}input.uniform-input,select.uniform-multiselect,textarea.uniform{background-image:url(../images/jeans/bg-input-retina-jeans.png);background-size:60px}input.uniform-input.active,select.uniform-multiselect.active,textarea.uniform.active{background-image:url(../images/jeans/bg-input-focus-retina-jeans.png)}} \ No newline at end of file diff --git a/themes/agent/images/bg-input-agent.png b/dist/images/agent/bg-input-agent.png similarity index 100% rename from themes/agent/images/bg-input-agent.png rename to dist/images/agent/bg-input-agent.png diff --git a/themes/agent/images/bg-input-focus-agent.png b/dist/images/agent/bg-input-focus-agent.png similarity index 100% rename from themes/agent/images/bg-input-focus-agent.png rename to dist/images/agent/bg-input-focus-agent.png diff --git a/themes/agent/images/sprite-agent.png b/dist/images/agent/sprite-agent.png similarity index 100% rename from themes/agent/images/sprite-agent.png rename to dist/images/agent/sprite-agent.png diff --git a/themes/aristo/images/bg-input-aristo.png b/dist/images/aristo/bg-input-aristo.png similarity index 100% rename from themes/aristo/images/bg-input-aristo.png rename to dist/images/aristo/bg-input-aristo.png diff --git a/themes/aristo/images/bg-input-focus-aristo.png b/dist/images/aristo/bg-input-focus-aristo.png similarity index 100% rename from themes/aristo/images/bg-input-focus-aristo.png rename to dist/images/aristo/bg-input-focus-aristo.png diff --git a/themes/aristo/images/sprite-aristo.png b/dist/images/aristo/sprite-aristo.png similarity index 100% rename from themes/aristo/images/sprite-aristo.png rename to dist/images/aristo/sprite-aristo.png diff --git a/themes/default/images/bg-input-focus.png b/dist/images/default/bg-input-focus.png similarity index 100% rename from themes/default/images/bg-input-focus.png rename to dist/images/default/bg-input-focus.png diff --git a/themes/default/images/bg-input.png b/dist/images/default/bg-input.png similarity index 100% rename from themes/default/images/bg-input.png rename to dist/images/default/bg-input.png diff --git a/themes/default/images/sprite.png b/dist/images/default/sprite.png similarity index 100% rename from themes/default/images/sprite.png rename to dist/images/default/sprite.png diff --git a/themes/jeans/images/bg-input-focus-jeans.png b/dist/images/jeans/bg-input-focus-jeans.png similarity index 100% rename from themes/jeans/images/bg-input-focus-jeans.png rename to dist/images/jeans/bg-input-focus-jeans.png diff --git a/themes/jeans/images/bg-input-focus-retina-jeans.png b/dist/images/jeans/bg-input-focus-retina-jeans.png similarity index 100% rename from themes/jeans/images/bg-input-focus-retina-jeans.png rename to dist/images/jeans/bg-input-focus-retina-jeans.png diff --git a/themes/jeans/images/bg-input-jeans.png b/dist/images/jeans/bg-input-jeans.png similarity index 100% rename from themes/jeans/images/bg-input-jeans.png rename to dist/images/jeans/bg-input-jeans.png diff --git a/themes/jeans/images/bg-input-retina-jeans.png b/dist/images/jeans/bg-input-retina-jeans.png similarity index 100% rename from themes/jeans/images/bg-input-retina-jeans.png rename to dist/images/jeans/bg-input-retina-jeans.png diff --git a/themes/jeans/images/sprite-jeans.png b/dist/images/jeans/sprite-jeans.png similarity index 100% rename from themes/jeans/images/sprite-jeans.png rename to dist/images/jeans/sprite-jeans.png diff --git a/themes/jeans/images/sprite-retina-jeans.png b/dist/images/jeans/sprite-retina-jeans.png similarity index 100% rename from themes/jeans/images/sprite-retina-jeans.png rename to dist/images/jeans/sprite-retina-jeans.png diff --git a/dist/jquery.uniform.min.js b/dist/jquery.uniform.min.js deleted file mode 100644 index b814e1e..0000000 --- a/dist/jquery.uniform.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t,n){"use strict";function s(e){var t=Array.prototype.slice.call(arguments,1);return e.prop?e.prop.apply(e,t):e.attr.apply(e,t)}function a(e,t,n){var s,a;for(s in n)n.hasOwnProperty(s)&&(a=s.replace(/ |$/g,t.eventNamespace),e.bind(a,n[s]))}function i(e,t,n){a(e,n,{focus:function(){t.addClass(n.focusClass)},blur:function(){t.removeClass(n.focusClass),t.removeClass(n.activeClass)},mouseenter:function(){t.addClass(n.hoverClass)},mouseleave:function(){t.removeClass(n.hoverClass),t.removeClass(n.activeClass)},"mousedown touchbegin":function(){e.is(":disabled")||t.addClass(n.activeClass)},"mouseup touchend":function(){t.removeClass(n.activeClass)}})}function r(e,t){e.removeClass(t.hoverClass+" "+t.focusClass+" "+t.activeClass)}function l(e,t,n){n?e.addClass(t):e.removeClass(t)}function u(e,t,n){var s="checked",a=t.is(":"+s);t.prop?t.prop(s,a):a?t.attr(s,s):t.removeAttr(s),l(e,n.checkedClass,a)}function o(e,t,n){l(e,n.disabledClass,t.is(":disabled"))}function c(e,t,n){switch(n){case"after":return e.after(t),e.next();case"before":return e.before(t),e.prev();case"wrap":return e.wrap(t),e.parent()}return null}function d(e,n,a){var i,r,l;return a||(a={}),a=t.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},a),i=t("
"),r=t(""),n.autoHide&&e.is(":hidden")&&"none"===e.css("display")&&i.hide(),a.divClass&&i.addClass(a.divClass),n.wrapperClass&&i.addClass(n.wrapperClass),a.spanClass&&r.addClass(a.spanClass),l=s(e,"id"),n.useID&&l&&s(i,"id",n.idPrefix+"-"+l),a.spanHtml&&r.html(a.spanHtml),i=c(e,i,a.divWrap),r=c(e,r,a.spanWrap),o(i,e,n),{div:i,span:r}}function f(e,n){var s;return n.wrapperClass?(s=t("").addClass(n.wrapperClass),s=c(e,s,"wrap")):null}function p(){var n,s,a,i;return i="rgb(120,2,153)",s=t('
'),t("body").append(s),a=s.get(0),n=e.getComputedStyle?e.getComputedStyle(a,"").color:(a.currentStyle||a.style||{}).color,s.remove(),n.replace(/ /g,"")!==i}function m(e){return e?t("").text(e).html():""}function v(){return navigator.cpuClass&&!navigator.product}function h(){return void 0!==e.XMLHttpRequest}function C(e){var t;return e[0].multiple?!0:(t=s(e,"size"),!(!t||1>=t))}function b(){return!1}function y(e,t){var n="none";a(e,t,{"selectstart dragstart mousedown":b}),e.css({MozUserSelect:n,msUserSelect:n,webkitUserSelect:n,userSelect:n})}function w(e,t,n){var s=e.val();""===s?s=n.fileDefaultHtml:(s=s.split(/[\/\\]+/),s=s[s.length-1]),t.text(s)}function g(e,t,n){var s,a;for(s=[],e.each(function(){var e;for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s.push({el:this,name:e,old:this.style[e]}),this.style[e]=t[e])}),n();s.length;)a=s.pop(),a.el.style[a.name]=a.old}function k(e,t){var n;n=e.parents(),n.push(e[0]),n=n.not(":visible"),g(n,{visibility:"hidden",display:"block",position:"absolute"},t)}function x(e,t){return function(){e.unwrap().unwrap().unbind(t.eventNamespace)}}var H=!0,A=!1,W=[{match:function(e){return e.is("a, button, :submit, :reset, input[type='button']")},apply:function(t,n){var l,u,c,f,p;return u=n.submitDefaultHtml,t.is(":reset")&&(u=n.resetDefaultHtml),f=t.is("a, button")?function(){return t.html()||u}:function(){return m(s(t,"value"))||u},c=d(t,n,{divClass:n.buttonClass,spanHtml:f()}),l=c.div,i(t,l,n),p=!1,a(l,n,{"click touchend":function(){var n,a,i,r;p||t.is(":disabled")||(p=!0,t[0].dispatchEvent?(n=document.createEvent("MouseEvents"),n.initEvent("click",!0,!0),a=t[0].dispatchEvent(n),t.is("a")&&a&&(i=s(t,"target"),r=s(t,"href"),i&&"_self"!==i?e.open(r,i):document.location.href=r)):t.click(),p=!1)}}),y(l,n),{remove:function(){return l.after(t),l.remove(),t.unbind(n.eventNamespace),t},update:function(){r(l,n),o(l,t,n),t.detach(),c.span.html(f()).append(t)}}}},{match:function(e){return e.is(":checkbox")},apply:function(e,t){var n,s,l;return n=d(e,t,{divClass:t.checkboxClass}),s=n.div,l=n.span,i(e,s,t),a(e,t,{"click touchend":function(){u(l,e,t)}}),u(l,e,t),{remove:x(e,t),update:function(){r(s,t),l.removeClass(t.checkedClass),u(l,e,t),o(s,e,t)}}}},{match:function(e){return e.is(":file")},apply:function(e,n){function l(){w(e,p,n)}var u,f,p,m;return u=d(e,n,{divClass:n.fileClass,spanClass:n.fileButtonClass,spanHtml:n.fileButtonHtml,spanWrap:"after"}),f=u.div,m=u.span,p=t("").html(n.fileDefaultHtml),p.addClass(n.filenameClass),p=c(e,p,"after"),s(e,"size")||s(e,"size",f.width()/10),i(e,f,n),l(),v()?a(e,n,{click:function(){e.trigger("change"),setTimeout(l,0)}}):a(e,n,{change:l}),y(p,n),y(m,n),{remove:function(){return p.remove(),m.remove(),e.unwrap().unbind(n.eventNamespace)},update:function(){r(f,n),w(e,p,n),o(f,e,n)}}}},{match:function(e){if(e.is("input")){var t=(" "+s(e,"type")+" ").toLowerCase(),n=" color date datetime datetime-local email month number password search tel text time url week ";return n.indexOf(t)>=0}return!1},apply:function(e,t){var n,a;return n=s(e,"type"),e.addClass(t.inputClass),a=f(e,t),i(e,e,t),t.inputAddTypeAsClass&&e.addClass(n),{remove:function(){e.removeClass(t.inputClass),t.inputAddTypeAsClass&&e.removeClass(n),a&&e.unwrap()},update:b}}},{match:function(e){return e.is(":radio")},apply:function(e,n){var l,c,f;return l=d(e,n,{divClass:n.radioClass}),c=l.div,f=l.span,i(e,c,n),a(e,n,{"click touchend":function(){t.uniform.update(t(':radio[name="'+s(e,"name")+'"]'))}}),u(f,e,n),{remove:x(e,n),update:function(){r(c,n),u(f,e,n),o(c,e,n)}}}},{match:function(e){return!(!e.is("select")||C(e))},apply:function(e,n){var s,l,u,c;return n.selectAutoWidth&&k(e,function(){c=e.width()}),s=d(e,n,{divClass:n.selectClass,spanHtml:(e.find(":selected:first")||e.find("option:first")).html(),spanWrap:"before"}),l=s.div,u=s.span,n.selectAutoWidth?k(e,function(){g(t([u[0],l[0]]),{display:"block"},function(){var e;e=u.outerWidth()-u.width(),l.width(c+e),u.width(c)})}):l.addClass("fixedWidth"),i(e,l,n),a(e,n,{change:function(){u.html(e.find(":selected").html()),l.removeClass(n.activeClass)},"click touchend":function(){var t=e.find(":selected").html();u.html()!==t&&e.trigger("change")},keyup:function(){u.html(e.find(":selected").html())}}),y(u,n),{remove:function(){return u.remove(),e.unwrap().unbind(n.eventNamespace),e},update:function(){n.selectAutoWidth?(t.uniform.restore(e),e.uniform(n)):(r(l,n),e[0].selectedIndex=e[0].selectedIndex,u.html(e.find(":selected").html()),o(l,e,n))}}}},{match:function(e){return!(!e.is("select")||!C(e))},apply:function(e,t){var n;return e.addClass(t.selectMultiClass),n=f(e,t),i(e,e,t),{remove:function(){e.removeClass(t.selectMultiClass),n&&e.unwrap()},update:b}}},{match:function(e){return e.is("textarea")},apply:function(e,t){var n;return e.addClass(t.textareaClass),n=f(e,t),i(e,e,t),{remove:function(){e.removeClass(t.textareaClass),n&&e.unwrap()},update:b}}}];v()&&!h()&&(H=!1),t.uniform={defaults:{activeClass:"active",autoHide:!0,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",inputAddTypeAsClass:!0,inputClass:"uniform-input",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:!1,selectAutoWidth:!0,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:!0,wrapperClass:null},elements:[]},t.fn.uniform=function(n){var s=this;return n=t.extend({},t.uniform.defaults,n),A||(A=!0,p()&&(H=!1)),H?(n.resetSelector&&t(n.resetSelector).mouseup(function(){e.setTimeout(function(){t.uniform.update(s)},10)}),this.each(function(){var e,s,a,i=t(this);if(i.data("uniformed"))return void t.uniform.update(i);for(e=0;e=0&&t.uniform.elements.splice(e,1),s.removeData("uniformed"))})},t.uniform.update=t.fn.uniform.update=function(e){e===n&&(e=t.uniform.elements),t(e).each(function(){var e,n=t(this);e=n.data("uniformed"),e&&e.update(n,e.options)})}}(this,jQuery); \ No newline at end of file diff --git a/dist/js/jquery.uniform.bundled.js b/dist/js/jquery.uniform.bundled.js new file mode 100644 index 0000000..ce7fbe1 --- /dev/null +++ b/dist/js/jquery.uniform.bundled.js @@ -0,0 +1,4 @@ +!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return pe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Te.test(t))return pe.filter(t,e,n);t=pe.filter(t,e)}return pe.grep(e,function(e){return pe.inArray(e,t)>-1!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function a(){re.addEventListener?(re.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(re.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(re.addEventListener||"load"===e.event.type||"complete"===re.readyState)&&(a(),pe.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:qe.test(n)?pe.parseJSON(n):n)}catch(i){}pe.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ne.pop()||pe.guid++:a),u[l]||(u[l]=s?{}:{toJSON:pe.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=pe.extend(u[l],t):u[l].data=pe.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[pe.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[pe.camelCase(t)])):i=o,i}}function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe.expando]:pe.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):t in r?t=[t]:(t=pe.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!pe.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?pe.cleanData([e],!0):fe.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},u=s(),l=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==l&&+u)&&Oe.exec(pe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,pe.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||pe.nodeName(r,t)?o.push(r):pe.merge(o,h(r,t));return void 0===t||t&&pe.nodeName(e,t)?pe.merge([e],o):o}function m(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval",!t||pe._data(t[r],"globalEval"))}function v(e){Pe.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,g=p(t),y=[],b=0;b"!==f[1]||Ve.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.merge(y,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=g.lastChild}else y.push(t.createTextNode(a));for(u&&g.removeChild(u),fe.appendChecked||pe.grep(h(y,"input"),v),b=0;a=y[b++];)if(r&&pe.inArray(a,r)>-1)i&&i.push(a);else if(s=pe.contains(a.ownerDocument,a),u=h(g.appendChild(a),"script"),s&&m(u),n)for(o=0;a=u[o++];)Ie.test(a.type||"")&&n.push(a);return u=null,g}function y(){return!0}function b(){return!1}function x(){try{return re.activeElement}catch(e){}}function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)w(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=b;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function C(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function T(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}function k(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function E(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e),a=pe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r1&&"string"==typeof p&&!fe.checkClone&&rt.test(p))return e.each(function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),S(o,t,n,r)});if(f&&(l=g(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=pe.map(h(l,"script"),T),a=s.length;c")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write(),t.close(),n=D(e,t),ut.detach()),lt[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){if(e in kt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if(e=Tt[n]+t,e in kt)return e}function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pe.type(e)||e.nodeType||pe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!fe.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[le.call(e)]||"object":typeof e},globalEval:function(t){t&&pe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(me,"ms-").replace(ve,ge)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;iC.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[R]=!0,e}function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var i=0,o=n.length;i-1&&(r[l]=!(a[l]=f))}}else b=v(b===a?b.splice(h,b.length):b),o?o(null,a,b,u):K.apply(a,b)})}function y(e){for(var t,n,r,i=e.length,o=C.relative[e[0].type],a=o||C.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",m=r&&[],g=[],y=A,b=r||o&&C.find.TAG("*",l),x=B+=null==y?1:Math.random()||.1,w=b.length;for(l&&(A=a===H||a||l);h!==w&&null!=(c=b[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===H||(L(c),s=!_);d=e[f++];)if(d(c,a||H,s)){u.push(c);break}l&&(B=x)}i&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(m,g,a,s);if(r){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=G.call(u));g=v(g)}K.apply(u,g),l&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(B=x,A=y),m};return i?r(a):a}var x,w,C,T,k,E,N,S,A,D,j,L,H,q,_,M,O,F,W,R="sizzle"+1*new Date,P=e.document,B=0,I=0,$=n(),z=n(),X=n(),U=function(e,t){return e===t&&(j=!0),0},V=1<<31,Y={}.hasOwnProperty,J=[],G=J.pop,Q=J.push,K=J.push,Z=J.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ce=function(){L()};try{K.apply(J=Z.call(P.childNodes),P.childNodes),J[P.childNodes.length].nodeType}catch(Te){K={apply:J.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:P;return r!==H&&9===r.nodeType&&r.documentElement?(H=r,q=H.documentElement,_=!k(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(H.getElementsByClassName),w.getById=i(function(e){return q.appendChild(e).id=R,!H.getElementsByName||!H.getElementsByName(R).length}),w.getById?(C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}},C.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(xe,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},C.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},O=[],M=[],(w.qsa=ve.test(H.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||M.push(".#.+[+~]")}),i(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(w.matchesSelector=ve.test(F=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){w.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),O.push("!=",oe)}),M=M.length&&new RegExp(M.join("|")),O=O.length&&new RegExp(O.join("|")),t=ve.test(q.compareDocumentPosition),W=t||ve.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===P&&W(P,e)?-1:t===H||t.ownerDocument===P&&W(P,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===H?-1:t===H?1:i?-1:o?1:D?ee(D,e)-ee(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===P?-1:u[r]===P?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==H&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&_&&!X[n+" "]&&(!O||!O.test(n))&&(!M||!M.test(n)))try{var r=F.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==H&&L(e),W(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==H&&L(e);var n=C.attrHandle[t.toLowerCase()],r=n&&Y.call(C.attrHandle,t.toLowerCase())?n(e,t,!_):void 0;return void 0!==r?r:w.attributes||!_?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},C=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(d=v,f=d[R]||(d[R]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===B&&l[1],b=p&&l[2], +d=p&&v.childNodes[p];d=++p&&d&&d[m]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[B,p,b];break}}else if(y&&(d=t,f=d[R]||(d[R]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===B&&l[1],b=p),b===!1)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&(f=d[R]||(d[R]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[B,b]),d!==t)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(i=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=N(e.replace(se,"$1"));return i[R]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(xe,we),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=_?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&_&&C.relative[o[1].type]){if(t=(C.find.ID(a.matches[0].replace(xe,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(xe,we),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return K.apply(n,r),n;break}}return(l||N(e,f))(r,t,!_,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=R.split("").sort(U).join("")===R,w.detectDuplicates=!!j,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);pe.find=ye,pe.expr=ye.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=ye.uniqueSort,pe.text=ye.getText,pe.isXMLDoc=ye.isXML,pe.contains=ye.contains;var be=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},xe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=pe.expr.match.needsContext,Ce=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Te=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t1?pe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&we.test(e)?pe(e):e||[],!1).length}});var ke,Ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ne=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||ke,"string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ee.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),Ce.test(r[1])&&pe.isPlainObject(t))for(r in t)pe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(i=re.getElementById(r[2]),i&&i.parentNode){if(i.id!==r[2])return ke.find(e);this.length=1,this[0]=i}return this.context=re,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this))};Ne.prototype=pe.fn,ke=pe(re);var Se=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.inArray(this[0],pe(e)):pe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return be(e,"parentNode")},parentsUntil:function(e,t,n){return be(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return be(e,"nextSibling")},prevAll:function(e){return be(e,"previousSibling")},nextUntil:function(e,t,n){return be(e,"nextSibling",n)},prevUntil:function(e,t,n){return be(e,"previousSibling",n)},siblings:function(e){return xe((e.parentNode||{}).firstChild,e)},children:function(e){return xe(e.firstChild)},contents:function(e){return pe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(Ae[e]||(i=pe.uniqueSort(i)),Se.test(e)&&(i=i.reverse())),this.pushStack(i)}});var De=/\S+/g;pe.Callbacks=function(e){e="string"==typeof e?o(e):pe.extend({},e);var t,n,r,i,a=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},pe.extend({Deferred:function(e){var t=[["resolve","done",pe.Callbacks("once memory"),"resolved"],["reject","fail",pe.Callbacks("once memory"),"rejected"],["notify","progress",pe.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pe.Deferred(function(n){pe.each(t,function(t,o){var a=pe.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pe.extend(e,r):r}},i={};return r.pipe=r.then,pe.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ie.call(arguments),a=o.length,s=1!==a||e&&pe.isFunction(e.promise)?a:0,u=1===s?e:pe.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ie.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i0||(je.resolveWith(re,[pe]),pe.fn.triggerHandler&&(pe(re).triggerHandler("ready"),pe(re).off("ready"))))}}),pe.ready.promise=function(t){if(!je)if(je=pe.Deferred(),"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll)e.setTimeout(pe.ready);else if(re.addEventListener)re.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{re.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&re.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!pe.isReady){try{n.doScroll("left")}catch(t){return e.setTimeout(i,50)}a(),pe.ready()}}()}return je.promise(t)},pe.ready.promise();var Le;for(Le in pe(fe))break;fe.ownFirst="0"===Le,fe.inlineBlockNeedsLayout=!1,pe(function(){var e,t,n,r;n=re.getElementsByTagName("body")[0],n&&n.style&&(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",fe.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=re.createElement("div");fe.deleteExpando=!0;try{delete e.test}catch(t){fe.deleteExpando=!1}e=null}();var He=function(e){var t=pe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)},qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/([A-Z])/g;pe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?pe.cache[e[pe.expando]]:e[pe.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=pe.data(o),1===o.nodeType&&!pe._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=pe.camelCase(r.slice(5)),u(o,r,i[r])));pe._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){pe.data(this,e)}):arguments.length>1?this.each(function(){pe.data(this,e,t)}):o?u(o,e,pe.data(o,e)):void 0},removeData:function(e){return this.each(function(){pe.removeData(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=pe._data(e,t),n&&(!r||pe.isArray(n)?r=pe._data(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return pe._data(e,n)||pe._data(e,n,{empty:pe.Callbacks("once memory").add(function(){pe._removeData(e,t+"queue"),pe._removeData(e,n)})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length
a",fe.leadingWhitespace=3===e.firstChild.nodeType,fe.tbody=!e.getElementsByTagName("tbody").length,fe.htmlSerialize=!!e.getElementsByTagName("link").length,fe.html5Clone="<:nav>"!==re.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),fe.appendChecked=n.checked,e.innerHTML="",fe.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=re.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),fe.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.noCloneEvent=!!e.addEventListener,e[pe.expando]=1,fe.attributes=!e.getAttribute(pe.expando)}();var Xe={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:fe.htmlSerialize?[0,"",""]:[1,"X
","
"]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Ue=/<|&#?\w+;/,Ve=/-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),l=pe.event.special[p]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!pe.isWindow(r)){for(u=l.delegateType||p,Qe.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||re)&&d.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=d[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||p,o=(pe._data(s,"events")||{})[t.type]&&pe._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&He(s)&&(t.result=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&He(r)&&a&&r[p]&&!pe.isWindow(r)){c=r[a],c&&(r[a]=null),pe.event.triggered=p;try{r[p]()}catch(m){}pe.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=pe.event.fix(e);var t,n,r,i,o,a=[],s=ie.call(arguments),u=(pe._data(this,"events")||{})[e.type]||[],l=pe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=pe.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n-1:pe.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s]","i"),tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt=/\s*$/g,at=p(re),st=at.appendChild(re.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1>")},clone:function(e,t,n){var r,i,o,a,s,u=pe.contains(e.ownerDocument,e);if(fe.html5Clone||pe.isXMLDoc(e)||!et.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(fe.noCloneEvent&&fe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(r=h(o),s=h(e),a=0;null!=(i=s[a]);++a)r[a]&&N(i,r[a]);if(t)if(n)for(s=s||h(e),r=r||h(o),a=0;null!=(i=s[a]);a++)E(i,r[a]);else E(e,o);return r=h(o,"script"),r.length>0&&m(r,!u&&h(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=pe.expando,u=pe.cache,l=fe.attributes,c=pe.event.special;null!=(n=e[a]);a++)if((t||He(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?pe.event.remove(n,r):pe.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ne.push(i))}}}),pe.fn.extend({domManip:S,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Re(this,function(e){return void 0===e?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||re).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.appendChild(e)}})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Re(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!nt.test(e)&&(fe.htmlSerialize||!et.test(e))&&(fe.leadingWhitespace||!$e.test(e))&&!Xe[(Be.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;nt",l.childNodes[0].style.borderCollapse="separate",t=l.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===t[0].offsetHeight,o&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var n,r,i,o,a,s,u=re.createElement("div"),l=re.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",fe.opacity="0.5"===l.style.opacity,fe.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",fe.clearCloneStyle="content-box"===l.style.backgroundClip,u=re.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),fe.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,pe.extend(fe,{reliableHiddenOffsets:function(){return null==n&&t(),o},boxSizingReliable:function(){return null==n&&t(),i},pixelMarginRight:function(){return null==n&&t(),r},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),a},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ht,mt,vt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},mt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),n&&!fe.pixelMarginRight()&&ft.test(a)&&ct.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):pt.currentStyle&&(ht=function(e){return e.currentStyle},mt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ft.test(a)&&!vt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var gt=/alpha\([^)]*\)/i,yt=/opacity\s*=\s*([^)]*)/i,bt=/^(none|table(?!-c[ea]).+)/,xt=new RegExp("^("+Me+")(.*)$","i"),wt={position:"absolute",visibility:"hidden",display:"block"},Ct={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],kt=re.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=mt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":fe.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=pe.camelCase(t),u=e.style;if(t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Oe.exec(n))&&i[1]&&(n=d(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),fe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=mt(e,t,r)),"normal"===o&&t in Ct&&(o=Ct[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return bt.test(pe.css(e,"display"))&&0===e.offsetWidth?dt(e,wt,function(){return O(e,t,r)}):O(e,t,r)},set:function(e,n,r){var i=r&&ht(e);return _(e,n,r?M(e,t,r,fe.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,i),i):0)}}}),fe.opacity||(pe.cssHooks.opacity={get:function(e,t){return yt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===pe.trim(o.replace(gt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=gt.test(o)?o.replace(gt,i):o+" "+i)}}),pe.cssHooks.marginRight=L(fe.reliableMarginRight,function(e,t){if(t)return dt(e,{display:"inline-block"},mt,[e,"marginRight"])}),pe.cssHooks.marginLeft=L(fe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(mt(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Fe[r]+t]=o[r]||o[r-2]||o[0];return i}},ct.test(e)||(pe.cssHooks[e+t].set=_)}),pe.fn.extend({css:function(e,t){return Re(this,function(e,t,n){var r,i,o={},a=0;if(pe.isArray(t)){for(r=ht(e),i=t.length;a1)},show:function(){return q(this,!0)},hide:function(){return q(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){We(this)?pe(this).show():pe(this).hide()})}}),pe.Tween=F,F.prototype={constructor:F,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(pe.cssNumber[n]?"":"px")},cur:function(){var e=F.propHooks[this.prop];return e&&e.get?e.get(this):F.propHooks._default.get(this)},run:function(e){var t,n=F.propHooks[this.prop];return this.options.duration?this.pos=t=pe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):F.propHooks._default.set(this),this}},F.prototype.init.prototype=F.prototype,F.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},F.propHooks.scrollTop=F.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=F.prototype.init,pe.fx.step={};var Et,Nt,St=/^(?:toggle|show|hide)$/,At=/queueHooks$/;pe.Animation=pe.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,Oe.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(De);for(var n,r=0,i=e.length;r
a",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",fe.getSetAttribute="t"!==n.className,fe.style=/top/.test(e.getAttribute("style")),fe.hrefNormalized="/a"===e.getAttribute("href"),fe.checkOn=!!t.value,fe.optSelected=i.selected,fe.enctype=!!re.createElement("form").enctype,r.disabled=!0,fe.optDisabled=!i.disabled,t=re.createElement("input"),t.setAttribute("value",""),fe.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),fe.radioValue="t"===t.value}();var Dt=/\r/g,jt=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=pe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":pe.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Dt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(jt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u-1)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},fe.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt,Ht,qt=pe.expr.attrHandle,_t=/^(?:checked|selected)$/i,Mt=fe.getSetAttribute,Ot=fe.input;pe.fn.extend({attr:function(e,t){return Re(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(t=t.toLowerCase(),i=pe.attrHooks[t]||(pe.expr.match.bool.test(t)?Ht:Lt)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!fe.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(De);if(o&&1===e.nodeType)for(;n=o[i++];)r=pe.propFix[n]||n,pe.expr.match.bool.test(n)?Ot&&Mt||!_t.test(n)?e[r]=!1:e[pe.camelCase("default-"+n)]=e[r]=!1:pe.attr(e,n,""),e.removeAttribute(Mt?n:r)}}),Ht={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):Ot&&Mt||!_t.test(n)?e.setAttribute(!Mt&&pe.propFix[n]||n,n):e[pe.camelCase("default-"+n)]=e[n]=!0,n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||pe.find.attr;Ot&&Mt||!_t.test(t)?qt[t]=function(e,t,r){var i,o;return r||(o=qt[t],qt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,qt[t]=o),i}:qt[t]=function(e,t,n){if(!n)return e[pe.camelCase("default-"+t)]?t.toLowerCase():null}}),Ot&&Mt||(pe.attrHooks.value={set:function(e,t,n){return pe.nodeName(e,"input")?void(e.defaultValue=t):Lt&&Lt.set(e,t,n)}}),Mt||(Lt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},qt.id=qt.name=qt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},pe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Lt.set},pe.attrHooks.contenteditable={set:function(e,t,n){Lt.set(e,""!==t&&t,n)}},pe.each(["width","height"],function(e,t){pe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),fe.style||(pe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ft=/^(?:input|select|textarea|button|object)$/i,Wt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Re(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):Ft.test(e.nodeName)||Wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),fe.hrefNormalized||pe.each(["href","src"],function(e,t){pe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),fe.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),fe.enctype||(pe.propFix.enctype="encoding");var Rt=/[\t\r\n\f]/g;pe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,z(this)))});if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Rt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Rt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=pe(this),o=e.match(De)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=z(this),t&&pe._data(this,"__className__",t),pe.attr(this,"class",t||e===!1?"":pe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(n)+" ").replace(Rt," ").indexOf(t)>-1)return!0;return!1}}),pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Pt=e.location,Bt=pe.now(),It=/\?/,$t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=pe.trim(t+"");return i&&!pe.trim(i.replace($t,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():pe.error("Invalid JSON: "+t)},pe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new e.DOMParser,n=r.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var zt=/#.*$/,Xt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Gt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qt={},Kt={},Zt="*/".concat("*"),en=Pt.href,tn=Gt.exec(en.toLowerCase())||[];pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Vt.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":pe.parseJSON,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,pe.ajaxSettings),t):V(pe.ajaxSettings,e)},ajaxPrefilter:X(Qt),ajaxTransport:X(Kt),ajax:function(t,n){function r(t,n,r,i){var o,f,y,b,w,T=n;2!==x&&(x=2,u&&e.clearTimeout(u),c=void 0,s=i||"",C.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(b=Y(d,C,r)),b=J(d,b,C,o),o?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(pe.lastModified[a]=w),w=C.getResponseHeader("etag"),w&&(pe.etag[a]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=b.state,f=b.data,y=b.error,o=!y)):(y=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(n||T)+"",o?m.resolveWith(p,[f,T,C]):m.rejectWith(p,[C,T,y]),C.statusCode(g),g=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[C,d,o?f:y]),v.fireWith(p,[C,T]),l&&(h.trigger("ajaxComplete",[C,d]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d=pe.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?pe(p):pe.event,m=pe.Deferred(),v=pe.Callbacks("once memory"),g=d.statusCode||{},y={},b={},x=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!f)for(f={};t=Ut.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(x<2)for(t in e)g[t]=[g[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(m.promise(C).complete=v.add,C.success=C.done,C.error=C.fail,d.url=((t||d.url||en)+"").replace(zt,"").replace(Jt,tn[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=pe.trim(d.dataType||"*").toLowerCase().match(De)||[""],null==d.crossDomain&&(i=Gt.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===tn[1]&&i[2]===tn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=pe.param(d.data,d.traditional)),U(Qt,d,n,C),2===x)return C;l=pe.event&&d.global,l&&0===pe.active++&&pe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Yt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(It.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Xt.test(a)?a.replace(Xt,"$1_="+Bt++):a+(It.test(a)?"&":"?")+"_="+Bt++)),d.ifModified&&(pe.lastModified[a]&&C.setRequestHeader("If-Modified-Since",pe.lastModified[a]),pe.etag[a]&&C.setRequestHeader("If-None-Match",pe.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Zt+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)C.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(p,C,d)===!1||2===x))return C.abort();w="abort";for(o in{success:1,error:1,complete:1})C[o](d[o]);if(c=U(Kt,d,n,C)){if(C.readyState=1,l&&h.trigger("ajaxSend",[C,d]),2===x)return C;d.async&&d.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},d.timeout));try{x=1,c.send(y,r)}catch(T){if(!(x<2))throw T;r(-1,T)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,r,i){return pe.isFunction(n)&&(i=i||r,r=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:i,data:n,success:r},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pe.fn.extend({wrapAll:function(e){if(pe.isFunction(e))return this.each(function(t){pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){pe.nodeName(this,"body")||pe(this).replaceWith(this.childNodes)}).end()}}),pe.expr.filters.hidden=function(e){return fe.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:Q(e)},pe.expr.filters.visible=function(e){return!pe.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,an=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){t=pe.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=pe.ajaxSettings&&pe.ajaxSettings.traditional),pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)K(n,e[n],t,i);return r.join("&").replace(nn,"+")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&sn.test(this.nodeName)&&!an.test(e)&&(this.checked||!Pe.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),pe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():re.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var un=0,ln={},cn=pe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in ln)ln[e](void 0,!0)}),fe.cors=!!cn&&"withCredentials"in cn,cn=fe.ajax=!!cn,cn&&pe.ajaxTransport(function(t){if(!t.crossDomain||fe.cors){var n;return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=pe.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=re.head||pe("head")[0]||re.documentElement;return{send:function(r,i){t=re.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var fn=[],dn=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=fn.pop()||pe.expando+"_"+Bt++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||pe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?pe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,fn.push(i)),a&&pe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),pe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||re;var r=Ce.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=g([e],t,i),i&&i.length&&pe(i).remove(),pe.merge([],r.childNodes))};var pn=pe.fn.load;pe.fn.load=function(e,t,n){if("string"!=typeof e&&pn)return pn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=pe.trim(e.slice(s,e.length)),e=e.slice(0,s)),pe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&pe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?pe("
").append(pe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=pe.css(e,"position"),f=pe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=pe.css(e,"top"),u=pe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&pe.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,pe.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=te(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===pe.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(n=e.offset()),n.top+=pe.css(e[0],"borderTopWidth",!0),n.left+=pe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-pe.css(r,"marginTop",!0),left:t.left-n.left-pe.css(r,"marginLeft",!0)}}},offsetParent:function(){ +return this.map(function(){for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||pt})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);pe.fn[e]=function(r){return Re(this,function(e,r,i){var o=te(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?pe(o).scrollLeft():i,n?i:pe(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=L(fe.pixelPosition,function(e,n){if(n)return n=mt(e,t),ft.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Re(this,function(t,n,r){var i;return pe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?pe.css(t,n,a):pe.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.fn.size=function(){return this.length},pe.fn.andSelf=pe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return pe});var hn=e.jQuery,mn=e.$;return pe.noConflict=function(t){return e.$===pe&&(e.$=mn),t&&e.jQuery===pe&&(e.jQuery=hn),pe},t||(e.jQuery=e.$=pe),pe}),function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return e.prop?e.prop.apply(e,t):e.attr.apply(e,t)}function i(e,t,n){var r,i;for(r in n)n.hasOwnProperty(r)&&(i=r.replace(/ |$/g,t.eventNamespace),e.bind(i,n[r]))}function o(e,t,n){i(e,n,{focus:function(){t.addClass(n.focusClass)},blur:function(){t.removeClass(n.focusClass),t.removeClass(n.activeClass)},mouseenter:function(){t.addClass(n.hoverClass)},mouseleave:function(){t.removeClass(n.hoverClass),t.removeClass(n.activeClass)},"mousedown touchbegin":function(){e.is(":disabled")||t.addClass(n.activeClass)},"mouseup touchend":function(){t.removeClass(n.activeClass)}})}function a(e,t){e.removeClass(t.hoverClass+" "+t.focusClass+" "+t.activeClass)}function s(e,t,n){n?e.addClass(t):e.removeClass(t)}function u(e,t,n){var r="checked",i=t.is(":"+r);t.prop?t.prop(r,i):i?t.attr(r,r):t.removeAttr(r),s(e,n.checkedClass,i)}function l(e,t,n){s(e,n.disabledClass,t.is(":disabled"))}function c(e,t,n){switch(n){case"after":return e.after(t),e.next();case"before":return e.before(t),e.prev();case"wrap":return e.wrap(t),e.parent()}return null}function f(e,n,i){var o,a,s;return i||(i={}),i=t.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},i),o=t("
"),a=t(""),n.autoHide&&e.is(":hidden")&&"none"===e.css("display")&&o.hide(),i.divClass&&o.addClass(i.divClass),n.wrapperClass&&o.addClass(n.wrapperClass),i.spanClass&&a.addClass(i.spanClass),s=r(e,"id"),n.useID&&s&&r(o,"id",n.idPrefix+"-"+s),i.spanHtml&&a.html(i.spanHtml),o=c(e,o,i.divWrap),a=c(e,a,i.spanWrap),l(o,e,n),{div:o,span:a}}function d(e,n){var r;return n.wrapperClass?(r=t("").addClass(n.wrapperClass),r=c(e,r,"wrap")):null}function p(){var n,r,i,o;return o="rgb(120,2,153)",r=t('
'),t("body").append(r),i=r.get(0),n=e.getComputedStyle?e.getComputedStyle(i,"").color:(i.currentStyle||i.style||{}).color,r.remove(),n.replace(/ /g,"")!==o}function h(e){return e?t("").text(e).html():""}function m(){return navigator.cpuClass&&!navigator.product}function v(){return void 0!==e.XMLHttpRequest}function g(e){var t;return!!e[0].multiple||(t=r(e,"size"),!(!t||t<=1))}function y(){return!1}function b(e,t){var n="none";i(e,t,{"selectstart dragstart mousedown":y}),e.css({MozUserSelect:n,msUserSelect:n,webkitUserSelect:n,userSelect:n})}function x(e,t,n){var r=e.val();""===r?r=n.fileDefaultHtml:(r=r.split(/[\/\\]+/),r=r[r.length-1]),t.text(r)}function w(e,t,n){var r,i;for(r=[],e.each(function(){var e;for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r.push({el:this,name:e,old:this.style[e]}),this.style[e]=t[e])}),n();r.length;)i=r.pop(),i.el.style[i.name]=i.old}function C(e,t){var n;n=e.parents(),n.push(e[0]),n=n.not(":visible"),w(n,{visibility:"hidden",display:"block",position:"absolute"},t)}function T(e,t){return function(){e.unwrap().unwrap().unbind(t.eventNamespace)}}var k=!0,E=!1,N=[{match:function(e){return e.is("a, button, :submit, :reset, input[type='button']")},apply:function(t,n){var s,u,c,d,p;return u=n.submitDefaultHtml,t.is(":reset")&&(u=n.resetDefaultHtml),d=t.is("a, button")?function(){return t.html()||u}:function(){return h(r(t,"value"))||u},c=f(t,n,{divClass:n.buttonClass,spanHtml:d()}),s=c.div,o(t,s,n),p=!1,i(s,n,{"click touchend":function(){var n,i,o,a;p||t.is(":disabled")||(p=!0,t[0].dispatchEvent?(n=document.createEvent("MouseEvents"),n.initEvent("click",!0,!0),i=t[0].dispatchEvent(n),t.is("a")&&i&&(o=r(t,"target"),a=r(t,"href"),o&&"_self"!==o?e.open(a,o):document.location.href=a)):t.click(),p=!1)}}),b(s,n),{remove:function(){return s.after(t),s.remove(),t.unbind(n.eventNamespace),t},update:function(){a(s,n),l(s,t,n),t.detach(),c.span.html(d()).append(t)}}}},{match:function(e){return e.is(":checkbox")},apply:function(e,t){var n,r,s;return n=f(e,t,{divClass:t.checkboxClass}),r=n.div,s=n.span,o(e,r,t),i(e,t,{"click touchend":function(){u(s,e,t)}}),u(s,e,t),{remove:T(e,t),update:function(){a(r,t),s.removeClass(t.checkedClass),u(s,e,t),l(r,e,t)}}}},{match:function(e){return e.is(":file")},apply:function(e,n){function s(){x(e,p,n)}var u,d,p,h;return u=f(e,n,{divClass:n.fileClass,spanClass:n.fileButtonClass,spanHtml:n.fileButtonHtml,spanWrap:"after"}),d=u.div,h=u.span,p=t("").html(n.fileDefaultHtml),p.addClass(n.filenameClass),p=c(e,p,"after"),r(e,"size")||r(e,"size",d.width()/10),o(e,d,n),s(),m()?i(e,n,{click:function(){e.trigger("change"),setTimeout(s,0)}}):i(e,n,{change:s}),b(p,n),b(h,n),{remove:function(){return p.remove(),h.remove(),e.unwrap().unbind(n.eventNamespace)},update:function(){a(d,n),x(e,p,n),l(d,e,n)}}}},{match:function(e){if(e.is("input")){var t=(" "+r(e,"type")+" ").toLowerCase(),n=" color date datetime datetime-local email month number password search tel text time url week ";return n.indexOf(t)>=0}return!1},apply:function(e,t){var n,i;return n=r(e,"type"),e.addClass(t.inputClass),i=d(e,t),o(e,e,t),t.inputAddTypeAsClass&&e.addClass(n),{remove:function(){e.removeClass(t.inputClass),t.inputAddTypeAsClass&&e.removeClass(n),i&&e.unwrap()},update:y}}},{match:function(e){return e.is(":radio")},apply:function(e,n){var s,c,d;return s=f(e,n,{divClass:n.radioClass}),c=s.div,d=s.span,o(e,c,n),i(e,n,{"click touchend":function(){t.uniform.update(t(':radio[name="'+r(e,"name")+'"]'))}}),u(d,e,n),{remove:T(e,n),update:function(){a(c,n),u(d,e,n),l(c,e,n)}}}},{match:function(e){return!(!e.is("select")||g(e))},apply:function(e,n){var r,s,u,c;return n.selectAutoWidth&&C(e,function(){c=e.width()}),r=f(e,n,{divClass:n.selectClass,spanHtml:(e.find(":selected:first")||e.find("option:first")).html(),spanWrap:"before"}),s=r.div,u=r.span,n.selectAutoWidth?C(e,function(){w(t([u[0],s[0]]),{display:"block"},function(){var e;e=u.outerWidth()-u.width(),s.width(c+e),u.width(c)})}):s.addClass("fixedWidth"),o(e,s,n),i(e,n,{change:function(){u.html(e.find(":selected").html()),s.removeClass(n.activeClass)},"click touchend":function(){var t=e.find(":selected").html();u.html()!==t&&e.trigger("change")},keyup:function(){u.html(e.find(":selected").html())}}),b(u,n),{remove:function(){return u.remove(),e.unwrap().unbind(n.eventNamespace),e},update:function(){n.selectAutoWidth?(t.uniform.restore(e),e.uniform(n)):(a(s,n),e[0].selectedIndex=e[0].selectedIndex,u.html(e.find(":selected").html()),l(s,e,n))}}}},{match:function(e){return!(!e.is("select")||!g(e))},apply:function(e,t){var n;return e.addClass(t.selectMultiClass),n=d(e,t),o(e,e,t),{remove:function(){e.removeClass(t.selectMultiClass),n&&e.unwrap()},update:y}}},{match:function(e){return e.is("textarea")},apply:function(e,t){var n;return e.addClass(t.textareaClass),n=d(e,t),o(e,e,t),{remove:function(){e.removeClass(t.textareaClass),n&&e.unwrap()},update:y}}}];m()&&!v()&&(k=!1),t.uniform={defaults:{activeClass:"active",autoHide:!0,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",inputAddTypeAsClass:!0,inputClass:"uniform-input",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:!1,selectAutoWidth:!0,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:!0,wrapperClass:null},elements:[]},t.fn.uniform=function(n){var r=this;return n=t.extend({},t.uniform.defaults,n),E||(E=!0,p()&&(k=!1)),k?(n.resetSelector&&t(n.resetSelector).mouseup(function(){e.setTimeout(function(){t.uniform.update(r)},10)}),this.each(function(){var e,r,i,o=t(this);if(o.data("uniformed"))return void t.uniform.update(o);for(e=0;e=0&&t.uniform.elements.splice(e,1),r.removeData("uniformed"))})},t.uniform.update=t.fn.uniform.update=function(e){e===n&&(e=t.uniform.elements),t(e).each(function(){var e,n=t(this);e=n.data("uniformed"),e&&e.update(n,e.options)})}}(this,jQuery); \ No newline at end of file diff --git a/dist/js/jquery.uniform.standalone.js b/dist/js/jquery.uniform.standalone.js new file mode 100644 index 0000000..0e34c05 --- /dev/null +++ b/dist/js/jquery.uniform.standalone.js @@ -0,0 +1 @@ +!function(e,t,n){"use strict";function s(e){var t=Array.prototype.slice.call(arguments,1);return e.prop?e.prop.apply(e,t):e.attr.apply(e,t)}function a(e,t,n){var s,a;for(s in n)n.hasOwnProperty(s)&&(a=s.replace(/ |$/g,t.eventNamespace),e.bind(a,n[s]))}function i(e,t,n){a(e,n,{focus:function(){t.addClass(n.focusClass)},blur:function(){t.removeClass(n.focusClass),t.removeClass(n.activeClass)},mouseenter:function(){t.addClass(n.hoverClass)},mouseleave:function(){t.removeClass(n.hoverClass),t.removeClass(n.activeClass)},"mousedown touchbegin":function(){e.is(":disabled")||t.addClass(n.activeClass)},"mouseup touchend":function(){t.removeClass(n.activeClass)}})}function r(e,t){e.removeClass(t.hoverClass+" "+t.focusClass+" "+t.activeClass)}function l(e,t,n){n?e.addClass(t):e.removeClass(t)}function u(e,t,n){var s="checked",a=t.is(":"+s);t.prop?t.prop(s,a):a?t.attr(s,s):t.removeAttr(s),l(e,n.checkedClass,a)}function o(e,t,n){l(e,n.disabledClass,t.is(":disabled"))}function c(e,t,n){switch(n){case"after":return e.after(t),e.next();case"before":return e.before(t),e.prev();case"wrap":return e.wrap(t),e.parent()}return null}function d(e,n,a){var i,r,l;return a||(a={}),a=t.extend({bind:{},divClass:null,divWrap:"wrap",spanClass:null,spanHtml:null,spanWrap:"wrap"},a),i=t("
"),r=t(""),n.autoHide&&e.is(":hidden")&&"none"===e.css("display")&&i.hide(),a.divClass&&i.addClass(a.divClass),n.wrapperClass&&i.addClass(n.wrapperClass),a.spanClass&&r.addClass(a.spanClass),l=s(e,"id"),n.useID&&l&&s(i,"id",n.idPrefix+"-"+l),a.spanHtml&&r.html(a.spanHtml),i=c(e,i,a.divWrap),r=c(e,r,a.spanWrap),o(i,e,n),{div:i,span:r}}function f(e,n){var s;return n.wrapperClass?(s=t("").addClass(n.wrapperClass),s=c(e,s,"wrap")):null}function p(){var n,s,a,i;return i="rgb(120,2,153)",s=t('
'),t("body").append(s),a=s.get(0),n=e.getComputedStyle?e.getComputedStyle(a,"").color:(a.currentStyle||a.style||{}).color,s.remove(),n.replace(/ /g,"")!==i}function m(e){return e?t("").text(e).html():""}function v(){return navigator.cpuClass&&!navigator.product}function h(){return void 0!==e.XMLHttpRequest}function C(e){var t;return!!e[0].multiple||(t=s(e,"size"),!(!t||t<=1))}function b(){return!1}function y(e,t){var n="none";a(e,t,{"selectstart dragstart mousedown":b}),e.css({MozUserSelect:n,msUserSelect:n,webkitUserSelect:n,userSelect:n})}function w(e,t,n){var s=e.val();""===s?s=n.fileDefaultHtml:(s=s.split(/[\/\\]+/),s=s[s.length-1]),t.text(s)}function g(e,t,n){var s,a;for(s=[],e.each(function(){var e;for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s.push({el:this,name:e,old:this.style[e]}),this.style[e]=t[e])}),n();s.length;)a=s.pop(),a.el.style[a.name]=a.old}function k(e,t){var n;n=e.parents(),n.push(e[0]),n=n.not(":visible"),g(n,{visibility:"hidden",display:"block",position:"absolute"},t)}function x(e,t){return function(){e.unwrap().unwrap().unbind(t.eventNamespace)}}var H=!0,A=!1,W=[{match:function(e){return e.is("a, button, :submit, :reset, input[type='button']")},apply:function(t,n){var l,u,c,f,p;return u=n.submitDefaultHtml,t.is(":reset")&&(u=n.resetDefaultHtml),f=t.is("a, button")?function(){return t.html()||u}:function(){return m(s(t,"value"))||u},c=d(t,n,{divClass:n.buttonClass,spanHtml:f()}),l=c.div,i(t,l,n),p=!1,a(l,n,{"click touchend":function(){var n,a,i,r;p||t.is(":disabled")||(p=!0,t[0].dispatchEvent?(n=document.createEvent("MouseEvents"),n.initEvent("click",!0,!0),a=t[0].dispatchEvent(n),t.is("a")&&a&&(i=s(t,"target"),r=s(t,"href"),i&&"_self"!==i?e.open(r,i):document.location.href=r)):t.click(),p=!1)}}),y(l,n),{remove:function(){return l.after(t),l.remove(),t.unbind(n.eventNamespace),t},update:function(){r(l,n),o(l,t,n),t.detach(),c.span.html(f()).append(t)}}}},{match:function(e){return e.is(":checkbox")},apply:function(e,t){var n,s,l;return n=d(e,t,{divClass:t.checkboxClass}),s=n.div,l=n.span,i(e,s,t),a(e,t,{"click touchend":function(){u(l,e,t)}}),u(l,e,t),{remove:x(e,t),update:function(){r(s,t),l.removeClass(t.checkedClass),u(l,e,t),o(s,e,t)}}}},{match:function(e){return e.is(":file")},apply:function(e,n){function l(){w(e,p,n)}var u,f,p,m;return u=d(e,n,{divClass:n.fileClass,spanClass:n.fileButtonClass,spanHtml:n.fileButtonHtml,spanWrap:"after"}),f=u.div,m=u.span,p=t("").html(n.fileDefaultHtml),p.addClass(n.filenameClass),p=c(e,p,"after"),s(e,"size")||s(e,"size",f.width()/10),i(e,f,n),l(),v()?a(e,n,{click:function(){e.trigger("change"),setTimeout(l,0)}}):a(e,n,{change:l}),y(p,n),y(m,n),{remove:function(){return p.remove(),m.remove(),e.unwrap().unbind(n.eventNamespace)},update:function(){r(f,n),w(e,p,n),o(f,e,n)}}}},{match:function(e){if(e.is("input")){var t=(" "+s(e,"type")+" ").toLowerCase(),n=" color date datetime datetime-local email month number password search tel text time url week ";return n.indexOf(t)>=0}return!1},apply:function(e,t){var n,a;return n=s(e,"type"),e.addClass(t.inputClass),a=f(e,t),i(e,e,t),t.inputAddTypeAsClass&&e.addClass(n),{remove:function(){e.removeClass(t.inputClass),t.inputAddTypeAsClass&&e.removeClass(n),a&&e.unwrap()},update:b}}},{match:function(e){return e.is(":radio")},apply:function(e,n){var l,c,f;return l=d(e,n,{divClass:n.radioClass}),c=l.div,f=l.span,i(e,c,n),a(e,n,{"click touchend":function(){t.uniform.update(t(':radio[name="'+s(e,"name")+'"]'))}}),u(f,e,n),{remove:x(e,n),update:function(){r(c,n),u(f,e,n),o(c,e,n)}}}},{match:function(e){return!(!e.is("select")||C(e))},apply:function(e,n){var s,l,u,c;return n.selectAutoWidth&&k(e,function(){c=e.width()}),s=d(e,n,{divClass:n.selectClass,spanHtml:(e.find(":selected:first")||e.find("option:first")).html(),spanWrap:"before"}),l=s.div,u=s.span,n.selectAutoWidth?k(e,function(){g(t([u[0],l[0]]),{display:"block"},function(){var e;e=u.outerWidth()-u.width(),l.width(c+e),u.width(c)})}):l.addClass("fixedWidth"),i(e,l,n),a(e,n,{change:function(){u.html(e.find(":selected").html()),l.removeClass(n.activeClass)},"click touchend":function(){var t=e.find(":selected").html();u.html()!==t&&e.trigger("change")},keyup:function(){u.html(e.find(":selected").html())}}),y(u,n),{remove:function(){return u.remove(),e.unwrap().unbind(n.eventNamespace),e},update:function(){n.selectAutoWidth?(t.uniform.restore(e),e.uniform(n)):(r(l,n),e[0].selectedIndex=e[0].selectedIndex,u.html(e.find(":selected").html()),o(l,e,n))}}}},{match:function(e){return!(!e.is("select")||!C(e))},apply:function(e,t){var n;return e.addClass(t.selectMultiClass),n=f(e,t),i(e,e,t),{remove:function(){e.removeClass(t.selectMultiClass),n&&e.unwrap()},update:b}}},{match:function(e){return e.is("textarea")},apply:function(e,t){var n;return e.addClass(t.textareaClass),n=f(e,t),i(e,e,t),{remove:function(){e.removeClass(t.textareaClass),n&&e.unwrap()},update:b}}}];v()&&!h()&&(H=!1),t.uniform={defaults:{activeClass:"active",autoHide:!0,buttonClass:"button",checkboxClass:"checker",checkedClass:"checked",disabledClass:"disabled",eventNamespace:".uniform",fileButtonClass:"action",fileButtonHtml:"Choose File",fileClass:"uploader",fileDefaultHtml:"No file selected",filenameClass:"filename",focusClass:"focus",hoverClass:"hover",idPrefix:"uniform",inputAddTypeAsClass:!0,inputClass:"uniform-input",radioClass:"radio",resetDefaultHtml:"Reset",resetSelector:!1,selectAutoWidth:!0,selectClass:"selector",selectMultiClass:"uniform-multiselect",submitDefaultHtml:"Submit",textareaClass:"uniform",useID:!0,wrapperClass:null},elements:[]},t.fn.uniform=function(n){var s=this;return n=t.extend({},t.uniform.defaults,n),A||(A=!0,p()&&(H=!1)),H?(n.resetSelector&&t(n.resetSelector).mouseup(function(){e.setTimeout(function(){t.uniform.update(s)},10)}),this.each(function(){var e,s,a,i=t(this);if(i.data("uniformed"))return void t.uniform.update(i);for(e=0;e=0&&t.uniform.elements.splice(e,1),s.removeData("uniformed"))})},t.uniform.update=t.fn.uniform.update=function(e){e===n&&(e=t.uniform.elements),t(e).each(function(){var e,n=t(this);e=n.data("uniformed"),e&&e.update(n,e.options)})}}(this,jQuery); \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..eec90ff --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +#nginxForPhpFpm56: +# image: audithsoftworks/basis:nginx +# volumes: +# - ./storage/build/configs/nginxForPhpFpm.conf:/etc/nginx/conf.d/default.conf:ro +# - .:/home/audith +# working_dir: /home/audith +builder: + image: audithsoftworks/uniform + volumes: + - .:/home/audith + working_dir: /home/audith +# links: +# - nginxForPhpFpm56 +# environment: +# XDEBUG_CONFIG: remote_host=172.17.0.1 + stdin_open: true diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..036e9f1 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,20 @@ +var gulp = require('gulp'), + elixir = require('laravel-elixir'); + +elixir.config.assetsPath = 'src'; +elixir.config.publicPath = 'dist'; +elixir.config.buildPath = 'dist'; +elixir.config.sourcemaps = false; +elixir.config.css.autoprefix.options.browsers = ['> 1%']; +elixir.config.css.sass.folder = 'scss'; +elixir.config.versioning.buildFolder = ''; + +elixir(function (mix) { + mix.sass('default.scss'); + mix.sass('agent.scss'); + mix.sass('aristo.scss'); + mix.sass('jeans.scss'); + + mix.scripts(['jquery.uniform.js'], 'dist/js/jquery.uniform.standalone.js'); + mix.scripts(['node_modules/jquery/dist/jquery.js', 'src/js/jquery.uniform.js'], 'dist/js/jquery.uniform.bundled.js', './'); +}); diff --git a/package.json b/package.json index 32897b9..0fe9546 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jquery.uniform", "title": "Uniform", "description": "A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!", - "version": "2.2.2", + "version": "3.0.0", "homepage": "http://opensource.audith.org/uniform", "keywords": [ "uniform", @@ -12,7 +12,7 @@ "jquery.uniform", "jquery-uniform" ], - "author": "Josh Pyles ", + "author": "Shahriyar Imanov ", "contributors": [ "Shahriyar Imanov ", "Josh Pyles ", @@ -21,9 +21,8 @@ "maintainers": [ "Shahriyar Imanov " ], - "main": "lib/jquery.uniform.js", + "main": "dist/js/jquery.uniform.standalone.js", "scripts": { - "build": "./node_modules/.bin/uglifyjs ./lib/jquery.uniform.js -o ./dist/jquery.uniform.min.js -m -c", "test": "echo Coming Soon!" }, "repository": { @@ -31,8 +30,11 @@ "url": "https://github.com/AudithSoftworks/Uniform" }, "devDependencies": { - "jquery": "^1.6", - "uglify-js": "*" + "gulp": "^3.9.1", + "laravel-elixir": "6.0.0-7" + }, + "dependencies": { + "jquery": "^1.6" }, "bugs": { "url": "https://github.com/AudithSoftworks/Uniform/issues" diff --git a/lib/jquery.uniform.js b/src/js/jquery.uniform.js similarity index 100% rename from lib/jquery.uniform.js rename to src/js/jquery.uniform.js diff --git a/src/scss/_base.scss b/src/scss/_base.scss new file mode 100644 index 0000000..4c6d395 --- /dev/null +++ b/src/scss/_base.scss @@ -0,0 +1,558 @@ +$jquery-uniform-img-path: "../images/default" !default; +$sprite: "#{$jquery-uniform-img-path}/sprite.png" !default; +$sprite-retina: "#{$jquery-uniform-img-path}/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: "#{$jquery-uniform-img-path}/bg-input.png" !default; +$input-background-retina: "#{$jquery-uniform-img-path}/bg-input-retina.png" !default; +$input-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus.png" !default; +$input-background-focus-retina: "#{$jquery-uniform-img-path}/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" +} + +@mixin opacity($opacity) { + opacity: $opacity; + filter: unquote("alpha(opacity=#{round($opacity * 100)})"); +} + +@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) { + border-radius: $radius; +} + +@mixin box-shadow($def) { + box-shadow: $def; +} + +@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 + } +} + +@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 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); + } + } +} + +/* 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: url($sprite) 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: 0; + height: 0; +} + +/* 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 { + 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%; + } + + &.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: 0; + 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 { + span { + background-position: (-8 * $checkbox-width) $checkbox-voffset; + + @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; + } + } +} diff --git a/themes/agent/css/uniform.agent.scss b/src/scss/agent.scss similarity index 84% rename from themes/agent/css/uniform.agent.scss rename to src/scss/agent.scss index fa5c09a..2c534b2 100644 --- a/themes/agent/css/uniform.agent.scss +++ b/src/scss/agent.scss @@ -1,21 +1,18 @@ -/* -Uniform Theme: Agent -Version: 1.0 -By: Collin Allen -License: MIT ---- -For use with the Uniform plugin: -http://pixelmatrixdesign.com/uniform/ -*/ +/** + * Uniform Theme: Agent + * + * @author Collin Allen + */ +$jquery-uniform-img-path: "../images/agent"; $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-background: "#{$jquery-uniform-img-path}/bg-input-agent.png"; +$input-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus-agent.png"; $input-padding: 4px; $radio-height: 23px; $radio-width: 23px; @@ -25,17 +22,17 @@ $select-margin-left: 12px; $select-margin-right: 25px; $select-select-height: 25px; $select-select-top: 4px; -$sprite: "../images/sprite-agent.png"; +$sprite: "#{$jquery-uniform-img-path}/sprite-agent.png"; $upload-action-width: 90px; -$upload-filename-margin-top: 0px; -$upload-filename-margin-bottom: 0px; +$upload-filename-margin-top: 0; +$upload-filename-margin-bottom: 0; $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"; +@import "_base.scss"; #{$class-wrapper-element}#{$class-wrapper} input#{$class-input}, #{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect}, @@ -48,10 +45,10 @@ $upload-width: 190px; border: 1px solid #1a1a1a; border-right-color: #1c1c1c; border-bottom-color: #1c1c1c; - @include border-radius(3px); + border-radius: 3px; @include whenHover { - @include box-shadow(0px 0px 4px rgba(0, 0, 0, 0.3)); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); border-color: #999999; background-color: #575757; } diff --git a/themes/aristo/css/uniform.aristo.scss b/src/scss/aristo.scss similarity index 85% rename from themes/aristo/css/uniform.aristo.scss rename to src/scss/aristo.scss index c103807..bc7e6f5 100644 --- a/themes/aristo/css/uniform.aristo.scss +++ b/src/scss/aristo.scss @@ -1,21 +1,19 @@ -/* -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/ -*/ - +/** + * Uniform Theme: Aristo + * + * @author 280North / Ported by Josh Pyles + * @license Creative Commons Share Alike + */ + +$jquery-uniform-img-path: "../images/aristo"; $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-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus-aristo.png"; +$input-background: "#{$jquery-uniform-img-path}/bg-input-aristo.png"; $input-padding: 4px; $radio-height: 23px; $radio-width: 23px; @@ -25,7 +23,7 @@ $select-margin-left: 10px; $select-margin-right: 25px; $select-select-height: 24px; $select-select-top: 4px; -$sprite: "../images/sprite-aristo.png"; +$sprite: "#{$jquery-uniform-img-path}/sprite-aristo.png"; $upload-action-width: 90px; $upload-filename-margin-left: 4px; $upload-filename-margin-top: 4px; @@ -35,7 +33,7 @@ $upload-filename-width: 76px; $upload-height: 32px; $upload-width: 190px; -@import "../../_base/css/uniform._base.scss"; +@import "_base.scss"; /* INPUT & TEXTAREA */ @@ -50,10 +48,10 @@ $upload-width: 190px; border: 1px solid #aaaaaa; border-right-color: #cccccc; border-bottom-color: #cccccc; - @include border-radius(3px); + border-radius: 3px; @include whenHover { - @include box-shadow(0 0 4px rgba(0, 0, 0, 0.3)); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); border-color: #999999; background-color: #a1cbe2; } diff --git a/themes/default/css/uniform.default.scss b/src/scss/default.scss similarity index 90% rename from themes/default/css/uniform.default.scss rename to src/scss/default.scss index 983dd17..28f47e4 100644 --- a/themes/default/css/uniform.default.scss +++ b/src/scss/default.scss @@ -1,12 +1,8 @@ -/* -Uniform Theme: Uniform Default -Version: 1.8 -By: Josh Pyles -License: MIT License ---- -For use with the Uniform plugin: -http://uniformjs.com/ -*/ +/** + * Uniform Theme: Uniform Default + * + * @author Josh Pyles + */ $button-height: 30px; $button-margin-left: 13px; @@ -32,7 +28,7 @@ $upload-filename-padding: 0 10px; $upload-height: 28px; $upload-width: 190px; -@import "../../_base/css/uniform._base.scss"; +@import "_base.scss"; /* INPUT & TEXTAREA */ @@ -46,10 +42,10 @@ $upload-width: 190px; border: 1px solid #aaaaaa; border-right-color: #cccccc; border-bottom-color: #cccccc; - @include border-radius($input-padding); + border-radius: $input-padding; @include whenHover { - @include box-shadow(0px 0px 4px rgba(0, 0, 0, 0.3)); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); border-color: #999999; } } diff --git a/themes/jeans/css/uniform.jeans.scss b/src/scss/jeans.scss similarity index 81% rename from themes/jeans/css/uniform.jeans.scss rename to src/scss/jeans.scss index 84635ae..3be3974 100644 --- a/themes/jeans/css/uniform.jeans.scss +++ b/src/scss/jeans.scss @@ -1,23 +1,20 @@ -/* -Uniform Theme: Crayon -Version: 2.0 -By: Tyler Akins -License: MIT License ---- -For use with the Uniform plugin: -http://uniformjs.com/ -*/ +/** + * Uniform Theme: Crayon + * + * @author Tyler Akins + */ +$jquery-uniform-img-path: "../images/jeans"; $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-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus-jeans.png"; +$input-background-focus-retina: "#{$jquery-uniform-img-path}/bg-input-focus-retina-jeans.png"; +$input-background: "#{$jquery-uniform-img-path}/bg-input-jeans.png"; +$input-background-retina: "#{$jquery-uniform-img-path}/bg-input-retina-jeans.png"; $input-padding: 3px; $radio-height: 18px; $radio-width: 18px; @@ -27,8 +24,8 @@ $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"; +$sprite: "#{$jquery-uniform-img-path}/sprite-jeans.png"; +$sprite-retina: "#{$jquery-uniform-img-path}/sprite-retina-jeans.png"; $upload-action-width: 82px; $upload-filename-margin-top: 2px; $upload-filename-margin-left: 2px; @@ -39,7 +36,7 @@ $upload-span-height: 24px; $upload-width: 190px; $input-background-size: 60px; -@import "../../_base/css/uniform._base.scss"; +@import "_base.scss"; /* INPUT & TEXTAREA */ @@ -53,10 +50,10 @@ $input-background-size: 60px; border: 1px solid #aaaaaa; border-right-color: #cccccc; border-bottom-color: #cccccc; - @include border-radius($input-padding); + border-radius: $input-padding; &:focus { - @include box-shadow(0px 0px 4px rgba(0, 0, 0, 0.3)); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); border-color: #999999; } } diff --git a/themes/_base/css/uniform._base.css b/themes/_base/css/uniform._base.css deleted file mode 100644 index b8f0293..0000000 --- a/themes/_base/css/uniform._base.css +++ /dev/null @@ -1,278 +0,0 @@ -/* 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 span, div.checker.disabled.active span { - 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 -279px; } - div.radio.active span.checked { - background-position: -90px -279px; } - div.radio.hover span, div.radio.focus span { - background-position: -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; } diff --git a/themes/_base/css/uniform._base.min.css b/themes/_base/css/uniform._base.min.css deleted file mode 100644 index 2d15149..0000000 --- a/themes/_base/css/uniform._base.min.css +++ /dev/null @@ -1 +0,0 @@ -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}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.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}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}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}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 span,div.checker.disabled.active span{background-position:-152px -260px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-171px -260px}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 -279px}div.radio.active span.checked{background-position:-90px -279px}div.radio.hover span,div.radio.focus span{background-position:-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}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}div.button{background-position:0 -641px;height:30px;cursor:pointer;position:relative}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} diff --git a/themes/_base/css/uniform._base.scss b/themes/_base/css/uniform._base.scss deleted file mode 100644 index d275cd7..0000000 --- a/themes/_base/css/uniform._base.scss +++ /dev/null @@ -1,567 +0,0 @@ -@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 - } -} - -$jquery-uniform-img-path: "../images" !default; -$sprite: "#{$jquery-uniform-img-path}/sprite.png" !default; -$sprite-retina: "#{$jquery-uniform-img-path}/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: "#{$jquery-uniform-img-path}/bg-input.png" !default; -$input-background-retina: "#{$jquery-uniform-img-path}/bg-input-retina.png" !default; -$input-background-focus: "#{$jquery-uniform-img-path}/bg-input-focus.png" !default; -$input-background-focus-retina: "#{$jquery-uniform-img-path}/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 { - span { - background-position: (-8 * $checkbox-width) $checkbox-voffset; - - @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; - } - } -} diff --git a/themes/agent/css/uniform.agent.css b/themes/agent/css/uniform.agent.css deleted file mode 100644 index 5d5cd4c..0000000 --- a/themes/agent/css/uniform.agent.css +++ /dev/null @@ -1,369 +0,0 @@ -/* - -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 span, div.checker.disabled.active span { - 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: 9px 15px 0 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 #fff; } - div.selector select { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 1em; - border: solid 1px #fff; } - 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; } diff --git a/themes/agent/css/uniform.agent.min.css b/themes/agent/css/uniform.agent.min.css deleted file mode 100644 index 08e1c0d..0000000 --- a/themes/agent/css/uniform.agent.min.css +++ /dev/null @@ -1 +0,0 @@ -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}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.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}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}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}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 span,div.checker.disabled.active span{background-position:-184px -320px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-207px -320px}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}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}div.button{background-position:0 -750px;height:32px;cursor:pointer;position:relative}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:9px 15px 0 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}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 #fff}div.selector select{font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;font-size:1em;border:solid 1px #fff}div.selector.disabled span,div.selector.disabled.active span{color:#bbb}div.checker{margin-right:10px}div.radio{margin-right:10px}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} diff --git a/themes/aristo/css/uniform.aristo.css b/themes/aristo/css/uniform.aristo.css deleted file mode 100644 index dd70aa1..0000000 --- a/themes/aristo/css/uniform.aristo.css +++ /dev/null @@ -1,365 +0,0 @@ -/* - -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 span, div.checker.disabled.active span { - 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: 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 #aaa; - border-left: solid 1px #aaa; - border-bottom: solid 1px #ccc; - border-right: solid 1px #ccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; } - 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 #fff; } - div.selector select { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 1em; - border: solid 1px #fff; } - 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; } diff --git a/themes/aristo/css/uniform.aristo.min.css b/themes/aristo/css/uniform.aristo.min.css deleted file mode 100644 index d8a8436..0000000 --- a/themes/aristo/css/uniform.aristo.min.css +++ /dev/null @@ -1 +0,0 @@ -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}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.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}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}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}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 span,div.checker.disabled.active span{background-position:-184px -320px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-207px -320px}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}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}div.button{background-position:0 -750px;height:32px;cursor:pointer;position:relative}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.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 #aaa;border-left:solid 1px #aaa;border-bottom:solid 1px #ccc;border-right:solid 1px #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}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}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}div.selector{font-weight:bold;color:#464545;font-size:14px}div.selector span{color:#666;text-shadow:0 1px 0 #fff}div.selector select{font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;font-size:1em;border:solid 1px #fff}div.selector.disabled span,div.selector.disabled.active span{color:#bbb}div.checker{margin-right:10px}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} diff --git a/themes/default/css/uniform.default.css b/themes/default/css/uniform.default.css deleted file mode 100644 index 6fd457c..0000000 --- a/themes/default/css/uniform.default.css +++ /dev/null @@ -1,366 +0,0 @@ -/* - -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 span, div.checker.disabled.active span { - 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 -279px; } - div.radio.active span.checked { - background-position: -90px -279px; } - div.radio.hover span, div.radio.focus span { - background-position: -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 #aaa; - border-left: solid 1px #aaa; - border-bottom: solid 1px #ccc; - border-right: solid 1px #ccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; } - 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 #fff; } - 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: #fff 0px 1px 0px; - background-color: #fff; - font-size: 11px; - font-weight: bold; } -div.uploader span.filename { - color: #777; - border-right: solid 1px #bbb; - 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; } diff --git a/themes/default/css/uniform.default.min.css b/themes/default/css/uniform.default.min.css deleted file mode 100644 index a6e9245..0000000 --- a/themes/default/css/uniform.default.min.css +++ /dev/null @@ -1 +0,0 @@ -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}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.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}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}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}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 span,div.checker.disabled.active span{background-position:-152px -260px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-171px -260px}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 -279px}div.radio.active span.checked{background-position:-90px -279px}div.radio.hover span,div.radio.focus span{background-position:-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}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}div.button{background-position:0 -641px;height:30px;cursor:pointer;position:relative}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.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 #aaa;border-left:solid 1px #aaa;border-bottom:solid 1px #ccc;border-right:solid 1px #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}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}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}div.selector{font-size:12px}div.selector span{color:#666;text-shadow:0 1px 0 #fff}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}div.checker{margin-right:5px}div.radio{margin-right:3px}div.uploader span.action{text-shadow:#fff 0px 1px 0px;background-color:#fff;font-size:11px;font-weight:bold}div.uploader span.filename{color:#777;border-right:solid 1px #bbb;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} diff --git a/themes/jeans/css/uniform.jeans.css b/themes/jeans/css/uniform.jeans.css deleted file mode 100644 index 7243689..0000000 --- a/themes/jeans/css/uniform.jeans.css +++ /dev/null @@ -1,385 +0,0 @@ -/* - -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 span, div.checker.disabled.active span { - 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 -279px; } - div.radio.active span.checked { - background-position: -90px -279px; } - div.radio.hover span, div.radio.focus span { - background-position: -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 #aaa; - border-left: solid 1px #aaa; - border-bottom: solid 1px #ccc; - border-right: solid 1px #ccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; } - 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 #000; } - 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: #000 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"); } } diff --git a/themes/jeans/css/uniform.jeans.min.css b/themes/jeans/css/uniform.jeans.min.css deleted file mode 100644 index fc6bfb2..0000000 --- a/themes/jeans/css/uniform.jeans.min.css +++ /dev/null @@ -1 +0,0 @@ -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}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.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}div.checker input,input[type="search"],input[type="search"]:active{-moz-appearance:none;-webkit-appearance:none}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}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 span,div.checker.disabled.active span{background-position:-152px -260px}div.checker.disabled span.checked,div.checker.disabled.active span.checked{background-position:-171px -260px}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 -279px}div.radio.active span.checked{background-position:-90px -279px}div.radio.hover span,div.radio.focus span{background-position:-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}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}div.button{background-position:0 -641px;height:30px;cursor:pointer;position:relative}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.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 #aaa;border-left:solid 1px #aaa;border-bottom:solid 1px #ccc;border-right:solid 1px #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}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}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}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 #000}div.selector.disabled span,div.selector.disabled.active span{color:#FFE000}div.checker{margin-right:5px}div.radio{margin-right:3px}div.uploader span.action{text-shadow:#000 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")}} diff --git a/www-fragments/index-start.html b/www-fragments/index-start.html deleted file mode 100644 index 0a8b892..0000000 --- a/www-fragments/index-start.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - Uniform - Sexy forms with jQuery - - -
- -
-
-

Download

- - Download Uniform 2.2.2jquery.uniform.zip - -

Get source on GitHub

-

version 2.2.2

-

Uniform styles:

-
    -
  • Selects (drop down lists)
  • -
  • Checkboxes
  • -
  • Radio buttons
  • -
  • File upload inputs
  • -
  • Input areas (single line text)
  • -
  • Textareas (multi-line text)
  • -
  • Links
  • -
  • Buttons, including form submit and reset buttons
  • -
-

Tested & Compatible in:

-
    -
  • Safari 3+
  • -
  • Firefox 3+
  • -
  • IE7+
  • -
  • Chrome
  • -
  • jQuery 1.3+
  • -
  • Opera 10+
  • -
  • Degrades gracefully in IE6
  • -
-
-
-

Have you ever wished you could style checkboxes, drop down menus, radio buttons, and file upload inputs? Ever wished you could control the look and feel of your form elements - between all browsers?

-

If so, Uniform is your new best friend.

-

Uniform masks your standard form controls with custom themed controls. It works in sync with your real form elements to ensure accessibility and compatibility. For truly complex - designs, you can import multiple themes on one page.

-
-
-

Meet Uniform

-
-
- - - - - -
-
- - - - - -
-
- -
-
-
- Disable All - Reset All -
- Pick another theme:
- -
-
-
-
diff --git a/www-fragments/index-stop.html b/www-fragments/index-stop.html deleted file mode 100644 index 51aa588..0000000 --- a/www-fragments/index-stop.html +++ /dev/null @@ -1,55 +0,0 @@ -
-
-

Themes

-

- Theming is central to the philosophy of Uniform. We don’t want you to feel limited to just using the default style. You can design your own theme with our theme - kit. Most of the CSS can be generated by editing a SCSS (a variant of SASS) file and then running make. -

-

You can also download themes created by others. Here are some of our favorites:

- - - - - - - - - - - - - - - - - - - -
Uniform Default - by - Josh Pyles - Download
Aristo - by - 280North - / ported by - Josh Pyles - Download
Agent - by - Collin Allen - Download
-

Submit your theme by opening a new issue. We'll welcome the addition!

-
-
-

Contribute

-

- Have ideas for Uniform? Want to submit a bug fix or patch? We collaborate on Uniform on GitHub, and we welcome you to join us as well! - Visit Uniform on GitHub. -

-
-
- -
- - diff --git a/www/.nojekyll b/www/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/www/CNAME b/www/CNAME deleted file mode 100644 index 249d1ac..0000000 --- a/www/CNAME +++ /dev/null @@ -1 +0,0 @@ -uniform.opensource.audith.org diff --git a/www/downloads/.keep b/www/downloads/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/www/images/bg-code.png b/www/images/bg-code.png deleted file mode 100644 index 8d79792..0000000 Binary files a/www/images/bg-code.png and /dev/null differ diff --git a/www/images/btn-lg-bg.png b/www/images/btn-lg-bg.png deleted file mode 100644 index 04436c5..0000000 Binary files a/www/images/btn-lg-bg.png and /dev/null differ diff --git a/www/images/btn-sm-bg.png b/www/images/btn-sm-bg.png deleted file mode 100644 index 6b9406c..0000000 Binary files a/www/images/btn-sm-bg.png and /dev/null differ diff --git a/www/images/download.png b/www/images/download.png deleted file mode 100644 index d91397a..0000000 Binary files a/www/images/download.png and /dev/null differ diff --git a/www/images/icon-download.png b/www/images/icon-download.png deleted file mode 100644 index bafeafd..0000000 Binary files a/www/images/icon-download.png and /dev/null differ diff --git a/www/images/logo-pixelmatrix.png b/www/images/logo-pixelmatrix.png deleted file mode 100644 index bc41a4d..0000000 Binary files a/www/images/logo-pixelmatrix.png and /dev/null differ diff --git a/www/images/preview-agent.png b/www/images/preview-agent.png deleted file mode 100644 index 4dd0df7..0000000 Binary files a/www/images/preview-agent.png and /dev/null differ diff --git a/www/images/preview-aristo.png b/www/images/preview-aristo.png deleted file mode 100644 index 14bba9e..0000000 Binary files a/www/images/preview-aristo.png and /dev/null differ diff --git a/www/images/preview-default.png b/www/images/preview-default.png deleted file mode 100644 index 4cab021..0000000 Binary files a/www/images/preview-default.png and /dev/null differ diff --git a/www/javascripts/ICanHaz-no-mustache.min.js b/www/javascripts/ICanHaz-no-mustache.min.js deleted file mode 100644 index 65ad95c..0000000 --- a/www/javascripts/ICanHaz-no-mustache.min.js +++ /dev/null @@ -1,3 +0,0 @@ -(function(){(function(){var b={VERSION:"0.10",templates:{},$:"undefined"!==typeof window?window.jQuery||window.Zepto||null:null,addTemplate:function(a,d){if("object"===typeof a)for(var c in a)this.addTemplate(c,a[c]);else b[a]?console.error("Invalid name: "+a+"."):b.templates[a]?console.error('Template "'+a+' " exists'):(b.templates[a]=d,b[a]=function(c,d){var c=c||{},f=Mustache.to_html(b.templates[a],c,b.templates);return b.$&&!d?b.$(f):f})},clearAll:function(){for(var a in b.templates)delete b[a]; -b.templates={}},refresh:function(){b.clearAll();b.grabTemplates()},grabTemplates:function(){var a,d=document.getElementsByTagName("script"),c,e=[];for(a=0,l=d.length;a= 0) { - window.theme = keyValue[1]; - } - } - } - } - - // Courtesy of Nathan Hartwell - /*jslint evil:true*/ - document.write(''); - /*jslint evil:false*/ -}()); diff --git a/www/javascripts/index.js b/www/javascripts/index.js deleted file mode 100644 index 8195459..0000000 --- a/www/javascripts/index.js +++ /dev/null @@ -1,35 +0,0 @@ -/*global $, window, document*/ - -(function () { - 'use strict'; - $(function () { - $("#theme").val(window.theme); - $("#theme").change(function () { - this.form.submit(); - return false; - }); - $("#docs h3").addClass('link').click(function () { - $(this).nextUntil('h3').slideToggle(); - return false; - }).nextUntil('h3').toggle(); - $(".parameter").hide(); - $("select, input, .controls a").uniform(); - $("a.btn[rel='disable']").live("click", function () { - $("select, input[type='checkbox'], input[type='radio'], input[type='file']").attr("disabled", true); - $.uniform.update(); - $(this).attr("rel", "enable").text("Enable All"); - return false; - }); - $("a.btn[rel='enable']").live("click", function () { - $("select, input[type='checkbox'], input[type='radio'], input[type='file']").removeAttr("disabled"); - $.uniform.update(); - $(this).attr("rel", "disable").text("Disable All"); - return false; - }); - $("a.btn[rel='reset']").click(function () { - $("form").get(0).reset(); - $.uniform.update(); - return false; - }); - }); -}()); diff --git a/www/javascripts/multiple-themes.js b/www/javascripts/multiple-themes.js deleted file mode 100644 index bce3a3d..0000000 --- a/www/javascripts/multiple-themes.js +++ /dev/null @@ -1,47 +0,0 @@ -/*global $, ich*/ -$(function () { - 'use strict'; - var i, themes; - - // First, take care of the easy styling - $('.simple').uniform(); - - themes = [ - { - theme: 'agent', - name: 'Agent', - isDefault: false - }, - { - theme: 'aristo', - name: 'Aristo', - isDefault: false - }, - { - theme: 'default', - name: 'Default', - isDefault: true - }, - { - theme: 'jeans', - name: 'Jeans', - isDefault: false - } - ]; - $('.examples').empty().append(ich.exampleTemplate(themes, true)); - - // Apply the non-default themes. - // Just doing it this way as an example. - for (i = 0; i < themes.length; i += 1) { - if (!themes[i].isDefault) { - $('.example-' + themes[i].theme).find('input, select').uniform({ - wrapperClass: "uniform-" + themes[i].theme - }); - } - } - - // Now apply the default to everything. - // Elements already uniformed won't be uniformed again. - // This could just as eaily be done without a default. - $('input, select').uniform(); -}); diff --git a/www/javascripts/mustache.js b/www/javascripts/mustache.js deleted file mode 100644 index 0148d29..0000000 --- a/www/javascripts/mustache.js +++ /dev/null @@ -1,625 +0,0 @@ -/*! - * mustache.js - Logic-less {{mustache}} templates with JavaScript - * http://github.com/janl/mustache.js - */ - -/*global define: false*/ - -var Mustache; - -(function (exports) { - if (typeof module !== "undefined" && module.exports) { - module.exports = exports; // CommonJS - } else if (typeof define === "function") { - define(exports); // AMD - } else { - Mustache = exports; // - - - - - Uniform - Multiple Themes At Once - - -
- - -
-

Sometimes you are not happy with just one. You want more.

- -

Did you ever want to have multiple ways that inputs could appear? Uniform can do that for you as well. It's a bit harder and you'll need to build a custom CSS file using Sass, but I'm sure you will get the hang of things.

- -

Simple Example

- -

If your themes have the same size elements in the sprite, you can do things the easy way. Simply add a few classes and rely on CSS being overridden.

- -
-
- - - -
- -

HTML, JavaScript, CSS

- -

To do this, you need to only wrap your elements a bit.

- -
<input type="text" class="simple" value="Default"><br>
-<span class="jeans">
-	<input type="text" class="simple" value="Jeans">
-</span>
-
- -

The JavaScript actually doesn't change at all. Just style everything.

- -
$('input, select').uniform();
-
- -

Next up, just add a bit of SCSS. If you want to see the necessary CSS instead, take a look at the bottom of the stylesheet for this example page.

- -
/* Default theme */
-@import "../../themes/default/css/uniform.default.scss";
-
-.jeans {
-	@include use-backgrounds(url('../images/sprite-jeans.png'), 0, url('../images/bg-input-jeans.png'), url('../images/bg-input-focus-jeans.png'), 0);
-
-	input {
-		color: #FFE000;
-	}
-}
-
- -

Tradeoffs

- -

Even for this simple example you will notice that I needed to override the input colors for the jeans theme. Doing this with complex themes is much worse than the "Complex Example" below.

- -

The sprite images must have identically sized elements. You can change colors, but not the position of anything.

- -

You need to wrap your elements

- -

The resulting CSS is smaller than the complex example.

- -

Complex Example

- -

Nothing says "success" more than actually seeing that it works.

- -
- -
- -

HTML

- -

Here's some sample HTML that we are going to theme two ways.

- -
<input type="text" class="default">
-<input type="text" class="agent">
-
- -

Sass / SCSS / CSS

- -

It's easiest to just use some SCSS to build your CSS file. The general idea is that you can wrap each theme in a special CSS selector. You can also have the default theme without a selector so elements can fall back to that gracefully. Let me show you with this example:

- -
/* File: myThemes.scss */
-/* Default theme */
-@import "themes/default/css/uniform.default.scss";
-
-/* Agent */
-$class-wrapper: ".uniform-agent"
-@import "themes/agent/css/uniform.agent.scss";
-
-/* And you keep adding as many themes as you'd like */
-
- -

You can peek at the SCSS file that was used to generate the CSS for this very page.

- -

The JavaScript

- -

Here's the trick: selecively apply $.uniform() and use the "wrapperClass" property to define a globally applied class.

- -
$(function () {
-	// Apply the agent theme selectively
-	$('input.agent').uniform({wrapperClass: "uniform-agent"});
-
-	// Apply the default theme to the rest - Don't worry, Uniform will
-	// not apply styling to an element twice
-	$('input').uniform();
-});
-
- -

Tradeoffs

- -

The simple method is possible without sass. This one really relies upon it because you build out the CSS files.

- -

The generated CSS isn't as small as it could be if you were to do this by hand.

- -

This does support far more themes and they have all of their colors and sizes properly applied. It's less troublesome because you don't need to worry about restyling things.

-
-
- - diff --git a/www/stylesheets/multiple-themes.css b/www/stylesheets/multiple-themes.css deleted file mode 100644 index f0fcc6e..0000000 --- a/www/stylesheets/multiple-themes.css +++ /dev/null @@ -1,2132 +0,0 @@ -.examples { - margin: 1em; -} - -.example { - background-color: #e6c4e6; - border: 1px solid black; - display: inline-block; -} - -h4 { - margin-top: 0; - padding-top: 0; -} - -.code { - white-space: pre; - background-color: #e8f8d6; - border: 1px solid black; - display: inline-block; - font-family: monospace; - font-size: 1.2em; -} - -/* Default theme */ -/* -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: #777777; - 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: #999999; -} - -/* 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: #555555; -} - -div.button.disabled span, div.button.disabled.active span { - color: #bbbbbb; -} - -/* Select */ -div.selector { - font-size: 12px; -} - -div.selector span { - color: #666666; - 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: #bbbbbb; -} - -/* 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: #ffffff; - font-size: 11px; - font-weight: bold; -} - -div.uploader span.filename { - color: #777777; - border-right: solid 1px #bbbbbb; - font-size: 11px; -} - -div.uploader.disabled span.action, div.uploader.disabled.active span.action { - color: #aaaaaa; -} - -div.uploader.disabled span.filename, div.uploader.disabled.active span.filename { - border-color: #dddddd; - color: #aaaaaa; -} - -input.uniform-input, input.uniform-input:focus { - background-color: #ffffff; -} - -/* Include multiple other themes */ -/* - -Uniform Theme: Agent -Version: 1.0 -By: Collin Allen -License: MIT ---- -For use with the Uniform plugin: -http://pixelmatrixdesign.com/uniform/ - -*/ -/* General settings */ -div.uniform-agent.selector, div.uniform-agent.selector span, div.uniform-agent.checker span, div.uniform-agent.radio span, div.uniform-agent.uploader, div.uniform-agent.uploader span.action, div.uniform-agent.button, div.uniform-agent.button span { - background-image: url("../images/sprite-agent.png"); - background-repeat: no-repeat; - -webkit-font-smoothing: antialiased; -} - -div.uniform-agent.selector, div.uniform-agent.checker, div.uniform-agent.button, div.uniform-agent.radio, div.uniform-agent.uploader { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - vertical-align: middle; - /* Keeping this as :focus to remove browser styles */ -} - -div.uniform-agent.selector:focus, div.uniform-agent.checker:focus, div.uniform-agent.button:focus, div.uniform-agent.radio:focus, div.uniform-agent.uploader:focus { - outline: 0; -} - -div.uniform-agent.selector, div.uniform-agent.selector *, div.uniform-agent.radio, div.uniform-agent.radio *, div.uniform-agent.checker, div.uniform-agent.checker *, div.uniform-agent.uploader, div.uniform-agent.uploader *, div.uniform-agent.button, div.uniform-agent.button * { - margin: 0; - padding: 0; -} - -.highContrastDetect { - background: url("../images/bg-input-agent.png") repeat-x 0 0; - width: 0px; - height: 0px; -} - -/* Input & Textarea */ -span.uniform-agent input.uniform-input, -span.uniform-agent select.uniform-multiselect, -span.uniform-agent textarea.uniform { - padding: 4px; - background: url("../images/bg-input-agent.png") repeat-x 0 0; - outline: 0; -} - -span.uniform-agent input.uniform-input.active, -span.uniform-agent select.uniform-multiselect.active, -span.uniform-agent 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.uniform-agent.checker input, -input[type="search"], -input[type="search"]:active { - -moz-appearance: none; - -webkit-appearance: none; -} - -/* Select */ -div.uniform-agent.selector { - background-position: 0 -160px; - line-height: 32px; - height: 32px; - padding: 0 0 0 12px; - position: relative; - overflow: hidden; -} - -div.uniform-agent.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.uniform-agent.selector.fixedWidth { - width: 190px; -} - -div.uniform-agent.selector.fixedWidth span { - width: 153px; -} - -div.uniform-agent.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.uniform-agent.selector.active { - background-position: 0 -192px; -} - -div.uniform-agent.selector.active span { - background-position: right -32px; -} - -div.uniform-agent.selector.hover, div.uniform-agent.selector.focus { - background-position: 0 -224px; -} - -div.uniform-agent.selector.hover span, div.uniform-agent.selector.focus span { - background-position: right -64px; -} - -div.uniform-agent.selector.hover.active, div.uniform-agent.selector.focus.active { - background-position: 0 -256px; -} - -div.uniform-agent.selector.hover.active span, div.uniform-agent.selector.focus.active span { - background-position: right -96px; -} - -div.uniform-agent.selector.disabled, div.uniform-agent.selector.disabled.active { - background-position: 0 -288px; -} - -div.uniform-agent.selector.disabled span, div.uniform-agent.selector.disabled.active span { - background-position: right -128px; -} - -/* Checkbox */ -div.uniform-agent.checker { - position: relative; -} - -div.uniform-agent.checker, div.uniform-agent.checker span, div.uniform-agent.checker input { - width: 23px; - height: 23px; -} - -div.uniform-agent.checker span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -320px; -} - -div.uniform-agent.checker span.checked { - background-position: -92px -320px; -} - -div.uniform-agent.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.uniform-agent.checker.active span { - background-position: -23px -320px; -} - -div.uniform-agent.checker.active span.checked { - background-position: -115px -320px; -} - -div.uniform-agent.checker.hover span, div.uniform-agent.checker.focus span { - background-position: -46px -320px; -} - -div.uniform-agent.checker.hover span.checked, div.uniform-agent.checker.focus span.checked { - background-position: -138px -320px; -} - -div.uniform-agent.checker.hover.active span, div.uniform-agent.checker.focus.active span { - background-position: -69px -320px; -} - -div.uniform-agent.checker.hover.active span.checked, div.uniform-agent.checker.focus.active span.checked { - background-position: -161px -320px; -} - -div.uniform-agent.checker.disabled, div.uniform-agent.checker.disabled.active { - background-position: -184px -320px; -} - -div.uniform-agent.checker.disabled span.checked, div.uniform-agent.checker.disabled.active span.checked { - background-position: -207px -320px; -} - -/* Radio */ -div.uniform-agent.radio { - position: relative; -} - -div.uniform-agent.radio, div.uniform-agent.radio span, div.uniform-agent.radio input { - width: 23px; - height: 23px; -} - -div.uniform-agent.radio span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -343px; -} - -div.uniform-agent.radio span.checked { - background-position: -92px -343px; -} - -div.uniform-agent.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.uniform-agent.radio.active span { - background-position: -23px -18px -343px; -} - -div.uniform-agent.radio.active span.checked { - background-position: -115px -343px; -} - -div.uniform-agent.radio.hover span, div.uniform-agent.radio.focus span { - background-position: -46px -36px -343px; -} - -div.uniform-agent.radio.hover span.checked, div.uniform-agent.radio.focus span.checked { - background-position: -138px -343px; -} - -div.uniform-agent.radio.hover.active span, div.uniform-agent.radio.focus.active span { - background-position: -69px -343px; -} - -div.uniform-agent.radio.hover.active span.checked, div.uniform-agent.radio.focus.active span.checked { - background-position: -161px -343px; -} - -div.uniform-agent.radio.disabled span, div.uniform-agent.radio.disabled.active span { - background-position: -184px -343px; -} - -div.uniform-agent.radio.disabled span.checked, div.uniform-agent.radio.disabled.active span.checked { - background-position: -207px -343px; -} - -/* Uploader */ -div.uniform-agent.uploader { - background-position: 0 -366px; - height: 32px; - width: 190px; - cursor: pointer; - position: relative; - overflow: hidden; -} - -div.uniform-agent.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.uniform-agent.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.uniform-agent.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.uniform-agent.uploader.active span.action { - background-position: right -558px; -} - -div.uniform-agent.uploader.hover, div.uniform-agent.uploader.focus { - background-position: 0 -430px; -} - -div.uniform-agent.uploader.hover span.action, div.uniform-agent.uploader.focus span.action { - background-position: right -526px; -} - -div.uniform-agent.uploader.hover.active span.action, div.uniform-agent.uploader.focus.active span.action { - background-position: right -590px; -} - -div.uniform-agent.uploader.disabled, div.uniform-agent.uploader.disabled.active { - background-position: 0 -398px; -} - -div.uniform-agent.uploader.disabled span.action, div.uniform-agent.uploader.disabled.active span.action { - background-position: right -462px; -} - -/* Buttons */ -div.uniform-agent.button { - background-position: 0 -750px; - height: 32px; - cursor: pointer; - position: relative; - /* Keep buttons barely visible so they can get focus */ -} - -div.uniform-agent.button a, div.uniform-agent.button button, div.uniform-agent.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.uniform-agent.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: 9px 15px 0 2px; -} - -div.uniform-agent.button.active { - background-position: 0 -782px; -} - -div.uniform-agent.button.active span { - background-position: right -654px; - cursor: default; -} - -div.uniform-agent.button.hover, div.uniform-agent.button.focus { - background-position: 0 -814px; -} - -div.uniform-agent.button.hover span, div.uniform-agent.button.focus span { - background-position: right -686px; -} - -div.uniform-agent.button.disabled, div.uniform-agent.button.disabled.active { - background-position: 0 -846px; -} - -div.uniform-agent.button.disabled span, div.uniform-agent.button.disabled.active span { - background-position: right -718px; - cursor: default; -} - -span.uniform-agent input.uniform-input, -span.uniform-agent select.uniform-multiselect, -span.uniform-agent 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; -} - -span.uniform-agent input.uniform-input.hover, span.uniform-agent input.uniform-input.focus, -span.uniform-agent select.uniform-multiselect.hover, -span.uniform-agent select.uniform-multiselect.focus, -span.uniform-agent textarea.uniform.hover, -span.uniform-agent 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: #999999; - background-color: #575757; -} - -div.uniform-agent.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.uniform-agent.button.disabled span, div.uniform-agent.button.disabled.active span { - color: #bbbbbb; -} - -/* Select */ -div.uniform-agent.selector { - font-weight: bold; - color: #464545; - font-size: 14px; -} - -div.uniform-agent.selector span { - padding: 0 25px 0 0; - color: #ffffff; - font-weight: normal; - text-shadow: 0 1px 0 white; -} - -div.uniform-agent.selector select { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 1em; - border: solid 1px white; -} - -div.uniform-agent.selector.disabled span, div.uniform-agent.selector.disabled.active span { - color: #bbbbbb; -} - -/* Checker */ -div.uniform-agent.checker { - margin-right: 10px; -} - -/* Radio */ -div.uniform-agent.radio { - margin-right: 10px; -} - -/* Uploader */ -div.uniform-agent.uploader { - margin-bottom: 20px; - cursor: pointer; -} - -div.uniform-agent.uploader span.action { - text-align: center; - text-shadow: #1a1a1a 0px 1px 0px; - background-color: #ffffff; - font-weight: bold; - color: #ffffff; -} - -div.uniform-agent.uploader span.filename { - color: #777777; - font-size: 11px; -} - -div.uniform-agent.uploader.disabled span.action, div.uniform-agent.uploader.disabled.active span.action { - color: #aaaaaa; -} - -div.uniform-agent.uploader.disabled span.filename, div.uniform-agent.uploader.disabled.active span.filename { - border-color: #dddddd; - color: #aaaaaa; -} - -/* - -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.uniform-aristo.selector, div.uniform-aristo.selector span, div.uniform-aristo.checker span, div.uniform-aristo.radio span, div.uniform-aristo.uploader, div.uniform-aristo.uploader span.action, div.uniform-aristo.button, div.uniform-aristo.button span { - background-image: url("../images/sprite-aristo.png"); - background-repeat: no-repeat; - -webkit-font-smoothing: antialiased; -} - -div.uniform-aristo.selector, div.uniform-aristo.checker, div.uniform-aristo.button, div.uniform-aristo.radio, div.uniform-aristo.uploader { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - vertical-align: middle; - /* Keeping this as :focus to remove browser styles */ -} - -div.uniform-aristo.selector:focus, div.uniform-aristo.checker:focus, div.uniform-aristo.button:focus, div.uniform-aristo.radio:focus, div.uniform-aristo.uploader:focus { - outline: 0; -} - -div.uniform-aristo.selector, div.uniform-aristo.selector *, div.uniform-aristo.radio, div.uniform-aristo.radio *, div.uniform-aristo.checker, div.uniform-aristo.checker *, div.uniform-aristo.uploader, div.uniform-aristo.uploader *, div.uniform-aristo.button, div.uniform-aristo.button * { - margin: 0; - padding: 0; -} - -.highContrastDetect { - background: url("../images/bg-input-aristo.png") repeat-x 0 0; - width: 0px; - height: 0px; -} - -/* Input & Textarea */ -span.uniform-aristo input.uniform-input, -span.uniform-aristo select.uniform-multiselect, -span.uniform-aristo textarea.uniform { - padding: 4px; - background: url("../images/bg-input-aristo.png") repeat-x 0 0; - outline: 0; -} - -span.uniform-aristo input.uniform-input.active, -span.uniform-aristo select.uniform-multiselect.active, -span.uniform-aristo 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.uniform-aristo.checker input, -input[type="search"], -input[type="search"]:active { - -moz-appearance: none; - -webkit-appearance: none; -} - -/* Select */ -div.uniform-aristo.selector { - background-position: 0 -160px; - line-height: 32px; - height: 32px; - padding: 0 0 0 10px; - position: relative; - overflow: hidden; -} - -div.uniform-aristo.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.uniform-aristo.selector.fixedWidth { - width: 190px; -} - -div.uniform-aristo.selector.fixedWidth span { - width: 155px; -} - -div.uniform-aristo.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.uniform-aristo.selector.active { - background-position: 0 -192px; -} - -div.uniform-aristo.selector.active span { - background-position: right -32px; -} - -div.uniform-aristo.selector.hover, div.uniform-aristo.selector.focus { - background-position: 0 -224px; -} - -div.uniform-aristo.selector.hover span, div.uniform-aristo.selector.focus span { - background-position: right -64px; -} - -div.uniform-aristo.selector.hover.active, div.uniform-aristo.selector.focus.active { - background-position: 0 -256px; -} - -div.uniform-aristo.selector.hover.active span, div.uniform-aristo.selector.focus.active span { - background-position: right -96px; -} - -div.uniform-aristo.selector.disabled, div.uniform-aristo.selector.disabled.active { - background-position: 0 -288px; -} - -div.uniform-aristo.selector.disabled span, div.uniform-aristo.selector.disabled.active span { - background-position: right -128px; -} - -/* Checkbox */ -div.uniform-aristo.checker { - position: relative; -} - -div.uniform-aristo.checker, div.uniform-aristo.checker span, div.uniform-aristo.checker input { - width: 23px; - height: 23px; -} - -div.uniform-aristo.checker span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -320px; -} - -div.uniform-aristo.checker span.checked { - background-position: -92px -320px; -} - -div.uniform-aristo.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.uniform-aristo.checker.active span { - background-position: -23px -320px; -} - -div.uniform-aristo.checker.active span.checked { - background-position: -115px -320px; -} - -div.uniform-aristo.checker.hover span, div.uniform-aristo.checker.focus span { - background-position: -46px -320px; -} - -div.uniform-aristo.checker.hover span.checked, div.uniform-aristo.checker.focus span.checked { - background-position: -138px -320px; -} - -div.uniform-aristo.checker.hover.active span, div.uniform-aristo.checker.focus.active span { - background-position: -69px -320px; -} - -div.uniform-aristo.checker.hover.active span.checked, div.uniform-aristo.checker.focus.active span.checked { - background-position: -161px -320px; -} - -div.uniform-aristo.checker.disabled, div.uniform-aristo.checker.disabled.active { - background-position: -184px -320px; -} - -div.uniform-aristo.checker.disabled span.checked, div.uniform-aristo.checker.disabled.active span.checked { - background-position: -207px -320px; -} - -/* Radio */ -div.uniform-aristo.radio { - position: relative; -} - -div.uniform-aristo.radio, div.uniform-aristo.radio span, div.uniform-aristo.radio input { - width: 23px; - height: 23px; -} - -div.uniform-aristo.radio span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -343px; -} - -div.uniform-aristo.radio span.checked { - background-position: -92px -343px; -} - -div.uniform-aristo.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.uniform-aristo.radio.active span { - background-position: -23px -18px -343px; -} - -div.uniform-aristo.radio.active span.checked { - background-position: -115px -343px; -} - -div.uniform-aristo.radio.hover span, div.uniform-aristo.radio.focus span { - background-position: -46px -36px -343px; -} - -div.uniform-aristo.radio.hover span.checked, div.uniform-aristo.radio.focus span.checked { - background-position: -138px -343px; -} - -div.uniform-aristo.radio.hover.active span, div.uniform-aristo.radio.focus.active span { - background-position: -69px -343px; -} - -div.uniform-aristo.radio.hover.active span.checked, div.uniform-aristo.radio.focus.active span.checked { - background-position: -161px -343px; -} - -div.uniform-aristo.radio.disabled span, div.uniform-aristo.radio.disabled.active span { - background-position: -184px -343px; -} - -div.uniform-aristo.radio.disabled span.checked, div.uniform-aristo.radio.disabled.active span.checked { - background-position: -207px -343px; -} - -/* Uploader */ -div.uniform-aristo.uploader { - background-position: 0 -366px; - height: 32px; - width: 190px; - cursor: pointer; - position: relative; - overflow: hidden; -} - -div.uniform-aristo.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.uniform-aristo.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.uniform-aristo.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.uniform-aristo.uploader.active span.action { - background-position: right -558px; -} - -div.uniform-aristo.uploader.hover, div.uniform-aristo.uploader.focus { - background-position: 0 -430px; -} - -div.uniform-aristo.uploader.hover span.action, div.uniform-aristo.uploader.focus span.action { - background-position: right -526px; -} - -div.uniform-aristo.uploader.hover.active span.action, div.uniform-aristo.uploader.focus.active span.action { - background-position: right -590px; -} - -div.uniform-aristo.uploader.disabled, div.uniform-aristo.uploader.disabled.active { - background-position: 0 -398px; -} - -div.uniform-aristo.uploader.disabled span.action, div.uniform-aristo.uploader.disabled.active span.action { - background-position: right -462px; -} - -/* Buttons */ -div.uniform-aristo.button { - background-position: 0 -750px; - height: 32px; - cursor: pointer; - position: relative; - /* Keep buttons barely visible so they can get focus */ -} - -div.uniform-aristo.button a, div.uniform-aristo.button button, div.uniform-aristo.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.uniform-aristo.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.uniform-aristo.button.active { - background-position: 0 -782px; -} - -div.uniform-aristo.button.active span { - background-position: right -654px; - cursor: default; -} - -div.uniform-aristo.button.hover, div.uniform-aristo.button.focus { - background-position: 0 -814px; -} - -div.uniform-aristo.button.hover span, div.uniform-aristo.button.focus span { - background-position: right -686px; -} - -div.uniform-aristo.button.disabled, div.uniform-aristo.button.disabled.active { - background-position: 0 -846px; -} - -div.uniform-aristo.button.disabled span, div.uniform-aristo.button.disabled.active span { - background-position: right -718px; - cursor: default; -} - -/* INPUT & TEXTAREA */ -span.uniform-aristo input.uniform-input, -span.uniform-aristo select.uniform-multiselect, -span.uniform-aristo textarea.uniform { - font-size: 14px; - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-weight: normal; - color: #777777; - 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; -} - -span.uniform-aristo input.uniform-input.hover, span.uniform-aristo input.uniform-input.focus, -span.uniform-aristo select.uniform-multiselect.hover, -span.uniform-aristo select.uniform-multiselect.focus, -span.uniform-aristo textarea.uniform.hover, -span.uniform-aristo 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: #999999; - background-color: #a1cbe2; -} - -/* Uploader */ -div.uniform-aristo.button span { - font-weight: bold; - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 13px; - letter-spacing: 1px; - text-transform: uppercase; -} - -div.uniform-aristo.button.hover span, div.uniform-aristo.button.focus span { - color: #555555; -} - -div.uniform-aristo.button.disabled span, div.uniform-aristo.button.disabled.active span { - color: #bbbbbb; -} - -/* Select */ -div.uniform-aristo.selector { - font-weight: bold; - color: #464545; - font-size: 14px; -} - -div.uniform-aristo.selector span { - color: #666666; - text-shadow: 0 1px 0 white; -} - -div.uniform-aristo.selector select { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 1em; - border: solid 1px white; -} - -div.uniform-aristo.selector.disabled span, div.uniform-aristo.selector.disabled.active span { - color: #bbbbbb; -} - -/* Checker */ -div.uniform-aristo.checker { - margin-right: 10px; -} - -/* Radio */ -div.uniform-aristo.radio { - margin-right: 10px; -} - -div.uniform-aristo.uploader span.action { - text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px; - background-color: #ffffff; - font-weight: bold; - color: #1c4257; -} - -div.uniform-aristo.uploader span.filename { - color: #777777; - font-size: 11px; -} - -div.uniform-aristo.uploader.disabled span.action, div.uniform-aristo.uploader.disabled.active span.action { - color: #aaaaaa; -} - -div.uniform-aristo.uploader.disabled span.filename, div.uniform-aristo.uploader.disabled.active span.filename { - border-color: #dddddd; - color: #aaaaaa; -} - -/* - -Uniform Theme: Crayon -Version: 2.0 -By: Tyler Akins -License: MIT License ---- -For use with the Uniform plugin: -http://uniformjs.com/ - -*/ -/* General settings */ -div.uniform-jeans.selector, div.uniform-jeans.selector span, div.uniform-jeans.checker span, div.uniform-jeans.radio span, div.uniform-jeans.uploader, div.uniform-jeans.uploader span.action, div.uniform-jeans.button, div.uniform-jeans.button span { - background-image: url("../images/sprite-jeans.png"); - background-repeat: no-repeat; - -webkit-font-smoothing: antialiased; -} - -div.uniform-jeans.selector, div.uniform-jeans.checker, div.uniform-jeans.button, div.uniform-jeans.radio, div.uniform-jeans.uploader { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - vertical-align: middle; - /* Keeping this as :focus to remove browser styles */ -} - -div.uniform-jeans.selector:focus, div.uniform-jeans.checker:focus, div.uniform-jeans.button:focus, div.uniform-jeans.radio:focus, div.uniform-jeans.uploader:focus { - outline: 0; -} - -div.uniform-jeans.selector, div.uniform-jeans.selector *, div.uniform-jeans.radio, div.uniform-jeans.radio *, div.uniform-jeans.checker, div.uniform-jeans.checker *, div.uniform-jeans.uploader, div.uniform-jeans.uploader *, div.uniform-jeans.button, div.uniform-jeans.button * { - margin: 0; - padding: 0; -} - -.highContrastDetect { - background: url("../images/bg-input-jeans.png") repeat-x 0 0; - width: 0px; - height: 0px; -} - -/* Input & Textarea */ -span.uniform-jeans input.uniform-input, -span.uniform-jeans select.uniform-multiselect, -span.uniform-jeans textarea.uniform { - padding: 3px; - background: url("../images/bg-input-jeans.png") repeat-x 0 0; - outline: 0; -} - -span.uniform-jeans input.uniform-input.active, -span.uniform-jeans select.uniform-multiselect.active, -span.uniform-jeans 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.uniform-jeans.checker input, -input[type="search"], -input[type="search"]:active { - -moz-appearance: none; - -webkit-appearance: none; -} - -/* Select */ -div.uniform-jeans.selector { - background-position: 0 -130px; - line-height: 26px; - height: 26px; - padding: 0 0 0 10px; - position: relative; - overflow: hidden; -} - -div.uniform-jeans.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.uniform-jeans.selector.fixedWidth { - width: 190px; -} - -div.uniform-jeans.selector.fixedWidth span { - width: 155px; -} - -div.uniform-jeans.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.uniform-jeans.selector.active { - background-position: 0 -156px; -} - -div.uniform-jeans.selector.active span { - background-position: right -26px; -} - -div.uniform-jeans.selector.hover, div.uniform-jeans.selector.focus { - background-position: 0 -182px; -} - -div.uniform-jeans.selector.hover span, div.uniform-jeans.selector.focus span { - background-position: right -52px; -} - -div.uniform-jeans.selector.hover.active, div.uniform-jeans.selector.focus.active { - background-position: 0 -208px; -} - -div.uniform-jeans.selector.hover.active span, div.uniform-jeans.selector.focus.active span { - background-position: right -78px; -} - -div.uniform-jeans.selector.disabled, div.uniform-jeans.selector.disabled.active { - background-position: 0 -234px; -} - -div.uniform-jeans.selector.disabled span, div.uniform-jeans.selector.disabled.active span { - background-position: right -104px; -} - -/* Checkbox */ -div.uniform-jeans.checker { - position: relative; -} - -div.uniform-jeans.checker, div.uniform-jeans.checker span, div.uniform-jeans.checker input { - width: 19px; - height: 19px; -} - -div.uniform-jeans.checker span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -260px; -} - -div.uniform-jeans.checker span.checked { - background-position: -76px -260px; -} - -div.uniform-jeans.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.uniform-jeans.checker.active span { - background-position: -19px -260px; -} - -div.uniform-jeans.checker.active span.checked { - background-position: -95px -260px; -} - -div.uniform-jeans.checker.hover span, div.uniform-jeans.checker.focus span { - background-position: -38px -260px; -} - -div.uniform-jeans.checker.hover span.checked, div.uniform-jeans.checker.focus span.checked { - background-position: -114px -260px; -} - -div.uniform-jeans.checker.hover.active span, div.uniform-jeans.checker.focus.active span { - background-position: -57px -260px; -} - -div.uniform-jeans.checker.hover.active span.checked, div.uniform-jeans.checker.focus.active span.checked { - background-position: -133px -260px; -} - -div.uniform-jeans.checker.disabled, div.uniform-jeans.checker.disabled.active { - background-position: -152px -260px; -} - -div.uniform-jeans.checker.disabled span.checked, div.uniform-jeans.checker.disabled.active span.checked { - background-position: -171px -260px; -} - -/* Radio */ -div.uniform-jeans.radio { - position: relative; -} - -div.uniform-jeans.radio, div.uniform-jeans.radio span, div.uniform-jeans.radio input { - width: 18px; - height: 18px; -} - -div.uniform-jeans.radio span { - display: -moz-inline-box; - display: inline-block; - *display: inline; - zoom: 1; - text-align: center; - background-position: 0 -279px; -} - -div.uniform-jeans.radio span.checked { - background-position: -72px -279px; -} - -div.uniform-jeans.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.uniform-jeans.radio.active span { - background-position: -18px -18px -279px; -} - -div.uniform-jeans.radio.active span.checked { - background-position: -90px -279px; -} - -div.uniform-jeans.radio.hover span, div.uniform-jeans.radio.focus span { - background-position: -36px -36px -279px; -} - -div.uniform-jeans.radio.hover span.checked, div.uniform-jeans.radio.focus span.checked { - background-position: -108px -279px; -} - -div.uniform-jeans.radio.hover.active span, div.uniform-jeans.radio.focus.active span { - background-position: -54px -279px; -} - -div.uniform-jeans.radio.hover.active span.checked, div.uniform-jeans.radio.focus.active span.checked { - background-position: -126px -279px; -} - -div.uniform-jeans.radio.disabled span, div.uniform-jeans.radio.disabled.active span { - background-position: -144px -279px; -} - -div.uniform-jeans.radio.disabled span.checked, div.uniform-jeans.radio.disabled.active span.checked { - background-position: -162px -279px; -} - -/* Uploader */ -div.uniform-jeans.uploader { - background-position: 0 -297px; - height: 28px; - width: 190px; - cursor: pointer; - position: relative; - overflow: hidden; -} - -div.uniform-jeans.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.uniform-jeans.uploader span.filename { - text-overflow: ellipsis; - display: block; - overflow: hidden; - white-space: nowrap; - float: left; - cursor: default; - height: 22px; - margin: 2px 0 4px 2px; - line-height: 22px; - width: 85px; - padding: 0 10px; -} - -div.uniform-jeans.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.uniform-jeans.uploader.active span.action { - background-position: right -465px; -} - -div.uniform-jeans.uploader.hover, div.uniform-jeans.uploader.focus { - background-position: 0 -353px; -} - -div.uniform-jeans.uploader.hover span.action, div.uniform-jeans.uploader.focus span.action { - background-position: right -437px; -} - -div.uniform-jeans.uploader.hover.active span.action, div.uniform-jeans.uploader.focus.active span.action { - background-position: right -493px; -} - -div.uniform-jeans.uploader.disabled, div.uniform-jeans.uploader.disabled.active { - background-position: 0 -325px; -} - -div.uniform-jeans.uploader.disabled span.action, div.uniform-jeans.uploader.disabled.active span.action { - background-position: right -381px; -} - -/* Buttons */ -div.uniform-jeans.button { - background-position: 0 -641px; - height: 30px; - cursor: pointer; - position: relative; - /* Keep buttons barely visible so they can get focus */ -} - -div.uniform-jeans.button a, div.uniform-jeans.button button, div.uniform-jeans.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.uniform-jeans.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.uniform-jeans.button.active { - background-position: 0 -671px; -} - -div.uniform-jeans.button.active span { - background-position: right -551px; - cursor: default; -} - -div.uniform-jeans.button.hover, div.uniform-jeans.button.focus { - background-position: 0 -701px; -} - -div.uniform-jeans.button.hover span, div.uniform-jeans.button.focus span { - background-position: right -581px; -} - -div.uniform-jeans.button.disabled, div.uniform-jeans.button.disabled.active { - background-position: 0 -731px; -} - -div.uniform-jeans.button.disabled span, div.uniform-jeans.button.disabled.active span { - background-position: right -611px; - cursor: default; -} - -/* INPUT & TEXTAREA */ -span.uniform-jeans input.uniform-input, -span.uniform-jeans select.uniform-multiselect, -span.uniform-jeans 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; -} - -span.uniform-jeans input.uniform-input:focus, -span.uniform-jeans select.uniform-multiselect:focus, -span.uniform-jeans 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: #999999; -} - -/* PRESENTATION */ -/* Buttons */ -div.uniform-jeans.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.uniform-jeans.button.hover span, div.uniform-jeans.button.focus span { - color: #ffe000; -} - -div.uniform-jeans.button.disabled span, div.uniform-jeans.button.disabled.active span { - color: #ffe000; -} - -/* Select */ -div.uniform-jeans.selector { - font-size: 12px; -} - -div.uniform-jeans.selector select { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 12px; -} - -div.uniform-jeans.selector span { - color: #ffe000; - text-shadow: 0 1px 0 black; -} - -div.uniform-jeans.selector.disabled span, div.uniform-jeans.selector.disabled.active span { - color: #ffe000; -} - -/* Checker */ -div.uniform-jeans.checker { - margin-right: 5px; -} - -/* Radio */ -div.uniform-jeans.radio { - margin-right: 3px; -} - -/* Uploader */ -div.uniform-jeans.uploader span.action { - text-shadow: black 0px 1px 0px; - background-color: #ffffff; - font-size: 11px; - font-weight: bold; - color: #ffe000; -} - -div.uniform-jeans.uploader span.filename { - color: #ffe000; - font-size: 11px; - border-right: 1px solid #2f4368; -} - -div.uniform-jeans.uploader.disabled span.action, div.uniform-jeans.uploader.disabled.active span.action { - color: #ffe000; -} - -div.uniform-jeans.uploader.disabled span.filename, div.uniform-jeans.uploader.disabled.active span.filename { - border-color: #dddddd; - color: #ffe000; -} - -span.uniform-jeans input.uniform-input, span.uniform-jeans input.uniform-input:focus, -span.uniform-jeans select.uniform-multiselect, -span.uniform-jeans select.uniform-multiselect:focus, -span.uniform-jeans textarea.uniform, -span.uniform-jeans 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.uniform-jeans.selector, div.uniform-jeans.selector span, div.uniform-jeans.checker span, div.uniform-jeans.radio span, div.uniform-jeans.uploader, div.uniform-jeans.uploader span.action, div.uniform-jeans.button, div.uniform-jeans.button span { - background-image: url("../images/sprite-retina-jeans.png"); - background-size: 493px; - } - - span.uniform-jeans input.uniform-input, - span.uniform-jeans select.uniform-multiselect, - span.uniform-jeans textarea.uniform { - background-image: url("../images/bg-input-retina-jeans.png"); - background-size: 60px; - } - - span.uniform-jeans input.uniform-input.active, - span.uniform-jeans select.uniform-multiselect.active, - span.uniform-jeans textarea.uniform.active { - background-image: url("../images/bg-input-focus-retina-jeans.png"); - } -} - -/* Reset for the simple example below*/ -/* Along with the default theme, this tiny bit of SCSS makes the - * simple example work. Only use this method when the sprite images - * depict elements with identical sizes. */ -.jeans div.selector, .jeans div.selector span, .jeans div.checker span, .jeans div.radio span, .jeans div.uploader, .jeans div.uploader span.action, .jeans div.button, .jeans div.button span { - background-image: url("../images/sprite-jeans.png"); -} - -.jeans span input.uniform-input, -.jeans span select.uniform-multiselect, -.jeans span textarea.uniform { - background-image: url("../images/bg-input-jeans.png"); -} - -.jeans span input.uniform-input.active, -.jeans span select.uniform-multiselect.active, -.jeans span textarea.uniform.active { - background-image: url("../images/bg-input-focus-jeans.png"); -} - -.jeans input { - color: #ffe000; -} diff --git a/www/stylesheets/multiple-themes.scss b/www/stylesheets/multiple-themes.scss deleted file mode 100644 index 3bfe50b..0000000 --- a/www/stylesheets/multiple-themes.scss +++ /dev/null @@ -1,49 +0,0 @@ -.examples { - margin: 1em; -} - -.example { - background-color: rgb(230, 196, 230); - border: 1px solid black; - display: inline-block; -} - -h4 { - margin-top: 0; - padding-top: 0; -} - -.code { - white-space: pre; - background-color: rgb(232, 248, 214); - border: 1px solid black; - display: inline-block; - font-family: monospace; - font-size: 1.2em; -} - -/* Default theme */ -@import "../../themes/default/css/uniform.default.scss"; - -/* Include multiple other themes */ -$class-wrapper: ".uniform-agent"; -@import "../../themes/agent/css/uniform.agent.scss"; - -$class-wrapper: ".uniform-aristo"; -@import "../../themes/aristo/css/uniform.aristo.scss"; - -$class-wrapper: ".uniform-jeans"; -@import "../../themes/jeans/css/uniform.jeans.scss"; - -$class-wrapper: ""; /* Reset for the simple example below*/ - -/* Along with the default theme, this tiny bit of SCSS makes the - * simple example work. Only use this method when the sprite images - * depict elements with identical sizes. */ -.jeans { - @include use-backgrounds(url('../images/sprite-jeans.png'), 0, url('../images/bg-input-jeans.png'), url('../images/bg-input-focus-jeans.png'), 0); - - input { - color: #ffe000; - } -} diff --git a/www/stylesheets/site.css b/www/stylesheets/site.css deleted file mode 100644 index 4c80eae..0000000 --- a/www/stylesheets/site.css +++ /dev/null @@ -1,588 +0,0 @@ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; - padding: 0; - border: 0; - outline: 0; - font-weight: inherit; - font-style: inherit; - font-size: 100%; - font-family: inherit; - vertical-align: baseline; -} - -*:focus { - outline: 0; -} - -body { - line-height: 1; - color: #000; - background: #fff; -} - -ol, ul { - list-style: none; -} - -table { - border-collapse: separate; - border-spacing: 0; - vertical-align: middle; -} - -caption, th, td { - text-align: left; - font-weight: normal; - vertical-align: middle; -} - -a img { - border: none; -} - -body { - line-height: 1.5; - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - color: #666666; - font-size: 87.5%; -} - -h1 { - font-size: 2em; - line-height: 1; - margin-bottom: 1em; - font-weight: 200; - font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #444; -} - -h1.title { - line-height: 1; - font-weight: bold; - color: #444; - font-size: 3em; - margin-bottom: 0; -} - -h2 { - font-size: 1.2em; - line-height: 1.25; - font-weight: bold; - margin-top: 10px; - margin-bottom: 10px; - color: #444; -} - -h2.subtitle { - font-weight: bold; - line-height: 1.5; - color: #666; - font-size: 1.3em; - display: inline; - margin-bottom: 0; - float: left; -} - -h3 { - color: #222222; - font-weight: bold; - font-weight: bold; - font-size: 1em; - margin-bottom: 5px; -} - -h3.link { - text-decoration: underline; - cursor: pointer; -} - -p { - margin: 0 0 1.5em; -} - -a { - text-decoration: underline; - color: #3e6b99; -} - -a:visited { - color: #3e6b99; -} - -a:focus { - color: #3e6b99; -} - -a:hover { - color: #5184b9; -} - -a:active { - color: #3e6b99; -} - -em { - font-style: italic; -} - -pre { - white-space: pre; - padding: 0; - margin: 0; - display: block; - background: #e5e8eb url('../images/bg-code.png') no-repeat 0 0; - padding: 10px; - text-shadow: rgba(255, 255, 255, 0.3) 0 1px 0; - left: -120px; - width: 710px; - padding-right: 120px; - padding-left: 120px; - margin-bottom: 1.5em; - color: #46596c; - position: relative; -} - -code { - color: #46596c; - background: #e5e8eb; - padding: 3px; -} - -pre code { - padding: 0; -} - -pre, code, tt { - font: 1em 'andale mono', 'lucida console', monospace; - line-height: 1.5; -} - -ul { - margin: 0 1.5em 1.5em 0; - padding-left: 3.333em; - list-style-type: disc; -} - -table { - margin-bottom: 1.4em; - width: 100%; -} - -th { - font-weight: bold; -} - -th, td { - padding: 4px 10px 4px 5px; -} - -tr.even td { - background: #e5ecf9; -} - -a { - color: #3e6b99; - font-weight: bold; - text-decoration: none; -} - -a:visited { - color: #3e6b99; -} - -a:focus { - color: #3e6b99; -} - -a:hover { - color: #5184b9; -} - -a:active { - color: #3e6b99; -} - -a:hover { - text-decoration: underline; -} - -#frame { - text-align: left; - width: 950px; - margin: 0 auto; - overflow: hidden; - display: inline-block; - display: block; -} - -ul { - padding-left: 20px; -} - -table { - margin-bottom: 10px; -} - -table tr { - background-color: #e5e8eb; -} - -table tr:hover { - background-color: #dfe3e7; -} - -table td { - border-bottom: solid 3px #fff; - padding: 10px; - font-size: .8em; -} - -table td.name { - font-size: 1em; -} - -table td.download { - text-align: right; - padding-right: 15px; -} - -table td.preview { - padding-left: 0; - width: 90px; -} - -.btn-lg { - font-size: 1.1em; - height: 39px; - display: block; - overflow: hidden; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - border: solid 1px #6e93b0; - background: url('../images/btn-lg-bg.png') repeat-x 0 0; - text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; - color: #234e70 !important; - margin-bottom: 5px; - padding: 5px 10px; - line-height: 1.4; -} - -.btn-lg img { - vertical-align: text-top; - display: inline; - float: left; - margin-right: 10px; - margin-top: 2px; -} - -.btn-lg span { - font-size: .8em; - font-weight: normal; - display: block; - color: #3f6890 !important; -} - -.btn-lg:hover { - text-decoration: none; -} - -.btn-lg:active { - background-position: 0 bottom; -} - -.btn { - font-size: 1em; - color: #234e70; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - box-shadow: rgba(0, 0, 0, 0.15) 0 1px 3px; - border: solid 1px #6e93b0; - background: url('../images/btn-sm-bg.png') repeat-x 0 0; - height: 27px; - line-height: 26px; - text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; - display: inline; - float: left; - margin-right: 5px; - padding: 0 10px; -} - -.btn:hover { - text-decoration: none; - color: #234e70; -} - -.btn:active { - background-position: 0 bottom; -} - -#header { - margin-top: 60px; - display: inline; - float: left; - margin-right: 0; - width: 710px; - padding-left: 120px; - padding-right: 120px; - margin-bottom: 40px; -} - -* html #header { - overflow-x: hidden; -} - -#header ul.nav { - margin: 0; - padding: 0; - border: 0; - outline: 0; - overflow: hidden; - display: inline-block; - display: inline; - float: right; - font-size: 1.2em; -} - -#header ul.nav { - display: block; -} - -#header ul.nav li { - list-style-type: none; - margin-left: 0; - white-space: nowrap; - display: inline; - float: left; - padding-left: 4px; - padding-right: 4px; -} - -#header ul.nav li { - padding: 0 15px; -} - -#intro { - padding-right: 40px; - display: inline; - float: left; - margin-right: 10px; - width: 430px; - padding-left: 120px; -} - -* html #intro { - overflow-x: hidden; -} - -#download { - padding-right: 120px; - display: inline; - float: left; - margin-right: 0; - width: 230px; - display: inline; - float: right; -} - -* html #download { - overflow-x: hidden; -} - -#download .github { - font-size: .9em; - margin-bottom: 0; -} - -#download .version { - font-size: .8em; -} - -#example { - padding-right: 40px; - display: inline; - float: left; - margin-right: 10px; - width: 430px; - padding-left: 120px; -} - -* html #example { - overflow-x: hidden; -} - -#example form { - overflow: hidden; - display: inline-block; - margin-bottom: 20px; -} - -#example form { - display: block; -} - -#example .select-radio { - display: inline; - float: left; - margin-right: 10px; - width: 190px; - padding-right: 40px; -} - -* html #example .select-radio { - overflow-x: hidden; -} - -#example .file-checkbox { - display: inline; - float: left; - margin-right: 0; - width: 190px; -} - -* html #example .file-checkbox { - overflow-x: hidden; -} - -#example label { - font-weight: bold; - color: #555; - display: block; - margin-bottom: 10px; -} - -#example .controls { - clear: both; - overflow: hidden; - display: inline-block; - margin-bottom: 40px; -} - -#example .controls { - display: block; -} - -#docs { - clear: both; - display: inline; - float: left; - margin-right: 0; - width: 710px; - padding-right: 120px; - padding-left: 120px; - margin-bottom: 20px; -} - -* html #docs { - overflow-x: hidden; -} - -#themes { - display: inline; - float: left; - margin-right: 0; - width: 710px; - padding-right: 120px; - padding-left: 120px; - margin-bottom: 20px; -} - -* html #themes { - overflow-x: hidden; -} - -#contribute { - display: inline; - float: left; - margin-right: 0; - width: 710px; - padding-right: 120px; - padding-left: 120px; - margin-bottom: 10px; -} - -* html #contribute { - overflow-x: hidden; -} - -#footer { - padding-right: 120px; - padding-left: 120px; - display: inline; - float: left; - margin-right: 0; - width: 710px; - font-size: .8em; - margin-bottom: 20px; - padding-top: 20px; - border-top: solid 1px #eee; -} - -* html #footer { - overflow-x: hidden; -} - -#footer p { - margin-bottom: 5px; - color: #999; -} - -#footer #pixelmatrix { - display: inline; - float: right; -} - -.generator label { - display: block; - font-weight: bold; - color: #444; - margin-bottom: 10px; - margin-top: 10px; -} - -.generator h1 { - clear: both; -} - -.generator h2 { - margin-top: 20px; -} - -.generator input[type='text'] { - display: inline-block; - display: inline; -} - -.generator .btn { - margin-top: 10px; - margin-bottom: 20px; -} - -.generator #download-btn { - margin-top: 20px; -} - -.generator #code-col { - display: inline; - float: right; - width: 400px; -} - -.generator #code-col textarea { - margin-bottom: 10px; - font-family: "Monaco", "Andale Mono", Courier, monospace; - background-color: #e5e8eb; - color: #46596c; - font-size: 11px; - text-shadow: rgba(255, 255, 255, 0.3) 0 1px 0; -} - -.generator #code-col p { - font-size: .85em; -}