diff options
Diffstat (limited to 'tools/ThemeEditor')
758 files changed, 2341 insertions, 28430 deletions
diff --git a/tools/ThemeEditor/Gruntfile.js b/tools/ThemeEditor/Gruntfile.js deleted file mode 100644 index c68a7138..00000000 --- a/tools/ThemeEditor/Gruntfile.js +++ /dev/null @@ -1,302 +0,0 @@ -module.exports = function (grunt) { - "use strict"; - - var jsConcatFiles = {}, - initConfig = { - pkg: grunt.file.readJSON("package.json"), - - clean: { - dist: ["dist/*"], - "dist-non-min": ["dist/js/*.js", "!dist/js/*.min.js"], - res: ["src/res/*", "!src/res/*.less"] - }, - copy: { - main: { - cwd: "src/", - expand: true, - src: ["./**/*", "!./js/**", "!./less/**", "!./banner.txt"], - dest: "dist/" - }, - jslibs: { - src: "dist/js/libs.js", - dest: "dist/js/libs.min.js" - }, - res: { - cwd: "../../tau/src/css/profile", - expand: true, - src: ["./**/*", "!./wearable/default/**", "!./wearable/changeable/theme-black/**", "!./mobile/default/**"], - dest: "src/res/less" - }, - colormaps: { - cwd: "../../tau/dist/", - expand: true, - flatten: true, - src: ["./**/colormap.json"], - dest: "dist/" - } - }, - - jslint: { - js: { - src: ["src/js/**/*.js"], - directives: { - browser: true, - white: true, - todo: true, - plusplus: true, - predef: ["window", "document"] - } - }, - dist: { - src: ["dist/js/*.js"], - exclude: ["dist/js/libs.js"], - directives: { - browser: true, - white: true, - todo: true, - plusplus: true, - predef: ["window", "document"] - } - } - }, - - concat: { - js: {}, // This property is changed by string-replace:js task - jslibs: {} // This property is changed by string-replace:js task - }, - - uglify: { - "dist-js": { - options: { - stripBanners: true, - banner: grunt.file.read("src/banner.txt") - }, - files: { - "dist/js/themeEditor.min.js": "dist/js/themeEditor.js" - } - } - }, - - less : { - main: { - options: { - compress: true, - cleancss: true - }, - files: { - "dist/css/themeEditor.css": "src/less/layout/themeEditor.less" - } - } - }, - - "string-replace": { - js: { - options: { - replacements: [ - { - pattern: /<!--\s+@concatJS\s(.*)\s+-->\s*[\n\r]+(\s+<script [a-z"=\/\. ]+><\/script>)*\s*[\n\r]+\s*<!-- @concatJS-end -->/img, - replacement: function (foundString, fileName) { - var jsSrc = /src\s*=\s*['"]?([a-z0-9\/\.\-]+)['"]?/img, - matches = foundString.match(jsSrc), - dest = 'dist/' + fileName, - concatConfig, - tmp, - i, - l; - - if (!jsConcatFiles[dest]) { - jsConcatFiles[dest] = []; - } - - for (i = 0, l = matches.length; i < l; ++i) { - tmp = jsSrc.exec(foundString); - if (tmp) { - grunt.log.writeln(dest + ': ' + 'src/' + tmp[1]); - jsConcatFiles[dest].push('src/' + tmp[1]); - } - } - - // Rewrite config - concatConfig = grunt.config.get('concat'); - concatConfig.js.files = jsConcatFiles; - grunt.config.set('concat', concatConfig); - - return '<script src="' + fileName.replace(/\.js$/i, '.min.js') + '"></script>'; - } - }, - { - pattern: /<!--\s+@concatJSLibs\s(.*)\s+-->\s*[\n\r]+(\s+<script [a-z0-9"=\/\.\- ]+><\/script>)*\s*[\n\r]+\s*<!-- @concatJSLibs-end -->/img, - replacement: function (foundString, fileName) { - var jsSrc = /src\s*=\s*['"]?([a-z0-9\/\.\-]+)['"]?/img, - matches = foundString.match(jsSrc), - dest = 'dist/' + fileName, - concatConfig, - tmp, - i, - l; - - if (!jsConcatFiles[dest]) { - jsConcatFiles[dest] = []; - } - - for (i = 0, l = matches.length; i < l; ++i) { - tmp = jsSrc.exec(foundString); - if (tmp) { - grunt.log.writeln(dest + ': ' + 'src/' + tmp[1]); - jsConcatFiles[dest].push('src/' + tmp[1]); - } - } - - // Rewrite config - concatConfig = grunt.config.get('concat'); - concatConfig.jslibs.files = jsConcatFiles; - grunt.config.set('concat', concatConfig); - - return '<script src="' + fileName.replace(/\.js$/i, '.min.js') + '"></script>'; - } - } - ] - }, - files: { - "dist/index.html": "src/index.html" - } - }, - less: { - options: { - replacements: [ - { - pattern: /<!-- @lessCSS -->\s*[\n\r]+(.*)*\s*[\n\r]+\s*<!-- @lessCSS-end -->/img, - replacement: function (a) { - return '<link rel="stylesheet" href="css/themeEditor.css" type="text/css" title="themeEditor">'; - } - }, - { - pattern: /<!-- @lessJS -->\s*[\n\r]+(.*)*\s*[\n\r]+\s*<!-- @lessJS-end -->/img, - replacement: function (a) { - return ''; - } - }, - ] - }, - files: { - "dist/index.html": "dist/index.html" - } - }, - "dist-title": { - options: { - replacements: [{ - pattern: /<title>([^<]*)<\/title>/ig, - replacement: "<title>$1 - v. <%= pkg.version %></title>" - } - ] - }, - files: { - "dist/index.html": "dist/index.html" - } - }, - fixpath: { - options: { - replacements: [ - { - pattern: /..\/..\//ig, - replacement: "../" - } - ] - }, - files: { - "dist/css/themeEditor.css": "dist/css/themeEditor.css" - } - } - }, - "create-config": { - wearable: { - cwd: "src/res/less/wearable/", - themes: [ - { - path: "changeable/theme-changeable/", - name: "default", - colormap: true - },{ - path: "changeable/theme-blue/", - name: "blue", - colormap: true - },{ - path: "changeable/theme-brown/", - name: "brown", - colormap: true - } - ] - }, - mobile: { - cwd: "src/res/less/mobile/", - themes: [ - { - path: "changeable/theme-changeable/", - name: "default", - colormap: true - } - ] - }, - tv: { - cwd: "src/res/less/tv/", - themes: [ - { - path: "default/theme-black/", - name: "black" - } - ] - } - }, - "less-res-fix": { - wearable: { - themes: [ - { - name: "default", - src: "changeable/theme-changeable/", - dest: "changeable/theme-changeable/" - }, - { - name: "blue", - src: "changeable/theme-changeable/", - dest: "changeable/theme-blue/" - }, - { - name: "brown", - src: "changeable/theme-changeable/", - dest: "changeable/theme-brown/" - } - ] - }, - mobile: { - themes: [ - { - name: "default", - src: "changeable/theme-changeable/", - dest: "changeable/theme-changeable/" - } - ] - } - } - }; - grunt.initConfig(initConfig); - - - // npm tasks - grunt.loadNpmTasks("grunt-jslint"); - grunt.loadNpmTasks("grunt-contrib-clean"); - grunt.loadNpmTasks("grunt-contrib-copy"); - grunt.loadNpmTasks("grunt-contrib-concat"); - grunt.loadNpmTasks("grunt-contrib-less"); - grunt.loadNpmTasks("grunt-contrib-uglify"); - grunt.loadNpmTasks("grunt-string-replace"); - - // Load framework custom tasks - grunt.loadTasks('grunt/tasks'); - - // Task list - grunt.registerTask("prepare-less", ["clean:res", "copy:res", "less-res-fix", "create-config"]); - grunt.registerTask("js", ["prepare-less", "jslint:js", "string-replace:js", "concat", "jslint:dist", "uglify:dist-js", "copy:jslibs"]); - grunt.registerTask("lessjs", ["less", "string-replace:less", "string-replace:fixpath"]); - grunt.registerTask("build", ["clean:dist", "copy:main", "js", "clean:dist-non-min", "lessjs", "string-replace:dist-title"]); - grunt.registerTask("default", ["build"]); -}; diff --git a/tools/ThemeEditor/README.txt b/tools/ThemeEditor/README.txt new file mode 100644 index 00000000..cde90534 --- /dev/null +++ b/tools/ThemeEditor/README.txt @@ -0,0 +1,28 @@ +System requirements: + ThemeEditor works properly with WebKit browsers (e.g. Google Chrome, Safari) + It's allowed to run preview application in the same domain. If you want to run preview application in other domain you have to update your browser security policy. + +Quick User Guide; + To add/remove new theme preview (new badge) choose proper button from top panel. + To change active badge, click on badge border. + To change property click on a property from left column and pick a color or update directly with Property Value box. + You can change badge view in order to check responsivity of preview app. Just use sliders from proper icon. + If you are working with few badges please feel free to use zoom to make more room in your workspace or look closer. + If you have finished your theme, just click disc icon to save your and download CSS file. + + + Simple properties + var properties = { + 'Name of category': { + 'Name of property': { + lessVar: '@less-variable-name', + widget: {type: 'text', default: 'normal'} + } + }, + 'Second name of category': { + 'My property': { + lessVar: '@my-property', + widget: {type: 'color', default: '#bf0000'} + }, + } +}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/css/colorpicker.css b/tools/ThemeEditor/css/colorpicker.css index 10b976b6..10b976b6 100755 --- a/tools/ThemeEditor/src/css/colorpicker.css +++ b/tools/ThemeEditor/css/colorpicker.css diff --git a/tools/ThemeEditor/css/jquery.mobile.custom.structure.min.css b/tools/ThemeEditor/css/jquery.mobile.custom.structure.min.css new file mode 100644 index 00000000..79c328f2 --- /dev/null +++ b/tools/ThemeEditor/css/jquery.mobile.custom.structure.min.css @@ -0,0 +1,3 @@ +/*! jQuery Mobile v1.4.0 | Copyright 2010, 2013 jQuery Foundation, Inc. | jquery.org/license */ + +/** jQuery Mobile v1.4.0* http://jquerymobile.com** Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors* Released under the MIT license.* http://jquery.org/license**/.ui-mobile,.ui-mobile body {height: 99.9%;}.ui-mobile fieldset,.ui-page {padding: 0; margin: 0;}.ui-mobile a img,.ui-mobile fieldset {border-width: 0;}.ui-mobile fieldset {min-width: 0;}@-moz-document url-prefix() {.ui-mobile fieldset {display: table-column; vertical-align: middle;}}.ui-mobile-viewport {margin: 0; overflow-x: visible; -webkit-text-size-adjust: 100%; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}body.ui-mobile-viewport,div.ui-mobile-viewport {overflow-x: hidden;}.ui-mobile [data-role=page],.ui-mobile [data-role=dialog],.ui-page {top: 0; left: 0; width: 100%; min-height: 100%; position: absolute; display: none; border: 0;}.ui-page {outline: none;}.ui-mobile .ui-page-active {display: block; overflow: visible; overflow-x: hidden;}@media screen and (orientation: portrait) {.ui-mobile .ui-page {min-height: 420px;}}@media screen and (orientation: landscape) {.ui-mobile .ui-page {min-height: 300px;}}.ui-mobile-rendering > * {visibility: hidden;}.ui-nojs {position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px);}.ui-loading .ui-loader {display: block;}.ui-loader {display: none; z-index: 9999999; position: fixed; top: 50%; left: 50%; border:0;}.ui-loader-default {background: none; filter: Alpha(Opacity=18); opacity: .18; width: 2.875em; height: 2.875em; margin-left: -1.4375em; margin-top: -1.4375em;}.ui-loader-verbose {width: 12.5em; filter: Alpha(Opacity=88); opacity: .88; box-shadow: 0 1px 1px -1px #fff; height: auto; margin-left: -6.875em; margin-top: -2.6875em; padding: .625em;}.ui-loader-default h1 {font-size: 0; width: 0; height: 0; overflow: hidden;}.ui-loader-verbose h1 {font-size: 1em; margin: 0; text-align: center;}.ui-loader .ui-icon-loading {background-color: #000; display: block; margin: 0; width: 2.75em; height: 2.75em; padding: .0625em; -webkit-border-radius: 2.25em; border-radius: 2.25em;}.ui-loader-verbose .ui-icon-loading {margin: 0 auto .625em; filter: Alpha(Opacity=75); opacity: .75;}.ui-loader-textonly {padding: .9375em; margin-left: -7.1875em;}.ui-loader-textonly .ui-icon-loading {display: none;}.ui-loader-fakefix {position: absolute;}.ui-bar,.ui-body {position: relative; padding: .4em 1em; overflow: hidden; display: block; clear: both;}.ui-bar h1,.ui-bar h2,.ui-bar h3,.ui-bar h4,.ui-bar h5,.ui-bar h6 {margin: 0; padding: 0; font-size: 1em; display: inline-block;}.ui-header,.ui-footer {border-width: 1px 0; border-style: solid; position: relative;}.ui-header:empty,.ui-footer:empty {min-height: 2.6875em;}.ui-header .ui-title,.ui-footer .ui-title {font-size: 1em; min-height: 1.1em; text-align: center; display: block; margin: 0 30%; padding: .7em 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important;}.ui-footer .ui-title {margin: 0 1em;}.ui-content {border-width: 0; overflow: visible; overflow-x: hidden; padding: 1em;}.ui-corner-all > .ui-header:first-child,.ui-corner-all > .ui-content:first-child,.ui-corner-all > .ui-footer:first-child {-webkit-border-top-left-radius: inherit; border-top-left-radius: inherit; -webkit-border-top-right-radius: inherit; border-top-right-radius: inherit;}.ui-corner-all > .ui-header:last-child,.ui-corner-all > .ui-content:last-child,.ui-corner-all > .ui-footer:last-child {-webkit-border-bottom-left-radius: inherit; border-bottom-left-radius: inherit; -webkit-border-bottom-right-radius: inherit; border-bottom-right-radius: inherit;}.ui-btn {font-size: 16px; margin: .5em 0; padding: .7em 1em; display: block; position: relative; text-align: center; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}.ui-btn-icon-notext {padding: 0; width: 1.75em; height: 1.75em; text-indent: -9999px; white-space: nowrap !important;}.ui-mini {font-size: 12.5px;}.ui-mini .ui-btn {font-size: inherit;}.ui-header .ui-btn,.ui-footer .ui-btn {font-size: 12.5px; display: inline-block; vertical-align: middle;}.ui-header .ui-btn-left,.ui-header .ui-btn-right {font-size: 12.5px;}.ui-mini.ui-btn-icon-notext,.ui-mini .ui-btn-icon-notext,.ui-header .ui-btn-icon-notext,.ui-footer .ui-btn-icon-notext {font-size: 16px; padding: 0;}.ui-btn-inline {display: inline-block; vertical-align: middle; margin-right: .625em;}.ui-btn-icon-left {padding-left: 2.5em;}.ui-btn-icon-right {padding-right: 2.5em;}.ui-btn-icon-top {padding-top: 2.5em;}.ui-btn-icon-bottom {padding-bottom: 2.5em;}.ui-header .ui-btn-icon-top,.ui-footer .ui-btn-icon-top,.ui-header .ui-btn-icon-bottom,.ui-footer .ui-btn-icon-bottom {padding-left: .3125em; padding-right: .3125em;}.ui-btn-icon-left:after,.ui-btn-icon-right:after,.ui-btn-icon-top:after,.ui-btn-icon-bottom:after,.ui-btn-icon-notext:after {content: ""; position: absolute; display: block; width: 22px; height: 22px;}.ui-btn-icon-notext:after,.ui-btn-icon-left:after,.ui-btn-icon-right:after {top: 50%; margin-top: -11px;}.ui-btn-icon-left:after {left: .5625em;}.ui-btn-icon-right:after {right: .5625em;}.ui-mini.ui-btn-icon-left:after,.ui-mini .ui-btn-icon-left:after,.ui-header .ui-btn-icon-left:after,.ui-footer .ui-btn-icon-left:after {left: .37em;}.ui-mini.ui-btn-icon-right:after,.ui-mini .ui-btn-icon-right:after,.ui-header .ui-btn-icon-right:after,.ui-footer .ui-btn-icon-right:after {right: .37em;}.ui-btn-icon-notext:after,.ui-btn-icon-top:after,.ui-btn-icon-bottom:after {left: 50%; margin-left: -11px;}.ui-btn-icon-top:after {top: .5625em;}.ui-btn-icon-bottom:after {top: auto; bottom: .5625em;}.ui-header .ui-btn-left,.ui-header .ui-btn-right,.ui-btn-left > [class*="ui-"],.ui-btn-right > [class*="ui-"] {margin: 0;}.ui-btn-left,.ui-btn-right {position: absolute; top: .24em;}.ui-btn-left {left: .4em;}.ui-btn-right {right: .4em;}.ui-btn-icon-notext.ui-btn-left {top: .3125em; left: .3125em;}.ui-btn-icon-notext.ui-btn-right {top: .3125em; right: .3125em;}button.ui-btn,.ui-controlgroup-controls button.ui-btn-icon-notext {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; width: 100%;}button.ui-btn-inline {width: auto;}button.ui-btn::-moz-focus-inner {border: 0;}button.ui-btn-icon-notext,.ui-controlgroup-horizontal .ui-controlgroup-controls button.ui-btn {-webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; width: 1.75em;}.ui-mobile label,.ui-controlgroup-label {display: block; margin: 0 0 .4em;}.ui-hide-label > label,.ui-hide-label .ui-controlgroup-label,.ui-hide-label .ui-rangeslider label,.ui-hidden-accessible {position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px);}.ui-screen-hidden {display: none !important;}.ui-mobile-viewport-transitioning,.ui-mobile-viewport-transitioning .ui-page {width: 100%; height: 100%; overflow: hidden; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}.ui-page-pre-in {opacity: 0;}.in {-webkit-animation-timing-function: ease-out; -webkit-animation-duration: 350ms; -moz-animation-timing-function: ease-out; -moz-animation-duration: 350ms; animation-timing-function: ease-out; animation-duration: 350ms;}.out {-webkit-animation-timing-function: ease-in; -webkit-animation-duration: 225ms; -moz-animation-timing-function: ease-in; -moz-animation-duration: 225ms; animation-timing-function: ease-in; animation-duration: 225ms;}@-webkit-keyframes fadein {from {opacity: 0;} to {opacity: 1;}}@-moz-keyframes fadein {from {opacity: 0;} to {opacity: 1;}}@keyframes fadein {from {opacity: 0;} to {opacity: 1;}}@-webkit-keyframes fadeout {from {opacity: 1;} to {opacity: 0;}}@-moz-keyframes fadeout {from {opacity: 1;} to {opacity: 0;}}@keyframes fadeout {from {opacity: 1;} to {opacity: 0;}}.fade.out {opacity: 0; -webkit-animation-duration: 125ms; -webkit-animation-name: fadeout; -moz-animation-duration: 125ms; -moz-animation-name: fadeout; animation-duration: 125ms; animation-name: fadeout;}.fade.in {opacity: 1; -webkit-animation-duration: 225ms; -webkit-animation-name: fadein; -moz-animation-duration: 225ms; -moz-animation-name: fadein; animation-duration: 225ms; animation-name: fadein;}
\ No newline at end of file diff --git a/tools/ThemeEditor/css/jquery.mobile.custom.theme.min.css b/tools/ThemeEditor/css/jquery.mobile.custom.theme.min.css new file mode 100644 index 00000000..df0ff4cb --- /dev/null +++ b/tools/ThemeEditor/css/jquery.mobile.custom.theme.min.css @@ -0,0 +1,3 @@ +/*! jQuery Mobile v1.4.0 | Copyright 2010, 2013 jQuery Foundation, Inc. | jquery.org/license */ + +/** jQuery Mobile v1.4.0* http://jquerymobile.com** Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors* Released under the MIT license.* http://jquery.org/license**/html {font-size: 100%;}body,input,select,textarea,button,.ui-btn {font-size: 1em; line-height: 1.3; font-family: sans-serif ;}legend,.ui-input-text input,.ui-input-search input {color: inherit; text-shadow: inherit;}.ui-mobile label,div.ui-controlgroup-label {font-weight: normal; font-size: 16px;}.ui-field-contain {border-bottom-color: #828282; border-bottom-color: rgba(0,0,0,.15); border-bottom-width: 1px; border-bottom-style: solid;}.table-stroke thead th,.table-stripe thead th,.table-stripe tbody tr:last-child {border-bottom: 1px solid #d6d6d6; border-bottom: 1px solid rgba(0,0,0,.1);}.table-stroke tbody th,.table-stroke tbody td {border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid rgba(0,0,0,.05);}.table-stripe.table-stroke tbody tr:last-child th,.table-stripe.table-stroke tbody tr:last-child td {border-bottom: 0;}.table-stripe tbody tr:nth-child(odd) td,.table-stripe tbody tr:nth-child(odd) th {background-color: #eeeeee; background-color: rgba(0,0,0,.04);}.ui-btn,label.ui-btn {font-weight: bold; border-width: 1px; border-style: solid;}.ui-btn:link {text-decoration: none !important;}.ui-btn-active {cursor: pointer;}.ui-corner-all {-webkit-border-radius: .3125em ; border-radius: .3125em ;}.ui-btn-corner-all,.ui-btn.ui-corner-all,.ui-slider-track.ui-corner-all,.ui-flipswitch.ui-corner-all,.ui-li-count {-webkit-border-radius: .3125em ; border-radius: .3125em ;}.ui-btn-icon-notext.ui-btn-corner-all,.ui-btn-icon-notext.ui-corner-all {-webkit-border-radius: 1em; border-radius: 1em;}.ui-btn-corner-all,.ui-corner-all {-webkit-background-clip: padding; background-clip: padding-box;}.ui-popup.ui-corner-all > .ui-popup-arrow-guide {left: .6em ; right: .6em ; top: .6em ; bottom: .6em ;}.ui-shadow {-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.15) ; -moz-box-shadow: 0 1px 3px rgba(0,0,0,.15) ; box-shadow: 0 1px 3px rgba(0,0,0,.15) ;}.ui-shadow-inset {-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2) ; -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2) ; box-shadow: inset 0 1px 3px rgba(0,0,0,.2) ;}.ui-overlay-shadow {-webkit-box-shadow: 0 0 12px rgba(0,0,0,.6); -moz-box-shadow: 0 0 12px rgba(0,0,0,.6); box-shadow: 0 0 12px rgba(0,0,0,.6);}.ui-btn-icon-left:after,.ui-btn-icon-right:after,.ui-btn-icon-top:after,.ui-btn-icon-bottom:after,.ui-btn-icon-notext:after {background-color: #666 ; background-color: rgba(0,0,0,.3) ; background-position: center center; background-repeat: no-repeat; -webkit-border-radius: 1em; border-radius: 1em;}.ui-alt-icon.ui-btn:after,.ui-alt-icon .ui-btn:after,html .ui-alt-icon.ui-checkbox-off:after,html .ui-alt-icon.ui-radio-off:after,html .ui-alt-icon .ui-checkbox-off:after,html .ui-alt-icon .ui-radio-off:after {background-color: #666 ; background-color: rgba(0,0,0,.15);}.ui-nodisc-icon.ui-btn:after,.ui-nodisc-icon .ui-btn:after {background-color: transparent;}.ui-shadow-icon.ui-btn:after,.ui-shadow-icon .ui-btn:after {-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.3) ; -moz-box-shadow: 0 1px 0 rgba(255,255,255,.3) ; box-shadow: 0 1px 0 rgba(255,255,255,.3) ;}.ui-btn.ui-checkbox-off:after,.ui-btn.ui-checkbox-on:after,.ui-btn.ui-radio-off:after,.ui-btn.ui-radio-on:after {display: block; width: 18px; height: 18px; margin: -9px 2px 0 2px;}.ui-checkbox-off:after,.ui-btn.ui-radio-off:after {filter: Alpha(Opacity=30); opacity: .3;}.ui-btn.ui-checkbox-off:after,.ui-btn.ui-checkbox-on:after {-webkit-border-radius: .1875em; border-radius: .1875em;}.ui-radio .ui-btn.ui-radio-on:after {background-image: none; background-color: #fff; width: 8px; height: 8px; border-width: 5px; border-style: solid;}.ui-alt-icon.ui-btn.ui-radio-on:after,.ui-alt-icon .ui-btn.ui-radio-on:after {background-color: #000;}.ui-icon-loading {background: url(images/ajax-loader.gif); background-size: 2.875em 2.875em;}.ui-bar-a,.ui-page-theme-a .ui-bar-inherit,html .ui-bar-a .ui-bar-inherit,html .ui-body-a .ui-bar-inherit,html body .ui-group-theme-a .ui-bar-inherit {background: #e9e9e9 ; border-color: #ddd ; color: #333 ; text-shadow: 0 1px 0 #eee ; font-weight: bold;}.ui-bar-a {border-width: 1px; border-style: solid;}.ui-overlay-a,.ui-page-theme-a,.ui-page-theme-a .ui-panel-wrapper {background: #f9f9f9 ; border-color: #bbb ; color: #333 ; text-shadow: 0 1px 0 #f3f3f3 ;}.ui-body-a,.ui-page-theme-a .ui-body-inherit,html .ui-bar-a .ui-body-inherit,html .ui-body-a .ui-body-inherit,html body .ui-group-theme-a .ui-body-inherit,html .ui-panel-page-container-a {background: #fff ; border-color: #ddd ; color: #333 ; text-shadow: 0 1px 0 #f3f3f3 ;}.ui-body-a {border-width: 1px; border-style: solid;}.ui-page-theme-a a,html .ui-bar-a a,html .ui-body-a a,html body .ui-group-theme-a a {color: #3388cc ; font-weight: bold;}.ui-page-theme-a a:visited,html .ui-bar-a a:visited,html .ui-body-a a:visited,html body .ui-group-theme-a a:visited {color: #3388cc ;}.ui-page-theme-a a:hover,html .ui-bar-a a:hover,html .ui-body-a a:hover,html body .ui-group-theme-a a:hover {color: #005599 ;}.ui-page-theme-a a:active,html .ui-bar-a a:active,html .ui-body-a a:active,html body .ui-group-theme-a a:active {color: #005599 ;}.ui-page-theme-a .ui-btn,html .ui-bar-a .ui-btn,html .ui-body-a .ui-btn,html body .ui-group-theme-a .ui-btn,html head + body .ui-btn.ui-btn-a,.ui-page-theme-a .ui-btn:visited,html .ui-bar-a .ui-btn:visited,html .ui-body-a .ui-btn:visited,html body .ui-group-theme-a .ui-btn:visited,html head + body .ui-btn.ui-btn-a:visited {background: #f6f6f6 ; border-color: #ddd ; color: #333 ; text-shadow: 0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn:hover,html .ui-bar-a .ui-btn:hover,html .ui-body-a .ui-btn:hover,html body .ui-group-theme-a .ui-btn:hover,html head + body .ui-btn.ui-btn-a:hover {background: #ededed ; border-color: #ddd ; color: #333 ; text-shadow: 0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn:active,html .ui-bar-a .ui-btn:active,html .ui-body-a .ui-btn:active,html body .ui-group-theme-a .ui-btn:active,html head + body .ui-btn.ui-btn-a:active {background: #e8e8e8 ; border-color: #ddd ; color: #333 ; text-shadow: 0 1px 0 #f3f3f3 ;}.ui-page-theme-a .ui-btn.ui-btn-active,html .ui-bar-a .ui-btn.ui-btn-active,html .ui-body-a .ui-btn.ui-btn-active,html body .ui-group-theme-a .ui-btn.ui-btn-active,html head + body .ui-btn.ui-btn-a.ui-btn-active,.ui-page-theme-a .ui-checkbox-on:after,html .ui-bar-a .ui-checkbox-on:after,html .ui-body-a .ui-checkbox-on:after,html body .ui-group-theme-a .ui-checkbox-on:after,.ui-btn.ui-checkbox-on.ui-btn-a:after,.ui-page-theme-a .ui-flipswitch-active,html .ui-bar-a .ui-flipswitch-active,html .ui-body-a .ui-flipswitch-active,html body .ui-group-theme-a .ui-flipswitch-active,html body .ui-flipswitch.ui-bar-a.ui-flipswitch-active,.ui-page-theme-a .ui-slider-track .ui-btn-active,html .ui-bar-a .ui-slider-track .ui-btn-active,html .ui-body-a .ui-slider-track .ui-btn-active,html body .ui-group-theme-a .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-a .ui-btn-active {background-color: #3388cc ; border-color: #3388cc ; color: #fff ; text-shadow: 0 1px 0 #005599 ;}.ui-page-theme-a .ui-radio-on:after,html .ui-bar-a .ui-radio-on:after,html .ui-body-a .ui-radio-on:after,html body .ui-group-theme-a .ui-radio-on:after,.ui-btn.ui-radio-on.ui-btn-a:after {border-color: #3388cc ;}.ui-page-theme-a .ui-btn:focus,html .ui-bar-a .ui-btn:focus,html .ui-body-a .ui-btn:focus,html body .ui-group-theme-a .ui-btn:focus,html head + body .ui-btn.ui-btn-a:focus,.ui-page-theme-a .ui-focus,html .ui-bar-a .ui-focus,html .ui-body-a .ui-focus,html body .ui-group-theme-a .ui-focus,html head + body .ui-btn-a.ui-focus,html head + body .ui-body-a.ui-focus {-webkit-box-shadow: 0 0 12px #3388cc ; -moz-box-shadow: 0 0 12px #3388cc ; box-shadow: 0 0 12px #3388cc ;}.ui-bar-b,.ui-page-theme-b .ui-bar-inherit,html .ui-bar-b .ui-bar-inherit,html .ui-body-b .ui-bar-inherit,html body .ui-group-theme-b .ui-bar-inherit {background: #1d1d1d ; border-color: #1b1b1b ; color: #fff ; text-shadow: 0 1px 0 #111 ; font-weight: bold;}.ui-bar-b {border-width: 1px; border-style: solid;}.ui-overlay-b,.ui-page-theme-b,.ui-page-theme-b .ui-panel-wrapper {background: #252525 ; border-color: #454545 ; color: #fff ; text-shadow: 0 1px 0 #111 ;}.ui-body-b,.ui-page-theme-b .ui-body-inherit,html .ui-bar-b .ui-body-inherit,html .ui-body-b .ui-body-inherit,html body .ui-group-theme-b .ui-body-inherit,html .ui-panel-page-container-b {background: #2a2a2a ; border-color: #1d1d1d ; color: #fff ; text-shadow: 0 1px 0 #111 ;}.ui-body-b {border-width: 1px; border-style: solid;}.ui-page-theme-b a,html .ui-bar-b a,html .ui-body-b a,html body .ui-group-theme-b a {color: #22aadd ; font-weight: bold;}.ui-page-theme-b a:visited,html .ui-bar-b a:visited,html .ui-body-b a:visited,html body .ui-group-theme-b a:visited {color: #22aadd ;}.ui-page-theme-b a:hover,html .ui-bar-b a:hover,html .ui-body-b a:hover,html body .ui-group-theme-b a:hover {color: #0088bb ;}.ui-page-theme-b a:active,html .ui-bar-b a:active,html .ui-body-b a:active,html body .ui-group-theme-b a:active {color: #0088bb ;}.ui-page-theme-b .ui-btn,html .ui-bar-b .ui-btn,html .ui-body-b .ui-btn,html body .ui-group-theme-b .ui-btn,html head + body .ui-btn.ui-btn-b,.ui-page-theme-b .ui-btn:visited,html .ui-bar-b .ui-btn:visited,html .ui-body-b .ui-btn:visited,html body .ui-group-theme-b .ui-btn:visited,html head + body .ui-btn.ui-btn-b:visited {background: #333 ; border-color: #1f1f1f ; color: #fff ; text-shadow: 0 1px 0 #111 ;}.ui-page-theme-b .ui-btn:hover,html .ui-bar-b .ui-btn:hover,html .ui-body-b .ui-btn:hover,html body .ui-group-theme-b .ui-btn:hover,html head + body .ui-btn.ui-btn-b:hover {background: #373737 ; border-color: #1f1f1f ; color: #fff ; text-shadow: 0 1px 0 #111 ;}.ui-page-theme-b .ui-btn:active,html .ui-bar-b .ui-btn:active,html .ui-body-b .ui-btn:active,html body .ui-group-theme-b .ui-btn:active,html head + body .ui-btn.ui-btn-b:active {background: #404040 ; border-color: #1f1f1f ; color: #fff ; text-shadow: 0 1px 0 #111 ;}.ui-page-theme-b .ui-btn.ui-btn-active,html .ui-bar-b .ui-btn.ui-btn-active,html .ui-body-b .ui-btn.ui-btn-active,html body .ui-group-theme-b .ui-btn.ui-btn-active,html head + body .ui-btn.ui-btn-b.ui-btn-active,.ui-page-theme-b .ui-checkbox-on:after,html .ui-bar-b .ui-checkbox-on:after,html .ui-body-b .ui-checkbox-on:after,html body .ui-group-theme-b .ui-checkbox-on:after,.ui-btn.ui-checkbox-on.ui-btn-b:after,.ui-page-theme-b .ui-flipswitch-active,html .ui-bar-b .ui-flipswitch-active,html .ui-body-b .ui-flipswitch-active,html body .ui-group-theme-b .ui-flipswitch-active,html body .ui-flipswitch.ui-bar-b.ui-flipswitch-active,.ui-page-theme-b .ui-slider-track .ui-btn-active,html .ui-bar-b .ui-slider-track .ui-btn-active,html .ui-body-b .ui-slider-track .ui-btn-active,html body .ui-group-theme-b .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-b .ui-btn-active {background-color: #22aadd ; border-color: #22aadd ; color: #fff ; text-shadow: 0 1px 0 #0088bb ;}.ui-page-theme-b .ui-radio-on:after,html .ui-bar-b .ui-radio-on:after,html .ui-body-b .ui-radio-on:after,html body .ui-group-theme-b .ui-radio-on:after,.ui-btn.ui-radio-on.ui-btn-b:after {border-color: #22aadd ;}.ui-page-theme-b .ui-btn:focus,html .ui-bar-b .ui-btn:focus,html .ui-body-b .ui-btn:focus,html body .ui-group-theme-b .ui-btn:focus,html head + body .ui-btn.ui-btn-b:focus,.ui-page-theme-b .ui-focus,html .ui-bar-b .ui-focus,html .ui-body-b .ui-focus,html body .ui-group-theme-b .ui-focus,html head + body .ui-btn-b.ui-focus,html head + body .ui-body-b.ui-focus {-webkit-box-shadow: 0 0 12px #22aadd ; -moz-box-shadow: 0 0 12px #22aadd ; box-shadow: 0 0 12px #22aadd ;}.ui-disabled,.ui-state-disabled,button[disabled],.ui-select .ui-btn.ui-state-disabled {filter: Alpha(Opacity=30); opacity: .3; cursor: default !important; pointer-events: none;}.ui-btn:focus,.ui-btn.ui-focus {outline: 0;}.ui-noboxshadow .ui-shadow,.ui-noboxshadow .ui-shadow-inset,.ui-noboxshadow .ui-overlay-shadow,.ui-noboxshadow .ui-shadow-icon.ui-btn:after,.ui-noboxshadow .ui-shadow-icon .ui-btn:after,.ui-noboxshadow .ui-focus,.ui-noboxshadow .ui-btn:focus,.ui-noboxshadow input:focus,.ui-noboxshadow .ui-panel {-webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important;}.ui-noboxshadow .ui-btn:focus,.ui-noboxshadow .ui-focus {outline-width: 1px; outline-style: auto;}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/css/normalize.css b/tools/ThemeEditor/css/normalize.css index 28f530e9..c2de8df9 100755 --- a/tools/ThemeEditor/src/css/normalize.css +++ b/tools/ThemeEditor/css/normalize.css @@ -20,7 +20,7 @@ main, nav, section, summary { - display: block; + display: block; } /** @@ -30,7 +30,7 @@ summary { audio, canvas, video { - display: inline-block; + display: inline-block; } /** @@ -39,8 +39,8 @@ video { */ audio:not([controls]) { - display: none; - height: 0; + display: none; + height: 0; } /** @@ -50,7 +50,7 @@ audio:not([controls]) { [hidden], template { - display: none; + display: none; } /* ========================================================================== @@ -64,9 +64,9 @@ template { */ html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ } /** @@ -74,7 +74,7 @@ html { */ body { - margin: 0; + margin: 0; } /* ========================================================================== @@ -86,7 +86,7 @@ body { */ a { - background: transparent; + background: transparent; } /** @@ -94,7 +94,7 @@ a { */ a:focus { - outline: thin dotted; + outline: thin dotted; } /** @@ -103,7 +103,7 @@ a:focus { a:active, a:hover { - outline: 0; + outline: 0; } /* ========================================================================== @@ -116,8 +116,8 @@ a:hover { */ h1 { - font-size: 2em; - margin: 0.67em 0; + font-size: 2em; + margin: 0.67em 0; } /** @@ -125,7 +125,7 @@ h1 { */ abbr[title] { - border-bottom: 1px dotted; + border-bottom: 1px dotted; } /** @@ -134,7 +134,7 @@ abbr[title] { b, strong { - font-weight: bold; + font-weight: bold; } /** @@ -142,7 +142,7 @@ strong { */ dfn { - font-style: italic; + font-style: italic; } /** @@ -150,9 +150,9 @@ dfn { */ hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } /** @@ -160,8 +160,8 @@ hr { */ mark { - background: #ff0; - color: #000; + background: #ff0; + color: #000; } /** @@ -172,8 +172,8 @@ code, kbd, pre, samp { - font-family: monospace, serif; - font-size: 1em; + font-family: monospace, serif; + font-size: 1em; } /** @@ -181,7 +181,7 @@ samp { */ pre { - white-space: pre-wrap; + white-space: pre-wrap; } /** @@ -189,7 +189,7 @@ pre { */ q { - quotes: "\201C" "\201D" "\2018" "\2019"; + quotes: "\201C" "\201D" "\2018" "\2019"; } /** @@ -197,7 +197,7 @@ q { */ small { - font-size: 80%; + font-size: 80%; } /** @@ -206,18 +206,18 @@ small { sub, sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } sup { - top: -0.5em; + top: -0.5em; } sub { - bottom: -0.25em; + bottom: -0.25em; } /* ========================================================================== @@ -229,7 +229,7 @@ sub { */ img { - border: 0; + border: 0; } /** @@ -237,7 +237,7 @@ img { */ svg:not(:root) { - overflow: hidden; + overflow: hidden; } /* ========================================================================== @@ -249,7 +249,7 @@ svg:not(:root) { */ figure { - margin: 0; + margin: 0; } /* ========================================================================== @@ -261,9 +261,9 @@ figure { */ fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } /** @@ -272,8 +272,8 @@ fieldset { */ legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ + border: 0; /* 1 */ + padding: 0; /* 2 */ } /** @@ -286,9 +286,9 @@ button, input, select, textarea { - font-family: inherit; /* 1 */ - font-size: 100%; /* 2 */ - margin: 0; /* 3 */ + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ } /** @@ -298,7 +298,7 @@ textarea { button, input { - line-height: normal; + line-height: normal; } /** @@ -310,7 +310,7 @@ input { button, select { - text-transform: none; + text-transform: none; } /** @@ -325,8 +325,8 @@ button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ } /** @@ -335,7 +335,7 @@ input[type="submit"] { button[disabled], html input[disabled] { - cursor: default; + cursor: default; } /** @@ -345,8 +345,8 @@ html input[disabled] { input[type="checkbox"], input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ } /** @@ -356,10 +356,10 @@ input[type="radio"] { */ input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; } /** @@ -369,7 +369,7 @@ input[type="search"] { input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; + -webkit-appearance: none; } /** @@ -378,8 +378,8 @@ input[type="search"]::-webkit-search-decoration { button::-moz-focus-inner, input::-moz-focus-inner { - border: 0; - padding: 0; + border: 0; + padding: 0; } /** @@ -388,8 +388,8 @@ input::-moz-focus-inner { */ textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ } /* ========================================================================== @@ -401,6 +401,6 @@ textarea { */ table { - border-collapse: collapse; - border-spacing: 0; + border-collapse: collapse; + border-spacing: 0; } diff --git a/tools/ThemeEditor/css/style.css b/tools/ThemeEditor/css/style.css new file mode 100755 index 00000000..3e03e3bb --- /dev/null +++ b/tools/ThemeEditor/css/style.css @@ -0,0 +1,53 @@ +.colorPicker { + display: inline-block; + width: 36px; + height: 36px; + border: 3px solid #c2c2c2; +} +textarea { + display: inline-block; + width: 40%; + height: 400px; + margin: 0; + padding: 10px; + font-size: 10px; +} +.row { + display: block; + white-space: nowrap; +} +.preview { + display: block; + float: left; + height: 425px; + margin: 5px; + padding: 5px; + text-align: center; +} + +iframe{ + border: medium none; + height: 100%; + width: 99.9%; +} +#leftPanel{ + display: inline-block; + width: 300px; + height: 100%; + float: left; +} +.rightPanel{ + display: inline-block; + height: 100%; + margin-left: 325px; + min-width: 850px; +} +.content-page{ + padding: 15px; +} +/** +jquer-ui styles override +*/ +.ui-accordion .ui-accordion-content { + padding: 0.5em 1em; +}
\ No newline at end of file diff --git a/tools/ThemeEditor/css/themeEditor.css b/tools/ThemeEditor/css/themeEditor.css new file mode 100644 index 00000000..b2e4d7ab --- /dev/null +++ b/tools/ThemeEditor/css/themeEditor.css @@ -0,0 +1,674 @@ +#panelColorpicker { + padding: 0; +} +#panelColorpicker .colorpicker { + margin: 0 auto; + background-image: none; + width: 210px; + height: 220px; +} +#panelColorpicker .colorpicker .colorpicker_hue { + background-image: url('../images/slider.png'); + background-size: 42px 100%; + background-position: center; + background-repeat: no-repeat; +} +#panelColorpicker .colorpicker .colorpicker_color { + border: 3px solid #c2c2c2; +} +#panelColorpicker .colorpicker .colorpicker_rgb_r, +#panelColorpicker .colorpicker .colorpicker_rgb_g, +#panelColorpicker .colorpicker .colorpicker_rgb_b, +#panelColorpicker .colorpicker .colorpicker_hsb_h, +#panelColorpicker .colorpicker .colorpicker_hsb_s, +#panelColorpicker .colorpicker .colorpicker_hsb_b { + display: none; +} +#panelColorpicker .colorpicker .colorpicker_hex { + background-image: url('../images/custom_hex.png'); + left: 12px; + top: 178px; +} +#panelColorpicker .colorpicker .colorpicker_submit { + position: absolute; + width: 22px; + height: 22px; + background: url(../images/custom_submit.png) top; + left: 322px; + top: 142px; + overflow: hidden; +} +#panelColorpicker .colorpicker .colorpicker_new_color { + left: 146px; + top: 172px; +} +#panelColorpicker .colorpicker .colorpicker_current_color { + left: 85px; + top: 172px; +} +.ui-tooltip { + font-size: 0.8rem; +} +.ui-accordion { + background-color: #f2f2f2; + border: 1px solid #d9d9d9; + border-right-width: 0; + -webkit-border-radius: 10px 0 0 10px; + -moz-border-radius: 10px 0 0 10px; + -o-border-radius: 10px 0 0 10px; + border-radius: 10px 0 0 10px; + display: block; + overflow: hidden; + -webkit-border-radius: 0 10px 10px 0; + -moz-border-radius: 0 10px 10px 0; + -o-border-radius: 0 10px 10px 0; + border-radius: 0 10px 10px 0; +} +.ui-accordion .ui-accordion-header { + margin: 0 !important; + border-width: 0; + background: #f2f2f2; + border-bottom: 1px solid #e5e5e5; + font-size: 12px; + line-height: 30px; + color: #0b0b0b; + background: #d6d6d6; +} +.ui-accordion .ui-accordion-header h3 { + text-align: left; + padding: 6px 10px; + margin: 0; + font-size: 12px; + background: #d6d6d6; +} +.ui-accordion .ui-accordion-header h4 { + padding: 6px 0; + margin: 0; + font-size: 12px; +} +.ui-accordion .ui-accordion-header h4 .current-value { + float: right; + font-weight: normal; +} +.ui-accordion .ui-accordion-header .row { + display: block; + margin-bottom: 10px; +} +.ui-accordion .ui-accordion-header .row:last-child { + margin-bottom: 0; +} +.ui-accordion .ui-accordion-header .row .range-min { + float: none; + display: inline-block; + width: 50%; + text-align: left; +} +.ui-accordion .ui-accordion-header .row .range-max { + float: none; + display: inline-block; + width: 50%; + text-align: right; +} +.ui-accordion .ui-accordion-header > div { + padding: 10px; +} +.ui-accordion .ui-accordion-header.hidden > div { + overflow: hidden; + height: 0 !important; + padding: 0 !important; +} +.ui-accordion .ui-accordion-header input { + width: 96%; + padding: 3px 2%; + display: block; + background-color: #ffffff; + border: 1px solid #e5e5e5; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; + height: 20px; +} +.ui-accordion .ui-accordion-content { + padding: 5px 10px; + background: transparent; +} +.panel-window .colorpicker .colorpicker_hex input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + border-width: 0; + height: auto; + width: auto; + padding: 0; +} +.icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; +} +.icon:hover, +li:hover .icon { + background-position-y: -48px; +} +.new-badge-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -6px; +} +.new-badge-icon:hover, +li:hover .new-badge-icon { + background-position-y: -48px; +} +.remove-badge-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -64px; +} +.remove-badge-icon:hover, +li:hover .remove-badge-icon { + background-position-y: -48px; +} +.height-badge-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -124px; +} +.height-badge-icon:hover, +li:hover .height-badge-icon { + background-position-y: -48px; +} +.width-badge-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -184px; +} +.width-badge-icon:hover, +li:hover .width-badge-icon { + background-position-y: -48px; +} +.zoom-badge-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -240px; + width: 38px; +} +.zoom-badge-icon:hover, +li:hover .zoom-badge-icon { + background-position-y: -48px; +} +.save-css-icon { + background-image: url('../images/iconset.png'); + background-repeat: no-repeat; + display: inline-block; + width: 31px; + height: 31px; + background-position-y: -5px; + vertical-align: middle; + margin-bottom: 5px; + background-position-x: -293px; + width: 38px; +} +.save-css-icon:hover, +li:hover .save-css-icon { + background-position-y: -48px; +} +html, +body { + font-size: 12px; + height: 100%; +} +.column-holder { + display: block; + padding-top: 60px; + padding-left: 280px; + padding-right: 280px; + -webkit-box-sizing: border-box; + /* Safari/Chrome, other WebKit */ + -moz-box-sizing: border-box; + /* Firefox, other Gecko */ + box-sizing: border-box; + /* Opera/IE 8+ */ +} +.flex-row { + height: 100%; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + flex-flow: row nowrap; +} +.panel-container { + display: block; + flex: 0 0 270px; +} +.panel-container .panel-box { + background-color: #f2f2f2; + border: 1px solid #d9d9d9; + border-right-width: 0; + -webkit-border-radius: 10px 0 0 10px; + -moz-border-radius: 10px 0 0 10px; + -o-border-radius: 10px 0 0 10px; + border-radius: 10px 0 0 10px; + display: block; + overflow: hidden; +} +.panel-container .panel-window { + background: #f2f2f2; + border-bottom: 1px solid #e5e5e5; + font-size: 12px; + line-height: 30px; + color: #0b0b0b; +} +.panel-container .panel-window h3 { + text-align: left; + padding: 6px 10px; + margin: 0; + font-size: 12px; + background: #d6d6d6; +} +.panel-container .panel-window h4 { + padding: 6px 0; + margin: 0; + font-size: 12px; +} +.panel-container .panel-window h4 .current-value { + float: right; + font-weight: normal; +} +.panel-container .panel-window .row { + display: block; + margin-bottom: 10px; +} +.panel-container .panel-window .row:last-child { + margin-bottom: 0; +} +.panel-container .panel-window .row .range-min { + float: none; + display: inline-block; + width: 50%; + text-align: left; +} +.panel-container .panel-window .row .range-max { + float: none; + display: inline-block; + width: 50%; + text-align: right; +} +.panel-container .panel-window > div { + padding: 10px; +} +.panel-container .panel-window.hidden > div { + overflow: hidden; + height: 0 !important; + padding: 0 !important; +} +.panel-container .panel-window input { + width: 96%; + padding: 3px 2%; + display: block; + background-color: #ffffff; + border: 1px solid #e5e5e5; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; + height: 20px; +} +.panel-submenu { + display: none; + position: absolute; + z-index: 2; + background-color: rgba(2, 2, 2, 0.85); + padding: 0; + border: 1px solid #020202; + margin-left: -10px; + /* equal to li padding */ + line-height: 1em; +} +.panel-submenu h3, +.panel-submenu h4 { + margin-top: 0; + margin-bottom: 10px; + line-height: 1.1em; +} +.panel-submenu .current-value { + font-weight: bold; +} +.panel-submenu input { + display: inline-block; + width: 20px; + margin: 5px; +} +.panel-submenu input.global-settings-checkbox { + margin-top: 10px; +} +.panel-submenu hr { + height: 1px; + background-color: #353535; + border-bottom: 1px solid #4f4f4f; + border-top-width: 0; + border-left-width: 0; + border-right-width: 0; +} +.panel-submenu .row { + min-width: 42px; + display: block; + padding: 10px 5px; + text-align: center; + border-bottom: 1px solid #020202; +} +.panel-submenu .row .range-min { + float: none; + display: inline-block; + text-align: left; +} +.panel-submenu .row .range-max { + float: none; + display: inline-block; + text-align: right; +} +.panel-submenu ul { + display: block; +} +.panel-submenu ul li { + line-height: 1.4em; + font-weight: bold; + display: block !important; + padding: 10px 5px !important; + border-bottom: 1px solid #4f4f4f; +} +.panel-submenu ul li:last-child { + border-bottom-width: 0; +} +.panel-submenu ul li small { + font-weight: normal; +} +.panel-submenu ul li.global-settings input, +.panel-submenu ul li.global-settings label { + margin: 5px 2px; + display: inline-block; +} +li:hover > .panel-submenu { + display: block; +} +#leftPanel, +#rightPanel { + padding-top: 10px; + z-index: 1; + -webkit-box-sizing: border-box; + /* Safari/Chrome, other WebKit */ + -moz-box-sizing: border-box; + /* Firefox, other Gecko */ + box-sizing: border-box; + /* Opera/IE 8+ */ +} +#centerPanel { + flex: 1 1 auto; +} +#leftPanel, +#rightPanel, +#centerPanel { + padding-top: 70px; +} +#topPanel { + width: 100%; + display: block; + position: absolute; + padding: 0 10px; + line-height: 50px; + height: 50px; + background-color: #020202; + color: #ffffff; + -webkit-box-sizing: border-box; + /* Safari/Chrome, other WebKit */ + -moz-box-sizing: border-box; + /* Firefox, other Gecko */ + box-sizing: border-box; + /* Opera/IE 8+ */ + z-index: 10; +} +#topPanel a { + color: inherit; + text-decoration: none; +} +#topPanel ul { + display: inline-block; + margin: 0; + padding: 0; +} +#topPanel ul li { + display: inline-block; + padding: 0 10px; + border-left: 1px solid #222222; +} +#topPanel ul li:first-child { + border-left-width: 0; +} +#topPanel ul li:hover { + cursor: pointer; +} +#topPanel ul li a.disabled { + opacity: 0.3; +} +#topPanel ul li a.disabled:hover { + cursor: default !important; +} +#topPanel select { + background-color: transparent; + height: 30px; + border-color: #8f8f8f; + border-width: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -o-border-radius: 4px; + border-radius: 4px; + color: #8f8f8f; + padding: 0 7px; + margin-left: 10px; +} +#topPanel select option { + background-color: rgba(2, 2, 2, 0.85); +} +#workspace { + text-align: center; + display: block; + margin: 0; + z-index: 0; + -webkit-box-sizing: border-box; + /* Safari/Chrome, other WebKit */ + -moz-box-sizing: border-box; + /* Firefox, other Gecko */ + box-sizing: border-box; + /* Opera/IE 8+ */ +} +#workspace .theme-badge { + position: relative; + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + display: inline-block; + margin: 20px 10px; + padding: 40px 20px 20px 20px; + background-color: #f2f2f2; + border: 1px solid #d9d9d9; +} +#workspace .theme-badge:first-of-type { + margin-left: 20px; +} +#workspace .theme-badge:last-of-type { + margin-right: 20px; +} +#workspace .theme-badge iframe { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + width: 320px; + height: 320px; +} +#workspace .theme-badge-active { + position: relative; + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + display: inline-block; + margin: 20px 10px; + padding: 40px 20px 20px 20px; + background-color: #f2f2f2; + border: 1px solid #d9d9d9; + background-color: #444444; + border: 1px solid #373737; + -moz-box-shadow: 0 0 15px #2b2b2b; + -webkit-box-shadow: 0 0 15px #2b2b2b; + box-shadow: 0 0 15px #2b2b2b; +} +#workspace .theme-badge-active:first-of-type { + margin-left: 20px; +} +#workspace .theme-badge-active:last-of-type { + margin-right: 20px; +} +#workspace .theme-badge-active iframe { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + width: 320px; + height: 320px; +} +#workspace .theme-badge-active iframe { + border: 1px solid #2b2b2b; +} +.badge-navbar { + display: block; + height: 40px; + margin-top: -40px; + line-height: 40px; +} +.badge-navbar .badge-history-forward, +.badge-navbar .badge-history-back { + font-size: 40px; + display: inline-block; + font-weight: normal; + float: right; + opacity: 0.5; +} +.badge-navbar .badge-history-forward:hover, +.badge-navbar .badge-history-back:hover { + cursor: pointer; + opacity: 1; +} +.badge-navbar .badge-history-back { + float: left; +} +.label-name { + display: block; + margin-top: 0.5rem; + font-size: 12px; +} +.label-name:hover { + cursor: pointer; +} +.label-name-selected { + display: block; + margin-top: 0.5rem; + font-size: 12px; + font-weight: bold; +} +.label-name-selected:hover { + cursor: pointer; +} +.colorpicker { + z-index: 500; +} +.range { + display: inline-block; + font-size: 0.8rem; +} +.range-current { + display: inline-block; + font-size: 0.8rem; + display: block; + text-align: center; +} +.range-max { + display: inline-block; + font-size: 0.8rem; +} +.range-min { + display: inline-block; + font-size: 0.8rem; +} +.swatch { + display: inline-block; + width: 15px; + height: 15px; + border: 1px solid #999999; + margin-right: -1px; + margin-bottom: -1px; +} +.vertical-slider { + -webkit-appearance: slider-vertical; + /* WebKit */ +} +#importDialog { + display: block; + padding: 20px; + margin: 5px; + width: 300px; + height: 100px; + background-color: rgba(2, 2, 2, 0.2); + border: 1px solid rgba(2, 2, 2, 0.6); + color: #ffffff; +} +.center { + text-align: center; +} +input.button { + display: inline-block; + padding: 5px 20px; + width: auto; + margin: 10px auto; + background-color: rgba(242, 242, 242, 0.2); + border: 1px solid rgba(2, 2, 2, 0.6); + color: #ffffff; +} diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/animated-overlay.gif b/tools/ThemeEditor/css/ui-lightness/images/animated-overlay.gif Binary files differindex d441f75e..d441f75e 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/animated-overlay.gif +++ b/tools/ThemeEditor/css/ui-lightness/images/animated-overlay.gif diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png Binary files differindex 262a0c55..262a0c55 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png Binary files differindex 77868d64..77868d64 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png Binary files differindex 901bae0f..901bae0f 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png Binary files differindex 7546c7b8..7546c7b8 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png Binary files differindex cc98731b..cc98731b 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png Binary files differindex 131d6abc..131d6abc 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png Binary files differindex eed3274b..eed3274b 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png Binary files differindex 48d9a56b..48d9a56b 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png Binary files differindex 527e9f45..527e9f45 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_222222_256x240.png b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_222222_256x240.png Binary files differindex c1cb1170..c1cb1170 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_222222_256x240.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_222222_256x240.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_228ef1_256x240.png b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_228ef1_256x240.png Binary files differindex 3a0140cf..3a0140cf 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_228ef1_256x240.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_228ef1_256x240.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ef8c08_256x240.png b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ef8c08_256x240.png Binary files differindex 036ee072..036ee072 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ef8c08_256x240.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ffd27a_256x240.png b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ffd27a_256x240.png Binary files differindex 8b6c0586..8b6c0586 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ffd27a_256x240.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ffffff_256x240.png b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ffffff_256x240.png Binary files differindex 4f624bb2..4f624bb2 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/images/ui-icons_ffffff_256x240.png +++ b/tools/ThemeEditor/css/ui-lightness/images/ui-icons_ffffff_256x240.png diff --git a/tools/ThemeEditor/src/css/ui-lightness/jquery-ui-1.10.3.custom.css b/tools/ThemeEditor/css/ui-lightness/jquery-ui-1.10.3.custom.css index 36332890..36332890 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/jquery-ui-1.10.3.custom.css +++ b/tools/ThemeEditor/css/ui-lightness/jquery-ui-1.10.3.custom.css diff --git a/tools/ThemeEditor/src/css/ui-lightness/jquery-ui-1.10.3.custom.min.css b/tools/ThemeEditor/css/ui-lightness/jquery-ui-1.10.3.custom.min.css index 5ba63eba..5ba63eba 100644 --- a/tools/ThemeEditor/src/css/ui-lightness/jquery-ui-1.10.3.custom.min.css +++ b/tools/ThemeEditor/css/ui-lightness/jquery-ui-1.10.3.custom.min.css diff --git a/tools/ThemeEditor/grunt/tasks/config-creator.js b/tools/ThemeEditor/grunt/tasks/config-creator.js deleted file mode 100644 index 378d69a6..00000000 --- a/tools/ThemeEditor/grunt/tasks/config-creator.js +++ /dev/null @@ -1,210 +0,0 @@ -/*jslint nomen: true, plusplus: true */ -/*global module, console */ -module.exports = function (grunt) { - "use strict"; - - var fs = require("fs"); - - function buildRegex(type) { - var regex, - /** - * Header of section. - * \/[*]{3,}\n\r? - first line of header must contain at least 3 * chars after /. E.g. /***, /******* - * ( - starts atom which matches section name. - * [^*]+ - section name can contain all characters without * character - * ) - ends atom which matches section name. - * [*]{3,}\/\n\r? - last line of header must contain at least 3 * chars before /. - * - * @type {RegExp} - */ - sectionHeader = /\/[*]{3,}\n\r?([^*]+)[*]{3,}\/\n\r?/, - /** - * Variable section - * ([^*]+) - matches body of all properties. Body must not contain a * character - * (\n|$) - variable section ends on new line character or string end character - */ - sectionVariables = /([^*]+)(\n|$)/, - /** - * Less variable with value - * (@[a-z0-9_-]+) - atom for less variable - * \s* - match whitespace - * : - match separator between less variable and value - * \s* - match whitespace - * ([^;]+) - atom for variable value. Variable contains all without semicolon - * ; - match semicolon - * @type {RegExp} - */ - lessVariable = /(@[a-z0-9_\-]+)\s*:\s*([^;]+);/, - /** - * Property description. Property description e.g. - * // #[color] Description content - * \/\/\s+#\[ - matching starting sequence. It must be at least one space between / and #, e.g.: // #[ - * ([\w]+) - atom for property type - * \] - matching end sequence - * (.*) - atom for description - */ - propertyDescription = /\/\/\s+#\[([\w]+)\](.*)/; - - switch (type) { - case "section": - regex = sectionHeader.source + sectionVariables.source; - break; - case "property": - regex = lessVariable.source + /\s*/.source + propertyDescription.source; - break; - default: grunt.fail.warn("Unsupported regex type!"); - } - - return new RegExp(regex, "gi"); - } - - function getExpectedVariables(content) { - var lines = content.match(/.*#\[[\w]+\].*/gi), - expected = [], - i; - - for (i = lines.length -1 ; i >= 0; i--) { - expected.push(lines[i].split(":",2)[0].trim()); - } - - return expected; - } - - grunt.registerMultiTask("create-config", "Creates config file based on less file for certain profile", function () { - var profile = this.target, - options = this.data, - counter, - expected, - matched, - hasColorMap, - colorMap, - theme, - themeIndex, - themes = options.themes, - themesLength = themes.length, - profilePath, - themeColorLessPath, - themeColorMapPath, - content, - properties = {}, - summaryMessage, - lessColorMap = "", - regexSection = buildRegex("section"), - regexProperty = buildRegex("property"); - - profilePath = options.cwd; - - for (themeIndex = 0; themeIndex < themesLength; themeIndex++) { - theme = themes[themeIndex]; - hasColorMap = !!theme.colormap; - themeColorMapPath = "../../tau/dist/" + profile + "/theme/" + theme.name + "/colormap.json"; - themeColorLessPath = profilePath + theme.path + "theme.color.less"; - - summaryMessage = ""; - counter = { - sections: 0, - propertiesIgnored: 0, - propertiesCreated: 0, - propertiesMatched: 0, - propertiesExpected: 0 - }; - - // Notify what are you doing - grunt.log.subhead("Preparing " + profile + " theme " + (themeIndex + 1) + "/" + themesLength + ": " + theme.name); - - // If theme has declared color map - include it! - if (hasColorMap) { - if (!grunt.file.isFile(themeColorMapPath)) { - grunt.fail.warn("Can't find color map file at " + themeColorMapPath + ". Please build TAU with color map flag, e.g. run in tau folder: grunt css --generate-colormap=true. "); - } - colorMap = grunt.file.readJSON(themeColorMapPath); - } - - // Read less file with definition of colors - content = grunt.file.read(themeColorLessPath); - grunt.log.writeln("\nParsing less file: " + themeColorLessPath); - - // Count all expected matches in case property description won't be catch by property regex - expected = getExpectedVariables(content); - counter.propertiesExpected = expected.length; - - content.replace(regexSection, function (match, headerContent, variables) { - - var sectionProperties = {}, - propertyDescription = '', - tmpIndex; - counter.sections++; - - headerContent = headerContent.trim(); - if (headerContent !== "") { - variables.replace(regexProperty, function (match, variableName, variableValue, widgetType, propertyDescription) { - //regexProperty - var colorTranslation, - propertyOptions; - - colorTranslation = hasColorMap ? colorMap[variableValue.trim()] : variableValue; - propertyDescription = propertyDescription.trim(); - counter.propertiesMatched++; - - // Remove matched variable - tmpIndex = expected.indexOf(variableName); - if (tmpIndex > -1) { - expected.splice(tmpIndex, 1); - } - - - if (!colorTranslation) { - grunt.log.warn("No translation! Value _" + variableValue + "_ in " + variableName); - counter.propertiesIgnored++; - return; - } - - if (sectionProperties[propertyDescription]) { - grunt.log.warn("Duplicate! Property \"" + propertyDescription + "\" for " + variableName + ", which was first declared by " + sectionProperties[propertyDescription].lessVar); - counter.propertiesIgnored++; - return; - } - - propertyOptions = { - "lessVar": variableName, - "widget": { - "type": widgetType, - "default": colorTranslation - } - }; - sectionProperties[propertyDescription] = propertyOptions; - counter.propertiesCreated++; - lessColorMap += variableName + ": " + colorTranslation + ";\n"; - }); - properties[headerContent] = sectionProperties; - } - - return match; - } - ); - - summaryMessage = "Created " + counter.propertiesCreated + "/" + counter.propertiesMatched + " properties divided to " + counter.sections + " sections"; - - if (counter.propertiesIgnored > 0) { - summaryMessage += " (" + counter.propertiesIgnored + " was ignored)"; - } - - if (counter.propertiesExpected === counter.propertiesMatched) { - grunt.log.ok(summaryMessage); - } else { - summaryMessage += "\nExpected " + counter.propertiesExpected + " properties, but " + counter.propertiesMatched + " was matched. Missing:\n"; - summaryMessage += grunt.log.wordlist(expected, {separator: ", ", color: "cyan"}); - grunt.log.warn(summaryMessage); - } - - - grunt.log.writeln("\nSaving files: "); - fs.writeFileSync("src/json/" + profile + "." + theme.name + ".properties.json", JSON.stringify(properties, null, "\t")); - grunt.log.ok("Theme properties JSON: " + profile + "." + theme.name + ".properties.less"); - if (hasColorMap) { - fs.writeFileSync("src/res/" + profile + "." + theme.name + ".colormap.less", lessColorMap); - grunt.log.ok("Color map less file: " + profile + "." + theme.name + ".colormap.less"); - } - } - }); -}; diff --git a/tools/ThemeEditor/grunt/tasks/less-res-fix.js b/tools/ThemeEditor/grunt/tasks/less-res-fix.js deleted file mode 100644 index 89583147..00000000 --- a/tools/ThemeEditor/grunt/tasks/less-res-fix.js +++ /dev/null @@ -1,57 +0,0 @@ -/*jslint nomen: true, plusplus: true */ -/*global module, console */ -module.exports = function (grunt) { - "use strict"; - - var fs = require("fs"), - themeRoot = "src/res/less/"; - - grunt.registerMultiTask("less-res-fix", "Fixes directory structure in resources less files, adds color map", function () { - var profile = this.target, - options = this.data, - themes = options.themes, - theme, - tmp, - destThemePath, - colorMapPath, - themeIndex; - - - for (themeIndex = 0; themeIndex < themes.length; themeIndex++) { - theme = themes[themeIndex]; - colorMapPath = "../../../../" + profile + "." + theme.name + ".colormap.less"; - - destThemePath = themeRoot + profile + "/" + theme.dest; - - if (theme.src !== theme.dest) { - // Copy theme - if (grunt.file.isDir(destThemePath)) { - grunt.file.delete(destThemePath); - grunt.log.ok("Destination directory was cleaned"); - } - - if (!fs.existsSync(destThemePath)) { - fs.mkdirSync(destThemePath); - grunt.log.ok("Destination directory was created"); - } - - - grunt.file.recurse(themeRoot + profile + "/" + theme.src, function (abspath, rootdir, subdir, filename) { - var path = (subdir ? subdir + "/" + filename : filename); - grunt.file.copy(abspath, destThemePath + path); - grunt.verbose.ok(abspath + " --> " + path); - }); - - grunt.log.ok("Source theme copied to " + destThemePath); - } - - tmp = grunt.file.read(destThemePath + "theme.less"); - if (tmp.search(colorMapPath) < 0) { - tmp += '\n@import "' + colorMapPath + '";' - } - grunt.file.write(destThemePath + "theme.less", tmp); - grunt.log.ok("Color map injected to " + profile + "." + theme.name); - } - - }); -}; diff --git a/tools/ThemeEditor/src/images/blank.gif b/tools/ThemeEditor/images/blank.gif Binary files differindex 75b945d2..75b945d2 100755 --- a/tools/ThemeEditor/src/images/blank.gif +++ b/tools/ThemeEditor/images/blank.gif diff --git a/tools/ThemeEditor/src/images/colorpicker_background.png b/tools/ThemeEditor/images/colorpicker_background.png Binary files differindex 8401572f..8401572f 100755 --- a/tools/ThemeEditor/src/images/colorpicker_background.png +++ b/tools/ThemeEditor/images/colorpicker_background.png diff --git a/tools/ThemeEditor/src/images/colorpicker_hex.png b/tools/ThemeEditor/images/colorpicker_hex.png Binary files differindex 4e532d7c..4e532d7c 100755 --- a/tools/ThemeEditor/src/images/colorpicker_hex.png +++ b/tools/ThemeEditor/images/colorpicker_hex.png diff --git a/tools/ThemeEditor/src/images/colorpicker_hsb_b.png b/tools/ThemeEditor/images/colorpicker_hsb_b.png Binary files differindex dfac595d..dfac595d 100755 --- a/tools/ThemeEditor/src/images/colorpicker_hsb_b.png +++ b/tools/ThemeEditor/images/colorpicker_hsb_b.png diff --git a/tools/ThemeEditor/src/images/colorpicker_hsb_h.png b/tools/ThemeEditor/images/colorpicker_hsb_h.png Binary files differindex 3977ed9f..3977ed9f 100755 --- a/tools/ThemeEditor/src/images/colorpicker_hsb_h.png +++ b/tools/ThemeEditor/images/colorpicker_hsb_h.png diff --git a/tools/ThemeEditor/src/images/colorpicker_hsb_s.png b/tools/ThemeEditor/images/colorpicker_hsb_s.png Binary files differindex a2a69973..a2a69973 100755 --- a/tools/ThemeEditor/src/images/colorpicker_hsb_s.png +++ b/tools/ThemeEditor/images/colorpicker_hsb_s.png diff --git a/tools/ThemeEditor/src/images/colorpicker_indic.gif b/tools/ThemeEditor/images/colorpicker_indic.gif Binary files differindex f9fa95e2..f9fa95e2 100755 --- a/tools/ThemeEditor/src/images/colorpicker_indic.gif +++ b/tools/ThemeEditor/images/colorpicker_indic.gif diff --git a/tools/ThemeEditor/src/images/colorpicker_overlay.png b/tools/ThemeEditor/images/colorpicker_overlay.png Binary files differindex 561cdd9c..561cdd9c 100755 --- a/tools/ThemeEditor/src/images/colorpicker_overlay.png +++ b/tools/ThemeEditor/images/colorpicker_overlay.png diff --git a/tools/ThemeEditor/src/images/colorpicker_rgb_b.png b/tools/ThemeEditor/images/colorpicker_rgb_b.png Binary files differindex dfac595d..dfac595d 100755 --- a/tools/ThemeEditor/src/images/colorpicker_rgb_b.png +++ b/tools/ThemeEditor/images/colorpicker_rgb_b.png diff --git a/tools/ThemeEditor/src/images/colorpicker_rgb_g.png b/tools/ThemeEditor/images/colorpicker_rgb_g.png Binary files differindex 72b32760..72b32760 100755 --- a/tools/ThemeEditor/src/images/colorpicker_rgb_g.png +++ b/tools/ThemeEditor/images/colorpicker_rgb_g.png diff --git a/tools/ThemeEditor/src/images/colorpicker_rgb_r.png b/tools/ThemeEditor/images/colorpicker_rgb_r.png Binary files differindex 4855fe03..4855fe03 100755 --- a/tools/ThemeEditor/src/images/colorpicker_rgb_r.png +++ b/tools/ThemeEditor/images/colorpicker_rgb_r.png diff --git a/tools/ThemeEditor/src/images/colorpicker_select.gif b/tools/ThemeEditor/images/colorpicker_select.gif Binary files differindex 599f7f13..599f7f13 100755 --- a/tools/ThemeEditor/src/images/colorpicker_select.gif +++ b/tools/ThemeEditor/images/colorpicker_select.gif diff --git a/tools/ThemeEditor/src/images/colorpicker_submit.png b/tools/ThemeEditor/images/colorpicker_submit.png Binary files differindex 7f4c0825..7f4c0825 100755 --- a/tools/ThemeEditor/src/images/colorpicker_submit.png +++ b/tools/ThemeEditor/images/colorpicker_submit.png diff --git a/tools/ThemeEditor/src/images/custom_background.png b/tools/ThemeEditor/images/custom_background.png Binary files differindex cf55ffdd..cf55ffdd 100755 --- a/tools/ThemeEditor/src/images/custom_background.png +++ b/tools/ThemeEditor/images/custom_background.png diff --git a/tools/ThemeEditor/src/images/custom_hex.png b/tools/ThemeEditor/images/custom_hex.png Binary files differindex 888f4444..888f4444 100755 --- a/tools/ThemeEditor/src/images/custom_hex.png +++ b/tools/ThemeEditor/images/custom_hex.png diff --git a/tools/ThemeEditor/src/images/custom_hsb_b.png b/tools/ThemeEditor/images/custom_hsb_b.png Binary files differindex 2f99dae8..2f99dae8 100755 --- a/tools/ThemeEditor/src/images/custom_hsb_b.png +++ b/tools/ThemeEditor/images/custom_hsb_b.png diff --git a/tools/ThemeEditor/src/images/custom_hsb_h.png b/tools/ThemeEditor/images/custom_hsb_h.png Binary files differindex a217e921..a217e921 100755 --- a/tools/ThemeEditor/src/images/custom_hsb_h.png +++ b/tools/ThemeEditor/images/custom_hsb_h.png diff --git a/tools/ThemeEditor/src/images/custom_hsb_s.png b/tools/ThemeEditor/images/custom_hsb_s.png Binary files differindex 7826b415..7826b415 100755 --- a/tools/ThemeEditor/src/images/custom_hsb_s.png +++ b/tools/ThemeEditor/images/custom_hsb_s.png diff --git a/tools/ThemeEditor/src/images/custom_indic.gif b/tools/ThemeEditor/images/custom_indic.gif Binary files differindex 222fb94c..222fb94c 100755 --- a/tools/ThemeEditor/src/images/custom_indic.gif +++ b/tools/ThemeEditor/images/custom_indic.gif diff --git a/tools/ThemeEditor/src/images/custom_rgb_b.png b/tools/ThemeEditor/images/custom_rgb_b.png Binary files differindex 80764e5d..80764e5d 100755 --- a/tools/ThemeEditor/src/images/custom_rgb_b.png +++ b/tools/ThemeEditor/images/custom_rgb_b.png diff --git a/tools/ThemeEditor/src/images/custom_rgb_g.png b/tools/ThemeEditor/images/custom_rgb_g.png Binary files differindex fc9778be..fc9778be 100755 --- a/tools/ThemeEditor/src/images/custom_rgb_g.png +++ b/tools/ThemeEditor/images/custom_rgb_g.png diff --git a/tools/ThemeEditor/src/images/custom_rgb_r.png b/tools/ThemeEditor/images/custom_rgb_r.png Binary files differindex 91b0cd4c..91b0cd4c 100755 --- a/tools/ThemeEditor/src/images/custom_rgb_r.png +++ b/tools/ThemeEditor/images/custom_rgb_r.png diff --git a/tools/ThemeEditor/src/images/custom_submit.png b/tools/ThemeEditor/images/custom_submit.png Binary files differindex cd202cd9..cd202cd9 100755 --- a/tools/ThemeEditor/src/images/custom_submit.png +++ b/tools/ThemeEditor/images/custom_submit.png diff --git a/tools/ThemeEditor/src/images/iconset.png b/tools/ThemeEditor/images/iconset.png Binary files differindex 501ad189..501ad189 100755 --- a/tools/ThemeEditor/src/images/iconset.png +++ b/tools/ThemeEditor/images/iconset.png diff --git a/tools/ThemeEditor/src/images/select.png b/tools/ThemeEditor/images/select.png Binary files differindex 21213bfd..21213bfd 100755 --- a/tools/ThemeEditor/src/images/select.png +++ b/tools/ThemeEditor/images/select.png diff --git a/tools/ThemeEditor/src/images/select2.png b/tools/ThemeEditor/images/select2.png Binary files differindex 2cd2cabe..2cd2cabe 100755 --- a/tools/ThemeEditor/src/images/select2.png +++ b/tools/ThemeEditor/images/select2.png diff --git a/tools/ThemeEditor/src/images/slider.png b/tools/ThemeEditor/images/slider.png Binary files differindex 8b03da96..8b03da96 100755 --- a/tools/ThemeEditor/src/images/slider.png +++ b/tools/ThemeEditor/images/slider.png diff --git a/tools/ThemeEditor/index.html b/tools/ThemeEditor/index.html new file mode 100755 index 00000000..55e6ec4c --- /dev/null +++ b/tools/ThemeEditor/index.html @@ -0,0 +1,149 @@ +<!DOCTYPE html> +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <title>Theme Editor</title> + <meta name="description" content=""> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> + <link rel="stylesheet" href="css/normalize.css" type="text/css"> + <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.10.3.custom.min.css" type="text/css"> + <link rel="stylesheet" href="css/colorpicker.css" type="text/css"> + <link rel="stylesheet" href="css/themeEditor.css" type="text/css" title="themeEditor"> + <link rel="stylesheet" href="css/style.css" type="text/css"> + + <script type="text/javascript" src="lib/jquery-1.9.1.js"></script> + <script type="text/javascript" src="lib/jquery-ui-1.10.3.custom.min.js"></script> + <script type="text/javascript" src="lib/jquery.xcolor.min.js"></script> + <script type="text/javascript" src="lib/colorpicker.js"></script> + <script type="text/javascript" src="lib/jszip.js"></script> + <script type="text/javascript" src="lib/FileSaver.js"></script> + <script type="text/javascript" src="js/config.js"></script> + <script type="text/javascript" src="js/themeEditor.js"></script> + <script type="text/javascript" src="js/themeEditor.Badge.js"></script> + <script type="text/javascript" src="js/themeEditor.ColorPicker.js"></script> + <script type="text/javascript" src="js/themeEditor.badgePreview.js"></script> + <script type="text/javascript" src="js/main.js"></script> +</head> +<body> + <div id="topPanel"> + <ul> + <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.saveFile()" class="save-css-icon" title="Save your work to CSS file"></a></li> + <li> + <a href="javascript:void(0)" onclick="openImportDialog()">import</a> + <div class="panel-submenu center"> + <textarea id="importDialog"></textarea> + <input type="button" class="button" onclick="themeEditor.badgePreview.importTheme(this)" value="import theme"> + </div> + </li> + <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.historyUndo()" id="historyUndo" class="disabled" title="Get previous configuration from history">« undo</a></li> + <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.historyRedo()" id="historyRedo" class="disabled" title="Get next configuration from history">redo »</a></li> + </ul> + <ul style="float: right;"> + <li>App to preview: + <select id="themeSelect" onchange="themeEditor.badgePreview.changePreview(this.value)"> + <option selected="selected" value="../../standalone/demos/WearableWidgetSample/">WearableWidgetSample</option> + <option value="../../standalone/demos/WatchOnWeb/index.html">WatchOnWeb</option> + <option value="../../standalone/demos/WeatherDemo/index.html">WeatherDemo</option> + <option value="../../standalone/demos/Fallback/index.html">Fallback</option> + <option value="../../standalone/demos/TemplateBasic/index.html">TemplateBasic</option> + <option value="../../standalone/demos/TemplateList/index.html">TemplateList</option> + </select> + </li> + <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.add()" title="Add new theme badge" class="new-badge-icon"></a></li> + <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.remove()" title="Remove current theme badge" class="remove-badge-icon"></a></li> + <li> + <a href="javascript:void(0)" title="Set height of badge" class="width-badge-icon"></a> + <div class="panel-submenu"> + <div class="row"> + <div class="range-max">1920</div><br> + <input type="range" min="160" max="1920" value="320" name="rangeViewportWidth" class="vertical-slider" id="badgeWidthSlider"><br> + <div class="range-min">160</div><br> + <hr> + <span class="current-value">320px</span> + <br> + <input type="checkbox" id="globalBadgeWidth" class="global-settings-checkbox"><br> + <label for="globalBadgeWidth"><small>global</small></label> + </div> + </div> + </li> + <li> + <a href="javascript:void(0)" title="Set height of badge" class="height-badge-icon"></a> + <div class="panel-submenu"> + <div class="row"> + <div class="range-max">1920</div><br> + <input type="range" min="160" max="1920" value="320" class="vertical-slider" id="badgeHeightSlider"><br> + <div class="range-min">160</div><br> + <hr> + <span class="current-value">320px</span> + <br> + <input type="checkbox" id="globalBadgeHeight" class="global-settings-checkbox"><br> + <label for="globalBadgeHeight"><small>global</small></label> + </div> + </div> + </li> + <li> + <a href="javascript:void(0)" title="Set badge size from presets" class="">Devices</a> + <div class="panel-submenu"> + <ul> + <li onclick="resizeBadge(320, 160)">Gear Neo <br><small>320 x 160</small></li> + <li onclick="resizeBadge(320, 320)">Gear <br><small>320 x 320</small></li> + <li onclick="resizeBadge(1920, 1080)">HD Ready<br><small>1280 x 720</small></li> + <li onclick="resizeBadge(1280, 800)">Full HD<br><small>1920 x 1080</small></li> + <li class="global-settings"> + <input type="checkbox" id="globalBadgeSize"> + <label for="globalBadgeSize"><small>global</small></label> + </li> + </ul> + </div> + </li> + <li> + <a href="javascript:void(0)" title="Zoom current view" class="zoom-badge-icon"></a> + <div class="panel-submenu"> + <div class="row"> + <div class="range-max">200</div><br> + <input type="range" min="10" max="200" value="100" name="rangeViewportZoom" class="vertical-slider" id="zoomSlider"><br> + <div class="range-min">1</div><br> + <hr> + <span class="current-value">100%</span> + </div> + </div> + </li> + </ul> + </div> + <div class="flex-row"> + <div id="leftPanel" class="panel-container"><!-- container for left panel --></div> + <div id="centerPanel"> + <div id="workspace"><!-- container for workspace --></div> + </div> + <div id="rightPanel" class="panel-container"> + <div class="panel-box"> + <div class="panel-window hidden"> + <h3>Property value</h3> + <div> + <input type="text" value="" id="widgetText"> + </div> + </div> + <div class="panel-window hidden"> + <h3>Color picker</h3> + <div> + <!-- + @TODO user swatches + <div class="swatch-bar"> + <div class="swatch"></div><div class="swatch"></div><div class="swatch"></div><div class="swatch"></div> + </div> + --> + <div id="panelColorpicker"></div> + <div id="colorProposal"></div> + </div> + </div> + <div class="panel-window"> + <h3>Device properties</h3> + <div> + <input type="button" value="Swap Badge Dimensions" onclick="themeEditor.badgePreview.swapDimensions()"> + </div> + </div> + </div> + </div> + </div> +</body> +</html> diff --git a/tools/ThemeEditor/js/config.js b/tools/ThemeEditor/js/config.js new file mode 100644 index 00000000..cc072a5f --- /dev/null +++ b/tools/ThemeEditor/js/config.js @@ -0,0 +1,323 @@ +/** + * Config file + * If you want to learn how to use this file, please refer to README.txt. + */ + +var properties = { + /* ----------------------- BODY ----------------------- */ + 'Body': { + 'Main background color': { + lessVar: '@color_bg', + widget: {type: 'color', default: 'rgb(0, 0, 0)'} + }, + 'Main font color': { + lessVar: '@color_text', + widget: {type: 'color', default: 'rgb(250, 250, 250)'} + }, + 'Font Family': { + lessVar: '@font_family', + widget: {type: 'text', default: 'Samsung Sans, Helvetica'} + } + }, + /* ----------------------- Action Bar ----------------------- */ + 'Action Bar': { + 'Title text': { + lessVar: '@color_actionbar_title_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Title text background': { + lessVar: '@color_actionbar_title_bg', + widget: {type: 'color', default: 'rgb(75, 66, 55)'} + }, + 'Border color': { + lessVar: '@color_actionbar_border', + widget: {type: 'color', default: 'rgb(107, 86, 61)'} + }, + /* + 'More pressed background': { + lessVar: '@color_actionbar_more_pressed_bg', + widget: {type: 'color', default: '#080808'} + },*/ + 'More Detail Normal Background': { + lessVar: '@icon_actionbar_more_detail_normal', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png'} + }, + 'More Detail Disable Background': { + lessVar: '@icon_actionbar_more_detail_disable', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png'} + }, + 'More Overflow Normal Background': { + lessVar: '@icon_actionbar_more_overflow_normal', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_moreoverflow_normal_holo_dark.png'} + }, + 'More Overflow Disable Background': { + lessVar: '@icon_actionbar_more_overflow_disable', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_moreoverflow_disable_holo_dark.png'} + }, + 'More SelectAll Normal Background': { + lessVar: '@icon_actionbar_more_selectall_normal', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png'} + }, + 'More SelectAll Disable Background': { + lessVar: '@icon_actionbar_more_selectall_disable', + widget: {type: 'text', default: './images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png'} + }, + 'Tab Navigation Active Background': { + lessVar: '@color_actionbar_tab_nav_active_bg', + widget: {type: 'color', default: 'rgb(255, 144, 0)'} + } + }, + /* ----------------------- Progress Bar ----------------------- */ + 'Progress Bar': { + 'Text': { + lessVar: '@color_progressbar_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Normal background color': { + lessVar: '@color_progressbar_normal_bg', + widget: {type: 'color', default: 'rgb(17, 17, 17)'} + }, + 'Value background color': { + lessVar: '@color_progressbar_value_bg', + widget: {type: 'color', default: 'rgb(255, 134, 0)'} + } + }, + /* ----------------------- Processing ----------------------- */ + 'Processing': { + 'Text': { + lessVar: '@color_processing_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + } + }, + /* ----------------------- Toggle Switch ----------------------- */ + 'Toggle Switch': { + 'Text': { + lessVar: '@color_switch_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Background': { + lessVar: '@color_switch_bg', + widget: {type: 'color', default: 'rgb(255, 144, 0)'} + }, + 'Handler background': { + lessVar: '@color_switch_handler_bg', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Activation background (regular)': { + lessVar: '@color_switch_activation_bg', + widget: {type: 'color', default: 'rgb(38, 38, 38)'} + }, + 'Activation background (active)': { + lessVar: '@color_swtich_activation_active_bg', + widget: {type: 'color', default: 'rgb(64, 64, 64)'} + }, + 'Activation background (disabled)': { + lessVar: '@color_switch_activation_disable_bg', + widget: {type: 'color', default: 'rgb(26, 26, 26)'} + }, + 'Activation background (checked)': { + lessVar: '@color_switch_activation_checked_bg', + widget: {type: 'color', default: 'rgb(255, 144, 0)'} + }, + 'Activation background (active & checked)': { + lessVar: '@color_switch_activation_active_checked_bg', + widget: {type: 'color', default: 'rgb(255, 166, 51)'} + }, + 'Activation background (disabled & checked)': { + lessVar: '@color_switch_activation_disable_checked_bg', + widget: {type: 'color', default: 'rgb(76, 43, 0)'} + } + }, + /* ----------------------- Button default ----------------------- */ + 'Button - default': { + 'Text': { + lessVar: '@color_button_default_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Text disabled': { + lessVar: '@color_button_default_text_disable', + widget: {type: 'color', default: 'rgb(51, 51, 51)'} + }, + /*'Border color': { + lessVar: '@color_button_default_border', + widget: {type: 'color', default: 'rgb(159, 151, 145)'} + },*/ + 'Normal background': { + lessVar: '@color_button_default_normal_bg', + widget: {type: 'color', default: 'rgb(75, 66, 55)'} + }, + 'Focus background': { + lessVar: '@color_button_default_focus_bg', + widget: {type: 'color', default: 'rgb(75, 66, 55)'} + }, + 'Press background': { + lessVar: '@color_button_default_press_bg', + widget: {type: 'color', default: 'rgb(99, 93, 89)'} + }, + 'Disabled background': { + lessVar: '@color_button_default_disable_bg', + widget: {type: 'color', default: 'rgb(29, 26, 24)'} + } + }, + /* ----------------------- Button red ----------------------- */ + 'Button - red': { + 'Text': { + lessVar: '@color_button_red_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Text disabled': { + lessVar: '@color_button_red_text_disable', + widget: {type: 'color', default: 'rgba(255, 255, 255, 0.15)'} + }, + /* + 'Border color': { + lessVar: '@color_button_red_border', + widget: {type: 'color', default: 'rgb(255, 144, 0)'} + },*/ + 'Normal background': { + lessVar: '@color_button_red_normal_bg', + widget: {type: 'color', default: '#ce2302'} + }, + 'Focus background': { + lessVar: '@color_button_red_focus_bg', + widget: {type: 'color', default: '#ce2302'} + }, + 'Press background': { + lessVar: '@color_button_red_press_bg', + widget: {type: 'color', default: '#dd654e'} + }, + 'Disabled background': { + lessVar: '@color_button_red_disable_bg', + widget: {type: 'color', default: '#3d0a0a'} + } + }, + /* ----------------------- Button orange ----------------------- */ + 'Button - orange': { + 'Text': { + lessVar: '@color_button_orange_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Text disabled': { + lessVar: '@color_button_orange_text_disable', + widget: {type: 'color', default: 'rgba(255, 255, 255, 0.15)'} + }, + /* + 'Border color': { + lessVar: '@color_button_orange_border', + widget: {type: 'color', default: 'rgb(255, 246, 0)'} + },*/ + 'Normal background': { + lessVar: '@color_button_orange_normal_bg', + widget: {type: 'color', default: '#ed8600'} + }, + 'Focus background': { + lessVar: '@color_button_orange_focus_bg', + widget: {type: 'color', default: '#ed8600'} + }, + 'Press background': { + lessVar: '@color_button_orange_press_bg', + widget: {type: 'color', default: '#f0aa56'} + }, + 'Disabled background': { + lessVar: '@color_button_orange_disable_bg', + widget: {type: 'color', default: '#462805'} + } + }, + /* ----------------------- Button green ----------------------- */ + 'Button - green': { + 'Text': { + lessVar: '@color_button_green_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Text disabled': { + lessVar: '@color_button_green_text_disable', + widget: {type: 'color', default: 'rgba(255, 255, 255, 0.15)'} + }, + /*'Border color': { + lessVar: '@color_button_green_border', + widget: {type: 'color', default: 'rgb(141, 255, 0)'} + },*/ + 'Normal background': { + lessVar: '@color_button_green_normal_bg', + widget: {type: 'color', default: '#64a323'} + }, + 'Focus background': { + lessVar: '@color_button_green_focus_bg', + widget: {type: 'color', default: '#64a323'} + }, + 'Press background': { + lessVar: '@color_button_green_press_bg', + widget: {type: 'color', default: '#92be5e'} + }, + 'Disabled background': { + lessVar: '@color_button_green_disable_bg', + widget: {type: 'color', default: '#1e3108'} + } + }, + /* ----------------------- Popup ----------------------- */ + 'Popup': { + 'Title text': { + lessVar: '@color_popup_title_text', + widget: {type: 'color', default: 'rgb(255, 144, 0)'} + }, + 'Background color': { + lessVar: '@color_popup_bg', + widget: {type: 'color', default: 'rgb(34, 34, 34)'} + }, + 'Border color': { + lessVar: '@color_popup_border', + widget: {type: 'color', default: 'rgb(67, 67, 67)'} + }, + 'Button background color': { + lessVar: '@color_popup_button_bg', + widget: {type: 'color', default: 'rgb(72, 65, 60)'} + }, + 'Press background color': { + lessVar: '@color_popup_button_press_bg', + widget: {type: 'color', default: 'rgb(99, 93, 89)'} + } + }, + /* ----------------------- List ----------------------- */ + 'List': { + 'Title text': { + lessVar: '@color_list_border', + widget: {type: 'color', default: 'rgb(51, 51, 51)'} + }, + 'Background color': { + lessVar: '@color_list_press_bg', + widget: {type: 'color', default: 'rgb(99, 93, 89)'} + }, + 'Border color': { + lessVar: '@color_listview_border', + widget: {type: 'color', default: 'rgb(64, 64, 64)'} + } + + }, + /* ----------------------- Index Scrollbar (vertical) ----------------------- */ + 'Index Scrollbar': { + 'Background': { + lessVar: '@color_indexscrollbar_bg', + widget: {type: 'color', default: '#222222'} + }, + 'Main text color': { + lessVar: '@color_indexscrollbar_text', + widget: {type: 'color', default: 'rgb(89, 89, 89)'} + }, + 'Selected index background': { + lessVar: '@color_indexscrollbar_selected_bg', + widget: {type: 'color', default: '#f99107'} + }, + 'Selected index text color': { + lessVar: '@color_indexscrollbar_selected_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + }, + 'Indicator background': { + lessVar: '@color_indexscrollbar_indicator_bg', + widget: {type: 'color', default: 'rgb(88, 73, 58)'} + }, + 'Indicator text color': { + lessVar: '@color_indexscrollbar_indicator_text', + widget: {type: 'color', default: 'rgb(255, 255, 255)'} + } + } +};
\ No newline at end of file diff --git a/tools/ThemeEditor/js/main.js b/tools/ThemeEditor/js/main.js new file mode 100755 index 00000000..bd5769a6 --- /dev/null +++ b/tools/ThemeEditor/js/main.js @@ -0,0 +1,44 @@ +/*jslint browser: true */ +/*global themeEditor, properties*/ + +function openImportDialog() { + var dialog = document.getElementById('importDialog'); + dialog.classList.toggle('hidden'); + dialog.querySelector('[type="button"]').click(); +} + +function resizeBadge(width, height) { + var globalSettings = document.getElementById('globalBadgeSize').checked; + + themeEditor.badgePreview.resizeViewport(width, height, undefined, globalSettings); +} + +window.onload = function () { + 'use strict'; + themeEditor.init(properties); + + document.getElementById('badgeHeightSlider').onchange = function (e) { + var element = e.srcElement || e.target, + globalSettings = document.getElementById('globalBadgeHeight').checked; + + themeEditor.badgePreview.resizeViewport(undefined, element.value, undefined, globalSettings); + element.parentNode.querySelector('.current-value').innerHTML = element.value + 'px'; + }; + + document.getElementById('badgeWidthSlider').onchange = function (e) { + var element = e.srcElement || e.target, + globalSettings = document.getElementById('globalBadgeWidth').checked; + + themeEditor.badgePreview.resizeViewport(element.value, undefined, undefined, globalSettings); + element.parentNode.querySelector('.current-value').innerHTML = element.value + ' px'; + }; + + document.getElementById('zoomSlider').onchange = function (e) { + var element = e.srcElement || e.target; + + themeEditor.badgePreview.zoomViewport(element.value, undefined, undefined, true); + element.parentNode.querySelector('.current-value').innerHTML = element.value + '%'; + }; + + +}; diff --git a/tools/ThemeEditor/js/themeEditor.Badge.js b/tools/ThemeEditor/js/themeEditor.Badge.js new file mode 100644 index 00000000..f18eba6a --- /dev/null +++ b/tools/ThemeEditor/js/themeEditor.Badge.js @@ -0,0 +1,208 @@ +/*jslint browser: true, white: true */ +/*global $, CustomEvent*/ +(function (window) { + 'use strict'; + + var themeEditor = window.themeEditor, + cssClasses = { + badge: 'theme-badge', + badgeActive: 'theme-badge-active', + navBar: 'badge-navbar', + historyBack: 'badge-history-back', + historyForward: 'badge-history-forward' + }, + Badge = function () { + this.badgePreview = null; + this.element = null; + this.iframeElement = null; + this.modifiedVariables = {}; + this.modificationHistory = [{}]; // {cssVar: value} + this.modificationHistoryIndex = 0; + this.contentWindow = null; + this.historyPosition = 0; + + this.historyBackBound = null; + this.historyForwardBound = null; + + return this; + }; + + + function badgeClickHandler(badgePreview, event) { + var badgeList = badgePreview.badgeList, + currentBadge = event.currentTarget, + index = 0, + i; + + // Find current badge + for (i = badgeList.length - 1; i >= 0; i -= 1) { + if (badgeList[i].element === currentBadge) { + index = i; + i = 0; + } + } + badgePreview.setActive(index); + } + + function historyTraverse (self, direction) { + var history = self.contentWindow.history; + + switch (direction) { + case 'back': + self.contentWindow.tau.back(); + break; + case 'forward': + history.forward(); + break; + } + } + + function badgeLoad (self, event) { + var iframe = event.srcElement, + scriptTag, + styleTag, + linkTag, + lessConfig, + frameDocument = iframe.contentDocument, + frameDocumentHead = frameDocument.head, + frameStyleSheets = frameDocument.styleSheets, + root = themeEditor.config.root, + themeRoot = themeEditor.config.themeRoot, + badgePreview = self.badgePreview, + i; + + // Remove current tau.css stylesheet + for (i = frameStyleSheets.length - 1; i >= 0; i -= 1) { + if (frameStyleSheets[i].href && frameStyleSheets[i].href.search(/tau(\.min)?\.css$/) > 0) { + frameStyleSheets[i].disabled = true; + frameStyleSheets[i].ownerNode.parentNode.removeChild(frameStyleSheets[i].ownerNode); + } + } + + // Add LESS file + linkTag = frameDocument.createElement('link'); + linkTag.setAttribute('rel', 'stylesheet/less'); + linkTag.setAttribute('type', 'text/css'); + linkTag.setAttribute('href', themeRoot + 'tau.less'); + frameDocumentHead.appendChild(linkTag); + + // Add LESS configuration + lessConfig = { + env: "production", // production/development + async: false, // load imports async + fileAsync: false, // load imports async when in a page under a file protocol + poll: 1000, // when in watch mode, time in ms between polls + functions: {}, // user functions, keyed by name + dumpLineNumbers: "", // or "mediaQuery" or "all" + errorReporting: 'console', + relativeUrls: false // whether to adjust url's to be relative if false, url's are already relative to the entry less file + }; + scriptTag = frameDocument.createElement('script'); + scriptTag.textContent = 'less = ' + JSON.stringify(lessConfig); + frameDocumentHead.appendChild(scriptTag); + + styleTag = frameDocument.createElement('style'); + + // @TODO: remove when scrollbar will be styled in tau less files + styleTag.textContent = '::-webkit-scrollbar{ width: 5px; border-radius:3px; }' + + '::-webkit-scrollbar-track{ border-radius:3px; background: transparent; }' + + '::-webkit-scrollbar-thumb{ border-radius: 2px; background: #777777; }' + + '::-webkit-scrollbar-track-piece { height: 30px; }'; + + frameDocumentHead.appendChild(styleTag); + + + // Add LESS library + scriptTag = frameDocument.createElement('script'); + //scriptTag.src = root + 'lib/less-1.6.3.min.js'; + scriptTag.src = root + 'lib/less-1.6.3.js'; + frameDocumentHead.appendChild(scriptTag); + + // Cache contentWindow + self.contentWindow = iframe.contentWindow; + + // Refresh badge if less is loaded + scriptTag.onload = badgePreview.changeText.bind(badgePreview, true); + + } + + Badge.prototype.buildNavigationBar = function () { + var container = document.createElement('div'), + self = this, + el; + + container.classList.add(cssClasses.navBar); + + self.historyBackBound = historyTraverse.bind('', self, 'back'); + el = document.createElement('a'); + el.innerHTML = '«'; + el.classList.add(cssClasses.historyBack); + el.addEventListener('click', self.historyBackBound); + container.appendChild(el); + + self.historyForwardBound = historyTraverse.bind('', self, 'forward'); + el = document.createElement('a'); + el.innerHTML = '»'; + el.classList.add(cssClasses.historyForward); + el.addEventListener('click', self.historyForwardBound); + container.appendChild(el); + + el = document.createElement('span'); + el.className = 'badge-size'; + container.appendChild(el); + + this.element.appendChild(container); + }; + + Badge.prototype.build = function (workspace, url, badgePreview) { + var badgeElement, + iframe; + + this.badgePreview = badgePreview; + + // Create badge container + badgeElement = document.createElement('div'); + badgeElement.className = cssClasses.badge; + badgeElement.addEventListener('click', badgeClickHandler.bind(null, badgePreview), false); + this.element = badgeElement; + + // Build navigation bar + this.buildNavigationBar(); + + // Create iframe - theme holder + iframe = document.createElement('iframe'); + iframe.setAttribute('src', url); + badgeElement.appendChild(iframe); + iframe.onload = badgeLoad.bind('', this); + this.iframeElement = iframe; + + // Append to workspace + workspace.appendChild(badgeElement); + }; + + Badge.prototype.changeUrl = function (url) { + var self = this, + element = self.element, + iframe; + + + // Replace current iframe... + iframe = this.iframeElement; + iframe.parentNode.removeChild(iframe); + + // ... with new one. + iframe = document.createElement('iframe'); + iframe.setAttribute('src', url); + element.appendChild(iframe); + this.iframeElement = iframe; + + iframe.onload = badgeLoad.bind('', this); + }; + + Badge.prototype.destroy = function () { + //@TODO write destroy method + this.element.removeEventListener('click', badgeClickHandler.bind(null, this.badgePreview), false); + }; + + themeEditor.Badge = Badge; +}(window));
\ No newline at end of file diff --git a/tools/ThemeEditor/src/js/themeEditor.ColorPicker.js b/tools/ThemeEditor/js/themeEditor.ColorPicker.js index a0b301d7..88a7d763 100644 --- a/tools/ThemeEditor/src/js/themeEditor.ColorPicker.js +++ b/tools/ThemeEditor/js/themeEditor.ColorPicker.js @@ -1,24 +1,23 @@ /*jslint browser: true */ -/*global $, CustomEvent, badgeClickHandler, badgePreview*/ +/*global $, CustomEvent*/ (function (window) { 'use strict'; var themeEditor = window.themeEditor, - ColorPicker = {}; + cssClasses = { + //@TODO: please fill + }, + ColorPicker = function () { - ColorPicker = function (element, onChange) { - // Build Color Picker - this.colorPicker = element.ColorPicker({ - flat: true, - onChange: onChange - }); + return this; + }; - return this; + ColorPicker.prototype.build = function (element) { + $(element).ColorPickerSetColor(); }; ColorPicker.prototype.setColor = function (color) { - var hexColor = $.xcolor.test(color).getHex(); - this.colorPicker.ColorPickerSetColor(hexColor); + $.xcolor.test(color).getHex() }; ColorPicker.prototype.destroy = function () { diff --git a/tools/ThemeEditor/src/js/themeEditor.BadgePreview.js b/tools/ThemeEditor/js/themeEditor.badgePreview.js index 0d1b80a8..f877003c 100644 --- a/tools/ThemeEditor/src/js/themeEditor.BadgePreview.js +++ b/tools/ThemeEditor/js/themeEditor.badgePreview.js @@ -1,257 +1,85 @@ -/*jslint browser: true, white: true*/ -/*global $, CustomEvent, Blob, saveAs*/ - +/*jslint browser: true, white: true */ +/*global $, CustomEvent, Uint8Array, JSZip*/ (function (window) { 'use strict'; - /** - * @property {ThemeEditor} themeEditor reference to device viewer object - */ + var themeEditor = window.themeEditor, - /** - * @property {ThemeEditor.config} themeEditorConfig reference to device viewer configuration - */ + saveAs = window.saveAs, + Blob = window.Blob, themeEditorConfig = themeEditor.config, - /** - * @property {Object} cssClasses List of available CSS classes - * @property {string} cssClasses.badge CSS Class for not active badge - * @property {string} cssClasses.badgeActive CSS Class for active / selected badge - * @property {string} cssClasses.navBar CSS Class for navigation bar of badge - */ cssClasses = { badge: 'theme-badge', badgeActive: 'theme-badge-active', navBar: 'theme-badge-navbar' }, - /** - * @param {number} maxBadgeWidth - * Maximum width of badge in pixels - */ - maxBadgeWidth = 0, - /** - * @param {number} viewportZoom - * Current zoom set for viewport - */ - viewportZoom = 1, - /** - * @constructor Badge preview constructor - */ BadgePreview = function () { /** - * @property {?HTMLElement} workspaceContainer HTMLElement contains all badges + * @type workspaceContainer HTMLElement contains all badges */ this.workspaceContainer = null; - /** - * @property {Badge[]} badgeList List of badges attached to workspace - */ this.badgeList = []; - /** - * @property {?number} activeBadgeIndex Index of active badge - */ this.activeBadgeIndex = null; - /** - * @property {CSSStyleSheet} styleSheet - * Reference to Device Viewer style sheet. Global change of badge sizes - * affects rule changing in style sheet - */ this.styleSheet = null; - /** - * @property {Object} properties Badge Preview properties - * @property {BadgeConfig} properties.defaultBadge Default badge properties is used when badges are created without - * defined properties - * @property {number} properties.maxBadgeCount Maximum number of badges - */ - this.properties = { - defaultBadge: {}, - maxBadgeCount: 0 - }; + this.cachedRules = {}; + this.colorSwatches = {}; + /** * Current modified CSS / Less variable */ this.currentCssVar = null; - }; - - - - /** - * Returns current zoom. - * @returns {number} Current zoom - */ - BadgePreview.prototype.getViewportZoom = function () { - return viewportZoom; - }; - - /** - * Returns the widest badge - * @returns {number} Maximum badge width in pixels - */ - BadgePreview.prototype.getMaxBadgeWidth = function () { - return maxBadgeWidth; - }; + }, + // Number of files needed to be load for ZIP archive + filesToLoad = 0; - /** - * @method updateMaxBadgeWidth - * Updates info about the widest badge - * @returns {number} Maximum badge width in pixels - */ - BadgePreview.prototype.updateMaxBadgeWidth = function () { - var badgeList, - i; + function addToZip(httpRequest, fileName, zipFolder, zipRoot) { + if (httpRequest.readyState === 4) { + var fileData = new Uint8Array(httpRequest.response); - // Reset max badge width - maxBadgeWidth = 0; + // Add new file to zip + zipFolder.file(fileName, fileData, {base64: true, binary: true}); - // Cache badge list - badgeList = this.badgeList; + // Decrement number of files to load + filesToLoad -= 1; - for (i = badgeList.length - 1; i >= 0; --i) { - // Get maximum width - if (badgeList[i].properties.width > maxBadgeWidth) { - maxBadgeWidth = badgeList[i].properties.width; + // Download ZIP file if all files were downloaded + if (filesToLoad === 0) { + saveAs(new Blob([zipRoot.generate({type:"blob"})], {type: "application/zip;base64"}), "custom-theme.zip"); } } - return maxBadgeWidth; - }; - - /** - * @method updateDevicePropertiesPanel - * Updates device properties box with selected badge properties - * @param {Badge} badge Selected badge - */ - BadgePreview.prototype.updateDevicePropertiesPanel = function (badge) { - var badgeProperties = badge.properties, - element; - - this.updateMaxBadgeWidth(); - - document.getElementById('badge-name').innerHTML = badgeProperties.name; - document.getElementById('badge-width').innerHTML = badgeProperties.width; - document.getElementById('badge-height').innerHTML = badgeProperties.height; - document.getElementById('badge-resolution').innerHTML = badgeProperties.displayWidth + ' x ' + badgeProperties.displayHeight; - document.getElementById('badge-pixel-ratio').innerHTML = badgeProperties.pixelRatio; - - element = document.getElementById('badgeWidthSlider'); - element.value = badgeProperties.width; - element.parentNode.querySelector('.current-value').value = element.value; - - element = document.getElementById('badgeHeightSlider'); - element.value = badgeProperties.height; - element.parentNode.querySelector('.current-value').value = element.value; - }; - - /** - * @method swapDimensions - * Changes orientation of displayed badge from horizontal to vertical and vice versa. It swaps dimensions of badge. - */ - BadgePreview.prototype.swapDimensions = function () { - var badge = this.getActive(), - badgeElement = badge.iframeElement, - badgeProperties = badge.properties, - tmpWidth, tmpHeight; - - // Swapping device resolution - tmpWidth = badgeProperties.displayWidth; - tmpHeight = badgeProperties.displayHeight; - badgeProperties.displayHeight = tmpWidth; - badgeProperties.displayWidth = tmpHeight; - - // Swapping badge size - tmpWidth = badgeElement.style.width || (badgeElement.clientWidth + 'px'); - tmpHeight = badgeElement.style.height || (badgeElement.clientHeight + 'px'); - - // Update badge size and device properties box - badge.setSize(tmpHeight, tmpWidth); - themeEditor.fixUI(); - }; - - /** - * @method zoomViewport - * Changes zoom of viewport / workspace - * @param {string|number} zoomValue Zoom value expressed in percents - */ - BadgePreview.prototype.zoomViewport = function (zoomValue) { - var workspaceStyle = this.workspaceContainer.style; - - // make sure that zoom value is integer - viewportZoom = parseInt(zoomValue, 10) / 100 || 0; - - workspaceStyle.webkitTransform = 'scale(' + viewportZoom + ')'; - workspaceStyle.webkitTransformOrigin = '0 0'; - workspaceStyle.width = (100 / viewportZoom) + '%'; - workspaceStyle.height = (100 / viewportZoom) + '%'; - - // Fix device viewer UI - themeEditor.fixUI(); - }; - - /** - * @method resizeViewport - * Changes viewport settings (badge size or zoom) if proper values given. If global settings flag is true, global - * changes of badge size will affect. - * @param {?number} widthValue Badge width - * @param {?number} heightValue Badge height - * @param {?number|string} zoomValue Viewport zoom expressed in percents - * @param {boolean} globalSettings Flag if changes are global or not - */ - BadgePreview.prototype.resizeViewport = function (widthValue, heightValue, zoomValue, globalSettings) { - var styleSheet = this.styleSheet, - cssRules = styleSheet.cssRules, - badgeList = this.badgeList, - lastStyle = {}, - i, - ruleTxt = '', - badge, - // @TODO Build selector value according to Device Viewer Config - selector = '#workspace .' + cssClasses.badge + ' iframe, #workspace .' + cssClasses.badgeActive + ' iframe'; + } - // If globalSettings is true, set size for all badges - if (globalSettings === true) { - for (i = cssRules.length - 1; i >= 0; i -= 1) { - if (cssRules[i].selectorText === selector) { - lastStyle.width = cssRules[i].style.width; - lastStyle.height = cssRules[i].style.height; - lastStyle.webkitTransform = cssRules[i].style.webkitTransform; - styleSheet.deleteRule(i); - i = 0; - } - } + function prepareToZip(url, destinationPath, zip, zipDir) { + var httpRequest, + path, + fileName, + dirName = '', + zipRoot, + i; - if (widthValue) { - ruleTxt += 'width: ' + (parseInt(widthValue, 10) || 0) + 'px;'; - // Reset custom width of badges - for (i = badgeList.length - 1; i >= 0; i -= 1) { - badgeList[i].iframeElement.style.width = ''; - } - } else { - ruleTxt += lastStyle.width ? 'width: ' + lastStyle.width + ';' : ''; - } + path = destinationPath.split('/'); - if (heightValue) { - ruleTxt += 'height: ' + (parseInt(heightValue, 10) || 0) + 'px ;'; - // Reset custom height of badges - for (i = badgeList.length - 1; i >= 0; i -= 1) { - badgeList[i].iframeElement.style.height = ''; - } - } else { - ruleTxt += lastStyle.height ? 'height: ' + lastStyle.height + ';' : ''; - } + // remove '..' + path.shift(); + fileName = path.pop(); - if (zoomValue) { - viewportZoom = parseInt(zoomValue, 10); - ruleTxt += '-webkit-transform: scale(' + (viewportZoom / 100 || 0) + ') ;'; - } else { - ruleTxt += lastStyle.webkitTransform ? '-webkit-transform: ' + lastStyle.webkitTransform + ';' : ''; + // Save root of a ZIP archive + zipRoot = zip; + for (i = 0; i < path.length; i += 1) { + dirName = dirName + '/' + path[i]; + if (zipDir[dirName] === undefined) { + zipDir[dirName] = zip.folder(path[i]); } - - styleSheet.insertRule(selector + '{ ' + ruleTxt + ' }', cssRules.length); - } else { - badge = this.getActive(); - badge.setSize(widthValue, heightValue); + zip = zipDir[dirName]; } - // Fix device viewer UI - themeEditor.fixUI(); - }; + httpRequest = new XMLHttpRequest(); + httpRequest.onreadystatechange = addToZip.bind('', httpRequest, fileName, zip, zipRoot); + httpRequest.open("GET", url, true); + httpRequest.setRequestHeader("Cache-Control", "no-cache"); + httpRequest.responseType = "arraybuffer"; + httpRequest.send(); + } BadgePreview.prototype.historyJump = function (jump) { var badge = this.getActive(), @@ -365,9 +193,40 @@ }; - + BadgePreview.prototype.updateLabels = function () { + var modifiedVariables = this.getActive().modifiedVariables, + themeProperties = themeEditor.config.themeProperties, + categoryProperties, + categoryKey, + label, + labelKey, + defaultVar, + lessVar; + + // TODO: do it more efficient + // Search for all categories + for (categoryKey in themeProperties) { + if (themeProperties.hasOwnProperty(categoryKey)) { + categoryProperties = themeProperties[categoryKey]; + // Search for all labels + for (labelKey in categoryProperties) { + if (categoryProperties.hasOwnProperty(labelKey)) { + label = categoryProperties[labelKey]; + defaultVar = label.widget.default; + lessVar = label.lessVar; + + $('[data-css="' + lessVar + '"]').tooltip('option', 'content', 'Less variable: <b>' + lessVar + '</b>' + + '<br>Default Value: <b>' + defaultVar + '</b>' + + (modifiedVariables[lessVar] ? '<br>Current Value: <b data-bind="current-value">' + modifiedVariables[lessVar] + '</b>' : '')); + } + } + } + } + }; + /* ********************************************** + * VARIABLE MANIPULATING + ***********************************************/ BadgePreview.prototype.changeColor = function (hsb, hex, rgb) { - /*jslint unparam: true*/ document.getElementById('widgetText').value = 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')'; this.changeText(); }; @@ -403,12 +262,11 @@ } else { lessFrame.modifyVars(modifiedVariables); } - - if (themeEditor.getCssVariable(cssVar).type === 'color') { - themeEditor.colorPicker.setColor(handler.value); - } }; + /* ********************************************** + * + ***********************************************/ BadgePreview.prototype.importTheme = function (txt) { var activeBadge = this.getActive(), lines, @@ -424,21 +282,20 @@ if (line.match(/^@[a-z0-9_\-]/i)) { line = line.split(':', 2); - importedVariables[line[0]] = line[1].replace(/;\s?$/, ''); + importedVariables[line[0]] = line[1].replace(';\s?$', ''); } } activeBadge.modifiedVariables = importedVariables; this.changeText(true); - }; + } - - BadgePreview.prototype.saveFile = function () { + BadgePreview.prototype.saveFile = function () { var self = this, - config = themeEditorConfig; + themeRoot = themeEditorConfig.themeRoot; // Load less file to be parsed - $.get(config.themeRoot + config.themeFile, function(data){ + $.get(themeRoot + 'tau.less', function(data){ var badgeLess, badgeLessParser, lessString = '', @@ -452,7 +309,7 @@ // Create less parser badgeLessParser = new(badgeLess.Parser)({ - filename: config.themeRoot + config.themeFile + filename: themeRoot + 'tau.less' }); // Get modified less variables @@ -461,7 +318,7 @@ // Overwrite less variables for(tmpName in modifiedVariables) { if (modifiedVariables.hasOwnProperty(tmpName)) { - lessString += '\n' + tmpName + ': ' + modifiedVariables[tmpName] + ';'; + lessString += '\n' + tmpName + ': ' + modifiedVariables[tmpName]; } } @@ -472,46 +329,154 @@ cssHeader += '\n\n-------------------- ---------------------\n*/\n\n'; // Assign response less - lessString = data + '\n' + lessString; + lessString = data; // Parse received less file and finally save response with resources in ZIP file badgeLessParser.parse(lessString, function (e, tree) { - /*jslint unparam: true*/ - var cssContent; + var cssContent, + absolutePaths, + fileRelativePath, + filePath, + zipDir = {}, + zip, + i; // Get css content - //cssContent = cssHeader + tree.toCSS(); + cssContent = cssHeader + tree.toCSS(); - tree.toCSS(); - cssContent = cssHeader + tree.toDiff(modifiedVariables); + // Init ZIP archive + zip = new JSZip(); - saveAs(new Blob([cssContent], {type: "text/css"}), "diff.css"); + // Match urls - search for resources + absolutePaths = cssContent.match(/url\(([^)]+)\)/gi) || []; - }); + // Remove duplicates + absolutePaths = absolutePaths.filter(function(value, index, array){ + return array.indexOf(value) === index; + }); + + filesToLoad = absolutePaths.length; + for (i = filesToLoad - 1; i >= 0; i -= 1) { + // Remove url() wrapper + filePath = absolutePaths[i].replace(/^url *\(['|"]?/i, '').replace(/['|"]?\)$/, ''); + + // Check if filePath has relative path + if (!(/^[a-z]+:\/\//.test(filePath))) { + // Remove first first / sign + filePath = filePath.replace('^\/', ''); + filePath = themeRoot + filePath; + } + + // Resolve relative path to themeRoot + fileRelativePath = themeEditor.resolvePath(themeRoot + 'css/', filePath); + // Prepare file to adding it to ZIP archive + prepareToZip(filePath, fileRelativePath, zip, zipDir); + + } + // Add css file + zip.folder('css').file('tau.css', cssContent); + + }); }); + }; + + BadgePreview.prototype.swapDimensions = function () { + var badgeElement = this.getActive().iframeElement, + tmpWidth, tmpHeight; + + tmpWidth = badgeElement.style.width || (badgeElement.clientWidth + 'px'); + tmpHeight = badgeElement.style.height || (badgeElement.clientHeight + 'px'); + + badgeElement.style.width = tmpHeight; + badgeElement.style.height = tmpWidth; }; - /** - * @method getActive - * Returns active badge instance - * @returns {Badge} Active badge instance - */ + BadgePreview.prototype.zoomViewport = function (zoomValue) { + var workspaceStyle = this.workspaceContainer.style; + + zoomValue = parseInt(zoomValue, 10) / 100 || 0; + + workspaceStyle.webkitTransform = 'scale(' + zoomValue + ')'; + workspaceStyle.webkitTransformOrigin = '0 0'; + workspaceStyle.width = (100 / zoomValue) + '%'; + workspaceStyle.height = (100 / zoomValue) + '%'; + + + }; + + BadgePreview.prototype.resizeViewport = function (widthValue, heightValue, zoomValue, globalSettings) { + var styleSheet = this.styleSheet, + cssRules = styleSheet.cssRules, + badgeList = this.badgeList, + lastStyle = {}, + i, + ruleTxt = '', + element, + selector = '#workspace .' + cssClasses.badge + ' iframe, #workspace .' + cssClasses.badgeActive + ' iframe'; + + // If globalSettings is true, set size for all badges + if (globalSettings === true) { + for (i = cssRules.length - 1; i >= 0; i -= 1) { + if (cssRules[i].selectorText === selector) { + lastStyle.width = cssRules[i].style.width; + lastStyle.height = cssRules[i].style.height; + lastStyle.webkitTransform = cssRules[i].style.webkitTransform; + styleSheet.deleteRule(i); + i = 0; + } + } + + if (widthValue) { + ruleTxt += 'width: ' + (parseInt(widthValue, 10) || 0) + 'px;'; + // Reset custom width of badges + for (i = badgeList.length - 1; i >= 0; i -= 1) { + badgeList[i].iframeElement.style.width = ''; + } + } else { + ruleTxt += lastStyle.width ? 'width: ' + lastStyle.width + ';' : ''; + } + + if (heightValue) { + ruleTxt += 'height: ' + (parseInt(heightValue, 10) || 0) + 'px ;'; + // Reset custom height of badges + for (i = badgeList.length - 1; i >= 0; i -= 1) { + badgeList[i].iframeElement.style.height = ''; + } + } else { + ruleTxt += lastStyle.height ? 'height: ' + lastStyle.height + ';' : ''; + } + + if (zoomValue) { + ruleTxt += '-webkit-transform: scale(' + (parseInt(zoomValue, 10) / 100 || 0) + ') ;'; + } else { + ruleTxt += lastStyle.webkitTransform ? '-webkit-transform: ' + lastStyle.webkitTransform + ';' : ''; + } + + styleSheet.insertRule(selector + '{ ' + ruleTxt + ' }', cssRules.length); + } else { + element = this.getActive().iframeElement; + + if (widthValue) { + element.style.width = (parseInt(widthValue, 10) || 0) + 'px'; + } + if (heightValue) { + element.style.height = (parseInt(heightValue, 10) || 0) + 'px'; + } + } + + }; + BadgePreview.prototype.getActive = function () { return this.badgeList[this.activeBadgeIndex]; }; - /** - * @method remove - * @param {boolean} [force] If set to true, ommits 1 badge requirement - * Removes selected badge from workspace - */ - BadgePreview.prototype.remove = function (force) { + BadgePreview.prototype.remove = function () { var badgeList = this.badgeList, activeBadgeIndex = this.activeBadgeIndex, badge = this.badgeList[activeBadgeIndex]; - if (badgeList.length > 1 || force) { + if (badgeList.length > 1) { this.workspaceContainer.removeChild(badge.element); badgeList.splice(activeBadgeIndex, 1); this.setActive(badgeList[activeBadgeIndex] ? activeBadgeIndex : activeBadgeIndex - 1); @@ -521,47 +486,29 @@ }; /** - * Builds and adds new badge to badge preview / workspace - * @param {?BadgeConfig} badgeProperties Initial badge properties - * @returns {Badge} Just created Badge instance + * Build and add new badge to badge preview */ - BadgePreview.prototype.add = function (badgeProperties) { + BadgePreview.prototype.add = function (previewUrl) { var workspace = this.workspaceContainer, - badge; - - if (this.badgeList.length >= this.properties.maxBadgeCount) { - themeEditor.alert('I can\'t add more badges than ' + this.properties.maxBadgeCount + '!'); - return null; - } - - // If properties are not set, create empty properties - badgeProperties = badgeProperties || this.properties.defaultBadge; + badge, + self = this; - // Assign default preview url if was not set - if (!badgeProperties.previewUrl) { - badgeProperties.previewUrl = themeEditorConfig.previewUrl; + if (previewUrl === undefined) { + previewUrl = themeEditorConfig.previewUrl; } - // Create new Badge instance ... + // Create new Badge badge = new themeEditor.Badge(); - // ... and build it - badge.build(workspace, badgeProperties, this); + badge.build(workspace, previewUrl, self); - // Push badge to badge list + // Push badge to list this.badgeList.push(badge); - // Return an instance of just created badge return badge; }; - /** - * @method setActive - * Sets active badge on given index from {@link BadgePreview#badgeList} - * @param {?number} index Index of badge that should be activated. If is not set first badge will be activated. - */ BadgePreview.prototype.setActive = function (index) { var badgeList = this.badgeList, - badge, i; this.saveHistory(); @@ -569,9 +516,7 @@ if (badgeList[index]) { for (i = badgeList.length - 1; i >= 0; i -= 1) { if (i === index) { - badge = badgeList[i]; - badge.element.className = cssClasses.badgeActive; - this.updateDevicePropertiesPanel(badge); + badgeList[i].element.className = cssClasses.badgeActive; this.activeBadgeIndex = i; } else { badgeList[i].element.className = cssClasses.badge; @@ -584,11 +529,6 @@ }; - /** - * @method changePreview - * Changes app preview on given url. - * @param {string} url App url - */ BadgePreview.prototype.changePreview = function (url) { var badge; @@ -596,58 +536,24 @@ badge.changeUrl(url); }; - /** - * @method init - * Initialize badge preview - * @param {Object} previewProperties Properties of badge preview - */ - BadgePreview.prototype.init = function (previewProperties) { + BadgePreview.prototype.init = function () { var styleSheets = document.styleSheets, sheet, - badgeList = previewProperties.badges, - badgeListLength = badgeList.length || 0, - properties = this.properties, - oldBadgeListLength = this.badgeList.length, i; - // Assign workspace container this.workspaceContainer = themeEditorConfig.workspace; - - // clear old! - while (--oldBadgeListLength >= 0) { - this.remove(true); - } - - // Find device viewer style sheet. This style sheet will be used - // to manipulate badge styling rules. Ex. global badge size change. for (i = styleSheets.length - 1; i >= 0; i -= 1) { sheet = styleSheets[i]; - if (sheet.title === 'themeEditor' || sheet.ownerNode.id.indexOf('themeEditor') !== -1) { + if (sheet.title === 'themeEditor') { this.styleSheet = sheet; - i = 0; // Force loop exit - } - } - - // Set default badge properties - properties.defaultBadge = previewProperties.defaultBadge; - - // Set preview url of selected app - properties.maxBadgeCount = parseInt(previewProperties.maxBadgeCount, 10) || 0; - - if (badgeListLength <= 0) { - // Add new default badge ... - this.add(); - } else { - for (i = 0; i < badgeListLength; i += 1) { - // Add new badge ... - this.add(badgeList[i]); + i = 0; } } - // ... and mark first one as active + this.add(); this.setActive(0); }; themeEditor.badgePreview = new BadgePreview(); -}(window)); +}(window));
\ No newline at end of file diff --git a/tools/ThemeEditor/js/themeEditor.js b/tools/ThemeEditor/js/themeEditor.js new file mode 100644 index 00000000..d4e7975e --- /dev/null +++ b/tools/ThemeEditor/js/themeEditor.js @@ -0,0 +1,334 @@ +/*jslint browser: true, white: true */ +/*global $, window */ + +(function(window, $) { + 'use strict'; + + var cssClasses = { + themeEditor: 'themeEditor', + categoryPanel: 'category-panel', + labelName: 'label-name', + labelSelected: 'label-name-selected' + }, + ThemeEditor = function() { + /** + * Configuration of Theme Editor + */ + this.config = { + /** + * Configuration of properties/variables that can be changed by editor + */ + themeProperties: {}, + /** + * URL to preview page - used by badge + */ + previewUrl: 'resources/preview.html', + /** + * workspace {HTMLElement} workspace container + */ + workspace: null, + /** + * cssVariablePanel {HTMLElement} left panel container + */ + cssVariablePanel: null, + /** + * root {string} Root path of Theme Editor + */ + root: '', + /** + * themeRoot {string} Root path theme less files + */ + themeRoot: '' + }; + + /** + * Holds all css variables that could by changed + */ + this.cssVariables = {}; + + // Imports + this.badgePreview = {}; //themeEditor.badgePreview.js + return this; + }; + + function prepareWidgetText(defaultValue) { + var widget = document.getElementById('widgetText'); + widget.value = defaultValue; + } + + function prepareWidgetColorPicker(self, defaultValue) { + var colorPicker; + + colorPicker = new self.ColorPicker(document.getElementById('panelColorpicker')); + colorPicker.setColor(defaultValue); + } + + function prepareWidgetSlider(defaultValue, rangeMin, rangeMax, rangeUnit) { + var widget = document.getElementById('widgetSlider'), + parent = widget.parentNode, + sliderValue; + + sliderValue = (parseInt(defaultValue, 10) - rangeMin) * 100 / (rangeMax - rangeMin); + + widget.setAttribute('data-min', rangeMin); + widget.setAttribute('data-max', rangeMax); + widget.setAttribute('data-unit', rangeUnit); + + parent.querySelector('.range-min').innerHTML = rangeMin; + parent.querySelector('.range-max').innerHTML = rangeMax; + parent.querySelector('.range-current').innerHTML = defaultValue + rangeUnit; + + widget.value = sliderValue; + } + + // TODO: rebuild choosing css variable + function setCssVariable(self, event) { + var element = event.currentTarget, + cssVarName = element.getAttribute('data-css'), + themeProperties = self.config.themeProperties, + categoryProperties, + categoryKey, + label, + labelKey; + + $('.' + cssClasses.labelSelected).removeClass(cssClasses.labelSelected).addClass(cssClasses.labelName); + element.className = cssClasses.labelSelected; + + if (event.detail.historyAction !== true) { + self.badgePreview.saveHistory(self.badgePreview.currentCssVar); + } + self.parseWidget(self.cssVariables[cssVarName], cssVarName); + self.badgePreview.currentCssVar = cssVarName; + // TODO: do it more efficient + // Search for all categories + for (categoryKey in themeProperties) { + if (themeProperties.hasOwnProperty(categoryKey)) { + categoryProperties = themeProperties[categoryKey]; + // Search for all labels + for (labelKey in categoryProperties) { + if (categoryProperties.hasOwnProperty(labelKey)) { + label = categoryProperties[labelKey]; + if (label.lessVar === cssVarName) { + $('.panel-window').removeClass('hidden'); + if (label.widget.type === 'slider') { + $('#panelColorpicker').closest('.panel-window').addClass('hidden'); + } + if (label.widget.type === 'color') { + $('#widgetSlider').closest('.panel-window').addClass('hidden'); + } + if (label.widget.type === 'text') { + $('#widgetSlider').closest('.panel-window').addClass('hidden'); + $('#panelColorpicker').closest('.panel-window').addClass('hidden'); + } + } + } + } + } + } + } + + + ThemeEditor.prototype.resolvePath = function (rootPath, queryPath) { + var rootPieces, + queryPieces, + path = [], + relative, + queryPathMatch, + rootPathMatch, + i; + + // Check if queryPath is relative or absolute path + relative = !(/^[a-z]+:\/\//.test(queryPath)); + + rootPieces = rootPath.split('/'); + queryPieces = queryPath.split('/'); + + rootPathMatch = rootPath.match(/https?:\/\/[^\/]+/); + queryPathMatch = queryPath.match(/https?:\/\/[^\/]+/); + + // Check if paths are in the same domain + if (relative !== true && rootPathMatch && queryPathMatch && rootPathMatch[0] !== queryPathMatch[0]) { + return queryPath; + } + + // Omit last element (file name) + rootPieces.pop(); + + if (relative) { + for (i = 0; i < queryPieces.length; i += 1) { + if (queryPieces[i] === '..') { + // Go back + rootPieces.pop(); + // Remove first element + queryPieces.shift(); + i -= 1; + } + } + return rootPieces.join('/') + '/' + queryPieces.join('/'); + } + + // Find common pieces + for (i = 0; i < rootPieces.length; i += 1) { + if (rootPieces[i] !== queryPieces[i]) { + if (rootPieces[i] === '..') { + path.pop(); + } else { + path.push('..'); + } + } + } + return path.concat(queryPieces.splice(i - path.length)).join('/'); + }; + + ThemeEditor.prototype.parseWidget = function(widgetParams, cssVarName) { + var widgetType = widgetParams.type.toLowerCase(), + widgetDefault, + modifiedVariables = this.badgePreview.getActive().modifiedVariables; + + widgetDefault = modifiedVariables[cssVarName] || widgetParams.default; + switch (widgetType) { + case 'text': + prepareWidgetText(widgetDefault); + break; + + case 'slider': + prepareWidgetSlider(widgetDefault, widgetParams.min, widgetParams.max, widgetParams.unit); + break; + + case 'color': + prepareWidgetColorPicker(this, widgetDefault); + break; + + default: + console.warn('Unrecognized widget: ' + widgetType); + } + $('#widgetText').val(widgetDefault); + }; + + + /** + * Add variable item to panel + * @param {type} container + * @param {type} labelTitle + * @param {type} members + */ + ThemeEditor.prototype.addLabel = function(container, labelTitle, members) { + var label = document.createElement('a'), + classes = cssClasses, + lessVar = members.lessVar; + + label.className = classes.labelName; + label.innerHTML = labelTitle; + label.setAttribute('data-css', lessVar); + label.setAttribute('title', lessVar); + container.appendChild(label); + + + $(label).tooltip(); + $(label).tooltip('option', 'content', 'Less variable: <b>' + lessVar + '</b>' + + '<br>Default Value: <b>' + members.widget.default + '</b>'); + + label.addEventListener('click', setCssVariable.bind(null, this), false); + this.cssVariables[lessVar] = members.widget; + }; + + ThemeEditor.prototype.addCategoryItem = function(panel, title, members) { + var panelTitle = document.createElement('h3'), + panelContent = document.createElement('div'), + labelName; + + panelTitle.innerHTML = title; + + for (labelName in members) { + if (members.hasOwnProperty(labelName)) { + this.addLabel(panelContent, labelName, members[labelName]); + } + } + + panel.appendChild(panelTitle); + panel.appendChild(panelContent); + }; + + /** + * Build left column + * @method buildVariablePanel + */ + ThemeEditor.prototype.buildVariablePanel = function() { + var themeProperties = this.config.themeProperties, + classes = cssClasses, + categoryName, + container = this.config.cssVariablePanel, + leftColumn = document.createDocumentFragment(), + categoryPanel = document.createElement('div'); + + categoryPanel.className = classes.categoryPanel; + + for (categoryName in themeProperties) { + if (themeProperties.hasOwnProperty(categoryName)) { + this.addCategoryItem(categoryPanel, categoryName, themeProperties[categoryName]); + } + } + + leftColumn.appendChild(categoryPanel); + + // Finally add all pannels to container + container.classList.add(classes.themeEditor); + container.appendChild(leftColumn); + + //Enhance by UI Widgets + $(categoryPanel).accordion(); + }; + + /** + * Shows an alert + * @method alert + * @param {string} message + */ + ThemeEditor.prototype.alert = function(message) { + // TODO: do it more cool + window.alert(message); + }; + + /** + * Builds widgets + */ + ThemeEditor.prototype.buildWidgets = function() { + var widgetText = document.getElementById('widgetText'), + widgetSlider = document.getElementById('widgetSlider'); + // Build Color Picker + $('#panelColorpicker').ColorPicker({ + flat: true, + onChange: this.badgePreview.changeColor.bind(this.badgePreview) + }); + + if (widgetText) { + widgetText.addEventListener('change', this.badgePreview.changeText.bind(this.badgePreview), false); + } + + if (widgetSlider) { + widgetSlider.addEventListener('change', this.badgePreview.changeSlider.bind(this.badgePreview), false); + } + }; + + /** + * Initialize theme editor. + * @method init + * @param {Object} themeProperties + */ + ThemeEditor.prototype.init = function(themeProperties) { + var config = this.config; + + config.root = window.location.href.replace(/[^\/]+\.html?$/, ''); + config.themeRoot = this.resolvePath(config.root, '../../standalone/src/css/themes/black/'); + config.themeProperties = themeProperties; + config.cssVariablePanel = document.getElementById('leftPanel'); + config.workspace = document.getElementById('workspace'); + config.previewUrl = document.getElementById('themeSelect').value; + + this.buildVariablePanel(); + this.buildWidgets(); + this.badgePreview.init(); + }; + + window.themeEditor = new ThemeEditor(); +}(window, $));
\ No newline at end of file diff --git a/tools/ThemeEditor/less/helpers.less b/tools/ThemeEditor/less/helpers.less new file mode 100644 index 00000000..180539aa --- /dev/null +++ b/tools/ThemeEditor/less/helpers.less @@ -0,0 +1,43 @@ +.box-sizing(@sizing) { + -webkit-box-sizing: @sizing; /* Safari/Chrome, other WebKit */ + -moz-box-sizing: @sizing; /* Firefox, other Gecko */ + box-sizing: @sizing; /* Opera/IE 8+ */ +} + +.box-shadow(@shadow) { + -moz-box-shadow: @shadow; + -webkit-box-shadow: @shadow; + box-shadow: @shadow; +} + +.border-radius(@radius) { + -webkit-border-radius: @radius; + -moz-border-radius: @radius; + -o-border-radius: @radius; + border-radius: @radius; +} + +.gradient(@color, @start, @stop){ + background: @color; + background: -webkit-gradient(linear, + left bottom, + left top, + color-stop(0, @start), + color-stop(1, @stop)); + background: -ms-linear-gradient(bottom, + @start, + @stop); + background: -moz-linear-gradient(center bottom, + @start 0%, + @stop 100%); + background: -o-linear-gradient(@stop, + @start); + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start)); +} + +.transition(@transition) { + -webkit-transition: @transition; + -moz-transition: @transition; + -o-transition: @transition; + transition: @transition; +}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/less/icons.less b/tools/ThemeEditor/less/icons.less index 540adc5e..29f0a93e 100644 --- a/tools/ThemeEditor/src/less/icons.less +++ b/tools/ThemeEditor/less/icons.less @@ -1,7 +1,8 @@ -@icon-set-image: url('../../images/iconset.png'); +@icon-set-image: url('../images/iconset.png'); .icon { - background: @icon-set-image no-repeat; + background-image: @icon-set-image; + background-repeat: no-repeat; display: inline-block; width: 31px; height: 31px; diff --git a/tools/ThemeEditor/src/less/layout/themeEditor.less b/tools/ThemeEditor/less/layout/themeEditor.less index 1b207f94..151ea77e 100644 --- a/tools/ThemeEditor/src/less/layout/themeEditor.less +++ b/tools/ThemeEditor/less/layout/themeEditor.less @@ -48,15 +48,13 @@ html, body { .panel-container { display: block; flex: 0 0 @panel-default-width; - width: @panel-default-width; .panel-box { background-color: @panel-background; border: 1px solid darken(@panel-background, 10%); - .border-radius(8px); + border-right-width: 0; + .border-radius(10px 0 0 10px); display: block; - margin-left: 10px; - margin-right: 10px; overflow: hidden; } @@ -111,48 +109,27 @@ html, body { & > div { padding: 10px; - clear: both; - } - - & > div.readonly div { - padding-top: 0px; - padding-bottom: 0px } &.hidden > div { - display: none; + overflow: hidden; + height: 0 !important; + padding: 0 !important; } input { - width: 51%; + width: 96%; padding: 3px 2%; - float: right; + display: block; background-color: lighten(@panel-background, 10%); border: 1px solid @panel-border-color; .border-radius(3px); height: 20px; } - .actions { - padding: 0; - padding-right: 10px; - line-height: 10px; - text-align: right; - color: #444; - - & > div { - border: 1px solid #C0BFBF; - background-color: #fff; - border-radius: 6px; - padding: 2px; - text-align: center; - width: 60px; - float: right; - } - - } } + } @@ -183,16 +160,6 @@ html, body { &.global-settings-checkbox { margin-top: 10px; } - - &.custom-badge-size { - line-height: 1.1em; - width: 40px; - background-color: transparent; - color: @panel-top-color; - border-width: 0; - text-align: center; - margin-top: 0; - } } hr { @@ -224,29 +191,30 @@ html, body { } } - ul { - display: block; - li { - line-height: 1.4em; - font-weight: bold; - display: block !important; - padding: 10px 5px !important; - border-bottom: 1px solid lighten(@panel-top-background, 30%); - &:last-child { - border-bottom-width: 0; - } - small { - font-weight: normal; - } - - &.global-settings { - input, label { - margin: 5px 2px; - display: inline-block; - } - } - } - } + ul { + display: block; + li { + line-height: 1.4em; + font-weight: bold; + display: block !important; + padding: 10px 5px !important; + border-bottom: 1px solid lighten(@panel-top-background, 30%); + &:last-child { + border-bottom-width: 0; + } + small { + font-weight: normal; + } + + &.global-settings { + + input, label { + margin: 5px 2px; + display: inline-block; + } + } + } + } } li:hover > .panel-submenu { @@ -263,20 +231,17 @@ li:hover > .panel-submenu { flex: 1 1 auto; } -#mainPanel { - position: absolute; - display: block; - top: @top-panel-height; - min-width: 100%; +#leftPanel, #rightPanel, #centerPanel { + padding-top: @top-panel-height + 20; } #topPanel { width: 100%; display: block; - position: fixed; + position: absolute; padding: 0 10px; line-height: @top-panel-height; - min-height: @top-panel-height; + height: @top-panel-height; background-color: @panel-top-background; color: @panel-top-color; @@ -332,13 +297,7 @@ li:hover > .panel-submenu { z-index: 10; } -#rightPanel { - flex: 0 0 @panel-default-width + 10; - width: @panel-default-width + 100; -} - #workspace { - .user-select; text-align: center; display: block; margin: 0; @@ -346,9 +305,10 @@ li:hover > .panel-submenu { .box-sizing(border-box); + .theme-badge { position: relative; - .transition(all 0.3s ease-out); + .transition(all 0.3s ease-out); &:first-of-type { margin-left: 20px; @@ -363,9 +323,9 @@ li:hover > .panel-submenu { border: 1px solid darken(@theme-badge-background-color, 10%); iframe { - .transition(all 0.3s ease-out); - width: 320px; - height: 320px; + .transition(all 0.3s ease-out); + width: 320px; + height: 320px; } } @@ -414,8 +374,7 @@ li:hover > .panel-submenu { } display: block; - margin-top: 0.6rem; - margin-bottom: 0.6rem; + margin-top: 0.5rem; font-size: @base-font; } @@ -460,26 +419,26 @@ li:hover > .panel-submenu { } #importDialog { - display: block; - padding: 20px; - margin: 5px; - width: 300px; - height: 100px; - background-color: fade(@panel-top-background, 20%); - border: 1px solid fade(@panel-top-background, 60%); - color: @panel-top-color; + display: block; + padding: 20px; + margin: 5px; + width: 300px; + height: 100px; + background-color: fade(@panel-top-background, 20%); + border: 1px solid fade(@panel-top-background, 60%); + color: @panel-top-color; } .center { - text-align: center; + text-align: center; } input.button { - display: inline-block; - padding: 5px 20px; - width: auto; - margin: 10px auto; - background-color: fade(@panel-background, 20%); - border: 1px solid fade(@panel-top-background, 60%); - color: @panel-top-color; + display: inline-block; + padding: 5px 20px; + width: auto; + margin: 10px auto; + background-color: fade(@panel-background, 20%); + border: 1px solid fade(@panel-top-background, 60%); + color: @panel-top-color; } diff --git a/tools/ThemeEditor/src/less/overrides/colorpicker.less b/tools/ThemeEditor/less/overrides/colorpicker.less index de2618f9..7471c8fc 100644 --- a/tools/ThemeEditor/src/less/overrides/colorpicker.less +++ b/tools/ThemeEditor/less/overrides/colorpicker.less @@ -7,7 +7,7 @@ height: 220px; .colorpicker_hue { - background-image: url('../../images/slider.png'); + background-image: url('../images/slider.png'); background-size: 42px 100%; background-position: center; background-repeat: no-repeat; @@ -23,7 +23,7 @@ } .colorpicker_hex { - background-image: url('../../images/custom_hex.png'); + background-image: url('../images/custom_hex.png'); left: 12px; top: 178px; } @@ -32,7 +32,7 @@ position: absolute; width: 22px; height: 22px; - background: url(../../images/custom_submit.png) top; + background: url(../images/custom_submit.png) top; left: 322px; top: 142px; overflow: hidden; diff --git a/tools/ThemeEditor/src/less/overrides/jquery-ui.less b/tools/ThemeEditor/less/overrides/jquery-ui.less index 2f19202d..f5283770 100644 --- a/tools/ThemeEditor/src/less/overrides/jquery-ui.less +++ b/tools/ThemeEditor/less/overrides/jquery-ui.less @@ -5,9 +5,7 @@ .ui-accordion { .panel-container.panel-box; - border: 0px; - .border-radius(8px); - background: none; + .border-radius(0 10px 10px 0); .ui-accordion-header { margin: 0 !important; @@ -19,7 +17,7 @@ .ui-accordion-content { padding: 5px 10px; - background: #f2f2f2; + background: transparent; } } @@ -36,7 +34,3 @@ } } - -.ui-widget { - font-family: sans-serif; -} diff --git a/tools/ThemeEditor/src/lib/FileSaver.js b/tools/ThemeEditor/lib/FileSaver.js index 6ed514c0..6ed514c0 100755 --- a/tools/ThemeEditor/src/lib/FileSaver.js +++ b/tools/ThemeEditor/lib/FileSaver.js diff --git a/tools/ThemeEditor/src/lib/colorpicker.js b/tools/ThemeEditor/lib/colorpicker.js index 811ac07e..811ac07e 100644 --- a/tools/ThemeEditor/src/lib/colorpicker.js +++ b/tools/ThemeEditor/lib/colorpicker.js diff --git a/tools/ThemeEditor/src/lib/jquery-1.9.1.js b/tools/ThemeEditor/lib/jquery-1.9.1.js index e2c203fe..e2c203fe 100644 --- a/tools/ThemeEditor/src/lib/jquery-1.9.1.js +++ b/tools/ThemeEditor/lib/jquery-1.9.1.js diff --git a/tools/ThemeEditor/lib/jquery-2.0.3.min.js b/tools/ThemeEditor/lib/jquery-2.0.3.min.js new file mode 100755 index 00000000..2be209dd --- /dev/null +++ b/tools/ThemeEditor/lib/jquery-2.0.3.min.js @@ -0,0 +1,6 @@ +/*! jQuery v2.0.3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license +//@ sourceMappingURL=jquery-2.0.3.min.map +*/ +(function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],p="2.0.3",f=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:p,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.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 x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return f.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,p,f,h,d,g,m,y,v="sizzle"+-new Date,b=e.document,w=0,T=0,C=st(),k=st(),N=st(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},j=typeof undefined,D=1<<31,A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=W.replace("w","w#"),B="\\["+M+"*("+W+")"+M+"*(?:([*^$|!~]?=)"+M+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+M+"*\\]",I=":("+W+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=RegExp("^"+M+"*,"+M+"*"),X=RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=RegExp(M+"*[+~]"),Y=RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),V=RegExp(I),G=RegExp("^"+$+"$"),J={ID:RegExp("^#("+W+")"),CLASS:RegExp("^\\.("+W+")"),TAG:RegExp("^("+W.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,tt=/'|\\/g,nt=RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{O.apply(L=F.call(b.childNodes),b.childNodes),L[b.childNodes.length].nodeType}catch(it){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ot(e,t,r,i){var o,s,a,u,l,f,g,m,x,w;if((t?t.ownerDocument||t:b)!==p&&c(t),t=t||p,r=r||[],!e||"string"!=typeof e)return r;if(1!==(u=t.nodeType)&&9!==u)return[];if(h&&!i){if(o=K.exec(e))if(a=o[1]){if(9===u){if(s=t.getElementById(a),!s||!s.parentNode)return r;if(s.id===a)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&y(t,s)&&s.id===a)return r.push(s),r}else{if(o[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&(!d||!d.test(e))){if(m=g=v,x=t,w=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(g=t.getAttribute("id"))?m=g.replace(tt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",l=f.length;while(l--)f[l]=m+mt(f[l]);x=U.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return O.apply(r,x.querySelectorAll(w)),r}catch(T){}finally{g||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,r,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>i.cacheLength&&delete t[e.shift()],t[n]=r}return t}function at(e){return e[v]=!0,e}function ut(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)i.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return at(function(t){return t=+t,at(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},n=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:b,r=t.defaultView;return t!==p&&9===t.nodeType&&t.documentElement?(p=t,f=t.documentElement,h=!s(t),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){c()}),n.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ut(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=ut(function(e){return f.appendChild(e).id=v,!t.getElementsByName||!t.getElementsByName(v).length}),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&h?t.getElementsByClassName(e):undefined},g=[],d=[],(n.qsa=Q.test(t.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ut(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")})),(n.matchesSelector=Q.test(m=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",I)}),d=d.length&&RegExp(d.join("|")),g=g.length&&RegExp(g.join("|")),y=Q.test(f.contains)||f.compareDocumentPosition?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)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,r){if(e===r)return E=!0,0;var i=r.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(r);return i?1&i||!n.sortDetached&&r.compareDocumentPosition(e)===i?e===t||y(b,e)?-1:r===t||y(b,r)?1:l?P.call(l,e)-P.call(l,r):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],u=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:l?P.call(l,e)-P.call(l,n):0;if(o===s)return ct(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)u.unshift(r);while(a[i]===u[i])i++;return i?ct(a[i],u[i]):a[i]===b?-1:u[i]===b?1:0},t):p},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Y,"='$1']"),!(!n.matchesSelector||!h||g&&g.test(t)||d&&d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&c(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):undefined;return o===undefined?n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null:o},ot.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,o=0;if(E=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),E){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return e},o=ot.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+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=ot.selectors={cacheLength:50,createPseudo:at,match:J,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(nt,rt),e[3]=(e[4]||e[5]||"").replace(nt,rt),"~="===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]||ot.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]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&V.test(n)&&(t=gt(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(nt,rt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){p=t;while(p=p[g])if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[v]||(m[v]={}),l=c[e]||[],h=l[0]===w&&l[1],f=l[0]===w&&l[2],p=h&&m.childNodes[h];while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[w,h,f];break}}else if(x&&(l=(t[v]||(t[v]={}))[e])&&l[0]===w)f=l[1];else while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if((a?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(x&&((p[v]||(p[v]={}))[e]=[w,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,o=r(e,t),s=o.length;while(s--)i=P.call(e,o[s]),e[i]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[v]?at(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return G.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=h?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===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.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.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return et.test(e.nodeName)},input:function(e){return Z.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ft(t);function dt(){}dt.prototype=i.filters=i.pseudos,i.setFilters=new dt;function gt(e,t){var n,r,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=i.preFilter;while(a){(!n||(r=_.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length));for(s in i.filter)!(r=J[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ot.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var u,l,c,p=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[v]||(t[v]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,a)||r,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[v]&&(r=bt(r)),i&&!i[v]&&(i=bt(i,o)),at(function(o,s,a,u){var l,c,p,f=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,f,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(p=l[c])&&(y[h[c]]=!(m[h[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?P.call(o,p):f[c])>-1&&(o[l]=!(s[l]=p))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function wt(e){var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=yt(function(e){return e===t},a,!0),p=yt(function(e){return P.call(t,e)>-1},a,!0),f=[function(e,n,r){return!s&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>l;l++)if(n=i.relative[e[l].type])f=[yt(vt(f),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[v]){for(r=++l;o>r;r++)if(i.relative[e[r].type])break;return bt(l>1&&vt(f),l>1&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&wt(e.slice(l,r)),o>r&&wt(e=e.slice(r)),o>r&&mt(e))}f.push(n)}return vt(f)}function Tt(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(a,l,c,f,h){var d,g,m,y=[],v=0,x="0",b=a&&[],T=null!=h,C=u,k=a||s&&i.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(u=l!==p&&l,r=n);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,c)){f.push(d);break}T&&(w=N,r=++n)}o&&((d=!m&&d)&&v--,a&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,c);if(a){if(v>0)while(x--)b[x]||y[x]||(y[x]=q.call(f));y=xt(y)}O.apply(f,y),T&&!a&&y.length>0&&v+t.length>1&&ot.uniqueSort(f)}return T&&(w=N,u=C),b};return o?at(a):a}a=ot.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[v]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ot(e,t[r],n);return n}function kt(e,t,r,o){var s,u,l,c,p,f=gt(e);if(!o&&1===f.length){if(u=f[0]=f[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&n.getById&&9===t.nodeType&&h&&i.relative[u[1].type]){if(t=(i.find.ID(l.matches[0].replace(nt,rt),t)||[])[0],!t)return r;e=e.slice(u.shift().value.length)}s=J.needsContext.test(e)?0:u.length;while(s--){if(l=u[s],i.relative[c=l.type])break;if((p=i.find[c])&&(o=p(l.matches[0].replace(nt,rt),U.test(u[0].type)&&t.parentNode||t))){if(u.splice(s,1),e=o.length&&mt(u),!e)return O.apply(r,o),r;break}}}return a(e,f)(o,t,!h,r,U.test(e)),r}n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=E,c(),n.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||lt("type|href|height|width",function(e,t,n){return n?undefined:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||lt("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?undefined:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||lt(R,function(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),x.find=ot,x.expr=ot.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ot.uniqueSort,x.text=ot.getText,x.isXMLDoc=ot.isXML,x.contains=ot.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(p){for(t=e.memory&&p,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(p[0],p[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!a||n&&!u||(t=t||[],t=[e,t.slice?t.slice():t],r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},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"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))x.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){var r;return t===undefined||t&&"string"==typeof t&&n===undefined?(r=this.get(e,t),r!==undefined?r:this.get(e,x.camelCase(t))):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),s=this.cache[o];if(t===undefined)this.cache[o]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):(i=x.camelCase(t),t in s?r=[t,i]:(r=i,r=r in s?[r]:r.match(w)||[])),n=r.length;while(n--)delete s[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.slice(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t) +};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n\f]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,i=0,o=x(this),s=e.match(w)||[];while(t=s[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,x(this).val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.bool.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,p,f,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=x.event.special[d]||{},p=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,p,f,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!x.isWindow(r)){for(l=f.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:f.bindType||d,p=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),p&&p.apply(a,n),p=c&&a[c],p&&x.acceptData(a)&&p.apply&&p.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(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,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,s=e,a=this.fixHooks[i];a||(this.fixHooks[i]=a=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=o),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=/^(?:parents|prev(?:Until|All))/,Q=x.expr.match.needsContext,K={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(et(this,e||[],!0))},filter:function(e){return this.pushStack(et(this,e||[],!1))},is:function(e){return!!et(this,"string"==typeof e&&Q.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],s=Q.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function Z(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(K[e]||x.unique(i),J.test(e)&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function et(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,rt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/^(?:checkbox|radio)$/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&dt(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!ct[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(mt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=f.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,p=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&st.test(d))return this.each(function(r){var i=p.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(mt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,mt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(lt,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=mt(a),o=mt(e),r=0,i=o.length;i>r;r++)yt(o[r],s[r]);if(t)if(n)for(o=o||mt(e),s=s||mt(a),r=0,i=o.length;i>r;r++)gt(o[r],s[r]);else gt(e,a);return s=mt(a,"script"),s.length>0&&dt(s,!u&&mt(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,p=e.length,f=t.createDocumentFragment(),h=[];for(;p>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(rt.test(i)){o=o||f.appendChild(t.createElement("div")),s=(nt.exec(i)||["",""])[1].toLowerCase(),a=ct[s]||ct._default,o.innerHTML=a[1]+i.replace(tt,"<$1></$2>")+a[2],l=a[0];while(l--)o=o.lastChild;x.merge(h,o.childNodes),o=f.firstChild,o.textContent=""}else h.push(t.createTextNode(i));f.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=mt(f.appendChild(i),"script"),u&&dt(o),n)){l=0;while(i=o[l++])at.test(i.type||"")&&n.push(i)}return f},cleanData:function(e){var t,n,r,i,o,s,a=x.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(F.accepts(n)&&(o=n[q.expando],o&&(t=q.cache[o]))){if(r=Object.keys(t.events||{}),r.length)for(s=0;(i=r[s])!==undefined;s++)a[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}});function pt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ht(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function dt(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function gt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=q.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function mt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function yt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ot.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var vt,xt,bt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=RegExp("^("+b+")(.*)$","i"),Ct=RegExp("^("+b+")(?!px)[a-z%]+$","i"),kt=RegExp("^([+-])=("+b+")","i"),Nt={BODY:"block"},Et={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},jt=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];function At(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Dt.length;while(i--)if(t=Dt[i]+n,t in e)return t;return r}function Lt(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function qt(t){return e.getComputedStyle(t,null)}function Ht(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Lt(r)&&(o[s]=q.access(r,"olddisplay",Rt(r.nodeName)))):o[s]||(i=Lt(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=qt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return Ht(this,!0)},hide:function(){return Ht(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Lt(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=At(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=At(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=vt(e,t,r)),"normal"===i&&t in St&&(i=St[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),vt=function(e,t,n){var r,i,o,s=n||qt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Ct.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ot(e,t,n){var r=Tt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ft(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+jt[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+jt[o]+"Width",!0,i))):(s+=x.css(e,"padding"+jt[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+jt[o]+"Width",!0,i)));return s}function Pt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=qt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=vt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Ct.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ft(e,t,n||(s?"border":"content"),r,o)+"px"}function Rt(e){var t=o,n=Nt[e];return n||(n=Mt(e,t),"none"!==n&&n||(xt=(xt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(xt[0].contentWindow||xt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=Mt(e,t),xt.detach()),Nt[e]=n),n}function Mt(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&bt.test(x.css(e,"display"))?x.swap(e,Et,function(){return Pt(e,t,r)}):Pt(e,t,r):undefined},set:function(e,n,r){var i=r&&qt(e);return Ot(e,n,r?Ft(e,t,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,t){return t?x.swap(e,{display:"inline-block"},vt,[e,"marginRight"]):undefined}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,t){x.cssHooks[t]={get:function(e,n){return n?(n=vt(e,t),Ct.test(n)?x(e).position()[t]+"px":n):undefined}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+jt[r]+t]=o[r]||o[r-2]||o[0];return i}},wt.test(e)||(x.cssHooks[e+t].set=Ot)});var Wt=/%20/g,$t=/\[\]$/,Bt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&zt.test(this.nodeName)&&!It.test(e)&&(this.checked||!ot.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Bt,"\r\n")}}):{name:t.name,value:n.replace(Bt,"\r\n")}}).get()}}),x.param=function(e,t){var n,r=[],i=function(e,t){t=x.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)_t(n,e[n],t,i);return r.join("&").replace(Wt,"+")};function _t(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||$t.test(e)?r(e,i):_t(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)_t(e+"["+i+"]",t[i],n,r)}x.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){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var Xt,Ut,Yt=x.now(),Vt=/\?/,Gt=/#.*$/,Jt=/([?&])_=[^&]*/,Qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Zt=/^(?:GET|HEAD)$/,en=/^\/\//,tn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,nn=x.fn.load,rn={},on={},sn="*/".concat("*");try{Ut=i.href}catch(an){Ut=o.createElement("a"),Ut.href="",Ut=Ut.href}Xt=tn.exec(Ut.toLowerCase())||[];function un(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ln(e,t,n,r){var i={},o=e===on;function s(a){var u;return i[a]=!0,x.each(e[a]||[],function(e,a){var l=a(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):undefined:(t.dataTypes.unshift(l),s(l),!1)}),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function cn(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,t,n){if("string"!=typeof e&&nn)return nn.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return a>=0&&(r=e.slice(a),e=e.slice(0,a)),x.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(i="POST"),s.length>0&&x.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ut,type:"GET",isLocal:Kt.test(Xt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?cn(cn(e,x.ajaxSettings),t):cn(x.ajaxSettings,e)},ajaxPrefilter:un(rn),ajaxTransport:un(on),ajax:function(e,t){"object"==typeof e&&(t=e,e=undefined),t=t||{};var n,r,i,o,s,a,u,l,c=x.ajaxSetup({},t),p=c.context||c,f=c.context&&(p.nodeType||p.jquery)?x(p):x.event,h=x.Deferred(),d=x.Callbacks("once memory"),g=c.statusCode||{},m={},y={},v=0,b="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===v){if(!o){o={};while(t=Qt.exec(i))o[t[1].toLowerCase()]=t[2]}t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===v?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return v||(e=y[n]=y[n]||e,m[e]=t),this},overrideMimeType:function(e){return v||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>v)for(t in e)g[t]=[g[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||b;return n&&n.abort(t),k(0,t),this}};if(h.promise(T).complete=d.add,T.success=T.done,T.error=T.fail,c.url=((e||c.url||Ut)+"").replace(Gt,"").replace(en,Xt[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=x.trim(c.dataType||"*").toLowerCase().match(w)||[""],null==c.crossDomain&&(a=tn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===Xt[1]&&a[2]===Xt[2]&&(a[3]||("http:"===a[1]?"80":"443"))===(Xt[3]||("http:"===Xt[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=x.param(c.data,c.traditional)),ln(rn,c,t,T),2===v)return T;u=c.global,u&&0===x.active++&&x.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Zt.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(Vt.test(r)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=Jt.test(r)?r.replace(Jt,"$1_="+Yt++):r+(Vt.test(r)?"&":"?")+"_="+Yt++)),c.ifModified&&(x.lastModified[r]&&T.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&T.setRequestHeader("If-None-Match",x.etag[r])),(c.data&&c.hasContent&&c.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",c.contentType),T.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+sn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)T.setRequestHeader(l,c.headers[l]);if(c.beforeSend&&(c.beforeSend.call(p,T,c)===!1||2===v))return T.abort();b="abort";for(l in{success:1,error:1,complete:1})T[l](c[l]);if(n=ln(on,c,t,T)){T.readyState=1,u&&f.trigger("ajaxSend",[T,c]),c.async&&c.timeout>0&&(s=setTimeout(function(){T.abort("timeout")},c.timeout));try{v=1,n.send(m,k)}catch(C){if(!(2>v))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,t,o,a){var l,m,y,b,w,C=t;2!==v&&(v=2,s&&clearTimeout(s),n=undefined,i=a||"",T.readyState=e>0?4:0,l=e>=200&&300>e||304===e,o&&(b=pn(c,T,o)),b=fn(c,b,T,l),l?(c.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(x.lastModified[r]=w),w=T.getResponseHeader("etag"),w&&(x.etag[r]=w)),204===e||"HEAD"===c.type?C="nocontent":304===e?C="notmodified":(C=b.state,m=b.data,y=b.error,l=!y)):(y=C,(e||!C)&&(C="error",0>e&&(e=0))),T.status=e,T.statusText=(t||C)+"",l?h.resolveWith(p,[m,C,T]):h.rejectWith(p,[T,C,y]),T.statusCode(g),g=undefined,u&&f.trigger(l?"ajaxSuccess":"ajaxError",[T,c,l?m:y]),d.fireWith(p,[T,C]),u&&(f.trigger("ajaxComplete",[T,c]),--x.active||x.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,undefined,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,i){return x.isFunction(n)&&(i=i||r,r=n,n=undefined),x.ajax({url:e,type:t,dataType:i,data:n,success:r})}});function pn(e,t,n){var r,i,o,s,a=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),r===undefined&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):undefined}function fn(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=l[u+" "+o]||l["* "+o],!s)for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[i]:l[i]!==!0&&(o=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(p){return{state:"parsererror",error:s?p:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=x("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),o.head.appendChild(t[0])},abort:function(){n&&n()}}}});var hn=[],dn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=hn.pop()||x.expando+"_"+Yt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,s,a=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=x.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(Vt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||x.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){s=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,hn.push(i)),s&&x.isFunction(o)&&o(s[0]),s=o=undefined}),"script"):undefined}),x.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var gn=x.ajaxSettings.xhr(),mn={0:200,1223:204},yn=0,vn={};e.ActiveXObject&&x(e).on("unload",function(){for(var e in vn)vn[e]();vn=undefined}),x.support.cors=!!gn&&"withCredentials"in gn,x.support.ajax=gn=!!gn,x.ajaxTransport(function(e){var t;return x.support.cors||gn&&!e.crossDomain?{send:function(n,r){var i,o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)s.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete vn[o],t=s.onload=s.onerror=null,"abort"===e?s.abort():"error"===e?r(s.status||404,s.statusText):r(mn[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:undefined,s.getAllResponseHeaders()))}},s.onload=t(),s.onerror=t("error"),t=vn[o=yn++]=t("abort"),s.send(e.hasContent&&e.data||null)},abort:function(){t&&t()}}:undefined});var xn,bn,wn=/^(?:toggle|show|hide)$/,Tn=RegExp("^(?:([+-])=|)("+b+")([a-z%]*)$","i"),Cn=/queueHooks$/,kn=[An],Nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Tn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),s=(x.cssNumber[e]||"px"!==o&&+r)&&Tn.exec(x.css(n.elem,e)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],i=i||[],s=+r||1;do a=a||".5",s/=a,x.style(n.elem,e,s+o);while(a!==(a=n.cur()/r)&&1!==a&&--u)}return i&&(s=n.start=+s||+r||0,n.unit=o,n.end=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};function En(){return setTimeout(function(){xn=undefined}),xn=x.now()}function Sn(e,t,n){var r,i=(Nn[t]||[]).concat(Nn["*"]),o=0,s=i.length;for(;s>o;o++)if(r=i[o].call(n,t,e))return r}function jn(e,t,n){var r,i,o=0,s=kn.length,a=x.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=xn||En(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,s=0,u=l.tweens.length;for(;u>s;s++)l.tweens[s].run(o);return a.notifyWith(e,[l,o,n]),1>o&&u?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:xn||En(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),c=l.props;for(Dn(c,l.opts.specialEasing);s>o;o++)if(r=kn[o].call(l,e,c,l.opts))return r;return x.map(c,Sn,l),x.isFunction(l.opts.start)&&l.opts.start.call(e,l),x.fx.timer(x.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function Dn(e,t){var n,r,i,o,s;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=x.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(jn,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Nn[n]=Nn[n]||[],Nn[n].unshift(t)},prefilter:function(e,t){t?kn.unshift(e):kn.push(e)}});function An(e,t,n){var r,i,o,s,a,u,l=this,c={},p=e.style,f=e.nodeType&&Lt(e),h=q.get(e,"fxshow");n.queue||(a=x._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,l.always(function(){l.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",l.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],wn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!h||h[r]===undefined)continue;f=!0}c[r]=h&&h[r]||x.style(e,r)}if(!x.isEmptyObject(c)){h?"hidden"in h&&(f=h.hidden):h=q.access(e,"fxshow",{}),o&&(h.hidden=!f),f?x(e).show():l.done(function(){x(e).hide()}),l.done(function(){var t;q.remove(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)s=Sn(f?h[r]:0,r,l),r in h||(h[r]=s.start,f&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function Ln(e,t,n,r,i){return new Ln.prototype.init(e,t,n,r,i)}x.Tween=Ln,Ln.prototype={constructor:Ln,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=Ln.propHooks[this.prop];return e&&e.get?e.get(this):Ln.propHooks._default.get(this)},run:function(e){var t,n=Ln.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):Ln.propHooks._default.set(this),this}},Ln.prototype.init.prototype=Ln.prototype,Ln.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ln.propHooks.scrollTop=Ln.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(qn(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Lt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),s=function(){var t=jn(this,x.extend({},e),o);(i||q.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=undefined),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=x.timers,s=q.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Cn.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,s=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;s>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function qn(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=jt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:qn("show"),slideUp:qn("hide"),slideToggle:qn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=Ln.prototype.init,x.fx.tick=function(){var e,t=x.timers,n=0;for(xn=x.now();t.length>n;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||x.fx.stop(),xn=undefined},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){bn||(bn=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(bn),bn=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===undefined?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,i=this[0],o={top:0,left:0},s=i&&i.ownerDocument;if(s)return t=s.documentElement,x.contains(t,i)?(typeof i.getBoundingClientRect!==r&&(o=i.getBoundingClientRect()),n=Hn(s),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},x.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l,c=x.css(e,"position"),p=x(e),f={};"static"===c&&(e.style.position="relative"),a=p.offset(),o=x.css(e,"top"),u=x.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=p.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),x.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+i),"using"in t?t.using.call(e,f):p.css(f)}},x.fn.extend({position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===x.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(r=e.offset()),r.top+=x.css(e[0],"borderTopWidth",!0),r.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-x.css(n,"marginTop",!0),left:t.left-r.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;x.fn[t]=function(i){return x.access(this,function(t,i,o){var s=Hn(t);return o===undefined?s?s[n]:t[i]:(s?s.scrollTo(r?e.pageXOffset:o,r?o:e.pageYOffset):t[i]=o,undefined)},t,i,arguments.length,null)}});function Hn(e){return x.isWindow(e)?e:9===e.nodeType&&e.defaultView}x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(r===!0||i===!0?"margin":"border");return x.access(this,function(t,n,r){var i;return x.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])):r===undefined?x.css(t,n,s):x.style(t,n,r,s)},t,o?r:undefined,o,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}),"object"==typeof e&&"object"==typeof e.document&&(e.jQuery=e.$=x)})(window); diff --git a/tools/ThemeEditor/src/lib/jquery-ui-1.10.3.custom.js b/tools/ThemeEditor/lib/jquery-ui-1.10.3.custom.js index 40756ba8..40756ba8 100644 --- a/tools/ThemeEditor/src/lib/jquery-ui-1.10.3.custom.js +++ b/tools/ThemeEditor/lib/jquery-ui-1.10.3.custom.js diff --git a/tools/ThemeEditor/src/lib/jquery-ui-1.10.3.custom.min.js b/tools/ThemeEditor/lib/jquery-ui-1.10.3.custom.min.js index c281e08e..c281e08e 100644 --- a/tools/ThemeEditor/src/lib/jquery-ui-1.10.3.custom.min.js +++ b/tools/ThemeEditor/lib/jquery-ui-1.10.3.custom.min.js diff --git a/tools/ThemeEditor/lib/jquery.mobile.custom.min.js b/tools/ThemeEditor/lib/jquery.mobile.custom.min.js new file mode 100755 index 00000000..098f864c --- /dev/null +++ b/tools/ThemeEditor/lib/jquery.mobile.custom.min.js @@ -0,0 +1,3 @@ +/*! jQuery Mobile v1.4.0 | Copyright 2010, 2013 jQuery Foundation, Inc. | jquery.org/license */ + +(function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,r){function l(e){return e=e||location.href,"#"+e.replace(/^[^#]*#?(.*)$/,"$1")}var i="hashchange",s=n,o,u=e.event.special,a=s.documentMode,f="on"+i in t&&(a===r||a>7);e.fn[i]=function(e){return e?this.bind(i,e):this.trigger(i)},e.fn[i].delay=50,u[i]=e.extend(u[i],{setup:function(){if(f)return!1;e(o.start)},teardown:function(){if(f)return!1;e(o.stop)}}),o=function(){function p(){var n=l(),r=h(u);n!==u?(c(u=n,r),e(t).trigger(i)):r!==u&&(location.href=location.href.replace(/#.*/,"")+r),o=setTimeout(p,e.fn[i].delay)}var n={},o,u=l(),a=function(e){return e},c=a,h=a;return n.start=function(){o||p()},n.stop=function(){o&&clearTimeout(o),o=r},t.attachEvent&&!t.addEventListener&&!f&&function(){var t,r;n.start=function(){t||(r=e.fn[i].src,r=r&&r+l(),t=e('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||c(l()),p()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow,s.onpropertychange=function(){try{event.propertyName==="title"&&(t.document.title=s.title)}catch(e){}})},n.stop=a,h=function(){return l(t.location.href)},c=function(n,r){var o=t.document,u=e.fn[i].domain;n!==r&&(o.title=s.title,o.open(),u&&o.write('<script>document.domain="'+u+'"</script>'),o.close(),t.location.hash=n)}}(),n}()})(e,this),function(e){e.mobile={}}(e),function(e,t,n){e.extend(e.mobile,{version:"1.4.0",subPageUrlKey:"ui-page",hideUrlBar:!0,keepNative:":jqmData(role='none'), :jqmData(role='nojs')",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:!0,hashListeningEnabled:!0,linkBindingEnabled:!0,defaultPageTransition:"fade",maxTransitionWidth:!1,minScrollBack:0,defaultDialogTransition:"pop",pageLoadErrorMessage:"Error Loading Page",pageLoadErrorMessageTheme:"a",phonegapNavigationEnabled:!1,autoInitializePage:!0,pushStateEnabled:!0,ignoreContentEnabled:!1,buttonMarkup:{hoverDelay:200},dynamicBaseEnabled:!0,pageContainer:e(),allowCrossDomainPages:!1,dialogHashKey:"&ui-state=dialog"})}(e,this),function(e,t,n){var r={},i=e.find,s=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,o=/:jqmData\(([^)]*)\)/g;e.extend(e.mobile,{ns:"",getAttribute:function(t,n){var r;t=t.jquery?t[0]:t,t&&t.getAttribute&&(r=t.getAttribute("data-"+e.mobile.ns+n));try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:s.test(r)?JSON.parse(r):r}catch(i){}return r},nsNormalizeDict:r,nsNormalize:function(t){return r[t]||(r[t]=e.camelCase(e.mobile.ns+t))},closestPageData:function(e){return e.closest(":jqmData(role='page'), :jqmData(role='dialog')").data("mobile-page")}}),e.fn.jqmData=function(t,r){var i;return typeof t!="undefined"&&(t&&(t=e.mobile.nsNormalize(t)),arguments.length<2||r===n?i=this.data(t):i=this.data(t,r)),i},e.jqmData=function(t,n,r){var i;return typeof n!="undefined"&&(i=e.data(t,n?e.mobile.nsNormalize(n):n,r)),i},e.fn.jqmRemoveData=function(t){return this.removeData(e.mobile.nsNormalize(t))},e.jqmRemoveData=function(t,n){return e.removeData(t,e.mobile.nsNormalize(n))},e.find=function(t,n,r,s){return t.indexOf(":jqmData")>-1&&(t=t.replace(o,"[data-"+(e.mobile.ns||"")+"$1]")),i.call(this,t,n,r,s)},e.extend(e.find,i)}(e,this),function(e,t){function s(t,n){var r,i,s,u=t.nodeName.toLowerCase();return"area"===u?(r=t.parentNode,i=r.name,!t.href||!i||r.nodeName.toLowerCase()!=="map"?!1:(s=e("img[usemap=#"+i+"]")[0],!!s&&o(s))):(/input|select|textarea|button|object/.test(u)?!t.disabled:"a"===u?t.href||n:n)&&o(t)}function o(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return e.css(this,"visibility")==="hidden"}).length}var r=0,i=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"c0ab71056b936627e8a7821f03c044aec6280a40",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(this[0].ownerDocument||n):t},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},removeUniqueId:function(){return this.each(function(){i.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return s(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),r=isNaN(n);return(r||n>=0)&&s(t,!r)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(n,r){function u(t,n,r,s){return e.each(i,function(){n-=parseFloat(e.css(t,"padding"+this))||0,r&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var i=r==="Width"?["Left","Right"]:["Top","Bottom"],s=r.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){return n===t?o["inner"+r].call(this):this.each(function(){e(this).css(s,u(this,n)+"px")})},e.fn["outer"+r]=function(t,n){return typeof t!="number"?o["outer"+r].call(this,t):this.each(function(){e(this).css(s,u(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in n.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(r){if(r!==t)return this.css("zIndex",r);if(this.length){var i=e(this[0]),s,o;while(i.length&&i[0]!==n){s=i.css("position");if(s==="absolute"||s==="relative"||s==="fixed"){o=parseInt(i.css("zIndex"),10);if(!isNaN(o)&&o!==0)return o}i=i.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i<s.length;i++)e.options[s[i][0]]&&s[i][1].apply(e.element,n)}}}(e),function(e,t,r){e.extend(e.mobile,{window:e(t),document:e(n),keyCode:e.ui.keyCode,behaviors:{},silentScroll:function(n){e.type(n)!=="number"&&(n=e.mobile.defaultHomeScroll),e.event.special.scrollstart.enabled=!1,setTimeout(function(){t.scrollTo(0,n),e.mobile.document.trigger("silentscroll",{x:0,y:n})},20),setTimeout(function(){e.event.special.scrollstart.enabled=!0},150)},getClosestBaseUrl:function(t){var n=e(t).closest(".ui-page").jqmData("url"),r=e.mobile.path.documentBase.hrefNoHash;if(!e.mobile.dynamicBaseEnabled||!n||!e.mobile.path.isPath(n))n=r;return e.mobile.path.makeUrlAbsolute(n,r)},removeActiveLinkClass:function(t){!!e.mobile.activeClickedLink&&(!e.mobile.activeClickedLink.closest("."+e.mobile.activePageClass).length||t)&&e.mobile.activeClickedLink.removeClass(e.mobile.activeBtnClass),e.mobile.activeClickedLink=null},getInheritedTheme:function(e,t){var n=e[0],r="",i=/ui-(bar|body|overlay)-([a-z])\b/,s,o;while(n){s=n.className||"";if(s&&(o=i.exec(s))&&(r=o[2]))break;n=n.parentNode}return r||t||"a"},enhanceable:function(e){return this.haveParents(e,"enhance")},hijackable:function(e){return this.haveParents(e,"ajax")},haveParents:function(t,n){if(!e.mobile.ignoreContentEnabled)return t;var r=t.length,i=e(),s,o,u,a,f;for(a=0;a<r;a++){o=t.eq(a),u=!1,s=t[a];while(s){f=s.getAttribute?s.getAttribute("data-"+e.mobile.ns+n):"";if(f==="false"){u=!0;break}s=s.parentNode}u||(i=i.add(o))}return i},getScreenHeight:function(){return t.innerHeight||e.mobile.window.height()},resetActivePageHeight:function(t){var n=e("."+e.mobile.activePageClass),r=n.height(),i=n.outerHeight(!0);t=typeof t=="number"?t:e.mobile.getScreenHeight(),n.css("min-height",t-(i-r))},loading:function(){var t=this.loading._widget||e(e.mobile.loader.prototype.defaultHtml).loader(),n=t.loader.apply(t,arguments);return this.loading._widget=t,n}}),e.addDependents=function(t,n){var r=e(t),i=r.jqmData("dependents")||e();r.jqmData("dependents",e(i).add(n))},e.fn.extend({removeWithDependents:function(){e.removeWithDependents(this)},enhanceWithin:function(){var t,n={},r=e.mobile.page.prototype.keepNativeSelector(),i=this;e.mobile.nojs&&e.mobile.nojs(this),e.mobile.links&&e.mobile.links(this),e.mobile.degradeInputsWithin&&e.mobile.degradeInputsWithin(this),e.fn.buttonMarkup&&this.find(e.fn.buttonMarkup.initSelector).not(r).jqmEnhanceable().buttonMarkup(),e.fn.fieldcontain&&this.find(":jqmData(role='fieldcontain')").not(r).jqmEnhanceable().fieldcontain(),e.each(e.mobile.widgets,function(t,s){if(s.initSelector){var o=e.mobile.enhanceable(i.find(s.initSelector));o.length>0&&(o=o.not(r)),o.length>0&&(n[s.prototype.widgetName]=o)}});for(t in n)n[t][t]();return this},addDependents:function(t){e.addDependents(this,t)},getEncodedText:function(){return e("<a>").text(this.text()).html()},jqmEnhanceable:function(){return e.mobile.enhanceable(this)},jqmHijackable:function(){return e.mobile.hijackable(this)}}),e.removeWithDependents=function(t){var n=e(t);(n.jqmData("dependents")||e()).remove(),n.remove()},e.addDependents=function(t,n){var r=e(t),i=r.jqmData("dependents")||e();r.jqmData("dependents",e(i).add(n))},e.find.matches=function(t,n){return e.find(t,null,null,n)},e.find.matchesSelector=function(t,n){return e.find(n,null,null,[t]).length>0}}(e,this),function(e,r){t.matchMedia=t.matchMedia||function(e,t){var n,r=e.documentElement,i=r.firstElementChild||r.firstChild,s=e.createElement("body"),o=e.createElement("div");return o.id="mq-test-1",o.style.cssText="position:absolute;top:-100em",s.style.background="none",s.appendChild(o),function(e){return o.innerHTML='­<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',r.insertBefore(s,i),n=o.offsetWidth===42,r.removeChild(s),{matches:n,media:e}}}(n),e.mobile.media=function(e){return t.matchMedia(e).matches}}(e),function(e,t){var r={touch:"ontouchend"in n};e.mobile.support=e.mobile.support||{},e.extend(e.support,r),e.extend(e.mobile.support,r)}(e),function(e,n){e.extend(e.support,{orientation:"orientation"in t&&"onorientationchange"in t})}(e),function(e,r){function i(e){var t=e.charAt(0).toUpperCase()+e.substr(1),n=(e+" "+u.join(t+" ")+t).split(" "),i;for(i in n)if(o[n[i]]!==r)return!0}function p(e,t,r){var i=n.createElement("div"),s=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},o=function(e){return e===""?"":"-"+e.charAt(0).toLowerCase()+e.substr(1)+"-"},a=function(n){var r=o(n)+e+": "+t+";",u=s(n),a=u+(u===""?e:s(e));i.setAttribute("style",r),!i.style[a]||(c=!0)},f=r?r:u,l,c;for(l=0;l<f.length;l++)a(f[l]);return!!c}function d(){var n=t,r=!!n.document.createElementNS&&!!n.document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect&&(!n.opera||navigator.userAgent.indexOf("Chrome")!==-1),i=function(t){(!t||!r)&&e("html").addClass("ui-nosvg")},s=new n.Image;s.onerror=function(){i(!1)},s.onload=function(){i(s.width===1&&s.height===1)},s.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="}function v(){var i="transform-3d",o=e.mobile.media("(-"+u.join("-"+i+"),(-")+"-"+i+"),("+i+")"),a,f,l;if(o)return!!o;a=n.createElement("div"),f={MozTransform:"-moz-transform",transform:"transform"},s.append(a);for(l in f)a.style[l]!==r&&(a.style[l]="translate3d( 100px, 1px, 1px )",o=t.getComputedStyle(a).getPropertyValue(f[l]));return!!o&&o!=="none"}function m(){var t=location.protocol+"//"+location.host+location.pathname+"ui-dir/",n=e("head base"),r=null,i="",o,u;return n.length?i=n.attr("href"):n=r=e("<base>",{href:t}).appendTo("head"),o=e("<a href='testurl' />").prependTo(s),u=o[0].href,n[0].href=i||location.pathname,r&&r.remove(),u.indexOf(t)===0}function g(){var e=n.createElement("x"),r=n.documentElement,i=t.getComputedStyle,s;return"pointerEvents"in e.style?(e.style.pointerEvents="auto",e.style.pointerEvents="x",r.appendChild(e),s=i&&i(e,"").pointerEvents==="auto",r.removeChild(e),!!s):!1}function y(){var e=n.createElement("div");return typeof e.getBoundingClientRect!="undefined"}function b(){var e=t,n=navigator.userAgent,r=navigator.platform,i=n.match(/AppleWebKit\/([0-9]+)/),s=!!i&&i[1],o=n.match(/Fennec\/([0-9]+)/),u=!!o&&o[1],a=n.match(/Opera Mobi\/([0-9]+)/),f=!!a&&a[1];return(r.indexOf("iPhone")>-1||r.indexOf("iPad")>-1||r.indexOf("iPod")>-1)&&s&&s<534||e.operamini&&{}.toString.call(e.operamini)==="[object OperaMini]"||a&&f<7458||n.indexOf("Android")>-1&&s&&s<533||u&&u<6||"palmGetResource"in t&&s&&s<534||n.indexOf("MeeGo")>-1&&n.indexOf("NokiaBrowser/8.5.0")>-1?!1:!0}var s=e("<body>").prependTo("html"),o=s[0].style,u=["Webkit","Moz","O"],a="palmGetResource"in t,f=t.opera,l=t.operamini&&{}.toString.call(t.operamini)==="[object OperaMini]",c=t.blackberry&&!i("-webkit-transform"),h;e.extend(e.mobile,{browser:{}}),e.mobile.browser.oldIE=function(){var e=3,t=n.createElement("div"),r=t.all||[];do t.innerHTML="<!--[if gt IE "+ ++e+"]><br><![endif]-->";while(r[0]);return e>4?e:!e}(),e.extend(e.support,{cssTransitions:"WebKitTransitionEvent"in t||p("transition","height 100ms linear",["Webkit","Moz",""])&&!e.mobile.browser.oldIE&&!f,pushState:"pushState"in history&&"replaceState"in history&&!(t.navigator.userAgent.indexOf("Firefox")>=0&&t.top!==t)&&t.navigator.userAgent.search(/CriOS/)===-1,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!i("content"),touchOverflow:!!i("overflowScrolling"),cssTransform3d:v(),cssAnimations:!!i("animationName"),boxShadow:!!i("boxShadow")&&!c,fixedPosition:b(),scrollTop:("pageXOffset"in t||"scrollTop"in n.documentElement||"scrollTop"in s[0])&&!a&&!l,dynamicBaseTag:m(),cssPointerEvents:g(),boundingRect:y(),inlineSVG:d}),s.remove(),h=function(){var e=t.navigator.userAgent;return e.indexOf("Nokia")>-1&&(e.indexOf("Symbian/3")>-1||e.indexOf("Series60/5")>-1)&&e.indexOf("AppleWebKit")>-1&&e.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}(),e.mobile.gradeA=function(){return(e.support.mediaquery&&e.support.cssPseudoElement||e.mobile.browser.oldIE&&e.mobile.browser.oldIE>=8)&&(e.support.boundingRect||e.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/)!==null)},e.mobile.ajaxBlacklist=t.blackberry&&!t.WebKitPoint||l||h,h&&e(function(){e("head link[rel='stylesheet']").attr("rel","alternate stylesheet").attr("rel","stylesheet")}),e.support.boxShadow||e("html").addClass("ui-noboxshadow")}(e),function(e,t){var n=e.mobile.window,r,i=function(){};e.event.special.beforenavigate={setup:function(){n.on("navigate",i)},teardown:function(){n.off("navigate",i)}},e.event.special.navigate=r={bound:!1,pushStateEnabled:!0,originalEventName:t,isPushStateEnabled:function(){return e.support.pushState&&e.mobile.pushStateEnabled===!0&&this.isHashChangeEnabled()},isHashChangeEnabled:function(){return e.mobile.hashListeningEnabled===!0},popstate:function(t){var r=new e.Event("navigate"),i=new e.Event("beforenavigate"),s=t.originalEvent.state||{};i.originalEvent=t,n.trigger(i);if(i.isDefaultPrevented())return;t.historyState&&e.extend(s,t.historyState),r.originalEvent=t,setTimeout(function(){n.trigger(r,{state:s})},0)},hashchange:function(t){var r=new e.Event("navigate"),i=new e.Event("beforenavigate");i.originalEvent=t,n.trigger(i);if(i.isDefaultPrevented())return;r.originalEvent=t,n.trigger(r,{state:t.hashchangeState||{}})},setup:function(){if(r.bound)return;r.bound=!0,r.isPushStateEnabled()?(r.originalEventName="popstate",n.bind("popstate.navigate",r.popstate)):r.isHashChangeEnabled()&&(r.originalEventName="hashchange",n.bind("hashchange.navigate",r.hashchange))}}}(e),function(e){e.event.special.throttledresize={setup:function(){e(this).bind("resize",n)},teardown:function(){e(this).unbind("resize",n)}};var t=250,n=function(){s=(new Date).getTime(),o=s-r,o>=t?(r=s,e(this).trigger("throttledresize")):(i&&clearTimeout(i),i=setTimeout(n,t-o))},r=0,i,s,o}(e),function(e,t){function p(){var e=s();e!==o&&(o=e,r.trigger(i))}var r=e(t),i="orientationchange",s,o,u,a,f={0:!0,180:!0},l,c,h;if(e.support.orientation){l=t.innerWidth||r.width(),c=t.innerHeight||r.height(),h=50,u=l>c&&l-c>h,a=f[t.orientation];if(u&&a||!u&&!a)f={"-90":!0,90:!0}}e.event.special.orientationchange=e.extend({},e.event.special.orientationchange,{setup:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled)return!1;o=s(),r.bind("throttledresize",p)},teardown:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled)return!1;r.unbind("throttledresize",p)},add:function(e){var t=e.handler;e.handler=function(e){return e.orientation=s(),t.apply(this,arguments)}}}),e.event.special.orientationchange.orientation=s=function(){var r=!0,i=n.documentElement;return e.support.orientation?r=f[t.orientation]:r=i&&i.clientWidth/i.clientHeight<1.1,r?"portrait":"landscape"},e.fn[i]=function(e){return e?this.bind(i,e):this.trigger(i)},e.attrFn&&(e.attrFn[i]=!0)}(e,this),function(e,t,n,r){function T(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function N(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;d<v;d++)l=u[d],t[l]=h[l]}return t}function C(t){var n={},r,s;while(t){r=e.data(t,i);for(s in r)r[s]&&(n[s]=n.hasVirtualBinding=!0);t=t.parentNode}return n}function k(t,n){var r;while(t){r=e.data(t,i);if(r&&(!n||r[n]))return t;t=t.parentNode}return null}function L(){g=!1}function A(){g=!0}function O(){E=0,v.length=0,m=!1,A()}function M(){L()}function _(){D(),c=setTimeout(function(){c=0,O()},e.vmouse.resetTimerDuration)}function D(){c&&(clearTimeout(c),c=0)}function P(t,n,r){var i;if(r&&r[t]||!r&&k(n.target,t))i=N(n,t),e(n.target).trigger(i);return i}function H(t){var n=e.data(t.target,s),r;!m&&(!E||E!==n)&&(r=P("v"+t.type,t),r&&(r.isDefaultPrevented()&&t.preventDefault(),r.isPropagationStopped()&&t.stopPropagation(),r.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function B(t){var n=T(t).touches,r,i,o;n&&n.length===1&&(r=t.target,i=C(r),i.hasVirtualBinding&&(E=w++,e.data(r,s,E),D(),M(),d=!1,o=T(t).touches[0],h=o.pageX,p=o.pageY,P("vmouseover",t,i),P("vmousedown",t,i)))}function j(e){if(g)return;d||P("vmousecancel",e,C(e.target)),d=!0,_()}function F(t){if(g)return;var n=T(t).touches[0],r=d,i=e.vmouse.moveDistanceThreshold,s=C(t.target);d=d||Math.abs(n.pageX-h)>i||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,H),e(this).bind(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",B).bind("touchend",I).bind("touchmove",F).bind("scroll",j))},teardown:function(){--l[t],l[t]||b.unbind(n,H),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",B).unbind("touchmove",F).unbind("touchend",I).unbind("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.unbind(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;x<o.length;x++)e.event.special[o[x]]=U(o[x]);y&&n.addEventListener("click",function(t){var n=v.length,r=t.target,i,o,u,a,f,l;if(n){i=t.clientX,o=t.clientY,S=e.vmouse.clickDistanceThreshold,u=r;while(u){for(a=0;a<n;a++){f=v[a],l=0;if(u===r&&Math.abs(f.x-i)<S&&Math.abs(f.y-o)<S||e.data(u,s)===f.touchID){t.preventDefault(),t.stopPropagation();return}}u=u.parentNode}}},!0)}(e,t,n),function(e,t,r){function l(t,n,r){var i=r.type;r.type=n,e.event.dispatch.call(t,r),r.type=i}var i=e(n),s=e.mobile.support.touch,o="touchmove scroll",u=s?"touchstart":"mousedown",a=s?"touchend":"mouseup",f=s?"touchmove":"mousemove";e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)}),e.event.special.scrollstart={enabled:!0,setup:function(){function s(e,n){r=n,l(t,r?"scrollstart":"scrollstop",e)}var t=this,n=e(t),r,i;n.bind(o,function(t){if(!e.event.special.scrollstart.enabled)return;r||s(t,!0),clearTimeout(i),i=setTimeout(function(){s(t,!1)},50)})},teardown:function(){e(this).unbind(o)}},e.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var t=this,n=e(t),r=!1;n.bind("vmousedown",function(s){function a(){clearTimeout(u)}function f(){a(),n.unbind("vclick",c).unbind("vmouseup",a),i.unbind("vmousecancel",f)}function c(e){f(),!r&&o===e.target?l(t,"tap",e):r&&e.stopPropagation()}r=!1;if(s.which&&s.which!==1)return!1;var o=s.target,u;n.bind("vmouseup",a).bind("vclick",c),i.bind("vmousecancel",f),u=setTimeout(function(){e.event.special.tap.emitTapOnTaphold||(r=!0),l(t,"taphold",e.Event("taphold",{target:o}))},e.event.special.tap.tapholdThreshold)})},teardown:function(){e(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup"),i.unbind("vmousecancel")}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:e(t.target)}},stop:function(e){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;return{time:(new Date).getTime(),coords:[t.pageX,t.pageY]}},handleSwipe:function(t,n,r,i){if(n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var s=t.coords[0]>n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n})),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n})),!0}return!1},setup:function(){var t=this,n=e(t);n.bind(u,function(r){function l(n){if(!s)return;i=e.event.special.swipe.stop(n),u||(u=e.event.special.swipe.handleSwipe(s,i,t,o)),Math.abs(s.coords[0]-i.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&n.preventDefault()}var i,s=e.event.special.swipe.start(r),o=r.target,u=!1;n.bind(f,l).one(a,function(){u=!0,n.unbind(f,l)})})},teardown:function(){e(this).unbind(u).unbind(f).unbind(a)}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this),function(e,n){var r,i,s="&ui-state=dialog";e.mobile.path=r={uiStateKey:"&ui-state",urlParseRE:/^\s*(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/,getLocation:function(e){var t=e?this.parseUrl(e):location,n=this.parseUrl(e||location.href).hash;return n=n==="#"?"":n,t.protocol+"//"+t.host+t.pathname+t.search+n},getDocumentUrl:function(t){return t?e.extend({},r.documentUrl):r.documentUrl.href},parseLocation:function(){return this.parseUrl(this.getLocation())},parseUrl:function(t){if(e.type(t)==="object")return t;var n=r.urlParseRE.exec(t||"")||[];return{href:n[0]||"",hrefNoHash:n[1]||"",hrefNoSearch:n[2]||"",domain:n[3]||"",protocol:n[4]||"",doubleSlash:n[5]||"",authority:n[6]||"",username:n[8]||"",password:n[9]||"",host:n[10]||"",hostname:n[11]||"",port:n[12]||"",pathname:n[13]||"",directory:n[14]||"",filename:n[15]||"",search:n[16]||"",hash:n[17]||""}},makePathAbsolute:function(e,t){var n,r,i,s;if(e&&e.charAt(0)==="/")return e;e=e||"",t=t?t.replace(/^\/|(\/[^\/]*|[^\/]+)$/g,""):"",n=t?t.split("/"):[],r=e.split("/");for(i=0;i<r.length;i++){s=r[i];switch(s){case".":break;case"..":n.length&&n.pop();break;default:n.push(s)}}return"/"+n.join("/")},isSameDomain:function(e,t){return r.parseUrl(e).domain===r.parseUrl(t).domain},isRelativeUrl:function(e){return r.parseUrl(e).protocol===""},isAbsoluteUrl:function(e){return r.parseUrl(e).protocol!==""},makeUrlAbsolute:function(e,t){if(!r.isRelativeUrl(e))return e;t===n&&(t=this.documentBase);var i=r.parseUrl(e),s=r.parseUrl(t),o=i.protocol||s.protocol,u=i.protocol?i.doubleSlash:i.doubleSlash||s.doubleSlash,a=i.authority||s.authority,f=i.pathname!=="",l=r.makePathAbsolute(i.pathname||s.filename,s.pathname),c=i.search||!f&&s.search||"",h=i.hash;return o+u+a+l+c+h},addSearchParams:function(t,n){var i=r.parseUrl(t),s=typeof n=="object"?e.param(n):n,o=i.search||"?";return i.hrefNoSearch+o+(o.charAt(o.length-1)!=="?"?"&":"")+s+(i.hash||"")},convertUrlToDataUrl:function(e){var n=r.parseUrl(e);return r.isEmbeddedPage(n)?n.hash.split(s)[0].replace(/^#/,"").replace(/\?.*$/,""):r.isSameDomain(n,this.documentBase)?n.hrefNoHash.replace(this.documentBase.domain,"").split(s)[0]:t.decodeURIComponent(e)},get:function(e){return e===n&&(e=r.parseLocation().hash),r.stripHash(e).replace(/[^\/]*\.[^\/*]+$/,"")},set:function(e){location.hash=e},isPath:function(e){return/\//.test(e)},clean:function(e){return e.replace(this.documentBase.domain,"")},stripHash:function(e){return e.replace(/^#/,"")},stripQueryParams:function(e){return e.replace(/\?.*$/,"")},cleanHash:function(e){return r.stripHash(e.replace(/\?.*$/,"").replace(s,""))},isHashValid:function(e){return/^#[^#]+$/.test(e)},isExternal:function(e){var t=r.parseUrl(e);return t.protocol&&t.domain!==this.documentUrl.domain?!0:!1},hasProtocol:function(e){return/^(:?\w+:)/.test(e)},isEmbeddedPage:function(e){var t=r.parseUrl(e);return t.protocol!==""?!this.isPath(t.hash)&&t.hash&&(t.hrefNoHash===this.documentUrl.hrefNoHash||this.documentBaseDiffers&&t.hrefNoHash===this.documentBase.hrefNoHash):/^#/.test(t.href)},squash:function(e,t){var n,i,s,o,u=this.isPath(e),a=this.parseUrl(e),f=a.hash,l="";t=t||(r.isPath(e)?r.getLocation():r.getDocumentUrl()),i=u?r.stripHash(e):e,i=r.isPath(a.hash)?r.stripHash(a.hash):i,o=i.indexOf(this.uiStateKey),o>-1&&(l=i.slice(o),i=i.slice(0,o)),n=r.makeUrlAbsolute(i,t),s=this.parseUrl(n).search;if(u){if(r.isPath(f)||f.replace("#","").indexOf(this.uiStateKey)===0)f="";l&&f.indexOf(this.uiStateKey)===-1&&(f+=l),f.indexOf("#")===-1&&f!==""&&(f="#"+f),n=r.parseUrl(n),n=n.protocol+"//"+n.host+n.pathname+s+f}else n+=n.indexOf("#")>-1?l:"#"+l;return n},isPreservableHash:function(e){return e.replace("#","").indexOf(this.uiStateKey)===0},hashToSelector:function(e){var t=e.substring(0,1)==="#";return t&&(e=e.substring(1)),(t?"#":"")+e.replace(/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,"\\$1")},getFilePath:function(t){var n="&"+e.mobile.subPageUrlKey;return t&&t.split(n)[0].split(s)[0]},isFirstPageUrl:function(t){var i=r.parseUrl(r.makeUrlAbsolute(t,this.documentBase)),s=i.hrefNoHash===this.documentUrl.hrefNoHash||this.documentBaseDiffers&&i.hrefNoHash===this.documentBase.hrefNoHash,o=e.mobile.firstPage,u=o&&o[0]?o[0].id:n;return s&&(!i.hash||i.hash==="#"||u&&i.hash.replace(/^#/,"")===u)},isPermittedCrossDomainRequest:function(t,n){return e.mobile.allowCrossDomainPages&&(t.protocol==="file:"||t.protocol==="content:")&&n.search(/^https?:/)!==-1}},r.documentUrl=r.parseLocation(),i=e("head").find("base"),r.documentBase=i.length?r.parseUrl(r.makeUrlAbsolute(i.attr("href"),r.documentUrl.href)):r.documentUrl,r.documentBaseDiffers=r.documentUrl.hrefNoHash!==r.documentBase.hrefNoHash,r.getDocumentBase=function(t){return t?e.extend({},r.documentBase):r.documentBase.href},e.extend(e.mobile,{getDocumentUrl:r.getDocumentUrl,getDocumentBase:r.getDocumentBase})}(e),function(e,t){e.mobile.History=function(e,t){this.stack=e||[],this.activeIndex=t||0},e.extend(e.mobile.History.prototype,{getActive:function(){return this.stack[this.activeIndex]},getLast:function(){return this.stack[this.previousIndex]},getNext:function(){return this.stack[this.activeIndex+1]},getPrev:function(){return this.stack[this.activeIndex-1]},add:function(e,t){t=t||{},this.getNext()&&this.clearForward(),t.hash&&t.hash.indexOf("#")===-1&&(t.hash="#"+t.hash),t.url=e,this.stack.push(t),this.activeIndex=this.stack.length-1},clearForward:function(){this.stack=this.stack.slice(0,this.activeIndex+1)},find:function(e,t,n){t=t||this.stack;var r,i,s=t.length,o;for(i=0;i<s;i++){r=t[i];if(decodeURIComponent(e)===decodeURIComponent(r.url)||decodeURIComponent(e)===decodeURIComponent(r.hash)){o=i;if(n)return o}}return o},closest:function(e){var n,r=this.activeIndex;return n=this.find(e,this.stack.slice(0,r)),n===t&&(n=this.find(e,this.stack.slice(r),!0),n=n===t?n:n+r),n},direct:function(n){var r=this.closest(n.url),i=this.activeIndex;r!==t&&(this.activeIndex=r,this.previousIndex=i),r<i?(n.present||n.back||e.noop)(this.getActive(),"back"):r>i?(n.present||n.forward||e.noop)(this.getActive(),"forward"):r===t&&n.missing&&n.missing(this.getActive())}})}(e),function(e,r){var i=e.mobile.path,s=location.href;e.mobile.Navigator=function(t){this.history=t,this.ignoreInitialHashChange=!0,e.mobile.window.bind({"popstate.history":e.proxy(this.popstate,this),"hashchange.history":e.proxy(this.hashchange,this)})},e.extend(e.mobile.Navigator.prototype,{squash:function(r,s){var o,u,a=i.isPath(r)?i.stripHash(r):r;return u=i.squash(r),o=e.extend({hash:a,url:u},s),t.history.replaceState(o,o.title||n.title,u),o},hash:function(e,t){var n,r,s,o;return n=i.parseUrl(e),r=i.parseLocation(),r.pathname+r.search===n.pathname+n.search?s=n.hash?n.hash:n.pathname+n.search:i.isPath(e)?(o=i.parseUrl(t),s=o.pathname+o.search+(i.isPreservableHash(o.hash)?o.hash.replace("#",""):"")):s=e,s},go:function(r,s,o){var u,a,f,l,c=e.event.special.navigate.isPushStateEnabled();a=i.squash(r),f=this.hash(r,a),o&&f!==i.stripHash(i.parseLocation().hash)&&(this.preventNextHashChange=o),this.preventHashAssignPopState=!0,t.location.hash=f,this.preventHashAssignPopState=!1,u=e.extend({url:a,hash:f,title:n.title},s),c&&(l=new e.Event("popstate"),l.originalEvent={type:"popstate",state:null},this.squash(r,u),o||(this.ignorePopState=!0,e.mobile.window.trigger(l))),this.history.add(u.url,u)},popstate:function(t){var n,r;if(!e.event.special.navigate.isPushStateEnabled())return;if(this.preventHashAssignPopState){this.preventHashAssignPopState=!1,t.stopImmediatePropagation();return}if(this.ignorePopState){this.ignorePopState=!1;return}if(!t.originalEvent.state&&this.history.stack.length===1&&this.ignoreInitialHashChange){this.ignoreInitialHashChange=!1;if(location.href===s){t.preventDefault();return}}n=i.parseLocation().hash;if(!t.originalEvent.state&&n){r=this.squash(n),this.history.add(r.url,r),t.historyState=r;return}this.history.direct({url:(t.originalEvent.state||{}).url||n,present:function(n,r){t.historyState=e.extend({},n),t.historyState.direction=r}})},hashchange:function(t){var r,s;if(!e.event.special.navigate.isHashChangeEnabled()||e.event.special.navigate.isPushStateEnabled())return;if(this.preventNextHashChange){this.preventNextHashChange=!1,t.stopImmediatePropagation();return}r=this.history,s=i.parseLocation().hash,this.history.direct({url:s,present:function(n,r){t.hashchangeState=e.extend({},n),t.hashchangeState.direction=r},missing:function(){r.add(s,{hash:s,title:n.title})}})}})}(e),function(e,t){e.mobile.navigate=function(t,n,r){e.mobile.navigate.navigator.go(t,n,r)},e.mobile.navigate.history=new e.mobile.History,e.mobile.navigate.navigator=new e.mobile.Navigator(e.mobile.navigate.history);var n=e.mobile.path.parseLocation();e.mobile.navigate.history.add(n.href,{hash:n.hash})}(e),function(e,t){var n=e("head").children("base"),r={element:n.length?n:e("<base>",{href:e.mobile.path.documentBase.hrefNoHash}).prependTo(e("head")),linkSelector:"[src], link[href], a[rel='external'], :jqmData(ajax='false'), a[target]",set:function(t){if(!e.mobile.dynamicBaseEnabled)return;e.support.dynamicBaseTag&&r.element.attr("href",e.mobile.path.makeUrlAbsolute(t,e.mobile.path.documentBase))},rewrite:function(t,n){var i=e.mobile.path.get(t);n.find(r.linkSelector).each(function(t,n){var r=e(n).is("[href]")?"href":e(n).is("[src]")?"src":"action",s=e(n).attr(r);s=s.replace(location.protocol+"//"+location.host+location.pathname,""),/^(\w+:|#|\/)/.test(s)||e(n).attr(r,i+s)})},reset:function(){r.element.attr("href",e.mobile.path.documentBase.hrefNoSearch)}};e.mobile.base=r}(e),function(e,t){var n=0,r=Array.prototype.slice,i=e.cleanData;e.cleanData=function(t){for(var n=0,r;(r=t[n])!=null;n++)try{e(r).triggerHandler("remove")}catch(s){}i(t)},e.widget=function(t,n,r){var i,s,o,u,a={},f=t.split(".")[0];return t=t.split(".")[1],i=f+"-"+t,r||(r=n,n=e.Widget),e.expr[":"][i.toLowerCase()]=function(t){return!!e.data(t,i)},e[f]=e[f]||{},s=e[f][t],o=e[f][t]=function(e,t){if(!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,s,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),u=new n,u.options=e.widget.extend({},u.options),e.each(r,function(t,r){if(!e.isFunction(r)){a[t]=r;return}a[t]=function(){var e=function(){return n.prototype[t].apply(this,arguments)},i=function(e){return n.prototype[t].apply(this,e)};return function(){var t=this._super,n=this._superApply,s;return this._super=e,this._superApply=i,s=r.apply(this,arguments),this._super=t,this._superApply=n,s}}()}),o.prototype=e.widget.extend(u,{widgetEventPrefix:s?u.widgetEventPrefix||t:t},a,{constructor:o,namespace:f,widgetName:t,widgetFullName:i}),s?(e.each(s._childConstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete s._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(n){var i=r.call(arguments,1),s=0,o=i.length,u,a;for(;s<o;s++)for(u in i[s])a=i[s][u],i[s].hasOwnProperty(u)&&a!==t&&(e.isPlainObject(a)?n[u]=e.isPlainObject(n[u])?e.widget.extend({},n[u],a):e.widget.extend({},a):n[u]=a);return n},e.widget.bridge=function(n,i){var s=i.prototype.widgetFullName||n;e.fn[n]=function(o){var u=typeof o=="string",a=r.call(arguments,1),f=this;return o=!u&&a.length?e.widget.extend.apply(null,[o].concat(a)):o,u?this.each(function(){var r,i=e.data(this,s);if(o==="instance")return f=i,!1;if(!i)return e.error("cannot call methods on "+n+" prior to initialization; "+"attempted to call method '"+o+"'");if(!e.isFunction(i[o])||o.charAt(0)==="_")return e.error("no such method '"+o+"' for "+n+" widget instance");r=i[o].apply(i,a);if(r!==i&&r!==t)return f=r&&r.jquery?f.pushStack(r.get()):r,!1}):this.each(function(){var t=e.data(this,s);t?t.option(o||{})._init():e.data(this,s,new i(o,this))}),f}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(n,r){var i=n,s,o,u;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof n=="string"){i={},s=n.split("."),n=s.shift();if(s.length){o=i[n]=e.widget.extend({},this.options[n]);for(u=0;u<s.length-1;u++)o[s[u]]=o[s[u]]||{},o=o[s[u]];n=s.pop();if(r===t)return o[n]===t?null:o[n];o[n]=r}else{if(r===t)return this.options[n]===t?null:this.options[n];i[n]=r}}return this._setOptions(i),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,e==="disabled"&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(t,n,r){var i,s=this;typeof t!="boolean"&&(r=n,n=t,t=!1),r?(n=i=e(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),e.each(r,function(r,o){function u(){if(!t&&(s.options.disabled===!0||e(this).hasClass("ui-state-disabled")))return;return(typeof o=="string"?s[o]:o).apply(s,arguments)}typeof o!="string"&&(u.guid=o.guid=o.guid||u.guid||e.guid++);var a=r.match(/^(\w+)\s*(.*)$/),f=a[1]+s.eventNamespace,l=a[2];l?i.delegate(l,f,u):n.bind(f,u)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function n(){return(typeof e=="string"?r[e]:e).apply(r,arguments)}var r=this;return setTimeout(n,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,n,r){var i,s,o=this.options[t];r=r||{},n=e.Event(n),n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],s=n.originalEvent;if(s)for(i in s)i in n||(n[i]=s[i]);return this.element.trigger(n,r),!(e.isFunction(o)&&o.apply(this.element[0],[n].concat(r))===!1||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(r,i,s){typeof i=="string"&&(i={effect:i});var o,u=i?i===!0||typeof i=="number"?n:i.effect||n:t;i=i||{},typeof i=="number"&&(i={duration:i}),o=!e.isEmptyObject(i),i.complete=s,i.delay&&r.delay(i.delay),o&&e.effects&&e.effects.effect[u]?r[t](i):u!==t&&r[u]?r[u](i.duration,i.easing,s):r.queue(function(n){e(this)[t](),s&&s.call(r[0]),n()})}})}(e),function(e,t){var n=/[A-Z]/g,r=function(e){return"-"+e.toLowerCase()};e.extend(e.Widget.prototype,{_getCreateOptions:function(){var t,i,s=this.element[0],o={};if(!e.mobile.getAttribute(s,"defaults"))for(t in this.options)i=e.mobile.getAttribute(s,t.replace(n,r)),i!=null&&(o[t]=i);return o}}),e.mobile.widget=e.Widget}(e),function(e,t){e.mobile.widgets={};var n=e.widget,r=e.mobile.keepNative;e.widget=function(n){return function(){var r=n.apply(this,arguments),i=r.prototype.widgetName;return r.initSelector=r.prototype.initSelector!==t?r.prototype.initSelector:":jqmData(role='"+i+"')",e.mobile.widgets[i]=r,r}}(e.widget),e.extend(e.widget,n),e.mobile.document.on("create",function(t){e(t.target).enhanceWithin()}),e.widget("mobile.page",{options:{theme:"a",domCache:!1,keepNativeDefault:e.mobile.keepNative,contentTheme:null,enhanced:!1},_createWidget:function(){e.Widget.prototype._createWidget.apply(this,arguments),this._trigger("init")},_create:function(){if(this._trigger("beforecreate")===!1)return!1;this.options.enhanced||this._enhance(),this._on(this.element,{pagebeforehide:"removeContainerBackground",pagebeforeshow:"_handlePageBeforeShow"}),this.element.enhanceWithin(),e.mobile.getAttribute(this.element[0],"role")==="dialog"&&e.mobile.dialog&&this.element.dialog()},_enhance:function(){var n="data-"+e.mobile.ns,r=this;this.options.role&&this.element.attr("data-"+e.mobile.ns+"role",this.options.role),this.element.attr("tabindex","0").addClass("ui-page ui-page-theme-"+this.options.theme),this.element.find("["+n+"role='content']").each(function(){var i=e(this),s=this.getAttribute(n+"theme")||t;r.options.contentTheme=s||r.options.contentTheme||r.options.dialog&&r.options.theme||r.element.jqmData("role")==="dialog"&&r.options.theme,i.addClass("ui-content"),r.options.contentTheme&&i.addClass("ui-body-"+r.options.contentTheme),i.attr("role","main").addClass("ui-content")})},bindRemove:function(t){var n=this.element;!n.data("mobile-page").options.domCache&&n.is(":jqmData(external-page='true')")&&n.bind("pagehide.remove",t||function(t,n){if(!n.samePage){var r=e(this),i=new e.Event("pageremove");r.trigger(i),i.isDefaultPrevented()||r.removeWithDependents()}})},_setOptions:function(n){n.theme!==t&&this.element.removeClass("ui-body-"+this.options.theme).addClass("ui-body-"+n.theme),n.contentTheme!==t&&this.element.find("[data-"+e.mobile.ns+"='content']").removeClass("ui-body-"+this.options.contentTheme).addClass("ui-body-"+n.contentTheme)},_handlePageBeforeShow:function(){this.setContainerBackground()},removeContainerBackground:function(){this.element.closest(":mobile-pagecontainer").pagecontainer({theme:"none"})},setContainerBackground:function(e){this.element.parent().pagecontainer({theme:e||this.options.theme})},keepNativeSelector:function(){var t=this.options,n=e.trim(t.keepNative||""),i=e.trim(e.mobile.keepNative),s=e.trim(t.keepNativeDefault),o=r===i?"":i,u=o===""?s:"";return(n?[n]:[]).concat(o?[o]:[]).concat(u?[u]:[]).join(", ")}})}(e),function(e,t,n){e.mobile.Transition=function(){this.init.apply(this,arguments)},e.extend(e.mobile.Transition.prototype,{toPreClass:" ui-page-pre-in",init:function(t,n,r,i){e.extend(this,{name:t,reverse:n,$to:r,$from:i,deferred:new e.Deferred})},cleanFrom:function(){this.$from.removeClass(e.mobile.activePageClass+" out in reverse "+this.name).height("")},beforeDoneIn:function(){},beforeDoneOut:function(){},beforeStartOut:function(){},doneIn:function(){this.beforeDoneIn(),this.$to.removeClass("out in reverse "+this.name).height(""),this.toggleViewportClass(),e.mobile.window.scrollTop()!==this.toScroll&&this.scrollPage(),this.sequential||this.$to.addClass(e.mobile.activePageClass),this.deferred.resolve(this.name,this.reverse,this.$to,this.$from,!0)},doneOut:function(e,t,n,r){this.beforeDoneOut(),this.startIn(e,t,n,r)},hideIn:function(e){this.$to.css("z-index",-10),e.call(this),this.$to.css("z-index","")},scrollPage:function(){e.event.special.scrollstart.enabled=!1,(e.mobile.hideUrlBar||this.toScroll!==e.mobile.defaultHomeScroll)&&t.scrollTo(0,this.toScroll),setTimeout(function(){e.event.special.scrollstart.enabled=!0},150)},startIn:function(t,n,r,i){this.hideIn(function(){this.$to.addClass(e.mobile.activePageClass+this.toPreClass),i||e.mobile.focusPage(this.$to),this.$to.height(t+this.toScroll),r||this.scrollPage()}),r||this.$to.animationComplete(e.proxy(function(){this.doneIn()},this)),this.$to.removeClass(this.toPreClass).addClass(this.name+" in "+n),r&&this.doneIn()},startOut:function(t,n,r){this.beforeStartOut(t,n,r),this.$from.height(t+e.mobile.window.scrollTop()).addClass(this.name+" out"+n)},toggleViewportClass:function(){e.mobile.pageContainer.toggleClass("ui-mobile-viewport-transitioning viewport-"+this.name)},transition:function(){var t=this.reverse?" reverse":"",n=e.mobile.getScreenHeight(),r=e.mobile.maxTransitionWidth!==!1&&e.mobile.window.width()>e.mobile.maxTransitionWidth,i=!e.support.cssTransitions||!e.support.cssAnimations||r||!this.name||this.name==="none"||Math.max(e.mobile.window.scrollTop(),this.toScroll)>e.mobile.getMaxScrollForTransition();return this.toScroll=e.mobile.navigate.history.getActive().lastScroll||e.mobile.defaultHomeScroll,this.toggleViewportClass(),this.$from&&!i?this.startOut(n,t,i):this.doneOut(n,t,i,!0),this.deferred.promise()}})}(e,this),function(e){e.mobile.SerialTransition=function(){this.init.apply(this,arguments)},e.extend(e.mobile.SerialTransition.prototype,e.mobile.Transition.prototype,{sequential:!0,beforeDoneOut:function(){this.$from&&this.cleanFrom()},beforeStartOut:function(t,n,r){this.$from.animationComplete(e.proxy(function(){this.doneOut(t,n,r)},this))}})}(e),function(e){e.mobile.ConcurrentTransition=function(){this.init.apply(this,arguments)},e.extend(e.mobile.ConcurrentTransition.prototype,e.mobile.Transition.prototype,{sequential:!1,beforeDoneIn:function(){this.$from&&this.cleanFrom()},beforeStartOut:function(e,t,n){this.doneOut(e,t,n)}})}(e),function(e){var t=function(){return e.mobile.getScreenHeight()*3};e.mobile.transitionHandlers={sequential:e.mobile.SerialTransition,simultaneous:e.mobile.ConcurrentTransition},e.mobile.defaultTransitionHandler=e.mobile.transitionHandlers.sequential,e.mobile.transitionFallbacks={},e.mobile._maybeDegradeTransition=function(t){return t&&!e.support.cssTransform3d&&e.mobile.transitionFallbacks[t]&&(t=e.mobile.transitionFallbacks[t]),t},e.mobile.getMaxScrollForTransition=e.mobile.getMaxScrollForTransition||t}(e),function(e,r){e.widget("mobile.pagecontainer",{options:{theme:"a"},initSelector:!1,_create:function(){this.setLastScrollEnabled=!0,this._on(this.window,{navigate:"_filterNavigateEvents"}),this._on(this.window,{navigate:"_disableRecordScroll",scrollstop:"_delayedRecordScroll"}),this._on({pagechange:"_afterContentChange"}),this.window.one("navigate",e.proxy(function(){this.setLastScrollEnabled=!0},this))},_setOptions:function(e){e.theme!==r&&e.theme!=="none"?this.element.removeClass("ui-overlay-"+this.options.theme).addClass("ui-overlay-"+e.theme):e.theme!==r&&this.element.removeClass("ui-overlay-"+this.options.theme),this._super(e)},_disableRecordScroll:function(){this.setLastScrollEnabled=!1},_enableRecordScroll:function(){this.setLastScrollEnabled=!0},_afterContentChange:function(){this.setLastScrollEnabled=!0,this._off(this.window,"scrollstop"),this._on(this.window,{scrollstop:"_delayedRecordScroll"})},_recordScroll:function(){if(!this.setLastScrollEnabled)return;var e=this._getActiveHistory(),t,n,r;e&&(t=this._getScroll(),n=this._getMinScroll(),r=this._getDefaultScroll(),e.lastScroll=t<n?r:t)},_delayedRecordScroll:function(){setTimeout(e.proxy(this,"_recordScroll"),100)},_getScroll:function(){return this.window.scrollTop()},_getMinScroll:function(){return e.mobile.minScrollBack},_getDefaultScroll:function(){return e.mobile.defaultHomeScroll},_filterNavigateEvents:function(t,n){var r;if(t.originalEvent&&t.originalEvent.isDefaultPrevented())return;r=t.originalEvent.type.indexOf("hashchange")>-1?n.state.hash:n.state.url,r||(r=this._getHash());if(!r||r==="#"||r.indexOf("#"+e.mobile.path.uiStateKey)===0)r=location.href;this._handleNavigate(r,n.state)},_getHash:function(){return e.mobile.path.parseLocation().hash},getActivePage:function(){return this.activePage},_getInitialContent:function(){return e.mobile.firstPage},_getHistory:function(){return e.mobile.navigate.history},_getActiveHistory:function(){return e.mobile.navigate.history.getActive()},_getDocumentBase:function(){return e.mobile.path.documentBase},back:function(){this.go(-1)},forward:function(){this.go(1)},go:function(n){if(e.mobile.hashListeningEnabled)t.history.go(n);else{var r=e.mobile.navigate.history.activeIndex,i=r+parseInt(n,10),s=e.mobile.navigate.history.stack[i].url,o=n>=1?"forward":"back";e.mobile.navigate.history.activeIndex=i,e.mobile.navigate.history.previousIndex=r,this.change(s,{direction:o,changeHash:!1,fromHashChange:!0})}},_handleDestination:function(t){var n;return e.type(t)==="string"&&(t=e.mobile.path.stripHash(t)),t&&(n=this._getHistory(),t=e.mobile.path.isPath(t)?t:e.mobile.path.makeUrlAbsolute("#"+t,this._getDocumentBase()),t===e.mobile.path.makeUrlAbsolute("#"+n.initialDst,this._getDocumentBase())&&n.stack.length&&n.stack[0].url!==n.initialDst.replace(e.mobile.dialogHashKey,"")&&(t=this._getInitialContent())),t||this._getInitialContent()},_handleDialog:function(t,n){var r,i,s=this.getActivePage();return s&&!s.hasClass("ui-dialog")?(n.direction==="back"?this.back():this.forward(),!1):(r=n.pageUrl,i=this._getActiveHistory(),e.extend(t,{role:i.role,transition:i.transition,reverse:n.direction==="back"}),r)},_handleNavigate:function(t,n){var i=e.mobile.path.stripHash(t),s=this._getHistory(),o=s.stack.length===0?"none":r,u={changeHash:!1,fromHashChange:!0,reverse:n.direction==="back"};e.extend(u,n,{transition:(s.getLast()||{}).transition||o});if(s.activeIndex>0&&i.indexOf(e.mobile.dialogHashKey)>-1&&s.initialDst!==i){i=this._handleDialog(u,n);if(i===!1)return}this._changeContent(this._handleDestination(i),u)},_changeContent:function(t,n){e.mobile.changePage(t,n)},_getBase:function(){return e.mobile.base},_getNs:function(){return e.mobile.ns},_enhance:function(e,t){return e.page({role:t})},_include:function(e,t){e.appendTo(this.element),this._enhance(e,t.role),e.page("bindRemove")},_find:function(t){var n=this._createFileUrl(t),r=this._createDataUrl(t),i,s=this._getInitialContent();return i=this.element.children("[data-"+this._getNs()+"url='"+r+"']"),i.length===0&&r&&!e.mobile.path.isPath(r)&&(i=this.element.children(e.mobile.path.hashToSelector("#"+r)).attr("data-"+this._getNs()+"url",r).jqmData("url",r)),i.length===0&&e.mobile.path.isFirstPageUrl(n)&&s&&s.parent().length&&(i=e(s)),i},_getLoader:function(){return e.mobile.loading()},_showLoading:function(t,n,r,i){if(this._loadMsg)return;this._loadMsg=setTimeout(e.proxy(function(){this._getLoader().loader("show",n,r,i),this._loadMsg=0},this),t)},_hideLoading:function(){clearTimeout(this._loadMsg),this._loadMsg=0,this._getLoader().loader("hide")},_showError:function(){this._hideLoading(),this._showLoading(0,e.mobile.pageLoadErrorMessageTheme,e.mobile.pageLoadErrorMessage,!0),setTimeout(e.proxy(this,"_hideLoading"),1500)},_parse:function(t,n){var r,i=e("<div></div>");return i.get(0).innerHTML=t,r=i.find(":jqmData(role='page'), :jqmData(role='dialog')").first(),r.length||(r=e("<div data-"+this._getNs()+"role='page'>"+(t.split(/<\/?body[^>]*>/gmi)[1]||"")+"</div>")),r.attr("data-"+this._getNs()+"url",e.mobile.path.convertUrlToDataUrl(n)).attr("data-"+this._getNs()+"external-page",!0),r},_setLoadedTitle:function(t,n){var r=n.match(/<title[^>]*>([^<]*)/)&&RegExp.$1;r&&!t.jqmData("title")&&(r=e("<div>"+r+"</div>").text(),t.jqmData("title",r))},_isRewritableBaseTag:function(){return e.mobile.dynamicBaseEnabled&&!e.support.dynamicBaseTag},_createDataUrl:function(t){return e.mobile.path.convertUrlToDataUrl(t)},_createFileUrl:function(t){return e.mobile.path.getFilePath(t)},_triggerWithDeprecated:function(t,n,r){var i=e.Event("page"+t),s=e.Event(this.widgetName+t);return(r||this.element).trigger(i,n),this.element.trigger(s,n),{deprecatedEvent:i,event:s}},_loadSuccess:function(t,n,i,s){var o=this._createFileUrl(t),u=this._createDataUrl(t);return e.proxy(function(a,f,l){var c,h=new RegExp("(<[^>]+\\bdata-"+this._getNs()+"role=[\"']?page[\"']?[^>]*>)"),p=new RegExp("\\bdata-"+this._getNs()+"url=[\"']?([^\"'>]*)[\"']?");h.test(a)&&RegExp.$1&&p.test(RegExp.$1)&&RegExp.$1&&(o=e.mobile.path.getFilePath(e("<div>"+RegExp.$1+"</div>").text())),i.prefetch===r&&this._getBase().set(o),c=this._parse(a,o),this._setLoadedTitle(c,a),n.xhr=l,n.textStatus=f,n.page=c,n.content=c;if(!this._trigger("load",r,n))return;this._isRewritableBaseTag()&&c&&this._getBase().rewrite(o,c),this._include(c,i),t.indexOf("&"+e.mobile.subPageUrlKey)>-1&&(c=this.element.children("[data-"+this._getNs()+"url='"+u+"']")),i.showLoadMsg&&this._hideLoading(),this.element.trigger("pageload"),s.resolve(t,i,c)},this)},_loadDefaults:{type:"get",data:r,reloadPage:!1,reload:!1,role:r,showLoadMsg:!1,loadMsgDelay:50},load:function(t,n){var i=n&&n.deferred||e.Deferred(),s=e.extend({},this._loadDefaults,n),o=null,u=e.mobile.path.makeUrlAbsolute(t,this._findBaseWithDefault()),a,f,l,c;s.reload=s.reloadPage,s.data&&s.type==="get"&&(u=e.mobile.path.addSearchParams(u,s.data),s.data=r),s.data&&s.type==="post"&&(s.reload=!0),a=this._createFileUrl(u),f=this._createDataUrl(u),o=this._find(u);if(o.length===0&&e.mobile.path.isEmbeddedPage(a)&&!e.mobile.path.isFirstPageUrl(a)){i.reject(u,s);return}this._getBase().reset();if(o.length&&!s.reload){this._enhance(o,s.role),i.resolve(u,s,o),s.prefetch||this._getBase().set(t);return}c={url:t,absUrl:u,dataUrl:f,deferred:i,options:s},l=this._triggerWithDeprecated("beforeload",c);if(l.deprecatedEvent.isDefaultPrevented()||l.event.isDefaultPrevented())return;s.showLoadMsg&&this._showLoading(s.loadMsgDelay),s.prefetch===r&&this._getBase().reset();if(!e.mobile.allowCrossDomainPages&&!e.mobile.path.isSameDomain(e.mobile.path.documentUrl,u)){i.reject(u,s);return}e.ajax({url:a,type:s.type,data:s.data,contentType:s.contentType,dataType:"html",success:this._loadSuccess(u,c,s,i),error:this._loadError(u,c,s,i)})},_loadError:function(t,n,r,i){return e.proxy(function(s,o,u){this._getBase().set(e.mobile.path.get()),n.xhr=s,n.textStatus=o,n.errorThrown=u;var a=this._triggerWithDeprecated("loadfailed",n);if(a.deprecatedEvent.isDefaultPrevented()||a.event.isDefaultPrevented())return;r.showLoadMsg&&this._showError(),i.reject(t,r)},this)},_getTransitionHandler:function(t){return t=e.mobile._maybeDegradeTransition(t),e.mobile.transitionHandlers[t]||e.mobile.defaultTransitionHandler},_triggerCssTransitionEvents:function(t,n,r){var i=!1;r=r||"",n&&(t[0]===n[0]&&(i=!0),this._triggerWithDeprecated(r+"hide",{nextPage:t,samePage:i},n)),this._triggerWithDeprecated(r+"show",{prevPage:n||e("")},t)},_cssTransition:function(t,n,r){var i=r.transition,s=r.reverse,o=r.deferred,u,a;this._triggerCssTransitionEvents(t,n,"before"),this._hideLoading(),u=this._getTransitionHandler(i),a=(new u(i,s,t,n)).transition(),a.done(function(){o.resolve.apply(o,arguments)}),a.done(e.proxy(function(){this._triggerCssTransitionEvents(t,n)},this))},_releaseTransitionLock:function(){s=!1,i.length>0&&e.mobile.changePage.apply(null,i.pop())},_removeActiveLinkClass:function(t){e.mobile.removeActiveLinkClass(t)},_loadUrl:function(t,n,r){r.target=t,r.deferred=e.Deferred(),this.load(t,r),r.deferred.done(e.proxy(function(e,t,r){s=!1,t.absUrl=n.absUrl,this.transition(r,n,t)},this)),r.deferred.fail(e.proxy(function(){this._removeActiveLinkClass(!0),this._releaseTransitionLock(),this._triggerWithDeprecated("changefailed",n)},this))},_triggerPageBeforeChange:function(t,n,r){var i=new e.Event("pagebeforechange");return e.extend(n,{toPage:t,options:r}),e.type(t)==="string"?n.absUrl=e.mobile.path.makeUrlAbsolute(t,this._findBaseWithDefault()):n.absUrl=r.absUrl,this.element.trigger(i,n),i.isDefaultPrevented()?!1:!0},change:function(t,n){if(s){i.unshift(arguments);return}var r=e.extend({},e.mobile.changePage.defaults,n),o={};r.fromPage=r.fromPage||this.activePage;if(!this._triggerPageBeforeChange(t,o,r))return;t=o.toPage,e.type(t)==="string"?(s=!0,this._loadUrl(t,o,r)):this.transition(t,o,r)},transition:function(t,o,u){var a,f,l,c,h,p,d,v,m,g,y,b,w,E;if(s){i.unshift([t,u]);return}if(!this._triggerPageBeforeChange(t,o,u))return;E=this._triggerWithDeprecated("beforetransition",o);if(E.deprecatedEvent.isDefaultPrevented()||E.event.isDefaultPrevented())return;s=!0,t[0]===e.mobile.firstPage[0]&&!u.dataUrl&&(u.dataUrl=e.mobile.path.documentUrl.hrefNoHash),a=u.fromPage,f=u.dataUrl&&e.mobile.path.convertUrlToDataUrl(u.dataUrl)||t.jqmData("url"),l=f,c=e.mobile.path.getFilePath(f),h=e.mobile.navigate.history.getActive(),p=e.mobile.navigate.history.activeIndex===0,d=0,v=n.title,m=(u.role==="dialog"||t.jqmData("role")==="dialog")&&t.jqmData("dialog")!==!0;if(a&&a[0]===t[0]&&!u.allowSamePageTransition){s=!1,this._triggerWithDeprecated("transition",o),this.element.trigger("pagechange",o),u.fromHashChange&&e.mobile.navigate.history.direct({url:f});return}t.page({role:u.role}),u.fromHashChange&&(d=u.direction==="back"?-1:1);try{n.activeElement&&n.activeElement.nodeName.toLowerCase()!=="body"?e(n.activeElement).blur():e("input:focus, textarea:focus, select:focus").blur()}catch(S){}g=!1,m&&h&&(h.url&&h.url.indexOf(e.mobile.dialogHashKey)>-1&&this.activePage&&!this.activePage.hasClass("ui-dialog")&&e.mobile.navigate.history.activeIndex>0&&(u.changeHash=!1,g=!0),f=h.url||"",!g&&f.indexOf("#")>-1?f+=e.mobile.dialogHashKey:f+="#"+e.mobile.dialogHashKey,e.mobile.navigate.history.activeIndex===0&&f===e.mobile.navigate.history.initialDst&&(f+=e.mobile.dialogHashKey)),y=h?t.jqmData("title")||t.children(":jqmData(role='header')").find(".ui-title").text():v,!!y&&v===n.title&&(v=y),t.jqmData("title")||t.jqmData("title",v),u.transition=u.transition||(d&&!p?h.transition:r)||(m?e.mobile.defaultDialogTransition:e.mobile.defaultPageTransition),!d&&g&&(e.mobile.navigate.history.getActive().pageUrl=l),f&&!u.fromHashChange&&(!e.mobile.path.isPath(f)&&f.indexOf("#")<0&&(f="#"+f),b={transition:u.transition,title:v,pageUrl:l,role:u.role},u.changeHash!==!1&&e.mobile.hashListeningEnabled?e.mobile.navigate(f,b,!0):t[0]!==e.mobile.firstPage[0]&&e.mobile.navigate.history.add(f,b)),n.title=v,e.mobile.activePage=t,this.activePage=t,u.reverse=u.reverse||d<0,w=e.Deferred(),this._cssTransition(t,a,{transition:u.transition,reverse:u.reverse,deferred:w}),w.done(e.proxy(function(n,r,i,s,a){e.mobile.removeActiveLinkClass(),u.duplicateCachedPage&&u.duplicateCachedPage.remove(),a||e.mobile.focusPage(t),this._releaseTransitionLock(),this.element.trigger("pagechange",o),this._triggerWithDeprecated("transition",o)},this))},_findBaseWithDefault:function(){var t=this.activePage&&e.mobile.getClosestBaseUrl(this.activePage);return t||e.mobile.path.documentBase.hrefNoHash}}),e.mobile.navreadyDeferred=e.Deferred();var i=[],s=!1}(e),function(e,n){function o(e){while(e){if(typeof e.nodeName=="string"&&e.nodeName.toLowerCase()==="a")break;e=e.parentNode}return e}var r=e.Deferred(),i=e.mobile.path.documentUrl,s=null;e.mobile.loadPage=function(t,n){var r;return n=n||{},r=n.pageContainer||e.mobile.pageContainer,n.deferred=e.Deferred(),r.pagecontainer("load",t,n),n.deferred.promise()},e.mobile.back=function(){var n=t.navigator;this.phonegapNavigationEnabled&&n&&n.app&&n.app.backHistory?n.app.backHistory():e.mobile.pageContainer.pagecontainer("back")},e.mobile.focusPage=function(e){var t=e.find("[autofocus]"),n=e.find(".ui-title:eq(0)");if(t.length){t.focus();return}n.length?n.focus():e.focus()},e.mobile._maybeDegradeTransition=e.mobile._maybeDegradeTransition||function(e){return e},e.fn.animationComplete=function(t){return e.support.cssTransitions?e(this).one("webkitAnimationEnd animationend",t):(setTimeout(t,0),e(this))},e.mobile.changePage=function(t,n){e.mobile.pageContainer.pagecontainer("change",t,n)},e.mobile.changePage.defaults={transition:n,reverse:!1,changeHash:!0,fromHashChange:!1,role:n,duplicateCachedPage:n,pageContainer:n,showLoadMsg:!0,dataUrl:n,fromPage:n,allowSamePageTransition:!1},e.mobile._registerInternalEvents=function(){var r=function(t,n){var r,o=!0,u,a,f;return!e.mobile.ajaxEnabled||t.is(":jqmData(ajax='false')")||!t.jqmHijackable().length||t.attr("target")?!1:(r=s&&s.attr("formaction")||t.attr("action"),f=(t.attr("method")||"get").toLowerCase(),r||(r=e.mobile.getClosestBaseUrl(t),f==="get"&&(r=e.mobile.path.parseUrl(r).hrefNoSearch),r===e.mobile.path.documentBase.hrefNoHash&&(r=i.hrefNoSearch)),r=e.mobile.path.makeUrlAbsolute(r,e.mobile.getClosestBaseUrl(t)),e.mobile.path.isExternal(r)&&!e.mobile.path.isPermittedCrossDomainRequest(i,r)?!1:(n||(u=t.serializeArray(),s&&s[0].form===t[0]&&(a=s.attr("name"),a&&(e.each(u,function(e,t){if(t.name===a)return a="",!1}),a&&u.push({name:a,value:s.attr("value")}))),o={url:r,options:{type:f,data:e.param(u),transition:t.jqmData("transition"),reverse:t.jqmData("direction")==="reverse",reloadPage:!0}}),o))};e.mobile.document.delegate("form","submit",function(t){var n;t.isDefaultPrevented()||(n=r(e(this)),n&&(e.mobile.changePage(n.url,n.options),t.preventDefault()))}),e.mobile.document.bind("vclick",function(t){var n,i,u=t.target,a=!1;if(t.which>1||!e.mobile.linkBindingEnabled)return;s=e(u);if(e.data(u,"mobile-button")){if(!r(e(u).closest("form"),!0))return;u.parentNode&&(u=u.parentNode)}else{u=o(u);if(!u||e.mobile.path.parseUrl(u.getAttribute("href")||"#").hash==="#")return;if(!e(u).jqmHijackable().length)return}~u.className.indexOf("ui-link-inherit")?u.parentNode&&(i=e.data(u.parentNode,"buttonElements")):i=e.data(u,"buttonElements"),i?u=i.outer:a=!0,n=e(u),a&&(n=n.closest(".ui-btn")),n.length>0&&!n.hasClass("ui-state-disabled")&&(e.mobile.removeActiveLinkClass(!0),e.mobile.activeClickedLink=n,e.mobile.activeClickedLink.addClass(e.mobile.activeBtnClass))}),e.mobile.document.bind("click",function(r){if(!e.mobile.linkBindingEnabled||r.isDefaultPrevented())return;var s=o(r.target),u=e(s),a=function(){t.setTimeout(function(){e.mobile.removeActiveLinkClass(!0)},200)},f,l,c,h,p,d,v;e.mobile.activeClickedLink&&e.mobile.activeClickedLink[0]===r.target.parentNode&&a();if(!s||r.which>1||!u.jqmHijackable().length)return;if(u.is(":jqmData(rel='back')"))return e.mobile.back(),!1;f=e.mobile.getClosestBaseUrl(u),l=e.mobile.path.makeUrlAbsolute(u.attr("href")||"#",f);if(!e.mobile.ajaxEnabled&&!e.mobile.path.isEmbeddedPage(l)){a();return}if(l.search("#")!==-1){l=l.replace(/[^#]*#/,"");if(!l){r.preventDefault();return}e.mobile.path.isPath(l)?l=e.mobile.path.makeUrlAbsolute(l,f):l=e.mobile.path.makeUrlAbsolute("#"+l,i.hrefNoHash)}c=u.is("[rel='external']")||u.is(":jqmData(ajax='false')")||u.is("[target]"),h=c||e.mobile.path.isExternal(l)&&!e.mobile.path.isPermittedCrossDomainRequest(i,l);if(h){a();return}p=u.jqmData("transition"),d=u.jqmData("direction")==="reverse"||u.jqmData("back"),v=u.attr("data-"+e.mobile.ns+"rel")||n,e.mobile.changePage(l,{transition:p,reverse:d,role:v,link:u}),r.preventDefault()}),e.mobile.document.delegate(".ui-page","pageshow.prefetch",function(){var t=[];e(this).find("a:jqmData(prefetch)").each(function(){var n=e(this),r=n.attr("href");r&&e.inArray(r,t)===-1&&(t.push(r),e.mobile.loadPage(r,{role:n.attr("data-"+e.mobile.ns+"rel"),prefetch:!0}))})}),e.mobile.pageContainer.pagecontainer(),e.mobile.document.bind("pageshow",e.mobile.resetActivePageHeight),e.mobile.window.bind("throttledresize",e.mobile.resetActivePageHeight)},e(function(){r.resolve()}),e.when(r,e.mobile.navreadyDeferred).done(function(){e.mobile._registerInternalEvents()})}(e),function(e){var t="ui-loader",n=e("html");e.widget("mobile.loader",{options:{theme:"a",textVisible:!1,html:"",text:"loading"},defaultHtml:"<div class='"+t+"'>"+"<span class='ui-icon-loading'></span>"+"<h1></h1>"+"</div>",fakeFixLoader:function(){var t=e("."+e.mobile.activeBtnClass).first();this.element.css({top:e.support.scrollTop&&this.window.scrollTop()+this.window.height()/2||t.length&&t.offset().top||100})},checkLoaderPosition:function(){var t=this.element.offset(),n=this.window.scrollTop(),r=e.mobile.getScreenHeight();if(t.top<n||t.top-n>r)this.element.addClass("ui-loader-fakefix"),this.fakeFixLoader(),this.window.unbind("scroll",this.checkLoaderPosition).bind("scroll",e.proxy(this.fakeFixLoader,this))},resetHtml:function(){this.element.html(e(this.defaultHtml).html())},show:function(r,i,s){var o,u,a;this.resetHtml(),e.type(r)==="object"?(a=e.extend({},this.options,r),r=a.theme):(a=this.options,r=r||a.theme),u=i||(a.text===!1?"":a.text),n.addClass("ui-loading"),o=a.textVisible,this.element.attr("class",t+" ui-corner-all ui-body-"+r+" ui-loader-"+(o||i||r.text?"verbose":"default")+(a.textonly||s?" ui-loader-textonly":"")),a.html?this.element.html(a.html):this.element.find("h1").text(u),this.element.appendTo(e.mobile.pageContainer),this.checkLoaderPosition(),this.window.bind("scroll",e.proxy(this.checkLoaderPosition,this))},hide:function(){n.removeClass("ui-loading"),this.options.text&&this.element.removeClass("ui-loader-fakefix"),e.mobile.window.unbind("scroll",this.fakeFixLoader),e.mobile.window.unbind("scroll",this.checkLoaderPosition)}})}(e,this),function(e,t,r){function o(){i.removeClass("ui-mobile-rendering")}var i=e("html"),s=e.mobile.window;e(t.document).trigger("mobileinit");if(!e.mobile.gradeA())return;e.mobile.ajaxBlacklist&&(e.mobile.ajaxEnabled=!1),i.addClass("ui-mobile ui-mobile-rendering"),setTimeout(o,5e3),e.extend(e.mobile,{initializePage:function(){var t=e.mobile.path,r=e(":jqmData(role='page'), :jqmData(role='dialog')"),i=t.stripHash(t.stripQueryParams(t.parseLocation().hash)),u=n.getElementById(i);r.length||(r=e("body").wrapInner("<div data-"+e.mobile.ns+"role='page'></div>").children(0)),r.each(function(){var t=e(this);t[0].getAttribute("data-"+e.mobile.ns+"url")||t.attr("data-"+e.mobile.ns+"url",t.attr("id")||location.pathname+location.search)}),e.mobile.firstPage=r.first(),e.mobile.pageContainer=e.mobile.firstPage.parent().addClass("ui-mobile-viewport").pagecontainer(),e.mobile.navreadyDeferred.resolve(),s.trigger("pagecontainercreate"),e.mobile.loading("show"),o(),!e.mobile.hashListeningEnabled||!e.mobile.path.isHashValid(location.hash)||!e(u).is(":jqmData(role='page')")&&!e.mobile.path.isPath(i)&&i!==e.mobile.dialogHashKey?(e.mobile.path.isHashValid(location.hash)&&(e.mobile.navigate.history.initialDst=i.replace("#","")),e.event.special.navigate.isPushStateEnabled()&&e.mobile.navigate.navigator.squash(t.parseLocation().href),e.mobile.changePage(e.mobile.firstPage,{transition:"none",reverse:!0,changeHash:!1,fromHashChange:!0})):e.event.special.navigate.isPushStateEnabled()?(e.mobile.navigate.history.stack=[],e.mobile.navigate(e.mobile.path.isPath(location.hash)?location.hash:location.href)):s.trigger("hashchange",[!0])}}),e(function(){e.support.inlineSVG(),e.mobile.hideUrlBar&&t.scrollTo(0,1),e.mobile.defaultHomeScroll=!e.support.scrollTop||e.mobile.window.scrollTop()===1?0:1,e.mobile.autoInitializePage&&e.mobile.initializePage(),e.mobile.hideUrlBar&&s.load(e.mobile.silentScroll),e.support.cssPointerEvents||e.mobile.document.delegate(".ui-state-disabled,.ui-disabled","vclick",function(e){e.preventDefault(),e.stopImmediatePropagation()})})}(e,this)});
\ No newline at end of file diff --git a/tools/ThemeEditor/src/lib/jquery.xcolor.js b/tools/ThemeEditor/lib/jquery.xcolor.js index 5b03b287..5b03b287 100644 --- a/tools/ThemeEditor/src/lib/jquery.xcolor.js +++ b/tools/ThemeEditor/lib/jquery.xcolor.js diff --git a/tools/ThemeEditor/src/lib/jquery.xcolor.min.js b/tools/ThemeEditor/lib/jquery.xcolor.min.js index 8f6da004..8f6da004 100644 --- a/tools/ThemeEditor/src/lib/jquery.xcolor.min.js +++ b/tools/ThemeEditor/lib/jquery.xcolor.min.js diff --git a/tools/ThemeEditor/src/lib/jszip.js b/tools/ThemeEditor/lib/jszip.js index 09a6ea44..09a6ea44 100644 --- a/tools/ThemeEditor/src/lib/jszip.js +++ b/tools/ThemeEditor/lib/jszip.js diff --git a/tools/ThemeEditor/src/lib/jszip.min.js b/tools/ThemeEditor/lib/jszip.min.js index ae4aa7cb..ae4aa7cb 100644 --- a/tools/ThemeEditor/src/lib/jszip.min.js +++ b/tools/ThemeEditor/lib/jszip.min.js diff --git a/tools/ThemeEditor/src/lib/less-1.6.0.min.js b/tools/ThemeEditor/lib/less-1.6.0.min.js index 3f57252a..3f57252a 100755 --- a/tools/ThemeEditor/src/lib/less-1.6.0.min.js +++ b/tools/ThemeEditor/lib/less-1.6.0.min.js diff --git a/tools/ThemeEditor/src/lib/less-1.6.3.js b/tools/ThemeEditor/lib/less-1.6.3.js index 38b8ef31..62a9ac61 100644 --- a/tools/ThemeEditor/src/lib/less-1.6.3.js +++ b/tools/ThemeEditor/lib/less-1.6.3.js @@ -1,17 +1,15 @@ -/*! - * LESS - Leaner CSS v1.6.3 - * http://lesscss.org - * - * Copyright (c) 2009-2014, Alexis Sellier <self@cloudhead.net> - * Licensed under the Apache v2 License. - * - */ - -/*! - * - * This library was modified. toDiff method was added - * - */ +/*! + * LESS - Leaner CSS v1.6.3 + * http://lesscss.org + * + * Copyright (c) 2009-2014, Alexis Sellier <self@cloudhead.net> + * Licensed under the Apache v2 License. + * + */ + + /** * @license Apache v2 + */ + (function (window, undefined) {// @@ -434,8 +432,8 @@ less.Parser = function Parser(env) { switch (cc) { case 40: // ( - parenLevel++; - lastOpeningParen = parserCurrentIndex; + parenLevel++; + lastOpeningParen = parserCurrentIndex; continue; case 41: // ) if (--parenLevel < 0) { @@ -446,8 +444,8 @@ less.Parser = function Parser(env) { if (!parenLevel) { emitChunk(); } continue; case 123: // { - level++; - lastOpening = parserCurrentIndex; + level++; + lastOpening = parserCurrentIndex; continue; case 125: // } if (--level < 0) { @@ -536,7 +534,6 @@ less.Parser = function Parser(env) { root = new(tree.Ruleset)(null, this.parsers.primary()); root.root = true; root.firstRoot = true; - root._evaldRoot = null; } catch (e) { return callback(new(LessError)(e, env)); } @@ -547,6 +544,7 @@ less.Parser = function Parser(env) { var evaldRoot, css, evalEnv = new tree.evalEnv(options); + // // Allows setting variables with a hash, so: // @@ -602,7 +600,6 @@ less.Parser = function Parser(env) { } evaldRoot = evaluate.call(root, evalEnv); - this._evaldRoot = evaldRoot; for(i = 0; i < visitors.length; i++) { visitors[i].run(evaldRoot); @@ -656,85 +653,6 @@ less.Parser = function Parser(env) { }; })(root.eval); - root.toDiff = function toDiff(modifiedVariables) { - var evaldRoot = this._evaldRoot, - cssStr = '', - tmpcssStr = '', - rule, - rules, - exArr = [], - exArrMax = 0, - selector, - originalRule, - modifiedVars = [], - modified = false, - i = 0, - j = 0, - x = 0, - y = 0; - - for (i = 0, j = evaldRoot.rules.length; i < j; i++) { - rule = evaldRoot.rules[i]; - - if (typeof rule.rules === 'object' && typeof rule.originalRuleset === 'object') { - - for (x = 0, y = rule.originalRuleset.rules.length; x < y; x++) { - originalRule = rule.originalRuleset.rules[x]; - - if (originalRule.value !== undefined && - originalRule.value.value !== undefined && - originalRule.value.value[0] instanceof tree.Expression) { - - //TOCHECK loop in originalRule.value.value - exArr = originalRule.value.value[0].value; - exArrMax = exArr.length; - while(exArrMax--) { - - if (exArr[exArrMax] instanceof tree.Variable) { - if (Object.keys(modifiedVariables).indexOf(exArr[exArrMax].name) !== -1) { - //TOCHECK loop in originalRule.name - modifiedVars.push(originalRule.name[0].value); - } - } - - } - - } - - } - - x = 0; - y = 0; - for (x = 0, y = rule.selectors.length; x < y; x++) { - selector = rule.selectors[x]; - tmpcssStr += selector.toCSS(); - tmpcssStr += x === (y - 1) ? ' {\n' : ','; - } - - rules = rule.rules; - x = 0; - y = 0; - for (x = 0, y = rules.length; x < y; x++) { - if (modifiedVars.indexOf(rules[x].name) !== -1) { - modified = true; - tmpcssStr += '\t' + rules[x].toCSS({}) + '\n'; - } - } - - if (modified) { - cssStr += tmpcssStr; - cssStr += '}\n'; - } - - tmpcssStr = ''; - modified = false; - modifiedVars = []; - } - } - - return cssStr; - }; - // If `i` is smaller than the `input.length - 1`, // it means the parser wasn't able to parse the whole // string, so we've got a parsing error. @@ -1159,7 +1077,7 @@ less.Parser = function Parser(env) { if (extendList) { extendList.push(extend); } else { extendList = [ extend ]; } } while($char(",")); - + expect(/^\)/); if (isRule) { @@ -1175,7 +1093,7 @@ less.Parser = function Parser(env) { extendRule: function() { return this.extend(true); }, - + // // Mixins // @@ -1368,7 +1286,7 @@ less.Parser = function Parser(env) { furthest = i; restore(); } - + parsers.comments(); if ($re(/^when/)) { // Guard @@ -1466,7 +1384,7 @@ less.Parser = function Parser(env) { // combinator: function () { var c = input.charAt(i); - + if (c === '>' || c === '+' || c === '~' || c === '|' || c === '^') { i++; if (input.charAt(i) === '^') { @@ -1556,7 +1474,7 @@ less.Parser = function Parser(env) { // ruleset: function () { var selectors, s, rules, debugInfo; - + save(); if (env.dumpLineNumbers) { @@ -1607,7 +1525,7 @@ less.Parser = function Parser(env) { (this.anonymousValue() || this.value()); important = this.important(); - + // a name returned by this.ruleProperty() is always an array of the form: // [string-1, ..., string-n, ""] or [string-1, ..., string-n, "+"] // where each item is a tree.Keyword or tree.Variable @@ -1783,7 +1701,7 @@ less.Parser = function Parser(env) { save(); name = $re(/^@[a-z-]+/); - + if (!name) { return; } nonVendorSpecificName = name; @@ -1933,7 +1851,7 @@ less.Parser = function Parser(env) { if (!a) { break; } - + m.parensInOp = true; a.parensInOp = true; operation = new(tree.Operation)(op, [operation || m, a], isSpaced); @@ -2040,7 +1958,7 @@ less.Parser = function Parser(env) { }, ruleProperty: function () { var c = current, name = [], index = [], length = 0, s, k; - + function match(re) { var a = re.exec(c); if (a) { @@ -2054,7 +1972,7 @@ less.Parser = function Parser(env) { match(/^(\*?)/); while (match(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/)); // ! if ((name.length > 1) && match(/^\s*(\+?)\s*:/)) { - // at last, we have the complete match now. move forward, + // at last, we have the complete match now. move forward, // convert name particles to tree objects and return: skipWhitespace(length); if (name[0] === '') { @@ -2065,7 +1983,7 @@ less.Parser = function Parser(env) { s = name[k]; name[k] = (s.charAt(0) !== '@') ? new(tree.Keyword)(s) - : new(tree.Variable)('@' + s.slice(2, -1), + : new(tree.Variable)('@' + s.slice(2, -1), index[k], env.currentFileInfo); } return name; @@ -2452,12 +2370,12 @@ tree.functions = { }, shade: function(color, amount) { return this.mix(this.rgb(0, 0, 0), color, amount); - }, + }, extract: function(values, index) { - index = index.value - 1; // (1-based index) + index = index.value - 1; // (1-based index) // handle non-array values as an array of length 1 // return 'undefined' if index is invalid - return Array.isArray(values.value) + return Array.isArray(values.value) ? values.value[index] : Array(values)[index]; }, length: function(values) { @@ -2643,15 +2561,15 @@ tree._mime = { var mathFunctions = { // name, unit - ceil: null, - floor: null, - sqrt: null, + ceil: null, + floor: null, + sqrt: null, abs: null, - tan: "", - sin: "", + tan: "", + sin: "", cos: "", - atan: "rad", - asin: "rad", + atan: "rad", + asin: "rad", acos: "rad" }; @@ -2676,19 +2594,19 @@ function colorBlend(mode, color1, color2) { var ab = color1.alpha, cb, // backdrop as = color2.alpha, cs, // source ar, cr, r = []; // result - + ar = as + ab * (1 - as); for (var i = 0; i < 3; i++) { cb = color1.rgb[i] / 255; cs = color2.rgb[i] / 255; cr = mode(cb, cs); if (ar) { - cr = (as * cs + ab * (cb + cr = (as * cs + ab * (cb - as * (cb + cs - cr))) / ar; } r[i] = cr * 255; } - + return new(tree.Color)(r, ar); } @@ -2698,7 +2616,7 @@ var colorBlendMode = { }, screen: function(cb, cs) { return cb + cs - cb * cs; - }, + }, overlay: function(cb, cs) { cb *= 2; return (cb <= 1) @@ -2711,7 +2629,7 @@ var colorBlendMode = { e = 1; d = (cb > 0.25) ? Math.sqrt(cb) : ((16 * cb - 12) * cb + 4) * cb; - } + } return cb - (1 - 2 * cs) * e * (d - cb); }, hardlight: function(cb, cs) { @@ -2758,25 +2676,25 @@ tree.defaultFunc = { function initFunctions() { var f, tf = tree.functions; - + // math for (f in mathFunctions) { if (mathFunctions.hasOwnProperty(f)) { tf[f] = _math.bind(null, Math[f], mathFunctions[f]); } } - + // color blending for (f in colorBlendMode) { if (colorBlendMode.hasOwnProperty(f)) { tf[f] = colorBlend.bind(null, colorBlendMode[f]); } } - + // default f = tree.defaultFunc; tf["default"] = f.eval.bind(f); - + } initFunctions(); function hsla(color) { @@ -3117,21 +3035,21 @@ tree.Anonymous = function (string, index, currentFileInfo, mapLines) { }; tree.Anonymous.prototype = { type: "Anonymous", - eval: function () { + eval: function () { return new tree.Anonymous(this.value, this.index, this.currentFileInfo, this.mapLines); }, compare: function (x) { if (!x.toCSS) { return -1; } - + var left = this.toCSS(), right = x.toCSS(); - + if (left === right) { return 0; } - + return left < right ? -1 : 1; }, genCSS: function (env, output) { @@ -3194,7 +3112,7 @@ tree.Call.prototype = { // When evaluating a function call, // we either find the function in `tree.functions` [1], // in which case we call it, passing the evaluated arguments, - // if this returns null or we cannot find the function, we + // if this returns null or we cannot find the function, we // simply print it out as it appeared originally [2]. // // The *functions.js* file contains the built-in functions. @@ -3389,7 +3307,7 @@ tree.Color.prototype = { if (!x.rgb) { return -1; } - + return (x.rgb[0] === this.rgb[0] && x.rgb[1] === this.rgb[1] && x.rgb[2] === this.rgb[2] && @@ -3419,7 +3337,7 @@ function toHex(v) { } function clamp(v, max) { - return Math.min(Math.max(v, 0), max); + return Math.min(Math.max(v, 0), max); } })(require('../tree')); @@ -4196,7 +4114,7 @@ tree.Import.prototype = { var ruleset, features = this.features && this.features.eval(env); if (this.skip) { return []; } - + if (this.options.inline) { //todo needs to reference css file not import var contents = new(tree.Anonymous)(this.root, 0, {filename: this.importedFilename}, true); @@ -4335,7 +4253,7 @@ tree.Media.prototype = { env.mediaBlocks = []; env.mediaPath = []; } - + var media = new(tree.Media)(null, [], this.index, this.currentFileInfo); if(this.debugInfo) { this.rules[0].debugInfo = this.debugInfo; @@ -4354,14 +4272,14 @@ tree.Media.prototype = { env.strictMath = false; } } - + env.mediaPath.push(media); env.mediaBlocks.push(media); - + env.frames.unshift(this.rules[0]); media.rules = [this.rules[0].eval(env)]; env.frames.shift(); - + env.mediaPath.pop(); return env.mediaPath.length === 0 ? media.evalTop(env) : @@ -4370,7 +4288,7 @@ tree.Media.prototype = { variable: function (name) { return tree.Ruleset.prototype.variable.call(this.rules[0], name); }, find: function () { return tree.Ruleset.prototype.find.apply(this.rules[0], arguments); }, rulesets: function () { return tree.Ruleset.prototype.rulesets.apply(this.rules[0]); }, - emptySelectors: function() { + emptySelectors: function() { var el = new(tree.Element)('', '&', this.index, this.currentFileInfo), sels = [new(tree.Selector)([el], null, null, this.index, this.currentFileInfo)]; sels[0].mediaEmpty = true; @@ -4480,7 +4398,7 @@ tree.mixin.Call.prototype = { eval: function (env) { var mixins, mixin, args, rules = [], match = false, i, m, f, isRecursive, isOneFound, rule, candidates = [], candidate, conditionResult = [], defaultFunc = tree.defaultFunc, - defaultResult, defNone = 0, defTrue = 1, defFalse = 2, count; + defaultResult, defNone = 0, defTrue = 1, defFalse = 2, count; args = this.arguments && this.arguments.map(function (a) { return { name: a.name, value: a.value.eval(env) }; @@ -4489,12 +4407,12 @@ tree.mixin.Call.prototype = { for (i = 0; i < env.frames.length; i++) { if ((mixins = env.frames[i].find(this.selector)).length > 0) { isOneFound = true; - + // To make `default()` function independent of definition order we have two "subpasses" here. // At first we evaluate each guard *twice* (with `default() == true` and `default() == false`), // and build candidate list with corresponding flags. Then, when we know all possible matches, // we make a final decision. - + for (m = 0; m < mixins.length; m++) { mixin = mixins[m]; isRecursive = false; @@ -4507,11 +4425,11 @@ tree.mixin.Call.prototype = { if (isRecursive) { continue; } - - if (mixin.matchArgs(args, env)) { + + if (mixin.matchArgs(args, env)) { candidate = {mixin: mixin, group: defNone}; - - if (mixin.matchCondition) { + + if (mixin.matchCondition) { for (f = 0; f < 2; f++) { defaultFunc.value(f); conditionResult[f] = mixin.matchCondition(args, env); @@ -4523,16 +4441,16 @@ tree.mixin.Call.prototype = { } candidates.push(candidate); - } + } } else { candidates.push(candidate); } - + match = true; } } - + defaultFunc.reset(); count = [0, 0, 0]; @@ -4551,7 +4469,7 @@ tree.mixin.Call.prototype = { index: this.index, filename: this.currentFileInfo.filename }; } } - + for (m = 0; m < candidates.length; m++) { candidate = candidates[m].group; if ((candidate === defNone) || (candidate === defaultResult)) { @@ -4568,7 +4486,7 @@ tree.mixin.Call.prototype = { } } } - + if (match) { if (!this.currentFileInfo || !this.currentFileInfo.reference) { for (i = 0; i < rules.length; i++) { @@ -4700,7 +4618,7 @@ tree.mixin.Definition.prototype = { throw { type: 'Runtime', message: "wrong number of arguments for " + this.name + ' (' + args.length + ' for ' + this.arity + ')' }; } - + frame.prependRule(new(tree.Rule)(name, val)); evaldArguments[i] = val; } @@ -4911,14 +4829,14 @@ tree.Quoted.prototype = { if (!x.toCSS) { return -1; } - + var left = this.toCSS(), right = x.toCSS(); - + if (left === right) { return 0; } - + return left < right ? -1 : 1; } }; @@ -4957,11 +4875,11 @@ tree.Rule.prototype = { }, toCSS: tree.toCSS, eval: function (env) { - var strictMathBypass = false, name = this.name; + var strictMathBypass = false, name = this.name; if (typeof name !== "string") { // expand 'primitive' name directly to get // things faster (~10% for benchmark.less): - name = (name.length === 1) + name = (name.length === 1) && (name[0] instanceof tree.Keyword) ? name[0].value : evalName(env, name); } @@ -5027,18 +4945,18 @@ tree.Ruleset.prototype = { } }, eval: function (env) { - var thisSelectors = this.selectors, selectors, + var thisSelectors = this.selectors, selectors, selCnt, i, defaultFunc = tree.defaultFunc; if (thisSelectors && (selCnt = thisSelectors.length)) { selectors = []; defaultFunc.error({ - type: "Syntax", - message: "it is currently only allowed in parametric mixin guards," + type: "Syntax", + message: "it is currently only allowed in parametric mixin guards," }); for (i = 0; i < selCnt; i++) { selectors.push(thisSelectors[i].eval(env)); } - defaultFunc.reset(); + defaultFunc.reset(); } var rules = this.rules ? this.rules.slice(0) : null, @@ -5129,7 +5047,7 @@ tree.Ruleset.prototype = { // Pop the stack envFrames.shift(); envSelectors.shift(); - + if (env.mediaBlocks) { for (i = mediaBlockCount; i < env.mediaBlocks.length; i++) { env.mediaBlocks[i].bubbleSelectors(selectors); @@ -5366,19 +5284,19 @@ tree.Ruleset.prototype = { joinSelector: function (paths, context, selector) { - var i, j, k, - hasParentSelector, newSelectors, el, sel, parentSel, - newSelectorPath, afterParentJoin, newJoinedSelector, + var i, j, k, + hasParentSelector, newSelectors, el, sel, parentSel, + newSelectorPath, afterParentJoin, newJoinedSelector, newJoinedSelectorEmpty, lastSelector, currentElements, selectorsMultiplied; - + for (i = 0; i < selector.elements.length; i++) { el = selector.elements[i]; if (el.value === '&') { hasParentSelector = true; } } - + if (!hasParentSelector) { if (context.length > 0) { for (i = 0; i < context.length; i++) { @@ -5508,7 +5426,7 @@ tree.Ruleset.prototype = { } } }, - + mergeElementsOnToSelectors: function(elements, selectors) { var i, sel; @@ -5621,9 +5539,9 @@ tree.Selector.prototype = { } }, isJustParentSelector: function() { - return !this.mediaEmpty && - this.elements.length === 1 && - this.elements[0].value === '&' && + return !this.mediaEmpty && + this.elements.length === 1 && + this.elements[0].value === '&' && (this.elements[0].combinator.value === ' ' || this.elements[0].combinator.value === ''); }, eval: function (env) { @@ -5709,7 +5627,7 @@ tree.URL.prototype = { } val.value = rootpath + val.value; } - + val.value = ctx.normalizePath(val.value); // Add url args if enabled @@ -5782,14 +5700,14 @@ tree.Variable.prototype = { if (name.indexOf('@@') === 0) { name = '@' + new(tree.Variable)(name.slice(1)).eval(env).value; } - + if (this.evaluating) { throw { type: 'Name', message: "Recursive variable definition for " + name, filename: this.currentFileInfo.file, index: this.index }; } - + this.evaluating = true; variable = tree.find(env.frames, function (frame) { @@ -5798,7 +5716,7 @@ tree.Variable.prototype = { return v.value.eval(env); } }); - if (variable) { + if (variable) { this.evaluating = false; return variable; } else { @@ -6126,7 +6044,7 @@ tree.Variable.prototype = { var importVisitor = this, evaldImportNode, inlineCSS = importNode.options.inline; - + if (!importNode.css || inlineCSS) { try { @@ -6945,7 +6863,7 @@ tree.Variable.prototype = { if (fileInfo) { var inputSource = this._contentsMap[fileInfo.filename]; - + // remove vars/banner added to the top of the file if (this._contentsIgnoredCharsMap[fileInfo.filename]) { // adjust the index diff --git a/tools/ThemeEditor/src/lib/less-1.6.3.min.js b/tools/ThemeEditor/lib/less-1.6.3.min.js index c890b8f8..c890b8f8 100644 --- a/tools/ThemeEditor/src/lib/less-1.6.3.min.js +++ b/tools/ThemeEditor/lib/less-1.6.3.min.js diff --git a/tools/ThemeEditor/package.json b/tools/ThemeEditor/package.json deleted file mode 100644 index 48e56b79..00000000 --- a/tools/ThemeEditor/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "themeeditor", - "title": "Theme Editor", - "description": "Easy preview of app with vary screen resoution. Test your app for different screen resolution at the same time.", - "version": "0.1.0", - "author": "Michał Szepielak <m.szepielak@samsung.com>", - "contributors": [ - "Heeju Joo <heeju.joo@samsung.com>", - "Sergiusz Struminski <s.struminski@samsung.com>" - ], - "devDependencies": { - "grunt-jslint": "~1.1.12", - "grunt-contrib-less": "~0.7.0", - "grunt-contrib-clean": "0.5.0", - "grunt-contrib-copy": "0.5.0", - "grunt-contrib-concat": "0.5.0", - "grunt-contrib-uglify": "0.3.2", - "grunt-contrib-cssmin": "0.6.1", - "grunt-string-replace": "~0.2.7" - }, - "main": "Gruntfile.js" -} diff --git a/tools/ThemeEditor/src/README.txt b/tools/ThemeEditor/src/README.txt deleted file mode 100644 index 60f81b8b..00000000 --- a/tools/ThemeEditor/src/README.txt +++ /dev/null @@ -1,35 +0,0 @@ -System requirements: - Device Viewer works properly with WebKit browsers (e.g. Google Chrome, Safari) - It's allowed to run preview application in the same domain. If you want to run preview application in other domain you have to update your browser security policy. - It' recommended to run application in browser application mode to hide unnecessary navigation bars e.g.: - google-chrome --allow-file-access-from-files --disable-web-security --app=file:///path/to/ThemeEditor - - If specified application want to be provided edit ./js/config.js or call Theme Editor with proper JSON after # in URL e.g.: - google-chrome --allow-file-access-from-files --disable-web-security --app=file:///path/to/ThemeEditor/?name=DisplayedAppName&path=pathToApp - or simply run shell script in ThemeEditor path - ./run.sh 'name=DisplayedAppName&path=pathToApp' - -Quick User Guide; - To add/remove new device preview (new badge) choose proper button from top panel. - To change active badge, click on badge border. - You can change badge view in order to check responsivity of preview app. Just use sliders from proper icon. - If you mark global checkbox all badges will be reset and changes will affect to all badges. - If you are working with few badges please feel free to use zoom to make more room in your workspace or look closer. - Device properties box shows you current badge properties (physical resolution, device CSS resolution and pixel ratio). - In simple way, the CSS resolution is number of pixels "viewed" from CSS. - - Simple properties - var properties = { - 'Name of category': { - 'Name of property': { - lessVar: '@less-variable-name', - widget: {type: 'text', default: 'normal'} - } - }, - 'Second name of category': { - 'My property': { - lessVar: '@my-property', - widget: {type: 'color', default: '#bf0000'} - }, - } -} diff --git a/tools/ThemeEditor/src/banner.txt b/tools/ThemeEditor/src/banner.txt deleted file mode 100644 index 3584a968..00000000 --- a/tools/ThemeEditor/src/banner.txt +++ /dev/null @@ -1,10 +0,0 @@ -/* - * <%= pkg.title %> v. <%= pkg.version %> - build: <%= grunt.template.today("yyyy-mm-dd") %> - * Author: <%= pkg.author %> - * - * Contributors: - * <%= pkg.contributors.join('\n *\t') %> - * - */ - - diff --git a/tools/ThemeEditor/src/css/style.css b/tools/ThemeEditor/src/css/style.css deleted file mode 100755 index 03aa3fb2..00000000 --- a/tools/ThemeEditor/src/css/style.css +++ /dev/null @@ -1,47 +0,0 @@ -.colorPicker { - display: inline-block; - width: 36px; - height: 36px; - border: 3px solid #c2c2c2; -} -textarea { - display: inline-block; - width: 40%; - height: 400px; - margin: 0; - padding: 10px; - font-size: 10px; -} -.row { - display: block; - white-space: nowrap; -} -.preview { - display: block; - float: left; - height: 425px; - margin: 5px; - padding: 5px; - text-align: center; -} - -iframe{ - border: medium none; - height: 100%; - width: 99.9%; -} -#leftPanel{ - display: inline-block; - width: 300px; - height: 100%; - float: left; -} -.rightPanel{ - display: inline-block; - height: 100%; - margin-left: 325px; - min-width: 850px; -} -.content-page{ - padding: 15px; -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/demos/clock/css/calendar.css b/tools/ThemeEditor/src/demos/clock/css/calendar.css deleted file mode 100644 index a7d93bd5..00000000 --- a/tools/ThemeEditor/src/demos/clock/css/calendar.css +++ /dev/null @@ -1,57 +0,0 @@ -.calendar-widget { - position: relative; - width: 100%; - height: 100%; - -webkit-box-sizing: border-box; - box-sizing: border-box; - overflow: hidden; -} - -.calendar-widget > * { - width: 12%; - height: 12%; - -webkit-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2%; - margin-top: 2%; - text-align: center; - display: table-cell; - vertical-align: middle; - font-size: 1.4rem; - font-family: Arial, Tahoma, Verdana, serif; - color: rgb(190, 190, 190); -} - -.calendar-widget .past { - background: rgb(62 ,36, 130); -} - -.calendar-widget .today { - background: rgb(104, 130, 36); -} - -.calendar-widget .future { - background: rgb(36, 121, 130); -} - -.calendar-widget .sunday { - border: 1px solid rgb(190, 190, 190); -} - -.calendar-widget > *:last-child:after { - content: ""; - height: 0; - visibility: hidden; - clear: left; -} - -.calendar-widget .month { - font-size: 1.2rem; - width: 100%; -} - -.calendar-widget .header { - font-size: 1.1rem; - height: auto; -} diff --git a/tools/ThemeEditor/src/demos/clock/css/clock.css b/tools/ThemeEditor/src/demos/clock/css/clock.css deleted file mode 100644 index 978ee673..00000000 --- a/tools/ThemeEditor/src/demos/clock/css/clock.css +++ /dev/null @@ -1,72 +0,0 @@ -.clock-widget { - width: 100%; - height: 100%; - position: relative; - border-radius: 50%; - background: rgb(25, 25, 25); - -webkit-box-sizing: border-box; - box-sizing: border-box; - border-width: 0.2vw; - border-style: solid; - border-color: rgb(20, 50, 120); - overflow: hidden; -} - -.clock-widget > * { - position: absolute; - top: 0; - left: 0; - -webkit-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - height: 100%; - margin: 0; - padding: 0; -} - -.clock-widget > * > div { - width: 5%; - height: 50%; - margin: 0 auto; - opacity: 0.5; -} - -.clock-widget .hour { - left: 10%; - top: 10%; - width: 80%; - height: 80%; -} - -.clock-widget .hour > * { - background-color: rgb(0, 170, 50); -} - -.clock-widget .minute { - left: 20%; - top: 20%; - width: 60%; - height: 60%; -} - -.clock-widget .minute > * { - background-color: rgb(20, 40, 150); -} - -.clock-widget .second > * { - background: rgb(200, 50, 30); -} - -.clock-widget .time { - top: calc(50% - 2rem / 2); - left: 30%; - color: rgb(120, 120, 120); - font-weight: bold; - font-family: Arial, Tahoma, Verdana, serif; - border: none; - display: block; - font-size: 2rem; - text-align: center; - width: 40%; - text-shadow: 0px 0px 1.2rem rgb(0, 0, 0) -} diff --git a/tools/ThemeEditor/src/demos/clock/images/calendar.svg b/tools/ThemeEditor/src/demos/clock/images/calendar.svg deleted file mode 100644 index 633a0a66..00000000 --- a/tools/ThemeEditor/src/demos/clock/images/calendar.svg +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg viewBox="0 0 202 202" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/"> - <style type="text/css" > - <![CDATA[ - - .past > rect { - fill: rgb(62, 36, 130); - } - - .today > rect { - fill: rgb(104, 130, 36); - } - - .future > rect { - fill: rgb(36, 121, 130); - } - - .sunday { - stroke: rgb(190, 190, 190);; - } - - text { - text-align: center; - font-family: serif; - font-size: 12pt; - font-weight: bold; - fill: rgb(190, 190, 190); - stroke: none !important; - } - - #header > text { - fill: rgb(134, 134, 222); - } - ]]></style> - <text id="month" x="70" y="12"></text> - <g id="header"> - <text x="0" y="30">Sn</text> - <text x="30" y="30">M</text> - <text x="60" y="30">T</text> - <text x="90" y="30">W</text> - <text x="120" y="30">Th</text> - <text x="150" y="30">F</text> - <text x="180" y="30">S</text> - </g> - <g id="calendar"/> - - <script type="text/ecmascript"><![CDATA[ - /*global window*/ - (function (window, document) { - "use strict"; - var calendarGroup = document.getElementById('calendar'), - options = { - 'monthOffset': 0 - }, - params = document && document.defaultView && document.defaultView.frameElement && document.defaultView.frameElement && document.defaultView.frameElement.getElementsByTagName("param") || [], - max = 31, - i = 0, - now = new Date(), - start = null, - space = 30, - currentH = 0, - currentV = 35, - day, - group, - text, - param, - months = [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', - 'August', 'September', 'October', 'November', 'December' - ]; - - for (i = 0; i < params.length; i++) { - param = params[i]; - options[param.getAttribute('name')] = parseInt(param.getAttribute('value'), 10); - } - - start = new Date(now.getFullYear(), now.getMonth() + options['monthOffset'], 1); - currentH = start.getDay() * space; - max = (new Date(start.getFullYear(), start.getMonth() + 1, 0)).getDate(); - - document.getElementById('month').textContent = months[start.getMonth()]; - - for (i = 0; i < max; i++) { - - day = document.createElementNS("http://www.w3.org/2000/svg", "rect"); - day.setAttribute("x", currentH); - day.setAttribute("y", currentV); - day.setAttribute("width", 20); - day.setAttribute("height", 20); - - group = document.createElementNS("http://www.w3.org/2000/svg", "g"); - if (i < now.getDate()) { - group.setAttribute("class", "past"); - } else if (i === now.getDate()) { - group.setAttribute("class", "today"); - } else { - group.setAttribute("class", "future"); - } - - text = document.createElementNS("http://www.w3.org/2000/svg", "text"); - text.setAttribute("x", currentH + 2); - text.setAttribute("y", currentV + 15); - text.textContent = (i + 1); - if ((i + start.getDay() + 1) % 7 === 1) { - group.classList.add("sunday"); - currentV += space; - currentH = 0; - } else { - currentH += space; - } - - group.appendChild(day); - group.appendChild(text); - calendarGroup.appendChild(group); - } - }(window, window.document)); - ]]></script> -</svg> diff --git a/tools/ThemeEditor/src/demos/clock/images/clock.svg b/tools/ThemeEditor/src/demos/clock/images/clock.svg deleted file mode 100644 index 80f91084..00000000 --- a/tools/ThemeEditor/src/demos/clock/images/clock.svg +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg viewBox="0 0 202 202" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/"> - <style type="text/css" > - <![CDATA[ - circle { - fill: rgb(25,25,25); - stroke: rgb(20, 50, 120); - } - - #clock-seconds { - fill: none; - stroke: rgb(200, 50, 30); - stroke-width: 10; - } - - #clock-minutes { - fill: none; - stroke: rgb(20, 40, 150); - stroke-width: 10; - } - - #clock-hours { - fill: none; - stroke: rgb(0, 170, 50); - stroke-width: 10; - } - - #clock-time { - font-size: 20pt; - font-weight: bold; - font-family: arial; - fill: rgb(120,120,120); - } - ]]></style> - <circle cx="100" cy="100" r="100" /> - <path id="clock-seconds" d="M100,10 A90,90 0 0,1 100,10"></path> - <path id="clock-minutes" d="M100,30 A70,70 0 0,1 100,30"></path> - <path id="clock-hours" d="M100,50 A50,50 0 0,1 100,50"></path> - <text id="clock-time" x="65" y="110"></text> - <script type="text/ecmascript"><![CDATA[ - /*global window*/ - (function (window, document) { - "use strict"; - - var seconds = null, - minutes = null, - hours = null, - timeText = null, - iid = null; - - function getPos(x, y, r, a) { - return [ - r * Math.cos(a) + x, - r * Math.sin(a) + y - ]; - } - - function getRadians(time) { - return (time * 6 - 90) * (Math.PI / 180); - } - - function pad(number) { - return number <= 9 ? '0' + number : number; - } - - function update() { - var now = new Date(), - pos = getPos(100, 100, 90, getRadians(now.getSeconds())); - - seconds = seconds || document.getElementById('clock-seconds'); - minutes = minutes || document.getElementById('clock-minutes'); - hours = hours || document.getElementById('clock-hours'); - timeText = timeText || document.getElementById('clock-time'); - - seconds.setAttribute('d', 'M100,10 A90,90 0 ' + (pos[0] > 100 ? 0 : 1) + ',1 ' + pos[0] + ',' + pos[1]); - - pos = getPos(100, 100, 70, getRadians(now.getMinutes())); - minutes.setAttribute('d', 'M100,30 A70,70 0 ' + (pos[0] > 100 ? 0 : 1) + ',1 ' + pos[0] + ',' + pos[1]); - - pos = getPos(100, 100, 50, getRadians((now.getHours() % 12) / 12 * 60)); - hours.setAttribute('d', 'M100,50 A50,50 0 ' + (pos[0] > 100 ? 0 : 1) + ',1 ' + pos[0] + ',' + pos[1]); - - timeText.textContent = pad(now.getHours()) + ':' + pad(now.getMinutes()); - } - - window.setInterval(update, 1000); - update(); - - window.addEventListener('unload', function () { - window.clearInterval(iid); - }, false); - }(window, window.document)); - ]]></script> -</svg> diff --git a/tools/ThemeEditor/src/demos/clock/index.html b/tools/ThemeEditor/src/demos/clock/index.html deleted file mode 100644 index 6e1c7dfc..00000000 --- a/tools/ThemeEditor/src/demos/clock/index.html +++ /dev/null @@ -1,184 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <title>Clock&Calendar</title> - <meta name="viewport" content="width=device-width, user-scalable=no"> - <link rel="stylesheet" type="text/css" href="css/clock.css"> - <link rel="stylesheet" type="text/css" href="css/calendar.css"> - <style type="text/css"> - body { - background: rgb(15,15,15); - margin: 0; - padding: 0; - overflow: hidden; - width: 100%; - height: 100%; - } - - .page { - padding: 10vw; - z-index: 1; - width: 80vw; - height: 80vh; - } - - #navigation { - display: block; - position: fixed; - height: 100vh; - width: 5vw; - right: 0; - top: 0; - margin: 0; - padding: 0; - list-style-type: none; - z-indRx: 5; - } - - li { - margin: 0; - padding: 0; - position: relative; - width: 100%; - height: 25vw; - } - - li > a, - li > a:link, - li > a:visited { - display: block; - border: 1px solid rgb(70, 70, 70); - background: rgb(30, 30, 30); - width: 100%; - height: 100%; - } - - li > a:active, - li > a:hover { - background: rgb(134, 193, 222); - } - - @media handheld and (orientation: landscape), screen and (orientation: landscape) { - #navigation { - right: auto; - left: 0; - width: 100vw; - height: 5vh; - margin: 0 auto; - } - - #navigation > li { - float: left; - width: 33vw; - height: 100%; - } - - #navigation > li.clock { - display: none; - } - - .page { - width: 50%; - margin-left: 50%; - padding-top: 12vh; - height: 80vh; - padding-left: 0; - } - - #clock { - position: fixed; - left: 0; - top: 12vh; - margin: 0; - padding: 0; - } - } - - @media handheld and (orientation: portrait), screen and (orientation: portrait) { - #navigation { - right: auto; - left: 0; - width: 100vw; - height: 5vh; - margin: 0 auto; - } - - #navigation > li { - float: left; - width: 33vw; - height: 100%; - } - - #navigation > li.clock { - display: none; - } - - .page { - height: 50vh; - padding: 50vh 10vw 10vh 10vw; - } - - #clock { - position: fixed; - top: 5vh; - padding: 0 10vw; - left: 0; - margin: 0; - } - } - - @media tv { - body { - padding-top: 10vh; - padding-left: 10vw; - } - .page, - #clock { - height: 40vh; - width: 40vw; - margin: 0; - float: left; - padding: 0; - position: relative; - top: auto; - left: auto; - } - - #navigation { - display: none; - } - } - - </style> - </head> - <body> - <ul id="navigation"> - <li class="clock"> - <a href="#clock"></a> - </li> - <li class="calendar"> - <a href="#calendar"></a> - </li> - <li class="calendar_1month"> - <a href="#calendar_1month"></a> - </li> - <li class="calendar_2month"> - <a href="#calendar_2month"></a> - </li> - </ul> - <div id="clock" class="page"> - <div class="clock-widget"></div> - </div> - <div id="calendar" class="page"> - <div class="calendar-widget"></div> - </div> - <div id="calendar_1month" class="page"> - <div class="calendar-widget" data-monthOffset="1"></div> - </div> - <div id="calendar_2month" class="page"> - <div class="calendar-widget" data-monthOffset="2"></div> - </div> - <script type="text/javascript" src="js/clock.js"></script> - <script type="text/javascript" src="js/calendar.js"></script> - </body> -</html> diff --git a/tools/ThemeEditor/src/demos/clock/js/calendar.js b/tools/ThemeEditor/src/demos/clock/js/calendar.js deleted file mode 100644 index 1e6d9406..00000000 --- a/tools/ThemeEditor/src/demos/clock/js/calendar.js +++ /dev/null @@ -1,71 +0,0 @@ -/*global window, console */ -/*jslint plusplus: true */ -(function (window, document) { - "use strict"; - - var days = [ - 'M', 'T', 'W', 'Th', 'F', 'S', 'Sn' - ], - months = [ - 'January', 'February', 'March', 'April', 'May', 'June', 'July', - 'August', 'September', 'October', 'November', 'December' - ]; - - function pad(number) { - return number < 10 ? '0' + number : number; - } - - function makeCalendar(element) { - var monthOffset = parseInt(element.getAttribute('data-monthOffset'), 10) || 0, - now = new Date(), - start = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1), - end = new Date(start.getFullYear(), start.getMonth() + monthOffset + 1, 0), - node = document.createElement('div'), - current = null, - i, - l; - - /* - current = node.cloneNode(); - current.setAttribute('class', 'month'); - current.textContent = months[start.getMonth()]; - element.appendChild(current); - */ - - for (i = 0; i < 7; i++) { - current = node.cloneNode(); - - current.setAttribute('class', 'header'); - current.textContent = days[i]; - - element.appendChild(current); - } - - for (i = 0, l = end.getDate(); i < l; i++) { - current = node.cloneNode(); - if (i === 0) { - current.setAttribute('style', 'margin-left: ' + (start.getDay() * 14 + 2) + '%;'); - } - current.textContent = pad(i + 1); - - if ((i + 1) < now.getDate()) { - current.setAttribute('class', 'past'); - } else if ((i + 1) === now.getDate()) { - current.setAttribute('class', 'today'); - } else { - current.setAttribute('class', 'future'); - } - - if ((i + start.getDay() + 1) % 7 === 1) { - current.classList.add('sunday'); - } - - element.appendChild(current); - } - - } - - [].slice.call(document.querySelectorAll('.calendar-widget')).forEach(function (element) { - makeCalendar(element); - }); -}(window, window.document)); diff --git a/tools/ThemeEditor/src/demos/clock/js/clock.js b/tools/ThemeEditor/src/demos/clock/js/clock.js deleted file mode 100644 index 6148a65d..00000000 --- a/tools/ThemeEditor/src/demos/clock/js/clock.js +++ /dev/null @@ -1,93 +0,0 @@ -/*global window, console, setInterval, clearInterval */ -/*jslint plusplus:true */ -(function (window, document) { - "use strict"; - - function updateWidgets(widgets) { - var now = new Date(); - widgets.forEach(function (widget) { - widget.update(now); - }); - } - - function clearWidgets(widgets) { - var i = widgets.length; - while (--i >= 0) { - widgets[i].destroy(); - widgets.splice(i, 1); - } - } - - function pad(number) { - return number < 10 ? '0' + number : number; - } - - function timeFormat(time) { - return pad(time.getHours()) + ':' + pad(time.getMinutes()); - } - - var initTime = new Date(), - pwid = null, - clocks = []; - - function Clock(element, initTime) { - var hourElement = document.createElement('div'), - minuteElement = document.createElement('div'), - secondElement = document.createElement('div'), - timeElement = document.createElement('span'), - arrow = document.createElement('div'); - - hourElement.setAttribute('class', 'hour'); - minuteElement.setAttribute('class', 'minute'); - secondElement.setAttribute('class', 'second'); - timeElement.setAttribute('class', 'time'); - - hourElement.appendChild(arrow.cloneNode()); - minuteElement.appendChild(arrow.cloneNode()); - secondElement.appendChild(arrow); - - element.appendChild(hourElement); - element.appendChild(minuteElement); - element.appendChild(secondElement); - element.appendChild(timeElement); - - this.dom = { - hourElement: hourElement, - minuteElement: minuteElement, - secondElement: secondElement, - timeElement: timeElement - }; - - this.update(initTime); - } - - Clock.prototype.update = function (time) { - var dom = this.dom, - hour = time.getHours(), - hourAngle = Math.ceil(hour % 12 / 12 * 360), - minuteAngle = time.getMinutes() * 6, - secondAngle = time.getSeconds() * 6; - - if (dom !== null) { - dom.timeElement.textContent = timeFormat(time); - dom.secondElement.setAttribute('style', '-webkit-transform: rotate(' + secondAngle + 'deg); transform: rotate(' + secondAngle + 'deg);'); - dom.minuteElement.setAttribute('style', '-webkit-transform: rotate(' + minuteAngle + 'deg); transform: rotate(' + minuteAngle + 'deg);'); - dom.hourElement.setAttribute('style', '-webkit-transform: rotate(' + hourAngle + 'deg); transform: rotate(' + hourAngle + 'deg);'); - } - }; - - Clock.prototype.destroy = function () { - this.dom = null; - }; - - [].slice.call(document.querySelectorAll('.clock-widget')).forEach(function (element) { - clocks.push(new Clock(element, initTime)); - }); - - pwid = setInterval(updateWidgets.bind(null, clocks), 1000); - window.addEventListener("unload", function () { - clearInterval(pwid); - clearWidgets(clocks); - }, false); - -}(window, window.document)); diff --git a/tools/ThemeEditor/src/index.html b/tools/ThemeEditor/src/index.html deleted file mode 100755 index f8f098b9..00000000 --- a/tools/ThemeEditor/src/index.html +++ /dev/null @@ -1,156 +0,0 @@ -<!DOCTYPE html> -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>Theme Editor</title> - <meta name="description" content=""> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - <link rel="stylesheet" href="css/normalize.css" type="text/css"> - <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.10.3.custom.min.css" type="text/css"> - <link rel="stylesheet" href="css/colorpicker.css" type="text/css"> - <!-- @lessCSS --> - <link rel="stylesheet/less" type="text/css" href="less/layout/themeEditor.less" /> - <!-- @lessCSS-end --> - <link rel="stylesheet" href="css/style.css" type="text/css"> - - <!-- @concatJSLibs js/libs.js --> - <script type="text/javascript" src="lib/jquery-1.9.1.js"></script> - <script type="text/javascript" src="lib/jquery-ui-1.10.3.custom.min.js"></script> - <script type="text/javascript" src="lib/jquery.xcolor.min.js"></script> - <script type="text/javascript" src="lib/colorpicker.js"></script> - <script type="text/javascript" src="lib/FileSaver.js"></script> - <!-- @concatJSLibs-end --> - - <!-- @lessJS --> - <script type="text/javascript" src="lib/less-1.6.3.js"></script> - <!-- @lessJS-end --> - - <!-- @concatJS js/themeEditor.js --> - <script type="text/javascript" src="js/config.js"></script> - <script type="text/javascript" src="js/themeEditor.js"></script> - <script type="text/javascript" src="js/themeEditor.Badge.js"></script> - <script type="text/javascript" src="js/themeEditor.BadgePreview.js"></script> - <script type="text/javascript" src="js/themeEditor.ColorPicker.js"></script> - <script type="text/javascript" src="js/main.js"></script> - <!-- @concatJS-end --> - -</head> -<body> - <div id="topPanel"> - <ul> - <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.saveFile()" class="save-css-icon" title="Save your work to CSS file"></a></li> - <li> - <a href="javascript:void(0)" onclick="openImportDialog()">import</a> - <div class="panel-submenu center"> - <textarea id="importDialog"></textarea> - <input type="button" class="button" onclick="themeEditor.badgePreview.importTheme(this)" value="import theme"> - </div> - </li> - <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.historyUndo()" id="historyUndo" class="disabled" title="Get previous configuration from history">« undo</a></li> - <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.historyRedo()" id="historyRedo" class="disabled" title="Get next configuration from history">redo »</a></li> - </ul> - <ul style="float: right;"> - <li>App to preview: - <select id="appSelect" onchange="themeEditor.badgePreview.changePreview(this.value)"></select> - </li> - <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.add()" title="Add new badge" class="new-badge-icon"></a></li> - <li><a href="javascript:void(0)" onclick="themeEditor.badgePreview.remove()" title="Remove current badge" class="remove-badge-icon"></a></li> - <li> - <a href="javascript:void(0)" title="Set width of badge" class="width-badge-icon"></a> - <div class="panel-submenu"> - <div class="row"> - <div class="range-max">1920</div><br> - <input type="range" min="160" max="1920" value="320" name="rangeViewportWidth" class="vertical-slider" id="badgeWidthSlider"><br> - <div class="range-min">160</div><br> - <hr> - <input type="input" id="customBadgeWidth" class="custom-badge-size current-value" maxlength="4"><br> - </div> - </div> - </li> - <li> - <a href="javascript:void(0)" title="Set height of badge" class="height-badge-icon"></a> - <div class="panel-submenu"> - <div class="row"> - <div class="range-max">1920</div><br> - <input type="range" min="160" max="1920" value="320" class="vertical-slider" id="badgeHeightSlider"><br> - <div class="range-min">160</div><br> - <hr> - <input type="input" id="customBadgeHeight" class="custom-badge-size current-value" maxlength="4"><br> - </div> - </div> - </li> - <li> - <a href="javascript:void(0)" title="Set badge size from presets" class="">Devices</a> - <div class="panel-submenu"> - <ul id="devicesList"></ul> - </div> - </li> - <li> - <a href="javascript:void(0)" title="Zoom current view" class="zoom-badge-icon"></a> - <div class="panel-submenu"> - <div class="row"> - <div class="range-max">200</div><br> - <input type="range" min="10" max="200" value="100" name="rangeViewportZoom" class="vertical-slider" id="zoomSlider"><br> - <div class="range-min">1</div><br> - <hr> - <span class="current-value">100%</span> - </div> - </div> - </li> - </ul> - </div> - <div id="mainPanel"> - <div class="flex-row"> - <div id="leftPanel" class="panel-container"><!-- container for left panel --></div> - <div id="centerPanel"> - <div id="workspace"><!-- container for workspace --></div> - </div> - <div id="rightPanel" class="panel-container"> - <div class="panel-box"> - <div class="panel-window hidden"> - <h3>Property value</h3> - <div class="readonly"> - <div> - Less variable: <input type="text" value="" id="lessVar" disabled="disabled"> - </div> - <div> - Default value: - <input type="text" value="" id="defaultVal" disabled="disabled"> - </div> - </div> - <div class="actions"><div id="action-restore">restore ▼</div></div> - <div> - Current value: <input type="text" value="" id="widgetText" onclick="this.select()"> - </div> - </div> - <div class="panel-window hidden"> - <h3>Color picker</h3> - <div> - <!-- - @TODO user swatches - <div class="swatch-bar"> - <div class="swatch"></div><div class="swatch"></div><div class="swatch"></div><div class="swatch"></div> - </div> - --> - <div id="panelColorpicker"></div> - <div id="colorProposal"></div> - </div> - </div> - <div class="panel-window"> - <h3>Device properties (<span id="badge-name"></span>)</h3> - <div> - <div> - CSS resolution: <b><span id="badge-width"></span> x <span id="badge-height"></span> px</b><br> - Device resolution: <b><span id="badge-resolution"></span> px</b><br> - Pixel ratio: <span id="badge-pixel-ratio"></span><br> - </div> - <!--According to request of Wearable SDK team, block "change orientation" button line--> - <!--<input type="button" value="Change orientation" onclick="deviceViewer.badgePreview.swapDimensions()">--> - </div> - </div> - </div> - </div> - </div> - </div> -</body> -</html> diff --git a/tools/ThemeEditor/src/js/config.js b/tools/ThemeEditor/src/js/config.js deleted file mode 100644 index 12009d57..00000000 --- a/tools/ThemeEditor/src/js/config.js +++ /dev/null @@ -1,111 +0,0 @@ -/* - This is Theme Editor configuration file - */ -/** - * @property {Object} BadgeConfig - * Configuration for a badge - * @property {string} BadgeConfig.name - * Displayed name of badge - * @property {number} BadgeConfig.displayWidth - * Number of physical vertical pixels of screen. This number can not be equal with vertical number of CSS pixel - * @property {number} BadgeConfig.displayHeight - * Number of physical horizontal pixels of screen. This number can not be equal with horizontal number of CSS pixel - * @property {number} BadgeConfig.pixelRatio - * Pixel ratio describes number of physical pixels, from which the CSS pixel is build. - * CSS resolution is calculated by multiplying the physical resolution and pixel ratio - * @property {number} BadgeConfig.width CSS width of badge viewport based on pixel ratio and displayWidth - * @property {number} BadgeConfig.height CSS width of badge viewport based on pixel ratio and displayHeight - */ -/** - * Configuration of app - * @property {Object} properties - */ -var properties = { - /** - * @property {string} root - * Root path of theme editor - */ - root: undefined, - /** - * @property {string} workspaceElementId - * HTML Element ID of workspace container. Workspace is a container for badges - * it's responsible for view zooming - */ - workspaceElementId: "workspace", - /** - * @property {string} appSelectElementId - * HTML Select Element ID of application list. - */ - appSelectElementId: "appSelect", - /** - * @property {Array} appList - * List of apps available to preview. - */ - appList: [ - { - name: "WearableWidgetSample", - path: "../../../tau/demos/SDK/WearableWidgetSample/", - selected: true - } - ] - /** - * @property {BadgeConfig[]} devList - * List of devices presets available to choose and apply to view. - * This property is loaded from profile json: ./json/<profile>config.json - * - * @example - * - * devList: [ - { - name: "360 x 480", - displayWidth: 360, - displayHeight: 480, - pixelRatio: 1 - }, - { - name: "320 x 320", - displayWidth: 320, - displayHeight: 320, - pixelRatio: 1 - } - ], - */ - /** - * @property {number} maxBadgeCount - * Maximum number of badge instances - */ - /** - * @property {BadgeConfig[]} badges - * List of badges added on startup. - */ - /** - * @property {BdageConfig} defaultBadge - * Default settings of badge - */ - - /** - * @property {Object} previewProperties - * Contains init properties for BadgePreview object - * This property is loaded from profile json: ./json/<profile>config.json - * - * @example - * - * previewProperties: { - * maxBadgeCount: 5, - * badges: [ - { - name: "360 x 480", - displayWidth: 360, - displayHeight: 480, - pixelRatio: 1 - } - ], - defaultBadge: { - name: "360 x 480", - displayWidth: 360, - displayHeight: 480, - pixelRatio: 1 - } - * } - */ -}; diff --git a/tools/ThemeEditor/src/js/main.js b/tools/ThemeEditor/src/js/main.js deleted file mode 100755 index 870cbb07..00000000 --- a/tools/ThemeEditor/src/js/main.js +++ /dev/null @@ -1,107 +0,0 @@ -/*jslint browser: true, white: true, plusplus: true */ -/*global themeEditor, properties, alert*/ - -window.onload = function () { - 'use strict'; - - /** - * Changes badge size or viewport zoom. - * @param {HTMLElement} element An input element which holds dimension value - * @param {String} dimensionType Type of dimension to set, can be one of: width, height, zoom. - */ - function badgeResize(element, dimensionType) { - var badgePreview = themeEditor.badgePreview, - value; - - switch (dimensionType) { - case 'width': - value = parseInt(element.value, 10) || 160; - value = value > 1920 ? 1920 : value < 160 ? 160 : value; - element.value = value; - - badgePreview.resizeViewport(value, undefined, undefined, false); - break; - - case 'height': - value = parseInt(element.value, 10) || 160; - value = value > 1920 ? 1920 : value < 160 ? 160 : value; - element.value = value; - - badgePreview.resizeViewport(undefined, element.value, undefined, false); - break; - - case 'zoom': - badgePreview.zoomViewport(element.value, undefined, undefined, true); - element.parentNode.querySelector('.current-value').innerHTML = element.value + '%'; - break; - } - - } - - /* - * Parses URL params - * @param {String} searchQuery Search query to parse. - * @return {Object} params Params object with param name (key) and value (key value). - */ - function parseParams(searchQuery) { - var hashes = searchQuery.slice(searchQuery.indexOf('?') + 1).split('&'), - len = hashes.length, - hash = [], - params = {}, - i; - - for (i = 0; i < len; i++) { - hash = hashes[i].split('='); - params[hash[0]] = hash[1]; - } - return params; - } - - var locationSearch = location.search, - params = [], - badgeHeightSlider = document.getElementById('badgeHeightSlider'), - badgeWidthSlider = document.getElementById('badgeWidthSlider'), - customBadgeWidth = document.getElementById('customBadgeWidth'), - customBadgeHeight = document.getElementById('customBadgeHeight'), - zoomSlider = document.getElementById('zoomSlider'); - /* - * Check if viewed application was provided by url - * Passed params - * ?name=DisplayedAppName&path=pathToApp - */ - if (locationSearch !== '') { - try { - params = parseParams(locationSearch); - properties.appList = [{ - name: params.name, - path: params.path, - selected: true - }]; - } catch (e) { - alert('There is something wrong in passed params in URL'); - } - } - - /* - * Initialize device viewer on desired properties - */ - themeEditor.init(properties); - - // Change height of badge using range slider - badgeHeightSlider.addEventListener('change', badgeResize.bind(null, badgeHeightSlider, 'height') , false); - badgeHeightSlider.addEventListener('input', badgeResize.bind(null, badgeHeightSlider, 'height') , false); - - // Change width of badge using range slider - badgeWidthSlider.addEventListener('change', badgeResize.bind(null, badgeWidthSlider, 'width') , false); - badgeWidthSlider.addEventListener('input', badgeResize.bind(null, badgeWidthSlider, 'width') , false); - - // Change width of badge using input text - customBadgeWidth.addEventListener('change', badgeResize.bind(null, customBadgeWidth, 'width') , false); - - // Change height of badge using input text - customBadgeHeight.addEventListener('change', badgeResize.bind(null, customBadgeHeight, 'width') , false); - - // Change viewport zoom using range slider - zoomSlider.addEventListener('input', badgeResize.bind(null, zoomSlider, 'zoom') , false); - zoomSlider.addEventListener('change', badgeResize.bind(null, zoomSlider, 'zoom') , false); -}; diff --git a/tools/ThemeEditor/src/js/themeEditor.Badge.js b/tools/ThemeEditor/src/js/themeEditor.Badge.js deleted file mode 100644 index fc4c6787..00000000 --- a/tools/ThemeEditor/src/js/themeEditor.Badge.js +++ /dev/null @@ -1,533 +0,0 @@ -/*jslint browser: true, white: true */ -/*global CustomEvent*/ -(function (window) { - 'use strict'; - - /** - * @property {themeEditor} themeEditor reference to device viewer object - */ - var themeEditor = window.themeEditor, - /** - * @property {Object} cssClasses List of available CSS classes for Badge object - * @property {string} cssClasses.badge CSS Class for not active badge - * @property {string} cssClasses.badgeActive CSS Class for active / selected badge - * @property {string} cssClasses.historyBack CSS Class for history back button in navigation bar of badge - * @property {string} cssClasses.historyForward CSS Class for history forward button navigation bar of badge - */ - cssClasses = { - badge: 'theme-badge', - badgeActive: 'theme-badge-active', - navBar: 'badge-navbar', - historyBack: 'badge-history-back', - historyForward: 'badge-history-forward' - }, - - lessConfig = { - lessPath: 'lib/less-1.6.3.js', - less: { - env: "production", // production/development - async: false, // load imports async - fileAsync: false, // load imports async when in a page under a file protocol - poll: 1000, // when in watch mode, time in ms between polls - functions: {}, // user functions, keyed by name - dumpLineNumbers: "", // or "mediaQuery" or "all" - errorReporting: 'console', - relativeUrls: false // whether to adjust url's to be relative if false, url's are already relative to the entry less file - } - }, - - /** - * Creates new badge - * @returns {Badge} New instance of badge - * @constructor - */ - Badge = function () { - /** - * @property {BadgeConfig} properties Badge properties - */ - this.properties = { - name: 'Initial', - displayWidth: 0, - displayHeight: 0, - pixelRatio: 1, - width: 0, - height: 0, - tau: { - enabled: false, - theme: null, - profile: null, - version: "0" - } - }; - - /** - * @param {?BadgePreview} badgePreview Instance of badge preview - */ - this.badgePreview = null; - /** - * @param {?HTMLElement} element Badge container HTML Element - */ - this.element = null; - /** - * @param {?HTMLElement} iframeElement Badge viewport the iframe element - */ - this.iframeElement = null; - /** - * @param {?Window} contentWindow Reference to badge viewport's window object - */ - this.contentWindow = null; - - /** - * - * @type {Array} - */ - this.history = []; - this.historyLock = false; - this.currentHistoryIndex = -1; - - - /** - * @param {?Object} historyBackBound Binding for history back click event - */ - this.historyBackBound = null; - /** - * @param {?Object} historyBackBound Binding for history forward click event - */ - this.historyForwardBound = null; - - this.modifiedVariables = {}; - this.modificationHistory = [{}]; // {cssVar: value} - this.modificationHistoryIndex = 0; - - return this; - }; - - /** - * @method badgeClickHandler - * Helper function to activate badge on click - * @param {BadgePreview} badgePreview Reference to Badge Preview object - * @param {Event} event Click event - */ - function badgeClickHandler(badgePreview, event) { - var badgeList = badgePreview.badgeList, - currentBadge = event.currentTarget || event.target.ownerDocument, - index = 0, - i; - - // Find current badge - for (i = badgeList.length - 1; i >= 0; i -= 1) { - if (badgeList[i].element === currentBadge || badgeList[i].contentWindow === currentBadge) { - index = i; - i = 0; - } - } - badgePreview.setActive(index); - } - - /** - * Pushes new badge history - * @param {Badge} self - * @param {string} type - */ - function pushBadgeHistory (self, type) { - var contentWindow = self.iframeElement.contentWindow; - - if (!self.historyLock) { - //Remove further history if exists - self.history.splice(self.currentHistoryIndex + 1); - - self.history.push({ - href: contentWindow.location.href, - state: contentWindow.history.state, - type: type - }); - self.currentHistoryIndex += 1; - } - } - - /** - * @method historyTraverse - * Traverse badge history. History is built on following events: load, hashChange and pageChange. - * @param {Badge} self Badge instance - * @param {string} direction History traverse direction (back or forward) - */ - function historyTraverse (self, direction) { - var badgeHistory = self.history, - contentWindow = self.contentWindow, - currentHistoryIndex = self.currentHistoryIndex, - contentWindowHistory = contentWindow.history, - targetHistoryState; - - // Prevent adding new badge history entry - self.historyLock = true; - - // Calculate current history index - currentHistoryIndex += direction === 'forward' ? 1 : -1; - - // Check if badge history index is not out of range - if (currentHistoryIndex >= 0 && currentHistoryIndex < badgeHistory.length) { - - // Assign history state, that we want to achieve - targetHistoryState = badgeHistory[currentHistoryIndex]; - - // Check type of history state - switch (targetHistoryState.type) { - case 'loadEvent': - // Jump to target location - contentWindow.location.href = targetHistoryState.href; - break; - case 'hashChangeEvent': - case 'pageChangeEvent': - // Push new state to contentWindow history object. This state is a target state. - contentWindowHistory.pushState(targetHistoryState.state, '', targetHistoryState.href); - - // Add a "fake" state. This state is only added to force browser to popState behaviour by "history jump" method. - contentWindowHistory.pushState(null, '', ''); - - // Do history jump - contentWindowHistory.go(-1); - break; - } - } else { - // Correct history index - currentHistoryIndex = currentHistoryIndex >= 0 ? badgeHistory.length - 1 : 0; - } - // Save badge history index - self.currentHistoryIndex = currentHistoryIndex; - } - - /** - * @method overrideStyleSheet - * Overrides media queries in given style sheet. It "emulates" device-width property in very simple way. - * @param {CSSStyleSheet} styleSheet Style sheet that should overridden - */ - function overrideStyleSheet(styleSheet) { - var i, - mediaRuleType = window.CSSRule.MEDIA_RULE, - cssRules = styleSheet.cssRules, - cssRulesLength = cssRules.length, - media, - stack, - tmpString, - j; - - // Iterate for all rules in style sheet - for (i = cssRulesLength - 1; i >= 0; i -= 1) { - // Get only media rules - if (cssRules[i].type === mediaRuleType) { - media = cssRules[i].media; - stack = []; - // Iterate for all rules in media rules to get media that has to be overridden - for (j = media.length - 1; j >= 0; j -= 1 ) { - if (media[j].indexOf('device-') > 0) { - stack.push(media[j]); - } - } - // Remove media ... - for (j = stack.length - 1; j >= 0; j -= 1 ) { - media.deleteMedium(stack[j]); - } - // ... and add overridden one - for (j = stack.length - 1; j >= 0; j -= 1 ) { - tmpString = stack[j].split('device-').join(''); - media.appendMedium(tmpString); - } - } - - } - } - - /** - * @method badgeLoad - * This method is fired after document is loaded in badge. - * @param {Badge} self Badge instance - * @param {Event} event Load Event - */ - function badgeLoad(self, event) { - var iframe = event.srcElement, - scriptTag, - styleTag, - linkTag, - frameDocument = iframe.contentDocument, - frameWindow = iframe.contentWindow, - frameDocumentHead = frameDocument.head, - frameStyleSheets = frameDocument.styleSheets, - config = themeEditor.config, - root = config.root, - sheet, - i; - - // Override app style sheet - for (i = 0; i < frameStyleSheets.length; i += 1) { - overrideStyleSheet(frameStyleSheets[i]); - } - - // Remove current tau.css stylesheet - for (i = frameStyleSheets.length - 1; i >= 0; i -= 1) { - if (frameStyleSheets[i].href && frameStyleSheets[i].href.search(/tau(\.min)?\.css$/) > 0) { - frameStyleSheets[i].disabled = true; - frameStyleSheets[i].ownerNode.parentNode.removeChild(frameStyleSheets[i].ownerNode); - } - } - - // Add LESS file - linkTag = frameDocument.createElement('link'); - linkTag.setAttribute('rel', 'stylesheet/less'); - linkTag.setAttribute('type', 'text/css'); - linkTag.setAttribute('href', config.themeRoot + config.themeFile); - frameDocumentHead.appendChild(linkTag); - - scriptTag = frameDocument.createElement('script'); - scriptTag.textContent = 'less = ' + JSON.stringify(lessConfig.less); - frameDocumentHead.appendChild(scriptTag); - - // Add custom styling - styleTag = frameDocument.createElement('style'); - // Little hack, do not let style tag to be empty - styleTag.appendChild(document.createTextNode('')); - // Append style tag to document - frameDocumentHead.appendChild(styleTag); - sheet = styleTag.sheet; - - // Add LESS library - scriptTag = frameDocument.createElement('script'); - scriptTag.src = root + lessConfig.lessPath; - frameDocumentHead.appendChild(scriptTag); - - // Hide scrollbar - sheet.insertRule('::-webkit-scrollbar{ display: none; }', 0); - - // Add new badge history entry - pushBadgeHistory(self, 'loadEvent'); - - // Helper for badge focus change - frameWindow.addEventListener('click', badgeClickHandler.bind(null, self.badgePreview), true); - - // Track change hash event - frameWindow.addEventListener('hashchange', function() { - // Add new badge history entry - pushBadgeHistory(self, 'hashChangeEvent'); - - // Unlock history - self.historyLock = false; - }, true); - - // Track pageChange event for frameworks based on this event - frameWindow.document.addEventListener('pagechange', function() { - // Add new badge history entry - pushBadgeHistory(self, 'pageChangeEvent'); - - self.detectTauProperties(); - - // Unlock history - self.historyLock = false; - }, true); - - // Cache contentWindow - self.contentWindow = frameWindow; - - self.detectTauProperties(); - - // Unlock history - self.historyLock = false; - } - - /** - * @method detectTauProperties - * Checks for tau in badge content window and fetches settings - */ - Badge.prototype.detectTauProperties = function () { - var win = this.contentWindow, - tau = null, - tauInfo = null, - properties = this.properties.tau, - evt = null; - - if (win) { - tau = win.tau; - if (tau) { // make sure that tau.info is available, not in all ver - properties.enabled = true; - if (tau.info) { - tauInfo = tau.info; - properties.theme = tauInfo.theme; - properties.profile = tauInfo.profile; - properties.version = tauInfo.version; - - evt = new CustomEvent("tauInfo", { - detail: properties, - bubbles: true, - cancelable: true - }); - document.body.dispatchEvent(evt); - } else if (tau.version) { // olde ver - properties.version = tau.version; - } - } - } - }; - - /** - * @method setProperties - * Sets properties to badge. - * @param {BadgeConfig} badgeProperties Badge new properties - */ - Badge.prototype.setProperties = function (badgeProperties) { - var properties = this.properties; - - // Update name of badge - if (badgeProperties.name) { - properties.name = badgeProperties.name; - } - - // Update display width - if (badgeProperties.displayWidth) { - properties.displayWidth = parseInt(badgeProperties.displayWidth, 10) || 0; - } - - // Update display height - if (badgeProperties.displayHeight) { - properties.displayHeight = parseInt(badgeProperties.displayHeight, 10) || 0; - } - - // Update pixel ratio - if (badgeProperties.pixelRatio) { - properties.pixelRatio = parseInt(badgeProperties.pixelRatio, 10) || 0; - } - - // Compute width of display container (iframe) - properties.width = Math.round(properties.displayWidth / properties.pixelRatio); - - // Compute height of display container (iframe) - properties.height = Math.round(properties.displayHeight / properties.pixelRatio); - - // Update badge size and device box - this.setSize(properties.width, properties.height); - }; - - /** - * @method setSize - * Sets size of badge viewport - * @param {number} widthValue Viewport width - * @param {number} heightValue Viewport height - */ - Badge.prototype.setSize = function (widthValue, heightValue) { - var elementStyle = this.iframeElement.style, - properties = this.properties; - - if (widthValue) { - properties.width = parseInt(widthValue, 10) || 0; - properties.displayWidth = Math.round(properties.width * properties.pixelRatio); - elementStyle.width = properties.width + 'px'; - } - - if (heightValue) { - properties.height = parseInt(heightValue, 10) || 0; - properties.displayHeight = Math.round(properties.height * properties.pixelRatio); - elementStyle.height = properties.height + 'px'; - } - this.badgePreview.updateDevicePropertiesPanel(this); - }; - - /** - * @method buildNavigationBar - * Builds navigation bar for a badge - */ - Badge.prototype.buildNavigationBar = function () { - var container = document.createElement('div'), - self = this, - el; - - container.classList.add(cssClasses.navBar); - - self.historyBackBound = historyTraverse.bind('', self, 'back'); - el = document.createElement('a'); - el.innerHTML = '«'; - el.classList.add(cssClasses.historyBack); - el.addEventListener('click', self.historyBackBound); - container.appendChild(el); - - self.historyForwardBound = historyTraverse.bind('', self, 'forward'); - el = document.createElement('a'); - el.innerHTML = '»'; - el.classList.add(cssClasses.historyForward); - el.addEventListener('click', self.historyForwardBound); - container.appendChild(el); - - el = document.createElement('span'); - el.className = 'badge-size'; - container.appendChild(el); - - this.element.appendChild(container); - }; - - /** - * Builds badge container in workspace. - * @param workspace {HTMLElement} workspace Workspace where badge should be build - * @param badgeProperties {Object} Badge properties - * @param badgePreview {BadgePreview} Instance of badge preview - */ - Badge.prototype.build = function (workspace, badgeProperties, badgePreview) { - var badgeElement, - iframe, - previewUrl; - - // Assign badgePreview object reference - this.badgePreview = badgePreview; - - // Get preview URL, if not preview was not set, set default value. - previewUrl = badgeProperties.previewUrl || badgePreview.themeEditorConfig.previewUrl; - - // Create badge container - badgeElement = document.createElement('div'); - badgeElement.className = cssClasses.badge; - badgeElement.addEventListener('click', badgeClickHandler.bind(null, badgePreview), false); - // Assign reference to HTML element of badge container - this.element = badgeElement; - - // Build navigation bar - this.buildNavigationBar(); - - // Create iframe - theme holder - iframe = document.createElement('iframe'); - iframe.setAttribute('src', previewUrl); - badgeElement.appendChild(iframe); - iframe.onload = badgeLoad.bind('', this); - this.iframeElement = iframe; - - // Append to workspace - workspace.appendChild(badgeElement); - - // Set properties - this.setProperties(badgeProperties || {}); - }; - - /** - * @method changeUrl - * Sets badge app preview by given url - * @param {string} url New badge preview url - */ - Badge.prototype.changeUrl = function (url) { - var iframe = this.iframeElement; - - // Replace current iframe... - iframe.setAttribute('src', url); - iframe.onload = badgeLoad.bind('', this); - - // Clear history and ... - this.history = []; - - // ... reset current index and ... - this.currentHistoryIndex = -1; - - // ... unlock - this.historyLock = false; - - }; - - Badge.prototype.destroy = function () { - //@TODO write destroy method - this.element.removeEventListener('click', badgeClickHandler.bind(null, this.badgePreview), false); - }; - - themeEditor.Badge = Badge; -}(window)); diff --git a/tools/ThemeEditor/src/js/themeEditor.js b/tools/ThemeEditor/src/js/themeEditor.js deleted file mode 100644 index 09be5a8c..00000000 --- a/tools/ThemeEditor/src/js/themeEditor.js +++ /dev/null @@ -1,623 +0,0 @@ -/*jslint browser: true, white: true, regexp: true */ -/*global window, $, console */ - -(function(window, $) { - 'use strict'; - - var ThemeEditor = function() { - /** - * Configuration of Device Viewer - */ - this.config = { - /** - * Configuration of properties/variables that can be changed by editor - */ - themeProperties: {}, - /** - * URL to preview page - used by badge - */ - previewUrl: '', - /** - * workspace {HTMLElement} workspace container - */ - workspace: null, - /** - * appSelect {HTMLElement} select with application list ready to preview - */ - appSelect: null, - /** - * root {string} Root path of Device Viewer - */ - root: '', - /** - * topPanel {HTMLElement} top panel with icon tools - */ - topPanel: null, - /** - * leftPanel {HTMLElement} left panel container - */ - leftPanel: null, - /** - * mainPanel {HTMLElement} main panel, contains workspace and columns - */ - mainPanel: null - }; - - this.cssClasses = { - themeEditor: 'themeEditor', - categoryPanel: 'category-panel', - labelName: 'label-name', - labelSelected: 'label-name-selected' - }; - - /** - * Holds all css variables that could by changed - */ - this.cssVariables = {}; - - // Imports - this.badgePreview = {}; //themeEditor.badgePreview.js - - this.colorPicker = {}; - - return this; - }, - /** - * @param {?HTMLElement} globalBadgeSize - * Reference to HTML Element wit global badge size flag - */ - globalBadgeSize = null, - /** - * @param {?Object} fixUIBound - * Bounding to fix ui method - */ - fixUIBound = null; - - /** - * @method setBadgeProperties - * Changes current badge or all (if globalBadgeSize is set) badges properties - * @param {ThemeEditor} self Instance of Device Viewer - * @param {Object} properties New badge properties - */ - function setBadgeProperties(self, properties) { - var i, - badgePreview = self.badgePreview, - badge, - badgeList = badgePreview.badgeList, - width, - height, - globalChange = globalBadgeSize.checked; - - if (globalChange) { - for (i = badgeList.length - 1; i >= 0; i -= 1) { - badge = badgeList[i].setProperties(properties); - } - badge = badgeList[0]; - badgePreview.properties.defaultBadge = properties; - } else { - badge = badgePreview.getActive(); - badge.setProperties(properties); - } - - width = badge.properties.width; - height = badge.properties.height; - badgePreview.resizeViewport(width, height, undefined, globalChange); - } - - function prepareWidgetText(defaultValue) { - var widget = document.getElementById('widgetText'); - widget.value = defaultValue; - } - - function prepareWidgetSlider(defaultValue, rangeMin, rangeMax, rangeUnit) { - var widget = document.getElementById('widgetSlider'), - parent = widget.parentNode, - sliderValue; - - sliderValue = (parseInt(defaultValue, 10) - rangeMin) * 100 / (rangeMax - rangeMin); - - widget.setAttribute('data-min', rangeMin); - widget.setAttribute('data-max', rangeMax); - widget.setAttribute('data-unit', rangeUnit); - - parent.querySelector('.range-min').innerHTML = rangeMin; - parent.querySelector('.range-max').innerHTML = rangeMax; - parent.querySelector('.range-current').innerHTML = defaultValue + rangeUnit; - - widget.value = sliderValue; - } - - function overwritePreviewUrl(previewProperties, previewUrl) { - var badges = previewProperties.badges, - i; - - for (i = 0; i < badges.length; i++) { - badges[i].previewUrl = previewUrl; - } - } - - // TODO: rebuild choosing css variable - function setCssVariable(self, event) { - var element = event.currentTarget, - cssVarName = element.getAttribute('data-css'), - themeProperties = self.config.themeProperties, - cssClasses = self.cssClasses, - categoryProperties, - categoryKey, - label, - labelKey; - - $('.' + cssClasses.labelSelected).removeClass(cssClasses.labelSelected).addClass(cssClasses.labelName); - element.className = cssClasses.labelSelected; - - if (event.detail.historyAction !== true) { - self.badgePreview.saveHistory(self.badgePreview.currentCssVar); - } - - self.parseWidget(self.getCssVariable(cssVarName), cssVarName); - self.badgePreview.currentCssVar = cssVarName; - - // TODO: do it more efficient - // Search for all categories - for (categoryKey in themeProperties) { - if (themeProperties.hasOwnProperty(categoryKey)) { - categoryProperties = themeProperties[categoryKey]; - // Search for all labels - for (labelKey in categoryProperties) { - if (categoryProperties.hasOwnProperty(labelKey)) { - label = categoryProperties[labelKey]; - if (label.lessVar === cssVarName) { - $('.panel-window').removeClass('hidden'); - if (label.widget.type === 'slider') { - $('#panelColorpicker').closest('.panel-window').addClass('hidden'); - } - if (label.widget.type === 'color') { - $('#widgetSlider').closest('.panel-window').addClass('hidden'); - } - if (label.widget.type === 'text') { - $('#widgetSlider').closest('.panel-window').addClass('hidden'); - $('#panelColorpicker').closest('.panel-window').addClass('hidden'); - } - } - } - } - } - } - } - - ThemeEditor.prototype.getCssVariable = function(variable) { - return this.cssVariables[variable] || null; - }; - - /** - * @method fixUI - * UI Fix. Keep badges and column always visible. - * Checks if topPanel doesn't cover it. - * @param {Event} event Resize event - */ - ThemeEditor.prototype.fixUI = function (event) { - var self = this, - config = self.config, - mainPanelStyle = config.mainPanel.style, - maxBadgeWidth = self.badgePreview.getMaxBadgeWidth(), - currentZoom = self.badgePreview.getViewportZoom(), - innerWidth = (event && event.target.window.innerWidth) || window.innerWidth, - offset = 100; - - mainPanelStyle.top = config.topPanel.clientHeight + 'px'; - mainPanelStyle.width = innerWidth + 'px'; - mainPanelStyle.minWidth = (Math.round((maxBadgeWidth + offset) * currentZoom)) + 'px'; - }; - - /** - * @method resolvePath - * Resolves path relative to root path - * @param {string} rootPath The root path - * @param {string} queryPath The path that should be resolved relative to root path - * @returns {string} Resolved path - */ - ThemeEditor.prototype.resolvePath = function (rootPath, queryPath) { - var rootPieces, - queryPieces, - path = [], - relative, - queryPathMatch, - rootPathMatch, - i; - - // Clean hash and query strings - rootPath = rootPath.replace(/(\?|#).*$/ig, ''); - - // Check if queryPath is relative or absolute path - relative = !(/^[a-z]+:\/\//.test(queryPath)); - - rootPieces = rootPath.split('/'); - queryPieces = queryPath.split('/'); - - rootPathMatch = rootPath.match(/https?:\/\/[^\/]+/); - queryPathMatch = queryPath.match(/https?:\/\/[^\/]+/); - - // Check if paths are in the same domain - if (relative !== true && rootPathMatch && queryPathMatch && rootPathMatch[0] !== queryPathMatch[0]) { - return queryPath; - } - - // Omit last element (file name) - rootPieces.pop(); - - if (relative) { - for (i = 0; i < queryPieces.length; i += 1) { - if (queryPieces[i] === '..') { - // Go back - rootPieces.pop(); - // Remove first element - queryPieces.shift(); - i -= 1; - } - } - return rootPieces.join('/') + '/' + queryPieces.join('/'); - } - - // Find common pieces - for (i = 0; i < rootPieces.length; i += 1) { - if (rootPieces[i] !== queryPieces[i]) { - if (rootPieces[i] === '..') { - path.pop(); - } else { - path.push('..'); - } - } - } - return path.concat(queryPieces.splice(i - path.length)).join('/'); - }; - - ThemeEditor.prototype.prepareWidgetColorPicker = function(value) { - this.colorPicker.setColor(value); - }; - - ThemeEditor.prototype.setWidgetProperties = function(widgetParams, widgetDefault, cssVarName) { - var $widgetText = $('#widgetText'), - $lessVar = $('#lessVar'), - $defaultVal = $('#defaultVal'); - - $widgetText.val(widgetDefault); - $widgetText.attr('title', widgetDefault); - $lessVar.val(cssVarName); - $lessVar.attr('title', cssVarName); - $defaultVal.val(widgetParams.default); - $defaultVal.attr('title', widgetParams.default); - }; - - ThemeEditor.prototype.parseWidget = function(widgetParams, cssVarName) { - var widgetType = widgetParams.type.toLowerCase(), - widgetDefault, - modifiedVariables = this.badgePreview.getActive().modifiedVariables; - - widgetDefault = modifiedVariables[cssVarName] || widgetParams.default; - switch (widgetType) { - case 'text': - prepareWidgetText(widgetDefault); - break; - - case 'slider': - prepareWidgetSlider(widgetDefault, widgetParams.min, widgetParams.max, widgetParams.unit); - break; - - case 'color': - this.prepareWidgetColorPicker(widgetDefault); - break; - - default: - console.warn('Unrecognized widget: ' + widgetType); - } - - this.setWidgetProperties(widgetParams, widgetDefault, cssVarName); - }; - - /** - * Add variable item to panel - * @param {type} container - * @param {type} labelTitle - * @param {type} members - */ - ThemeEditor.prototype.addLabel = function(container, labelTitle, members) { - var label = document.createElement('a'), - classes = this.cssClasses, - lessVar = members.lessVar; - - label.className = classes.labelName; - label.innerHTML = labelTitle; - label.setAttribute('data-css', lessVar); - label.setAttribute('title', lessVar); - container.appendChild(label); - - - label.addEventListener('click', setCssVariable.bind(null, this), false); - this.cssVariables[lessVar] = members.widget; - }; - - - ThemeEditor.prototype.addCategoryItem = function(panel, title, members) { - var panelTitle = document.createElement('h3'), - panelContent = document.createElement('div'), - labelName; - - panelTitle.innerHTML = title; - - for (labelName in members) { - if (members.hasOwnProperty(labelName)) { - this.addLabel(panelContent, labelName, members[labelName]); - } - } - - panel.appendChild(panelTitle); - panel.appendChild(panelContent); - }; - - - /** - * Build left column - * @method buildVariablePanel - */ - ThemeEditor.prototype.buildVariablePanel = function() { - var themeProperties = this.config.themeProperties, - classes = this.cssClasses, - categoryName, - container = this.config.leftPanel, - leftColumn = document.createDocumentFragment(), - categoryPanel = document.querySelector("div." + classes.categoryPanel);//document.createElement('div'); - - if (categoryPanel) { - categoryPanel.parentNode.removeChild(categoryPanel); - } - - categoryPanel = document.createElement("div"); - - categoryPanel.className = classes.categoryPanel; - - for (categoryName in themeProperties) { - if (themeProperties.hasOwnProperty(categoryName)) { - this.addCategoryItem(categoryPanel, categoryName, themeProperties[categoryName]); - } - } - - leftColumn.appendChild(categoryPanel); - - // Finally add all pannels to container - container.classList.add(classes.themeEditor); - container.appendChild(leftColumn); - - //Enhance by UI Widgets - $(categoryPanel).accordion({ - collapsible: true, - heightStyle: 'content' - }); - }; - - /** - * Builds widgets - */ - ThemeEditor.prototype.buildWidgets = function() { - var widgetText = document.getElementById('widgetText'), - widgetSlider = document.getElementById('widgetSlider'); - - this.colorPicker = new this.ColorPicker( - $('#panelColorpicker'), - this.badgePreview.changeColor.bind(this.badgePreview) - ); - - if (widgetText) { - widgetText.addEventListener('change', this.badgePreview.changeText.bind(this.badgePreview), false); - } - - if (widgetSlider) { - widgetSlider.addEventListener('change', this.badgePreview.changeSlider.bind(this.badgePreview), false); - } - }; - - /** - * @method alert - * Shows an alert - * @param {string} message Message text - */ - ThemeEditor.prototype.alert = function(message) { - // TODO: do it more cool - window.alert(message); - }; - - /** - * @method fillDevicePresets - * Fills list of preset devices as li elements - * @param {Array} devList List of devices - * @param {HTMLElement} devListContainer List element - */ - ThemeEditor.prototype.fillDevicePresets = function (devList, devListContainer) { - var devListLength = devList.length, - self = this, - tmpElement, - tmpContainer, - displayWidth, - displayHeight, - i; - - while (devListContainer.firstChild) { - devListContainer.removeChild(devListContainer.lastChild); - } - - for (i = 0; i < devListLength; i += 1) { - displayWidth = devList[i].displayWidth; - displayHeight = devList[i].displayHeight; - tmpElement = document.createElement('li'); - tmpElement.innerHTML = devList[i].name + ' <br><small>' + displayWidth + ' x ' + displayHeight + '</small> '; - devListContainer.appendChild(tmpElement); - tmpElement.addEventListener('click', setBadgeProperties.bind(null, self, devList[i])); - } - - // Create global badge size container - tmpContainer = document.createElement('li'); - tmpContainer.className = 'global-settings'; - - // Create global badge size checkbox - tmpElement = document.createElement('input'); - tmpElement.setAttribute('type', 'checkbox'); - tmpElement.setAttribute('id', 'globalBadgeSize'); - tmpContainer.appendChild(tmpElement); - - // Assign checkbox reference to Device Viewer protected variable - globalBadgeSize = tmpElement; - - // Create global badge size label - tmpElement = document.createElement('label'); - tmpElement.setAttribute('for', 'globalBadgeSize'); - tmpElement.innerText = 'global'; - tmpContainer.appendChild(tmpElement); - - // Append container to devices list - devListContainer.appendChild(tmpContainer); - }; - - /** - * @method buildAppSelect - * Fills select element with application as HTML options - * @param {Array} appList List of applications ready to preview - * @returns {HTMLElement} Application HTML Select reference - */ - ThemeEditor.prototype.buildAppSelect = function (appList) { - var appSelect, - appListLength = appList.length, - tmpElement, - i; - - if (appListLength <= 0) { - throw 'No preview app was define! You have to define at least one app to preview.'; - } - - appSelect = document.getElementById(this.config.appSelectElementId || 'appSelect'); - for (i = 0; i < appListLength; i += 1) { - tmpElement = document.createElement('option'); - tmpElement.value = appList[i].path; - tmpElement.innerText = appList[i].name; - if (appList[i].selected === true) { - tmpElement.setAttribute('selected', 'selected'); - } - appSelect.appendChild(tmpElement); - } - - if (appListLength === 1) { - appSelect.disabled = true; - } - - return appSelect; - }; - - ThemeEditor.prototype.getProperties = function (fileName) { - var xhr = new XMLHttpRequest(); - try { - xhr.open("GET", "json/" + fileName, false); - xhr.send(); - return JSON.parse(xhr.responseText); - } catch (e) { - this.alert(e); - } - return {}; - }; - - ThemeEditor.prototype.bindEvents = function () { - var $restoreBtn = $('#action-restore'); - - $restoreBtn.on('click', function onClick() { - prepareWidgetText($('#defaultVal').val()); - }).on('click', this.badgePreview.changeText.bind(this.badgePreview)); - - }; - - /** - * Setup properties and initialize Device Viewer. - * @method init - * @param {Object} properties - */ - ThemeEditor.prototype.init = function(properties) { - var config = this.config, - self = this, - devicesList = document.getElementById('devicesList'), - currentProfile = "wearable", - currentTheme = "default", - configProperties = null; - - // Set Device's Viewer root path defined by properties or set default (current location href). - config.root = properties.root || window.location.origin + window.location.pathname.replace(/[^\/]+\.html?$/, ''); - - // Set workspace defined by properties or get default workspace - config.workspace = document.getElementById(properties.workspaceElementId || 'workspace'); - - // Set topPanel defined by properties or get default top panel - config.topPanel = document.getElementById(properties.topPanelElementId || 'topPanel'); - - // Set leftPanel defined by properties or get default let panel - config.leftPanel = document.getElementById(properties.leftPanelElementId || 'leftPanel'); - - // Set mainPanel defined by properties or get default main panel - config.mainPanel = document.getElementById(properties.mainPanelElementId || 'mainPanel'); - - // Fill select options with app names, that are ready to preview. Assign reference to select with app list. - config.appSelect = this.buildAppSelect(properties.appList); - - // Set preview url of selected app - config.previewUrl = this.resolvePath(config.root, config.appSelect.value); - - config.themeProperties = this.getProperties(currentProfile + "." + currentTheme + ".properties.json") || {}; - - configProperties = this.getProperties(currentProfile + ".config.json") || {}; - - config.themeRoot = this.resolvePath(config.root, configProperties.themes[currentTheme]); - - config.themeFile = 'theme.less'; - - this.fillDevicePresets(configProperties.devList, devicesList); - - // Ready to go, let's init Badge Preview! - overwritePreviewUrl(configProperties.previewProperties, config.previewUrl); - this.badgePreview.init(configProperties.previewProperties); - - this.buildVariablePanel(); - document.addEventListener("tauInfo", function (evt) { - var themeProperties = null, - tauInfo = evt.detail; - - if (tauInfo) { - if (currentProfile !== tauInfo.profile || currentTheme !== tauInfo.theme) { - themeProperties = self.getProperties(tauInfo.profile + "." + tauInfo.theme + ".properties.json"); - configProperties = self.getProperties(tauInfo.profile + ".config.json"); - - if (configProperties) { - self.fillDevicePresets(configProperties.devList, devicesList); - config.themeRoot = self.resolvePath(config.root, configProperties.themes[tauInfo.theme]); - overwritePreviewUrl(configProperties.previewProperties, config.previewUrl); - self.badgePreview.init(configProperties.previewProperties); - } - - if (themeProperties) { - config.themeProperties = themeProperties; - self.buildVariablePanel(); - } - - currentProfile = tauInfo.profile; - currentTheme = tauInfo.theme; - } - } - }); - this.buildWidgets(); - - // Fix UI - this.fixUI(); - - // Add ui fixing after window resize - fixUIBound = this.fixUI.bind(this); - window.addEventListener('resize', fixUIBound, false); - - this.bindEvents(); - - }; - - window.themeEditor = new ThemeEditor(); -}(window, $)); diff --git a/tools/ThemeEditor/src/json/mobile.config.json b/tools/ThemeEditor/src/json/mobile.config.json deleted file mode 100644 index 64285a7e..00000000 --- a/tools/ThemeEditor/src/json/mobile.config.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "themes": { - "default": "res/less/mobile/changeable/theme-changeable/" - }, - "devList": [ - { - "name": "480 x 800", - "displayWidth": 480, - "displayHeight": 800, - "pixelRatio": 1 - } - ], - "previewProperties": { - "maxBadgeCount": 5, - "initialZoom": 1, - "badges": [ - { - "name": "480 x 800", - "displayWidth": 480, - "displayHeight": 800, - "pixelRatio": 1, - "previewUrl": "../../../tau/demos/SDK/MobileWinset/src/" - } - ], - "defaultBadge": - { - "name": "480 x 800", - "displayWidth": 480, - "displayHeight": 800, - "pixelRatio": 1 - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/mobile.default.properties.json b/tools/ThemeEditor/src/json/mobile.default.properties.json deleted file mode 100644 index c9ce29f7..00000000 --- a/tools/ThemeEditor/src/json/mobile.default.properties.json +++ /dev/null @@ -1,1101 +0,0 @@ -{ - "Body": { - "Main background body color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgba(222, 237, 255, 1)" - } - }, - "Main body text color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "Context background color": { - "lessVar": "@color_content_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.3)" - } - } - }, - "Naviframe": { - "and header background color": { - "lessVar": "@color_bar_naviframe_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "button press color": { - "lessVar": "@color_bar_naviframe_press", - "widget": { - "type": "color", - "default": "rgba(0, 68, 150, 1)" - } - }, - "button icon color": { - "lessVar": "@color_bar_title_button_all", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "button pressed icon color": { - "lessVar": "@color_bar_title_button_all_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "text color": { - "lessVar": "@color_bar_title_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "sub text color": { - "lessVar": "@color_bar_title_sub_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "button text color": { - "lessVar": "@color_bar_title_button_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "button pressed text color": { - "lessVar": "@color_bar_title_button_text_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - } - }, - "Toolbar": { - "Footer background color": { - "lessVar": "@color_bar_toolbar_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "Footer button press color": { - "lessVar": "@color_bar_toolbar_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "Footer button text color": { - "lessVar": "@color_bar_toolbar_button_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.6)" - } - } - }, - "Tabbar": { - "background color": { - "lessVar": "@color_tabbar_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "divider line color": { - "lessVar": "@color_tabbar_divider", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.18)" - } - }, - "border bottom color": { - "lessVar": "@color_tabbar_select_bar", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "hover icon color": { - "lessVar": "@color_tabbar_btn_normal", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.6)" - } - }, - "active icon color": { - "lessVar": "@color_tabbar_btn_selected", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "button normal color": { - "lessVar": "@color_tabbar_btn_bg_normal", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "button press color": { - "lessVar": "@color_tabbar_btn_bg_press", - "widget": { - "type": "color", - "default": "rgba(0, 68, 150, 1)" - } - }, - "text normal color": { - "lessVar": "@color_tabbar_text_normal", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.6)" - } - }, - "text selected color": { - "lessVar": "@color_tabbar_text_selected", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - } - }, - "Textinput Clear Button": { - "background color": { - "lessVar": "@color_editfield_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "decoration underline color": { - "lessVar": "@color_editfield_outline", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.2)" - } - }, - "selected underline color": { - "lessVar": "@color_editfield_selected_outline", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "disabled underline color": { - "lessVar": "@color_editfield_disabled_outline", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.2)" - } - }, - "text color": { - "lessVar": "@color_editfield_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "selected text color": { - "lessVar": "@color_editfield_selected_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "placeholder text color": { - "lessVar": "@color_editfield_placeholder_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.5)" - } - }, - "placeholder selected text color": { - "lessVar": "@color_editfield_placeholder_selected_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.5)" - } - }, - "disabled text color": { - "lessVar": "@color_editfield_disabled_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "clear icon color": { - "lessVar": "@color_editfield_clear_icon", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "clear icon press color": { - "lessVar": "@color_editfield_clear_icon_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "clear icon disabled color": { - "lessVar": "@color_editfield_clear_icon_disabled", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - } - }, - "List": { - "item pressed color": { - "lessVar": "@color_list_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.3)" - } - }, - "border bottom color": { - "lessVar": "@color_list_border_bottom", - "widget": { - "type": "color", - "default": "rgba(198, 220, 247, 1)" - } - }, - "dialog border color": { - "lessVar": "@color_list_dialog_border", - "widget": { - "type": "color", - "default": "rgba(198, 220, 247, 1)" - } - }, - "main text color": { - "lessVar": "@color_list_main_text_normal", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "sub text color": { - "lessVar": "@color_list_sub_text_normal", - "widget": { - "type": "color", - "default": "rgba(77, 77, 77, 1)" - } - }, - "divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "divider bottom line color": { - "lessVar": "@color_list_divider_line", - "widget": { - "type": "color", - "default": "rgba(217, 217, 217, 1)" - } - }, - "divider background color": { - "lessVar": "@color_list_divider_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "divider background press color": { - "lessVar": "@color_list_divider_bg_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "divider text press color": { - "lessVar": "@color_list_divider_text_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "divider select all text color": { - "lessVar": "@color_list_divider_select_all_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "swipe item text color": { - "lessVar": "@color_list_swipe_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "swipe item background color": { - "lessVar": "@color_list_swipe_left_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "edit field text color": { - "lessVar": "@color_list_editfield_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "edit field placeholder text color": { - "lessVar": "@color_list_editfield_placeholder_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.5)" - } - }, - "edit field placeholder disabled text color": { - "lessVar": "@color_list_editfield_disabled_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "collapsible arrow color": { - "lessVar": "@color_list_collapsible_arrow", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - } - }, - "Fast Scroll": { - "background color": { - "lessVar": "@color_fastscroll_rollover_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.8)" - } - }, - "text color": { - "lessVar": "@color_fastscroll_rollover_text", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.6)" - } - }, - "popup background color": { - "lessVar": "@color_fastscroll_popup_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "popup text color": { - "lessVar": "@color_fastscroll_popup_text", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "popup border color": { - "lessVar": "@color_fastscroll_popup_border", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - } - }, - "SearchBar(forms.textinput)": { - "Search bar background color": { - "lessVar": "@color_searchbar_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "Search bar clear icon color": { - "lessVar": "@color_searchbar_clear_icon", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "Search bar clear icon press color": { - "lessVar": "@color_searchbar_clear_icon_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - } - }, - "Button(connected with other winset)": { - "normal text color": { - "lessVar": "@color_button_text_normal", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "press text color": { - "lessVar": "@color_button_text_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "icon color": { - "lessVar": "@color_button_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "icon nobg color": { - "lessVar": "@color_button_icon_nobg", - "widget": { - "type": "color", - "default": "rgba(39, 119, 217, 1)" - } - }, - "icon nobg press color": { - "lessVar": "@color_button_icon_nobg_press", - "widget": { - "type": "color", - "default": "rgba(28, 84, 153, 1)" - } - }, - "background color": { - "lessVar": "@color_button_bg", - "widget": { - "type": "color", - "default": "rgba(39, 119, 217, 1)" - } - }, - "background press color": { - "lessVar": "@color_button_bg_press", - "widget": { - "type": "color", - "default": "rgba(28, 84, 153, 1)" - } - }, - "warning|minus icon color": { - "lessVar": "@color_button_warning", - "widget": { - "type": "color", - "default": "rgba(224, 34, 34, 1)" - } - }, - "warning|minus icon press color": { - "lessVar": "@color_button_warning_press", - "widget": { - "type": "color", - "default": "rgba(186, 28, 28, 1)" - } - } - }, - "Contextual popup": { - "text color": { - "lessVar": "@color_ctxpopup_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "background color": { - "lessVar": "@color_ctxpopup_background", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "border color": { - "lessVar": "@color_ctxpopup_background_border", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - ", list item press color": { - "lessVar": "@color_ctxpopup_btn_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.3)" - } - }, - ", list divider color": { - "lessVar": "@color_ctxpopup_divider", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.25)" - } - } - }, - "Scrollview": { - "handler background color": { - "lessVar": "@color_scrollview_handler_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.7)" - } - }, - "handler upper thumb color": { - "lessVar": "@color_scrollview_handler_thumb_01", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.5)" - } - }, - "handler lower thumb color": { - "lessVar": "@color_scrollview_handler_thumb_02", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.55)" - } - } - }, - "Date Time picker": {}, - "SegmentControl": {}, - "Popup": { - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgba(242, 246, 250, 1)" - } - }, - "title background color": { - "lessVar": "@color_popup_title_bg", - "widget": { - "type": "color", - "default": "rgba(77, 128, 191, 1)" - } - }, - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "text color": { - "lessVar": "@color_popup_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "button background color": { - "lessVar": "@color_popup_button_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "button text color": { - "lessVar": "@color_popup_button_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "overlay color": { - "lessVar": "@color_popup_dim_screen_bg", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.4)" - } - } - }, - "Tickernoti": { - "background color": { - "lessVar": "@color_ticker_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "text1 color": { - "lessVar": "@color_ticker_text1", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "text2 color": { - "lessVar": "@color_ticker_text2", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - } - }, - "Smallpopup": { - "background color": { - "lessVar": "@color_smallpopup_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "outline color": { - "lessVar": "@color_smallpopup_outline", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "text color": { - "lessVar": "@color_smallpopup_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - } - }, - "Slider": { - "handle text color": { - "lessVar": "@color_slider_handle_text", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "popup text color": { - "lessVar": "@color_slider_popup_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "popup background color": { - "lessVar": "@color_slider_popup_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "popup border color": { - "lessVar": "@color_slider_popup_stroke", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "left text color": { - "lessVar": "@color_slider_left_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "right text color": { - "lessVar": "@color_slider_right_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "center marker background color": { - "lessVar": "@color_slider_center", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "background color": { - "lessVar": "@color_slider_bg", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "active background color": { - "lessVar": "@color_slider_active_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "handle background color": { - "lessVar": "@color_slider_handle_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "background image color": { - "lessVar": "@color_slider_img_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "switch on background color": { - "lessVar": "@color_slider_switch_label_on_bg", - "widget": { - "type": "color", - "default": "rgba(28, 84, 153, 1)" - } - }, - "switch off background color": { - "lessVar": "@color_slider_switch_label_off_bg", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "switch on text color": { - "lessVar": "@color_slider_switch_label_on_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "switch off text color": { - "lessVar": "@color_slider_switch_label_off_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - } - }, - "Toggle": { - "on background color": { - "lessVar": "@color_toggle_handle_on_bg", - "widget": { - "type": "color", - "default": "rgba(42, 184, 66, 1)" - } - }, - "off background color": { - "lessVar": "@color_toggle_handle_off_bg", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.4)" - } - }, - "on/off icon background color": { - "lessVar": "@color_toggle_handle_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - } - }, - "Progress": { - "background color": { - "lessVar": "@color_progress_bg", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "value color": { - "lessVar": "@color_progress_value", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "circle progress color": { - "lessVar": "@color_progress_circle_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.7)" - } - } - }, - "Tokentextarea": { - "block token text color": { - "lessVar": "@color_tokentextarea_block_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "block token text press color": { - "lessVar": "@color_tokentextarea_block_text_press", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "block token background color": { - "lessVar": "@color_tokentextarea_block_bg", - "widget": { - "type": "color", - "default": "rgba(39, 119, 217, 1)" - } - }, - "block token press background color": { - "lessVar": "@color_tokentextarea_press_bg", - "widget": { - "type": "color", - "default": "rgba(28, 84, 153, 1)" - } - }, - "input text color": { - "lessVar": "@color_tokentextarea_input_text", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "label text color": { - "lessVar": "@color_tokentextarea_label_text", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - } - }, - "Splitview": {}, - "Checkbox / Radio": { - "checkbox icon background color": { - "lessVar": "@color_checkboxradio_checkbox_bg_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "checkbox on background color": { - "lessVar": "@color_checkboxradio_bg_on", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "checkbox off background color": { - "lessVar": "@color_checkboxradio_bg_off", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "radio on background color": { - "lessVar": "@color_checkboxradio_radio_bg_on", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "radio off background color": { - "lessVar": "@color_checkboxradio_radio_bg_off", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "radio icon background color": { - "lessVar": "@color_checkboxradio_radio_bg_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "favorite icon off color": { - "lessVar": "@color_checkboxradio_favorite_off", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "favorite icon on color": { - "lessVar": "@color_checkboxradio_favorite_on", - "widget": { - "type": "color", - "default": "rgba(255, 179, 0, 1)" - } - } - }, - "Drawer": { - "background color": { - "lessVar": "@color_drawer_bg", - "widget": { - "type": "color", - "default": "rgba(222, 237, 255, 1)" - } - }, - "list item background color": { - "lessVar": "@color_drawer_list_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.3)" - } - }, - "overlay color": { - "lessVar": "@color_drawer_overlay_bg", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.4)" - } - }, - "icon color": { - "lessVar": "@color_drawer_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "background icon press color": { - "lessVar": "@color_drawer_icon_press", - "widget": { - "type": "color", - "default": "rgba(0, 68, 150, 1)" - } - }, - "border left color": { - "lessVar": "@color_drawer_border_left", - "widget": { - "type": "color", - "default": "rgba(198, 220, 247, 1)" - } - }, - "border right color": { - "lessVar": "@color_drawer_border_right", - "widget": { - "type": "color", - "default": "rgba(198, 220, 247, 1)" - } - } - }, - "Empty State": { - "header background color": { - "lessVar": "@color_emptystate_header_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "content background color": { - "lessVar": "@color_emptystate_content_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.9)" - } - }, - "content pattern color": { - "lessVar": "@color_emptystate_content_pattern_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.6)" - } - } - }, - "SelectMenu": { - "list group background color": { - "lessVar": "@color_selectmenu_list_group_index_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "list group divider line color": { - "lessVar": "@color_selectmenu_list_line", - "widget": { - "type": "color", - "default": "rgba(217, 217, 217, 1)" - } - }, - "placeholder border color": { - "lessVar": "@color_selectmenu_border_placeholder", - "widget": { - "type": "color", - "default": "rgba(217, 217, 217, 1)" - } - }, - "label background color": { - "lessVar": "@color_selectmenu_label_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "list stroke line color": { - "lessVar": "@color_selectmenu_list_group_stroke", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "list item background press color": { - "lessVar": "@color_selectmenu_list_item_bg_press", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 0.3)" - } - }, - "icon color": { - "lessVar": "@color_selectmenu_icon", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "list item disabled text color": { - "lessVar": "@color_selectmenu_font_dim", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.3)" - } - }, - "placeholder background color": { - "lessVar": "@color_selectmenu_placeholder_bg", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - } - }, - "Navigation": { - "text color": { - "lessVar": "@color_navigation_text", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "text press color": { - "lessVar": "@color_navigation_text_press", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 1)" - } - }, - "background color": { - "lessVar": "@color_navigation_bg", - "widget": { - "type": "color", - "default": "rgba(0, 80, 179, 1)" - } - }, - "list item background color": { - "lessVar": "@color_navigation_bar_bg", - "widget": { - "type": "color", - "default": "rgba(0, 68, 150, 1)" - } - }, - "icon color": { - "lessVar": "@color_navigation_bar_icon", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 1)" - } - }, - "divider line color": { - "lessVar": "@color_navigation_tab_divider", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.18)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/tv.black.properties.json b/tools/ThemeEditor/src/json/tv.black.properties.json deleted file mode 100644 index 582c5ebd..00000000 --- a/tools/ThemeEditor/src/json/tv.black.properties.json +++ /dev/null @@ -1,732 +0,0 @@ -{ - "Body": { - "main background body color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgb(0, 0, 0)" - } - }, - "main body text color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - } - }, - "Action Bar": { - "title text color": { - "lessVar": "@color_actionbar_title_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "title background color": { - "lessVar": "@color_actionbar_title_bg", - "widget": { - "type": "color", - "default": "rgb(42,76,130)" - } - }, - "more pressed background color": { - "lessVar": "@color_actionbar_more_pressed_bg", - "widget": { - "type": "color", - "default": "rgb(99, 93, 89)" - } - } - }, - "Content": { - "background color": { - "lessVar": "@color_content_bg", - "widget": { - "type": "color", - "default": "rgb(53, 80, 123)" - } - } - }, - "Progress Bar": { - "text color": { - "lessVar": "@color_progressbar_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "normal background color": { - "lessVar": "@color_progressbar_normal_bg", - "widget": { - "type": "color", - "default": "rgb(17, 17, 17)" - } - }, - "value background color": { - "lessVar": "@color_progressbar_value_bg", - "widget": { - "type": "color", - "default": "rgb(255, 134, 0)" - } - } - }, - "Toggle Switch": { - "text color": { - "lessVar": "@color_switch_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - } - }, - "Buttons": { - "default text color": { - "lessVar": "@color_button_default_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Disabled button default text color": { - "lessVar": "@color_button_default_text_disable", - "widget": { - "type": "color", - "default": "rgb(51, 51, 51)" - } - }, - "Color of basic button background - normal": { - "lessVar": "@color_button_basic_normal", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "Color of basic button text - normal": { - "lessVar": "@color_button_basic_txt_normal", - "widget": { - "type": "color", - "default": "rgb(89, 89, 89)" - } - }, - "Color of basic button text - focused": { - "lessVar": "@color_button_basic_txt_focus", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Background color of icon source button": { - "lessVar": "@color_button_icon_source", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Background color of icon app button": { - "lessVar": "@color_button_icon_app", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Text color of button with icon": { - "lessVar": "@color_button_with_icon", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Red button text color": { - "lessVar": "@color_button_red_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Disabled red button text color": { - "lessVar": "@color_button_red_text_disable", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.15)" - } - }, - "Red button normal background color": { - "lessVar": "@color_button_red_normal_bg", - "widget": { - "type": "color", - "default": "#ce2302" - } - }, - "Red button focused background color": { - "lessVar": "@color_button_red_focus_bg", - "widget": { - "type": "color", - "default": "#ce2302" - } - }, - "Red button pressed background color": { - "lessVar": "@color_button_red_press_bg", - "widget": { - "type": "color", - "default": "#dd654e" - } - }, - "Red button disabled background color": { - "lessVar": "@color_button_red_disable_bg", - "widget": { - "type": "color", - "default": "#4e1910" - } - }, - "Orange button text color": { - "lessVar": "@color_button_orange_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Orange button disabled text color": { - "lessVar": "@color_button_orange_text_disable", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.15)" - } - }, - "Orange button normal background color": { - "lessVar": "@color_button_orange_normal_bg", - "widget": { - "type": "color", - "default": "#ed8600" - } - }, - "Orange button focused background color": { - "lessVar": "@color_button_orange_focus_bg", - "widget": { - "type": "color", - "default": "#ed8600" - } - }, - "Orange button pressed background color": { - "lessVar": "@color_button_orange_press_bg", - "widget": { - "type": "color", - "default": "#f0aa56" - } - }, - "Orange button disabled background color": { - "lessVar": "@color_button_orange_disable_bg", - "widget": { - "type": "color", - "default": "#462805" - } - }, - "Green button text color": { - "lessVar": "@color_button_green_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Green button disabled text color": { - "lessVar": "@color_button_green_text_disable", - "widget": { - "type": "color", - "default": "rgba(255, 255, 255, 0.15)" - } - }, - "Green button normal background color": { - "lessVar": "@color_button_green_normal_bg", - "widget": { - "type": "color", - "default": "#64a323" - } - }, - "Green button focused background color": { - "lessVar": "@color_button_green_focus_bg", - "widget": { - "type": "color", - "default": "#64a323" - } - }, - "Green button pressed background color": { - "lessVar": "@color_button_green_press_bg", - "widget": { - "type": "color", - "default": "#92be5e" - } - }, - "Green button disabled background color": { - "lessVar": "@color_button_green_disable_bg", - "widget": { - "type": "color", - "default": "#26351e" - } - }, - "Bar header button background color": { - "lessVar": "@color_bar_header_btn", - "widget": { - "type": "color", - "default": "rgba(95, 159, 232, 1)" - } - }, - "Bar button normal background color": { - "lessVar": "@color_bar_btn_normal", - "widget": { - "type": "color", - "default": "rgba(244, 244, 244, 1)" - } - } - }, - "Popup": { - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "border background color": { - "lessVar": "@color_popup_border", - "widget": { - "type": "color", - "default": "rgb(128, 72, 0)" - } - }, - "header background color": { - "lessVar": "@color_popup_header_bg", - "widget": { - "type": "color", - "default": "rgb(42,76,130)" - } - }, - "header border background color": { - "lessVar": "@color_popup_header_border", - "widget": { - "type": "color", - "default": "rgb(67, 67, 67)" - } - }, - "text color": { - "lessVar": "@color_popup_text", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "button background color - focused": { - "lessVar": "@color_popup_footer_btn_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "content text color": { - "lessVar": "@color_popup_text_content", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "shadow color": { - "lessVar": "@color_popup_shadow", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.67)" - } - } - }, - "Index scrollbar (vertical)": { - "bar background color": { - "lessVar": "@color_indexscrollbar_bg", - "widget": { - "type": "color", - "default": "rgb(34, 34, 34)" - } - }, - "bar supplementary background color": { - "lessVar": "@color_indexscrollbar_bg_supplementary", - "widget": { - "type": "color", - "default": "rgb(44, 44, 44)" - } - }, - "bar text color": { - "lessVar": "@color_indexscrollbar_text", - "widget": { - "type": "color", - "default": "rgb(89, 89, 89)" - } - }, - "bar selected background color": { - "lessVar": "@color_indexscrollbar_selected_bg", - "widget": { - "type": "color", - "default": "#f99107" - } - }, - "bar selected text color": { - "lessVar": "@color_indexscrollbar_selected_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "bar selected supplementary text color": { - "lessVar": "@color_indexscrollbar_selected_text_supplementary", - "widget": { - "type": "color", - "default": "rgb(255, 144, 0)" - } - }, - "bar indicator background color": { - "lessVar": "@color_indexscrollbar_indicator_bg", - "widget": { - "type": "color", - "default": "rgb(88, 73, 58)" - } - }, - "bar indicator text normal color": { - "lessVar": "@color_indexscrollbar_indicator_text_normal", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "bar indicator text selected color": { - "lessVar": "@color_indexscrollbar_indicator_text_selected", - "widget": { - "type": "color", - "default": "rgb(255, 144, 0)" - } - } - }, - "Listview": { - "border color": { - "lessVar": "@color_listview_border", - "widget": { - "type": "color", - "default": "rgb(74, 102, 144)" - } - }, - "text color": { - "lessVar": "@color_listview_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Focused button text color": { - "lessVar": "@color_list_btn_txt_focus", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Disabled element text color": { - "lessVar": "@color_listview_txt_disabled", - "widget": { - "type": "color", - "default": "rgb(51, 51, 51)" - } - }, - "List divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgb(66, 87, 144)" - } - }, - "List divider normal line background color": { - "lessVar": "@color_list_divider_line_bg", - "widget": { - "type": "color", - "default": "rgb(66, 87, 144)" - } - }, - "white background color": { - "lessVar": "@color_listview_bg_color_white", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "sub element text color": { - "lessVar": "@list_sub_txt_color", - "widget": { - "type": "color", - "default": "rgb(189, 167, 146)" - } - } - }, - "Scroller": { - "Tab indicator normal background color": { - "lessVar": "@color_tab_normal", - "widget": { - "type": "color", - "default": "rgb(53, 48, 44)" - } - }, - "Tab indicator active background color": { - "lessVar": "@color_tab_active", - "widget": { - "type": "color", - "default": "rgb(249, 145, 7)" - } - }, - "scrollbar color": { - "lessVar": "@color_scroller_scrollbar_color", - "widget": { - "type": "color", - "default": "#666666" - } - } - }, - "Drawer": { - "background color": { - "lessVar": "@color_drawer_bg", - "widget": { - "type": "color", - "default": "rgba(0,0,0,.85)" - } - }, - "border color": { - "lessVar": "@color_drawer_border", - "widget": { - "type": "color", - "default": "rgba(64, 64, 64, 1)" - } - }, - "listview button down background color": { - "lessVar": "@color_drawer_list_press", - "widget": { - "type": "color", - "default": "rgba(95, 160, 233, 1)" - } - }, - "button close background color": { - "lessVar": "@color_drawer_btn_close_background", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "footer button background color": { - "lessVar": "@color_drawer_footer_btn_background", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "listview elements background color": { - "lessVar": "@color_drawer_btn", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "listview not listdivider background color": { - "lessVar": "@color_drawer_listview_not_divider", - "widget": { - "type": "color", - "default": "rgb(42, 50, 64)" - } - }, - "listview not listdivider border color": { - "lessVar": "@color_drawer_listview_not_divider_border", - "widget": { - "type": "color", - "default": "rgb(6, 8, 11)" - } - }, - "list divider button color": { - "lessVar": "@color_drawer_divider_btn", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "footer button color": { - "lessVar": "@color_drawer_footer_btn", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "footer background color of dinamic list elements": { - "lessVar": "@color_drawer_dinamic_footer_background", - "widget": { - "type": "color", - "default": "rgb(45, 45, 45)" - } - }, - "footer background color of poster/icon elements": { - "lessVar": "@color_drawer_poster_icon_footer_background", - "widget": { - "type": "color", - "default": "rgb(45, 45, 45)" - } - } - }, - "Grid": { - "buttons text basic color": { - "lessVar": "@color_grid_txt_normal", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "Focused button border color": { - "lessVar": "@color_grid_btn_focus_border", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused thumbnail content background color": { - "lessVar": "@color_grid_btn_focus_thumb_content", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - } - }, - "Input": { - "background color": { - "lessVar": "@color_input_bg", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "text color": { - "lessVar": "@color_input_text", - "widget": { - "type": "color", - "default": "rgba(61, 61, 61, 0.5)" - } - }, - "border color": { - "lessVar": "@color_input_border", - "widget": { - "type": "color", - "default": "rgba(61, 61, 61, 0.5)" - } - }, - "Focused text color": { - "lessVar": "@color_input_text_focus", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "Number text color": { - "lessVar": "@color_input_number_text", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number background color": { - "lessVar": "@color_input_number_bg_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number border color": { - "lessVar": "@color_input_number_border_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number text color": { - "lessVar": "@color_input_number_text_focus", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - } - }, - "Scrollbar": { - "thumb background color": { - "lessVar": "@color_scrollbar_thumb_bg", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.25)" - } - } - }, - "Slider": { - "handle text color": { - "lessVar": "@color_slider_handle_text", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - }, - "handle pressed text color": { - "lessVar": "@color_slider_handle_text_press", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - }, - "popup text color": { - "lessVar": "@color_slider_popup_text", - "widget": { - "type": "color", - "default": "rgb(76, 81, 88)" - } - }, - "popup background color": { - "lessVar": "@color_slider_popup_bg", - "widget": { - "type": "color", - "default": "rgb(238, 238, 238)" - } - }, - "left text color": { - "lessVar": "@color_slider_left_text", - "widget": { - "type": "color", - "default": "rgb(186, 186, 186)" - } - }, - "right text color": { - "lessVar": "@color_slider_right_text", - "widget": { - "type": "color", - "default": "rgb(186, 186, 186)" - } - }, - "not toggle switch, background color": { - "lessVar": "@color_slider_not_toggle_switch", - "widget": { - "type": "color", - "default": "rgb(51, 67, 83)" - } - }, - "background color": { - "lessVar": "@color_slider_bg", - "widget": { - "type": "color", - "default": "rgb(65, 91, 254)" - } - }, - "lessbox shadow": { - "lessVar": "@slider_lessbox_shadow", - "widget": { - "type": "color", - "default": "rgb(116, 113, 127)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/tv.config.json b/tools/ThemeEditor/src/json/tv.config.json deleted file mode 100644 index 42b816e3..00000000 --- a/tools/ThemeEditor/src/json/tv.config.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "themes": { - "black": "res/less/tv/default/theme-black/" - }, - "devList": [ - { - "name": "1920 x 1080", - "displayWidth": 1920, - "displayHeight": 1080, - "pixelRatio": 1 - } - ], - "previewProperties": { - "maxBadgeCount": 5, - "initialZoom": 0.5, - "badges": [ - { - "name": "1920 x 1080", - "displayWidth": 1920, - "displayHeight": 1080, - "pixelRatio": 1, - "previewUrl": "../../../tau/demos/TVDemo/src/" - } - ], - "defaultBadge": - { - "name": "1920 x 1080", - "displayWidth": 1920, - "displayHeight": 1080, - "pixelRatio": 1 - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/tv.default.properties.json b/tools/ThemeEditor/src/json/tv.default.properties.json deleted file mode 100644 index 134dad96..00000000 --- a/tools/ThemeEditor/src/json/tv.default.properties.json +++ /dev/null @@ -1,368 +0,0 @@ -{ - "Body": { - "main background body color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgb(0, 0, 0)" - } - }, - "main body text color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - } - }, - "Content": { - "background color": { - "lessVar": "@color_content_bg", - "widget": { - "type": "color", - "default": "rgb(53, 80, 123)" - } - } - }, - "Toggle Switch": { - "text color": { - "lessVar": "@color_switch_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - } - }, - "Popup": { - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "border background color": { - "lessVar": "@color_popup_border", - "widget": { - "type": "color", - "default": "rgb(128, 72, 0)" - } - }, - "header background color": { - "lessVar": "@color_popup_header_bg", - "widget": { - "type": "color", - "default": "rgb(42,76,130)" - } - }, - "header border background color": { - "lessVar": "@color_popup_header_border", - "widget": { - "type": "color", - "default": "rgb(67, 67, 67)" - } - }, - "text color": { - "lessVar": "@color_popup_text", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "button background color - focused": { - "lessVar": "@color_popup_footer_btn_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "content text color": { - "lessVar": "@color_popup_text_content", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "shadow color": { - "lessVar": "@color_popup_shadow", - "widget": { - "type": "color", - "default": "rgba(0, 0, 0, 0.67)" - } - } - }, - "Listview": { - "border color": { - "lessVar": "@color_listview_border", - "widget": { - "type": "color", - "default": "rgb(74, 102, 144)" - } - }, - "text color": { - "lessVar": "@color_listview_text", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Focused button text color": { - "lessVar": "@color_list_btn_txt_focus", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "Disabled element text color": { - "lessVar": "@color_listview_txt_disabled", - "widget": { - "type": "color", - "default": "rgb(51, 51, 51)" - } - }, - "List divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgb(66, 87, 144)" - } - }, - "List divider normal line background color": { - "lessVar": "@color_list_divider_line_bg", - "widget": { - "type": "color", - "default": "rgb(66, 87, 144)" - } - }, - "white background color": { - "lessVar": "@color_listview_bg_color_white", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "sub element text color": { - "lessVar": "@list_sub_txt_color", - "widget": { - "type": "color", - "default": "rgb(189, 167, 146)" - } - } - }, - "Drawer": { - "background color": { - "lessVar": "@color_drawer_bg", - "widget": { - "type": "color", - "default": "rgba(0,0,0,.85)" - } - }, - "border color": { - "lessVar": "@color_drawer_border", - "widget": { - "type": "color", - "default": "rgba(64, 64, 64, 1)" - } - }, - "listview button down background color": { - "lessVar": "@color_drawer_list_press", - "widget": { - "type": "color", - "default": "rgba(95, 160, 233, 1)" - } - }, - "button close background color": { - "lessVar": "@color_drawer_btn_close_background", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "footer button background color": { - "lessVar": "@color_drawer_footer_btn_background", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "listview elements background color": { - "lessVar": "@color_drawer_btn", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "listview not listdivider background color": { - "lessVar": "@color_drawer_listview_not_divider", - "widget": { - "type": "color", - "default": "rgb(42, 50, 64)" - } - }, - "listview not listdivider border color": { - "lessVar": "@color_drawer_listview_not_divider_border", - "widget": { - "type": "color", - "default": "rgb(6, 8, 11)" - } - }, - "list divider button color": { - "lessVar": "@color_drawer_divider_btn", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "footer button color": { - "lessVar": "@color_drawer_footer_btn", - "widget": { - "type": "color", - "default": "rgb(211, 211, 211)" - } - }, - "footer background color of dinamic list elements": { - "lessVar": "@color_drawer_dinamic_footer_background", - "widget": { - "type": "color", - "default": "rgb(45, 45, 45)" - } - }, - "footer background color of poster/icon elements": { - "lessVar": "@color_drawer_poster_icon_footer_background", - "widget": { - "type": "color", - "default": "rgb(45, 45, 45)" - } - } - }, - "Input": { - "background color": { - "lessVar": "@color_input_bg", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - }, - "text color": { - "lessVar": "@color_input_text", - "widget": { - "type": "color", - "default": "rgba(61, 61, 61, 0.5)" - } - }, - "border color": { - "lessVar": "@color_input_border", - "widget": { - "type": "color", - "default": "rgba(61, 61, 61, 0.5)" - } - }, - "Focused text color": { - "lessVar": "@color_input_text_focus", - "widget": { - "type": "color", - "default": "rgb(61, 61, 61)" - } - }, - "Number text color": { - "lessVar": "@color_input_number_text", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number background color": { - "lessVar": "@color_input_number_bg_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number border color": { - "lessVar": "@color_input_number_border_focus", - "widget": { - "type": "color", - "default": "rgb(69, 143, 255)" - } - }, - "Focused number text color": { - "lessVar": "@color_input_number_text_focus", - "widget": { - "type": "color", - "default": "rgb(255, 255, 255)" - } - } - }, - "Slider": { - "handle text color": { - "lessVar": "@color_slider_handle_text", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - }, - "handle pressed text color": { - "lessVar": "@color_slider_handle_text_press", - "widget": { - "type": "color", - "default": "rgb(250, 250, 250)" - } - }, - "popup text color": { - "lessVar": "@color_slider_popup_text", - "widget": { - "type": "color", - "default": "rgb(76, 81, 88)" - } - }, - "popup background color": { - "lessVar": "@color_slider_popup_bg", - "widget": { - "type": "color", - "default": "rgb(238, 238, 238)" - } - }, - "left text color": { - "lessVar": "@color_slider_left_text", - "widget": { - "type": "color", - "default": "rgb(186, 186, 186)" - } - }, - "right text color": { - "lessVar": "@color_slider_right_text", - "widget": { - "type": "color", - "default": "rgb(186, 186, 186)" - } - }, - "not toggle switch, background color": { - "lessVar": "@color_slider_not_toggle_switch", - "widget": { - "type": "color", - "default": "rgb(51, 67, 83)" - } - }, - "background color": { - "lessVar": "@color_slider_bg", - "widget": { - "type": "color", - "default": "rgb(65, 91, 254)" - } - }, - "lessbox shadow": { - "lessVar": "@slider_lessbox_shadow", - "widget": { - "type": "color", - "default": "rgb(116, 113, 127)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/wearable.blue.properties.json b/tools/ThemeEditor/src/json/wearable.blue.properties.json deleted file mode 100644 index b2c86ca8..00000000 --- a/tools/ThemeEditor/src/json/wearable.blue.properties.json +++ /dev/null @@ -1,952 +0,0 @@ -{ - "Body": { - "Body main background color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "Body main font color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - } - }, - "Action Bar": { - "title text": { - "lessVar": "@color_actionbar_title_text", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "title background": { - "lessVar": "@color_actionbar_title_bg", - "widget": { - "type": "color", - "default": "rgba(0, 31, 56, 1)" - } - }, - "more background": { - "lessVar": "@color_actionbar_more_pressed_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "normal background": { - "lessVar": "@color_actionbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "disable background": { - "lessVar": "@color_actionbar_normal_disable", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 0.2)" - } - } - }, - "Progress Bar": { - "font color": { - "lessVar": "@color_progressbar_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background color": { - "lessVar": "@color_progressbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "value color": { - "lessVar": "@color_progressbar_value_bg", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "indeterminate color": { - "lessVar": "@color_progressbar_indeterminate", - "widget": { - "type": "color", - "default": "rgba(0, 77, 153, 1)" - } - } - }, - "Processing": { - "text color": { - "lessVar": "@color_processing_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "activity 01": { - "lessVar": "@color_processing_activity_01", - "widget": { - "type": "color", - "default": "rgba(0, 123, 255, 1)" - } - } - }, - "Toggle Switch": { - "text color": { - "lessVar": "@color_switch_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background on": { - "lessVar": "@color_toggle_on_bg", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "background on press": { - "lessVar": "@color_toggle_on_bg_press", - "widget": { - "type": "color", - "default": "rgba(71, 97, 37, 1)" - } - }, - "background on disabled": { - "lessVar": "@color_toggle_on_bg_dim", - "widget": { - "type": "color", - "default": "rgba(27, 33, 18, 1)" - } - }, - "background off": { - "lessVar": "@color_toggle_off_bg", - "widget": { - "type": "color", - "default": "rgba(128, 128, 128, 1)" - } - }, - "background off press": { - "lessVar": "@color_toggle_off_bg_press", - "widget": { - "type": "color", - "default": "rgba(97, 96, 96, 1)" - } - }, - "background off disabled": { - "lessVar": "@color_toggle_off_bg_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - }, - "handler on": { - "lessVar": "@color_toggle_on_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler on press": { - "lessVar": "@color_toggle_on_handler_press", - "widget": { - "type": "color", - "default": "rgba(173, 173, 173, 1)" - } - }, - "handler on disabled": { - "lessVar": "@color_toggle_on_handler_dim", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "handler off": { - "lessVar": "@color_toggle_off_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler off press": { - "lessVar": "@color_toggle_off_handler_press", - "widget": { - "type": "color", - "default": "rgba(173, 173, 173, 1)" - } - }, - "handler off disable": { - "lessVar": "@color_toggle_off_handler_dim", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "on handler on": { - "lessVar": "@color_toggle_on_handler_on", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "on handler on press": { - "lessVar": "@color_toggle_on_handler_on_press", - "widget": { - "type": "color", - "default": "rgba(71, 97, 37, 1)" - } - }, - "on handler on disable": { - "lessVar": "@color_toggle_on_handler_on_dim", - "widget": { - "type": "color", - "default": "rgba(27, 33, 18, 1)" - } - }, - "off handler off": { - "lessVar": "@color_toggle_off_handler_off", - "widget": { - "type": "color", - "default": "rgba(128, 128, 128, 1)" - } - }, - "off handler off press": { - "lessVar": "@color_toggle_off_handler_off_press", - "widget": { - "type": "color", - "default": "rgba(97, 96, 96, 1)" - } - }, - "off handler off disable": { - "lessVar": "@color_toggle_off_handler_off_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - } - }, - "Buttons": { - "default text color": { - "lessVar": "@color_button_default_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text press": { - "lessVar": "@color_button_default_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text disable": { - "lessVar": "@color_button_default_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "default normal background": { - "lessVar": "@color_button_default_normal_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "default normal focus background": { - "lessVar": "@color_button_default_focus_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "default normal press background": { - "lessVar": "@color_button_default_press_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "default normal disable background": { - "lessVar": "@color_button_default_disable_bg", - "widget": { - "type": "color", - "default": "rgba(3, 44, 64, 1)" - } - }, - "red button text color": { - "lessVar": "@color_button_red_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text press": { - "lessVar": "@color_button_red_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text disable": { - "lessVar": "@color_button_red_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "red button normal background": { - "lessVar": "@color_button_red_normal_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button focus background": { - "lessVar": "@color_button_red_focus_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button press background": { - "lessVar": "@color_button_red_press_bg", - "widget": { - "type": "color", - "default": "rgba(222, 102, 78, 1)" - } - }, - "red button disable background": { - "lessVar": "@color_button_red_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 11, 1, 1)" - } - }, - "orange button test color": { - "lessVar": "@color_button_orange_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button test press": { - "lessVar": "@color_button_orange_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button disable": { - "lessVar": "@color_button_orange_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "orange button normal background": { - "lessVar": "@color_button_orange_normal_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button focus background": { - "lessVar": "@color_button_orange_focus_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button press background": { - "lessVar": "@color_button_orange_press_bg", - "widget": { - "type": "color", - "default": "rgba(242, 171, 78, 1)" - } - }, - "orange button disable background": { - "lessVar": "@color_button_orange_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 39, 5, 1)" - } - }, - "green button text color": { - "lessVar": "@color_button_green_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button test press": { - "lessVar": "@color_button_green_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button disable": { - "lessVar": "@color_button_green_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "green button normal background": { - "lessVar": "@color_button_green_normal_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button focus background": { - "lessVar": "@color_button_green_focus_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button press background": { - "lessVar": "@color_button_green_press_bg", - "widget": { - "type": "color", - "default": "rgba(146, 191, 90, 1)" - } - }, - "green button disable background": { - "lessVar": "@color_button_green_disable_bg", - "widget": { - "type": "color", - "default": "rgba(50, 54, 48, 1)" - } - } - }, - "Popup": { - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgba(0, 17, 33, 1)" - } - }, - "header background": { - "lessVar": "@color_popup_header_bg", - "widget": { - "type": "color", - "default": "rgba(5, 42, 71, 1)" - } - }, - "border color": { - "lessVar": "@color_popup_border", - "widget": { - "type": "color", - "default": "rgba(0, 55, 92, 1)" - } - }, - "button background": { - "lessVar": "@color_popup_button_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "button press background": { - "lessVar": "@color_popup_button_press_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "overlay color": { - "lessVar": "@color_popup_overlay", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.7)" - } - } - }, - "Option Popup": { - "background color": { - "lessVar": "@color_option_popup_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "border color": { - "lessVar": "@color_option_popup_border", - "widget": { - "type": "color", - "default": "rgba(112, 112, 112, 0.9)" - } - }, - "list border color": { - "lessVar": "@color_option_popup_list_border", - "widget": { - "type": "color", - "default": "rgba(204, 204, 204, 1)" - } - }, - "list text color": { - "lessVar": "@color_option_popup_list_text", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "list text press color": { - "lessVar": "@color_option_popup_list_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable color": { - "lessVar": "@color_option_popup_list_text_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list background": { - "lessVar": "@color_option_popup_list_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list background press": { - "lessVar": "@color_option_popup_list_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(19, 99, 145, 1)" - } - }, - "list background disable": { - "lessVar": "@color_option_popup_list_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list icon background": { - "lessVar": "@color_option_popup_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(99, 99, 99, 0.9)" - } - }, - "list icon press background": { - "lessVar": "@color_option_popup_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list icon disable background": { - "lessVar": "@color_option_popup_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(99, 99, 99, 0.2)" - } - }, - "inline list border": { - "lessVar": "@color_option_popup_inline_list_border", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list icon background": { - "lessVar": "@color_option_popup_inline_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list background press": { - "lessVar": "@color_option_popup_inline_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "inline list background disable": { - "lessVar": "@color_option_popup_inline_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - } - }, - "index scrollbar (vertical)": { - "background color": { - "lessVar": "@color_indexscrollbar_bg", - "widget": { - "type": "color", - "default": "rgba(33, 33, 33, 1)" - } - }, - "background supplementary": { - "lessVar": "@color_indexscrollbar_bg_supplementary", - "widget": { - "type": "color", - "default": "rgba(43, 43, 43, 1)" - } - }, - "text color": { - "lessVar": "@color_indexscrollbar_text", - "widget": { - "type": "color", - "default": "rgba(84, 84, 84, 1)" - } - }, - "selected background": { - "lessVar": "@color_indexscrollbar_selected_bg", - "widget": { - "type": "color", - "default": "rgba(43, 43, 43, 1)" - } - }, - "selected background text color": { - "lessVar": "@color_indexscrollbar_selected_text", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "selected background text supplementary": { - "lessVar": "@color_indexscrollbar_selected_text_supplementary", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "indicator background": { - "lessVar": "@color_indexscrollbar_indicator_bg", - "widget": { - "type": "color", - "default": "rgba(0, 61, 107, 0.95)" - } - }, - "indicator normal text color": { - "lessVar": "@color_indexscrollbar_indicator_text_normal", - "widget": { - "type": "color", - "default": "rgba(250, 250, 250, 1)" - } - }, - "indicator selected text color": { - "lessVar": "@color_indexscrollbar_indicator_text_selected", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - } - }, - "Listview": { - "background press color": { - "lessVar": "@color_list_press_bg", - "widget": { - "type": "color", - "default": "rgba(8, 56, 94, 1)" - } - }, - "border color": { - "lessVar": "@color_listview_border", - "widget": { - "type": "color", - "default": "rgba(56, 56, 56, 1)" - } - }, - "text color": { - "lessVar": "@color_listview_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text color press": { - "lessVar": "@color_listview_text_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable": { - "lessVar": "@color_listview_text_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "text highlight": { - "lessVar": "@color_listview_text_highlight", - "widget": { - "type": "color", - "default": "rgba(14, 118, 179, 1)" - } - }, - "action icon divider": { - "lessVar": "@color_list_actionicon_divider", - "widget": { - "type": "color", - "default": "rgba(56, 56, 56, 1)" - } - }, - "action icon image normal": { - "lessVar": "@color_list_actionicon_image_normal", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "action icon image disable": { - "lessVar": "@color_list_actionicon_image_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "divider background": { - "lessVar": "@color_list_divider_bg", - "widget": { - "type": "color", - "default": "rgba(29, 72, 105, 1)" - } - }, - "divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgba(151, 197, 230, 1)" - } - } - }, - "Scroller": { - "tab normal color": { - "lessVar": "@color_tab_normal", - "widget": { - "type": "color", - "default": "rgba(76, 103, 125, 1)" - } - }, - "tab active color": { - "lessVar": "@color_tab_active", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "scroller scrollbar color": { - "lessVar": "@color_scroller_scrollbar_color", - "widget": { - "type": "color", - "default": "rgba(102, 102, 102, 1)" - } - } - }, - "Swipe list": { - "icon button message": { - "lessVar": "@color_list_swipe_icon_btn_msg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button message press": { - "lessVar": "@color_list_swipe_icon_btn_msg_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call": { - "lessVar": "@color_list_swipe_icon_btn_call", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call press": { - "lessVar": "@color_list_swipe_icon_btn_call_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "swipe left start background": { - "lessVar": "@color_list_swipe_left_start_bg", - "widget": { - "type": "color", - "default": "rgba(98, 168, 24, 1)" - } - }, - "swipe left end background": { - "lessVar": "@color_list_swipe_left_end_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "swipe right start background": { - "lessVar": "@color_list_swipe_right_start_bg", - "widget": { - "type": "color", - "default": "rgba(235, 164, 23, 1)" - } - }, - "swipe right end background": { - "lessVar": "@color_list_swipe_right_end_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - } - }, - "Checkbox/Radio": { - "radio box color": { - "lessVar": "@color_checkboxradio_radiobox", - "widget": { - "type": "color", - "default": "rgba(0, 14, 26, 1)" - } - }, - "radio box press color": { - "lessVar": "@color_checkboxradio_radiobox_press", - "widget": { - "type": "color", - "default": "rgba(0, 50, 84, 0.4)" - } - }, - "radio box disable": { - "lessVar": "@color_checkboxradio_radiobox_dim", - "widget": { - "type": "color", - "default": "rgba(31, 31, 31, 1)" - } - }, - "radio color": { - "lessVar": "@color_checkboxradio_radio", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "radio press": { - "lessVar": "@color_checkboxradio_radio_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "radio disable": { - "lessVar": "@color_checkboxradio_radio_dim", - "widget": { - "type": "color", - "default": "rgba(54, 54, 54, 1)" - } - }, - "radio box line": { - "lessVar": "@color_checkboxradio_radiobox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line press": { - "lessVar": "@color_checkboxradio_radiobox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line disable": { - "lessVar": "@color_checkboxradio_radiobox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "check color": { - "lessVar": "@color_checkboxradio_check", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "check press": { - "lessVar": "@color_checkboxradio_check_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "check disable": { - "lessVar": "@color_checkboxradio_check_dim", - "widget": { - "type": "color", - "default": "rgba(54, 54, 54, 1)" - } - }, - "checkbox": { - "lessVar": "@color_checkboxradio_checkbox", - "widget": { - "type": "color", - "default": "rgba(0, 14, 26, 1)" - } - }, - "checkbox press": { - "lessVar": "@color_checkboxradio_checkbox_press", - "widget": { - "type": "color", - "default": "rgba(0, 50, 84, 0.4)" - } - }, - "checkbox disable": { - "lessVar": "@color_checkboxradio_checkbox_dim", - "widget": { - "type": "color", - "default": "rgba(31, 31, 31, 1)" - } - }, - "checkbox line": { - "lessVar": "@color_checkboxradio_checkbox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line press": { - "lessVar": "@color_checkboxradio_checkbox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line disable": { - "lessVar": "@color_checkboxradio_checkbox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/wearable.brown.properties.json b/tools/ThemeEditor/src/json/wearable.brown.properties.json deleted file mode 100644 index 296916f6..00000000 --- a/tools/ThemeEditor/src/json/wearable.brown.properties.json +++ /dev/null @@ -1,952 +0,0 @@ -{ - "Body": { - "Body main background color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgba(36, 27, 19, 1)" - } - }, - "Body main font color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - } - }, - "Action Bar": { - "title text": { - "lessVar": "@color_actionbar_title_text", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "title background": { - "lessVar": "@color_actionbar_title_bg", - "widget": { - "type": "color", - "default": "rgba(51, 40, 30, 1)" - } - }, - "more background": { - "lessVar": "@color_actionbar_more_pressed_bg", - "widget": { - "type": "color", - "default": "rgba(110, 88, 67, 1)" - } - }, - "normal background": { - "lessVar": "@color_actionbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "disable background": { - "lessVar": "@color_actionbar_normal_disable", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 0.2)" - } - } - }, - "Progress Bar": { - "font color": { - "lessVar": "@color_progressbar_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background color": { - "lessVar": "@color_progressbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(66, 66, 66, 1)" - } - }, - "value color": { - "lessVar": "@color_progressbar_value_bg", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "indeterminate color": { - "lessVar": "@color_progressbar_indeterminate", - "widget": { - "type": "color", - "default": "rgba(153, 87, 0, 1)" - } - } - }, - "Processing": { - "text color": { - "lessVar": "@color_processing_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "activity 01": { - "lessVar": "@color_processing_activity_01", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - } - }, - "Toggle Switch": { - "text color": { - "lessVar": "@color_switch_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background on": { - "lessVar": "@color_toggle_on_bg", - "widget": { - "type": "color", - "default": "rgba(115, 191, 15, 1)" - } - }, - "background on press": { - "lessVar": "@color_toggle_on_bg_press", - "widget": { - "type": "color", - "default": "rgba(75, 102, 39, 1)" - } - }, - "background on disabled": { - "lessVar": "@color_toggle_on_bg_dim", - "widget": { - "type": "color", - "default": "rgba(31, 38, 21, 1)" - } - }, - "background off": { - "lessVar": "@color_toggle_off_bg", - "widget": { - "type": "color", - "default": "rgba(133, 133, 133, 1)" - } - }, - "background off press": { - "lessVar": "@color_toggle_off_bg_press", - "widget": { - "type": "color", - "default": "rgba(102, 101, 101, 1)" - } - }, - "background off disabled": { - "lessVar": "@color_toggle_off_bg_dim", - "widget": { - "type": "color", - "default": "rgba(64, 64, 64, 1)" - } - }, - "handler on": { - "lessVar": "@color_toggle_on_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler on press": { - "lessVar": "@color_toggle_on_handler_press", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "handler on disabled": { - "lessVar": "@color_toggle_on_handler_dim", - "widget": { - "type": "color", - "default": "rgba(77, 77, 77, 1)" - } - }, - "handler off": { - "lessVar": "@color_toggle_off_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler off press": { - "lessVar": "@color_toggle_off_handler_press", - "widget": { - "type": "color", - "default": "rgba(179, 179, 179, 1)" - } - }, - "handler off disable": { - "lessVar": "@color_toggle_off_handler_dim", - "widget": { - "type": "color", - "default": "rgba(77, 77, 77, 1)" - } - }, - "on handler on": { - "lessVar": "@color_toggle_on_handler_on", - "widget": { - "type": "color", - "default": "rgba(115, 191, 15, 1)" - } - }, - "on handler on press": { - "lessVar": "@color_toggle_on_handler_on_press", - "widget": { - "type": "color", - "default": "rgba(75, 102, 39, 1)" - } - }, - "on handler on disable": { - "lessVar": "@color_toggle_on_handler_on_dim", - "widget": { - "type": "color", - "default": "rgba(31, 38, 21, 1)" - } - }, - "off handler off": { - "lessVar": "@color_toggle_off_handler_off", - "widget": { - "type": "color", - "default": "rgba(133, 133, 133, 1)" - } - }, - "off handler off press": { - "lessVar": "@color_toggle_off_handler_off_press", - "widget": { - "type": "color", - "default": "rgba(102, 101, 101, 1)" - } - }, - "off handler off disable": { - "lessVar": "@color_toggle_off_handler_off_dim", - "widget": { - "type": "color", - "default": "rgba(64, 64, 64, 1)" - } - } - }, - "Buttons": { - "default text color": { - "lessVar": "@color_button_default_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text press": { - "lessVar": "@color_button_default_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text disable": { - "lessVar": "@color_button_default_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "default normal background": { - "lessVar": "@color_button_default_normal_bg", - "widget": { - "type": "color", - "default": "rgba(74, 64, 55, 1)" - } - }, - "default normal focus background": { - "lessVar": "@color_button_default_focus_bg", - "widget": { - "type": "color", - "default": "rgba(74, 64, 55, 1)" - } - }, - "default normal press background": { - "lessVar": "@color_button_default_press_bg", - "widget": { - "type": "color", - "default": "rgba(110, 88, 67, 1)" - } - }, - "default normal disable background": { - "lessVar": "@color_button_default_disable_bg", - "widget": { - "type": "color", - "default": "rgba(13, 12, 11, 1)" - } - }, - "red button text color": { - "lessVar": "@color_button_red_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text press": { - "lessVar": "@color_button_red_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text disable": { - "lessVar": "@color_button_red_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "red button normal background": { - "lessVar": "@color_button_red_normal_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button focus background": { - "lessVar": "@color_button_red_focus_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button press background": { - "lessVar": "@color_button_red_press_bg", - "widget": { - "type": "color", - "default": "rgba(222, 102, 78, 1)" - } - }, - "red button disable background": { - "lessVar": "@color_button_red_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 11, 1, 1)" - } - }, - "orange button test color": { - "lessVar": "@color_button_orange_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button test press": { - "lessVar": "@color_button_orange_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button disable": { - "lessVar": "@color_button_orange_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "orange button normal background": { - "lessVar": "@color_button_orange_normal_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button focus background": { - "lessVar": "@color_button_orange_focus_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button press background": { - "lessVar": "@color_button_orange_press_bg", - "widget": { - "type": "color", - "default": "rgba(242, 171, 78, 0.4)" - } - }, - "orange button disable background": { - "lessVar": "@color_button_orange_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 39, 5, 1)" - } - }, - "green button text color": { - "lessVar": "@color_button_green_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button test press": { - "lessVar": "@color_button_green_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button disable": { - "lessVar": "@color_button_green_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "green button normal background": { - "lessVar": "@color_button_green_normal_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button focus background": { - "lessVar": "@color_button_green_focus_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button press background": { - "lessVar": "@color_button_green_press_bg", - "widget": { - "type": "color", - "default": "rgba(146, 191, 90, 1)" - } - }, - "green button disable background": { - "lessVar": "@color_button_green_disable_bg", - "widget": { - "type": "color", - "default": "rgba(50, 54, 48, 1)" - } - } - }, - "Popup": { - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgba(242, 159, 51, 1)" - } - }, - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgba(31, 24, 19, 1)" - } - }, - "header background": { - "lessVar": "@color_popup_header_bg", - "widget": { - "type": "color", - "default": "rgba(43, 37, 31, 1)" - } - }, - "border color": { - "lessVar": "@color_popup_border", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "button background": { - "lessVar": "@color_popup_button_bg", - "widget": { - "type": "color", - "default": "rgba(74, 65, 54, 1)" - } - }, - "button press background": { - "lessVar": "@color_popup_button_press_bg", - "widget": { - "type": "color", - "default": "rgba(99, 93, 90, 1)" - } - }, - "overlay color": { - "lessVar": "@color_popup_overlay", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.7)" - } - } - }, - "Option Popup": { - "background color": { - "lessVar": "@color_option_popup_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "border color": { - "lessVar": "@color_option_popup_border", - "widget": { - "type": "color", - "default": "rgba(117, 117, 117, 0.9)" - } - }, - "list border color": { - "lessVar": "@color_option_popup_list_border", - "widget": { - "type": "color", - "default": "rgba(204, 204, 204, 1)" - } - }, - "list text color": { - "lessVar": "@color_option_popup_list_text", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "list text press color": { - "lessVar": "@color_option_popup_list_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable color": { - "lessVar": "@color_option_popup_list_text_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list background": { - "lessVar": "@color_option_popup_list_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list background press": { - "lessVar": "@color_option_popup_list_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(217, 130, 17, 1)" - } - }, - "list background disable": { - "lessVar": "@color_option_popup_list_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list icon background": { - "lessVar": "@color_option_popup_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(107, 107, 107, 0.9)" - } - }, - "list icon press background": { - "lessVar": "@color_option_popup_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list icon disable background": { - "lessVar": "@color_option_popup_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(107, 107, 107, 0.2)" - } - }, - "inline list border": { - "lessVar": "@color_option_popup_inline_list_border", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list icon background": { - "lessVar": "@color_option_popup_inline_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list background press": { - "lessVar": "@color_option_popup_inline_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "inline list background disable": { - "lessVar": "@color_option_popup_inline_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - } - }, - "index scrollbar (vertical)": { - "background color": { - "lessVar": "@color_indexscrollbar_bg", - "widget": { - "type": "color", - "default": "rgba(41, 41, 41, 1)" - } - }, - "background supplementary": { - "lessVar": "@color_indexscrollbar_bg_supplementary", - "widget": { - "type": "color", - "default": "rgba(51, 51, 51, 1)" - } - }, - "text color": { - "lessVar": "@color_indexscrollbar_text", - "widget": { - "type": "color", - "default": "rgba(89, 89, 89, 1)" - } - }, - "selected background": { - "lessVar": "@color_indexscrollbar_selected_bg", - "widget": { - "type": "color", - "default": "rgba(51, 51, 51, 1)" - } - }, - "selected background text color": { - "lessVar": "@color_indexscrollbar_selected_text", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "selected background text supplementary": { - "lessVar": "@color_indexscrollbar_selected_text_supplementary", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "indicator background": { - "lessVar": "@color_indexscrollbar_indicator_bg", - "widget": { - "type": "color", - "default": "rgba(89, 74, 59, 0.95)" - } - }, - "indicator normal text color": { - "lessVar": "@color_indexscrollbar_indicator_text_normal", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "indicator selected text color": { - "lessVar": "@color_indexscrollbar_indicator_text_selected", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - } - }, - "Listview": { - "background press color": { - "lessVar": "@color_list_press_bg", - "widget": { - "type": "color", - "default": "rgba(89, 74, 59, 1)" - } - }, - "border color": { - "lessVar": "@color_listview_border", - "widget": { - "type": "color", - "default": "rgba(46, 46, 46, 1)" - } - }, - "text color": { - "lessVar": "@color_listview_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text color press": { - "lessVar": "@color_listview_text_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable": { - "lessVar": "@color_listview_text_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "text highlight": { - "lessVar": "@color_listview_text_highlight", - "widget": { - "type": "color", - "default": "rgba(255, 145, 0, 1)" - } - }, - "action icon divider": { - "lessVar": "@color_list_actionicon_divider", - "widget": { - "type": "color", - "default": "rgba(56, 56, 56, 1)" - } - }, - "action icon image normal": { - "lessVar": "@color_list_actionicon_image_normal", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "action icon image disable": { - "lessVar": "@color_list_actionicon_image_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "divider background": { - "lessVar": "@color_list_divider_bg", - "widget": { - "type": "color", - "default": "rgba(79, 74, 70, 1)" - } - }, - "divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - } - }, - "Scroller": { - "tab normal color": { - "lessVar": "@color_tab_normal", - "widget": { - "type": "color", - "default": "rgba(64, 58, 53, 1)" - } - }, - "tab active color": { - "lessVar": "@color_tab_active", - "widget": { - "type": "color", - "default": "rgba(250, 145, 7, 1)" - } - }, - "scroller scrollbar color": { - "lessVar": "@color_scroller_scrollbar_color", - "widget": { - "type": "color", - "default": "rgba(110, 110, 110, 1)" - } - } - }, - "Swipe list": { - "icon button message": { - "lessVar": "@color_list_swipe_icon_btn_msg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button message press": { - "lessVar": "@color_list_swipe_icon_btn_msg_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call": { - "lessVar": "@color_list_swipe_icon_btn_call", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call press": { - "lessVar": "@color_list_swipe_icon_btn_call_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "swipe left start background": { - "lessVar": "@color_list_swipe_left_start_bg", - "widget": { - "type": "color", - "default": "rgba(98, 168, 24, 1)" - } - }, - "swipe left end background": { - "lessVar": "@color_list_swipe_left_end_bg", - "widget": { - "type": "color", - "default": "rgba(36, 27, 19, 1)" - } - }, - "swipe right start background": { - "lessVar": "@color_list_swipe_right_start_bg", - "widget": { - "type": "color", - "default": "rgba(235, 164, 23, 1)" - } - }, - "swipe right end background": { - "lessVar": "@color_list_swipe_right_end_bg", - "widget": { - "type": "color", - "default": "rgba(36, 27, 19, 1)" - } - } - }, - "Checkbox/Radio": { - "radio box color": { - "lessVar": "@color_checkboxradio_radiobox", - "widget": { - "type": "color", - "default": "rgba(18, 9, 0, 1)" - } - }, - "radio box press color": { - "lessVar": "@color_checkboxradio_radiobox_press", - "widget": { - "type": "color", - "default": "rgba(79, 36, 0, 0.4)" - } - }, - "radio box disable": { - "lessVar": "@color_checkboxradio_radiobox_dim", - "widget": { - "type": "color", - "default": "rgba(36, 36, 36, 1)" - } - }, - "radio color": { - "lessVar": "@color_checkboxradio_radio", - "widget": { - "type": "color", - "default": "rgba(115, 191, 15, 1)" - } - }, - "radio press": { - "lessVar": "@color_checkboxradio_radio_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "radio disable": { - "lessVar": "@color_checkboxradio_radio_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - }, - "radio box line": { - "lessVar": "@color_checkboxradio_radiobox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line press": { - "lessVar": "@color_checkboxradio_radiobox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line disable": { - "lessVar": "@color_checkboxradio_radiobox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "check color": { - "lessVar": "@color_checkboxradio_check", - "widget": { - "type": "color", - "default": "rgba(115, 191, 15, 1)" - } - }, - "check press": { - "lessVar": "@color_checkboxradio_check_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "check disable": { - "lessVar": "@color_checkboxradio_check_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - }, - "checkbox": { - "lessVar": "@color_checkboxradio_checkbox", - "widget": { - "type": "color", - "default": "rgba(18, 9, 0, 1)" - } - }, - "checkbox press": { - "lessVar": "@color_checkboxradio_checkbox_press", - "widget": { - "type": "color", - "default": "rgba(79, 36, 0, 0.4)" - } - }, - "checkbox disable": { - "lessVar": "@color_checkboxradio_checkbox_dim", - "widget": { - "type": "color", - "default": "rgba(36, 36, 36, 1)" - } - }, - "checkbox line": { - "lessVar": "@color_checkboxradio_checkbox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line press": { - "lessVar": "@color_checkboxradio_checkbox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line disable": { - "lessVar": "@color_checkboxradio_checkbox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/wearable.config.json b/tools/ThemeEditor/src/json/wearable.config.json deleted file mode 100644 index ff1f6238..00000000 --- a/tools/ThemeEditor/src/json/wearable.config.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "themes": { - "default": "res/less/wearable/changeable/theme-changeable/", - "blue": "res/less/wearable/changeable/theme-changeable/", - "brown": "res/less/wearable/default/theme-brown/" - }, - "devList": [ - { - "name": "360 x 480", - "displayWidth": 360, - "displayHeight": 480, - "pixelRatio": 1 - }, - { - "name": "320 x 320", - "displayWidth": 320, - "displayHeight": 320, - "pixelRatio": 1 - } - ], - "previewProperties": { - "maxBadgeCount": 5, - "initialZoom": 1, - "badges": [ - { - "name": "360 x 480", - "displayWidth": 360, - "displayHeight": 480, - "pixelRatio": 1, - "previewUrl": "../../../tau/demos/SDK/WearableWidgetSample/" - }, - { - "name": "320 x 320", - "displayWidth": 320, - "displayHeight": 320, - "pixelRatio": 1, - "previewUrl": "../../../tau/demos/SDK/WearableWidgetSample/" - } - ], - "defaultBadge": - { - "name": "360 x 480", - "displayWidth": 360, - "displayHeight": 480, - "pixelRatio": 1 - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/json/wearable.default.properties.json b/tools/ThemeEditor/src/json/wearable.default.properties.json deleted file mode 100644 index b2c86ca8..00000000 --- a/tools/ThemeEditor/src/json/wearable.default.properties.json +++ /dev/null @@ -1,952 +0,0 @@ -{ - "Body": { - "Body main background color": { - "lessVar": "@color_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "Body main font color": { - "lessVar": "@color_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - } - }, - "Action Bar": { - "title text": { - "lessVar": "@color_actionbar_title_text", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "title background": { - "lessVar": "@color_actionbar_title_bg", - "widget": { - "type": "color", - "default": "rgba(0, 31, 56, 1)" - } - }, - "more background": { - "lessVar": "@color_actionbar_more_pressed_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "normal background": { - "lessVar": "@color_actionbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "disable background": { - "lessVar": "@color_actionbar_normal_disable", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 0.2)" - } - } - }, - "Progress Bar": { - "font color": { - "lessVar": "@color_progressbar_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background color": { - "lessVar": "@color_progressbar_normal_bg", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "value color": { - "lessVar": "@color_progressbar_value_bg", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "indeterminate color": { - "lessVar": "@color_progressbar_indeterminate", - "widget": { - "type": "color", - "default": "rgba(0, 77, 153, 1)" - } - } - }, - "Processing": { - "text color": { - "lessVar": "@color_processing_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "activity 01": { - "lessVar": "@color_processing_activity_01", - "widget": { - "type": "color", - "default": "rgba(0, 123, 255, 1)" - } - } - }, - "Toggle Switch": { - "text color": { - "lessVar": "@color_switch_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "background on": { - "lessVar": "@color_toggle_on_bg", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "background on press": { - "lessVar": "@color_toggle_on_bg_press", - "widget": { - "type": "color", - "default": "rgba(71, 97, 37, 1)" - } - }, - "background on disabled": { - "lessVar": "@color_toggle_on_bg_dim", - "widget": { - "type": "color", - "default": "rgba(27, 33, 18, 1)" - } - }, - "background off": { - "lessVar": "@color_toggle_off_bg", - "widget": { - "type": "color", - "default": "rgba(128, 128, 128, 1)" - } - }, - "background off press": { - "lessVar": "@color_toggle_off_bg_press", - "widget": { - "type": "color", - "default": "rgba(97, 96, 96, 1)" - } - }, - "background off disabled": { - "lessVar": "@color_toggle_off_bg_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - }, - "handler on": { - "lessVar": "@color_toggle_on_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler on press": { - "lessVar": "@color_toggle_on_handler_press", - "widget": { - "type": "color", - "default": "rgba(173, 173, 173, 1)" - } - }, - "handler on disabled": { - "lessVar": "@color_toggle_on_handler_dim", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "handler off": { - "lessVar": "@color_toggle_off_handler", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "handler off press": { - "lessVar": "@color_toggle_off_handler_press", - "widget": { - "type": "color", - "default": "rgba(173, 173, 173, 1)" - } - }, - "handler off disable": { - "lessVar": "@color_toggle_off_handler_dim", - "widget": { - "type": "color", - "default": "rgba(71, 71, 71, 1)" - } - }, - "on handler on": { - "lessVar": "@color_toggle_on_handler_on", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "on handler on press": { - "lessVar": "@color_toggle_on_handler_on_press", - "widget": { - "type": "color", - "default": "rgba(71, 97, 37, 1)" - } - }, - "on handler on disable": { - "lessVar": "@color_toggle_on_handler_on_dim", - "widget": { - "type": "color", - "default": "rgba(27, 33, 18, 1)" - } - }, - "off handler off": { - "lessVar": "@color_toggle_off_handler_off", - "widget": { - "type": "color", - "default": "rgba(128, 128, 128, 1)" - } - }, - "off handler off press": { - "lessVar": "@color_toggle_off_handler_off_press", - "widget": { - "type": "color", - "default": "rgba(97, 96, 96, 1)" - } - }, - "off handler off disable": { - "lessVar": "@color_toggle_off_handler_off_dim", - "widget": { - "type": "color", - "default": "rgba(59, 59, 59, 1)" - } - } - }, - "Buttons": { - "default text color": { - "lessVar": "@color_button_default_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text press": { - "lessVar": "@color_button_default_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "default text disable": { - "lessVar": "@color_button_default_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "default normal background": { - "lessVar": "@color_button_default_normal_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "default normal focus background": { - "lessVar": "@color_button_default_focus_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "default normal press background": { - "lessVar": "@color_button_default_press_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "default normal disable background": { - "lessVar": "@color_button_default_disable_bg", - "widget": { - "type": "color", - "default": "rgba(3, 44, 64, 1)" - } - }, - "red button text color": { - "lessVar": "@color_button_red_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text press": { - "lessVar": "@color_button_red_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "red button text disable": { - "lessVar": "@color_button_red_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "red button normal background": { - "lessVar": "@color_button_red_normal_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button focus background": { - "lessVar": "@color_button_red_focus_bg", - "widget": { - "type": "color", - "default": "rgba(207, 36, 2, 1)" - } - }, - "red button press background": { - "lessVar": "@color_button_red_press_bg", - "widget": { - "type": "color", - "default": "rgba(222, 102, 78, 1)" - } - }, - "red button disable background": { - "lessVar": "@color_button_red_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 11, 1, 1)" - } - }, - "orange button test color": { - "lessVar": "@color_button_orange_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button test press": { - "lessVar": "@color_button_orange_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "orange button disable": { - "lessVar": "@color_button_orange_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "orange button normal background": { - "lessVar": "@color_button_orange_normal_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button focus background": { - "lessVar": "@color_button_orange_focus_bg", - "widget": { - "type": "color", - "default": "rgba(237, 134, 0, 1)" - } - }, - "orange button press background": { - "lessVar": "@color_button_orange_press_bg", - "widget": { - "type": "color", - "default": "rgba(242, 171, 78, 1)" - } - }, - "orange button disable background": { - "lessVar": "@color_button_orange_disable_bg", - "widget": { - "type": "color", - "default": "rgba(69, 39, 5, 1)" - } - }, - "green button text color": { - "lessVar": "@color_button_green_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button test press": { - "lessVar": "@color_button_green_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "green button disable": { - "lessVar": "@color_button_green_text_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.2)" - } - }, - "green button normal background": { - "lessVar": "@color_button_green_normal_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button focus background": { - "lessVar": "@color_button_green_focus_bg", - "widget": { - "type": "color", - "default": "rgba(97, 163, 16, 1)" - } - }, - "green button press background": { - "lessVar": "@color_button_green_press_bg", - "widget": { - "type": "color", - "default": "rgba(146, 191, 90, 1)" - } - }, - "green button disable background": { - "lessVar": "@color_button_green_disable_bg", - "widget": { - "type": "color", - "default": "rgba(50, 54, 48, 1)" - } - } - }, - "Popup": { - "title text color": { - "lessVar": "@color_popup_title_text", - "widget": { - "type": "color", - "default": "rgba(116, 196, 252, 1)" - } - }, - "background color": { - "lessVar": "@color_popup_bg", - "widget": { - "type": "color", - "default": "rgba(0, 17, 33, 1)" - } - }, - "header background": { - "lessVar": "@color_popup_header_bg", - "widget": { - "type": "color", - "default": "rgba(5, 42, 71, 1)" - } - }, - "border color": { - "lessVar": "@color_popup_border", - "widget": { - "type": "color", - "default": "rgba(0, 55, 92, 1)" - } - }, - "button background": { - "lessVar": "@color_popup_button_bg", - "widget": { - "type": "color", - "default": "rgba(2, 56, 92, 1)" - } - }, - "button press background": { - "lessVar": "@color_popup_button_press_bg", - "widget": { - "type": "color", - "default": "rgba(23, 73, 115, 1)" - } - }, - "overlay color": { - "lessVar": "@color_popup_overlay", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.7)" - } - } - }, - "Option Popup": { - "background color": { - "lessVar": "@color_option_popup_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "border color": { - "lessVar": "@color_option_popup_border", - "widget": { - "type": "color", - "default": "rgba(112, 112, 112, 0.9)" - } - }, - "list border color": { - "lessVar": "@color_option_popup_list_border", - "widget": { - "type": "color", - "default": "rgba(204, 204, 204, 1)" - } - }, - "list text color": { - "lessVar": "@color_option_popup_list_text", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "list text press color": { - "lessVar": "@color_option_popup_list_text_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable color": { - "lessVar": "@color_option_popup_list_text_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list background": { - "lessVar": "@color_option_popup_list_bg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list background press": { - "lessVar": "@color_option_popup_list_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(19, 99, 145, 1)" - } - }, - "list background disable": { - "lessVar": "@color_option_popup_list_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - }, - "list icon background": { - "lessVar": "@color_option_popup_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(99, 99, 99, 0.9)" - } - }, - "list icon press background": { - "lessVar": "@color_option_popup_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "list icon disable background": { - "lessVar": "@color_option_popup_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(99, 99, 99, 0.2)" - } - }, - "inline list border": { - "lessVar": "@color_option_popup_inline_list_border", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list icon background": { - "lessVar": "@color_option_popup_inline_list_icon_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "inline list background press": { - "lessVar": "@color_option_popup_inline_list_icon_bg_pressed", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "inline list background disable": { - "lessVar": "@color_option_popup_inline_list_icon_bg_disable", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 0.2)" - } - } - }, - "index scrollbar (vertical)": { - "background color": { - "lessVar": "@color_indexscrollbar_bg", - "widget": { - "type": "color", - "default": "rgba(33, 33, 33, 1)" - } - }, - "background supplementary": { - "lessVar": "@color_indexscrollbar_bg_supplementary", - "widget": { - "type": "color", - "default": "rgba(43, 43, 43, 1)" - } - }, - "text color": { - "lessVar": "@color_indexscrollbar_text", - "widget": { - "type": "color", - "default": "rgba(84, 84, 84, 1)" - } - }, - "selected background": { - "lessVar": "@color_indexscrollbar_selected_bg", - "widget": { - "type": "color", - "default": "rgba(43, 43, 43, 1)" - } - }, - "selected background text color": { - "lessVar": "@color_indexscrollbar_selected_text", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "selected background text supplementary": { - "lessVar": "@color_indexscrollbar_selected_text_supplementary", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "indicator background": { - "lessVar": "@color_indexscrollbar_indicator_bg", - "widget": { - "type": "color", - "default": "rgba(0, 61, 107, 0.95)" - } - }, - "indicator normal text color": { - "lessVar": "@color_indexscrollbar_indicator_text_normal", - "widget": { - "type": "color", - "default": "rgba(250, 250, 250, 1)" - } - }, - "indicator selected text color": { - "lessVar": "@color_indexscrollbar_indicator_text_selected", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - } - }, - "Listview": { - "background press color": { - "lessVar": "@color_list_press_bg", - "widget": { - "type": "color", - "default": "rgba(8, 56, 94, 1)" - } - }, - "border color": { - "lessVar": "@color_listview_border", - "widget": { - "type": "color", - "default": "rgba(56, 56, 56, 1)" - } - }, - "text color": { - "lessVar": "@color_listview_text", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text color press": { - "lessVar": "@color_listview_text_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "text disable": { - "lessVar": "@color_listview_text_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "text highlight": { - "lessVar": "@color_listview_text_highlight", - "widget": { - "type": "color", - "default": "rgba(14, 118, 179, 1)" - } - }, - "action icon divider": { - "lessVar": "@color_list_actionicon_divider", - "widget": { - "type": "color", - "default": "rgba(56, 56, 56, 1)" - } - }, - "action icon image normal": { - "lessVar": "@color_list_actionicon_image_normal", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "action icon image disable": { - "lessVar": "@color_list_actionicon_image_disable", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.4)" - } - }, - "divider background": { - "lessVar": "@color_list_divider_bg", - "widget": { - "type": "color", - "default": "rgba(29, 72, 105, 1)" - } - }, - "divider text color": { - "lessVar": "@color_list_divider_text", - "widget": { - "type": "color", - "default": "rgba(151, 197, 230, 1)" - } - } - }, - "Scroller": { - "tab normal color": { - "lessVar": "@color_tab_normal", - "widget": { - "type": "color", - "default": "rgba(76, 103, 125, 1)" - } - }, - "tab active color": { - "lessVar": "@color_tab_active", - "widget": { - "type": "color", - "default": "rgba(55, 161, 237, 1)" - } - }, - "scroller scrollbar color": { - "lessVar": "@color_scroller_scrollbar_color", - "widget": { - "type": "color", - "default": "rgba(102, 102, 102, 1)" - } - } - }, - "Swipe list": { - "icon button message": { - "lessVar": "@color_list_swipe_icon_btn_msg", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button message press": { - "lessVar": "@color_list_swipe_icon_btn_msg_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call": { - "lessVar": "@color_list_swipe_icon_btn_call", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "icon button call press": { - "lessVar": "@color_list_swipe_icon_btn_call_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "swipe left start background": { - "lessVar": "@color_list_swipe_left_start_bg", - "widget": { - "type": "color", - "default": "rgba(98, 168, 24, 1)" - } - }, - "swipe left end background": { - "lessVar": "@color_list_swipe_left_end_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - }, - "swipe right start background": { - "lessVar": "@color_list_swipe_right_start_bg", - "widget": { - "type": "color", - "default": "rgba(235, 164, 23, 1)" - } - }, - "swipe right end background": { - "lessVar": "@color_list_swipe_right_end_bg", - "widget": { - "type": "color", - "default": "rgba(8, 8, 8, 1)" - } - } - }, - "Checkbox/Radio": { - "radio box color": { - "lessVar": "@color_checkboxradio_radiobox", - "widget": { - "type": "color", - "default": "rgba(0, 14, 26, 1)" - } - }, - "radio box press color": { - "lessVar": "@color_checkboxradio_radiobox_press", - "widget": { - "type": "color", - "default": "rgba(0, 50, 84, 0.4)" - } - }, - "radio box disable": { - "lessVar": "@color_checkboxradio_radiobox_dim", - "widget": { - "type": "color", - "default": "rgba(31, 31, 31, 1)" - } - }, - "radio color": { - "lessVar": "@color_checkboxradio_radio", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "radio press": { - "lessVar": "@color_checkboxradio_radio_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "radio disable": { - "lessVar": "@color_checkboxradio_radio_dim", - "widget": { - "type": "color", - "default": "rgba(54, 54, 54, 1)" - } - }, - "radio box line": { - "lessVar": "@color_checkboxradio_radiobox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line press": { - "lessVar": "@color_checkboxradio_radiobox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "radio box line disable": { - "lessVar": "@color_checkboxradio_radiobox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "check color": { - "lessVar": "@color_checkboxradio_check", - "widget": { - "type": "color", - "default": "rgba(112, 186, 15, 1)" - } - }, - "check press": { - "lessVar": "@color_checkboxradio_check_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 1)" - } - }, - "check disable": { - "lessVar": "@color_checkboxradio_check_dim", - "widget": { - "type": "color", - "default": "rgba(54, 54, 54, 1)" - } - }, - "checkbox": { - "lessVar": "@color_checkboxradio_checkbox", - "widget": { - "type": "color", - "default": "rgba(0, 14, 26, 1)" - } - }, - "checkbox press": { - "lessVar": "@color_checkboxradio_checkbox_press", - "widget": { - "type": "color", - "default": "rgba(0, 50, 84, 0.4)" - } - }, - "checkbox disable": { - "lessVar": "@color_checkboxradio_checkbox_dim", - "widget": { - "type": "color", - "default": "rgba(31, 31, 31, 1)" - } - }, - "checkbox line": { - "lessVar": "@color_checkboxradio_checkbox_line", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line press": { - "lessVar": "@color_checkboxradio_checkbox_line_press", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - }, - "checkbox line disable": { - "lessVar": "@color_checkboxradio_checkbox_line_dim", - "widget": { - "type": "color", - "default": "rgba(245, 245, 245, 0.3)" - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/less/helpers.less b/tools/ThemeEditor/src/less/helpers.less deleted file mode 100644 index e549862b..00000000 --- a/tools/ThemeEditor/src/less/helpers.less +++ /dev/null @@ -1,47 +0,0 @@ -.box-sizing(@sizing) { - -webkit-box-sizing: @sizing; /* Safari/Chrome, other WebKit */ - -moz-box-sizing: @sizing; /* Firefox, other Gecko */ - box-sizing: @sizing; /* Opera/IE 8+ */ -} - -.box-shadow(@shadow) { - -moz-box-shadow: @shadow; - -webkit-box-shadow: @shadow; - box-shadow: @shadow; -} - -.border-radius(@radius) { - -webkit-border-radius: @radius; - -moz-border-radius: @radius; - -o-border-radius: @radius; - border-radius: @radius; -} - -.gradient(@color, @start, @stop){ - background: @color; - background: -webkit-gradient(linear, - left bottom, - left top, - color-stop(0, @start), - color-stop(1, @stop)); - background: -ms-linear-gradient(bottom, - @start, - @stop); - background: -moz-linear-gradient(center bottom, - @start 0%, - @stop 100%); - background: -o-linear-gradient(@stop, - @start); - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start)); -} - -.transition(@transition) { - -webkit-transition: @transition; - -moz-transition: @transition; - -o-transition: @transition; - transition: @transition; -} - -.user-select { - -webkit-user-select: none; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.button.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.button.less deleted file mode 100644 index b621da2a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.button.less +++ /dev/null @@ -1,439 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ - - -/* Edit button size */ -@height_buttonEdit: 74 * @unit_base; -@width_buttonEdit: @height_buttonEdit; - -.ui-btn { - display: block; - text-align: center; - cursor:pointer; - position: relative; - vertical-align: middle; - text-decoration: none; -} /* wongi_1018 : For button align. */ - -.ui-footer, .ui-ticker-btn { - .ui-btn.ui-btn-box-s { - margin-top: 0; - margin-bottom: 0; - } -} -.ui-btn.ui-btn-box-s { - margin-top: 6 * @unit_base; - margin-bottom: 6 * @unit_base; - color: @color_button_text_normal; - font-size: @font_size_button_text; -} - -.ui-btn:focus, .ui-btn:active { outline: none; } -.ui-header > .ui-btn, .ui-bar > .ui-btn { display: inline-block; margin: 0; } -.ui-btn-inline { display: inline-block; } -.ui-btn-inner { - display: block; - position: relative; - zoom: 1; - line-height: 38 * @unit_base; - padding-top: 3.5 * @unit_base; - padding-bottom: 3.5 * @unit_base; - - .LESStext-ellipsis(); -} - - -/*btn icon positioning*/ -.ui-btn-icon-notext .ui-icon { display: block; } -.ui-btn-icon-left .ui-icon, .ui-btn-icon-right .ui-icon, .ui-btn-icon-circle .ui-icon { position: absolute; /*top: 50%; margin-top: -9px;*/ } /* wongi_1018 : do not use. No more use 18px default icons. */ - - -.ui-btn-icon-top .ui-icon, .ui-btn-icon-bottom .ui-icon { - position: absolute; - left: 50%; - transform: translate(-50%, 0); - .translate(-50%, 0); -} -.ui-btn-icon-left .ui-icon { left: 7 * @unit_base; } -.ui-btn-icon-circle .ui-icon {left: 0 * @unit_base; } /* wongi_1018 : for circle icon center positioning. */ -.ui-btn-icon-right .ui-icon { right: 4 * @unit_base; } -.ui-btn-icon-top .ui-icon { top: 0 * @unit_base; margin-top: 0; } -.ui-btn-icon-bottom .ui-icon { bottom: 0 * @unit_base; } - -.iconposition { - &.ui-btn-icon-right { - .ui-icon { - right: 4 * @unit_base; - } - } - - &.ui-btn-icon-top { - .ui-icon { - top: 4 * @unit_base; - } - - &.ui-btn-icon_only { - .ui-icon { - top: 10 * @unit_base; - } - } - } - - &.ui-btn-icon-bottom { - .ui-icon { - bottom: 4 * @unit_base; - } - } -} -.ui-header { - > * { - .iconposition(); - } -} - -.ui-footer, .ui-bar { - * { - .iconposition(); - } -} - - -/*hiding native button,inputs */ -.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; .appearance(button); opacity: .1; cursor: pointer; background: transparent; font-size: 1 * @unit_base; border: none; line-height: 999 * @unit_base; } - -.ui-btn-text { - /*padding-left : 80px;*/ //wongi_1017 - margin-left: auto; - margin-right: auto; - padding:0 8px; /* Webkit width(ellipsis) problem workaround */ -} - -.ui-btn .ui-btn-inner.ui-btn-hastxt span.ui-btn-text { - line-height: 38 * @unit_base; -} - -.ui-li .ui-btn.ui-btn-icon_only { - top: 50%; - margin-top: -18.5 * @unit_base; -} - -.ui-li .ui-btn .ui-btn-inner.ui-btn-hastxt { - padding: 6 * @unit_base 21 * @unit_base; -} -.ui-btn-icon-nobg.ui-btn-down-s .ui-btn-inner { - background: transparent ! important; -} -.ui-btn-box-s.ui-btn-up-s, -.ui-btn-box-s.ui-focus, -.ui-btn-box-s.ui-btn-hover-s { - &:not(.ui-btn-icon_only):not(.ui-drawer-button) { - .core_button_bg(); - padding: 4.5 * @unit_base; - } - &:not([data-style="nobg"]) .ui-icon { - background-color: @color_button_icon; - } - &:not([data-style="nobg"]):not([data-style="circle"]).ui-btn-icon_only:not(.ui-btn-icon-naviframe-cancel):not(.ui-btn-icon-naviframe-done) { - .ui-icon { - background-color: @color_button_icon_nobg; - } - } - &[data-style="nobg"] .ui-icon { - background-color: @color_button_icon_nobg; - } - &[data-icon="plus"] .ui-icon { - background-color: @color_button_add; - } - &[data-icon="alert"] .ui-icon, - &[data-icon="minus"] .ui-icon { - background-color: @color_button_warning; - } -} -.ui-btn-box-s.ui-btn-down-s { - - text-shadow: none; - - &:not(.ui-btn-icon_only):not(.ui-drawer-button) { - .core_button_bg_pressed(); - padding: 4.5 * @unit_base; - } - - &:not([data-style="nobg"]) .ui-icon { - background-color: @color_button_icon; - } - &:not([data-style="nobg"]):not([data-style="circle"]).ui-btn-icon_only { - .ui-icon { - background-color: @color_button_icon_nobg_press; - } - } - &[data-style="nobg"] .ui-icon { - background-color: @color_button_icon_nobg_press; - } - &[data-icon="plus"] .ui-icon { - background-color: @color_button_add_press; - } - &[data-icon="alert"] .ui-icon, - &[data-icon="minus"] .ui-icon { - background-color: @color_button_warning_press; - } -} - -.ui-header > .naviframe-button.ui-btn.ui-btn-box-s.ui-btn-down-s { - background : @color_bar_naviframe_press; -} - -.ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt, .ui-li .ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt { - padding-top: 52 * @unit_base; -} -.ui-btn-icon-bottom .ui-btn-inner.ui-btn-hastxt, .ui-li .ui-btn-icon-bottom .ui-btn-inner.ui-btn-hastxt { - padding-bottom: 52 * @unit_base; -} - -/* wongi_1017 : Icons */ -/* icons sizing */ -.ui-btn .ui-icon { width: 22 * @unit_base ; height: 22 * @unit_base; } -.ui-btn.ui-btn-edit .ui-icon { width: @width_buttonEdit; height: @height_buttonEdit; } - -/* Padding for Icon with text */ -.ui-btn .ui-btn-text.ui-btn-text-padding-left { - padding-left: 56 * @unit_base; - padding-right: 30 * @unit_base -} -.ui-btn .ui-btn-text.ui-btn-text-padding-right { - padding-right: 56 * @unit_base; - padding-left: 30 * @unit_base -} -.ui-btn .ui-btn-text.ui-btn-text-padding-top {padding-top: 32 * @unit_base;} -.ui-icon { - background-repeat: no-repeat; - vertical-align: middle; - background-position: 0% 0%; - background-size: 100%; -} -.ui-btn-box.s .ui-icon { - position: absolute; -} -.ui-btn-box-s.ui-btn-icon-left { - & .ui-icon { - margin-top: -15 * @unit_base ; - top: 50%; - left: 18 * @unit_base; - } - & .ui-btn-icon-only .ui-icon { - left: 10 * @unit_base; - } -} -.ui-btn-box-s.ui-btn-icon-right .ui-icon { - margin-top: -15 * @unit_base ; - top: 50%; - right: 18 * @unit_base; -} -.tizen-icon-common { - /* Overlap original property */ - width: 30 * @unit_base; - height: 30 * @unit_base; -} - -.tizen-smallicon-common { - width: 20 * @unit_base ! important; - height: 20 * @unit_base ! important; - top: 50% ! important; - left: 50% ! important; - margin-top: -20 * @unit_base / 2 ! important; - margin-left: -20 * @unit_base / 2 ! important; -} -.ui-btn { - .ui-icon-bg, .ui-icon-arrow-l, .ui-icon-arrow-r, .ui-icon-arrow-u, .ui-icon-arrow-d, - .ui-icon-delete, .ui-icon-plus, .ui-icon-minus, .ui-icon-forward, .ui-icon-alert, .ui-icon-info, - .ui-icon-call, .ui-icon-rename, .ui-icon-star, .ui-icon-search, .ui-icon-scrolltop, .ui-icon-scrollleft, - .ui-icon-check, .ui-icon-gear, .ui-icon-refresh, .ui-icon-back, .ui-icon-grid, .ui-icon-home, - { - .mask-size(100%); - } - - .ui-icon-bg, .ui-icon-arrow-l, .ui-icon-arrow-r, .ui-icon-arrow-u, .ui-icon-arrow-d, - .ui-icon-delete, .ui-icon-plus, .ui-icon-minus, .ui-icon-forward, .ui-icon-alert, .ui-icon-info, - .ui-icon-call, .ui-icon-rename, .ui-icon-star, .ui-icon-favorite, .ui-icon-search, .ui-icon-scrolltop, .ui-icon-scrollleft, - .ui-icon-check, .ui-icon-gear, .ui-icon-refresh, .ui-icon-back, .ui-icon-grid, .ui-icon-home, - { - .mask-size(100%); - } - - .ui-icon-bg { - .tizen-icon-common; - .mask-image('images/00_circle_button_bg.png'); - z-index:0; - } - .ui-icon-arrow-l { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_left.png'); - } - .ui-icon-arrow-r { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_right.png'); - } - .ui-icon-arrow-u { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_expand_opened.png'); - } - .ui-icon-arrow-d { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_expand_closed.png'); - } - .ui-icon-delete { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_expand_cancel.png'); - } - .ui-icon-plus { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_add.png'); - } - .ui-icon-minus { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_delete.png'); - } - .ui-icon-forward { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_expand_send.png'); - } - .ui-icon-alert { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_warning.png'); - } - .ui-icon-info { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_info.png'); - } - .ui-icon-call { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_call.png'); - } - .ui-icon-rename { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_rename.png'); - } - .ui-icon-star, .ui-icon-favorite { - .tizen-icon-common; - .mask-image('images/controls/00_icon_favorite_bg_72x72.png'); - } - .ui-icon-search { - .tizen-icon-common; - .mask-image('images/page/00_icon_search.png'); - } - .ui-icon-scrolltop { - .tizen-smallicon-common; - .mask-image('images/controls/00_icon_jump.png'); - } - .ui-icon-scrollleft { - .tizen-smallicon-common; - .mask-image('images/controls/00_icon_jump_left.png'); - } - .ui-icon-check { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_check.png'); - } - - .ui-icon-gear { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_gear.png'); - } - .ui-icon-refresh { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_refresh.png'); - } - .ui-icon-back { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_back.png'); - } - .ui-icon-grid { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_grid.png'); - } - .ui-icon-home { - .tizen-icon-common; - .mask-image('images/controls/button/00_button_home.png'); - } -} -.ui-btn-down-s .ui-icon-scrolltop {.tizen-icon-common; } -.ui-btn-down-s .ui-icon-scrollleft {.tizen-icon-common; } - -.ui-icon-expandable-divider-opened { - width: 42 * @unit_base; - height: 42 * @unit_base; - - position : absolute; - right : 28 * @unit_base; - top : 0 * @unit_base; - - background-repeat: no-repeat; - background-size: 100% 100%; - - background-image: url(images/00_indexlist_icon_opened.png); - -} - -.ui-icon-expandable-divider-closed { - width: 42 * @unit_base; - height: 42 * @unit_base; - - position : absolute; - right : 28 * @unit_base; - top : 0 * @unit_base; - - background-repeat: no-repeat; - background-size: 100% 100%; - - background-image: url(images/00_indexlist_icon_closed.png); - -} - -.ui-btn-inner.ui-btn-icon-only { - padding: 24 * @unit_base 24 * @unit_base; -} - -.ui-btn-icon-only .ui-btn-text { - display: none; - width: 0; - height: 0; - overflow: hidden; -} - -/* No BG button : data-iconbg = "nobg" */ -.ui-btn.ui-btn-icon-nobg { - box-shadow: none; -} - -.ui-btn.ui-btn-corner-circle { - .core_button_bg(); - padding: 4.5 * @unit_base; - &.ui-btn-down-s { - .core_button_bg_pressed(); - padding: 4.5 * @unit_base; - } - .ui-icon, .ui-icon.ui-icon-plus { - background-color: @color_button_icon; - } -} -.ui-btn.ui-btn-round { - .core_button_bg(); - padding: 4.5 * @unit_base; - .ui-icon, .ui-icon.ui-icon-plus { - background-color: @color_button_icon; - } -} -.ui-btn.ui-btn-icon-nobg, .ui-btn .ui-btn-icon-nobg { - background-color: transparent; - border: none; -} - -/* Contact Edit Style */ -.ui-btn.ui-btn-edit .ui-btn-text { - color: @color_button_EditText; - font-size: @font_size_button_EditText; -} -.ui-btn.ui-btn-edit .ui-btn-inner { - background-color: @color_button_edit; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.collapsible.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.collapsible.less deleted file mode 100644 index 6157a918..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.collapsible.less +++ /dev/null @@ -1,159 +0,0 @@ -/* - * jQuery Mobile Collapsible CSS - * for Tizen Web UI - */ -.ui-listview .ui-li.ui-collapsible, -.ui-listview .ui-collapsible { - padding: 0; - border-bottom: 0; -} - -.ui-listview .ui-listview { - margin: 0; -} - -.ui-collapsible-inset { - margin: .5em 0; - .ui-collapsible-heading { - margin: 0; - border-right-width: 1px; - border-left-width: 1px; - } -} -.ui-collapsible-collapsed + .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn { - border-top-width: 0; -} -.ui-collapsible-set .ui-collapsible:not(.ui-collapsible-inset) .ui-collapsible-heading .ui-btn { - border-top-width: 1px; -} -.ui-collapsible-heading, .ui-collapsible-content > li { - position: relative; -} - -.ui-listview .ui-collapsible.ui-li-static { - padding: 0; -} - -.ui-collapsible-heading, -.ui-collapsible-content .ui-li-dialogue.ui-collapsible-heading { - font-size: @font_size_list_main_text; - display: block; - margin: 0; - padding: 0; - position: relative; - background-color: @color_list_divider_bg; - - .ui-collapsible-heading-toggle { - position: relative; - display: block; - padding-top: 10 * @unit_base; - padding-bottom: 10 * @unit_base; - padding-right: 56 * @unit_base; - color: @color_list_divider_text; - text-decoration: none; - - &::after { - position: absolute; - top: 10 * @unit_base; - .mask-image('images/core_icon_expand_open.png'); - .mask-repeat(no-repeat); - .mask-position(center); - .mask-size(100%); - background-color: @color_list_collapsible_arrow; - width: 36 * @unit_base; - height: 36 * @unit_base; - content: ""; - } - - &.ui-icon-right { - padding-left: 20 * @unit_base; - &::after { - right: 12 * @unit_base; - } - } - - &.ui-icon-left { - padding-left: 56 * @unit_base; - &::after { - left: 12 * @unit_base; - } - } - - // Icons' animation - &.ui-icon-arrow-d::after { - .transition(all 330ms ease); - .rotate(0); - } - &.ui-icon-arrow-u::after { - .transition(all 330ms ease); - .rotate(180deg); - } - } -} -.ui-collapsible-heading-status { - position: absolute; - top: -9999px; - left:0px; -} - -.ui-li-dialogue .ui-collapsible-content .ui-li.ui-li-dialogue { - margin: 0; -} - -.ui-collapsible-content li { - padding: 30 * @unit_base 15 * @unit_base; - border-bottom: 1px solid @color_list_border_bottom; -} - -.ui-collapsible-content { - display: block; - margin: 0 -15px; - padding: 0px 15px; - border-left-width: 0; - border-right-width: 0; - border-top: none; /* Overrides ui-body-* */ - background-image: none; /* Overrides ui-body-* */ - - max-height: 9999px; - visibility: visible; - overflow: auto; - .transition(all 300ms ease); - - .ui-li-dialogue { - padding-left : 15 * @unit_base; - padding-right : 15 * @unit_base; - padding-top: 30 * @unit_base; - padding-bottom: 30 * @unit_base; - - >.ui-li-text-sub { - right : 10 * @unit_base; - } - } -} -.ui-collapsible-inset>.ui-collapsible-content { - margin: 0; - border-right-width: 1px; - border-left-width: 1px; -} -.ui-collapsible-content-collapsed { - overflow: hidden; - max-height: 0px !important; - visibility: hidden; -} -.ui-collapsible-set { - margin: .5em 0; - .ui-collapsible { - margin: -1px 0 0; - &:first-child { - margin-top: 0; - } - } -} - -.ui-collapsible.ui-state-disabled { - cursor: default !important; - pointer-events: none; - filter: alpha(opacity=30); - opacity: 0.3; - zoom: 1; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.controlgroup.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.controlgroup.less deleted file mode 100644 index ebcd7991..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.controlgroup.less +++ /dev/null @@ -1,149 +0,0 @@ -.ui-controlgroup, -fieldset.ui-controlgroup { - padding: 0; - margin: .5em 0 1em; - width: 100%; - height: 100%; -} -.ui-bar .ui-controlgroup { - margin: 0 .3em; -} -.ui-controlgroup-label { - font-size: 1em; - line-height: 1.4; - font-weight: normal; - margin: 0 0 .3em; -} - -.ui-controlgroup-vertical{ - .ui-controlgroup-controls { - display: block; - [data-role="button"] { - - &.ui-btn { - background : @color_button_bg; - border-radius : 0; - } - &.ui-btn-hover-s { - border-radius: 0 !important; - } - - &.ui-btn-box-s { - border-radius: 0; - box-shadow : 0; - .ui-btn-inner{ - display : inline-block; - border: none; - border-radius: 0; - } - } - &.ui-btn-down-s, .ui-btn-active-s { - .ui-btn-inner { - .ui-btn-text { - color : @color_bar_title_text; - } - } - } - } - } -} -.ui-controlgroup { - li { - list-style: none; - } - .ui-btn-inner { - white-space: nowrap; - } - .ui-checkbox label, .ui-radio { - label { - font-size: 1em; - margin-top: 10 * @unit_base; - } - } - .ui-radio { - - width: 25%; - overflow: hidden; - label { - text-align: center; - white-space: nowrap; - } - } - .ui-radio-on { - .ui-btn-inner { - background : @color_bg; - } - } -} -.ui-controlgroup.ui-controlgroup-padding-more { - padding-left: 58 * @unit_base; -} -.ui-controlgroup.ui-controlgroup-padding-back { - padding-right: 58 * @unit_base; -} -.ui-controlgroup-vertical { - .ui-btn, .ui-checkbox, .ui-radio { - margin: 0; - border-bottom-width: 0; - } - .ui-controlgroup-last { - border-bottom-width: 1px; - } - - .ui-radio { - width : 100%; - } - - .ui-radio label { - text-align :left; - .ui-btn-inner { - margin-left : 16 * @unit_base; - margin-right : 16 * @unit_base; - } - } -} -.ui-controlgroup-horizontal { - - padding: 0; - .ui-btn { - border-radius : 0; - display: inline-block; - box-sizing: border-box; - } - .ui-checkbox, .ui-radio { - float: left; - margin: 0 -1px 0 0; - } - .ui-controlgroup-last { - margin-right: 0; - } - - [data-role="button"] { - box-shadow : none; - background : none; - &.ui-btn-down-s, .ui-btn-active-s { - .ui-btn-inner { - .ui-btn-text { - color : @color_bar_title_text; - } - } - } - - >.ui-btn-inner { - border : 0px solid; - box-shadow : none; - padding-top : 0px; - padding-bottom : 0px; - padding-left : 10 * @unit_base; - padding-right : 10 * @unit_base; - } - } - - label { - width : 100%; - > span.ui-btn-inner { - padding-top : 3 * @unit_base; - padding-bottom : 3 * @unit_base; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.core.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.core.less deleted file mode 100644 index dfc5e44b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.core.less +++ /dev/null @@ -1,138 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. -*/ - -/* some unsets - more probably needed */ -.ui-mobile, .ui-mobile body { height: 100%; font-size: @font_size_default; } -@media all and (max-width:359px) { - .ui-mobile, .ui-mobile body { font-size: floor(@font_size_default*320/360); } -} - -.ui-mobile fieldset, .ui-page { padding: 0; margin: 0; } -.ui-mobile a img, .ui-mobile fieldset { border: 0; } - -/* responsive page widths */ -.ui-mobile-viewport { margin: 0; overflow-x: hidden; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } - -/* "page" containers - full-screen views, one should always be in view post-pageload */ -.ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page { top: 0; left: 0; width: 100%; position: absolute; display: none; border: 0; } -.ui-mobile .ui-page-active { display: block; overflow: visible; } - -/* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */ -.ui-page { outline: none; } - -.ui-mobile, .ui-mobile .ui-page { - background: @color_bg; - color : @color_text; -} - -/* native overflow scrolling */ -.ui-page.ui-mobile-touch-overflow, -.ui-mobile-touch-overflow.ui-native-fixed .ui-content { - overflow: auto; - height: 100%; - -webkit-overflow-scrolling: touch; - -moz-overflow-scrolling: touch; - -o-overflow-scrolling: touch; - -ms-overflow-scrolling: touch; - overflow-scrolling: touch; -} -.ui-page.ui-mobile-touch-overflow, -.ui-page.ui-mobile-touch-overflow * { - /* some level of transform keeps elements from blinking out of visibility on iOS */ - .LESStransform(rotateY(0)); -} -.ui-page.ui-mobile-pre-transition { - display: block; -} - -/* loading screen */ -.ui-loading .ui-mobile-viewport { overflow: hidden !important; } -.ui-loading .ui-loader { display: block; } -.ui-loading .ui-page { overflow: hidden; } -.ui-loader { display: none; position: absolute; opacity: .85; z-index: @z_base_loader; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; } -.ui-loader h1 { font-size: 32 * @unit_base; text-align: center; } -.ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; } - -.ui-blocker { width:100%; height:100%; z-index:@z_base_maximum; } - -/*fouc*/ -.ui-mobile-rendering > * { visibility: hidden; } - -/*headers, content panels*/ -.ui-bar, .ui-body { position: relative; padding: .4em 15px; overflow: hidden; display: block; clear:both; } -.ui-bar { font-size: 16px; margin: 0; } -.ui-bar h1, .ui-bar h2, .ui-bar h3, .ui-bar h4, .ui-bar h5, .ui-bar h6 { margin: 0; padding: 0; font-size: 16px; display: inline-block; } - -.ui-header, .ui-footer { display: block; } -.ui-page .ui-header, .ui-page .ui-footer { - position : fixed; /*position: relative;*/ - z-index : @z_base_header_footer; -} -/* Title button packing order */ -.ui-header > .ui-btn-left { - top: .4em; - float: left; -} -.ui-header > .ui-btn-right { - float: right; - top: .4em; -} -.ui-header .ui-title, .ui-footer .ui-title { min-height: 1.1em; text-align: center; font-size: 16px; display: block; margin: .6em 90px .8em; padding: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; } - -/*content area*/ -.ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding-left : 15 * @unit_base; padding-right : 15 * @unit_base; } -.ui-page-fullscreen .ui-content { padding:0; } - -/* native fixed headers and footers */ -.ui-mobile-touch-overflow.ui-page.ui-native-fixed, -.ui-mobile-touch-overflow.ui-page.ui-native-fullscreen { - overflow: visible; -} -.ui-mobile-touch-overflow.ui-native-fixed .ui-header, -.ui-mobile-touch-overflow.ui-native-fixed .ui-footer { - position: fixed; - left: 0; - right: 0; - top: 0; - z-index: 200; -} -.ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer { - top: auto; - bottom: 0; -} -.ui-mobile-touch-overflow.ui-native-fixed .ui-content { - padding-top: 2.5em; - padding-bottom: 3em; - top: 0; - bottom: 0; - height: auto; - position: absolute; -} -.ui-mobile-touch-overflow.ui-native-fullscreen .ui-content { - padding-top: 0; - padding-bottom: 0; -} -.ui-mobile-touch-overflow.ui-native-fullscreen .ui-header, -.ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer { - opacity: .9; -} -.ui-native-bars-hidden { - display: none; -} - -/* hidden ui elements */ -.ui-screen-hidden { display: none; } - -/* icons sizing */ -.ui-icon { width: 18px; height: 18px; } - -/* fullscreen class on ui-content div */ -.ui-fullscreen { } -.ui-fullscreen img { max-width: 100%; } - -/* non-js content hiding */ -.ui-nojs { position: absolute; left: -9999px; } - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.dialog.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.dialog.less deleted file mode 100644 index 76d7ddcc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.dialog.less +++ /dev/null @@ -1,50 +0,0 @@ -.ui-dialog { - - min-height: 480px; - - .ui-header, - .ui-content, - .ui-footer { - margin: 15px; - position: relative; - } - .ui-header, - .ui-footer { - z-index: 10; - width: auto; - } - .ui-header .ui-btn-left { - width: 0px; - border-width: 0px; - } - - .center_info { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - .popup-text { - font-size: 42px; - background: #213c49; - width: 100%; - p { - text-align: center; - padding: 22px 16px; - } - } - } - - .ui-dialog-contain .ui-header .ui-btn-icon-notext { - .ui-btn-inner { - .ui-btn-text { - position: absolute; - left: -9999px; - } - .ui-icon { - margin: auto; - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.checkboxradio.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.checkboxradio.less deleted file mode 100644 index 1969b4db..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.checkboxradio.less +++ /dev/null @@ -1,262 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -.ui-checkbox .ui-btn-inner, .ui-radio .ui-btn-inner { white-space: normal; } -//.ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner { padding-left: 2.313em; } -//.ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner { padding-right: 2.313em; } -//.ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {left: 15px; } -//.ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {right: 15px; } - -//font size: 21.... -@checkbox_radio_all_height: (40*@unit_base); //the biggest height. -@checkbox_radio_all_width: (40*@unit_base); //the biggest height. -@checkbox_text_padding_left: (50*@unit_base); //text in label -@checkbox_icon_margins: (5*@unit_base); - -@checkbox_radio_size_width: @checkbox_radio_all_width - @checkbox_icon_margins * 2; -@checkbox_radio_size_height: @checkbox_radio_all_height - @checkbox_icon_margins * 2; - -@checkbox_radio_input_size: (28*@unit_base); - -@favorite_size_width: (40*@unit_base); -@favorite_size_height: (40*@unit_base); - -@checkbox_radio_icon_internal_bottom: (-@checkbox_radio_size_height/2); //-icon size/2 -@favorite_icon_internal_bottom: (-@favorite_size_height/2); //-icon size/2 - -@icon_left_margin: (24*@unit_base); -@checkbox_radio_label_left: (@checkbox_radio_size_width/2 + @icon_left_margin); -@favorite-label-left: (@favorite_size_width/2 + @icon_left_margin); - -.ui-checkbox, .ui-radio { - position: relative; - margin: 0; - - //clear btn basic setting - .LESSclear-btn-basic-setting(); - input { - z-index: 1; - margin: 0; - position: absolute; - /* - checkbox can receive focus when tab or arrow key pressed. - so, set same size and position with fake checkbox for focus highlight. - */ - left: 2 * @unit_base; - top: 58%; - margin-top: @checkbox_radio_icon_internal_bottom; - width: @checkbox_radio_input_size; - height: @checkbox_radio_input_size; - } - - > input { - opacity: 0; - } - .ui-btn { - z-index: 2; // checkbox,radio input z-index: 1 - height: 100%; - margin: 0; - margin-top: 10 * @unit_base; - text-align: left; - } - .ui-btn.ui-btn-icon-left { - .ui-btn-inner { - min-width: @checkbox_radio_all_height; // TODO: check this after layout done. - min-height: @checkbox_radio_all_height; - line-height: @checkbox_radio_input_size; - margin: 0 8*@unit_base 0 0; - padding : 0; - .ui-btn-text { - vertical-align: middle; - min-height: @checkbox_radio_size_height; - } - /* TODO : after button fixed, recheck! */ - .ui-btn-text.ui-btn-text-padding-left { - padding-left : 0; - margin-left: @checkbox_text_padding_left; - } - } - } -} - -.ui-radio, .ui-checkbox:not(.favorite) { - .ui-btn { - .ui-icon-wrapper { - .mask-size(100%); - width: @checkbox_radio_all_height; - height: @checkbox_radio_all_height; - display: block; - position: absolute; - left: 0; - top: 0; - .ui-icon { - display: block; - margin: @checkbox_icon_margins; - width: @checkbox_radio_size_width; - height: @checkbox_radio_size_height; - left: 0; - } - } - } -} - -.ui-checkbox:not(.favorite) { - .ui-btn { - .ui-icon-wrapper { - .mask-box-image('images/controls/core_check_bg.png'); - .mask-box-image-slice(3 3 3 3 fill); - } - .ui-icon-checkbox-on { - display: block; - .mask-image('images/controls/core_check_icon.png'); - .mask-size(100%); - .mask-position(center center); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_checkbox_bg_icon; - } - } - .ui-checkbox-on{ - .ui-icon-wrapper { - background-color: @color_checkboxradio_bg_on; - } - } - .ui-checkbox-off{ - .ui-icon-wrapper { - background-color: @color_checkboxradio_bg_off; - } - } -} - -.ui-radio { - .ui-btn { - .ui-icon-wrapper { - .mask-box-image('images/controls/core_radio_bg.png'); - } - .ui-icon-radio-on { - display: block; - .mask-image('images/controls/core_radio_icon.png'); - .mask-size(100%); - .mask-position(center center); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_radio_bg_icon; - } - } - .ui-radio-on{ - .ui-icon-wrapper { - background-color: @color_checkboxradio_radio_bg_on; - } - } - .ui-radio-off{ - .ui-icon-wrapper { - background-color: @color_checkboxradio_radio_bg_off; - } - } -} - -.ui-checkbox.favorite { - input { - position: absolute; - left: 5*@unit_base; - top: 50%; - width: @favorite_size_width; - height: @favorite_size_height; - margin-top: @favorite_icon_internal_bottom; - visibility: hidden; - } - - .ui-btn.ui-btn-icon-left { - .ui-btn-inner { - display: inline-block; - line-height: @checkbox_radio_all_height; - padding : 0; - .ui-btn-text { - display: inline-block; - vertical-align: middle; - line-height: 32 * @unit_base; - } - /* TODO : after button fixed, recheck! */ - .ui-icon { - position: absolute; - left: 0; - top: 50%; - width: @favorite_size_width; - height: @favorite_size_height; - margin-top: @favorite_icon_internal_bottom; - } - } - } -} -/* put img inside of checkbox(normal, favorite style) */ - -.ui-icon-checkbox-off, .ui-icon-checkbox-on, -.favorite .ui-icon-checkbox-off, .favorite .ui-icon-checkbox-on, -.ui-icon-checkbox-on-press, .ui-icon-checkbox-off-press, -.ui-icon-radio-off, .ui-icon-radio-on, -.ui-icon-radio-on-press, .ui-icon-radio-off-press { - box-sizing: border-box; - background-size: 100% 100%; - background-color: transparent; -} -.ui-icon-checkbox-off { - width: @checkbox_radio_size_width; - height: @checkbox_radio_size_height; -} -.ui-icon-checkbox-on { - .mask-image('images/00_check_activated.png'); - .mask-size(100%); - -} -.ui-btn-down-s > .ui-btn-inner > .ui-icon-checkbox-off { - .mask-image('images/00_check_activated.png'); - .mask-size(100%); -} -.ui-btn-down-s > .ui-btn-inner > .ui-icon-checkbox-on { - .mask-image('images/00_check_activated.png'); - .mask-size(100%); -} -.favorite { - .ui-btn { - .ui-icon-checkbox-off, - .ui-icon-checkbox-off-press { - .mask-image('images/00_icon_favorite_bg.png'); - .mask-size(100%); - background-color: @color_checkboxradio_favorite_off; - border: 0; - } - .ui-icon-checkbox-on, - .ui-icon-checkbox-on-press { - .mask-image('images/00_icon_favorite_bg.png'); - .mask-size(100%); - background-color: @color_checkboxradio_favorite_on; - border: 0; - } - } -} -.ui-icon-radio-off { - .mask-image('images/00_button_radio_activated.png'); - .mask-size(100%); - .LESSborder-radius-all(50%); -} -.ui-icon-radio-on { - .mask-image('images/00_button_radio_activated.png'); - .mask-size(100%); - .LESSborder-radius-all(50%); -} -.ui-btn-down-s .ui-btn-inner > .ui-icon-radio-on { - .mask-image('images/00_button_radio_activated.png'); - .mask-size(100%); - .LESSborder-radius-all(50%); -} -.ui-btn-down-s .ui-btn-inner > .ui-icon-radio-off { - .mask-image('images/00_button_radio_activated.png'); - .mask-size(100%); - .LESSborder-radius-all(50%); -} -.ui-li-divider .ui-btn-text a { - padding: 11 * @unit_base 55 * @unit_base; - display: block; - text-decoration: none; - color: @color_list_divider_select_all_text; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.fieldcontain.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.fieldcontain.less deleted file mode 100644 index 3515afda..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.fieldcontain.less +++ /dev/null @@ -1,10 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -.ui-field-contain { padding: 1.5em 0; margin: 0; border-bottom-width: 1px; overflow: visible; } -.ui-field-contain:first-child { border-top-width: 0; } -@media all { - .ui-field-contain { border-width: 0; padding: 0; margin: 0.8em 0; } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.select.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.select.less deleted file mode 100644 index d49cfc7d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.select.less +++ /dev/null @@ -1,53 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -.ui-select { display: block; position: relative; } -.ui-select select { position: absolute; left: -9999px; top: -9999px; } -.ui-select .ui-btn { overflow: hidden; } -.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); z-index: 2; } -@-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }} -.ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; } - -.ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } -.ui-select .ui-btn-icon-right .ui-icon { right: 15px; } - - -/* labels */ -label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; } - -/*listbox*/ -.ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; } -.ui-select .ui-btn-text { text-overflow: ellipsis; overflow: hidden;} - -.ui-selectmenu .ui-listview { margin: 0; } -.ui-selectmenu .ui-btn.ui-li-divider { cursor: default; } -.ui-selectmenu-hidden { top: -9999px; left: -9999px; visibility: hidden;} -.ui-selectmenu-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; } -.ui-selectmenu-list .ui-li .ui-icon { display: none; } -.ui-selectmenu-list .ui-li .ui-icon { display: block; } -.ui-li.ui-selectmenu-placeholder { display: none; } -.ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; } - -@media all and (min-width: 450px){ - label.ui-select { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; } - .ui-select { width: 60%; display: inline-block; } -} - -/* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */ -.ui-selectmenu .ui-header { - h1:after { - content: '.'; - visibility: hidden; - } - .ui-btn-icon_only { - .ui-btn-text { - position: absolute; - left: -9999px; - } - .ui-icon { - margin: auto; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.textinput.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.textinput.less deleted file mode 100644 index 993ff5d3..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.forms.textinput.less +++ /dev/null @@ -1,295 +0,0 @@ -input::-webkit-input-placeholder { - max-width: 100% !important; - text-overflow: ellipsis !important; - white-space: nowrap !important; - overflow: hidden !important; - color: @color_editfield_placeholder_text; -} - -textarea::-webkit-input-placeholder { - color: @color_editfield_placeholder_text; -} - -.ui-input-text { - border: 0; - - label& { - font-size: @font_size_list_editfield_text; - } - - input&, - textarea& { - .appearance(none); - background-color: @color_editfield_bg; - box-sizing: border-box; - color: @color_editfield_text; - display: block; - font-size: @font_size_list_editfield_text; - height: 96 * @unit_base; - line-height: 38 * @unit_base; - width: 100%; - margin: 0; - - &:disabled, - &.ui-disabled { - color: @color_editfield_disabled_text; - } - - &:focus, - &.ui-focus { - color: @color_editfield_selected_text; - - &::-webkit-input-placeholder { - color: @color_editfield_placeholder_selected_text; - } - } - - // Decoration underline --------------------------------- - & + .ui-text-line { - background: @color_editfield_outline; - display: block; - box-sizing: border-box; - height: 2px; - position: relative; - top: -19 * @unit_base; - margin: 0 * @unit_base 15 * @unit_base -2 * @unit_base; - } - - &:disabled + .ui-text-line, - &.ui-disabled + .ui-text-line { - background: @color_editfield_disabled_outline; - } - - &:focus + .ui-text-line, - &.ui-focus + .ui-text-line { - background: @color_editfield_selected_outline; - } - // Decoration underline ---------------------------- end - - // Clear button ---------------------------------------- - &.ui-input-clear-active { - padding-right: 66 * @unit_base; - } - - & ~ .ui-input-clear { - display: block; - width: 36 * @unit_base; - height: 36 * @unit_base; - margin-right: 15 * @unit_base; - float: right; - // Move to top by - input's padding-bottom + clear height - margin-top: -(36 + 29) * @unit_base; - background-color: @color_searchbar_clear_icon; - .mask-size(contain); - .mask-image('images/controls/00_core_button_icon_clear.png'); - - &:active, - &:hover { - background-color: @color_searchbar_clear_icon_press; - } - } - - & ~ .ui-input-clear-hidden { - display: none; - } - - &.ui-disabled ~ .ui-input-clear, - &:disabled ~ .ui-input-clear { - background-color: @color_editfield_clear_icon_disabled; - - &:active, - &:hover { - background-color: @color_editfield_clear_icon_disabled; - } - } - // Clear button ------------------------------------- end - } - - input& { - padding: 29 * @unit_base 15 * @unit_base; - - &:not(.ui-tokentextarea-input) { - display: block; - width: 100%; - } - } - - textarea& { - min-height: 96 * @unit_base; - padding: 10 * @unit_base 15 * @unit_base 14 * @unit_base; - resize: none; - white-space: normal; - .transition(height 200ms linear); - } -} - -input.ui-tokentextarea-input { - font-size: @font_size_tokentextarea_input_text; - background-color: @color_editfield_bg; -} - -input.ui-input-text.ui-focus, -textarea.ui-input-text.ui-focus { - &[type="month"], - &[type="week"], - &[type="datetime-local"] { - border: 1 * @unit_base solid @color_editfield_selected_outline; - outline-color: @color_editfield_selected_outline; - } -} - -.ui-header.ui-header-searchbar { - .ui-title { - max-width: none; - float: none; - } - .input-search-bar { - background-color: @color_searchbar_bg; - height: 96 * @unit_base; - } - .ui-input-clear.ui-input-clear-hidden.ui-btn-icon-notext { - left: auto; - } - .ui-btn { - - &.ui-btn-box-s.ui-btn-up-s, - &.ui-btn-box-s.ui-btn-hover-s { - .core_button_bg(); - top : 15 * @unit_base; - .ui-btn-inner.ui-btn-icon-only .ui-icon { - width: 30 * @unit_base; - height: 30 * @unit_base; - margin-left: -13.5 * @unit_base; - margin-top: -12 * @unit_base; - background-color: @color_button_icon; - } - } - .ui-icon { - margin: 0; - } - } - .ui-btn.ui-btn-box-s.ui-btn-down-s { - .core_button_bg_pressed(); - .ui-icon { - margin: 0; - } - } -} - -.ui-input-search { - position: relative; - - &.ui-search-bar-icon { - // Icon size + right spacing - margin-right: (46 + 15) * @unit_base; - } - - .ui-btn-icon-notext.ui-input-clear { - display: inline-block; - width: 36 * @unit_base; - height: 34 * @unit_base; - - .ui-btn-inner { - padding: 14 * @unit_base - 16 * @unit_base - 9 * @unit_base - 16 * @unit_base; - } - } - .ui-btn-inner { - .ui-icon-deleteSearch { - margin: -2 * @unit_base; - width: 45 * @unit_base; - height: 45 * @unit_base; - } - } -} - -/* search bar */ -.ui-page > div > .ui-field-contain > .input-search-bar, -.ui-page > .ui-field-contain > .input-search-bar { - margin: -48*@unit_base -15*@unit_base -32*@unit_base -15*@unit_base; -} - -.input-search-bar { - position: relative; - background-color: @color_searchbar_bg; - vertical-align: middle; - - .ui-input-search { - font-size: @font_size_searchbar_text; - display: block; - position: relative; - background-color: @color_searchbar_bg; - } - - .ui-input-text { - background-color: @color_searchbar_bg; - } - - .ui-input-search-default { - margin-right: 148 * @unit_base; - } - - .ui-input-search-wide { - margin-right: 0; - } - - .ui-input-cancel { - display: inline-block; - position: absolute; - - background-color: @color_searchbar_button_bg; - - top: 4 * @unit_base; - right: 0 * @unit_base; - height: 72 * @unit_base; - margin-right: 16 * @unit_base; - - vertical-align: middle; - padding: 0; - - width: 136 * @unit_base; - - &.ui-btn-down-s { - background-color: @color_searchbar_button_bg_press; - } - .ui-btn-inner { - padding-top: 6 * @unit_base; - padding-bottom: 6 * @unit_base; - } - - &.ui-btn-cancel-hide { - right: -75 * @unit_base; - visibility: hidden; - } - - &.ui-btn-cancel-show { - right: 0; - visibility: visible; - } - } - .ui-btn-search-front-icon { - position: absolute; - top: ((96 - 46) / 2) * @unit_base; - right: 15 * @unit_base; - width: 46 * @unit_base; - height: 46 * @unit_base; - } -} - -.ui-icon-deleteSearch { - background-repeat: no-repeat; - background-size: 45 * @unit_base 45 * @unit_base; - background-color: @color_searchbar_clear_icon; - .mask-image('images/controls/00_field_btn_clear.png'); - .mask-size(45 * @unit_base 45 * @unit_base); - - &:active { - background-color: @color_searchbar_clear_icon_press; - } -} - -.ui-input-clear-hidden { - display: none; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.grids.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.grids.less deleted file mode 100644 index 162cb838..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.grids.less +++ /dev/null @@ -1,28 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ - -/* content configurations. */ -.ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; } -.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;} - -/* grid solo: 100 - single item fallback */ -.ui-grid-solo .ui-block-a { width: 100%; float: none; } - -/* grid a: 50/50 */ -.ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; } -.ui-grid-a .ui-block-a { clear: left; } - -/* grid b: 33/33/33 */ -.ui-grid-b .ui-block-a, .ui-grid-b .ui-block-b, .ui-grid-b .ui-block-c { width: 33.333%; } -.ui-grid-b .ui-block-a { clear: left; } - -/* grid c: 25/25/25/25 */ -.ui-grid-c .ui-block-a, .ui-grid-c .ui-block-b, .ui-grid-c .ui-block-c, .ui-grid-c .ui-block-d { width: 25%; } -.ui-grid-c .ui-block-a { clear: left; } - -/* grid d: 20/20/20/20/20 */ -.ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 20%; } -.ui-grid-d .ui-block-a { clear: left; } diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.headerfooter.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.headerfooter.less deleted file mode 100644 index fe99859b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.headerfooter.less +++ /dev/null @@ -1,14 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -/* fixed page header & footer configuration */ - -.ui-header, .ui-footer, .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { position: absolute; overflow: hidden; width: 100%; border-left-width: 0; border-right-width: 0; } -.ui-header-fixed, .ui-footer-fixed { - z-index: @z_base_header_footer; - .transform(translateZ(0)); /* Force header/footer rendering to go through the same rendering pipeline as native page scrolling. */ -} -.ui-footer-duplicate, .ui-page-fullscreen .ui-fixed-inline { display: none; } -.ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { opacity: .9; } diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.listview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.listview.less deleted file mode 100644 index 951d9a3c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.listview.less +++ /dev/null @@ -1,635 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -/* -* Listview Style - divide single / multiline style for specific -* If you want to see any style, search them using class name. -*/ - -/******************** listview common style *********************/ -.ui-listview { - margin: 0 -8*@unit_base 0 -8*@unit_base; - padding: 0; - padding-bottom: 1px; - list-style: none; - counter-reset: listnumbering; - - .ui-li { - position: relative; - box-sizing: content-box; - margin: 0; - overflow: visible; - text-align: left; - font-size: @font_size_list_main_text; - - box-shadow: none; - .LESSborder-radius-all(0); - .ui-link-inherit { - color: @color_list_main_text_normal; - } - } -} - -/***************** Anchor listview common style ****************/ -.ui-listview .ui-li.ui-li-anchor { - padding: 0 0; - border-bottom: 1px solid @color_list_border_bottom; - background-color: transparent; - - &.ui-li-active { - background-color: @color_list_press; - } - - &>a { - display: block; - width: 100%; - height: 100%; - padding: 30 * @unit_base 15 * @unit_base; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - color: @color_list_main_text_normal; - text-decoration: none; - } -} - -/*************** No Anchor listview common style ****************/ -.ui-listview .ui-li-static { - padding: 30 * @unit_base 15 * @unit_base; - border-bottom: 1px solid @color_list_border_bottom; - background-color: transparent; -} - -/********************* list have right button **********************/ -.ui-listview .ui-li-has-right-btn > .ui-btn-inner > .ui-btn-text > .ui-link-inherit, -.ui-listview .ui-li-has-right-circle-btn > .ui-btn-inner > .ui-btn-text > .ui-link-inherit, -.ui-listview .ui-li-has-right-btn, -.ui-listview .ui-li-has-right-circle-btn { - > .ui-btn { - &:not(.ui-slider-handle) { - position: absolute; - top: 19.5 * @unit_base; - right: 15 * @unit_base; - margin: 0; - &.ui-btn-icon_only { - top: 22 * @unit_base; - } - &.ui-btn-icon_only.ui-btn-icon-checkbox-off, &.ui-btn-icon_only.ui-btn-icon-radio-off { - top: 50%; - margin-top: -18.5 * @unit_base; - left: 0; - } - } - } - > .ui-btn-icon_only { - &.ui-btn-up-s,&.ui-btn-hover-s,&.ui-btn-down-s { - .ui-btn-inner.ui-btn-icon-only { - padding: 0; - width: 45 * @unit_base; - height: 45 * @unit_base; - top: 0; - .ui-icon { - width: 45 * @unit_base; - height: 45 * @unit_base; - margin-top: 0; - top: 0; - left: 0; - } - } - } - &.ui-btn-down-s { - .ui-btn-inner.ui-btn-icon-only { - &:not(.ui-btn-corner-circle) { - .ui-icon { - background-color: @color_button_icon_nobg_press; - } - } - } - } - } -} -/******************* list have left thumbnail image ********************/ -.ui-listview .ui-li.ui-li-anchor.ui-li-has-thumb>a, -.ui-listview .ui-li.ui-li-anchor.ui-li-dialogue.ui-li-has-thumb>a, -.ui-listview .ui-li.ui-li-static.ui-li-has-thumb { - padding-left: 61.5 * @unit_base; - - .ui-li-thumb { - position: absolute; - left: 13 * @unit_base; - top: 50%; - margin-top : -20.25 * @unit_base; - width: 40.5 * @unit_base; - height: 40.5 * @unit_base; - } -} - -/***************** list has checkbox/radio ***********************/ -.ui-listview .ui-li.ui-li-anchor.ui-li-has-checkbox>a, -.ui-listview .ui-li.ui-li-anchor.ui-li-has-radio>a, -.ui-listview .ui-li.ui-li-static.ui-li-has-checkbox, -.ui-listview .ui-li.ui-li-static.ui-li-has-radio { - padding-left: 61.5 * @unit_base; - - .ui-checkbox:first-child, - .ui-radio:first-child { - position: absolute; - top: 33 * @unit_base; - left: 15 * @unit_base; - width: 32 * @unit_base; - height: 32 * @unit_base; - - .ui-btn>.ui-btn-inner { - width: 40 * @unit_base; - height: 40 * @unit_base; - padding: 0; - - .ui-icon { - width: 30 * @unit_base; - height: 30 * @unit_base; - margin: 5 * @unit_base; - background-color: transparent; - - &.ui-icon-checkbox-on { - background-color: @color_checkboxradio_checkbox_bg_icon; - } - - &.ui-icon-radio-on { - background-color: @color_checkboxradio_radio_bg_icon; - } - } - } - } -} - -/**************** list has checkbox/radio and thumbnail ************/ -.ui-listview .ui-li.ui-li-anchor.ui-li-has-checkbox.ui-li-has-thumb>a, -.ui-listview .ui-li.ui-li-anchor.ui-li-has-radio.ui-li-has-thumb>a, -.ui-listview .ui-li.ui-li-static.ui-li-has-checkbox.ui-li-has-thumb, -.ui-listview .ui-li.ui-li-static.ui-li-has-radio.ui-li-has-thumb { - padding-left: 110 * @unit_base; - - .ui-li-thumb { - position: absolute; - left: 61.5 * @unit_base; - } -} - -/******************** list sub text style **************************/ -.ui-li-text-sub { - position: absolute; - top: 17 * @unit_base; - right: 13 * @unit_base; - float: right; - - text-align: right; - font-size: @font_size_list_sub_text; - color: @color_list_sub_text_normal; - - .LESStext-ellipsis(); -} - -/****************************************************************/ -/* Multiline List Style */ -/****************************************************************/ -.ui-listview .ui-li.ui-li-has-multiline { - &.ui-li-anchor>a, - &.ui-li-static { - padding-top: 13 * @unit_base; - padding-bottom: 45 * @unit_base; - } - - .ui-li-text-sub, - .ui-li-text-sub:first-child { - top: 51 * @unit_base; - left: 15 * @unit_base; - line-height: 32 * @unit_base; - float: left; - text-align: left; - - .ui-li-icon-sub, - img { - position: relative; - width: 22.5 * @unit_base; - height: 22.5 * @unit_base; - margin-right: 1 * @unit_base; - margin-bottom: 0; - } - } - .ui-li-text-sub2, - .ui-li-text-sub-right { - position: absolute; - top: 13 * @unit_base; - right : 15 * @unit_base; - float: right; - text-align: right; - line-height: 38 * @unit_base; - font-size: @font_size_list_sub_text; - color: @color_list_sub_text_normal; - .LESStext-ellipsis(); - } - - .ui-li-text-sub-right { - top: 51 * @unit_base; - right: 15 * @unit_base; - line-height: 32 * @unit_base; - } - - .ui-li-icon-sub-right { - position: absolute; - top: 13 * @unit_base; - right: 13 * @unit_base; - width: 22.5 * @unit_base; - height: 22.5 * @unit_base; - } - - .ui-li-color-bar { - position: absolute; - top: 5 * @unit_base; - left: 0; - width: 3.5 * @unit_base; - height: 90%; - - } - - .ui-progressbar { - margin-left: 8 * @unit_base; - margin-top: 14 * @unit_base; - margin-bottom: -4 * @unit_base; - } - - /* multiline list has right button */ - &.ui-li-has-right-btn>.ui-btn-inner>.ui-btn-text>.ui-link-inherit, - &.ui-li-has-right-circle-btn>.ui-btn-inner>.ui-btn-text>.ui-link-inherit, - &.ui-li-static.ui-li-has-right-btn, - &.ui-li-static.ui-li-has-right-circle-btn { - [data-role="button"] { - &:not(.ui-slider-handle) { - position: absolute; - top: 17 * @unit_base; - right: 13 * @unit_base; - margin: 0; - } - } - } - - /* multiline list has left thumbnail */ - &.ui-li-anchor.ui-li-has-thumb>a, - &.ui-li-static.ui-li-has-thumb { - .ui-li-text-sub { left: 61.5 * @unit_base; } - - .ui-li-thumb { top: 50%} - } - - /* multiline list has checkbox/radio */ - &.ui-li-anchor.ui-li-has-checkbox>a, - &.ui-li-anchor.ui-li-has-radio>a, - &.ui-li-static.ui-li-has-checkbox, - &.ui-li-static.ui-li-has-radio { - .ui-li-text-sub { left: 60 * @unit_base; } - } - - /* multiline list has thumbnail and checkbox/radio */ - &.ui-li-anchor.ui-li-has-thumb.ui-li-has-checkbox>a, - &.ui-li-anchor.ui-li-has-thumb.ui-li-has-radio>a, - &.ui-li-static.ui-li-has-thumb.ui-li-has-checkbox, - &.ui-li-static.ui-li-has-thumb.ui-li-has-radio { - .ui-li-text-sub { left: 108 * @unit_base; } - } - - /* multiline list has thumbnail right */ - &.ui-li-anchor.ui-li-has-thumb.ui-li-thumbnail-right>a, - &.ui-li-static.ui-li-has-thumb.ui-li-thumbnail-right { - padding-left: 13 * @unit_base; - - .ui-li-thumb { - float: right; - left: auto; - right: 13 * @unit_base; - } - - .ui-li-text-sub { left: 13 * @unit_base; } - } -} - -/****************************************************************/ -/* List with Edit field */ -/****************************************************************/ -.ui-listview { - .ui-li-editfield { - padding-left: 5 * @unit_base; - padding-right: 5 * @unit_base; - padding-top: 5 * @unit_base; - padding-bottom: 5 * @unit_base; - border-bottom: 0; - - input { - box-sizing: border-box; - padding-top: 5 * @unit_base; - padding-bottom: 5 * @unit_base; - padding-left: 15 * @unit_base; - padding-right: 15 * @unit_base; - width: 100%; - height: 96 * @unit_base; - margin: auto; - - color: @color_list_editfield_text; - font-size: @font_size_list_editfield_text; - } - - input::-webkit-input-placeholder { - color: @color_list_editfield_placeholder_text; - } - - .ui-disabled::-webkit-input-placeholder { - color: @color_list_editfield_disabled_text; - } - - .ui-li-delete { - background: url(images/controls/00_field_btn_clear.png); - background-repeat: no-repeat; - background-size: 22.5*@unit_base 22.5*@unit_base; - position: absolute; - top: 15 * @unit_base; - right: 15 * @unit_base; - width: 23 * @unit_base; - height: 23 * @unit_base; - } - } -} - -/****************************************************************/ -/* Dialogue list */ -/****************************************************************/ -.ui-listview { - .ui-li.ui-li-dialogue, - .ui-li.ui-li-btn.ui-li-dialogue, - .ui-collapsible .ui-li-dialogue { - margin-left: 8 * @unit_base; - margin-right: 8 * @unit_base; - border: 1px solid @color_list_dialog_border; - border-top-width: 0; - - &.ui-li-has-multiline .ui-li-text-sub { left: 10.5 * @unit_base;} - &.ui-li-has-multiline.ui-li-has-checkbox, - &.ui-li-has-multiline.ui-li-has-radio { - >.ui-btn-inner>.ui-btn-text>.ui-link-inherit .ui-li-text-sub { - left: 69 * @unit_base; - } - } - - >.ui-btn-inner { - padding-left: 10 * @unit_base; - padding-right: 10 * @unit_base; - border-bottom: 0; - >.ui-btn-text >.ui-link-inherit { - padding-left: 0; - padding-right: 0; - } - } - >.ui-edit-title { - padding-left: 5 * @unit_base; - } - /* dialogue list with thumb and checkbox/radio */ - &.ui-li-has-thumb >.ui-btn-inner >.ui-btn-text >.ui-link-inherit, - &.ui-li-has-checkbox >.ui-btn-inner >.ui-btn-text >.ui-link-inherit, - &.ui-li-has-radio >.ui-btn-inner >.ui-btn-text >.ui-link-inherit { padding-left: 48.5 * @unit_base; } - } - .ui-li-divider + .ui-li-dialogue, - .ui-li.ui-li-dialogue:first-child { - border-top-width: 1px; - } - .ui-li.ui-li-dialogue.ui-li-dialogue-edit{ - padding-top: 3 * @unit_base; - padding-bottom: 5 * @unit_base; - padding-right: 4 * @unit_base; - padding-left: 4 * @unit_base; - } -} - -/****************************************************************/ -/* Bubble List */ -/****************************************************************/ -.ui-listview { - .ui-li-bubble-receive, - .ui-li-bubble-sent, - .ui-li-bubble-left, - .ui-li-bubble-right, - .ui-li-bubble-sos { - position: relative; - max-width: 290 * @unit_base; - margin-top: 10 * @unit_base; - margin-bottom: 10 * @unit_base; - font-size: @font_size_list_bubble_receive_text; - word-wrap: break-word; - p { - padding-left: 10 * @unit_base; - } - p, span { - margin: 0; - } - img { - position: relative; - min-width: 160 * @unit_base; - min-height: 160 * @unit_base; - } - &:first-child { margin-top: 15 * @unit_base; } - } - - .ui-li-static.ui-li-bubble-receive, - .ui-li-static.ui-li-bubble-left { - clear: left; - color: @color_list_bubble_receive_text; - font-size: @font_size_list_bubble_receive_text; - padding: 10 * @unit_base 20 * @unit_base 10 * @unit_base 46 * @unit_base; - - background-color: @color_list_bubble_receive_bg; - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image('images/nine-patch/00_messagebubble_bg_receive_bg.png'); - .mask-box-image-slice(55 24 15 55 fill); - - >.ui-li-bubble-time { - position: absolute; - left: 100%; - bottom: 12 * @unit_base; - display: inline-block; - width: 50 * @unit_base; - margin-left: 7 * @unit_base; - text-align: left; - color: @color_list_bubble_time_receive_text; - font-size: @font_size_list_bubble_time_receive_text; - } - } - - .ui-li-static.ui-li-bubble-sent, - .ui-li-static.ui-li-bubble-right { - margin-left: auto; - margin-right: 18 * @unit_base; - color: @color_list_bubble_sent_text; - font-size: @font_size_list_bubble_sent_text; - - background-color: @color_list_bubble_sent_bg; - padding: 10 * @unit_base 46 * @unit_base 10 * @unit_base 20 * @unit_base; - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image('images/nine-patch/00_messagebubble_bg_sent_bg.png'); - .mask-box-image-slice(55 55 15 24 fill); - - >.ui-li-bubble-time { - position: absolute; - right: 100%; - bottom: 12 * @unit_base; - display: inline-block; - width: 50 * @unit_base; - margin-right: 7 * @unit_base; - text-align: right; - color: @color_list_bubble_time_sent_text; - font-size: @font_size_list_bubble_time_sent_text; - } - } - - .ui-li-static.ui-li.ui-li-bubble-sent.ui-li-has-thumb, - .ui-li-static.ui-li.ui-li-bubble-right.ui-li-has-thumb, - .ui-li-static.ui-li.ui-li-bubble-receive.ui-li-has-thumb, - .ui-li-static.ui-li.ui-li-bubble-left.ui-li-has-thumb { - img { - position: relative; - display: block; - margin: 10 * @unit_base 10 * @unit_base 10 * @unit_base 10 * @unit_base; - } - padding-left: 46 * @unit_base; - } - - .ui-li-static.ui-li-bubble-sos { - color: @color_list_bubble_sos_text; - > .ui-li-bubble-time { - color: @color_list_bubble_sos_text; - } - } - - .ui-li-static.ui-li-bubble-date { - color: @color_list_bubble_date_text; - font-size: @font_size_list_bubble_date_text; - height: 14 * @unit_base; - border-bottom: 2px solid @color_list_bubble_date_text; - padding: 0; - margin-left: 11 * @unit_base; - margin-right: 11 * @unit_base; - margin-bottom: 22 * @unit_base; - text-align: center; - & * { - display: inline-block; - background-color: @color_bg; - padding-left: 5 * @unit_base; - padding-right: 5 * @unit_base; - margin-top: 6 * @unit_base; - } - } -} -/****************************************************************/ -/* Divider - TO BE FIXED */ -/****************************************************************/ -.ui-listview .ui-li-divider, -.ui-listview .ui-li-divider-btn { - box-sizing: border-box; - height: 52 * @unit_base; - font-size: @font_size_list_divider_text; - background-color: @color_list_divider_bg; - color: @color_list_divider_text; - line-height: 52 * @unit_base; - border: 0; - - &.ui-li.ui-btn-up-s, &.ui-li.ui-btn-hover-s { - background-color: @color_list_divider_bg; - } - - &.ui-btn>.ui-btn-inner, - &.ui-btn>.ui-btn-inner .ui-btn-text { - padding: 0; - } - - .ui-divider-normal-line { - position: absolute; - bottom: 0; - display: block; - width: 100%; - height: 1px; - background-color: @color_list_divider_line; - } - - //for buttonMarkuped divider - &.ui-btn { - top: 0; - margin-top: 0; - border-radius: 0; - border-bottom: 0; - - .ui-btn-inner.ui-btn-hastxt { - height: 100%; - padding-left: 0; - border-bottom: 0; - .ui-btn-text { - position: absolute; - top: 7.5 * @unit_base; - left: 15 * @unit_base; - height: 36 * @unit_base; - font-size: @font_size_list_divider_text; - } - } - - .ui-link-inherit { - color: @color_list_divider_text; - font-weight: bold; - font-size: @font_size_list_divider_text; - line-height: 23 * unit_base; - } - } - - &>.ui-btn-text { - box-sizing: border-box; - padding-left: 13 * @unit_base; - padding-right: 13 * @unit_base; - padding-bottom: 4 * @unit_base; - height: 23 * @unit_base; - vertical-align: middle; - } - - &[data-style="dialogue"] { - margin-bottom: 5 * @unit_base; - padding-left: 13 * @unit_base; - padding-right: 13 * @unit_base; - } - - &[data-style="check"] { - padding-top: 0; - background-color: @color_list_divider_bg; - .ui-divider-normal-line { display: none; } - - .ui-btn-text { - padding: 0; - height: 0; - a { - padding-top: 0; - padding-bottom: 0; - padding-left: 61.5 * @unit_base; - } - } - .ui-checkbox:first-child { - position: absolute; - top: 9 * @unit_base; - left: 15 * @unit_base; - width: 31.5 * @unit_base; - height: 31.5 * @unit_base; - } - } -} - -/****************************************************************/ -/* Dummy */ -/****************************************************************/ -.ui-listview-dummy { - position: absolute; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.navbar.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.navbar.less deleted file mode 100644 index 94775650..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.navbar.less +++ /dev/null @@ -1,26 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ -.ui-navbar { overflow: hidden; } -.ui-navbar ul, .ui-navbar-expanded ul { list-style:none; padding: 0; margin: 0; position: relative; display: block; border: 0;} -.ui-navbar-collapsed ul { float: left; width: 75%; margin-right: -2px; } -.ui-navbar-collapsed .ui-navbar-toggle { float: left; width: 25%; } -.ui-navbar li.ui-navbar-truncate { position: absolute; left: -9999px; top: -9999px; } -.ui-navbar li .ui-btn, .ui-navbar .ui-navbar-toggle .ui-btn { display: block; text-align: center; margin: 0; border-right-width: 0; } -.ui-navbar li .ui-btn { margin-right: -1px; } -.ui-navbar li .ui-btn:last-child { margin-right: 0; } -.ui-header .ui-navbar li .ui-btn, .ui-header .ui-navbar .ui-navbar-toggle .ui-btn, -.ui-footer .ui-navbar li .ui-btn, .ui-footer .ui-navbar .ui-navbar-toggle .ui-btn { border-top-width: 0; } -.ui-navbar .ui-btn-inner { padding-left: 2px; padding-right: 2px; } -.ui-navbar-noicons li .ui-btn .ui-btn-inner, .ui-navbar-noicons .ui-navbar-toggle .ui-btn-inner { padding-top: .8em; padding-bottom: .9em; } -/*expanded page styles*/ -.ui-navbar-expanded .ui-btn { margin: 0; font-size: 14px; } -.ui-navbar-expanded .ui-btn-inner { padding-left: 5px; padding-right: 5px; } -.ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner { padding: 45px 5px 15px; text-align: center; } -.ui-navbar-expanded .ui-btn-icon-top .ui-icon { top: 15px; } -.ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner { padding: 15px 5px 45px; text-align: center; } -.ui-navbar-expanded .ui-btn-icon-bottom .ui-icon { bottom: 15px; } -.ui-navbar-expanded li .ui-btn .ui-btn-inner { min-height: 2.5em; } -.ui-navbar-expanded .ui-navbar-noicons .ui-btn .ui-btn-inner { padding-top: 1.8em; padding-bottom: 1.9em; } diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.popup.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.popup.less deleted file mode 100644 index 42fff756..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.popup.less +++ /dev/null @@ -1,107 +0,0 @@ -.ui-popup-screen-background-hack { - background-color: black; - filter: Alpha(Opacity=0); -} - -.m-popup-animtion-fadein() { - from { opacity: 0; } - to { opacity: 0.5; } -} - -.m-popup-animation-fadeout() { - from { opacity: 0.5; } - to { opacity: 0; } -} - -@-webkit-keyframes popup-fadein { - .m-popup-animtion-fadein(); -} - -@-moz-keyframes popup-fadein { - .m-popup-animtion-fadein(); -} - -@-ms-keyframes popup-fadein { - .m-popup-animtion-fadein(); -} - -@-o-keyframes popup-fadein { - .m-popup-animtion-fadein(); -} - -@keyframes popup-fadein { - .m-popup-animtion-fadein(); -} - -@-webkit-keyframes popup-fadeout { - .m-popup-animation-fadeout(); -} - -@-moz-keyframes popup-fadeout { - .m-popup-animation-fadeout(); -} - -@-ms-keyframes popup-fadeout { - .m-popup-animation-fadeout(); -} - -@-o-keyframes popup-fadeout { - .m-popup-animation-fadeout(); -} - -@keyframes popup-fadeout { - .m-popup-animation-fadeout(); -} - -.ui-popup-screen.fade.in { - opacity: 0.5; - .animation-name(popup-fadein); -} - -.ui-popup-screen.fade.out { - opacity: 0; - .animation-name(popup-fadeout); -} - -.ui-popup.ui-content, -.ui-popup .ui-content { - overflow: visible; -} - -.ui-popup > img { - width: auto; - height: auto; - max-width: 100%; - max-height: 100%; - vertical-align: middle; -} -.ui-popup iframe { - vertical-align: middle; -} - -@media all and (min-width: 450px){ - .ui-popup .ui-field-contain label.ui-submit, - .ui-popup .ui-field-contain .ui-controlgroup-label, - .ui-popup .ui-field-contain label.ui-select, - .ui-popup .ui-field-contain label.ui-input-text { - font-size: 16px; line-height: 1.4; display: block; font-weight: normal; margin: 0 0 .3em; - } - .ui-popup .ui-field-contain .ui-btn.ui-submit, - .ui-popup .ui-field-contain .ui-controlgroup-controls, - .ui-popup .ui-field-contain .ui-select, - .ui-popup .ui-field-contain input.ui-input-text, - .ui-popup .ui-field-contain textarea.ui-input-text, - .ui-popup .ui-field-contain .ui-input-search { - width: 100%; display: block; - } -} - -.ui-popup > .ui-btn-left, -.ui-popup > .ui-btn-right { - position: absolute; - top: -9px; - margin: 0; - z-index: 1101; -} -.ui-popup > .ui-btn-left { left: -9px; } -.ui-popup > .ui-btn-right { right: -9px; } diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.segmentctrl.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.segmentctrl.less deleted file mode 100644 index e8494dc3..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.segmentctrl.less +++ /dev/null @@ -1,33 +0,0 @@ -.ui-controlgroup { - .ui-radio { - > .ui-btn { - background : @color_bg; - } - } -} - -.ui-controlgroup .ui-btn-inner.ui-corner-left { - .border-radius(0); -} - -.ui-controlgroup .ui-btn-inner.ui-corner-right.ui-controlgroup-last { - .border-radius(0); -} - -.ui-controlgroup .ui-radio-off.ui-btn-hover-s.ui-btn-down-s .ui-btn-inner, -.ui-controlgroup .ui-radio-on .ui-btn-inner { - color: @color_segmentcontrol_Seg_text_pressed; -} - -.ui-controlgroup .ui-radio-off .ui-btn-inner{ - color: @color_segmentcontrol_Seg_text; -} - -.ui-controlgroup.ui-controlgroup-horizontal { - .ui-radio-on .ui-btn-inner { - color : #fafafa; - } - .ui-radio .ui-btn-down-s .ui-btn-inner { - color : #fafafa; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.theme.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.theme.less deleted file mode 100644 index 48338a1a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.theme.less +++ /dev/null @@ -1,597 +0,0 @@ -/*************************************************************************** - Header / Footer - NavigationBar -***************************************************************************/ -@footer_btn_margin: 15 * @unit_base; -@footer_btn_middle_margin: 6 * @unit_base; - -.ui-header { - border: none; - background : @color_bar_naviframe_bg; /* Header Background */ - color: @color_bar_title_text; - - .ui-link-inherit { - color: @color_bar_title_text; - } - - > .ui-btn.ui-btn-back, - > .ui-btn.ui-btn-footer-down { - background : transparent; - - position : absolute; - right : 0; - } - - > .ui-btn.ui-btn-footer-down { - border : none; - .ui-icon { - top : 8 * @unit_base; - margin-top : 0; - } - } -} - -/* Header style */ -.ui-header { - position : fixed; - top : 0; - - min-height : 72 * @unit_base; - - .ui-title { - height : 46 * @unit_base; - max-width: 450 * @unit_base; - color: @color_bar_title_text; - font-size : @font_size_bar_title_text; - font-weight : 500; /* tizen font weight tuning */ - text-overflow: ellipsis; - overflow: hidden; - float: center; - white-space: nowrap; - outline: 0 !important; - - text-align: center; - margin: 13 * @unit_base auto; - line-height: 46 * @unit_base; - /* text align center tuning */ - } - - - - /* header button position : need to press area more... */ - >.ui-btn, - >.naviframe-button.ui-btn { - .ui-btn-inner.ui-btn-icon-only { - .border-box(); - } - } - - >.ui-btn:not(.ui-btn-icon-notext), - >.naviframe-button.ui-btn:not(.ui-btn-icon-notext) { - .ui-btn-inner.ui-btn-icon-only { - padding-left : 0; - } - } - - > .ui-btn, - >.naviframe-button { - height : 46 * @unit_base; - padding : 0; - position: absolute; - top: 13 * @unit_base; - - margin : 0; - - color: @color_bar_title_button_text; - font-size: @font_size_bar_title_button_text; - .LESSborder-radius-all(0); - - &.ui-btn-left, - &.ui-btn-right { - -webkit-mask-box-image: none; - border-image: none; - &.ui-btn-icon-naviframe-cancel, - &.ui-btn-icon-naviframe-done { - width: 104 * @unit_base; - height: 100%; - .ui-btn-inner { - width: 100%; - .ui-btn-text { - display: block; - width: 100%; - height: 46 * @unit_base; - .border-box(); - line-height: 72 * @unit_base; - } - } - .ui-icon { - display: none; - } - } - - &.ui-btn-icon-left.ui-btn-icon_only .ui-btn-inner.ui-btn-icon-only .ui-icon { - left: 0; - background-color: @color_bar_title_button_all; - } - } - &.ui-btn-left { - left: 15 * @unit_base; - &.ui-btn-icon-naviframe-cancel { - left: 0; - top: 0; - } - } - - &.ui-btn-right { - right: 15 * @unit_base; - &.ui-btn-icon-naviframe-done { - right: 0; - top: 0; - } - } - - &:not(.ui-btn-icon_only) { - width: auto; - max-width: 70 * @unit_base; - } - - &.ui-btn-icon_only { - width: 46 * @unit_base; - } - - .ui-btn-inner { - padding : 0; - margin : 0; - width: auto; - height: 100%; - .ui-btn-text { - width: auto; - font-size : @font_size_bar_title_button_text; - line-height: 46 * @unit_base; - } - - &.ui-btn-icon-only { - margin: 0; - width: 46 * @unit_base; - } - } - &.ui-btn-down-s { - background-color : @color_bar_naviframe_press; - } - } - - > .ui-btn.ui-btn-back, - > .ui-btn.ui-btn-footer-down { - right : 13 * @unit_base; - } - - img { - position : absolute; - display: inline-block; - height: 46 * @unit_base; - width: 46 * @unit_base; - margin-left: 21 * @unit_base; - margin-top : 13 * @unit_base; - } - - .ui-title-text-sub { - position : absolute; - top : 41 * @unit_base; - left : 0; - right: 0; - text-align: center; - - color: @color_bar_title_sub_text; - font-size : @font_size_bar_title_sub_text; - font-weight : 500; - text-overflow : ellipsis; - white-space : nowrap; - overflow : hidden; - } - - &.ui-title-tabbar >.ui-btn { - // NOTE: there is an issue that when tabbar and button are - // used together in the header, the lower part of buttons is - // hidden by the tabbar. (N_SE-22253) Although No specification - // for this case is found in the GUI guide, this one is added - // to resolve this issue. - top: 8 * @unit_base; - } - - > img + h1 { - padding-left : 30 * @unit_base; - } - - > img + h1 + .ui-btn:not(.ui-btn-icon_only):nth-child(5), - > img + h1 + .naviframe-button.ui-btn:not(.ui-btn-icon_only):nth-child(5) { - right : 0 * @unit_base; - } - - > img + h1 + .ui-btn:not(.ui-btn-icon_only):nth-child(5) + .ui-btn:not(.ui-btn-icon_only), - > img + h1 + .naviframe-button.ui-btn:not(.ui-btn-icon_only):nth-child(5) + .naviframe-button.ui-btn:not(.ui-btn-icon_only) { - right : 62 * @unit_base; - } - - > img + h1 + span.ui-title-text-sub + .ui-btn:not(.ui-btn-icon_only):nth-child(7), - > img + h1 + span.ui-title-text-sub + .naviframe-button.ui-btn:not(.ui-btn-icon_only):nth-child(7) { - right : 0 * @unit_base; - } - - > img + h1 + span.ui-title-text-sub + .ui-btn:not(.ui-btn-icon_only):nth-child(7) + .ui-btn:not(.ui-btn-icon_only), - > img + h1 + span.ui-title-text-sub + .naviframe-button.ui-btn:not(.ui-btn-icon_only):nth-child(7) + .naviframe-button.ui-btn:not(.ui-btn-icon_only) { - right : 62 * @unit_base; - } - - > .ui-btn.ui-btn-down-s { - background : @color_bar_naviframe_press; - color : @color_bar_title_button_text_press; - } - - &.ui-title-multiline { - - .ui-title { - height : 38 * @unit_base; - color: @color_bar_title_multiline_text; - font-size: @font_size_bar_title_multiline_text; - - margin: 3 * @unit_base auto 0; - } - img + .ui-title + .ui-title-text-sub { - left : 42 * @unit_base; - } - } -} - -.ui-footer { - height : 108 * @unit_base; - text-align : center; - bottom : 0; - background : @color_bar_toolbar_bg; - .ui-btn.ui-btn-box-s { - .border-box(); - height: 74 * @unit_base; - margin-top: 17 * @unit_base; - width: 100%; - .ui-btn-inner .ui-btn-text { - line-height: 64.5 * @unit_base; - } - } - &.ui-footer-btn-1 { - .flex-direction(row); - .ui-btn.ui-btn-box-s { - margin-left: @footer_btn_margin; - margin-right: @footer_btn_margin; - } - } - &.ui-footer-btn-2 { - .flex-direction(row); - .ui-btn.ui-btn-box-s:nth-child(1) { - margin-left: @footer_btn_margin; - margin-right: @footer_btn_middle_margin; - } - .ui-btn.ui-btn-box-s:nth-child(2) { - margin-left: @footer_btn_middle_margin; - margin-right: @footer_btn_margin; - } - } - &.ui-footer-btn-3 { - .display-flex(); - .flex-direction(row); - .ui-btn.ui-btn-box-s:nth-child(1) { - margin-left: @footer_btn_margin; - margin-right: @footer_btn_middle_margin; - } - .ui-btn.ui-btn-box-s:nth-child(2) { - margin-left: @footer_btn_middle_margin; - margin-right: @footer_btn_middle_margin; - } - .ui-btn.ui-btn-box-s:nth-child(3) { - margin-left: @footer_btn_middle_margin; - margin-right: @footer_btn_margin; - } - } - .ui-controlgroup { - margin: 0; - .ui-controlgroup-controls { - width: 100%; - .display-flex(); - .flex-direction(row); - .ui-btn.ui-btn-box-s { - margin-left: @footer_btn_middle_margin; - margin-right: @footer_btn_middle_margin; - .ui-btn-text { - font-size: @font_size_button_text; - line-height: 60 * @unit_base; - color: @color_button_text_normal; - } - } - } - } - > p { - margin-top : 8 * @unit_base; - margin-bottom : 8 * @unit_base; - } - > h1, h2, h3, h4, h5, h6 { - display: inline-block; - } -} - -/*************************************************************************** - Content Top calculate -***************************************************************************/ -.ui-content { - position : relative; - top : 0; -} - -/*************************************************************************** - Content Top calculate -***************************************************************************/ - - -.ui-page { - border-top: none; - background: @color_bg; - color: @color_text; - font-weight: normal; - - font-family: @font_family; - - .ui-link-inherit { color: #fff; } - .ui-link { - /* ui-body-link */ - color: #2489CE; - font-weight: bold; - &:hover { color: #2489CE; } - &:active { color: #2489CE; } - &:visited { color: #2489CE; } - } -} - -.ui-br { -} -.ui-btn-box-s { - padding: 1 * @unit_base; -} - -.ui-btn-box-s.ui-btn-down-s { - .ui-btn-inner { - color: @color_button_text_press; - } -} - -.ui-btn-up-s, -.ui-btn-hover-s, -.ui-btn-down-s { - font-family: @font_family; - text-decoration: none; -} - -/* -/* Structure */ -/* links within "buttons" ------------------------------------------------------------------------------------------------------------*/ - -a.ui-link-inherit { - text-decoration: none !important; -} - - -/* Active class used as the "on" state across all themes ------------------------------------------------------------------------------------------------------------*/ - -/* button default color for active state */ -.ui-btn-active { - /* global-active */ - color: @color_button_text_normal; - cursor: pointer; - text-decoration: none; - background: @color_button_bg_press; - outline: none; - - a.ui-link-inherit { - color: @color_button_text_normal; - } -} - - -/* corner rounding classes ------------------------------------------------------------------------------------------------------------*/ - -.ui-corner-tl { - .LESSborder-radius-topleft(.3em); -} -.ui-corner-tr { - .LESSborder-radius-topright(.3em); -} -.ui-corner-bl { - .LESSborder-radius-bottomleft(.3em); -} -.ui-corner-br { - .LESSborder-radius-bottomright(.3em); -} -.ui-corner-top { - .LESSborder-radius-topleft(.3em); - .LESSborder-radius-topright(.3em); -} -.ui-corner-bottom { - .LESSborder-radius-bottomleft(.3em); - .LESSborder-radius-bottomright(.3em); -} -.ui-corner-right { - .LESSborder-radius-topright(.3em); - .LESSborder-radius-bottomright(.3em); -} -.ui-corner-left { - .LESSborder-radius-topleft(.3em); - .LESSborder-radius-bottomleft(.3em); -} -.ui-corner-none { - .LESSborder-radius-all(0); -} - -/*************************************************************************** - Icon (Naviframe) -***************************************************************************/ -.ui-header, .ui-footer { - .ui-tabbar { - .ui-btn .ui-btn-icon-only .ui-icon { - width: 46 * @unit_base; - height: 46 * @unit_base; - margin-left: 0; - top: 6 * @unit_base; - left: 50%; - } - } -} - -.ui-footer { - .ui-tabbar { - .ui-btn-box-s.ui-btn-up-s, - .ui-btn-box-s.ui-focus, - .ui-btn-box-s.ui-btn-hover-s { - .core_button_bg(); - &:not([data-style="nobg"]):not([data-style="circle"]).ui-btn-icon_only { - .ui-icon { - background-color: @color_button_icon; - } - } - - } - - .ui-btn-box-s.ui-btn-down-s { - .core_button_bg_pressed(); - } - - .ui-btn-inner.ui-btn-icon-only { - top: 7.5 * @unit_base; - } - } -} - -.ui-btn-footer-down .ui-btn-inner .ui-icon { - width: 32 * @unit_base; - height: 32 * @unit_base; - - background-repeat: no-repeat; - background-size: 100% 100%; -} - -.ui-btn.ui-btn-up-s { /* less parsing problem : divide css */ - .ui-icon.ui-icon-naviframe-edit { - .mask-image('images/page/00_icon_edit.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-plus { - .mask-image('images/page/00_icon_plus.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-delete { - .mask-image('images/page/00_icon_delete.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-search { - .mask-image('images/page/00_icon_search.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-selectall { - .mask-image('images/page/00_icon_select_all.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-drawer { - .mask-image('images/page/core_icon_drawer.png'); - } -} - -.ui-btn.ui-btn-hover-s { - .ui-icon.ui-icon-naviframe-edit { - .mask-image('images/page/00_icon_edit.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-plus { - .mask-image('images/page/00_icon_plus.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-delete { - .mask-image('images/page/00_icon_delete.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-search { - .mask-image('images/page/00_icon_search.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-selectall { - .mask-image('images/page/00_icon_select_all.png'); - background-color: @color_bar_title_button_all; - } - .ui-icon.ui-icon-naviframe-drawer { - .mask-image('images/page/core_icon_drawer.png'); - } -} - -.ui-btn-box-s.ui-btn.ui-btn-down-s { - .ui-icon.ui-icon-naviframe-edit { - .mask-image('images/page/00_icon_edit.png'); - background-color: @color_bar_title_button_all_press; - } - .ui-icon.ui-icon-naviframe-plus { - .mask-image('images/page/00_icon_plus.png'); - background-color: @color_bar_title_button_all_press; - } - .ui-icon.ui-icon-naviframe-delete { - .mask-image('images/page/00_icon_delete.png'); - background-color: @color_bar_title_button_all_press; - } - .ui-icon.ui-icon-naviframe-search { - .mask-image('images/page/00_icon_search.png'); - background-color: @color_bar_title_button_all_press; - } - .ui-icon.ui-icon-naviframe-selectall { - .mask-image('images/page/00_icon_select_all.png'); - background-color: @color_bar_title_button_all_press; - } - .ui-icon.ui-icon-naviframe-drawer { - .mask-image('images/page/core_icon_drawer.png'); - } -} - -.ui-btn.ui-btn-box-s .ui-icon { - - &.ui-icon-naviframe-edit, - &.ui-icon-naviframe-plus, - &.ui-icon-naviframe-delete, - &.ui-icon-naviframe-search, - &.ui-icon-naviframe-selectall, - &.ui-icon-naviframe-drawer { - width: 46 * @unit_base; - height: 46 * @unit_base; - margin-left: 0; - margin-top: 0; - top: 0; - left: 0; - } -} - -.ui-btn .ui-icon { - - &.ui-icon-naviframe-edit, - &.ui-icon-naviframe-plus, - &.ui-icon-naviframe-delete, - &.ui-icon-naviframe-search, - &.ui-icon-naviframe-selectall, - &.ui-icon-naviframe-drawer { - .mask-size(100%); - } -} -/* Interaction cues ------------------------------------------------------------------------------------------------------------*/ -.ui-disabled { - .opacity(0.3); - zoom: 1; -} -.ui-disabled, -.ui-disabled a { - cursor: default !important; - pointer-events: none; -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.ctxpopup.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.ctxpopup.less deleted file mode 100644 index d8b98215..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.ctxpopup.less +++ /dev/null @@ -1,336 +0,0 @@ -.ui-popup-screen.ui-ctxpopup-screen { - opacity: 0; -} -.ui-ctxpopup { - display: table; - - :focus { - outline:none; - } - - .ui-ctxpopup-row .ui-triangle-top { - top: 2 * @unit_base; - } - - .ui-ctxpopup-row .ui-triangle-left { - left: 2 * @unit_base; - } - - .ui-ctxpopup-row .ui-triangle-right { - right: 2 * @unit_base; - } - - .ui-ctxpopup-row .ui-triangle-bottom { - bottom: 2 * @unit_base; - } - - .ui-ctxpopup-row { - display: table-row; - - .ui-ctxpopup-cell { - display: table-cell; - } - - .ui-popupwindow-padding { - background: @color_ctxpopup_background; - border: none; - .box-shadow(0 * @unit_base 0 * @unit_base 12 * @unit_base rgba(0, 0, 0, .6)); - } - - } - - .ui-listview li.ui-btn-up-s, .ui-listview li.ui-btn-hover-s { - background: transparent; - } - - .ui-listview { - max-width: 620 * @unit_base; - border: none; - } - - .ui-listview .ui-li { - color: @color_ctxpopup_text; - font-size: @font_size_ctxpopup_text; - border-top: 1 * @unit_base solid @color_ctxpopup_list_item_border_top; - border-bottom: 1 * @unit_base solid @color_ctxpopup_list_item_border_bottom; - margin-left: 0; - margin-right: 0; - &:first-child { - border-top-width: 0; - } - &:last-child { - border-bottom-width: 0; - } - &.ui-li-anchor { - &>a { - box-sizing: border-box; - } - &:not(:last-child){ - border-bottom: 1px solid @color_ctxpopup_divider; - } - &.ui-li-active { - background-color: @color_ctxpopup_btn_press; - } - } - } - - .ui-listview li.ui-btn-up-s > .ui-li > .ui-btn-text > a.ui-link-inherit, .ui-listview li.ui-btn-hover-s > .ui-li > .ui-btn-text > a.ui-link-inherit, .ui-listview li.ui-btn-down-s > .ui-li > .ui-btn-text > a.ui-link-inherit { - color: @color_ctxpopup_text; - font-size: @font_size_ctxpopup_text; - } - - .horizontal { - color: @color_ctxpopup_text; - .icon .ui-btn { - padding: 0; - background: transparent ! important; - .ui-btn-icon-only { - width: 96 * @unit_base; - height: 64 * @unit_base; - padding: 0; - } - - .ui-icon { - top: 0; - height: inherit; - width: inherit; - margin: 0; - background-position: center; - .LESSbackground-size( 48 * @unit_base, 48 * @unit_base ); - } - } - - .text { - padding: 0 10 * @unit_base; - min-width: 48 * @unit_base; - } - - - a.ui-link { - color: @color_ctxpopup_text; - text-decoration: none; - } - - ul { - padding: 0; - display: inline-block; - list-style: none; - vertical-align: middle; - margin: 0; - } - - li { - line-height: 32 * @unit_base; - min-height: 32 * @unit_base; - min-width: 48 * @unit_base; - - float: left; - display: inline-block; - border-right: 1 * @unit_base solid @color_ctxpopup_border_right; - border-left: 1 * @unit_base solid @color_ctxpopup_border_left; - text-align: center; - border-bottom-width: 0; - border-top-width: 0; - } - - li:first-of-type { - border-top-right-radius: 0 ! important; - border-left: none; - } - - li:last-of-type { - border-bottom-left-radius: 0 ! important; - border-right: none; - } - - .ui-li { - &:first-child { - border-left-width: 0; - } - &:last-child { - border-right-width: 0; - } - border-bottom-width: 0; - border-top-width: 0; - } - - li:active, td:active { - background: @color_ctxpopup_btn_press; - } - } - - .button { - table .ui-btn { - margin: 0 * @unit_base; - padding: 0; - height: 56 * @unit_base; - width: 132 * @unit_base; - } - } - -} - -:not(.ui-slider-popup-container) { - .ui-arrow { - border: 4 * @unit_base solid @color_ctxpopup_background_border; - width: 14.14 * @unit_base; - height: 14.14 * @unit_base; - background: inherit !important; - position: absolute; - .rotate(45deg); - z-index: -1; - &.top { - //border-color: transparent transparent @color_ctxpopup_background transparent; - margin: -8 * @unit_base; - } - &.left { - //border-color: transparent transparent transparent @color_ctxpopup_background; - margin: -6 * @unit_base; - } - &.right { - //border-color: transparent @color_ctxpopup_background transparent transparent; - margin: -6 * @unit_base; - } - &.bottom { - //border-color: @color_ctxpopup_background transparent transparent transparent; - margin: -6 * @unit_base; - } - } -} - -.ui-ctxpopup-container { - z-index: 1200; - display: inline-block; - position: absolute; - padding: 0; - outline: 0; - border: 1 * @unit_base solid @color_ctxpopup_background_border; - background: @color_ctxpopup_background; - box-shadow: 1 * @unit_base 2 * @unit_base 1 * @unit_base #333333; - max-width: 100%; - box-sizing: border-box; - .ui-popup { - border: none; - border-color: inherit; - border-radius: 10 * @unit_base; - background: @color_ctxpopup_background; - padding : 0 8 * @unit_base 0; - position: relative; - &.ui-selectmenu { - padding: 0; - } - } - .ui-listview .ui-li .ui-btn-inner { - border-width: 0; - } -} - -.poptop { - .transform-origin(0% 0%); -} - -.poptop.in { - opacity: 1; - .scale(1); - .animation(scalepopin 350ms); -} - -.poptop.out { - opacity: 0; - .animation(fadeout 100ms); -} - -.poptop.in.reverse { - .animation-name(fadein); -} - -.poptop.out.reverse { - .scale(0.8); - .animation-name(scalepopout); -} - -.popbottom { - .transform-origin(0% 100%); -} - -.popbottom.in { - opacity: 1; - .scale(1); - .animation(scalepopin 350ms); -} - -.popbottom.out { - opacity: 0; - .animation(fadeout 100ms); -} - -.popbottom.in.reverse { - .animation-name(fadein); -} - -.popbottom.out.reverse { - .scale(0.8); - .animation-name(scalepopout); -} - -.m-ctxpopup-scalepopin() { - from { - .scale(0.8); - opacity: 0; - } - to { - .scale(1); - opacity: 1; - } -} -.m-ctxpopup-scalepopout() { - from { - .scale(1); - opacity: 1; - } - to { - .scale(0.8); - opacity: 0; - } -} - -@-webkit-keyframes scalepopin { - .m-ctxpopup-scalepopin(); -} - -@-moz-keyframes scalepopin { - .m-ctxpopup-scalepopin(); -} - -@-ms-keyframes scalepopin { - .m-ctxpopup-scalepopin(); -} - -@-o-keyframes scalepopin { - .m-ctxpopup-scalepopin(); -} - -@keyframes scalepopin { - .m-ctxpopup-scalepopin(); -} - -@-webkit-keyframes scalepopout { - .m-ctxpopup-scalepopout(); -} - -@-moz-keyframes scalepopout { - .m-ctxpopup-scalepopout(); -} - -@-ms-keyframes scalepopout { - .m-ctxpopup-scalepopout(); -} - -@-o-keyframes scalepopout { - .m-ctxpopup-scalepopout(); -} - -@keyframes scalepopout { - .m-ctxpopup-scalepopout(); -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.datetimepicker.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.datetimepicker.less deleted file mode 100644 index cbdac046..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.datetimepicker.less +++ /dev/null @@ -1,229 +0,0 @@ -@unit_base_datetimepicker : @unit_base * 0.5; - -.m-datetime-in() { - from { - .transform(translateY(14 * @unit_base) scale(0.9)); - } to { - .transform(translateY(0) scale(1)); - } -} - -.m-datetime-out() { - from { - opacity: 0.8; - .transform(translateY(0) scale(0.6)); - } to { - opacity: 0; - .transform(translateY(-14 * @unit_base) scale(0.6)); - } -} - -@-webkit-keyframes ui-datetime-in { - .m-datetime-in(); -} - -@-moz-keyframes ui-datetime-in { - .m-datetime-in(); -} - -@-ms-keyframes ui-datetime-in { - .m-datetime-in(); -} - -@-o-keyframes ui-datetime-in { - .m-datetime-in(); -} - -@keyframes ui-datetime-in { - .m-datetime-in(); -} - -@-webkit-keyframes ui-datetime-out { - .m-datetime-out(); -} - -@-moz-keyframes ui-datetime-out { - .m-datetime-out(); -} - -@-ms-keyframes ui-datetime-out { - .m-datetime-out(); -} - -@-o-keyframes ui-datetime-out { - .m-datetime-out(); -} - -@keyframes ui-datetime-out { - .m-datetime-out(); -} - -.ui-datefield { - font-size: @font_size_datetime_main_text; - display : inline-block; - - & > div > span { - vertical-align: middle; - min-width: 69 * @unit_base_datetimepicker; - position: relative ! important; - padding: 0; - } - - .ui-datefield-seperator, .ui-datefield-tab { - display: inline-block; - min-width: 22 * @unit_base_datetimepicker; - text-align: center; - } - - .ui-datefield-tab > div { - display: inline-block; - width: 17 * @unit_base_datetimepicker; - height: 42 * @unit_base_datetimepicker; - - &.ui-divider-1st { - border-right:1px solid red; - } - - &.ui-divider-2nd { - border-left:1px solid red; - } - } - - .date,.time,.ui-datefield-tab { - display: inline-block; - } - - .ui-btn-box-s .ui-btn-inner.ui-btn-hastxt { - padding: 0; - } - - span.ui-datefield-year, span.ui-datefield-month { - min-width: 84 * @unit_base_datetimepicker; /* except right&left padding */ - padding: 0 10 * @unit_base_datetimepicker; - } - - .ui-datefield-selected { - display: inline-block; - } - .ui-datefield-selected.in { - .animation(ui-datetime-in 300ms 1 ease); - } - .ui-datefield-selected.out { - .animation(ui-datetime-out 300ms 1 ease); - } -} - -@media all and (orientation: landscape) and (device-aspect-ratio: 16/9) { - .ui-datefield { - & > div > span { - min-width: 159 * @unit_base_datetimepicker; - } - - span.ui-datefield-year, span.ui-datefield-month { - min-width: 229 * @unit_base_datetimepicker; /* except right&left padding */ - } - } -} - -.ui-datetime { - margin: 0; - height: 36 * @unit_base; -} - -.ui-datetime-text-main { - position: relative; - top: 0 ; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - padding-top: 0.3em; -} - -.ui-btn-picker { - line-height: 48 * @unit_base_datetimepicker; -} - -.ui-datefield-period.ui-btn { - line-height: 60 * @unit_base_datetimepicker; - right: auto; - position: relative ! important; -} - -.ui-datetime-text-sub { - top: 5 * @unit_base ! important; - background: transparent ! important; - font-size: @font_size_datetime_sub_text ! important; -} - -.ui-datetimepicker-selector { - ul { - padding: 0; - display: block; - list-style: none; - vertical-align: middle; - margin: 0; - width: 300%; - - li { - font-size: 22 * @unit_base; - float: left; - padding: 15 * @unit_base 4 * @unit_base 0 4 * @unit_base; - max-width: 120 * @unit_base; - min-width: 60 * @unit_base; - - a.ui-link { - text-decoration: none; - } - - a.ui-link:hover { - } - } - - li.current { - a.ui-link { - } - } - } -} - -.ui-datetimepicker { - left: 0 !important; - padding: 0; - - &.ui-arrow-t { - margin-top: 10 * @unit_base_datetimepicker; - } - - &.ui-arrow-b { - margin-top: -10 * @unit_base_datetimepicker; - } - - &.ui-popup-window { - background: @color_timepicker_selector_color; - } - - .ui-popupwindow-padding { - background: inherit !important; - .border-radius(0) !important; - .box-shadow(0px 0px 12px rgba(0, 0, 0, 0.6)) !important; - border-width: 0 !important; - text-align: center !important; - - div { - height: 53 * @unit_base; - } - } - - .ui-arrow { - border: 0; - z-index: 1; - } -} - -.ui-li-dialogue .ui-datefield { - margin-top: 18 * @unit_base_datetimepicker; - - .ui-datefield-seperator, .ui-datefield-tab { - margin-top: -1em; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.drawer.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.drawer.less deleted file mode 100644 index 7aab4ce2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.drawer.less +++ /dev/null @@ -1,75 +0,0 @@ -.ui-drawer { - position : absolute; - background-color : @color_drawer_bg; - z-index : 1201; - box-sizing : border-box; - overflow-y : scroll; - &.ui-drawer-left { - border-right : 1px solid @color_drawer_border_right; - /* drawer left border color same to list border bottom color */ - } - &.ui-drawer-right { - border-left : 1px solid @color_drawer_border_left; - /* drawer right border color same to list border bottom color */ - } - .ui-listview { - margin : 0; - position: absolute; - z-index: 2000; - width: 100%; - .ui-li.ui-btn-up-s, - .ui-li.ui-btn-hover-s{ - background-color : @color_drawer_bg; - } - .ui-li.ui-btn-down-s { - background-color : @color_drawer_list_press; - } - .ui-li.ui-li-last > .ui-btn-inner { - /* This less code should removed after fixing list widget less code */ - border-bottom-color : @color_list_border_bottom; - } - .ui-drawer-sub-list > .ui-btn-inner .ui-btn-text { - .ui-link-inherit { - padding-left : 26 * @unit_base; - } - } - &.ui-listview-colored { - .ui-li.ui-btn-up-s, .ui-li.ui-btn-hover-s { - background-color : transparent; - } - .ui-li.ui-btn-down-s { - background-color : @color_drawer_list_press; - } - } - } -} - -.ui-drawer-overlay { - position : absolute; - background-color : @color_drawer_overlay_bg; - z-index : 1200; -} - -.ui-header { - &.ui-drawer-header { - .ui-btn.ui-drawer-button.ui-btn-icon_only { - position: absolute; - top: 0; - left: 0; - width : 55 * @unit_base; - height : 72 * @unit_base; - - &.ui-btn-down-s { - background-color : @color_drawer_icon_press; - } - - .ui-btn-inner.ui-btn-icon-only .ui-icon { - width : 55 * @unit_base; - height : 72 * @unit_base; - background-color: @color_drawer_icon; - margin-top: 0; - top: 0; - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.emptystate.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.emptystate.less deleted file mode 100644 index bbfc11c9..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.emptystate.less +++ /dev/null @@ -1,50 +0,0 @@ -.ui-page.ui-empty-state { - - .ui-header { - background-color: @color_emptystate_header_bg; - } - - .ui-content { - position: relative; - .display-flex(); - .align-items(center); - .justify-content(center); - height: 100%; - background-color: @color_emptystate_content_bg; - - &:before { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - .mask-image('images/00_page_empty_bg.png'); - .mask-size(100% auto); - .mask-repeat(no-repeat); - background-color: @color_emptystate_content_pattern_bg; - } - - .ui-scrollview-view { - text-align: center; - padding: 0 15 * @unit_base; - font-size: @font_size_emptystate_message_text; - line-height: 32 * @unit_base; - - h1,h2,h3,h4,h5,h6 { - margin: 0; - margin-bottom: 20 * @unit_base; - line-height: 38 * @unit_base; - font-size: @font_size_emptystate_header_text; - } - } - - @media only screen and (orientation : landscape) { - &:before { - .mask-image('images/00_page_empty_bg_h.png'); - .mask-size(100% 200 * @unit_base); - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.fastscroll.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.fastscroll.less deleted file mode 100644 index 7429b5b3..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.fastscroll.less +++ /dev/null @@ -1,58 +0,0 @@ -.ui-fastscroll { - position: absolute; - right: 0; - width: 33 * @unit_base; - height: 100%; - .user-select(none); - user-select:none; - margin:0; - padding-top: 3 * @unit_base; - padding-bottom: 3 * @unit_base; - opacity: 1; - background: @color_fastscroll_rollover_bg; - z-index: 1000; - - .border-box(); - ul { - list-style-type: none; - margin: 0; - padding: 0; - } - - li { - cursor: pointer; - color: @color_fastscroll_rollover_text; - background: transparent; - text-align: center; - vertical-align: middle; - font-size: @font_size_fastscroll_rollover_text; - font-weight: bold; - height: 28 * @unit_base; - line-height: 28 * @unit_base; - } -} - -li.ui-fastscroll-hover-first-item { - margin-top: 0; - padding-top: 0; -} - -.ui-fastscroll-popup { - position: absolute; - background: @color_fastscroll_popup_bg; - color: @color_fastscroll_popup_text; - padding: 0; - border: 2px solid @color_fastscroll_popup_border; - border-radius: 7px; - text-align: center; - font-size: @font_size_fastscroll_popup_text; - font-weight: bold; - display:none; - .border-box(); - left: 50%; - top: 50%; - width: 92 * @unit_base; - line-height: 100 * @unit_base; - box-shadow: 0 2px 1px @color_fastscroll_popup_border; - z-index: 1000; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.gallery.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.gallery.less deleted file mode 100644 index 03d9410a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.gallery.less +++ /dev/null @@ -1,16 +0,0 @@ -.ui-gallery { - position: relative; - width: 100%; -} - -.ui-gallery-container { - position: relative; - width: 100%; -} - -.ui-gallery-bg { - display: none; - position: absolute; - text-align: center; - width: 100%; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.less deleted file mode 100644 index bb79afcb..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.less +++ /dev/null @@ -1,210 +0,0 @@ -@font_size_default: 22px; // Default unit font size. DO NOT USE THIS VALUE IN WIDGET CSS! -@rem_base: (1rem/@font_size_default); - -@em_base: 1em/@font_size_default; // WARNING: Don't use em unit! This value is to be removed. -@px_base: 1px; - -/* for Accessibility: so many winset elements have fixed size regardless of changing font-size. -So, we set @px_base for unit_base. and some elements will have @rem_base in less file. */ -/* from KIRAN theme work, we decided that use original pixel value from GUI document. -So, for fitting with viewport=320, we multiply px_base by (320/480).*/ -@unit_base: (320 / 480) * @px_base; - -@font_family: Tizen, Helvetica; - -/****************************** - z-index order collection - ******************************/ -@z_base_maximum: 2147483647; -@z_base_loader: 100; -@z_base_header_footer: 1000; -@z_base_smallpopup: @z_base_header_footer + 100; -@z_base_popup: @z_base_smallpopup + 100; -@z_base_tickernoti: @z_base_maximum - 100; -@z_base_slider_popup: @z_base_popup + 10; //DCM-1735 issue fix - -.tau-info-theme { - position: absolute; - top: -999px; - left: -999px; -} - - -/****************************** - Global LESS mixin collection - ******************************/ - -// Mixin : background ************************ -.LESSbackground-img-with-gradient(@from: top, @startcolor: #3c3c3c, @endcolor: #111) { - background-image: -webkit-gradient(linear, left top, left bottom, from(@startcolor), to(@endcolor)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(@from, @startcolor, @endcolor); - background-image: -moz-linear-gradient(@from, @startcolor, @endcolor); - background-image: -ms-linear-gradient(@from, @startcolor, @endcolor); - background-image: -o-linear-gradient(@from, @startcolor, @endcolor); - background-image: linear-gradient(@from, @startcolor, @endcolor); -} - -.LESSbackground-with-gradient(@from: top, @startcolor: #3c3c3c, @endcolor: #5c5c5c) { - background: @startcolor; - background: -webkit-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -moz-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -ms-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -o-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: linear-gradient(@from, @startcolor 0%, @endcolor 100%); -} - -.LESSbackground-size(@width, @height) { - -ms-background-size: @width @height; - -moz-background-size: @width @height; - -o-background-size: @width @height; - -webkit-background-size: @width @height; - background-size: @width @height; -} - -// Mixin : border *************************** -.LESSborder-image(@url:url, @width:width, @height:height, @repeat:repeat) { - -moz-border-image: url(@url) @width @height @repeat; - -webkit-border-image: url(@url) @width @height @repeat; - -o-border-image: url(@url) @width @height @repeat; - -ms-border-image: url(@url) @width @height @repeat; - border-image: url(@url) @width @height @repeat; -} -.LESSborder-radius-topleft(@radius) { - -moz-border-radius-topleft: @radius; - -webkit-border-top-left-radius: @radius; - border-top-left-radius: @radius; -} -.LESSborder-radius-topright(@radius) { - -moz-border-radius-topright: @radius; - -webkit-border-top-right-radius: @radius; - border-top-right-radius: @radius; -} -.LESSborder-radius-bottomleft(@radius) { - -moz-border-radius-bottomleft: @radius; - -webkit-border-bottom-left-radius: @radius; - border-bottom-left-radius: @radius; -} -.LESSborder-radius-bottomright(@radius) { - -moz-border-radius-bottomright: @radius; - -webkit-border-bottom-right-radius: @radius; - border-bottom-right-radius: @radius; -} -.LESSborder-radius-all(@radius) { - -o-border-radius: @radius; - -ms-border-radius: @radius; - -moz-border-radius: @radius; - -webkit-border-radius: @radius; - border-radius: @radius; -} -.LESSborder-radius-allimportant(@radius) { - -o-border-radius: @radius ! important; - -ms-border-radius: @radius ! important; - -moz-border-radius: @radius ! important; - -webkit-border-radius: @radius ! important; - border-radius: @radius ! important; -} -// Mixin : box *************************** -.LESSbox-shadow(@hshadow, @vshadow, @blur, @color) { - -o-box-shadow: @hshadow @vshadow @blur @color; - -ms-box-shadow: @hshadow @vshadow @blur @color; - -moz-box-shadow: @hshadow @vshadow @blur @color; - -webkit-box-shadow: @hshadow @vshadow @blur @color; - box-shadow: @hshadow @vshadow @blur @color; -} - -.LESSbox-shadow-line( @value ) { - -o-box-shadow: @value; - -ms-box-shadow: @value; - -moz-box-shadow: @value; - -webkit-box-shadow: @value; - box-shadow: @value; -} - -.LESSbox-boxsizing( @value ) { - -o-box-sizing: @value; - -ms-box-sizing: @value; - -moz-box-sizing: @value; - -webkit-box-sizing: @value; - box-sizing: @value; -} - -.LESSdisplaybox() { - display:-moz-box; - display:-webkit-box; - display:box; -} -//position: vertical, horizental -.LESSbox-orient(@position) { - -ms-box-orient: @position; - -moz-box-orient: @position; - -o-box-orient: @position; - -webkit-box-orient: @position; - box-orient: @position; -} - -//position: start, center, end -.LESSbox-pack(@position) { - -ms-box-pack: @position; - -moz-box-pack: @position; - -o-box-pack: @position; - -webkit-box-pack: @position; - box-pack: @position; -} - -//position: start, center, end -.LESSbox-align(@position) { - -ms-box-align: @position; - -moz-box-align: @position; - -o-box-align: @position; - -webkit-box-align: @position; - box-align: @position; -} - -// Mixin : Utility ************************************ -//CAUTION!!! - you MUST call this function inside of your winset structure. -//DO NOT CALL GLOBALLY!! -.LESSclear-btn-basic-setting() { - .ui-btn-corner-all { - .LESSborder-radius-all(0); - } - .ui-btn-inner { - border-top: 0; - } - .ui-btn-up-s { - border: 0; - background: transparent; - font-weight: normal; - } - .ui-btn-hover-s { - border: 0; - background: transparent; - font-weight: normal; - } - .ui-btn-down-s { - border: 0; - background: transparent; - font-weight: normal; - } -} - -// Mixin : transform -.LESStransform(@method) { - transform: @method; - -ms-transform: @method; - -moz-transform: @method; - -webkit-transform: @method; - -o-transform: @method; -} - -// Mixin : text ellipsis -.LESStext-ellipsis() { - white-space: nowrap; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - overflow: hidden !important; -} - -.LESStext-no-ellipsis() { - white-space: normal; - overflow: visible !important; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.misc.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.misc.less deleted file mode 100644 index 4c5da4e5..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.misc.less +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Misc. classes for Tizen web ui framework - * - * All classes in this file has highest priority. - */ - -/* text-ellipsis - * elements using this class needs following constraints; - * - width must not be 'auto' - * - display must be 'block' or 'inline-block' - */ -.ui-text-ellipsis { - .LESStext-ellipsis(); -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.navigation.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.navigation.less deleted file mode 100644 index dee60b8a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.navigation.less +++ /dev/null @@ -1,64 +0,0 @@ -.ui-header.ui-bar-s.ui-title-navigation { - .ui-navigation{ - &::-webkit-scrollbar { - display : none; - } - - height : 51 * @unit_base; - background-color : @color_navigation_bg; - border-top : 1px solid @color_navigation_tab_divider; - - white-space: nowrap; - overflow-x: scroll; - - .ui-navigation-ul { - margin : 0; - padding : 0; - display : inline-block; - list-style-type : none; - - .ui-navigation-li:first-child { - padding-left : 15 * @unit_base; - } - .ui-navigation-li { - position: relative; - height : 51 * @unit_base; - line-height : 51 * @unit_base; - vertical-align : top; - overflow: hidden; - display : inline-block; - - color: @color_navigation_text; - font-size : @font_size_navigation_bar_text; - background-color : @color_navigation_bar_bg; - - &::after { - content: ""; - display : inline-block; - height : 51 * @unit_base; - width : 42 * @unit_base; - - background-color : @color_navigation_bar_icon; - -webkit-mask-image : url(images/00_navigation_bar_icon_arrow.png); - -webkit-mask-size : 100% 100% - } - &:last-child { - overflow: visible; - - &::after { - position: absolute; - right: -36 * @unit_base; - width : 36 * @unit_base; - - background-color : @color_navigation_bar_bg; - -webkit-mask-image : url(images/00_navigation_bar_bg.png); - -webkit-mask-size : 100% 100% - } - } - &:not(:last-child):active { - color: @color_navigation_text_press; - } - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.notification.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.notification.less deleted file mode 100644 index 65cc1fe1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.notification.less +++ /dev/null @@ -1,225 +0,0 @@ -/* tickernoti */ - -@ticker_height: 72 * @unit_base; - -.m-notification-ui-ticker-show() { - from { - opacity: 0; - .transform(translateY(-@ticker_height)); - top: -@ticker_height; - } to { - opacity: 1; - .transform(translateY(0)); - top: 0; - } -} - -.m-notification-ui-ticker-hide() { - from { - opacity: 1; - .transform(translateY(0)); - top: 0; - } to { - opacity: 0; - .transform(translateY(-@ticker_height)); - top: -@ticker_height; - } -} - -@-webkit-keyframes ui-ticker-show { - .m-notification-ui-ticker-show(); -} - -@-moz-keyframes ui-ticker-show { - .m-notification-ui-ticker-show(); -} - -@-ms-keyframes ui-ticker-show { - .m-notification-ui-ticker-show(); -} - -@-o-keyframes ui-ticker-show { - .m-notification-ui-ticker-show(); -} - -@keyframes ui-ticker-show { - .m-notification-ui-ticker-show(); -} - -@-webkit-keyframes ui-ticker-hide { - .m-notification-ui-ticker-hide(); -} - -@-moz-keyframes ui-ticker-hide { - .m-notification-ui-ticker-hide(); -} - -@-ms-keyframes ui-ticker-hide { - .m-notification-ui-ticker-hide(); -} - -@-o-keyframes ui-ticker-hide { - .m-notification-ui-ticker-hide(); -} - -@keyframes ui-ticker-hide { - .m-notification-ui-ticker-hide(); -} - -.ui-ticker { - position: fixed; - display: none; - left: 0; - width: 100%; - height: @ticker_height; - z-index: @z_base_tickernoti; - background: @color_ticker_bg; -} - -.ui-ticker.fix{ - display: block; - top: 0; -} - -.ui-ticker.show { - display: block; - .animation(ui-ticker-show 800ms 1 ease); - top: 0; -} - -.ui-ticker.hide { - display: block; - .animation(ui-ticker-hide 800ms 1 ease); - top: -@ticker_height; -} - -.ui-ticker-btn { - .core_button_bg(); - color: @color_button_text_normal; - position: relative; - margin-top: 10 * @unit_base; - margin-left: 8 * @unit_base; - margin-right: 8 * @unit_base; - vertical-align: middle; - float: right; - - .ui-btn-inner { - height: 28 * @unit_base; - width: 77 * @unit_base; - top: -4.5 * @unit_base; - .ui-btn-text { - padding: 0; - } - } -} -.ui-ticker-btn:active { - .core_button_bg_pressed(); -} - -.ui-ticker-icon { - position: absolute; - top: 0; - height: 45 * @unit_base; - width: 45 * @unit_base; - margin: 14 * @unit_base 15 * @unit_base; - vertical-align: middle; -} - -.ui-ticker-text1-bg { - position: absolute; - top: 0; - left: 80 * @unit_base; - margin-top: 13 * @unit_base; - font-size: @font_size_ticker_text1; - color: @color_ticker_text1; - line-height: 18 * @unit_base; -} - -.ui-ticker-text2-bg { - position: absolute; - top: 0; - left: 80 * @unit_base; - margin-top: 38 * @unit_base; - font-size: @font_size_ticker_text2; - color: @color_ticker_text2; - line-height: 22 * @unit_base; -} - -/* smallpopup */ -.m-notification-ui-smallpopup-show() { - from { - display: none; - opacity: 0; - .transform(scaleY(0)); - } to { - display: block; - opacity: 1; - .transform(scaleY(1)); - } -} - -@-webkit-keyframes ui-smallpopup-show { - .m-notification-ui-smallpopup-show(); -} - -@-moz-keyframes ui-smallpopup-show { - .m-notification-ui-smallpopup-show(); -} - -@-ms-keyframes ui-smallpopup-show { - .m-notification-ui-smallpopup-show(); -} - -@-o-keyframes ui-smallpopup-show { - .m-notification-ui-smallpopup-show(); -} - -@keyframes ui-smallpopup-show { - .m-notification-ui-smallpopup-show(); -} - -.ui-smallpopup { - position: fixed; - display: none; - margin-bottom: 52 * @unit_base; - min-width: 150 * @unit_base; - max-width: 450 * @unit_base; - z-index: @z_base_smallpopup; - background-color: @color_smallpopup_outline; - padding: 1.3 * @unit_base; - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image('images/nine-patch/core_popup_noti_bg.png'); - .mask-box-image-slice(30 14 30 14 fill); - - vertical-align: middle; - font-size: @font_size_smallpopup_text; - word-break: break-all; -} - -.ui-smallpopup.fix { - display: block; -} - -.ui-smallpopup.show { - display: block; - .animation(ui-smallpopup-show 500ms 1 ease); -} - -.ui-smallpopup.hide { - display: none; -} - -.ui-smallpopup-text-bg { - position: relative; - padding: 16 * @unit_base 32 * @unit_base; - line-height: 32 * @unit_base; - margin: 0; - color: @color_smallpopup_text; - - background-color: @color_smallpopup_bg; - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image('images/nine-patch/core_popup_noti_bg.png'); - .mask-box-image-slice(30 14 30 14 fill); -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popup.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popup.less deleted file mode 100644 index 2901b970..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popup.less +++ /dev/null @@ -1,330 +0,0 @@ -@popup-text-padding-vert: 22 * @unit_base; -@popup-text-padding-hori: 16 * @unit_base; -@popup-btn-area-margin: 30 * @unit_base; -@popup-btn-middle-margin: 12 * @unit_base; - -.ui-popup-screen { - background-color: @color_popup_dim_screen_bg; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: @z_base_popup; -} - -.ui-popup-scroller-bg { - width: 100%; - max-height: 572 * @unit_base; - overflow-y: scroll; - - >.ui-listview { - width: 100%; - margin: 0; - } -} - -.ui-popup-container { - position: absolute; - width: 100%; - z-index: (@z_base_popup + 1) !important; - text-align: center; - outline-color: @color_popup_outline; - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - outline : none; - .ui-popup { - background: @color_popup_bg; - width : 100%; - > .ui-popup-title, - > .ui-popup-button-bg { - width : 100%; - } - word-wrap : break-word; - border: 0; - } - - .ui-popup-title, - .ui-popup-2line-title { - width: 100%; - height: 72 * @unit_base; - text-align : center; - color : @color_popup_title_text; - font-size: @font_size_popup_title_text; - background : @color_popup_title_bg; - } - .ui-popup-title { - h1 { - font-size: @font_size_popup_title_text; - font-weight : normal; - color : @color_popup_title_text; - margin : 0px; - line-height: 72 * @unit_base; - padding-left: 15 * @unit_base; - padding-right: 15 * @unit_base; - } - } - .ui-popup-2line-title { - h1, h2 { - font-weight: normal; - color: @color_popup_title_text; - margin: 0; - padding-left: 15 * @unit_base; - padding-right: 15 * @unit_base; - } - h1 { - font-size: @font_size_popup_title_text; - line-height: 38 * @unit_base; - } - h2 { - font-size: @font_size_popup_title_sub_text; - line-height: 28 * @unit_base; - } - } - - .ui-popup-text { - padding-top: 27 * @unit_base; - padding-bottom: 27 * @unit_base; - padding-left: 15 * @unit_base; - padding-right: 15 * @unit_base; - color: @color_popup_text; - font-size: @font_size_popup_text; - background: @color_popup_bg; - text-align: left; - line-height: 38 * @unit_base; - max-height: 572 * @unit_base; - box-sizing: border-box; - overflow-y: scroll; - - .ui-li .ui-radio, .ui-li .ui-checkbox { - label { - background : transparent; - } - } - input { - display : inline-block; - } - - input[type="checkbox"], input[type="radio"] { - display : none; - } - p { - margin: 0; - } - } - - .ui-popup-button-bg { - background: @color_popup_button_bg; - font-size: @font_size_popup_button_text; - height : 108 * @unit_base; - width: 100%; - vertical-align: middle; - - > .ui-btn { - height: 74 * @unit_base; - display : inline-block; - margin: 0 auto; - color: @color_popup_button_text; - box-sizing : border-box; - } - - .ui-btn-inner { - height: 100%; - vertical-align: middle; - padding: 0; - .ui-btn-text { - display: block; - line-height: 48 * @unit_base; - margin: 18 * @unit_base auto; - } - } - } - - -/***** Normal Samples *****/ - .center_info, - .center_title {} - - .center_basic_1btn, - .center_title_1btn, - .center_liststyle_1btn { - .ui-popup-button-bg { - .ui-btn { - .calc-width(100% - @popup-btn-area-margin); - padding: 0; - margin: 17 * @unit_base auto; - } - } - } - - .center_basic_2btn, - .center_title_2btn, - .center_liststyle_2btn { - .ui-popup-button-bg { - .ui-btn { - .calc-width((100% - @popup-btn-area-margin - @popup-btn-middle-margin) / 2); - padding: 0; - margin: 17 * @unit_base auto; - float: left; - } - .ui-btn:first-child { - .calc-margin-left(@popup-btn-area-margin / 2); - margin-right: @popup-btn-middle-margin; - } - } - } - - .center_basic_3btn, - .center_title_3btn { - .ui-btn { - width: 33.33%; - padding: 0; - margin: 0; - float: left; - .ui-btn-inner { - padding: 0; - .ui-btn-text { - display: block; - line-height: 48 * @unit_base; - } - } - } - } - - - .center_checkbox { - .ui-popup-check-bg { - font-size: @font_size_popup_text; - display: inline-block; - padding-top: 0*@unit_base; - padding-bottom: 22*@unit_base; - vertical-align: middle; - - .ui-checkbox { - .ui-btn { - text-align: center; - border: 0; - .ui-btn-inner { - border: 0; - } - } - } - } - } - - .center_progressbar { - text-align: center; - - .ui-popup-text { - font-size: @font_size_popup_center_progressbar_title; - width: 100%; - height: 70*@unit_base; - p { - height: 100%; - text-align: center; - padding: 22*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - } - } - - .ui-popup-text-bottom-bg { - font-size: @font_size_popup_center_progressbar_title; - width: 100%; - vertical-align: middle; - - .text-left { - width: 40%; - height: 48*@unit_base; - padding: 0*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - text-align: left; - display: inline-block; - } - .text-right { - width: 40%; - height: 48*@unit_base; - padding: 0*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - text-align: right; - display: inline-block; - } - } - - .ui-popup-button-bg { - background: @color_popup_button_bg; - - .ui-btn { - width: 201*@unit_base; - margin:auto; - } - } - - .ui-popup-progress-bg { - width: 100%; - height: 100%; - } - } - - .centertext_progressbar { - text-align: center; - - .ui-popup-text { - font-size: @font_size_popup_center_progressbar_title; - width: 100%; - padding-top: 22*@unit_base; - padding-bottom: 16*@unit_base; - p { - text-align: center; - } - } - - .ui-popup-text-bottom-bg { - font-size: @font_size_popup_center_progressbar_title; - width: 100%; - vertical-align: middle; - - .text-left { - width: 40%; - height: 40*@unit_base; - padding: 16*@unit_base 16*@unit_base 22*@unit_base 16*@unit_base; - text-align: left; - display: inline-block; - } - .text-right { - width: 40%; - height: 40*@unit_base; - padding: 16*@unit_base 16*@unit_base 22*@unit_base 16*@unit_base; - text-align: right; - display: inline-block; - } - } - - .ui-popup-button-bg { - background: @color_popup_button_bg; - - .ui-btn { - width: 402*@unit_base; - margin:auto; - } - } - - .ui-popup-progress-bg { - width: 100%; - height: 100%; - } - } -} - -@media all and (orientation:landscape) and (device-aspect-ratio : 16/9) { - .ui-popup-container, .ui-popup-container.pop.in { - width: 60%; - max-height: 432 * @unit_base; - left: 20%; - .ui-popup-text { - max-height: 200 * @unit_base; - } - } - - .ui-popup-scroller-bg { - max-height: 200 * @unit_base; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popupwindow.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popupwindow.less deleted file mode 100644 index 1ac6e1fe..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.popupwindow.less +++ /dev/null @@ -1,573 +0,0 @@ -@popupwindow-text-padding-vert: 22 * @unit_base; -@popupwindow-text-padding-hori: 16 * @unit_base; - - -.ui-popupwindow-screen { - background: #000000; - opacity: 0; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: @z_base_popup; -} - -.ui-popupwindow { - - position: absolute; - z-index: (@z_base_popup + 1) !important; - color: @color_popup_text; - font-size: @font_size_popup_text; - - //FIXME : remove background & padding if there is no padding. - background: @color_popup_bg; - - // --------- common style in popup window ------------- // - .popup-title { - width: 100%; - height: 100%; - font-size: @font_size_popup_title_text; - background: @color_popup_title_bg; - p { - margin: 0*@unit_base 0*@unit_base; - padding: 13*@unit_base 0*@unit_base; - } - } - - .popup-text { - width: 100%; - color: @color_popup_text; - font-size: @font_size_popup_text; - background: @color_popup_bg; - p { - text-align: center; - padding: @popupwindow-text-padding-vert @popupwindow-text-padding-hori; - } - } - // ----------------------------------------------------- // - - .center_info { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - // .popup-text - } - - .center_title { - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-title - // .popup-text - } - - .center_basic_1btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 402*@unit_base; - height: 74*@unit_base; - margin:auto; - - } - } - } - .center_basic_2btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 274*@unit_base; - height: 74*@unit_base; - margin-top: 0*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: 5*@unit_base; - margin-right: 5*@unit_base; - - display: inline-block; - } - } - } - .center_basic_3btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 186*@unit_base; - height: 74*@unit_base; - margin-top: 0*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: 5*@unit_base; - margin-right: 5*@unit_base; - - display: inline-block; - } - } - } - .center_title_1btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-title - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 402*@unit_base; - height: 74*@unit_base; - margin:auto; - - } - } - } - .center_title_2btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-title - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 274*@unit_base; - height: 74*@unit_base; - margin-top: 0*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: 5*@unit_base; - margin-right: 5*@unit_base; - - display: inline-block; - } - } - } - .center_title_3btn { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-title - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 186*@unit_base; - height: 74*@unit_base; - margin-top: 0*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: 5*@unit_base; - margin-right: 5*@unit_base; - - display: inline-block; - } - } - } - .center_button_vertical { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-text - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 1px; - padding-bottom: 16*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 356*@unit_base; - height: 74*@unit_base; - margin-top: 16*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: auto; - margin-right: auto; - } - } - } - .center_checkbox { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - // .popup-text - - .popup-check-bg { - font-size: @font_size_popup_info_style; - background: @color_popup_bg; - width: 100%; - padding-top: 0*@unit_base; - padding-bottom: 22*@unit_base; - vertical-align: middle; - - .ui-checkbox { - .ui-btn { - text-align: center; - background: @color_popup_bg; - border: 0*@unit_base; - - .ui-btn-inner { - border: 0*@unit_base; - } - } - } - } - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 274*@unit_base; - height: 74*@unit_base; - margin-top: 0*@unit_base; - margin-bottom: 0*@unit_base; - margin-left: 5*@unit_base; - margin-right: 5*@unit_base; - - display: inline-block; - } - } - } - .center_liststyle_1btn, - .center_liststyle_2btn, - .center_liststyle_3btn { - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - color: @color_popup_list_style_text; - font-size: @font_size_popup_list_style_text; - text-align: center; - - .popup-scroller-bg { - width: 100%; - overflow: hidden; - height: 512 * @unit_base; - } - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - } - } - - .center_liststyle_1btn { - .popup-button-bg .ui-btn { - width: 402 * @unit_base; - height: 74 * @unit_base; - margin:auto; - } - } - - .center_liststyle_2btn { - .popup-button-bg .ui-btn { - width: 274 * @unit_base; - height: 74 * @unit_base; - margin-top: 0; - margin-bottom: 0; - margin-left: 5 * @unit_base; - margin-right: 5 * @unit_base; - display: inline-block; - } - } - .center_liststyle_3btn { - .popup-button-bg .ui-btn { - width: 186 * @unit_base; - height: 74 * @unit_base; - margin-top: 0; - margin-bottom: 0; - margin-left: 5 * @unit_base; - margin-right: 5 * @unit_base; - display: inline-block; - } - } - - .center_progressbar { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - .popup-text { - font-size: @font_size_popup_center_progressbar_title; - background: @color_popup_bg; - width: 100%; - height: 70*@unit_base; - p { - height: 100%; - text-align: center; - padding: 22*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - } - } - - .popup-text-bottom-bg { - font-size: @font_size_popup_center_progressbar_title; - background: @color_popup_bg; - width: 100%; - vertical-align: middle; - - .text-left { - width: 40%; - height: 48*@unit_base; - padding: 0*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - text-align: left; - - display: inline-block; - } - .text-right { - width: 40%; - height: 48*@unit_base; - padding: 0*@unit_base 16*@unit_base 0*@unit_base 16*@unit_base; - text-align: right; - - display: inline-block; - } - - } - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 402*@unit_base; - height: 74*@unit_base; - margin:auto; - - } - } - - .popup-progress-bg { - background: @color_popup_bg; - width: 100%; - height: 100%; - } - } - - .centertext_progressbar { - - .LESSdisplaybox(); - .LESSbox-orient(vertical); - .LESSbox-align(center); - .LESSbox-pack(center); - - text-align: center; - - .popup-text { - font-size: @font_size_popup_center_progressbar_title; - background: @color_popup_bg; - width: 100%; - padding-top: 22*@unit_base; - padding-bottom: 16*@unit_base; - p { - text-align: center; - } - } - - .popup-text-bottom-bg { - font-size: @font_size_popup_center_progressbar_title; - background: @color_popup_bg; - width: 100%; - vertical-align: middle; - - .text-left { - width: 40%; - height: 40*@unit_base; - padding: 16*@unit_base 16*@unit_base 22*@unit_base 16*@unit_base; - text-align: left; - - display: inline-block; - } - .text-right { - width: 40%; - height: 40*@unit_base; - padding: 16*@unit_base 16*@unit_base 22*@unit_base 16*@unit_base; - text-align: right; - - display: inline-block; - } - - } - - .popup-button-bg { - font-size: @font_size_popup_button_text; - background: @color_popup_button_bg; - width: 100%; - padding-top: 11*@unit_base; - padding-bottom: 11*@unit_base; - vertical-align: middle; - - .ui-btn { - width: 402*@unit_base; - height: 74*@unit_base; - margin:auto; - - } - } - - .popup-progress-bg { - background: @color_popup_bg; - width: 100%; - height: 100%; - } - } - .ui-btn{ - color: @color_popup_button_text; - } -} -.ui-popupwindow > .ui-volumecontrol { - - display: table; - margin: auto; - background: rgba(0, 0, 0, 0.666667); - width: 416*@unit_base; - height: 676*@unit_base; - padding-top: 22*@unit_base; - - h1 { - font-size: @font_size_popup_info_style; - display: table; - margin: auto; - color: #c0c0c0; - } - - .ui-volumecontrol-icon { - display: table; - width: 100%; - height: 128*@unit_base; - padding-top: 21*@unit_base; - padding-bottom: 21*@unit_base; - padding-left: 165*@unit_base; - padding-right: 165*@unit_base; - } - - .ui-volumecontrol-indicator { - display: table; - width: 100%; - height: 420*@unit_base; - padding-left: 68*@unit_base; - padding-right: 68*@unit_base; - } - - .ui-corner-all { - .border-radius(0.3em) !important; - } -} - -.ui-popupwindow-corner-all { - .border-radius(0) !important; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progress.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progress.less deleted file mode 100644 index 02748d77..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progress.less +++ /dev/null @@ -1,107 +0,0 @@ -/* Progress - circle style */ -@progress_circle_size_small: 28 * @unit_base; -@progress_circle_size_medium: 36 * @unit_base; -@progress_circle_size_large: 66 * @unit_base; - -.m-progress-ui-rotate-animation () { - from { - .rotate(0deg); - } to { - .rotate(360deg); - } -} - -@-webkit-keyframes ui-rotate-animation { - .m-progress-ui-rotate-animation(); -} - -@-moz-keyframes ui-rotate-animation { - .m-progress-ui-rotate-animation(); -} - -@-ms-keyframes ui-rotate-animation { - .m-progress-ui-rotate-animation(); -} - -@-o-keyframes ui-rotate-animation { - .m-progress-ui-rotate-animation(); -} - -@keyframes ui-rotate-animation { - .m-progress-ui-rotate-animation(); -} - -.ui-progress-container-circle { - position: absolute; -} - -.ui-progress-circle { - position: relative; - top: 0; - - height: @progress_circle_size_medium; - width: @progress_circle_size_medium; - - background-color: @color_progress_circle_bg; - .mask-image('./images/00_list_process_01.png'); - .mask-size(100% 100%); -} - -.ui-progress-circle-small { - height: @progress_circle_size_small; - width: @progress_circle_size_small; -} - -.ui-progress-circle-large { - height: @progress_circle_size_large; - width: @progress_circle_size_large; -} - -.ui-progress-circle-running { - .animation(ui-rotate-animation 1s infinite linear); -} - -/* Progress - pending style */ -.m-progress-indeterminate() { - from { .mask-image('./images/00_progress_pending_bg_01.png');} - to { .mask-image('./images/00_progress_pending_bg_02.png');} -} - -@-webkit-keyframes indeterminate { - .m-progress-indeterminate(); -} - -@-moz-keyframes indeterminate { - .m-progress-indeterminate(); -} - -@-ms-keyframes indeterminate { - .m-progress-indeterminate(); -} - -@-o-keyframes indeterminate { - .m-progress-indeterminate(); -} - -@keyframes indeterminate { - .m-progress-indeterminate(); -} - -.ui-progress-pending { - position: relative; - top: 0; - width: 100%; - height: 100%; - padding-top: 0; - padding-bottom: 0; - background-color: @color_progress_value; - .mask-image('./images/00_progress_pending_bg_01.png'); - background-size: 100% 100%; - background-repeat: no-repeat; - .LESSborder-radius-all( 10 * @unit_base ); - .mask-size(100% 100%); -} - -.ui-progress-pending-running { - .animation(indeterminate 300ms infinite); -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progressbar.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progressbar.less deleted file mode 100644 index 3c530cad..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.progressbar.less +++ /dev/null @@ -1,57 +0,0 @@ -@bar_margin: 36 * @unit_base; - -.m-progressbar-ui-scale-animation() { - from { - .transform(scaleX(0)); - } to { - .transform(scaleX(1)); - } -} - -@-webkit-keyframes ui-scale-animation { - .m-progressbar-ui-scale-animation(); -} - -@-moz-keyframes ui-scale-animation { - .m-progressbar-ui-scale-animation(); -} - -@-ms-keyframes ui-scale-animation { - .m-progressbar-ui-scale-animation(); -} - -@-o-keyframes ui-scale-animation { - .m-progressbar-ui-scale-animation(); -} - -@keyframes ui-scale-animation { - .m-progressbar-ui-scale-animation(); -} - -.ui-progressbar-value { - height: 100%; - - background-color: @color_progress_value; - .LESSborder-radius-all( 10 * @unit_base ); -} - -.ui-progressbar-bg { - position: relative; - overflow: hidden; - - min-width: 24 * @unit_base; - height: 7 * @unit_base; - margin-left: 6 * @unit_base; - margin-right: 6 * @unit_base; - - .LESSborder-radius-all( 10 * @unit_base ); - background-color: @color_progress_bg; -} - -.ui-progressbar { - position: relative; - margin-left: @bar_margin; - margin-right: @bar_margin; - height: 6 * @unit_base; -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.handler.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.handler.less deleted file mode 100644 index 9cf543c2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.handler.less +++ /dev/null @@ -1,110 +0,0 @@ -.ui-handler { - position : fixed; - overflow : hidden; - opacity: 0; - height: 100%; - width: 100%; - .transition(opacity 400ms ease-out); - - &.disabled { - display: none; - } -} - -.ui-handler-visible { - opacity: 1; -} - -.ui-handler-direction-y { - top: 0; - right: 4 * @unit_base; - width : 25 * @unit_base; -} - -.ui-handler-direction-x { - height : 25 * @unit_base; - bottom: 4 * @unit_base; - left: 0; -} - -.ui-handler-track { - position : relative; - width : 100%; - height : 100%; -} - -.ui-handler-handle { - position : absolute; - top : 0; - left : 0; - .border-box(); -} - -.ui-handler-direction-x .ui-handler-handle { - height: 100%; - min-width : 47 * @unit_base; - padding: 0 4 * @unit_base; -} - -.ui-handler-direction-y .ui-handler-handle { - width : 100%; - min-height : 47 * @unit_base; - padding: 4 * @unit_base 0; -} - -.ui-handler-thumb { - background-position : center; - background-repeat : no-repeat; - height: 100%; - .LESSborder-radius-all(11 * @unit_base); - background-color : @color_scrollview_handler_bg; - - &::before, &::after { - display : block; - position : absolute; - content : ''; - top : 0; - left : 0; - width : 100%; - height : 100%; - .mask-position(50% 50%); - .mask-size(auto 21 * @unit_base); - .mask-repeat(no-repeat); - } -} - -.ui-handler-direction-y .ui-handler-thumb { - margin: 0 auto; - width : 21 * @unit_base; - min-height : 47 * @unit_base; - - &::before { - .mask-image("images/00_scroll_bar_handler_v_01.png"); - background-color : @color_scrollview_handler_thumb_01; - } - - &::after { - .mask-image("images/00_scroll_bar_handler_v_02.png"); - background-color : @color_scrollview_handler_thumb_02; - } -} - -.ui-handler-direction-x .ui-handler-thumb { - min-width : 47 * @unit_base; - - &::before { - .mask-image("images/00_scroll_bar_handler_h_01.png"); - background-color : @color_scrollview_handler_thumb_01; - } - - &::after { - .mask-image("images/00_scroll_bar_handler_h_02.png"); - background-color : @color_scrollview_handler_thumb_02; - } -} - - -.scrollbar-disabled { - overflow: hidden !important; -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.less deleted file mode 100644 index 3a6ef9b2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.scrollview.less +++ /dev/null @@ -1,191 +0,0 @@ -.ui-scrollview-clip { - position: relative; - z-index: 100; -} - -.ui-scrollview-view { - overflow-x : hidden; - overflow-y : visible; - min-height : 100%; - min-width : 100%; - box-sizing: border-box; -} - -.ui-scrolllistview .ui-li-divider { - z-index: 10; -} - -.ui-scrollbar { - position: absolute; - overflow: hidden; - - opacity: 0; -} - -.ui-scrollbar-visible { - opacity: 1; -} - -.ui-scrollbar-y { - top: 0px; - right: 2 * @unit_base; - bottom: 0px; - width: 8 * @unit_base; -} - -.ui-scrollbar-x { - right: 2 * @unit_base; - bottom: 2 * @unit_base; - left: 2 * @unit_base; - height: 8 * @unit_base; -} - -.ui-scrollbar-track { - position: relative; - width: 100%; - height: 100%; -} - -.ui-scrollbar-thumb { - position: absolute; - top: 0; - left: 0; - background-color: @color_scrollbar; -} - -.ui-scrollbar-y .ui-scrollbar-thumb { - width: 5 * @unit_base; - height: 100%; - .LESSborder-radius-all(2 * @unit_base); - .LESSbox-shadow(1 * @unit_base, 1 * @unit_base, 4 * @unit_base, rgba(8, 8, 8, 50) ) -} - -.ui-scrollbar-x .ui-scrollbar-thumb { - width: 100%; - height: 5 * @unit_base; - .LESSborder-radius-all(2 * @unit_base); -} - -.ui-scroll-jump-top-bg { - position: absolute; - top: 9 * @unit_base; - right: 13 * @unit_base; - width: 37 * @unit_base; - height: 37 * @unit_base; -} - -.ui-scroll-jump-left-bg { - position: absolute; - bottom: 9 * @unit_base; - left: 13 * @unit_base; - width: 37 * @unit_base; - height: 37 * @unit_base; -} - -.ui-overflow-indicator-top, -.ui-overflow-indicator-bottom { - position: absolute; - display: none; - width: 100%; - height: 29 * @unit_base; - opacity: 1; - - background-repeat: no-repeat; - background-size: 100% 100%; -} - -.ui-overflow-indicator-top { - top : 0px; -} - -.ui-overflow-indicator-bottom { - bottom : 0px; -} - -.ui-overflow-effect-bottom { - position: absolute; - display: none; - bottom: 0; - width:100%; -} - -.ui-overflow-top { - opacity : 1; - &.ui-overflow-top-hide { - height : 0 !important; - } -} -.ui-overflow-bottom { - opacity : 1; - &.ui-overflow-bottom-hide { - height : 0 !important; - } -} - -/* - * the values below are for the group index - */ - -/* - * padding here set to zero - otherwise the list scrolls underneith the top heading and can be seen above it - */ -.ui-content.ui-scrollview-clip { - padding: 0; -} -.ui-content.ui-scrollview-clip > div.ui-scrollview-view { - margin: 0; - padding-left: 8 * @unit_base; - padding-right: 8 * @unit_base; -} - -/* - * this seems to effect how far the top divider is place wrt to the scrollview - * without this, it is placed too high, so it is clipped in half - */ -.ui-content.ui-scrollview-clip > .ui-listview.ui-scrollview-view { - margin: 0; -} - -/* - * Section for scroll handler to hide native scrollbar - */ -.ui-content.ui-scrollview-clip.ui-hide-scrollbar::-webkit-scrollbar { - display: none; -} - -/* overflowAnimation resource */ -.ui-overflow-indicator-bar-1 { background-image : url(images/bouncing_effect/top/bouncing_top_01.png); } -.ui-overflow-indicator-bar-2 { background-image : url(images/bouncing_effect/top/bouncing_top_02.png); } -.ui-overflow-indicator-bar-3 { background-image : url(images/bouncing_effect/top/bouncing_top_03.png); } -.ui-overflow-indicator-bar-4 { background-image : url(images/bouncing_effect/top/bouncing_top_04.png); } -.ui-overflow-indicator-bar-5 { background-image : url(images/bouncing_effect/top/bouncing_top_05.png); } -.ui-overflow-indicator-bar-6 { background-image : url(images/bouncing_effect/top/bouncing_top_06.png); } -.ui-overflow-indicator-bar-7 { background-image : url(images/bouncing_effect/top/bouncing_top_07.png); } -.ui-overflow-indicator-bar-8 { background-image : url(images/bouncing_effect/top/bouncing_top_08.png); } -.ui-overflow-indicator-bar-9 { background-image : url(images/bouncing_effect/top/bouncing_top_09.png); } -.ui-overflow-indicator-bar-10 { background-image : url(images/bouncing_effect/top/bouncing_top_10.png); } -.ui-overflow-indicator-bar-11 { background-image : url(images/bouncing_effect/top/bouncing_top_11.png); } -.ui-overflow-indicator-bar-12 { background-image : url(images/bouncing_effect/top/bouncing_top_12.png); } -.ui-overflow-indicator-bar-13 { background-image : url(images/bouncing_effect/top/bouncing_top_13.png); } -.ui-overflow-indicator-bar-14 { background-image : url(images/bouncing_effect/top/bouncing_top_14.png); } -.ui-overflow-indicator-bar-15 { background-image : url(images/bouncing_effect/top/bouncing_top_15.png); } -.ui-overflow-indicator-bar-16 { background-image : url(images/bouncing_effect/top/bouncing_top_16.png); } -.ui-overflow-indicator-bar-17 { background-image : url(images/bouncing_effect/top/bouncing_top_17.png); } - -.ui-overflow-indicator-b-bar-1 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_01.png); } -.ui-overflow-indicator-b-bar-2 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_02.png); } -.ui-overflow-indicator-b-bar-3 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_03.png); } -.ui-overflow-indicator-b-bar-4 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_04.png); } -.ui-overflow-indicator-b-bar-5 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_05.png); } -.ui-overflow-indicator-b-bar-6 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_06.png); } -.ui-overflow-indicator-b-bar-7 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_07.png); } -.ui-overflow-indicator-b-bar-8 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_08.png); } -.ui-overflow-indicator-b-bar-9 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_09.png); } -.ui-overflow-indicator-b-bar-10 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_10.png); } -.ui-overflow-indicator-b-bar-11 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_11.png); } -.ui-overflow-indicator-b-bar-12 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_12.png); } -.ui-overflow-indicator-b-bar-13 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_13.png); } -.ui-overflow-indicator-b-bar-14 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_14.png); } -.ui-overflow-indicator-b-bar-15 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_15.png); } -.ui-overflow-indicator-b-bar-16 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_16.png); } -.ui-overflow-indicator-b-bar-17 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_17.png); } diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.selectmenu.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.selectmenu.less deleted file mode 100644 index 30e2f6ae..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.selectmenu.less +++ /dev/null @@ -1,138 +0,0 @@ -.ui-selectmenu-screen-filter { - opacity: 0; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: @z_base_popup; -} - -.ui-selectmenu { - box-sizing: border-box; - width: 100%; - display: table; - position: relative; - height: 72 * @unit_base; - &:focus, - &:active { - outline: none; - } - &:not(.ui-selectmenu-inline) > span { - max-width: 0px; - } - span::before { - content: ""; - position: absolute; - bottom: 10 * @unit_base; - right: 15 * @unit_base; - width: 24 * @unit_base; - height: 24 * @unit_base; - -webkit-mask-image:url(images/core_dropdown_label_icon_arrow.png); - -webkit-mask-size: 100%; - background-color: @color_selectmenu_icon; - } - &.ui-selectmenu-label { - height: 100%; - background-color: @color_selectmenu_label_bg; - } - select { - width: 100%; - display: none; - } -} - -.ui-selectmenu-inline { - width: auto; - height: auto; - display: inline-block; -} - -.ui-selectmenu-placeholder { - box-sizing: border-box; - text-align: left; - width: 100%; - display: table-cell; - vertical-align: middle; - position: relative; - height: 100%; - line-height: 72 * @unit_base; - white-space: nowrap; - padding: 0 47 * @unit_base 0 15 * @unit_base; - overflow: hidden; - text-overflow: ellipsis; - font-size: @font_size_selectmenu_list; - border: 1px solid @color_selectmenu_border_placeholder; - background-color: @color_selectmenu_placeholder_bg; -} - -.ui-selectmenu-disabled { - color: @color_selectmenu_font_dim; - opacity: 1; -} - -.ui-select-native select{ - display: block; - top: 0; - left: 0; - position: absolute; - height: 100%; - outline: 0; - opacity: 0; - border: 0; - margin: 0; -} - -.ui-selectmenu-filter-hidden { - display: none; -} - -/* Options */ -.ui-selectmenu-options { - position: absolute; - opacity: 0; - top: -9999px; - left: -9999px; - box-sizing: border-box; - list-style: none; - padding: 0; - overflow: hidden; - margin: 0 15 * @unit_base 0 15 * @unit_base; - border: 1px solid @color_selectmenu_list_group_stroke; - background-color: @color_selectmenu_list_group_index_bg; - &:focus { - outline: none; - } - &.ui-selectmenu-active { - opacity: 1; - overflow-y: auto; - z-index: (@z_base_popup + 1); - } - li { - padding: 0 15 * @unit_base 0 15 * @unit_base; - border-top: 1px solid @color_selectmenu_list_line; - font-size: @font_size_selectmenu_list; - display: block; - position: relative; - padding: 0 15 * @unit_base 0 15 * @unit_base; - min-height: 72 * @unit_base; - line-height: 72 * @unit_base; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - &:first-child { - border-top: 0; - } - &:not(.ui-selectmenu-optiongroup):not(.ui-selectmenu-disabled):active { - background-color: @color_selectmenu_list_item_bg_press; - } - &:focus, - &:active { - outline: none; - } - } -} - -.ui-selectmenu-active::-webkit-scrollbar { - display: none; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.slider.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.slider.less deleted file mode 100644 index 76e328c1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.slider.less +++ /dev/null @@ -1,296 +0,0 @@ -@img_height: 72 * @unit_base; -@img_width: 72 * @unit_base; - -@slider_handle_width: 42 * @unit_base; -@slider_handle_height: 42 * @unit_base; - -@popup_width: 45 * @unit_base; -@popup_height: 54 * @unit_base; - -label.ui-slider { - display: block; -} - -select.ui-slider-switch { - display: none; -} - -.ui-slider-container { - position: relative; - vertical-align: middle; - - height: 21 * @unit_base; - padding-top: 21 * @unit_base; - padding-bottom: 21 * @unit_base; - margin-left: 36 * @unit_base; - margin-right: 36 * @unit_base; -} -.ui-vertical-slider-container { - display: inline-block; - width: 21 * @unit_base; - - padding-top: 36 * @unit_base; - padding-bottom: 36 * @unit_base; - margin-left: 21 * @unit_base; - margin-right: 21 * @unit_base; -} - -.ui-li > .ui-slider-container { - margin-top: -14 * @unit_base; - margin-bottom: -14 * @unit_base; -} - -.ui-slider-left-volume, -.ui-slider-left-bright, -.ui-slider-right-volume, -.ui-slider-right-bright{ - position: absolute; - vertical-align: middle; - - margin-top: -1 * @unit_base; - margin-bottom: 10 * @unit_base; - margin-left: -93 *@unit_base; - - top: 0px; - height: @img_height; - width: @img_width; - - .mask-image('images/controls/00_slider_button_brightness_01.png'); - .mask-size(100%); - background-color: @color_slider_img_bg; - .LESSbackground-size(@img_width, @img_height); -} -.ui-slider-left-volume { - .mask-image('images/controls/00_slider_button_volume_01.png'); -} - -.ui-slider-right-volume, -.ui-slider-right-bright { - margin-top: 2 * @unit_base; - margin-bottom: 10 * @unit_base; - right: -44 * @unit_base; - - .mask-image('images/controls/00_slider_button_brightness_02.png'); -} - -.ui-slider-right-volume { - .mask-image('images/controls/00_slider_button_volume_02.png'); -} - -.ui-slider-left-text { - position: absolute; - - top: 6 * @unit_base; - height: 37 * @unit_base; - - text-align: center; - color: @color_slider_left_text; - font-size: @font_size_slider_num_text; -} - -.ui-slider-right-text { - position: absolute; - - top: 6 * @unit_base; - height: 37 * @unit_base; - - text-align: center; - color: @color_slider_right_text; - font-size: @font_size_slider_num_text; -} - -div.ui-slider:not(.ui-toggle-switch) { - position: relative; - top: 9 * @unit_base; - height: 6 * @unit_base; - margin-left: 8 * @unit_base; - margin-right: 8 * @unit_base; - - .LESSborder-radius-all( 10 * @unit_base ); - background-color: @color_slider_bg; - - .ui-btn { - margin-top: 0; - } - .ui-btn-inner { - padding: 0.3rem 0 0 0; - } - - .ui-btn-text { - color: @color_slider_handle_text; - font-size: @font_size_slider_handle_text; - } - - a.ui-slider-handle-press { - &:after { - display: block; - } - } -} -div.ui-vertical-slider { - left: 7.5 * @unit_base; - position: relative; - width: 6 * @unit_base; - height: 100%; - - .LESSborder-radius-all( 10 * @unit_base ); - background-color: @color_slider_bg; - - a.ui-slider-handle-press { - &:after { - display: block; - } - } -} - -.ui-ctxpopup-container { - &.ui-slider-popup-container { - box-shadow: none; - background: transparent; - border: none; - margin-top : -18 * @unit_base; - } - .ui-popup.ui-slider-popup { - position: static !important; - z-index: @z_base_slider_popup; - display: block; - box-sizing: border-box; - margin-bottom: -8 * @unit_base; - padding-top: 15 * @unit_base; - - width: 80 * @unit_base; - height: 92 * @unit_base; - line-height: @popup_height; - - background-color: @color_slider_popup_bg; - color: @color_slider_popup_text; - text-align: center; - font-size: @font_size_slider_popup_text; - .mask-image('images/controls/core_slider_popup_bg.png'); - .mask-size(100%); - .mask-position(center center); - .mask-repeat(no-repeat); - - &:before { - content: ""; - width: 77 * @unit_base; - height: 87.5 * @unit_base; - position: absolute; - top: 3 * @unit_base; - left: 1.5 * @unit_base; - background-color: @color_slider_popup_stroke; - .mask-image('images/controls/core_slider_popup_bg_stroke.png'); - .mask-size(100%); - } - - &+.ui-arrow { - visibility: hidden; - } - } - .ui-vertical-slider-container & { - margin-top: -21 * @unit_base; - } -} - -a.ui-slider-handle { - position: relative; - z-index: 10; - - width: @slider_handle_width; - height: @slider_handle_height; - margin-left: (-1 * (@slider_handle_width / 2)) - 2 * @unit_base; - .ui-vertical-slider &{ - margin-left: -18 * @unit_base; - } - - .box-shadow(none); - - &:before, - &:after { - content: ""; - width: @slider_handle_width; - height: @slider_handle_height; - position: absolute; - top: 0; - left: 0; - display: block; - z-index: 9; - background-color: @color_slider_handle_bg; - margin-top: -18 * @unit_base; - } - - &:before { - .mask-image('images/controls/00_slider_handle.png'); - .mask-size(100%); - } - - &:after { - z-index: 7; - display: none; - opacity: 0.5; - .mask-image('images/controls/00_slider_handle_press.png'); - .mask-size(100%); - } - .ui-vertical-slider-container &:before, - .ui-vertical-slider-container &:after { - margin-top : -21 * @unit_base; - } -} -a.ui-flip-handle { - &:before, - &:after { - background-color: transparent; - } -} - -.ui-slider-bg { - position: absolute; - - height: 6 * @unit_base; - width: 0; - - .LESSborder-radius-all( 10 * @unit_base ); - background-color: @color_slider_active_bg; - - &.ui-slider-bg-has-center { - .LESSborder-radius-all( 0 ); - } -} -.ui-vertical-slider-bg { - position: absolute; - - width: 6 * @unit_base; - height: 0; - - .LESSborder-radius-all( 10 * @unit_base ); - background-color: @color_progress_value; - - &.ui-slider-bg-has-center { - .LESSborder-radius-all( 0 ); - } -} - -.ui-slider { - text-align: center; -} - -.ui-slider-center { - display: inline-block; - position: absolute; - top: -8 * @unit_base; - left: 50%; - margin-left: -14 * @unit_base / 2; - width: 10 * @unit_base; - height: 24 * @unit_base; - background-color: @color_slider_center; - z-index: 10; - .mask-image('images/controls/00_slider_center_point_bg.png'); - .mask-size(100%); - .ui-vertical-slider & { - .rotate(90deg); - top: 50%; - left: -1px; - margin-top: -12 * @unit_base; - margin-left: initial; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.splitview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.splitview.less deleted file mode 100644 index 0d162444..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.splitview.less +++ /dev/null @@ -1,91 +0,0 @@ -@unit_base_splitview : @unit_base * 0.5; - -.ui-splitview { - margin: 0; - padding: 0; - position: relative; - overflow: hidden; -} -.ui-splitview .ui-pane { - position: absolute; - overflow: hidden; - border: 0; - margin: 0; - padding: 0; -} -.ui-splitview .ui-pane .ui-listview { - margin: 0; - padding: 0; -} -.ui-splitview .ui-spliter { - position: absolute; - z-index: 100; - display: block; - margin: 0; - padding: 0; -} -.ui-splitview .ui-spliter-bar { - background-color: @color_splitview_spliter_bar; -} -.ui-splitview .ui-spliter-handle { - margin: 0; - padding: 0; - cursor: move; - display: block; - text-align: center; - cursor: pointer; - position: relative; - background-position: center center; - background-repeat: no-repeat; - background-size: 100% 100%; -} -.ui-direction-horizontal > .ui-spliter { - width: 60 * @unit_base_splitview; -} -.ui-direction-vertical > .ui-spliter { - height: 60 * @unit_base_splitview; -} -.ui-direction-horizontal > .ui-spliter > .ui-spliter-bar { - width: 11 * @unit_base_splitview; - margin: 0 0 0 25 * @unit_base_splitview; - border-width: 0 1px 0 1px; -} -.ui-direction-vertical > .ui-spliter > .ui-spliter-bar { - height: 11 * @unit_base_splitview; - margin: 25 * @unit_base_splitview 0 0 0; - border-width: 1px 0 1px 0; -} -.ui-spliter-active > .ui-spliter-bar { - background-color: @color_splitview_spliter_bar_active; -} -.ui-direction-horizontal > .ui-spliter > .ui-spliter-bar > .ui-spliter-handle { - width: 9 * @unit_base_splitview; - height: 27 * @unit_base_splitview; - margin: 0 1 * @unit_base_splitview 0 1 * @unit_base_splitview; - background-image: url(./images/00_splite_handler_v.png); - background-size: 9 * @unit_base_splitview 27 * @unit_base_splitview; - background-repeat: no-repeat; -} -.ui-direction-vertical > .ui-spliter > .ui-spliter-bar > .ui-spliter-handle { - width: 27 * @unit_base_splitview; - height: 9 * @unit_base_splitview; - margin: 1 * @unit_base_splitview 0 1 * @unit_base_splitview 0; - background-image: url(./images/00_splite_handler_h.png); - background-size: 27 * @unit_base_splitview 9 * @unit_base_splitview; - background-repeat: no-repeat; -} -.ui-direction-horizontal > .ui-fixed { - width: 0; -} -.ui-direction-horizontal > .ui-fixed > .ui-spliter-bar { - width: 5 * @unit_base_splitview; -} -.ui-direction-vertical > .ui-fixed { - height: 0; -} -.ui-direction-vertical > .ui-fixed > .ui-spliter-bar { - height: 5 * @unit_base_splitview; -} -.ui-fixed .ui-spliter-handle { - display: none; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.swipe.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.swipe.less deleted file mode 100644 index a0144cc0..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.swipe.less +++ /dev/null @@ -1,64 +0,0 @@ -@list-li-padding-horizontal: 16 * @unit_base; - -.ui-swipe { - padding: 0 !important; - list-style-type: none; -} - -.ui-swipe-item { - .user-select(none); - - min-height: 38 * @unit_base; - opacity: 0; - text-align : center; - background-color: @color_list_swipe_left_bg; - color: @color_list_swipe_text; - font-size: @font_size_list_swipe_text; - margin-left : -13 * @unit_base; - margin-right : -13 * @unit_base; - padding-bottom: 9 * @unit_base; - - .ui-btn { - margin-top: 9 * @unit_base; - top: auto; - position: relative; - } - - p { - margin: 0; - } -} - -.ui-listview li .ui-swipe-item [data-role="button"]:last-child { - position: relative; - right: auto; -} - -.ui-swipe-item-cover { - position: absolute; - border: none; - top: 0%; - left: 0%; - width: 100%; - height: 100%; - z-index: 100; - - .ui-swipe-item-cover-inner { - position : absolute; - padding-top : 15 * @unit_base; - padding-bottom : 15 * @unit_base; - padding-left : 8 * @unit_base; - - width : 100%; - - text-align : left; - - .ui-li-text-sub { - position : absolute; - padding-right : 16 * @unit_base; - } - } - p { - margin: 0; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tabbar.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tabbar.less deleted file mode 100644 index 5fc3bf38..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tabbar.less +++ /dev/null @@ -1,191 +0,0 @@ -/*************************************************************************** - Tabbar -***************************************************************************/ - -.ui-header.ui-title-tabbar-multiline .ui-tabbar { - height : 104 * @unit_base; - a.ui-btn { - height: 104 * @unit_base; - .ui-btn-inner { - height: 104 * @unit_base; - .ui-icon { - height: 46 * @unit_base; - width: 46 * @unit_base; - top: 0; - margin-top: 14 * @unit_base; - margin-left: 0; - } - &:not(.ui-btn-icon-only) .ui-btn-text-padding-top.ui-btn-text { - height: 28 * @unit_base; - padding-top: 63 * @unit_base; - padding-bottom: 0; - line-height: 28 * @unit_base; - } - } - } -} -.ui-tabbar-divider{ - background: @color_tabbar_divider; - height: 1px; -} -.ui-header .ui-tabbar { - z-index : 1000; - height : 72 * @unit_base; - - background : @color_tabbar_bg; - - .ui-tabbar-li { - display: inline-block; - float: left; - } - - a.ui-btn { - position: relative; - right: 0; - top: 0; - margin: 0; - height: 72 * @unit_base; - max-width : none; - background : @color_tabbar_btn_bg_normal; - color : @color_tabbar_text_normal; - - &.ui-btn-active { - color : @color_tabbar_text_selected; - .ui-btn-inner { - .ui-icon { - background : @color_tabbar_btn_selected; - } - - .ui-btn-text { - border-bottom: 3 * @unit_base solid; - } - } - } - - .ui-btn-inner { - padding-top : 0; - padding-bottom : 0; - height: 72 * @unit_base; - - &:not(.ui-btn-icon-only) .ui-btn-text-padding-top.ui-btn-text { - position:absolute; - padding-top: 37 * @unit_base; - padding-bottom: 6 * @unit_base; - font-size: @font_size_tabbar_text; - } - &:not(.ui-btn-icon-only) .ui-btn-text { - position:absolute; - padding-top: 18 * @unit_base; - padding-bottom: 1 * @unit_base; - height: 36 * @unit_base; - display: block; - line-height: 36 * @unit_base; - font-size: @font_size_tabbar_text_only; - /* Horizontal centering when positon is absolute */ - left: 50%; - .transform(translate(-50%, 0)); - } - - &.ui-btn-icon-only { - margin: auto; - } - } - - .ui-icon { - width: 46 * @unit_base; - height: 46 * @unit_base; - margin-left: 0; - - background-repeat: no-repeat; - background-size: 100% 100%; - } - } - - a.ui-btn.ui-btn-down-s { - background : @color_tabbar_btn_bg_press; - .ui-btn-text { - background : @color_tabbar_btn_bg_press; - } - .ui-icon { - background : @color_tabbar_btn_press; - } - } - - a.ui-btn.ui-btn-up-s, a.ui-btn.ui-btn-hover-s { - .ui-icon { - background : @color_tabbar_btn_normal; - } - } - - .ui-btn-inner { - font-size: @font_size_tabbar_text; - - .ui-icon { - top : 7 * @unit_base; - /* Horizontal centering when positon is absolute */ - left : 50%; - .transform(translate(-50%, 0)); - } - } - - &.ui-tabbar-notext { - a.ui-btn { - padding-top : 0; - padding-bottom : 0; - } - .ui-btn-inner { - height : 58 * @unit_base; - .ui-icon { - top : 13 * @unit_base;; - } - } - } -} -.ui-header.ui-title-tabbar { - height : 144 * @unit_base; - .ui-tabbar { - border-top: 1px solid @color_tabbar_divider; - .ui-tabbar-active { - .ui-btn-text { - color: @color_tabbar_text_selected; - } - } - } - .ui-scrollview-clip::-webkit-scrollbar { - display: none; - } - - .ui-scrollview-view { - .tabbar-scroll-ul { - margin: 0; - padding: 0; - } - .tabbar-scroll-li { - display: inline-block; - .ui-tabbar-active { - .ui-btn-inner { - .ui-btn-text { - border-bottom: 3px solid @color_tabbar_select_bar; - } - } - } - } - .tabbar-scroll-li:not(:first-child) { - /* - * (-7 * @unit_base) value has decimal point. - * That occured to element position incorrectly in various browser in which include tizen webkit browser. - * So, margin-left value should be fixed integer px unit. - */ - margin-left: -5px; - } - } -} -.ui-footer { - .ui-navbar { - li { - padding-left: 6 * @unit_base; - padding-right: 6 * @unit_base; - box-sizing: border-box; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.toggleswitch.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.toggleswitch.less deleted file mode 100644 index 45004383..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.toggleswitch.less +++ /dev/null @@ -1,202 +0,0 @@ -/*for old toggle*/ -div.ui-slider.ui-toggle-switch { - position: relative; - - width: 67 * @unit_base; - height: 31 * @unit_base; - - box-sizing: border-box; - border: 2 * @unit_base @color_toggle_outline solid; - border-radius: 15 * @unit_base; - - background-size: 100% 100%; - background-color: @color_toggle_bg; - - .ui-slider-label { - position: absolute; - background-size : 100% 100%; - background-repeat : no-repeat; - background-color : transparent; - } - .ui-slider-inneroffset { - width: 25 * @unit_base; - position: relative; - margin-left: 18 * @unit_base; - margin-right: 23 * @unit_base; - } - a.ui-slider-handle { - position: absolute; - width: 42 * @unit_base; - height: 31 * @unit_base; - margin-top: -2 * @unit_base; - padding-right: 0; - max-width: none; - - background-size: 100% 100%; - background-image: url(images/controls/00_on_off_handler_bg_ef.png); - .mask-image('images/controls/00_on_off_handler_bg_ef.png', 'images/controls/00_on_off_handler_bg.png'); - .mask-size(100% 100%); - - .ui-btn-inner { - height: 31 * @unit_base; - .mask-size(100% 100%); - } - &.ui-toggle-on { - background-color: @color_toggle_handle_on_bg; - .ui-btn-inner { - background-color: @color_toggle_handle_on_icon; - background-image: url(images/controls/00_on_off_handler_icon_on_ef.png); - .mask-image('images/controls/00_on_off_handler_icon_on_ef.png', 'images/controls/00_on_off_handler_icon_on.png'); - } - } - &.ui-toggle-off { - background-color: @color_toggle_handle_off_bg; - .ui-btn-inner { - background-color: @color_toggle_handle_off_icon; - background-image: url(images/controls/00_on_off_handler_icon_off_ef.png); - .mask-image('images/controls/00_on_off_handler_icon_off_ef.png', 'images/controls/00_on_off_handler_icon_off.png'); - } - } - } - a.ui-slider-handle-snapping { - .transition(left 70ms linear); - } -} - -/*new button type like*/ -.ui-toggle-label{ - box-sizing: border-box; - display: block; - width: 60 * @unit_base; - height: 60 * @unit_base; - position: relative; - top: 0; - left: 0; - - .ui-toggle-switch { - position: relative; - width: 60 * @unit_base; - height: 60 * @unit_base; - .mask-image('images/controls/core_toggle_bg.png'); - .mask-size(100%); - .mask-position(center center); - .mask-repeat(no-repeat); - background-color: @color_toggle_handle_off_bg; /*@color_toggle_bg;*/ - - .ui-switch-handler { - .mask-size(100%); - .mask-image('images/controls/core_toggle_icon_off.png'); - .mask-position(center center); - position: relative; - top: 16.5 * @unit_base; - left: 16.5 * @unit_base; - width: 27 * @unit_base; - height: 27 * @unit_base; - background-color: @color_toggle_handle_icon; - } - } - .ui-slider-inneroffset { - position: absolute; - top: 0; - left: 0; - width: 60 * @unit_base; - height: 60 * @unit_base; - } - - .ui-slider-switch-input { - display: none; - } -} - -.ui-slider-switch-input:checked ~ & { - - .ui-toggle-switch{ - background-color: @color_toggle_handle_on_bg; - - .ui-switch-handler { - .mask-image('images/controls/core_toggle_icon_on.png'); - } - } - -} - -.ui-listview { - .ui-li-has-right-btn { - .ui-toggle-label { - position: absolute; - top: 20 * @unit_base; - right: 15 * @unit_base; - left: auto; - } - } -} - - -.ui-slider-switch:not(.ui-toggle-switch) { - width : 92 * @px_base; -} - -div.ui-slider.ui-slider-switch:not(.ui-toggle-switch) { - position : relative; - - margin-top : 5 * @px_base; - margin-bottom : 5 * @px_base; - - height : 32 * @px_base; - top: 0; - margin: 5 * @px_base; - border-radius : 15 * @px_base; - - .ui-slider-inneroffset { - position : relative; - margin : -1px 16 * @px_base; - z-index : 1; - } - - a.ui-slider-handle { - position : absolute; - .gradient-circural-safe(#fff, 50% 50%, #f9f9f9, #323232, 50); - - top : 50%; - margin : 0 0 0 -15 * @px_base; - border-radius : 15 * @px_base; - border : 2px solid gray; - - width : 28 * @px_base; - height : 28 * @px_base; - } - - a.ui-slider-handle-snapping { - .transition(left 70ms linear); - } - - span { - position : absolute; - overflow : hidden; - text-align : center; - font-size: @font_size_slider_toggle_text; - height : 32 * @px_base; - border-radius : 15 * @px_base; - white-space : nowrap; - line-height : 2; - - &.ui-slider-label-a { - left : 0px; - color : @color_slider_switch_label_on_text; - background-color: @color_slider_switch_label_on_bg; - z-index : 1; - text-indent : -1.5em; - } - &.ui-slider-label-b { - right : 0px; - color : @color_slider_switch_label_off_text; - background-color: @color_slider_switch_label_off_bg; - z-index : 0; - text-indent : 1.5em; - } - } -} - -.ui-slider-switch .ui-slider-handle .ui-btn-inner { - padding : 0; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tokentextarea.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tokentextarea.less deleted file mode 100644 index df3d153d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.tokentextarea.less +++ /dev/null @@ -1,108 +0,0 @@ -.ui-tokentextarea { - display : table; - outline : none; - position : relative; - background-color : @color_tokentextarea_bg; - margin-left : -15 * @unit_base; - margin-right : -15 * @unit_base; - .ui-tokentextarea-input-area { - height: 53 * @unit_base; - .ui-text-line { - display: none; - } - } -} - -.ui-scrollview-view > .ui-tokentextarea { - margin-left : -8 * @unit_base; - margin-right : -8 * @unit_base; -} - -.ui-tokentextarea .ui-tokentextarea-label { - display : inline-block; - text-align : center; - position : relative; - margin-left : 13 * @unit_base; - margin-right : 6 * @unit_base; - padding : 23 * @unit_base 0; - color : @color_tokentextarea_label_text; - text-align : center; - font-size : @font_size_tokentextarea_label_text; -} - -.ui-tokentextarea .ui-tokentextarea-input.ui-input-text { - height: 53 * @unit_base; - outline : none; - position : relative; - border : 0 !important; - padding : 0 !important; - color : @color_tokentextarea_input_text; - background-color : @color_tokentextarea_bg !important; - text-align : left; - font-size : @font_size_tokentextarea_input_text; -} - -.ui-tokentextarea .ui-tokentextarea-input-area .ui-btn-inline.ui-btn-icon_only { - margin-bottom: 3 * @unit_base; - .ui-btn-inner.ui-btn-icon-only .ui-icon.ui-icon-plus { - width : 45 * @unit_base; - height : 45 * @unit_base; - margin-left : -7.5 * @unit_base; - margin-top : -22.5 * @unit_base; - background-color : @color_button_icon; - } -} - -.ui-tokentextarea-input-visible { - display : inline-block !important; -} - -.ui-tokentextarea-input-invisible { - display : none !important; -} - -.ui-tokentextarea div { - display : inline-block; - text-align : center; - cursor : pointer; - position : relative; - padding : .2em .5em; - font-size : @font_size_tokentextarea_block_text; - color : @color_tokentextarea_block_text; - text-overflow : ellipsis; - white-space : nowrap; - margin: 8 * @unit_base 2 * @unit_base; -} - -div.ui-tokentextarea-block { - .core_button_bg(); - background-color : @color_tokentextarea_block_bg; - margin-left: 15 * @unit_base; - margin-top: 12 * @unit_base; -} - -div.ui-tokentextarea-sblock { - .core_button_bg_pressed(); - background-color : @color_tokentextarea_press_bg; - color: @color_tokentextarea_block_text_press; - margin-left: 15 * @unit_base; - margin-top: 12 * @unit_base; -} - -.ui-tokentextarea .ui-tokentextarea-desclabel { - display : inline-block; - outline : none; - position : relative; - border : 0; - color : @color_tokentextarea_label_text; - text-align : left; - font-size : @font_size_tokentextarea_label_text; - margin-left: 3 * @unit_base; -} - -.ui-tokentextarea-link-base { - position : absolute; - right : 0em; - bottom : 2px; - margin-right : 9 * @unit_base; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.triangle.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.triangle.less deleted file mode 100644 index baa4e5d2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.triangle.less +++ /dev/null @@ -1,64 +0,0 @@ -@triangle-size: 10px; - -.ui-triangle-container { - position: relative; - - .ui-triangle { - position: absolute; - border-style: solid; - border-color: transparent; - border-width: @triangle-size; - } - - .ui-triangle-top { - top: 0px; - border-top-width: 0px; - border-left-color: transparent; - border-right-color: transparent; - margin-left: -@triangle-size; - } - - .ui-triangle-bottom { - bottom: 0px; - border-bottom-width: 0px; - border-left-color: transparent; - border-right-color: transparent; - margin-left: -@triangle-size; - } - - .ui-triangle-left { - left: 0px; - margin-top: -@triangle-size; - border-left-width: 0px; - border-left-color: transparent; - border-right-color: transparent; - } - - .ui-triangle-right { - right: 0px; - margin-top: -@triangle-size; - border-right-width: 0px; - border-left-color: transparent; - border-right-color: transparent; - } -} - -.ui-triangle-container-top { - height: @triangle-size; - top: 0px; - margin-top: -@triangle-size; -} - -.ui-triangle-container-bottom { - height: @triangle-size; - bottom: 0px; - margin-bottom: -@triangle-size; -} - -.ui-triangle-container-left { - width: @triangle-size; -} - -.ui-triangle-container-right { - width: @triangle-size; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtualgridview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtualgridview.less deleted file mode 100644 index 51616b80..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtualgridview.less +++ /dev/null @@ -1,261 +0,0 @@ -/* - * jQuery Mobile Framework - * Copyright (c) jQuery Project - * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) - * licenses. - */ - -@unit_ux: @unit_base / 4; - -/*** less definitions ***/ - -.ui-virtualgrid { - overflow : hidden; - position : absolute; -} - -.ui-virtualgrid-wrapblock { - position : absolute; - left : 0; -} - -.ui-virtualgrid-wrapblock-x { - float : left; - overflow: hidden; -} - -.ui-virtualgrid-wrapblock-y { - float : left; - overflow: hidden; -} - -.ui-scrollbar-thumb-x { - width : 1.5rem !important; -} - -.ui-scrollbar-thumb-y { - height : 1.5rem !important; -} - -.ui-virtualgrid-overflow-indicator-x-top { - position : absolute; - display : block; - left : 0; - top : 0; - width : 56%; - height : 100%; - opacity : 0; - background-repeat : no-repeat; - .background-size(100% 100%); - background-image: url(./images/00_grid_overscrolling_left.png); - pointer-events : none; -} - -.ui-virtualgrid-overflow-indicator-x-bottom { - position : absolute; - display : block; - right : 0; - bottom : 0; - width : 56%; - height : 100%; - opacity : 0; - background-repeat : no-repeat; - .background-size(100% 100%); - background-image: url(./images/00_grid_overscrolling_right.png); - pointer-events : none; -} - -.ui-virtualgrid-overflow-indicator-y-top { - position : absolute; - display : block; - top : 0; - width : 100%; - height : 32%; - opacity : 0; - background-repeat : no-repeat; - .background-size(100% 100%); - background-image: url(./images/00_grid_overscrolling_top.png); - pointer-events : none; -} - -.ui-virtualgrid-overflow-indicator-y-bottom { - position : absolute; - display : block; - bottom : 0; - width : 100%; - height : 32%; - opacity : 0; - background-repeat : no-repeat; - .background-size(100% 100%); - background-image: url(./images/00_grid_overscrolling_bottom.png); - pointer-events : none; -} - -/* - * padding here set to zero - otherwise the list scrolls underneith the top heading and can be seen above it - */ -.ui-content.ui-virtualgrid-content { - padding : 0; -} - - -.ui-virtualgrid { - - margin: 32 * @unit_ux -32 * @unit_ux 0 0; - - .ui-li-static { - padding: 0; - border: none; - width: 100%; - } - - .grid-icon { - width: 210 * @unit_ux; - margin: 0 32 * @unit_ux 32 * @unit_ux 0; - display: block; - overflow: hidden; - - &.ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt { - padding-top: 126 * @unit_ux; - } - - &.ui-btn .ui-icon { - width: 106px; - height: 106px; - .mask-size(106px 106px); - margin-left: -53px; - background-size: 106px 106px; - } - &:not(.ui-focus) { - background-color: rgb(27, 64, 61); - } - } - .grid-thumbnail { - width: 304 * @unit_ux; - margin: 0 32 * @unit_ux 32 * @unit_ux 0; - display: block; - overflow: hidden; - - &.ui-btn .ui-btn-inner { - margin: 0; - padding: 0; - - .ui-btn-text { - display: block; - } - } - - .grid-thumbnail-info { - left: 21 * @unit_ux; - right: 21 * @unit_ux; - top: 8 * @unit_ux; - position: absolute; - color: rgb(200, 200, 200); - font-size: 22 * @unit_ux; - text-align: right; - z-index: 3; - } - - .grid-thumbnail-pic { - z-index: 2; - width: 304 * @unit_ux; - height: 304 * @unit_ux; - overflow: hidden; - background-color: rgb(26,70,95); - position: relative; - img { - width: 200 * @unit_ux; - height: 200 * @unit_ux; - position: absolute; - top: 152 * @unit_ux; - left: 152 * @unit_ux; - margin: -100 * @unit_ux; - } - } - - .grid-thumbnail-pic-full { - width: 304 * @unit_ux; - height: 304 * @unit_ux; - overflow: hidden; - position: relative; - z-index: 2; - box-sizing: border-box; - img { - width: 304 * @unit_ux; - height: 304 * @unit_ux; - position: absolute; - top: 152 * @unit_ux; - left: 152 * @unit_ux; - margin: -152 * @unit_ux; - } - } - - .grid-thumbnail-contents { - background: rgb(33, 36, 13); - padding: 15 * @unit_ux 20 * @unit_ux; - font-size: 52 * @unit_ux; - overflow: hidden; - text-overflow: ellipsis; - color: rgb(211, 211, 211); - z-index: 2; - .grid-thumbnail-content { - overflow: hidden; - text-overflow: ellipsis; - height: 31 * @unit_ux; - line-height: 52 * @unit_ux; - min-height: 52 * @unit_ux; - display: block; - } - .grid-thumbnail-subtext { - overflow: hidden; - text-overflow: ellipsis; - color: rgb(128,128,128); - font-size: 22 * @unit_ux; - margin-top: -6 * @unit_ux; - display: block; - } - } - - &.ui-btn.ui-focus { - .grid-thumbnail-pic { - border: solid rgb(69, 143, 255); - border-top-width: 8 * @unit_ux; - border-left-width: 8 * @unit_ux; - border-right-width: 8 * @unit_ux; - img { - top: 144 * @unit_ux; - left: 144 * @unit_ux; - margin: -100 * @unit_ux; - } - } - - .grid-thumbnail-pic-full { - border: solid rgb(69, 143, 255); - border-top-width: 8 * @unit_ux; - border-left-width: 8 * @unit_ux; - border-right-width: 8 * @unit_ux; - img { - top: 144 * @unit_ux; - left: 144 * @unit_ux; - margin: -152 * @unit_ux; - } - } - - .grid-thumbnail-contents { - background: rgb(69, 143, 255); - .grid-thumbnail-content, .grid-thumbnail-subtext { - color: rgb(255, 255, 255); - } - } - } - - &.ui-btn.ui-selected { - .ui-btn-inner { - border: solid rgb(255, 169, 85) 10 * @unit_ux; - } - .ui-btn-text{ - margin: -10 * @unit_ux; - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtuallistview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtuallistview.less deleted file mode 100644 index 6d64d87c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.tizen.virtuallistview.less +++ /dev/null @@ -1,25 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ - -/*** less definitions ***/ - -ul.ui-virtual-list-container > ul.position_absolute { - position : absolute; -} - -.ui-li-1line-bigicon5 > .ui-btn.ui-btn-box-s { - position: absolute; - right: 13 * @unit_base; -} - -.ui-li-1line-btn1 > .ui-btn.ui-btn-box-s { - position: absolute; - right: 13 * @unit_base; -} - -.ui-listview.ui-virtual-list-container .ui-li { - position: relative; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.transitions.less b/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.transitions.less deleted file mode 100644 index 786b1569..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/common/jquery.mobile.transitions.less +++ /dev/null @@ -1,1209 +0,0 @@ -/* Transitions originally inspired by those from jQtouch, nice work, folks */ -.ui-mobile-viewport-transitioning, -.ui-mobile-viewport-transitioning .ui-page { - width: 100%; - height: 100%; - overflow: hidden; -} - -.in { - .animation-timing-function(ease-out); - .animation-duration(350ms); -} - -.out { - .animation-timing-function(ease-in); - .animation-duration(225ms); -} - - -/* fade */ - -.m-transitions-fadein() { - from { opacity: 0; } - to { opacity: 1; } -} - -.m-transitions-fadeout() { - from { opacity: 1; } - to { opacity: 0; } -} - -@-webkit-keyframes fadein { - .m-transitions-fadein(); -} - -@-moz-keyframes fadein { - .m-transitions-fadein(); -} - -@-ms-keyframes fadein { - .m-transitions-fadein(); -} - -@-o-keyframes fadein { - .m-transitions-fadein(); -} - -@keyframes fadein { - .m-transitions-fadein(); -} - -@-webkit-keyframes fadeout { - .m-transitions-fadeout(); -} - -@-moz-keyframes fadeout { - .m-transitions-fadeout(); -} - -@-ms-keyframes fadeout { - .m-transitions-fadeout(); -} - -@-o-keyframes fadeout { - .m-transitions-fadeout(); -} - -@keyframes fadeout { - .m-transitions-fadeout(); -} - -.fade.out { - opacity: 0; - .animation-duration(125ms); - .animation-name(fadeout); -} - -.fade.in { - opacity: 1; - .animation-duration(225ms); - .animation-name(fadein); -} - - -/* flip */ - -/* The properties in this rule are only necessary for the 'flip' transition. - * We need specify the perspective to create a projection matrix. This will add - * some depth as the element flips. The depth number represents the distance of - * the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate - * value. - */ - -.viewport-flip { - position: absolute; - .perspective(1000); -} -.flip { - .backface-visiblity(hidden); - .translate3d(0, 0, 0); -} - -.flip.out { - .transform(rotateY(-90def) scale(0.9)); - .animation-name(flipouttoleft); - .animation-duration(175ms); - &.ui-ctxpopup-container{ - border: 4 * @unit_base solid @color_ctxpopup_background_border; - border-radius: 10 * @unit_base; - box-shadow: none; - } -} - -.flip.in { - .animation-name(flipintoright); - .animation-duration(225ms); - &.ui-ctxpopup-container{ - border: 4 * @unit_base solid @color_ctxpopup_background_border; - border-radius: 10 * @unit_base; - box-shadow: none; - } -} - -.flip.out.reverse { - .transform(rotateY(90deg) scale(0.9)); - .animation-name(flipouttoright); -} - -.flip.in.reverse { - .animation-name(flipintoleft); -} - -.m-transitions-flipouttoleft() { - from { .transform(rotateY(0)); } - to { .transform(rotateY(-90deg) scale(0.9)); } -} - -.m-transitions-flipouttoright() { - from { .transform(rotateY(0)); } - to { .transform(rotateY(90deg) scale(0.9)); } -} - -.m-transitions-flipintoleft() { - from { .transform(rotateY(-90deg) scale(0.9)); } - to { .transform(rotateY(0)); } -} - -.m-transitions-flipintoright() { - from { .transform(rotateY(90deg) scale(0.9)); } - to { .transform(rotateY(0)); } -} - -@-webkit-keyframes flipouttoleft { - .m-transitions-flipintoleft(); -} - -@-moz-keyframes flipouttoleft { - .m-transitions-flipintoleft(); -} - -@-ms-keyframes flipouttoleft { - .m-transitions-flipintoleft(); -} - -@-o-keyframes flipouttoleft { - .m-transitions-flipintoleft(); -} - -@keyframes flipouttoleft { - .m-transitions-flipintoleft(); -} - -@-webkit-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-moz-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-ms-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-o-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-webkit-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-moz-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-ms-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-o-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-webkit-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-moz-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-ms-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-o-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -/* flow transition */ -@keyframes flipintoright { - .m-transitions-flipintoright(); -} - - -.flow { - .box-shadow(0 0 20px rgba(0,0,0,.4)); - .transform-origin(50% 50%); -} -.ui-dialog.flow { - .box-shadow(none); -} -.flow.out { - .animation(flowouttoleft ease 350ms); - .transform(translate3d(-100%, 0, 0) scale(0.7)); -} - -.flow.in { - .animation(flowinfromright ease 350ms); - .transform(translate3d(0, 0, 0) scale(1)); -} - -.flow.out.reverse { - .translate3d(100%, 0, 0); - .animation-name(flowouttoright); -} - -.flow.in.reverse { - .animation-name(flowinfromleft); -} - -.m-transitions-flowouttoleft() { - 0% { .transform(translate3d(0, 0, 0) scale(1)) } - 60%, 70% { .transform(translate3d(0, 0, 0) scale(0.7)); } - 100% { .transform(translate3d(-100%, 0, 0) scale(0.7)); } -} - -.m-transitions-flowouttoright() { - 0% { .transform(translate3d(0, 0, 0) scale(1)); } - 60%, 70% { .transform(translate3d(0, 0, 0) scale(0.7)); } - 100% { .transform(translate3d(100%, 0, 0) scale(0.7)); } -} - -.m-transitions-flowinfromleft() { - 0% { .transform(translate3d(-100%, 0, 0) scale(0.7)); } - 30%, 40% { .transform(translate3d(0, 0, 0) scale(0.7)); } - 100% { .transform(translate3d(0, 0, 0) scale(1)); } -} - -.m-transitions-flowinfromright() { - 0% { .transform(translate3d(100%, 0, 0) scale(0.7)); } - 30%, 40% { .transform(translate3d(0, 0, 0) scale(0.7)); } - 100% { .transform(translate3d(0, 0, 0) scale(1)); } -} - -@-webkit-keyframes flowouttoleft { - .m-transitions-flowouttoleft(); -} - -@-moz-keyframes flowouttoleft { - .m-transitions-flowouttoleft(); -} - -@-ms-keyframes flowouttoleft { - .m-transitions-flowouttoleft(); -} - -@-o-keyframes flowouttoleft { - .m-transitions-flowouttoleft(); -} - -@keyframes flowouttoleft { - .m-transitions-flowouttoleft(); -} - -@-webkit-keyframes flowouttoright { - .m-transitions-flowouttoright(); -} - -@-moz-keyframes flowouttoright { - .m-transitions-flowouttoright(); -} - -@-ms-keyframes flowouttoright { - .m-transitions-flowouttoright(); -} - -@-o-keyframes flowouttoright { - .m-transitions-flowouttoright(); -} - -@keyframes flowouttoright { - .m-transitions-flowouttoright(); -} - -@-webkit-keyframes flowinfromleft { - .m-transitions-flowinfromleft(); -} - -@-moz-keyframes flowinfromleft { - .m-transitions-flowinfromleft(); -} - -@-ms-keyframes flowinfromleft { - .m-transitions-flowinfromleft(); -} - -@-o-keyframes flowinfromleft { - .m-transitions-flowinfromleft(); -} - -@keyframes flowinfromleft { - .m-transitions-flowinfromleft(); -} - -@-webkit-keyframes flowinfromright { - .m-transitions-flowinfromright(); -} - -@-moz-keyframes flowinfromright { - .m-transitions-flowinfromright(); -} - -@-ms-keyframes flowinfromright { - .m-transitions-flowinfromright(); -} - -@-o-keyframes flowinfromright { - .m-transitions-flowinfromright(); -} - -@keyframes flowinfromright { - .m-transitions-flowinfromright(); -} - - -/* pop */ - -.pop { - .transform-origin(50% 50%); -} - -.pop.in { - .scale(1); - opacity: 1; - .animation(popin 350ms); - &.ui-ctxpopup-container{ - border: 4 * @unit_base solid @color_ctxpopup_background_border; - border-radius: 10 * @unit_base; - box-shadow: none; - } -} - -.pop.out { - .animation(fadeout 100ms); - &.ui-ctxpopup-container{ - border: 4 * @unit_base solid @color_ctxpopup_background_border; - border-radius: 10 * @unit_base; - box-shadow: none; - } -} - -.pop.in.reverse { - .animation-name(fadein); -} - -.pop.out.reverse { - .scale(0.8); - .animation-name(popout); -} - -.m-transitions-popin() { - from { - .scale(0.8); - opacity: 0; - } - to { - .scale(1); - opacity: 1; - } -} - -.m-transitions-popout() { - from { - .scale(1); - opacity: 1; - } - to { - .scale(0.8); - opacity: 0; - } -} - -@-webkit-keyframes popin { - .m-transitions-popin(); -} - -@-moz-keyframes popin { - .m-transitions-popin(); -} - -@-ms-keyframes popin { - .m-transitions-popin(); -} - -@-o-keyframes popin { - .m-transitions-popin(); -} - -@keyframes popin { - .m-transitions-popin(); -} - -@-webkit-keyframes popout { - .m-transitions-popout(); -} - -@-moz-keyframes popout { - .m-transitions-popout(); -} - -@-ms-keyframes popout { - .m-transitions-popout(); -} - -@-o-keyframes popout { - .m-transitions-popout(); -} - -@keyframes popout { - .m-transitions-popout(); -} - - -/* slide */ - -/* keyframes for slidein from sides */ -.m-transitions-slideinfromright() { - from { .translate3d(100%, 0, 0); } - to { .translate3d(0, 0, 0); } -} - -.m-transitions-slideinfromleft() { - from { .translate3d(-100%, 0, 0); } - to { .translate3d(0, 0, 0); } -} - -.m-transitions-slideouttoleft() { - from { .translate3d(0, 0, 0); } - to { .translate3d(-100%, 0, 0); } -} - -.m-transitions-slideouttoright() { - from { .translate3d(0, 0, 0); } - to { .translate3d(100%, 0, 0); } -} - -@-webkit-keyframes slideinfromright { - .m-transitions-slideinfromright(); -} - -@-moz-keyframes slideinfromright { - .m-transitions-slideinfromright(); -} - -@-ms-keyframes slideinfromright { - .m-transitions-slideinfromright(); -} - -@-o-keyframes slideinfromright { - .m-transitions-slideinfromright(); -} - -@keyframes slideinfromright { - .m-transitions-slideinfromright(); -} - -@-webkit-keyframes slideinfromleft { - .m-transitions-slideinfromleft(); -} - -@-moz-keyframes slideinfromleft { - .m-transitions-slideinfromleft(); -} - -@-ms-keyframes slideinfromleft { - .m-transitions-slideinfromleft(); -} - -@-o-keyframes slideinfromleft { - .m-transitions-slideinfromleft(); -} - -@keyframes slideinfromleft { - .m-transitions-slideinfromleft(); -} - -@-webkit-keyframes slideouttoleft { - .m-transitions-slideouttoleft(); -} - -@-moz-keyframes slideouttoleft { - .m-transitions-slideouttoleft(); -} - -@-ms-keyframes slideouttoleft { - .m-transitions-slideouttoleft(); -} - -@-o-keyframes slideouttoleft { - .m-transitions-slideouttoleft(); -} - -@keyframes slideouttoleft { - .m-transitions-slideouttoleft(); -} - -@-webkit-keyframes slideouttoright { - .m-transitions-slideouttoright(); -} - -@-moz-keyframes slideouttoright { - .m-transitions-slideouttoright(); -} - -@-ms-keyframes slideouttoright { - .m-transitions-slideouttoright(); -} - -@-o-keyframes slideouttoright { - .m-transitions-slideouttoright(); -} - -@keyframes slideouttoright { - .m-transitions-slideouttoright(); -} - -.slide.out, .slide.in { - .animation-timing-function(ease-out); - .animation-duration(350ms); -} -.slide.out { - .translate3d(-100%, 0, 0); - .animation-name(slideouttoleft); -} - -.slide.in { - .translate3d(0, 0, 0); - .animation-name(slideinfromright); -} - -.slide.out.reverse { - .translate3d(100%, 0, 0); - .animation-name(slideouttoright); -} - -.slide.in.reverse { - .translate3d(0, 0, 0); - .animation-name(slideinfromleft); -} - -/* slide down */ - -.slidedown.out { - .animation(fadeout 100ms); -} - -.slidedown.in { - .translate3d(0, 0, 0); - .animation(slideinfromtop 250ms); -} - -.slidedown.in.reverse { - .animation(fade 150ms); -} - -.slidedown.out.reverse { - .translate3d(0, -100%, 0); - .animation(slideouttotop 200ms); -} - -.m-transitions-slideinfromtop() { - from { .translate3d(0, -100%, 0); } - to { .translate3d(0, 0, 0); } -} - -.m-transitions-slideouttotop() { - from { .translate3d(0, 0, 0); } - to { .translate3d(0, -100%, 0); } -} - -@-webkit-keyframes slideinfromtop { - .m-transitions-slideinfromtop(); -} - -@-moz-keyframes slideinfromtop { - .m-transitions-slideinfromtop(); -} - -@-ms-keyframes slideinfromtop { - .m-transitions-slideinfromtop(); -} - -@-o-keyframes slideinfromtop { - .m-transitions-slideinfromtop(); -} - -@keyframes slideinfromtop { - .m-transitions-slideinfromtop(); -} - -@-webkit-keyframes slideouttotop { - .m-transitions-slideouttotop(); -} - -@-moz-keyframes slideouttotop { - .m-transitions-slideouttotop(); -} - -@-ms-keyframes slideouttotop { - .m-transitions-slideouttotop(); -} - -@-o-keyframes slideouttotop { - .m-transitions-slideouttotop(); -} - -@keyframes slideouttotop { - .m-transitions-slideouttotop(); -} - -/* slide up */ - -.slideup.out { - .animation(fadeout 100ms); -} - -.slideup.in { - .translate3d(0, 0, 0); - .animation(slideinfrombottom 250ms); -} - -.slideup.in.reverse { - .animation(fadein 150ms); -} - -.slideup.out.reverse { - .translate3d(0, 100%, 0); - .animation(slideouttobottom 200ms); -} - -.m-transitions-slideinfrombottom() { - from { .translate3d(0, 100%, 0); } - to { .translate3d(0, 0, 0); } -} - -.m-transitions-slideouttobottom() { - from { .translate3d(0, 0, 0); } - to { .translate3d(0, 100%, 0); } -} - -@-webkit-keyframes slideinfrombottom { - .m-transitions-slideinfrombottom(); -} - -@-moz-keyframes slideinfrombottom { - .m-transitions-slideinfrombottom(); -} - -@-ms-keyframes slideinfrombottom { - .m-transitions-slideinfrombottom(); -} - -@-o-keyframes slideinfrombottom { - .m-transitions-slideinfrombottom(); -} - -@keyframes slideinfrombottom { - .m-transitions-slideinfrombottom(); -} - -@-webkit-keyframes slideouttobottom { - .m-transitions-slideouttobottom(); -} - -@-moz-keyframes slideouttobottom { - .m-transitions-slideouttobottom(); -} - -@-ms-keyframes slideouttobottom { - .m-transitions-slideouttobottom(); -} - -@-o-keyframes slideouttobottom { - .m-transitions-slideouttobottom(); -} - -@keyframes slideouttobottom { - .m-transitions-slideouttobottom(); -} - -/* slide up + fade */ - -.slideupfade.out { - .animation(fadeout 100ms); -} - -.slideupfade.in { - .translate3d(0, 0, 0); - .animation(slideupfadeinfrombottom 250ms); -} - -.slideupfade.in.reverse { - .animation(fadein 150ms); -} - -.slideupfade.out.reverse { - .translate3d(0, 5%, 0); - .animation(slideupfadeouttobottom); -} - -.m-transitions-slideupfadeinfrombottom() { - from { - opacity: 0; - .translate3d(0, 5%, 0); - } - to { - opacity: 1; - .translate3d(0, 0, 0); - } -} - -.m-transitions-slideupfadeouttobottom() { - from { - opacity: 1; - .translate3d(0, 0, 0); - } - to { - opacity: 0; - .translate3d(0, 5%, 0); - } -} - -@-webkit-keyframes slideupfadeinfrombottom { - .m-transitions-slideupfadeinfrombottom(); -} - -@-moz-keyframes slideupfadeinfrombottom { - .m-transitions-slideupfadeinfrombottom(); -} - -@-ms-keyframes slideupfadeinfrombottom { - .m-transitions-slideupfadeinfrombottom(); -} - -@-o-keyframes slideupfadeinfrombottom { - .m-transitions-slideupfadeinfrombottom(); -} - -@keyframes slideupfadeinfrombottom { - .m-transitions-slideupfadeinfrombottom(); -} - -@-webkit-keyframes slideupfadeouttobottom { - .m-transitions-slideupfadeouttobottom(); -} - -@-moz-keyframes slideupfadeouttobottom { - .m-transitions-slideupfadeouttobottom(); -} - -@-ms-keyframes slideupfadeouttobottom { - .m-transitions-slideupfadeouttobottom(); -} - -@-o-keyframes slideupfadeouttobottom { - .m-transitions-slideupfadeouttobottom(); -} - -@keyframes slideupfadeouttobottom { - .m-transitions-slideupfadeouttobottom(); -} - -/* slide down + fade */ - -.slidedownfade.out { - .animation(fadeout 100ms); -} - -.slidedownfade.in { - .translate3d(0, 0, 0); - .animation(slidedownfadeinfromtop 250ms); -} - -.slidedownfade.in.reverse { - .animation(fadein 150ms); -} - -.slidedownfade.out.reverse { - .translate3d(0, -5%, 0); - .animation(slidedownfadeouttotop 200ms); -} - -.m-transitions-slidedownfadeinfromtop() { - from { - opacity: 0; - .translate3d(0, -5%, 0); - } - to { - opacity: 1; - .translate3d(0, 0, 0); - } -} - -.m-transitions-slidedownfadeouttotop() { - from { - opacity: 1; - .translate3d(0, 0, 0); - } - to { - opacity: 0; - .translate3d(0, -5%, 0); - } -} - -@-webkit-keyframes slidedownfadeinfromtop { - .m-transitions-slidedownfadeouttotop(); -} - -@-moz-keyframes slidedownfadeinfromtop { - .m-transitions-slidedownfadeouttotop(); -} - -@-ms-keyframes slidedownfadeinfromtop { - .m-transitions-slidedownfadeouttotop(); -} - -@-o-keyframes slidedownfadeinfromtop { - .m-transitions-slidedownfadeouttotop(); -} - -@keyframes slidedownfadeinfromtop { - .m-transitions-slidedownfadeouttotop(); -} - -@-webkit-keyframes slidedownfadeouttotop { - .m-transitions-slidedownfadeouttotop(); -} - -@-moz-keyframes slidedownfadeouttotop { - .m-transitions-slidedownfadeouttotop(); -} - -@-ms-keyframes slidedownfadeouttotop { - .m-transitions-slidedownfadeouttotop(); -} - -@-o-keyframes slidedownfadeouttotop { - .m-transitions-slidedownfadeouttotop(); -} - -@keyframes slidedownfadeouttotop { - .m-transitions-slidedownfadeouttotop(); -} - -/* slide fade */ - -.slidefade.out { - .translate3d(-100%, 0, 0); - .animation(slideouttoleft 225ms); -} - -.slidefade.in { - .translate3d(0, 0, 0); - .animation(fadein 200ms); -} - -.slidefade.out.reverse { - .translate3d(100%, 0, 0); - .animation(slideouttoright 200ms); -} - -.slidefade.in.reverse { - .translate3d(0, 0, 0); - .animation(fadein 200ms); -} - -/* The properties in this rule are only necessary for the 'flip' transition. - * We need specify the perspective to create a projection matrix. This will add - * some depth as the element flips. The depth number represents the distance of - * the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate - * value. - */ - -.viewport-turn { - .perspective(1000); - position: absolute; -} -.turn { - .backface-visiblity(hidden); - .translate3d(0, 0, 0); -} - -.turn.out { - .transform(rotateY(-90deg) scale(0.9)); - .animation(flipouttoleft 125ms); -} - -.turn.in { - .animation(flipintoright 250ms); -} - -.turn.out.reverse { - .transform(rotateY(90deg) scale(0.9)); - .animation-name(flipouttoright); -} - -.turn.in.reverse { - .animation-name(flipintoleft); -} - -.m-transitions-flipouttoleft() { - from { .transform(rotateY(0)); } - to { .transform(rotateY(-90deg) scale(0.9)); } -} - -.m-transitions-flipouttoright() { - from { .transform(rotateY(0)); } - to { .transform(rotateY(90deg) scale(0.9)); } -} - -.m-transitions-flipintoleft() { - from { .transform(rotateY(-90deg) scale(0.9)); } - to { .transform(rotateY(0)); } -} - -.m-transitions-flipintoright() { - from { .transform(rotateY(90deg) scale(0.9)); } - to { .transform(rotateY(0)); } -} - -@-webkit-keyframes flipouttoleft { - .m-transitions-flipouttoleft(); -} - -@-moz-keyframes flipouttoleft { - .m-transitions-flipouttoleft(); -} - -@-ms-keyframes flipouttoleft { - .m-transitions-flipouttoleft(); -} - -@-o-keyframes flipouttoleft { - .m-transitions-flipouttoleft(); -} - -@keyframes flipouttoleft { - .m-transitions-flipouttoleft(); -} - -@-webkit-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-moz-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-ms-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-o-keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@keyframes flipouttoright { - .m-transitions-flipouttoright(); -} - -@-webkit-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-moz-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-ms-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-o-keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@keyframes flipintoleft { - .m-transitions-flipintoleft(); -} - -@-webkit-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-moz-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-ms-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@-o-keyframes flipintoright { - .m-transitions-flipintoright(); -} - -@keyframes flipintoright { - .m-transitions-flipintoright(); -} - - -/* depth */ - -.depth { - .transform-origin(50% 50%); -} - -.depth.out { - opacity: 0; - .animation(depthout 250ms ease); -} - -.depth.in { - .scale(1); - opacity: 1; - .animation(depthin 350ms ease); -} - -.depth.in.reverse { - .animation-name(depthinreverse); -} - -.depth.out.reverse { - .scale(0.9); - .animation-name(depthoutreverse); -} - -.m-transitions-depthout() { - from { - .scale(1); - opacity: 1; - } - to { - .scale(1.1); - opacity: 0; - } -} - -.m-transitions-depthin() { - 0% { - .scale(.9); - opacity: 0; - } - 30% { - .scale(.9); - opacity: 0; - } - 100% { - .scale(1); - opacity: 1; - } -} - -.m-transitions-depthinreverse() { - 0% { - .scale(1.1); - opacity: 0; - } - 30% { - .scale(1.1); - opacity: 0; - } - 100% { - .scale(1); - opacity: 1; - } -} - -.m-transitions-depthoutreverse() { - from { - .scale(1); - opacity: 1; - } - to { - .scale(.9); - opacity: 0; - } -} - -@-webkit-keyframes depthout { - .m-transitions-depthout(); -} - -@-moz-keyframes depthout { - .m-transitions-depthout(); -} - -@-ms-keyframes depthout { - .m-transitions-depthout(); -} - -@-o-keyframes depthout { - .m-transitions-depthout(); -} - -@keyframes depthout { - .m-transitions-depthout(); -} - -@-webkit-keyframes depthin { - .m-transitions-depthin(); -} - -@-moz-keyframes depthin { - .m-transitions-depthin(); -} - -@-ms-keyframes depthin { - .m-transitions-depthin(); -} - -@-o-keyframes depthin { - .m-transitions-depthin(); -} - -@keyframes depthin { - .m-transitions-depthin(); -} - -@-webkit-keyframes depthinreverse { - .m-transitions-depthinreverse(); -} - -@-moz-keyframes depthinreverse { - .m-transitions-depthinreverse(); -} - -@-ms-keyframes depthinreverse { - .m-transitions-depthinreverse(); -} - -@-o-keyframes depthinreverse { - .m-transitions-depthinreverse(); -} - -@keyframes depthinreverse { - .m-transitions-depthinreverse(); -} - -@-webkit-keyframes depthoutreverse { - .m-transitions-depthoutreverse(); -} - -@-moz-keyframes depthoutreverse { - .m-transitions-depthoutreverse(); -} - -@-ms-keyframes depthoutreverse { - .m-transitions-depthoutreverse(); -} - -@-o-keyframes depthoutreverse { - .m-transitions-depthoutreverse(); -} - -@keyframes depthoutreverse { - .m-transitions-depthoutreverse(); -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/debug.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/debug.less deleted file mode 100644 index a9d3ce98..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/debug.less +++ /dev/null @@ -1,3 +0,0 @@ -* { - border: 1px solid red; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/global.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/global.less deleted file mode 100644 index 5fcb76ab..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/global.less +++ /dev/null @@ -1,170 +0,0 @@ -/**************************** - collapsible -****************************/ -.ui-collapsible-heading { - .ui-btn-icon-right .ui-btn-inner { - padding-left: 8 * @unit_base; padding-right: 40px; - } -} - -.ui-collapsible-content { - .ui-li-dialogue { - >.ui-li-text-sub { - right : 10 * @unit_base; - } - } -} - - - -/**************************** - controlgroup -****************************/ -fieldset.ui-controlgroup { - width: 100%; -} - -.ui-controlgroup-horizontal { - [data-role="button"] { - >.ui-btn-inner { - padding-bottom : 0px; - } - } -} - - - -/**************************** - core -****************************/ -.ui-mobile, .ui-mobile .ui-page { - height: 100%; -} - -.ui-content { padding-left : 15 * @unit_base; padding-right : 15 * @unit_base; } - -/* 140520 Heeju Joo - To improve performance of touch overflowscroll, we need to use this style for ui-page */ -.ui-page { - .touch-scrolling(); -} - -/**************************** - forms.select -****************************/ -.ui-selectmenu-hidden { top: -9999px; left: -9999px; visibility: hidden;} - - - -/**************************** - forms.textinput -****************************/ -input::-webkit-input-placeholder { - max-width : 100% !important; - text-overflow : ellipsis !important; - white-space : nowrap !important; - overflow : hidden !important; -} - -/**************************** - segmentctrl -****************************/ -.ui-footer { - .ui-controlgroup { - .ui-btn-inner { - padding-top : 2px; - padding-bottom : 1px; - } - } - .ui-btn-inline { - display: block; - float: left; - } -} - -.ui-controlgroup .ui-btn-inner.ui-corner-left { - .border-radius(0); -} - -.ui-controlgroup .ui-btn-inner.ui-corner-right.ui-controlgroup-last { - .border-radius(0); -} - -.ui-controlgroup.ui-controlgroup-horizontal { - .ui-radio-on .ui-btn-inner { - color : #fafafa; - } - .ui-radio .ui-btn-down-s .ui-btn-inner { - color : #fafafa; - background : @color_bar_toolbar_press; - } -} - - -/**************************** - tizen.slider -****************************/ -.ui-slider-container { - padding-top: 21 * @unit_base; - padding-bottom: 21 * @unit_base; -} - -.ui-li > .ui-slider-container { - margin-top: -14 * @unit_base; - margin-bottom: -14 * @unit_base; -} - -.ui-slider-left-text { - top: 6 * @unit_base; -} - -.ui-slider-right-text { - top: 6 * @unit_base; -} - -/**************************** - tizen.tokentextarea -****************************/ -.ui-tokentextarea { - margin-left : -15 * @unit_base; - margin-right : -15 * @unit_base; - .display-flex(); - .flex-direction(row); - .flex-wrap(wrap); - .justify-content(flex-start); - .align-content(stretch); - .align-items(flex-start); -} -.ui-tokentextarea-input-area { - order : 0; - .flex(1 1 auto); - width: 3rem; - padding-right: 52px !important; -} -.ui-tokentextarea-input { - order : 0; - .flex(1 1 auto); - width: 0px; - margin-right: 35px; -} -.ui-tokentextarea-span-block { - .flex(0 1 auto); - .align-self(auto); - display : inline; - max-width: 50%; - text-align : center; - cursor : pointer; - position : relative; - margin : .3em; - padding : .2em .5em; - color : @color_tokentextarea_block_text; - overflow : hidden; - text-overflow : ellipsis; - white-space : nowrap; -} -span.ui-tokentextarea-invisible { - display: none; -} -.ui-tokentextarea .ui-tokentextarea-desclabel { - padding: .6em 0em; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.button.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.button.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.button.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.dialog.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.dialog.less deleted file mode 100644 index c3a3da23..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.dialog.less +++ /dev/null @@ -1,20 +0,0 @@ -.ui-dialog { - .ui-header { - position: relative; - .ui-btn { - position: relative; - } - } -} -.ui-dialog.ui-page-active { - z-index: 9999; -} - -.ui-dialog.ui-dialog-hidden { - width: 0; - height: 0; - .ui-dialog-contain { - width: 0; - height: 0; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.forms.checkboxradio.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.forms.checkboxradio.less deleted file mode 100644 index 1dff75fc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.forms.checkboxradio.less +++ /dev/null @@ -1,57 +0,0 @@ -/**************************** - forms.checkboxradio -****************************/ -@icon-left-margin: (24*@unit_base); -.ui-checkbox, .ui-radio { - input { - /* - checkbox can receive focus when tab or arrow key pressed. - so, set same size and position with fake checkbox for focus highlight. - */ - top: 50%; - margin-top: @checkbox-radio-icon-internal-bottom; - width: @checkbox-radio-size-width; - height: @checkbox-radio-size-height; - } - - > input { - opacity: 0; - } - - .ui-btn.ui-btn-icon-left { - .ui-btn-inner { - min-width: @checkbox-radio-size-width; // TODO: check this after layout done. - min-height: @checkbox-radio-all-height; - margin: 0 8*@unit_base 0 0; - padding : 0; - } - } - - /* This is necessary in : 'winset' - 'programming tips' - 'two line text' and 'segment control' pages - * Long text was wrapping instead of dotting - */ - .ui-btn-inner { - white-space: nowrap; - } -} - -.ui-checkbox.favorite { - input { - left: 5*@unit_base; - top: 50%; - width: @favorite-size-width; - height: @favorite-size-height; - margin-top: @favorite-icon-internal-bottom; - } - - .ui-btn.ui-btn-icon-left { - .ui-btn-inner { - margin: 0 0 0 5*@unit_base; - padding : 0; - /* TODO : after button fixed, recheck! */ - .ui-icon { - left: 0; - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.listview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.listview.less deleted file mode 100644 index 3626d8da..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.listview.less +++ /dev/null @@ -1,49 +0,0 @@ -/**************************** - listview -****************************/ -.ui-listview { - - .ui-li-last { - border-bottom-color: @color_bg; - } - - li.ui-btn-down-s { - border-bottom-color : @color_list_press; - } -} - -.ui-listview li.ui-divider-btn { - &:active { - background-color: @color_list_divider_bg_press; - - .ui-divider-normal-line { - background: @color_list_divider_text_press; - } - - a { - color: @color_list_divider_text_press; - } - } - - .ui-link-inherit { - color: @color_list_divider_text; - font-weight: bold; - } - - &[data-style="check"] { - &:active label .ui-btn-inner{ - background-color: @color_list_divider_bg_press; - } - } -} - -.ui-listview { - li.ui-li-dialogue { - &.ui-collapsible-heading { - padding-left: 0px; - padding-right: 0px; - } - } -} - - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.theme.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.theme.less deleted file mode 100644 index 9941be4c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.theme.less +++ /dev/null @@ -1,23 +0,0 @@ -/**************************** - theme -****************************/ -.ui-footer { - [data-role="controlgroup"] { - [data-role="button"] { - border-left-width : 0px; - - &.ui-btn-down-s, .ui-btn-active-s { - .ui-btn-inner { - .ui-btn-text { - color : @color_bar_title_text; - } - } - } - - .ui-btn-text { - color : @color_bar_toolbar_button_text; - } - } - } -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.datetimepicker.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.datetimepicker.less deleted file mode 100644 index 841da753..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.datetimepicker.less +++ /dev/null @@ -1,17 +0,0 @@ -/**************************** - tizen.datetimepicker -****************************/ -.ui-datefield { - display : inline-block; -} - -.ui-datetimepicker { - width: 100%; -} - -.ui-datetimepicker-selector { - ul { - display: block; - width: 300%; - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.layout.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.layout.less deleted file mode 100644 index 6e973355..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.layout.less +++ /dev/null @@ -1,15 +0,0 @@ -.ui-layout { - position: relative; - - .ui-horizontal-layout:after { - content: "."; - display: block; - height: 0px; - visibility: hidden; - clear: both; - } -} - -.ui-horizontal-layout > * { - float: left; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.scrollview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.scrollview.less deleted file mode 100644 index 8eec1ae5..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.scrollview.less +++ /dev/null @@ -1,105 +0,0 @@ -/**************************** - tizen.scrollview -****************************/ -.ui-scrollview-clip { - position: relative; -} - -.ui-scrollview-view { - overflow: hidden; - height: auto; -} - -.ui-scrollbar-y { - top: 0px; - bottom: 0px; -} - -.ui-overflow-indicator-top, -.ui-overflow-indicator-bottom { - height: 29 * @unit_base; - opacity: 1; -} - -.ui-overflow-indicator-top { - top : 0px; -} - -.ui-overflow-indicator-bottom { - bottom : 0px; -} - -.ui-overflow-effect-bottom { - position: absolute; - display: none; - bottom: 0; - width:100%; -} - -.ui-overflow-top { - opacity : 1; - &.ui-overflow-top-hide { - height : 0 !important; - } -} - -.ui-overflow-bottom { - opacity : 1; - &.ui-overflow-bottom-hide { - height : 0 !important; - } -} - -/* overflowAnimation resource */ -.ui-overflow-indicator-bar-1 { background-image : url(images/bouncing_effect/top/bouncing_top_01.png); } -.ui-overflow-indicator-bar-2 { background-image : url(images/bouncing_effect/top/bouncing_top_02.png); } -.ui-overflow-indicator-bar-3 { background-image : url(images/bouncing_effect/top/bouncing_top_03.png); } -.ui-overflow-indicator-bar-4 { background-image : url(images/bouncing_effect/top/bouncing_top_04.png); } -.ui-overflow-indicator-bar-5 { background-image : url(images/bouncing_effect/top/bouncing_top_05.png); } -.ui-overflow-indicator-bar-6 { background-image : url(images/bouncing_effect/top/bouncing_top_06.png); } -.ui-overflow-indicator-bar-7 { background-image : url(images/bouncing_effect/top/bouncing_top_07.png); } -.ui-overflow-indicator-bar-8 { background-image : url(images/bouncing_effect/top/bouncing_top_08.png); } -.ui-overflow-indicator-bar-9 { background-image : url(images/bouncing_effect/top/bouncing_top_09.png); } -.ui-overflow-indicator-bar-10 { background-image : url(images/bouncing_effect/top/bouncing_top_10.png); } -.ui-overflow-indicator-bar-11 { background-image : url(images/bouncing_effect/top/bouncing_top_11.png); } -.ui-overflow-indicator-bar-12 { background-image : url(images/bouncing_effect/top/bouncing_top_12.png); } -.ui-overflow-indicator-bar-13 { background-image : url(images/bouncing_effect/top/bouncing_top_13.png); } -.ui-overflow-indicator-bar-14 { background-image : url(images/bouncing_effect/top/bouncing_top_14.png); } -.ui-overflow-indicator-bar-15 { background-image : url(images/bouncing_effect/top/bouncing_top_15.png); } -.ui-overflow-indicator-bar-16 { background-image : url(images/bouncing_effect/top/bouncing_top_16.png); } -.ui-overflow-indicator-bar-17 { background-image : url(images/bouncing_effect/top/bouncing_top_17.png); } - -.ui-overflow-indicator-b-bar-1 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_01.png); } -.ui-overflow-indicator-b-bar-2 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_02.png); } -.ui-overflow-indicator-b-bar-3 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_03.png); } -.ui-overflow-indicator-b-bar-4 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_04.png); } -.ui-overflow-indicator-b-bar-5 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_05.png); } -.ui-overflow-indicator-b-bar-6 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_06.png); } -.ui-overflow-indicator-b-bar-7 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_07.png); } -.ui-overflow-indicator-b-bar-8 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_08.png); } -.ui-overflow-indicator-b-bar-9 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_09.png); } -.ui-overflow-indicator-b-bar-10 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_10.png); } -.ui-overflow-indicator-b-bar-11 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_11.png); } -.ui-overflow-indicator-b-bar-12 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_12.png); } -.ui-overflow-indicator-b-bar-13 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_13.png); } -.ui-overflow-indicator-b-bar-14 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_14.png); } -.ui-overflow-indicator-b-bar-15 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_15.png); } -.ui-overflow-indicator-b-bar-16 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_16.png); } -.ui-overflow-indicator-b-bar-17 { background-image : url(images/bouncing_effect/bottom/bouncing_bottom_17.png); } - - -.ui-scroll-jump-top-bg { - top: 0; - position: fixed; - .ui-btn { - margin-top: 9 * @unit_base; - } -} - -.ui-scroll-jump-left-bg { - left: 0; - position: fixed; - .ui-btn { - margin-left: 13 * @unit_base; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.searchbar.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.searchbar.less deleted file mode 100644 index 236994cf..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.searchbar.less +++ /dev/null @@ -1,9 +0,0 @@ -.input-search-bar { - .ui-input-cancel { - .ui-btn-inner { - .ui-btn-text.ui-btn-text-padding-left { - padding-left : 0; - } - } - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.selectmenu.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.selectmenu.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.selectmenu.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.splitview.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.splitview.less deleted file mode 100644 index 3a9a9284..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.splitview.less +++ /dev/null @@ -1,78 +0,0 @@ -/**************************** - tizen.splitview -****************************/ -.ui-splitview { - height: 100%; - position: relative !important; -} - -.ui-splitview .ui-pane { - position: initial; - display: inline-block; - vertical-align: top; -} - -.ui-splitview .ui-spliter { - top: 0; -} - -.ui-spliter-active{ - background-color: @color_splitview_spliter_bar_active !important; - border-color: @color_splitview_spliter_bar_active !important; -} - -.ui-direction-horizontal > .ui-spliter, .ui-direction-horizontal > .ui-pane { - height: 100%; -} - -.ui-direction-vertical > .ui-spliter, .ui-direction-vertical > .ui-pane { - width: 100%; -} - -.ui-splitview .ui-spliter-bar { - position: initial; - display: inline-block; -} - -.ui-direction-horizontal > .ui-spliter-bar { - border-width: 0 1px 0 1px; - height: 100%; - width: 11 * @unit_base_splitview; - margin: 0; -} - -.ui-direction-vertical > .ui-spliter-bar { - border-width: 1px 0 1px 0; - width: 100%; - height: 11 * @unit_base_splitview; - margin: 0; -} - -.ui-direction-horizontal > .ui-spliter-bar > .ui-spliter-handle { - width: 9 * @unit_base_splitview; - height: 27 * @unit_base_splitview; - margin: 0 1 * @unit_base_splitview 0 1 * @unit_base_splitview; - background-image: url(./images/00_splite_handler_v.png); - background-size: 9 * @unit_base_splitview 27 * @unit_base_splitview; - background-repeat: no-repeat; -} -.ui-direction-vertical > .ui-spliter-bar > .ui-spliter-handle { - width: 27 * @unit_base_splitview; - height: 9 * @unit_base_splitview; - margin: 1 * @unit_base_splitview 0 1 * @unit_base_splitview 0; - background-image: url(./images/00_splite_handler_h.png); - background-size: 27 * @unit_base_splitview 9 * @unit_base_splitview; - background-repeat: no-repeat; -} - -.ui-direction-vertical > .ui-spliter-bar > .ui-spliter-handle { - margin: 0 auto; -} - -.ui-direction-horizontal > .ui-fixed { - width: 6 * @unit_base_splitview; -} - -.ui-direction-vertical > .ui-fixed { - height: 6 * @unit_base_splitview; -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.virtualgrid.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.virtualgrid.less deleted file mode 100644 index 3a857ef1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/jquery.mobile.tizen.virtualgrid.less +++ /dev/null @@ -1,17 +0,0 @@ -/********************************* - Virtual Grid -*********************************/ -.virtualgrid-item { - box-sizing: border-box; - -webkit-box-sizing: border-box; -} - -.ui-virtualgrid-wrapblock-x { - float: left; -} - -.ui-virtualgrid-wrapblock-y { - .virtualgrid-item { - float: left; - } -} diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/tizen.micro.weather.less b/tools/ThemeEditor/src/res/less/mobile/changeable/differences/tizen.micro.weather.less deleted file mode 100644 index 0c9df332..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/differences/tizen.micro.weather.less +++ /dev/null @@ -1,8 +0,0 @@ -.ui-weather { - width: 100%; - height: 100%; - background-size: 100%; - background-repeat: no-repeat; - background-position: center center; -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/mobile.less b/tools/ThemeEditor/src/res/less/mobile/changeable/mobile.less deleted file mode 100644 index 7cda0838..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/mobile.less +++ /dev/null @@ -1,57 +0,0 @@ -@import "../../prefixer.less"; -@import "../../prefixer.ext.less"; -@import "common/jquery.mobile.tizen.less"; -@import "common/jquery.mobile.button.less"; -@import "common/jquery.mobile.collapsible.less"; -@import "common/jquery.mobile.controlgroup.less"; -@import "common/jquery.mobile.core.less"; -@import "common/jquery.mobile.dialog.less"; -@import "common/jquery.mobile.forms.checkboxradio.less"; -@import "common/jquery.mobile.forms.textinput.less"; -@import "common/jquery.mobile.headerfooter.less"; -@import "common/jquery.mobile.listview.less"; -@import "common/jquery.mobile.popup.less"; -@import "common/jquery.mobile.segmentctrl.less"; -@import "common/jquery.mobile.theme.less"; -@import "common/jquery.mobile.tizen.ctxpopup.less"; -@import "common/jquery.mobile.tizen.datetimepicker.less"; -@import "common/jquery.mobile.tizen.fastscroll.less"; -@import "common/jquery.mobile.tizen.gallery.less"; -@import "common/jquery.mobile.tizen.misc.less"; -@import "common/jquery.mobile.tizen.notification.less"; -@import "common/jquery.mobile.tizen.popup.less"; -@import "common/jquery.mobile.tizen.popupwindow.less"; -@import "common/jquery.mobile.tizen.progressbar.less"; -@import "common/jquery.mobile.tizen.progress.less"; -@import "common/jquery.mobile.tizen.scrollview.handler.less"; -@import "common/jquery.mobile.tizen.scrollview.less"; -@import "common/jquery.mobile.tizen.slider.less"; -@import "common/jquery.mobile.tizen.splitview.less"; -@import "common/jquery.mobile.tizen.swipe.less"; -@import "common/jquery.mobile.tizen.tabbar.less"; -@import "common/jquery.mobile.tizen.toggleswitch.less"; -@import "common/jquery.mobile.tizen.tokentextarea.less"; -@import "common/jquery.mobile.tizen.triangle.less"; -@import "common/jquery.mobile.tizen.virtualgridview.less"; -@import "common/jquery.mobile.tizen.virtuallistview.less"; -@import "common/jquery.mobile.transitions.less"; -@import "common/jquery.mobile.grids.less"; -@import "common/jquery.mobile.navbar.less"; -@import "common/jquery.mobile.forms.fieldcontain.less"; -@import "common/jquery.mobile.forms.select.less"; -@import "common/jquery.mobile.tizen.emptystate.less"; -@import "differences/global.less"; -@import "differences/jquery.mobile.tizen.scrollview.less"; -@import "differences/jquery.mobile.tizen.datetimepicker.less"; -@import "differences/jquery.mobile.tizen.searchbar.less"; -@import "differences/jquery.mobile.tizen.splitview.less"; -@import "differences/jquery.mobile.dialog.less"; -@import "differences/jquery.mobile.theme.less"; -@import "differences/jquery.mobile.button.less"; -@import "differences/jquery.mobile.tizen.selectmenu.less"; -@import "differences/jquery.mobile.tizen.virtualgrid.less"; -@import "differences/jquery.mobile.listview.less"; -@import "common/jquery.mobile.tizen.drawer.less"; -@import "common/jquery.mobile.tizen.selectmenu.less"; -@import "common/jquery.mobile.tizen.navigation.less"; - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/9-patch.less b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/9-patch.less deleted file mode 100644 index de8c6030..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/9-patch.less +++ /dev/null @@ -1,16 +0,0 @@ -.core_button_bg() { - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image-source('images/nine-patch/core_button_bg.png'); - .mask-box-image-slice(37 38 36 38 fill); - background-color: @color_button_bg; -} - -.core_button_bg_pressed() { - .mask-box-image-repeat(repeat); - .mask-box-image-width(auto); - .mask-box-image-source('images/nine-patch/core_button_bg.png'); - .mask-box-image-slice(37 38 36 38 fill); - background-color: @color_button_bg_press; -} - diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_off.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_off.png Binary files differdeleted file mode 100644 index 0ae63605..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_on.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_on.png Binary files differdeleted file mode 100644 index 0390c0d2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_fullscreen_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_pause.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_pause.png Binary files differdeleted file mode 100644 index 034e7007..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_pause.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_play.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_play.png Binary files differdeleted file mode 100644 index 812d5cca..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_play.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_radio_activated.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_radio_activated.png Binary files differdeleted file mode 100644 index 674e585c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_button_radio_activated.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_check_activated.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_check_activated.png Binary files differdeleted file mode 100644 index e7eda726..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_check_activated.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_bg.png Binary files differdeleted file mode 100644 index 2f26ab37..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_ef.png Binary files differdeleted file mode 100644 index caeb4be2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_circle_button_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_left.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_left.png Binary files differdeleted file mode 100644 index 5109e64f..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_right.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_right.png Binary files differdeleted file mode 100644 index 973210d4..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_effect_title_tab_bounce_right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_bottom.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_bottom.png Binary files differdeleted file mode 100644 index 46bb9b8b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_left.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_left.png Binary files differdeleted file mode 100644 index 2fb5ef5a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_right.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_right.png Binary files differdeleted file mode 100644 index 6d08148f..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_top.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_top.png Binary files differdeleted file mode 100644 index d0ba1163..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_grid_overscrolling_top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_icon_favorite_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_icon_favorite_bg.png Binary files differdeleted file mode 100644 index c819fd14..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_icon_favorite_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_list_process_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_list_process_01.png Binary files differdeleted file mode 100644 index 6708ce96..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_list_process_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_messagebubble_date_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_messagebubble_date_bg.png Binary files differdeleted file mode 100644 index b5e23815..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_messagebubble_date_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_bg.png Binary files differdeleted file mode 100644 index de9927cc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_icon_arrow.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_icon_arrow.png Binary files differdeleted file mode 100644 index 4d197eb8..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_navigation_bar_icon_arrow.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_bottom.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_bottom.png Binary files differdeleted file mode 100644 index 2cee9762..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_top.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_top.png Binary files differdeleted file mode 100644 index dd1b91c2..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_overscrolling_top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg.png Binary files differdeleted file mode 100644 index fff3c00e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg_h.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg_h.png Binary files differdeleted file mode 100644 index 7c48b3dc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_page_empty_bg_h.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_01.png Binary files differdeleted file mode 100644 index 1342d403..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_02.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_02.png Binary files differdeleted file mode 100644 index f9936928..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_progress_pending_bg_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_01.png Binary files differdeleted file mode 100644 index 2e85775c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_02.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_02.png Binary files differdeleted file mode 100644 index 23db633d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_h_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_01.png Binary files differdeleted file mode 100644 index 165ae07b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_02.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_02.png Binary files differdeleted file mode 100644 index b844d4bd..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_scroll_bar_handler_v_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_h.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_h.png Binary files differdeleted file mode 100644 index dfcc1b93..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_h.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_v.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_v.png Binary files differdeleted file mode 100644 index 2ced25b8..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/00_splite_handler_v.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_core_button_icon_clear.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_core_button_icon_clear.png Binary files differdeleted file mode 100644 index 89702e88..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_core_button_icon_clear.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_field_btn_clear.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_field_btn_clear.png Binary files differdeleted file mode 100644 index b3ee5517..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_field_btn_clear.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_45x45.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_45x45.png Binary files differdeleted file mode 100644 index 1ae50fb1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_45x45.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_72x72.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_72x72.png Binary files differdeleted file mode 100644 index c819fd14..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_favorite_bg_72x72.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump.png Binary files differdeleted file mode 100644 index 9eee4b0a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump_left.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump_left.png Binary files differdeleted file mode 100644 index 7f68c6c4..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_jump_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_search.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_search.png Binary files differdeleted file mode 100644 index 073453cb..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_icon_search.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg.png Binary files differdeleted file mode 100644 index 488b9a29..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg_line.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg_line.png Binary files differdeleted file mode 100644 index 94370a55..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_bg_line.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg.png Binary files differdeleted file mode 100644 index 6a563053..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg_ef.png Binary files differdeleted file mode 100644 index 1471a0bc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_bg_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off.png Binary files differdeleted file mode 100644 index 5c24de66..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off_ef.png Binary files differdeleted file mode 100644 index a1a381e6..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_off_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on.png Binary files differdeleted file mode 100644 index 2f6bc94f..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on_ef.png Binary files differdeleted file mode 100644 index a9f3567e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_on_off_handler_icon_on_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_01.png Binary files differdeleted file mode 100644 index fc521815..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_02.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_02.png Binary files differdeleted file mode 100644 index fb4a7bdf..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_brightness_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_01.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_01.png Binary files differdeleted file mode 100644 index e5cd5c34..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_02.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_02.png Binary files differdeleted file mode 100644 index 98972bad..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_button_volume_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg.png Binary files differdeleted file mode 100644 index 6405989e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg_v.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg_v.png Binary files differdeleted file mode 100644 index fcfa8ddc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_center_point_bg_v.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle.png Binary files differdeleted file mode 100644 index ec63c337..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle_press.png Binary files differdeleted file mode 100644 index 2c34d83e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_handle_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_popup_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_popup_bg.png Binary files differdeleted file mode 100644 index ef0a56ec..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/00_slider_popup_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add.png Binary files differdeleted file mode 100644 index 97da27bc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add_ef.png Binary files differdeleted file mode 100644 index 1af73828..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_add_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back.png Binary files differdeleted file mode 100644 index 76183717..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back_press.png Binary files differdeleted file mode 100644 index 76183717..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_back_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call.png Binary files differdeleted file mode 100644 index 87c6187f..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call_ef.png Binary files differdeleted file mode 100644 index 50a19f39..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_call_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check.png Binary files differdeleted file mode 100644 index 8df9a9cf..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check_press.png Binary files differdeleted file mode 100644 index 8df9a9cf..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_check_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact.png Binary files differdeleted file mode 100644 index 70db13b9..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact_ef.png Binary files differdeleted file mode 100644 index 1da5ebc3..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_contact_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete.png Binary files differdeleted file mode 100644 index 42d30571..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete_ef.png Binary files differdeleted file mode 100644 index 2907e611..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_delete_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel.png Binary files differdeleted file mode 100644 index f21fb913..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel_ef.png Binary files differdeleted file mode 100644 index bd59ba4b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_cancel_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed.png Binary files differdeleted file mode 100644 index c65daebf..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed_ef.png Binary files differdeleted file mode 100644 index c5c9cb42..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_closed_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened.png Binary files differdeleted file mode 100644 index 7093a4d1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened_ef.png Binary files differdeleted file mode 100644 index af24a540..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_opened_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send.png Binary files differdeleted file mode 100644 index 326a4e8d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send_ef.png Binary files differdeleted file mode 100644 index 882d28f9..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_expand_send_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear.png Binary files differdeleted file mode 100644 index 8e4b359e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear_press.png Binary files differdeleted file mode 100644 index 8e4b359e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_gear_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid.png Binary files differdeleted file mode 100644 index ca6b7690..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid_press.png Binary files differdeleted file mode 100644 index ca6b7690..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_grid_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home.png Binary files differdeleted file mode 100644 index 1ba38209..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home_press.png Binary files differdeleted file mode 100644 index 1ba38209..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_home_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info.png Binary files differdeleted file mode 100644 index 10c3d6fa..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info_ef.png Binary files differdeleted file mode 100644 index 58504fb5..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_info_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left.png Binary files differdeleted file mode 100644 index a154698c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left_ef.png Binary files differdeleted file mode 100644 index 25ac80ee..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_left_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh.png Binary files differdeleted file mode 100644 index 33ff934d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh_press.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh_press.png Binary files differdeleted file mode 100644 index 33ff934d..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_refresh_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename.png Binary files differdeleted file mode 100644 index 06e854da..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename_ef.png Binary files differdeleted file mode 100644 index 94c5d4a7..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_rename_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right.png Binary files differdeleted file mode 100644 index 13a3df37..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right_ef.png Binary files differdeleted file mode 100644 index 3f7b182c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_right_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning.png Binary files differdeleted file mode 100644 index 026ea940..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning_ef.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning_ef.png Binary files differdeleted file mode 100644 index 51cc938e..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/button/00_button_warning_ef.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_bg.png Binary files differdeleted file mode 100644 index 236180e1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_icon.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_icon.png Binary files differdeleted file mode 100644 index 1ad477a1..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_check_icon.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_bg.png Binary files differdeleted file mode 100644 index ff2408d4..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_icon.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_icon.png Binary files differdeleted file mode 100644 index ee0f0d37..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_radio_icon.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg.png Binary files differdeleted file mode 100644 index 444a23ee..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg_stroke.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg_stroke.png Binary files differdeleted file mode 100644 index e6b27fe8..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_slider_popup_bg_stroke.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_bg.png Binary files differdeleted file mode 100644 index 5716656c..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_off.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_off.png Binary files differdeleted file mode 100644 index 68011e0f..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_on.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_on.png Binary files differdeleted file mode 100644 index 0e11effa..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_icon_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_off.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_off.png Binary files differdeleted file mode 100644 index 4e426172..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_on.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_on.png Binary files differdeleted file mode 100644 index 1a2fbb72..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/controls/core_toggle_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_dropdown_label_icon_arrow.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_dropdown_label_icon_arrow.png Binary files differdeleted file mode 100644 index fb111b05..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_dropdown_label_icon_arrow.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_icon_expand_open.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_icon_expand_open.png Binary files differdeleted file mode 100644 index 2e608cfd..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/core_icon_expand_open.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_receive_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_receive_bg.png Binary files differdeleted file mode 100644 index f91754b7..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_receive_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_sent_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_sent_bg.png Binary files differdeleted file mode 100644 index b01cc432..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/00_messagebubble_bg_sent_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_bg.png Binary files differdeleted file mode 100644 index aff5bca3..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_normal.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_normal.png Binary files differdeleted file mode 100644 index 2a0d9d73..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_pressed.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_pressed.png Binary files differdeleted file mode 100644 index 8168aa49..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_button_effect_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg.png Binary files differdeleted file mode 100644 index 90558924..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg_outer.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg_outer.png Binary files differdeleted file mode 100644 index c42cd666..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/nine-patch/core_popup_noti_bg_outer.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_delete.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_delete.png Binary files differdeleted file mode 100644 index f5c3ec45..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_delete.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_drawers.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_drawers.png Binary files differdeleted file mode 100644 index 389e31fc..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_drawers.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_edit.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_edit.png Binary files differdeleted file mode 100644 index c96d3153..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_edit.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_plus.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_plus.png Binary files differdeleted file mode 100644 index 5cf32b9a..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_plus.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_search.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_search.png Binary files differdeleted file mode 100644 index 73c0cdfb..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_search.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_select_all.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_select_all.png Binary files differdeleted file mode 100644 index 48299624..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/00_icon_select_all.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_icon_drawer.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_icon_drawer.png Binary files differdeleted file mode 100644 index a10ff936..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_icon_drawer.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_bg.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_bg.png Binary files differdeleted file mode 100644 index 6cfbcb83..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_focus.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_focus.png Binary files differdeleted file mode 100644 index f02c34c9..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_button_focus.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_cancel.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_cancel.png Binary files differdeleted file mode 100644 index fe94c3ea..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_cancel.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_done.png b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_done.png Binary files differdeleted file mode 100644 index 988dae84..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/images/page/core_title_icon_done.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.color.less b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.color.less deleted file mode 100644 index 4328dd5b..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.color.less +++ /dev/null @@ -1,322 +0,0 @@ -/*************************************************************************** - Body -***************************************************************************/ -@color_bg: C001; // #[color] Main background body color -@color_text: T023; // #[color] Main body text color -@color_content_bg: B0211P; // #[color] Context background color - -/*************************************************************************** - Naviframe -***************************************************************************/ -@color_bar_naviframe_bg : B011; // #[color] and header background color -@color_bar_naviframe_press : F043P; // #[color] button press color -@color_bar_naviframe_line : B0512; // #[color] -@color_bar_title_button_all : F043L1i; // #[color] button icon color -@color_bar_title_button_all_press : F043L1i; // #[color] button pressed icon color -@color_bar_title_text : T020; // #[color] text color -@color_bar_title_multiline_text: T0203; // #[color] text color -@color_bar_title_sub_text: T0204; // #[color] sub text color -@color_bar_title_button_text : T020; // #[color] button text color -@color_bar_title_button_text_press : T020; // #[color] button pressed text color -@color_bar_divider_line : B0551; - -/*************************************************************************** - Toolbar -***************************************************************************/ -@color_bar_toolbar_bg : B062; // #[color] Footer background color -@color_bar_toolbar_press : B062; // #[color] Footer button press color -@color_bar_toolbar_button_text : T111; // #[color] Footer button text color -@color_bar_toolbar_divider : B0552; // #[color] Toolbar divider color - -/*************************************************************************** - Tabbar -***************************************************************************/ -@color_tabbar_bg : B0514; // #[color] background color -@color_tabbar_divider : B012L4; // #[color] divider line color -@color_tabbar_select_bar : B0514S; // #[color] border bottom color -@color_tabbar_btn_normal : B052L6; // #[color] hover icon color -@color_tabbar_btn_press : B052L6P2; // #[color] press icon color -@color_tabbar_btn_selected : B052L6P; // #[color] active icon color -@color_tabbar_btn_bg_normal : B0514; // #[color] button normal color -@color_tabbar_btn_bg_press : B0514P; // #[color] button press color -@color_tabbar_text_normal : T1117; // #[color] text normal color -@color_tabbar_text_selected : T1117S; // #[color] text selected color - -/*************************************************************************** - Textinput Clear Button -***************************************************************************/ -@color_editfield_bg: B0215; // #[color] background color - -@color_editfield_outline: F059; // #[color] decoration underline color -@color_editfield_selected_outline: F057; // #[color] selected underline color -@color_editfield_disabled_outline : F059; // #[color] disabled underline color - -@color_editfield_text: T1013; // #[color] text color -@color_editfield_selected_text: T1013; // #[color] selected text color -@color_editfield_placeholder_text: T1012; // #[color] placeholder text color -@color_editfield_placeholder_selected_text: T1012; // #[color] placeholder selected text color -@color_editfield_disabled_text: T1011D; // #[color] disabled text color - -@color_editfield: F054; // #[color] Background color - -@color_editfield_clear_icon: F053; // #[color] clear icon color -@color_editfield_clear_icon_press: F053P; // #[color] clear icon press color -@color_editfield_clear_icon_disabled: F053D; // #[color] clear icon disabled color - -/*************************************************************************** - List -***************************************************************************/ -@color_list_press : B0211P; // #[color] item pressed color -@color_list_border_bottom: C002; // #[color] border bottom color -@color_list_dialog_border: C002; // #[color] dialog border color -@color_list_main_text_normal: T023; // #[color] main text color - -@color_list_sub_text_normal: T024; // #[color] sub text color -@color_list_divider_text : T027L1; // #[color] divider text color -@color_list_divider_line : W021L2; // #[color] divider bottom line color -@color_list_divider_bg : W021L1; // #[color] divider background color -@color_list_divider_bg_press : W021L1; // #[color] divider background press color -@color_list_divider_text_press : T027L1; // #[color] divider text press color -@color_list_divider_select_all_text: T023; // #[color] divider select all text color - -@color_list_swipe_text: T023; // #[color] swipe item text color -@color_list_swipe_left_bg: B011; // #[color] swipe item background color - -@color_list_editfield_text: T1013; // #[color] edit field text color -@color_list_editfield_placeholder_text: T1012; // #[color] edit field placeholder text color -@color_list_editfield_disabled_text: T1011D; // #[color] edit field placeholder disabled text color - -@color_list_bubble_receive_bg : C002; -@color_list_bubble_sent_bg : B0541P; -@color_list_bubble_sent_text: T023; -@color_list_bubble_receive_text: T023; -@color_list_bubble_sos_text: rgb(219, 0, 0); -@color_list_bubble_date_text: T023; - -@color_list_bubble_time_sent_text: T023; -@color_list_bubble_time_receive_text: T023; -@color_list_bubble_help_text: T023; - -@color_list_collapsible_arrow: W023; // #[color] collapsible arrow color -@list-smallicon-size: 22 * @unit_base; -@list-li-padding-horizontal: 8 * @unit_base; - -@list-bigicon-size2: 72 * @unit_base; - -/*************************************************************************** - Fast Scroll -***************************************************************************/ -@color_fastscroll_rollover_bg: B0722; // #[color] background color -@color_fastscroll_rollover_text: T113; // #[color] text color -@color_fastscroll_popup_bg: B0731L1; // #[color] popup background color -@color_fastscroll_popup_text: T114; // #[color] popup text color -@color_fastscroll_popup_border: B0731L2; // #[color] popup border color - -/*************************************************************************** - SearchBar(forms.textinput) -***************************************************************************/ -@color_searchbar_bg : B0215; // #[color] Search bar background color -@color_searchbar_clear_icon : F053; // #[color] Search bar clear icon color -@color_searchbar_clear_icon_press : F053P; // #[color] Search bar clear icon press color -@color_searchbar_button_bg : B0215; -@color_searchbar_button_bg_press : B0215; - -/*************************************************************************** - Button(connected with other winset) -***************************************************************************/ -@color_button_EditText: T1069; -@color_button_EditTextPress: T1069; - -@color_button_text_normal: T051L2; // #[color] normal text color -@color_button_text_press: T051L2P; // #[color] press text color - -@color_button_icon: F032L3; // #[color] icon color -@color_button_icon_nobg: W012; // #[color] icon nobg color -@color_button_icon_nobg_press:W012P; // #[color] icon nobg press color -@color_button_bg: W012; // #[color] background color -@color_button_bg_press: W012P; // #[color] background press color - -@color_button_add: F060L2; // Button plus icon color -@color_button_add_press: F060L2P; // Button plus press icon color - -@color_button_warning: F060L3; // #[color] warning|minus icon color -@color_button_warning_press: F060L3P; // #[color] warning|minus icon press color - -@color_button_edit: W011; - -/*************************************************************************** - Contextual popup -***************************************************************************/ -@color_ctxpopup_text: T1221 ; // #[color] text color -@color_ctxpopup_background: B0211; // #[color] background color -@color_ctxpopup_background_border: B011; // #[color] border color -@color_ctxpopup_border_left: B0733L2; // Context popup, list element left border color (horizontal position) -@color_ctxpopup_border_right: B0733L2; // Context popup, list element right border color (horizontal position) -@color_ctxpopup_list_item_border_top: B0733L2; // Context popup, list element top border color -@color_ctxpopup_list_item_border_bottom: B0733L2; // Context popup, list element bottom border color -@color_ctxpopup_btn_press: B0211P; // #[color], list item press color -@color_ctxpopup_divider: B0733L2; // #[color], list divider color - -/*************************************************************************** - Scrollview -***************************************************************************/ -@color_scrollbar: B071; - -/*************************************************************************** - Date Time picker -***************************************************************************/ -@color_timepicker_selector_color: rgb(37, 50, 150); -@color_timepicker_divider_color1: rgb(39, 40, 43); -@color_timepicker_divider_color2: rgb(64, 64, 64); -/*************************************************************************** - SegmentControl -***************************************************************************/ -@color_segmentcontrol_Seg_text : rgba(199, 199, 199, 1); -@color_segmentcontrol_Seg_text_pressed : rgb(59,119,150); - -/*************************************************************************** - Popup -***************************************************************************/ -@color_popup_bg: B061L1; // #[color] background color -@color_popup_title_bg: B061L3; // #[color] title background color -@color_popup_title_text: T121; // #[color] title text color -@color_popup_text: T123; // #[color] text color -@color_popup_list_style_text: T125; -@color_popup_button_bg: B062; // #[color] button background color -@color_popup_button_text: T051L2; // #[color] button text color -@color_popup_dim_screen_bg: B015; // #[color] overlay color -@color_popup_outline: B0211; // #[color] overlay color - -/*************************************************************************** - Tickernoti -***************************************************************************/ -@color_ticker_bg: B061L5; // #[color] background color -@color_ticker_text1: T023; // #[color] text1 color -@color_ticker_text2: T023; // #[color] text2 color - -/*************************************************************************** - Smallpopup -***************************************************************************/ -@color_smallpopup_bg: B061L5; // #[color] background color -@color_smallpopup_outline: B011; // #[color] outline color -@color_smallpopup_text: T1221; // #[color] text color - -/*************************************************************************** - Slider -***************************************************************************/ -@color_slider_handle_text: T057L1; // #[color] handle text color -@color_slider_popup_text: T023; // #[color] popup text color -@color_slider_popup_bg: W0631; // #[color] popup background color -@color_slider_popup_stroke: W0632; // #[color] popup border color -@color_slider_left_text: T023; // #[color] left text color -@color_slider_right_text: T023; // #[color] right text color -@color_slider_center: W062L1; // #[color] center marker background color -@color_slider_bg: W062L1; // #[color] background color -@color_slider_active_bg: W062L2; // #[color] active background color -@color_slider_handle_bg: W062L2; // #[color] handle background color -@color_slider_img_bg: W0661; // #[color] background image color -@color_slider_switch_label_on_bg: W012P; // #[color] switch on background color -@color_slider_switch_label_off_bg: W062L1; // #[color] switch off background color -@color_slider_switch_label_on_text: T051L2; // #[color] switch on text color -@color_slider_switch_label_off_text: T023; // #[color] switch off text color - -/*************************************************************************** - Toggle -***************************************************************************/ -@color_toggle_bg: W015L1; // for old toggle - -@color_toggle_outline: W015L1D; // for old toggle - -@color_toggle_handle_on_bg: W015L1; // #[color] on background color -@color_toggle_handle_off_bg: W015L1E1; // #[color] off background color - -@color_toggle_handle_on_icon: W015L1i; // for old toggle -@color_toggle_handle_off_icon: W015L1i; // for old toggle -@color_toggle_handle_icon: W015L1i; // #[color] on/off icon background color - -/*************************************************************************** - Progress -***************************************************************************/ -@color_progress_bg: W062L1; // #[color] background color -@color_progress_value: W062L2; // #[color] value color -@color_progress_circle_bg: W157E1; // #[color] circle progress color - -/*************************************************************************** - Tokentextarea -***************************************************************************/ -@color_tokentextarea_bg : W010; // #[color] background color -@color_tokentextarea_block_text : T020; // #[color] block token text color -@color_tokentextarea_block_text_press : T020; // #[color] block token text press color -@color_tokentextarea_block_bg : W012; // #[color] block token background color -@color_tokentextarea_press_bg : W012P; // #[color] block token press background color -@color_tokentextarea_input_text : T059L1; // #[color] input text color -@color_tokentextarea_label_text : T059L2; // #[color] label text color - -/*************************************************************************** - Splitview -***************************************************************************/ -@color_splitview_spliter_bar : W062L1; -@color_splitview_spliter_bar_active : W062L2; - -/*************************************************************************** - Checkbox / Radio -****************************************************************************/ -@color_checkboxradio_checkbox_bg_icon: W013L1i; // #[color] checkbox icon background color - -@color_checkboxradio_bg_on: W013L1; // #[color] checkbox on background color -@color_checkboxradio_bg_off: W013L1E1; // #[color] checkbox off background color - -@color_checkboxradio_radio_bg_on: W014L1; // #[color] radio on background color -@color_checkboxradio_radio_bg_off: W014L1E1; // #[color] radio off background color - -@color_checkboxradio_radio_bg_icon: W014Li; // #[color] radio icon background color -@color_checkboxradio_favorite_off : W016L1iE1; // #[color] favorite icon off color -@color_checkboxradio_favorite_on : W016L1i; // #[color] favorite icon on color - -/*************************************************************************** - Scrollview -****************************************************************************/ -@color_scrollview_handler_bg: B0731L3; // #[color] handler background color -@color_scrollview_handler_thumb_01: B0731L4; // #[color] handler upper thumb color -@color_scrollview_handler_thumb_02: B0731L5; // #[color] handler lower thumb color -/*************************************************************************** - Drawer -***************************************************************************/ -@color_drawer_bg : C001; // #[color] background color -@color_drawer_list_press : B0211P; // #[color] list item background color -@color_drawer_overlay_bg : B016; // #[color] overlay color -@color_drawer_icon : F043L1i; // #[color] icon color -@color_drawer_icon_press : F043P; // #[color] background icon press color - -@color_drawer_border_left : C002; // #[color] border left color -@color_drawer_border_right : C002; // #[color] border right color - -/*************************************************************************** - Empty State -***************************************************************************/ -@color_emptystate_header_bg : B011; // #[color] header background color -@color_emptystate_content_bg : B238L1; // #[color] content background color -@color_emptystate_content_pattern_bg : B238L2; // #[color] content pattern color - -/*************************************************************************** - SelectMenu -***************************************************************************/ -@color_selectmenu_list_group_index_bg : W021L1; // #[color] list group background color -@color_selectmenu_list_line : W021L2; // #[color] list group divider line color -@color_selectmenu_border_placeholder: W021L2; // #[color] placeholder border color -@color_selectmenu_label_bg : B0733; // #[color] label background color -@color_selectmenu_list_group_stroke: B0733L1; // #[color] list stroke line color -@color_selectmenu_list_item_bg_press : B0733P; // #[color] list item background press color -@color_selectmenu_icon : B0734; // #[color] icon color -@color_selectmenu_font_dim : T12351D; // #[color] list item disabled text color -@color_selectmenu_placeholder_bg : W021L1; // #[color] placeholder background color - -/*************************************************************************** - Navigation -***************************************************************************/ -@color_navigation_text: T042; // #[color] text color -@color_navigation_text_press: T042P; // #[color] text press color -@color_navigation_bg : B011; // #[color] background color -@color_navigation_bar_bg : B012L1; // #[color] list item background color -@color_navigation_bar_icon: B012L3; // #[color] icon color -@color_navigation_tab_divider : B012L4; // #[color] divider line color diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.font.less b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.font.less deleted file mode 100644 index 26aa65b5..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.font.less +++ /dev/null @@ -1,124 +0,0 @@ -/*************************************************************************** - Navigation Bar -***************************************************************************/ -@font_size_navigation_bar_text: 27 * @unit_base; /* T042: Navigation Bar Text */ - -/*************************************************************************** - Naviframe -***************************************************************************/ -@font_size_bar_title_text: 36 * @unit_base; /* T020: Naviframe Title Text */ -@font_size_bar_title_multiline_text: 30 * @unit_base; /* T0201: title multiline text */ -@font_size_bar_title_sub_text: 21 * @unit_base; /* T0202: title sub text */ -@font_size_bar_title_landscape_multiline_text: 30 * @unit_base; /* T0203: title multiline text */ -@font_size_bar_title_landscape_sub_text: 21 * @unit_base; /* T0204: title subtext */ -@font_size_bar_title_button_text: 21 * @unit_base; /* T0205: title_button text*/ - -/*************************************************************************** - Toolbar -***************************************************************************/ -@font_size_bar_toolbar_button_text: 19 * @unit_base; /* T022: Toolbar_button_text_normal */ - -/*************************************************************************** - Tabbar -***************************************************************************/ -@font_size_tabbar_text: 21 * @unit_base; /* T111: Tabbar text normal */ -@font_size_tabbar_text_only: 27 * @unit_base; /* T1117: Tabbar text only */ - -/*************************************************************************** - List -***************************************************************************/ -@font_size_list_main_text: 30 * @unit_base; /* T023: list main text */ -@font_size_list_sub_text: 24 * @unit_base; /* T024: list sub text */ -@font_size_list_divider_text: 27 * @unit_base; /* T027: list divider text */ -@font_size_list_check_divider_text: 30 * @unit_base; /* T023: list main text */ -@font_size_list_swipe_text: 22 * @unit_base; /* T023: Swipe text */ -@font_size_list_editfield_text: 30 * @unit_base; /* T1011: list editfield text done */ -@font_size_list_bubble_sent_text: 19 * @unit_base; /* T0218: message bubble sent text */ -@font_size_list_bubble_receive_text: 19 * @unit_base; /* T0217: message bubble receive text */ -@font_size_list_bubble_date_text: 15 * @unit_base; /* T0219: message bubble date text */ -@font_size_list_bubble_time_sent_text: 14 * @unit_base; /* T0220: message bubble time text */ -@font_size_list_bubble_time_receive_text: 14 * @unit_base; /* T0220: message bubble time text */ -@font_size_list_bubble_help_text: 16 * @unit_base; /* T0221: message bubble help text */ - -/*************************************************************************** - Fast Scroll -***************************************************************************/ -@font_size_fastscroll_rollover_text: 13 * @unit_base; /* T113: rollover text */ -@font_size_fastscroll_popup_text: 64 * @unit_base; /* T114: Scroll popup text */ - -/*************************************************************************** - SearchBar(forms.textinput) -***************************************************************************/ -@font_size_searchbar_text: 30 * @unit_base; /* T1061: Search field normal */ -@font_size_searchbar_typing_text: 30 * @unit_base; /* T1063: Search field typing text */ - -/*************************************************************************** - Button(connected with other winset) -***************************************************************************/ -@font_size_button_EditText: 18 * @unit_base; /* T107: Search field button text */ -@font_size_button_text: 30 * @unit_base; /* T051: Button text */ - -/*************************************************************************** - contextual popup -***************************************************************************/ -@font_size_ctxpopup_text: 25 * @unit_base; /* T122: Popup list text */ - - -/*************************************************************************** - Date Time picker -***************************************************************************/ -@font_size_datetime_main_text: 17 * @unit_base; -@font_size_datetime_sub_text: 16 * @unit_base; - -/*************************************************************************** - Popup -***************************************************************************/ -@font_size_popup_title_text: 30 * @unit_base; /* T121: Popup title text */ -@font_size_popup_title_sub_text: 21 * @unit_base; -@font_size_popup_info_style: 30 * @unit_base; -@font_size_popup_button_text: 18 * @unit_base; /* T124: Popup button text */ -@font_size_popup_text: 30 * @unit_base; /* T123: Popup text */ -@font_size_popup_list_style_text: 22 * @unit_base; -@font_size_popup_center_progressbar_title: 26 * @unit_base; -@font_size_popup_text_progress_title: 42 * @unit_base; - -/*************************************************************************** - Tickernoti -***************************************************************************/ -@font_size_ticker_text1: 23 * @unit_base; /* T094: Ticker noti text */ -@font_size_ticker_text2: 30 * @unit_base; /* T0941: Ticker noti text2 */ - -/*************************************************************************** - Smallpopup -***************************************************************************/ -@font_size_smallpopup_text: 30 * @unit_base; /* T1221: Ticker noti text */ - -/*************************************************************************** - Slider -***************************************************************************/ -@font_size_slider_handle_text: 18 * @unit_base; /* T057: Slider text */ -@font_size_slider_popup_text: 33 * @unit_base; /* T115: Slider popup text */ -@font_size_slider_num_text: 24 * @unit_base; /* T0215: Slider number text */ -@font_size_slider_text: 14 * @unit_base; /* T0216: Slider text */ -@font_size_slider_toggle_text: 16 * @px_base; - -/*************************************************************************** - tokentextarea -***************************************************************************/ -@font_size_tokentextarea_block_text: 30 * @unit_base; /* T058: Tokentextarea block text normal */ -@font_size_tokentextarea_input_text: 30 * @unit_base; /* T058: Tokentextarea input text */ -@font_size_tokentextarea_label_text: 30 * @unit_base; /* T058: Tokentextarea label text */ - -/*************************************************************************** - Empty State -***************************************************************************/ -@font_size_emptystate_header_text: 30 * @unit_base; /* T0221: Empty state header text */ -@font_size_emptystate_message_text: 24 * @unit_base; /* T0222: Empty state message text */ - -/*************************************************************************** - SelectMenu -***************************************************************************/ -@font_size_selectmenu_list : 30 * @unit_base; -@font_size_selectmenu_label_normal : 27 * @unit_base; -@font_size_selectmenu_label_press : 27 * @unit_base; -@font_size_selectmenu_label_dim : 27 * @unit_base; diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.js b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.js deleted file mode 100644 index d9597dc5..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.js +++ /dev/null @@ -1,140 +0,0 @@ -/*global define, ns */ -(function (ns) { - "use strict"; - //>>excludeStart("tauBuildExclude", pragmas.tauBuildExclude); - define( - [ - "core/theme/ThemeCommon" - ], - function () { - //>>excludeEnd("tauBuildExclude"); - var THEME = 's', - ThemeCommon = ns.theme.ThemeCommon, - theme = new ThemeCommon(), - - customizePage = function () { - var Page = ns.widget.mobile.Page; - if (Page) { - // Clear default theme for child elements - (function (o) { - o.backBtnTheme= THEME; - o.headerTheme = THEME; - o.footerTheme = THEME; - o.theme = THEME; - }(Page.prototype.options)); - } - }, - - customizeListview = function () { - var Listview = ns.widget.mobile.Listview; - if (Listview) { - // clear listview - (function (o) { - o.theme = THEME; - o.countTheme = THEME; - o.headerTheme = THEME; - o.dividerTheme = THEME; - o.splitTheme = THEME; - }(Listview.prototype.options)); - } - }, - - customizeButton = function () { - var Button = ns.widget.mobile.Button; - if (Button) { - //clear button theme - Button.prototype.options.theme = THEME; - } - }, - - customizeFrameworkData = function () { - if (ns.frameworkData) { - // Original scale of the theme - ns.frameworkData.defaultViewportWidth = 360; // Fit to device-width - ns.frameworkData.defaultFontSize = 22; - } - }; - - /* - customizeCollapsible = function () { - if (ns.widget.Collapsible) { - // Collapsible - (function (o) { - o.heading = o.heading + ',li'; // Add listitem as a heading - o.inset = false; - o.iconPos = "right"; // Move iconPos to right position - o.collapsedIcon = "arrow-u"; - o.expandedIcon = "arrow-d"; - o.animation = true; - o.customEventHandler = function (isCollapse) { - var self = this, - c = $(self).children('.ui-collapsible-content')[0], - h; - - function _getHeight(el) { - var hh = 0, - heading = $(el).children('.ui-collapsible-heading')[0], - content = $(el).children('.ui-collapsible-content')[0]; - - hh += heading.clientHeight; - $(content).children().each(function (idx, _el) { - if ($(_el).hasClass('ui-collapsible')) { // recursive call for nested collapsible list - hh += _getHeight(_el); - } else { - hh += _el.clientHeight; - } - }); - return hh; - } - - if (isCollapse) { // collapse! - // remember current height - $(c).data('max-height', _getHeight(self)); - $(self).parentsUntil('.ui-page', '.ui-collapsible').each(function (idx, el) { - var content = $(el).children('.ui-collapsible-content')[0]; - $(content).data('max-height', _getHeight(el)); - }); - } else { // expand! - h = $(c).data('max-height'); - if (!h) { - h = document.body.clientHeight; - $(c).data('max-height', h); - } - $(c).css('max-height', h); - $(self).parentsUntil('.ui-page', '.ui-collapsible').each(function (idx, el) { - var content = $(el).children('.ui-collapsible-content')[0]; - $(content).css('max-height', _getHeight(el)); - }); - } - }; - }(ns.widget.Collapsible.prototype.options)); - }; - }; - */ - - theme.enable = function () { - var self = this; - self._enable(); - - customizePage(); - customizeListview(); - customizeButton(); - customizeFrameworkData(); - - return self; - }; - - theme.disable = function () { - var self = this; - self._disable(); - return self; - }; - - // activate theme; - theme.enable(); - return theme; - //>>excludeStart("tauBuildExclude", pragmas.tauBuildExclude); - } - ); - //>>excludeEnd("tauBuildExclude"); -}(ns)); diff --git a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.less b/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.less deleted file mode 100644 index 13433e32..00000000 --- a/tools/ThemeEditor/src/res/less/mobile/changeable/theme-changeable/theme.less +++ /dev/null @@ -1,21 +0,0 @@ -/******************************** - * Tizen Changeable Less Header * - *******************************/ -@import "theme.color.less"; - -/**************************** - * Tizen nine-patch images * - ****************************/ -@import "9-patch.less"; - -/**************************** - * Tizen Common Less Header * - ****************************/ -@import "theme.font.less"; -@import "../mobile.less"; - -.tau-info-theme:after { - content: "default"; -} - -@import "../../../../mobile.default.colormap.less";
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/prefixer.ext.less b/tools/ThemeEditor/src/res/less/prefixer.ext.less deleted file mode 100644 index 3f411375..00000000 --- a/tools/ThemeEditor/src/res/less/prefixer.ext.less +++ /dev/null @@ -1,272 +0,0 @@ -// TAU extensions for prefixer -.mask-image(@url1, @url2) { - -webkit-mask-image: url(@url1), url(@url2); - -moz-mask-image: url(@url1), url(@url2); - -ms-mask-image: url(@url1), url(@url2); - -o-mask-image: url(@url1), url(@url2); - mask-image: url(@url1), url(@url2); -} - -.mask-image(@url) { - -webkit-mask-image: url(@url); - -moz-mask-image: url(@url); - -ms-mask-image: url(@url); - -o-mask-image: url(@url); - mask-image: url(@url); -} - -.mask-box-image(@value) { - -webkit-mask-box-image: url(@value); - -moz-mask-box-image: url(@value); - -ms-mask-box-image: url(@value); - -o-mask-box-image: url(@value); - mask-box-image: url(@value); -} - -.mask-box-image-source(@value) { - -webkit-mask-box-image-source: url(@value); - -moz-mask-box-image-source: url(@value); - -ms-mask-box-image-source: url(@value); - -o-mask-box-image-source: url(@value); - mask-box-image-source: url(@value); -} - -.mask-box-image-repeat(@repeat) { - -webkit-mask-box-image-repeat: @repeat; - -moz-mask-box-image-repeat: @repeat; - -ms-mask-box-image-repeat: @repeat; - -o-mask-box-image-repeat: @repeat; - mask-box-image-repeat: @repeat; -} - -.mask-box-image-width(@width) { - -webkit-mask-box-image-width: @width; - -moz-mask-box-image-width: @width; - -ms-mask-box-image-width: @width; - -o-mask-box-image-width: @width; - mask-box-image-width: @width; -} - -.mask-box-image-slice(@rect) { - -webkit-mask-box-image-slice: @rect; - -moz-mask-box-image-slice: @rect; - -ms-mask-box-image-slice: @rect; - -o-mask-box-image-slice: @rect; - mask-box-image-slice: @rect; -} - -.mask-size(@size) { - -webkit-mask-size: @size; - -moz-mask-size: @size; - -ms-mask-size: @size; - -o-mask-size: @size; - mask-size: @size; -} - -.mask-position(@position) { - -webkit-mask-position: @position; - -moz-mask-position: @position; - -ms-mask-position: @position; - -o-mask-position: @position; - mask-position: @position; -} - -.mask-repeat(@repeat) { - -webkit-mask-repeat: @repeat; - -moz-mask-repeat: @repeat; - -ms-mask-repeat: @repeat; - -o-mask-repeat: @repeat; - mask-repeat: @repeat; -} - -.linear-gradient-right(@default,@color1,@stop1,@color2,@stop2) { - background-color: @default; - background-image: -webkit-gradient(linear, right top, right top, color-stop(@stop1, @color1), color-stop(@stop2 @color2)); - background-image: -webkit-linear-gradient(right, @color1 @stop1, @color2 @stop2); - background-image: -moz-linear-gradient(right, @color1 @stop1, @color2 @stop2); - background-image: -ms-linear-gradient(right, @color1 @stop1, @color2 @stop2); - background-image: -o-linear-gradient(right, @color1 @stop1, @color2 @stop2); - background-image: linear-gradient(right, @color1 @stop1, @color2 @stop2); -} - -.gradient-circural(@position, @startColor, @endColor, @radius) { - background-image: -webkit-gradient(radial, @position, 0, 50% 50%, @radius, from(@startColor), to(@endColor)); - background-image: -moz-radial-gradient(@position, circle, @startColor 0, @endColor ~"@{radius}px"); - background-image: -ms-radial-gradient(@position, circle cover, @startColor, @endColor ~"@{radius}%"); - background-image: -o-radial-gradient(@position, circle cover, @startColor, @endColor ~"@{radius}%"); - background-image: radial-gradient(~"circle at @{position}", @startColor, @endColor ~"@{radius}%"); -} - -.gradient-circural-safe(@safeColor, @position, @startColor, @endColor, @radius) { - background-color: @safeColor; - .gradient-circural(@position, @startColor, @endColor, @radius); -} - -.appearance(@value) { - -webkit-appearance: @value; - -moz-appearance: @value; - -ms-appearance: @value; - -o-appearance: @value; - appearance: @value; -} - -// prefixer's tprop function fails with 2 arguments, and we dont want strings -.transition-property(@property1, @property2) { - -webkit-transition-property: @property1, @property2; - -moz-transition-property: @property1, @property2; - -o-transition-property: @property1, @property2; - -ms-transition-property: @property1, @property2; - transition-property: @property1, @property2; -} - -.user-select(@value) { - -webkit-user-select: @value; - -moz-user-select: @value; - -ms-user-select: @value; - -o-user-select: @value; - user-select: @value; -} - -.text-size-adjust(@value) { - -webkit-text-size-adjust: @value; - -moz-text-size-adjust: @value; - -ms-text-size-adjust: @value; - -o-text-size-adjust: @value; - text-size-adjust: @value; -} - -.border-top-left-radius(@radius) { - -webkit-border-top-left-radius: @radius; - -moz-border-top-left-radius: @radius; - -ms-border-top-left-radius: @radius; - -o-border-top-left-radius: @radius; - border-top-left-radius: @radius; -} - -.border-top-right-radius(@radius) { - -webkit-border-top-right-radius: @radius; - -moz-border-top-right-radius: @radius; - -ms-border-top-right-radius: @radius; - -o-border-top-right-radius: @radius; - border-top-right-radius: @radius; -} - -.border-bottom-left-radius(@radius) { - -webkit-border-bottom-left-radius: @radius; - -moz-border-bottom-left-radius: @radius; - -ms-border-bottom-left-radius: @radius; - -o-border-bottom-left-radius: @radius; - border-bottom-left-radius: @radius; -} - -.border-bottom-right-radius(@radius) { - -webkit-border-bottom-right-radius: @radius; - -moz-border-bottom-right-radius: @radius; - -ms-border-bottom-right-radius: @radius; - -o-border-bottom-right-radius: @radius; - border-bottom-right-radius: @radius; -} - -.touch-scrolling() { - -webkit-overflow-scrolling: touch; - -moz-overflow-scrolling: touch; - -o-overflow-scrolling: touch; - -ms-overflow-scrolling: touch; - overflow-scrolling: touch; -} - -.calc-width(@value) { - width: -webkit-calc(@value); - width: -moz-calc(@value); - width: -ms-calc(@value); - width: -o-calc(@value); - width: calc(@value); -} - -.calc-margin-left(@value) { - margin-left: -webkit-calc(@value); - margin-left: -moz-calc(@value); - margin-left: -ms-calc(@value); - margin-left: -o-calc(@value); - margin-left: calc(@value); -} - -.display-flex() { - display: -webkit-flex; - display: -moz-flex; - display: -ms-flex; - display: -o-flex; - display: flex; -} - -.flex-direction(@dir) { - -webkit-flex-direction : @dir; - -moz-flex-direction : @dir; - -ms-flex-direction : @dir; - -o-flex-direction : @dir; - flex-direction : @dir; -} - -.flex-wrap(@wrap) { - -webkit-flex-wrap : @wrap; - -moz-flex-wrap : @wrap; - -ms-flex-wrap : @wrap; - -o-flex-wrap : @wrap; - flex-wrap : @wrap; -} - -.justify-content(@value) { - -webkit-justify-content : @value; - -moz-justify-content : @value; - -ms-justify-content : @value; - -o-justify-content : @value; - justify-content : @value; -} - -.align-content(@value) { - -webkit-align-content : @value; - -moz-align-content : @value; - -ms-align-content : @value; - -o-align-content : @value; - align-content : @value; -} - -.align-items(@value) { - -webkit-align-items : @value; - -moz-align-items : @value; - -ms-align-items : @value; - -o-align-items : @value; - align-items : @value; -} - -.align-self(@value) { - -webkit-align-left: @value; - -moz-align-left: @value; - -ms-align-left: @value; - -o-align-left: @value; - align-left: @value; -} - -.flex(@value) { - -webkit-flex: @value; - -moz-flex: @value; - -ms-flex: @value; - -o-flex: @value; - flex: @value; -} - -.perspective(@value) { - -webkit-perspective: @value; - -moz-perspective: @value; - -ms-perspective: @value; - -o-perspective: @value; - perspective: @value; -} - -.backface-visiblity(@value) { - -webkit-backface-visibility: @value; - -moz-backface-visibility: @value; - -ms-backface-visibility: @value; - -o-backface-visibility: @value; - backface-visiblity: @value; -} diff --git a/tools/ThemeEditor/src/res/less/prefixer.less b/tools/ThemeEditor/src/res/less/prefixer.less deleted file mode 100644 index 6a3963ca..00000000 --- a/tools/ThemeEditor/src/res/less/prefixer.less +++ /dev/null @@ -1,370 +0,0 @@ -//--------------------------------------------------- -// LESS Prefixer -//--------------------------------------------------- -// -// All of the CSS3 fun, none of the prefixes! -// -// As a rule, you can use the CSS properties you -// would expect just by adding a '.': -// -// box-shadow => .box-shadow(@args) -// -// Also, when shorthand is available, arguments are -// not parameterized. Learn CSS, not LESS Prefixer. -// -// ------------------------------------------------- -// TABLE OF CONTENTS -// (*) denotes a syntax-sugar helper -// ------------------------------------------------- -// -// .animation(@args) -// .animation-delay(@delay) -// .animation-direction(@direction) -// .animation-duration(@duration) -// .animation-fill-mode(@mode) -// .animation-iteration-count(@count) -// .animation-name(@name) -// .animation-play-state(@state) -// .animation-timing-function(@function) -// .background-size(@args) -// .border-radius(@args) -// .box-shadow(@args) -// .inner-shadow(@args) * -// .box-sizing(@args) -// .border-box() * -// .content-box() * -// .columns(@args) -// .column-count(@count) -// .column-gap(@gap) -// .column-rule(@args) -// .column-width(@width) -// .gradient(@default,@start,@stop) * -// .linear-gradient-top(@default,@color1,@stop1,@color2,@stop2,[@color3,@stop3,@color4,@stop4])* -// .linear-gradient-left(@default,@color1,@stop1,@color2,@stop2,[@color3,@stop3,@color4,@stop4])* -// .opacity(@factor) -// .transform(@args) -// .transform-origin(@args) -// .transform-style(@style) -// .rotate(@deg) -// .scale(@factor) -// .translate(@x,@y) -// .translate3d(@x,@y,@z) -// .translateHardware(@x,@y) * -// .text-shadow(@args) -// .transition(@args) -// .transition-delay(@delay) -// .transition-duration(@duration) -// .transition-property(@property) -// .transition-timing-function(@function) -// -// -// -// Credit to LESS Elements for the motivation and -// to CSS3Please.com for implementation. -// -// Copyright (c) 2012 Joel Sutherland -// MIT Licensed: -// http://www.opensource.org/licenses/mit-license.php -// -//--------------------------------------------------- - - -// Animation - -.animation(@args) { - -webkit-animation: @args; - -moz-animation: @args; - -ms-animation: @args; - -o-animation: @args; - animation: @args; -} -.animation-delay(@delay) { - -webkit-animation-delay: @delay; - -moz-animation-delay: @delay; - -ms-animation-delay: @delay; - -o-animation-delay: @delay; - animation-delay: @delay; -} -.animation-direction(@direction) { - -webkit-animation-direction: @direction; - -moz-animation-direction: @direction; - -ms-animation-direction: @direction; - -o-animation-direction: @direction; -} -.animation-duration(@duration) { - -webkit-animation-duration: @duration; - -moz-animation-duration: @duration; - -ms-animation-duration: @duration; - -o-animation-duration: @duration; -} -.animation-fill-mode(@mode) { - -webkit-animation-fill-mode: @mode; - -moz-animation-fill-mode: @mode; - -ms-animation-fill-mode: @mode; - -o-animation-fill-mode: @mode; - animation-fill-mode: @mode; -} -.animation-iteration-count(@count) { - -webkit-animation-iteration-count: @count; - -moz-animation-iteration-count: @count; - -ms-animation-iteration-count: @count; - -o-animation-iteration-count: @count; - animation-iteration-count: @count; -} -.animation-name(@name) { - -webkit-animation-name: @name; - -moz-animation-name: @name; - -ms-animation-name: @name; - -o-animation-name: @name; - animation-name: @name; -} -.animation-play-state(@state) { - -webkit-animation-play-state: @state; - -moz-animation-play-state: @state; - -ms-animation-play-state: @state; - -o-animation-play-state: @state; - animation-play-state: @state; -} -.animation-timing-function(@function) { - -webkit-animation-timing-function: @function; - -moz-animation-timing-function: @function; - -ms-animation-timing-function: @function; - -o-animation-timing-function: @function; - animation-timing-function: @function; -} - - -// Background Size - -.background-size(@args) { - -webkit-background-size: @args; - background-size: @args; -} - - -// Border Radius - -.border-radius(@args) { - -webkit-border-radius: @args; - border-radius: @args; - - background-clip: padding-box; -} - - -// Box Shadows - -.box-shadow(@args) { - -webkit-box-shadow: @args; - box-shadow: @args; -} -.inner-shadow(@args) { - .box-shadow(inset @args); -} - - -// Box Sizing - -.box-sizing(@args) { - -webkit-box-sizing: @args; - -moz-box-sizing: @args; - box-sizing: @args; -} -.border-box(){ - .box-sizing(border-box); -} -.content-box(){ - .box-sizing(content-box); -} - - -// Columns - -.columns(@args) { - -webkit-columns: @args; - -moz-columns: @args; - columns: @args; -} -.column-count(@count) { - -webkit-column-count: @count; - -moz-column-count: @count; - column-count: @count; -} -.column-gap(@gap) { - -webkit-column-gap: @gap; - -moz-column-gap: @gap; - column-gap: @gap; -} -.column-width(@width) { - -webkit-column-width: @width; - -moz-column-width: @width; - column-width: @width; -} -.column-rule(@args) { - -webkit-column-rule: @args; - -moz-column-rule: @args; - column-rule: @args; -} - - -// Gradients - -.gradient(@default: #F5F5F5, @start: #EEE, @stop: #FFF) { - .linear-gradient-top(@default,@start,0%,@stop,100%); -} -.linear-gradient-top(@default,@color1,@stop1,@color2,@stop2) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(@stop1, @color1), color-stop(@stop2 @color2)); - background-image: -webkit-linear-gradient(top, @color1 @stop1, @color2 @stop2); - background-image: -moz-linear-gradient(top, @color1 @stop1, @color2 @stop2); - background-image: -ms-linear-gradient(top, @color1 @stop1, @color2 @stop2); - background-image: -o-linear-gradient(top, @color1 @stop1, @color2 @stop2); - background-image: linear-gradient(top, @color1 @stop1, @color2 @stop2); -} -.linear-gradient-top(@default,@color1,@stop1,@color2,@stop2,@color3,@stop3) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(@stop1, @color1), color-stop(@stop2 @color2), color-stop(@stop3 @color3)); - background-image: -webkit-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -moz-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -ms-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -o-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3); -} -.linear-gradient-top(@default,@color1,@stop1,@color2,@stop2,@color3,@stop3,@color4,@stop4) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(@stop1, @color1), color-stop(@stop2 @color2), color-stop(@stop3 @color3), color-stop(@stop4 @color4)); - background-image: -webkit-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -moz-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -ms-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -o-linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: linear-gradient(top, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); -} -.linear-gradient-left(@default,@color1,@stop1,@color2,@stop2) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left top, color-stop(@stop1, @color1), color-stop(@stop2 @color2)); - background-image: -webkit-linear-gradient(left, @color1 @stop1, @color2 @stop2); - background-image: -moz-linear-gradient(left, @color1 @stop1, @color2 @stop2); - background-image: -ms-linear-gradient(left, @color1 @stop1, @color2 @stop2); - background-image: -o-linear-gradient(left, @color1 @stop1, @color2 @stop2); - background-image: linear-gradient(left, @color1 @stop1, @color2 @stop2); -} -.linear-gradient-left(@default,@color1,@stop1,@color2,@stop2,@color3,@stop3) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left top, color-stop(@stop1, @color1), color-stop(@stop2 @color2), color-stop(@stop3 @color3)); - background-image: -webkit-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -moz-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -ms-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: -o-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3); - background-image: linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3); -} -.linear-gradient-left(@default,@color1,@stop1,@color2,@stop2,@color3,@stop3,@color4,@stop4) { - background-color: @default; - background-image: -webkit-gradient(linear, left top, left top, color-stop(@stop1, @color1), color-stop(@stop2 @color2), color-stop(@stop3 @color3), color-stop(@stop4 @color4)); - background-image: -webkit-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -moz-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -ms-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: -o-linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); - background-image: linear-gradient(left, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4); -} - - -// Opacity - -.opacity(@factor) { - @iefactor: @factor*100; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=@{iefactor})"; - filter: ~"alpha(opacity=(@{iefactor}))"; - opacity: @factor; -} - - -// Text Shadow - -.text-shadow(@args) { - text-shadow: @args; -} - - -// Transforms - -.transform(@args) { - -webkit-transform: @args; - -moz-transform: @args; - -ms-transform: @args; - -o-transform: @args; - transform: @args; -} -.transform-origin(@args) { - -webkit-transform-origin: @args; - -moz-transform-origin: @args; - -ms-transform-origin: @args; - -o-transform-origin: @args; - transform-origin: @args; -} -.transform-style(@style) { - -webkit-transform-style: @style; - -moz-transform-style: @style; - -ms-transform-style: @style; - -o-transform-style: @style; - transform-style: @style; -} -.rotate(@deg:45deg){ - .transform(rotate(@deg)); -} -.scale(@factor:.5){ - .transform(scale(@factor)); -} -.translate(@x,@y){ - .transform(translate(@x,@y)); -} -.translate3d(@x,@y,@z) { - .transform(translate3d(@x,@y,@z)); -} -.translateHardware(@x,@y) { - .translate(@x,@y); - -webkit-transform: translate3d(@x,@y,0); - -moz-transform: translate3d(@x,@y,0); - -o-transform: translate3d(@x,@y,0); - -ms-transform: translate3d(@x,@y,0); - transform: translate3d(@x,@y,0); -} - - -// Transitions - -.transition(@args:200ms) { - -webkit-transition: @args; - -moz-transition: @args; - -o-transition: @args; - -ms-transition: @args; - transition: @args; -} -.transition-delay(@delay:0) { - -webkit-transition-delay: @delay; - -moz-transition-delay: @delay; - -o-transition-delay: @delay; - -ms-transition-delay: @delay; - transition-delay: @delay; -} -.transition-duration(@duration:200ms) { - -webkit-transition-duration: @duration; - -moz-transition-duration: @duration; - -o-transition-duration: @duration; - -ms-transition-duration: @duration; - transition-duration: @duration; -} -.transition-property(@property:all) { - -webkit-transition-property: @property; - -moz-transition-property: @property; - -o-transition-property: @property; - -ms-transition-property: @property; - transition-property: @property; -} -.transition-timing-function(@function:ease) { - -webkit-transition-timing-function: @function; - -moz-transition-timing-function: @function; - -o-transition-timing-function: @function; - -ms-transition-timing-function: @function; - transition-timing-function: @function; -} - diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/button.less b/tools/ThemeEditor/src/res/less/tv/default/common/button.less deleted file mode 100644 index 65791fc7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/button.less +++ /dev/null @@ -1,578 +0,0 @@ -.ui-btn { - position: relative; - display: block; - padding: 30 * @virtual_px 20 * @virtual_px 25 * @virtual_px 20 * @virtual_px; - font-size: 28 * @virtual_px; - font-weight: bolder; - line-height: @fixed_button_line_height; - text-align: center; - white-space: nowrap; - cursor: pointer; - vertical-align: middle; - text-overflow: ellipsis; - overflow: hidden; - border: 0 none; - min-height: @fixed_button_minimum_height; - min-width: @fixed_button_minimum_width; - border-radius: 4 * @virtual_px; - background-color: @color_button_basic_normal; - .ui-default; - - &.ui-multiline { - padding-top: @fixed_button_multiline_padding_top; - padding-bottom: @fixed_button_multiline_padding_bottom; - } - - &.ui-btn-inline { - display: inline-block; - } - - &.ui-btn-icon { - background-position: center center; - height: @fixed_button_icon_height; - text-indent: -1000em; - overflow: hidden; - background-repeat: no-repeat; - background-size: @fixed_button_icon_bg_size @fixed_button_icon_bg_size; - } - - .ui-btn-inner { - display: block; - position: relative; - zoom: 1; - line-height: 26 * @virtual_px; - margin: 0; - min-width: @fixed_button_inner_minimum_width; - - .ui-btn-text { - display: block; - span { - display: block; - font-size: 22 * @virtual_px; - bottom: 0; - margin-top: 5 * @virtual_px; - } - } - - .LESStext-ellipsis(); - } - /*hiding native button,inputs */ - .ui-btn-hidden { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - .appearance(button); - opacity: .1; - cursor: pointer; - background: transparent; - font-size: 1 * @virtual_px; - border: none; - line-height: 999 * @virtual_px; - } - - - a&.ui-state-disabled, &:disabled { - background-color: rgba(red(@color_button_basic_normal), green(@color_button_basic_normal), blue(@color_button_basic_normal), 0.4); - } -} - -.ui-listview { - .ui-btn { - background-color: inherit; - } -} - -.ui-btn[data-icon], .ui-drawer-close, li a.ui-btn{ - font-weight: inherit; - background-color: inherit; - color: @color_button_with_icon; - overflow: hidden; -} - -.ui-default { - color: @color_button_basic_txt_normal; - - a&.ui-state-disabled, &:disabled { - color: @color_button_default_text_disable; - cursor: default; - } -} - -.ui-color-red { - color: @color_button_red_text; - background-color: @color_button_red_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_red_press_bg; - } - - &:enabled:focus { - background-color: @color_button_red_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_red_text_disable; - background-color: @color_button_red_disable_bg; - cursor: default; - } -} - -.ui-color-orange { - color: @color_button_orange_text; - background-color: @color_button_orange_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_orange_press_bg; - } - - &:enabled:focus { - background-color: @color_button_orange_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_orange_text_disable; - background-color: @color_button_orange_disable_bg; - cursor: default; - } -} - -.ui-color-green { - color: @color_button_green_text; - background-color: @color_button_green_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_green_press_bg; - } - - &:enabled:focus { - background-color: @color_button_green_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_green_text_disable; - background-color: @color_button_green_disable_bg; - cursor: default; - } -} - -.ui-btn, .ui-btn:active { - .ui-background { - outline: none; - background-color: @color_default; - color: @color_button_basic_txt_focus; - } -} - -a.ui-btn { - text-decoration: none; - box-sizing: border-box; -} - -button.ui-btn, input.ui-btn { - box-sizing: border-box; - .appearance(none); - width: 100%; - - &.ui-inline { - display: inline-block; - width: auto; - } -} - -.ui-grid-col-btn (@counter) when (@counter > 0) { - .ui-grid-col-btn((@counter - 1)); - - .ui-grid-col-@{counter} > .ui-btn { - border-left: solid 1 * @virtual_px @color_bg; - &:first-child { - border-left: 0 * @virtual_px none; - } - } -} - -.ui-grid-col-btn(3); - -.ui-grid-row > .ui-btn { - margin-top: 1 * @virtual_px; - - &:first-child { - margin-top: 0 * @virtual_px; - } -} - -.ui-btn-icon-notext { - width: 36 * @virtual_px; - height: 36 * @virtual_px; -} - -.ui-btn-icon-notext .ui-btn-inner { - padding: 2 * @virtual_px 1 * @virtual_px 2 * @virtual_px 3 * @virtual_px; -} - -.ui-btn-icon-notext .ui-btn-inner .ui-icon { - margin-left: -16 * @virtual_px; - margin-top: -16 * @virtual_px; -} - -.ui-btn-icon-notext .ui-btn-text { - position: absolute; - left: -999 * @virtual_px; -} - -.ui-header .ui-btn-icon-left .ui-btn-inner, -.ui-footer .ui-btn-icon-left .ui-btn-inner, -.ui-bar .ui-btn-icon-left .ui-btn-inner { - padding-left: 27 * @virtual_px; -} - -.ui-header .ui-btn-icon-right .ui-btn-inner, -.ui-footer .ui-btn-icon-right .ui-btn-inner, -.ui-bar .ui-btn-icon-right .ui-btn-inner { - padding-right: 27 * @virtual_px; -} - -.ui-btn-icon-top .ui-btn-inner { - padding-top: 27 * @virtual_px; -} - -.ui-header .ui-btn-icon-top .ui-btn-inner, -.ui-footer .ui-btn-icon-top .ui-btn-inner, -.ui-bar .ui-btn-icon-top .ui-btn-inner { - padding-top: 27 * @virtual_px; -} - -.ui-btn-icon-bottom .ui-btn-inner { - padding-bottom: 33 * @virtual_px; -} - -.ui-header .ui-btn-icon-bottom .ui-btn-inner, -.ui-footer .ui-btn-icon-bottom .ui-btn-inner, -.ui-bar .ui-btn-icon-bottom .ui-btn-inner { - padding-bottom: 27 * @virtual_px; -} - -/*btn icon positioning*/ -.ui-btn-icon-notext .ui-icon { - display: block; -} - -.ui-btn-icon-left .ui-icon, .ui-btn-icon-right .ui-icon, .ui-btn-icon-circle .ui-icon { - position: absolute; -} - -.ui-btn-icon-top .ui-icon, .ui-btn-icon-bottom .ui-icon { - position: absolute; - left: 50%; - margin-left: -40 * @virtual_px; -} - -.ui-btn-icon-left .ui-icon { - left: 7 * @virtual_px; -} - -.ui-btn-icon-circle .ui-icon { - left: 0 * @virtual_px; -} - -/* wongi_1018: for circle icon center positioning. */ -.ui-btn-icon-right .ui-icon { - right: 4 * @virtual_px; - top: 0; -} - -.ui-btn-icon-top .ui-icon { - top: 0 * @virtual_px; - margin-top: 0; -} - -.ui-btn-icon-bottom .ui-icon { - bottom: 0 * @virtual_px; -} - -.ui-header .ui-btn-icon-right .ui-icon, -.ui-footer .ui-btn-icon-right .ui-icon, -.ui-bar .ui-btn-icon-right .ui-icon { - right: 4 * @virtual_px; -} - -.ui-header .ui-btn-icon-top .ui-icon, -.ui-footer .ui-btn-icon-top .ui-icon, -.ui-bar .ui-btn-icon-top .ui-icon { - top: 4 * @virtual_px; -} - -.ui-header .ui-btn-icon-bottom .ui-icon, -.ui-footer .ui-btn-icon-bottom .ui-icon, -.ui-bar .ui-btn-icon-bottom .ui-icon { - bottom: 4 * @virtual_px; -} - -.ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt, .ui-li .ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt { - padding-top: 88 * @virtual_px; -} - -.ui-btn-icon-bottom .ui-btn-inner.ui-btn-hastxt, .ui-li .ui-btn-icon-bottom .ui-btn-inner.ui-btn-hastxt { - padding-bottom: 88 * @virtual_px; -} - -/* icons sizing */ -.ui-btn .ui-icon { - width: 80 * @virtual_px; - height: 80 * @virtual_px; -} - -/* Padding for Icon with text */ -.ui-btn .ui-btn-text.ui-btn-text-padding-left { - padding-left: 26 * @virtual_px; -} - -.ui-btn .ui-btn-text.ui-btn-text-padding-right { - padding-right: 26 * @virtual_px; -} - -.ui-btn .ui-btn-text.ui-btn-text-padding-top { - padding-top: 26 * @virtual_px; - padding-bottom: 6 * @virtual_px; - text-align: center; -} - -.ui-icon { - background-repeat: no-repeat; - vertical-align: middle; - background-position: 0% 0%; - background-size: 100% !important; -} - -.ui-icon { - .mask-image('images/icons/bg_ico_76_shadow.png', 'images/icons/app_ico_bg.png'); - .mask-size(80 * @virtual_px 80 * @virtual_px); - z-index: 0; -} - -/**************************************** -ICON LIVE -****************************************/ -.ui-icon-live, -.ui-listview li a.ui-btn .ui-btn-inner .ui-icon.ui-icon-live { - background: rgb(69, 143, 255) url(images/icons/ico_live_foc.png); -} - -.ui-listview li a.ui-btn.ui-btn-icon-live, -.ui-btn-icon-live { - - .ui-background { - background-color: rgb(69, 143, 255); - } - - &.ui-focus { - .ui-btn-inner .ui-icon.ui-icon-live, - .ui-icon { - background-color: white; - } - } -} - -/**************************************** -ICON SHOW -****************************************/ -.ui-icon-tv-show, -.ui-listview li a.ui-btn .ui-btn-inner .ui-icon.ui-icon-tv-show { - background: rgb(255, 168, 0) url(images/icons/ico_tv_show_foc.png); -} - -.ui-listview li a.ui-btn.ui-btn-icon-tv-show, -.ui-btn-icon-tv-show { - .ui-background { - background-color: rgb(255, 168, 0); - } - - &.ui-focus { - .ui-btn-inner .ui-icon.ui-icon-tv-show, - .ui-icon { - background-color: white; - } - } -} - -/**************************************** -ICON MOVE -****************************************/ -.ui-icon-movie, -.ui-listview li a.ui-btn .ui-btn-inner .ui-icon.ui-icon-movie { - background: rgb(255, 99, 86) url(images/icons/ico_moive_foc.png); -} - -.ui-listview li a.ui-btn.ui-btn-icon-movie, -.ui-btn-icon-movie { - - .ui-background { - background-color: rgb(255, 99, 86); - } - - &.ui-focus { - .ui-btn-inner .ui-icon.ui-icon-movie, - .ui-icon { - background-color: white; - } - } -} - -/**************************************** -ICON SOURCE -****************************************/ -.ui-icon-source, -.ui-listview li a.ui-btn .ui-btn-inner .ui-icon.ui-icon-source { - background: rgb(155, 122, 255) url(images/icons/ico_source_foc.png); -} - -.ui-listview li a.ui-btn.ui-btn-icon-source, -.ui-btn-icon-source { - .ui-background { - background-color: @color_button_icon_source; - } - - &.ui-focus { - .ui-btn-inner .ui-icon.ui-icon-source, - .ui-icon { - background-color: white; - } - } -} - -/**************************************** -ICON APP -****************************************/ -.ui-icon-app, -.ui-listview li a.ui-btn .ui-btn-inner .ui-icon.ui-icon-app { - background: rgb(71, 210, 188) url(images/icons/ico_app_foc.png); -} - -.ui-listview li a.ui-btn.ui-btn-icon-app, -.ui-btn-icon-app { - .ui-background { - background-color: @color_button_icon_app; - } - - &.ui-focus { - .ui-btn-inner .ui-icon.ui-icon-app, - .ui-icon { - background-color: white; - } - } -} - -.ui-btn-icon-right { - progress { - margin-right: 100 * @virtual_px; - width: auto; - } -} - - -/**************************************** -ANIMATION -****************************************/ - -.ui-btn { - .ui-background { - position: absolute; - .transition(200ms ease); - } - - /* FOCUS */ - &.ui-focus { - /* animation from down to up */ - &-up { - .ui-background { - top: 100%; - height: 0; - width: 100%; - left: 0; - .transition-property(top, height); - } - } - /* animation from up to down */ - &-down { - .ui-background { - height:0; - width: 100%; - left: 0; - top: 0; - .transition-property(top, height); - } - } - /* animation from rigth to left */ - &-left{ - .ui-background { - width: 0; - height: 100%; - left: 100%; - top: 0; - .transition-property(top, height); - } - } - /* animation from left to right */ - &-right { - .ui-background { - width:0; - height: 100%; - left: 0; - top: 0; - .transition-property(top, height); - } - } - } - - &.ui-focus { - .ui-background { - top: 0; - left: 0; - width: 100%; - height: 100%; - } - } - - /* BLUR */ - /* animation from down to up */ - &.ui-blur-up { - .ui-background { - top: 0; - height:0; - left: 0; - width: 100%; - .transition-property(top, height); - } - } - /* animation from up to down */ - &.ui-blur-down { - .ui-background { - top: 100%; - height: 0; - left: 0; - width: 100%; - .transition-property(top, height); - } - } - /* animation from rigth to left */ - &.ui-blur-left{ - .ui-background { - width: 0; - left: 0; - top: 0; - height: 100%; - .transition-property(top, height); - } - } - /* animation from left to right */ - &.ui-blur-right { - .ui-background { - width:0; - left: 100%; - top: 0; - height: 100%; - .transition-property(top, height); - } - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/checkboxradio.less b/tools/ThemeEditor/src/res/less/tv/default/common/checkboxradio.less deleted file mode 100644 index 21b5ec61..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/checkboxradio.less +++ /dev/null @@ -1,90 +0,0 @@ -.basic-checkboxradio() { - .appearance(none); - height: 38 * @virtual_px; - opacity: 0.0; - width: 38 * @virtual_px; -} - -.basic-label() { - display: inline-block; - height: 38 * @virtual_px; - line-height: 38 * @virtual_px; - margin-left: -38 * @virtual_px; - min-width: 38 * @virtual_px; - padding-bottom: 38 * @virtual_px; - padding-left: 57 * @virtual_px; -} - -input[type=checkbox] { - .basic-checkboxradio(); - & + label { - .basic-label(); - background: url('images/Checkboxradio/checkbox_uncheck_nor.png') no-repeat 0 0; - color: "#FFFFFF"; - } - &:disabled + label { - .basic-label(); - background: url('images/Checkboxradio/checkbox_uncheck_nor.png') no-repeat 0 0; - opacity: 0.2; - } - &:checked + label { - .basic-label(); - background: url('images/Checkboxradio/checkbox_check_nor.png') no-repeat 0 0; - color: "#FFFFFF"; - } - &:checked:disabled + label { - .basic-label(); - background: url('images/Checkboxradio/checkbox_check_nor.png') no-repeat 0 0; - opacity: 0.2; - } -} - -input[type=checkbox]:focus, -input[type=checkbox].focus { - &:checked + label { - background: url('images/Checkboxradio/checkbox_check_foc.png') no-repeat 0 0; - } - & + label { - background: url('images/Checkboxradio/checkbox_uncheck_foc.png') no-repeat 0 0; - } -} - -input[type=radio] { - .basic-checkboxradio(); - & + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_off_nor.png') no-repeat 0 0; - color: "#FFFFFF"; - } - &:disabled + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_off_nor.png') no-repeat 0 0; - opacity: 0.2; - } - &:checked + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_on_nor.png') no-repeat 0 0; - color: "#FFFFFF"; - } - &:checked:disabled + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_on_nor.png') no-repeat 0 0; - opacity: 0.2; - } -} - -input[type=radio].focus { - .basic-checkboxradio(); - &:checked + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_on_foc.png') no-repeat 0 0; - } - & + label { - .basic-label(); - background: url('images/Checkboxradio/radiobtn_off_foc.png') no-repeat 0 0; - } -} - -.checkboxradio-container { - height: 32 * @virtual_px; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/core.less b/tools/ThemeEditor/src/res/less/tv/default/common/core.less deleted file mode 100644 index a84530a9..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/core.less +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Common definition for theme - */ -/*************************************************************** - default font size (base font from WRT) - => small: 13 * @virtual_px - => normal: 17 * @virtual_px - => large: 20 * @virtual_px -***************************************************************/ - -/** Font family */ -@font_family: Tizen, Samsung Sans, Helvetica; - -/*************************************************************************** - Common Colors - **************************************************************************/ - -/** Common color defoult color*/ -@color_default: rgb(69, 143, 255); - -/*************************************************************************** - Common Style -***************************************************************************/ - -.tau-info-theme { - position: absolute; - top: -999px; - left: -999px; -} - - -/** Style for hidden screen */ -.screen-hidden { visibility: hidden; position: absolute; top: -10000em; left: -10000em;} - -/*************************************************************************** - Default Style. -***************************************************************************/ -button, input { - outline: none; - cursor: pointer; -} - -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -a { - text-decoration: none !important; - color: @color_text; -} - -ul, li { - margin: 0; - padding: 0; - list-style-type: none; -} - -img { - margin: 0; - padding: 0; -} - -/****************************** - Global LESS mixin collection - ******************************/ - -/** Mixin setting background size. Browser independent */ -.LESSbackground-size(@width, @height) { - -ms-background-size: @width @height; - -moz-background-size: @width @height; - -o-background-size: @width @height; - -webkit-background-size: @width @height; - background-size: @width @height; -} - -/** Mixin setting border radios. Browser independent */ -.LESSborder-radius-all(@radius) { - -o-border-radius: @radius; - -ms-border-radius: @radius; - -moz-border-radius: @radius; - -webkit-border-radius: @radius; - border-radius: @radius; -} - -/** Mixin setting box shadow. Browser independent */ -.LESSbox-shadow(@hshadow, @vshadow, @blur, @color) { - -o-box-shadow: @hshadow @vshadow @blur @color; - -ms-box-shadow: @hshadow @vshadow @blur @color; - -moz-box-shadow: @hshadow @vshadow @blur @color; - -webkit-box-shadow: @hshadow @vshadow @blur @color; - box-shadow: @hshadow @vshadow @blur @color; -} - -/** Mixin setting text ellipsis. Browser independent */ -.LESStext-ellipsis() { - white-space: nowrap; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/datetimepicker.less b/tools/ThemeEditor/src/res/less/tv/default/common/datetimepicker.less deleted file mode 100644 index d7b0228c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/datetimepicker.less +++ /dev/null @@ -1,274 +0,0 @@ -.ui-datetime-widget { - position: relative; - height: 100%; -} - -.ui-datetime { - text-align: center; - padding-top: 56 * @virtual_px; -} -.ui-time-picker .ui-datetime { - padding-top: 53 * @virtual_px; -} - -.ui-datetime:only-child { - padding-top: 92 * @virtual_px; -} - -.ui-time-picker .ui-datetime:only-child { - padding-top: 89 * @virtual_px; -} - -.ui-datetime input[type='date'], -.ui-datetime input[type='datetime'], -.ui-datetime input[type='time'] { - display: none; -} - -.ui-datefield { - height: 52 * @virtual_px; - display: inline-block; - vertical-align: top; -} - -.ui-datefield > .ui-btn { - float: left; - height: 52 * @virtual_px; - padding: 0; - line-height: 52 * @virtual_px; - font-size: 42 * @virtual_px; - font-weight: 600; - border-radius:2 * @virtual_px; - background-color: rgba(255, 255, 255, 0.15); -} - -.ui-datefield .ui-datefield-separator { - display: block; - height: 100%; - float: left; - width: 18 * @virtual_px; - background: transparent url('./images/Datetimepicker/tw_timepicker_num_dot.png'); -} - -.ui-datefield > .ui-btn:enabled:focus { - background-color: rgba(255, 255, 255, 0.15); -} - -.ui-datefield > .ui-btn:disabled { - color: rgb(64, 64, 64); -} - -.ui-datafield > .ui-btn.ui-selected, -.ui-datefield > .ui-btn:enabled:active, -.ui-datefield > .ui-btn.ui-state-active:enabled, -.ui-datefield > .ui-btn.ui-selected:enabled { - background-color: #ff9000; - color: #000; -} - -/* -- for datepicker -- */ -.ui-date-picker .ui-datefield > .ui-btn:first-child { - margin-right: 2 * @virtual_px; -} - -.ui-date-picker .ui-datefield > .ui-btn:last-child { - margin-left: 2 * @virtual_px; -} - -.ui-date-picker .ui-datefield-year { - width: 114 * @virtual_px; -} - -.ui-date-picker .ui-datefield-month { - width: 102 * @virtual_px; -} - -.ui-date-picker .ui-datefield-day { - width: 68 * @virtual_px; -} -/* -- end (for datepicker) -- */ -/* -- for timepicker -- */ -.ui-time-picker .ui-datefield-hour { - width: 74 * @virtual_px; -} - -.ui-time-picker .ui-datefield-min { - width: 74 * @virtual_px; -} - -.ui-time-picker .ui-datefield-period { - width: 84 * @virtual_px; - margin-left: 10 * @virtual_px; -} -.ui-time-picker .ui-datefield { - height: 58 * @virtual_px; -} -.ui-time-picker .ui-datefield > .ui-btn { - height: 58 * @virtual_px; - line-height: 58 * @virtual_px; - font-size: 50 * @virtual_px; -} - -.ui-time-picker .ui-datefield > .ui-btn.ui-datefield-period { - font-size: 48 * @virtual_px; -} -/* -- (end) for timepicker -- */ - -.ui-datetime-wheel { - height: 68 * @virtual_px; - margin: 0 10 * @virtual_px; - margin-top: 30 * @virtual_px; -} - -.ui-time-picker .ui-datetime-wheel { - margin-top: 27 * @virtual_px; -} - -.ui-datetime-wheel .ui-btn { - width: 68 * @virtual_px; - height: 68 * @virtual_px; - float: left; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus { - float: right; - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:enabled:active, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:enabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:disabled:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus.ui-state-disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus.ui-state-disabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:enabled:active, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:enabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:disabled:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus.ui-state-disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus.ui-state-disabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-wheel { - display:block; - margin-left: 68 * @virtual_px; - margin-right: 68 * @virtual_px; - height: 68 * @virtual_px; - padding: 10 * @virtual_px 0; - background: url('./images/Datetimepicker/tw_timepicker_wheel_01.png') center center no-repeat; -} - -.ui-datetime-btns { - position: absolute; - bottom: 0; - width: 100%; - height: 76 * @virtual_px; - border-top: 2 * @virtual_px solid #262626; -} - -/* Button separator */ -.ui-datetime-btns::before { - content: ""; - height: 34 * @virtual_px; - width: 1 * @virtual_px; - background-color: #262626; - position: absolute; - left: 160 * @virtual_px; - top: 20 * @virtual_px; -} - -.ui-datetime-btns .ui-btn { - height: 100%; - position: relative; - background-color: transparent; -} - -.ui-datetime-btns .ui-btn:enabled:active, -.ui-datetime-btns .ui-btn:enabled:focus, -.ui-datetime-btns .ui-btn:enabled:active:focus { - background-color: transparent; -} - -.ui-datetime-btns .ui-btn-left { - width: 160 * @virtual_px; - float: left; - background: url('./images/Datetimepicker/tw_timepicker_left_softbtn.png') center center no-repeat; -} - -.ui-datetime-btns .ui-btn-right { - width: 159 * @virtual_px; - float: right; - background: url('./images/Datetimepicker/tw_timepicker_right_softbtn.png') center center no-repeat; -} - -.ui-datetime-btns .ui-btn:disabled, -.ui-datetime-btns .ui-btn.ui-state-disabled { - opacity: 0.2; -} - -/* ---------------- */ - -.ui-datetime-periods { - height: 102 * @virtual_px; - margin-top: 7 * @virtual_px; - display: inline-block; -} - -.ui-datetime-periods .ui-btn, -.ui-datetime-periods .ui-datetime-periods-separator { - height: 100%; - float: left; - padding: 0; - background: transparent; -} - -.ui-datetime-periods .ui-btn { - width: 102 * @virtual_px; - font-size: 34 * @virtual_px; - line-height: 102 * @virtual_px; -} - -.ui-datetime-periods .ui-btn:enabled:focus { - background: transparent; -} - -.ui-datetime-periods .ui-btn:enabled:active, -.ui-datetime-periods .ui-btn:enabled:active:focus, -.ui-datetime-periods .ui-btn.ui-selected:enabled:active, -.ui-datetime-periods .ui-btn.ui-state-active:enabled:active { - color: inherit; - text-decoration: none; - background: url('./images/Datetimepicker/tw_timepicker_time_bg.png') center center no-repeat; -} - -.ui-datetime-periods .ui-btn.ui-selected:enabled, -.ui-datetime-periods .ui-btn.ui-state-active:enabled { - color: #ff9000; - text-decoration: underline; -} - -.ui-datetime-periods .ui-datetime-periods-separator { - width: 24 * @virtual_px; - background: url('./images/Datetimepicker/tw_timepicker_num_dot_01.png') center center no-repeat; -} - -.ui-datetime-wheel.ui-hidden, -.ui-datetime-periods.ui-hidden { - display: none; -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/drawer.less b/tools/ThemeEditor/src/res/less/tv/default/common/drawer.less deleted file mode 100644 index a60a5908..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/drawer.less +++ /dev/null @@ -1,339 +0,0 @@ -.ui-drawer { - position: absolute; - margin: 0; - background-color: @color_drawer_bg; - z-index: 1201; - &.ui-drawer-left { - border-right: 1 * @virtual_px solid @color_drawer_border; - /* drawer right border color same to list border bottom color */ - } - &.ui-drawer-right { - border-left: 1 * @virtual_px solid @color_drawer_border; - } - .ui-listview { - margin: 0; - float: left; - height: 100vh; - width: 270 * @virtual_px; - overflow-y: scroll; - - - .ui-li.ui-btn-up-s { - background-color: @color_drawer_bg; - } - .ui-li.ui-btn-down-s { - background-color: @color_drawer_list_press; - } - .ui-drawer-sub-list > .ui-btn-inner .ui-btn-text { - .ui-link-inherit { - padding-left: 26 * @virtual_px; - } - } - li { - text-align: center; - border-bottom: none; - a { - width: auto; - height: auto; - .ui-btn-inner { - color: @color_drawer_btn; - overflow: visible; - - .ui-btn-text { - margin: 0; - display: block; - - &.ui-btn-text-padding-top { - padding: 0; - } - - .li-text-sub { - color: @color_drawer_btn; - } - - } - } - } - } - li:hover { - background-color: @color_drawer_bg; - } - .ui-home-block { - padding: 40 * @virtual_px; - } - } - - .ui-listview-first { - li { - text-transform: uppercase; - } - } - .ui-drawer-close { - float:left; - height: 100vh; - width: 30 * @virtual_px; - background: url(@drawer_back_background) no-repeat center center; - padding: inherit; - min-width: inherit; - - &.ui-focus { - background-color: @color_drawer_btn_close_background; - } - } - - .ui-dynamic-box { - float: left; - width: 636 * @virtual_px; - height: 100vh; - - .ui-listview { - width: 100%; - padding: 17 * @virtual_px 20 * @virtual_px; - li:not(.ui-list-divider) { - text-align: left; - background-color: @color_drawer_listview_not_divider; - border-bottom: solid 2 @virtual_px @color_drawer_listview_not_divider_border; - margin-bottom: 14 * @virtual_px; - > * { - overflow: visible; - } - a { - .ui-btn-inner { - font-size: 32 * @virtual_px; - } - } - } - - .ui-list-divider{ - padding: 14 * @virtual_px 14 * @virtual_px; - min-height: 0; - background-color: transparent; - text-align: left; - - > .ui-btn-text { - font-size: 27 * @virtual_px; - color: @color_drawer_divider_btn; - } - - > .ui-divider-normal-line { - display: none; - } - } - - .ui-li-dynamic { - text-transform: none; - margin-bottom: 20 * @virtual_px; - a { - padding: 0; - .ui-btn-inner { - - .ui-btn-text { - > img { - width: 100%; - z-index: 1; - height: auto; - float: none; - margin: 0; - } - footer { - background-color: @color_drawer_dinamic_footer_background; - position: absolute; - bottom: 0; - left: 0; - right: 0; - z-index: 2; - overflow: hidden; - - img { - width: 40 * @virtual_px; - height: 40 * @virtual_px; - margin: 5 * @virtual_px 20 * @virtual_px; - float: right; - } - h2 { - font-size: 24 * @virtual_px; - color: @color_drawer_footer_btn; - font-weight: nornal; - margin: 12 * @virtual_px 0 12 * @virtual_px 0; - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - float: right; - width: 390 * @virtual_px; - text-align: left; - } - h3 { - font-size: 20 * @virtual_px; - color: @color_drawer_footer_btn; - font-weight: nornal; - margin: 12 * @virtual_px 12 * @virtual_px 12 * @virtual_px 25 * @virtual_px; - padding-right: 12 * @virtual_px; - border-right: @virtual_px solid @color_drawer_btn; - display: inline-block; - float: left; - } - div, progress { - display: none - } - } - } - } - - &.ui-focus { - .ui-btn-inner { - .ui-btn-text { - footer { - position: relative; - background-color: @color_drawer_footer_btn_background; - h2 { - color: @color_drawer_btn; - font-size: 36 * @virtual_px; - float: none; - width: auto; - margin: 25 * @virtual_px 0 0 25 * @virtual_px; - display: block; - } - h3 { - color: @color_drawer_btn; - font-size: 20 * @virtual_px; - clear: left; - margin-top: 2* @virtual_px; - margin-right: 8* @virtual_px; - padding-right: 8* @virtual_px; - } - img { - margin: 25 * @virtual_px 20 * @virtual_px; - } - div { - display: inline-block; - float: left; - color: @color_drawer_btn; - font-size: 20 * @virtual_px; - margin-top: 2* @virtual_px; - } - progress { - clear: both; - display: block; - padding-left: 25 * @virtual_px; - padding-right: 25 * @virtual_px; - } - } - } - } - } - } - } - - .ul-li-poster, .ul-li-icon { - width: 185 * @virtual_px; - float: left; - a .ui-btn-inner .ui-btn-text { - img { - width: 185 * @virtual_px; - } - footer { - background-color: @color_drawer_poster_icon_footer_background; - h2 { - margin: 25 * @virtual_px; - width: 135 * @virtual_px; - float: none; - } - } - } - a.ui-focus .ui-btn-inner .ui-btn-text { - footer { - position: absolute; - h2 { - font-size: 24 * @virtual_px; - margin: 25 * @virtual_px; - width: 135 * @virtual_px; - } - } - } - } - - .ul-li-icon { - height: 185 * @virtual_px; - a .ui-btn-inner .ui-btn-text { - height: 191 * @virtual_px; - footer { - background-color: transparent; - } - } - } - - .ul-li-icon.ui-li-dark { - a { - .ui-btn-inner .ui-btn-text { - - footer { - h2 { - color: black; - } - } - - } - - &.ui-focus { - .ui-btn-inner .ui-btn-text { - - footer { - h2 { - color: white; - } - } - } - } - } - } - - .ul-li-poster, .ul-li-icon { - &:nth-child(3n+2), &:nth-child(3n) { - margin-right: 16 * @virtual_px; - } - } - } - } -} - -.ui-drawer-overlay { - position: absolute; - z-index: 1200; -} - -.ui-header.ui-bar-s { - &.ui-drawer-header { - .ui-title { - margin-left: 40 * @virtual_px; - } - .ui-btn.ui-drawer-button.ui-btn-icon_only { - position: absolute; - top: 0; - left: 0; - padding-left: 7 * @virtual_px; - padding-right: 8 * @virtual_px; - width: 27 * @virtual_px; - height: 48 * @virtual_px; - - &.ui-btn-down-s { - background-color: @color_bar_header_btn; - } - - .ui-btn-inner.ui-btn-icon-only .ui-icon { - top: 2 * @virtual_px; - width: 27 * @virtual_px; - height: 27 * @virtual_px; - background-color: @color_bar_btn_normal; - } - } - } -} - - -.ui-dynamic-box { - display: none; -} - -.ui-dynamic-box-active { - display: block; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/grid.less b/tools/ThemeEditor/src/res/less/tv/default/common/grid.less deleted file mode 100644 index ed9e41ef..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/grid.less +++ /dev/null @@ -1,166 +0,0 @@ -.ui-virtualgrid, .ui-grid { - .ui-btn { - color: @color_grid_txt_normal; - } - - .grid-icon { - width: 210 * @virtual_px; - margin: 0 20 * @virtual_px 20 * @virtual_px 0; - display: block; - overflow: hidden; - - &.ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt { - padding-top: 126 * @virtual_px; - } - - &.ui-btn .ui-icon { - width: 106 * @virtual_px; - height: 106 * @virtual_px; - .mask-size(106 * @virtual_px 106 * @virtual_px); - margin-left: -53 * @virtual_px; - background-size: 106 * @virtual_px 106 * @virtual_px; - } - &:not(.ui-focus) { - background-color: rgb(28, 62, 59); - } - } - .grid-thumbnail { - width: 303 * @virtual_px; - margin: 0 20 * @virtual_px 20 * @virtual_px 0; - display: block; - overflow: hidden; - - &.ui-btn .ui-btn-inner { - margin: 0; - } - - .grid-thumbnail-info { - left: 21 * @virtual_px; - right: 21 * @virtual_px; - top: 8 * @virtual_px; - position: absolute; - color: rgb(200, 200, 200); - font-size: 22 * @virtual_px; - text-align: right; - z-index: 3; - } - - .grid-thumbnail-pic { - z-index: 2; - width: 303 * @virtual_px; - height: 303 * @virtual_px; - overflow: hidden; - background-color: rgb(26,70,95); - position: relative; - img { - min-width: 200 * @virtual_px; - min-height: 200 * @virtual_px; - max-width: 200 * @virtual_px; - max-height: 200 * @virtual_px; - position: absolute; - top: 152 * @virtual_px; - left: 152 * @virtual_px; - margin: -100 * @virtual_px; - } - } - - .grid-thumbnail-pic-full { - width: 303 * @virtual_px; - height: 303 * @virtual_px; - overflow: hidden; - position: relative; - z-index: 2; - img { - min-width: 303 * @virtual_px; - min-height: 303 * @virtual_px; - position: absolute; - top: 152 * @virtual_px; - left: 152 * @virtual_px; - margin: -152 * @virtual_px; - } - } - - .grid-thumbnail-contents { - background: rgb(33, 36, 13); - padding: 15 * @virtual_px 20 * @virtual_px; - font-size: 26 * @virtual_px; - overflow: hidden; - text-overflow: ellipsis; - color: rgb(211, 211, 211); - z-index: 2; - .grid-thumbnail-content { - overflow: hidden; - text-overflow: ellipsis; - height: 31 * @virtual_px; - display: block; - } - .grid-thumbnail-subtext { - overflow: hidden; - text-overflow: ellipsis; - color: rgb(128,128,128); - font-size: 22 * @virtual_px; - margin-top: -6 * @virtual_px; - display: block; - } - } - - &.ui-btn.ui-focus { - .grid-thumbnail-pic { - border: solid @color_grid_btn_focus_border; - border-top-width: 8 * @virtual_px; - border-left-width: 8 * @virtual_px; - border-right-width: 8 * @virtual_px; - img { - top: 144 * @virtual_px; - left: 144 * @virtual_px; - margin: -100 * @virtual_px; - } - } - - .grid-thumbnail-pic-full { - border: solid @color_grid_btn_focus_border; - border-top-width: 8 * @virtual_px; - border-left-width: 8 * @virtual_px; - border-right-width: 8 * @virtual_px; - img { - top: 144 * @virtual_px; - left: 144 * @virtual_px; - margin: -152 * @virtual_px; - } - } - - .grid-thumbnail-contents { - background: @color_grid_btn_focus_thumb_content; - .grid-thumbnail-content, .grid-thumbnail-subtext { - color: rgb(255, 255, 255); - } - } - } - - &.ui-btn.ui-selected { - .ui-btn-inner { - border: solid rgb(255, 169, 85) 10 * @virtual_px; - } - .ui-btn-text{ - margin: -10 * @virtual_px; - } - } - } -} - -.ui-grid { - margin: 20 * @virtual_px 0 0 20 * @virtual_px; - overflow: hidden; - li { - float: left; - } -} - -.ui-content { - >.ui-virtualgrid, >.ui-grid { - margin-top: 20 * @virtual_px -@fixed_header_content_margin; - margin-right: -@fixed_header_content_margin; - margin-bottom: -@fixed_header_content_margin; - margin-left: 20 * @virtual_px - @fixed_header_content_margin; - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/grids.less b/tools/ThemeEditor/src/res/less/tv/default/common/grids.less deleted file mode 100644 index 33b27d2f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/grids.less +++ /dev/null @@ -1,97 +0,0 @@ -/* -* jQuery Mobile Framework -* Copyright (c) jQuery Project -* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. -*/ - -/* content configurations. */ -.ui-grid { - &-a, - &-b, - &-c, - &-d { - overflow: hidden; - - .ui-block { - &-a, - &-b, - &-c, - &-d, - &-e { - margin: 0; - padding: 0; - border: 0; - float: left; - min-height: 1 * @virtual_px; - } - } - } - - /* grid solo: 100 - single item fallback */ - &-solo .ui-block-a { - width: 100%; - float: none; - } - - /* grid a: 50/50 */ - &-a { - .ui-block { - &-a, - &-b { - width: 50%; - } - - &-a { - clear: left; - } - } - } - - /* grid b: 33/33/33 */ - &-b { - .ui-block { - &-a, - &-b, - &-c { - width: 33.333%; - } - - &-a { - clear: left; - } - } - } - - /* grid c: 25/25/25/25 */ - &-c { - .ui-block { - &-a, - &-b, - &-c, - &-d { - width: 25%; - } - - &-a { - clear: left; - } - } - } - - /* grid d: 20/20/20/20/20 */ - &-d { - .ui-block { - &-a, - &-b, - &-c, - &-d, - &-e { - width: 20%; - } - - &-a { - clear: left; - } - } - } -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/indexscrollbar.less b/tools/ThemeEditor/src/res/less/tv/default/common/indexscrollbar.less deleted file mode 100644 index 2a34f77e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/indexscrollbar.less +++ /dev/null @@ -1,78 +0,0 @@ -.ui-indexscrollbar { - display: block; - position: fixed; - right: 0; //TODO:bidi - top: 0; - width: 40 * @virtual_px; - height: 100%; - background-color: @color_indexscrollbar_bg; - z-index: 10; - overflow: visible; // To show 2nd indexbar - - ul { - position:absolute; - width: 100%; - top:0; - li { - color: @color_indexscrollbar_text; - display: block; - width: 100%; - text-align: center; - font-size: 24 * @virtual_px; - height: 36 * @virtual_px; - } - li.ui-state-selected { - background-color: @color_indexscrollbar_selected_bg; - color: @color_indexscrollbar_selected_text; - } - } - ul.ui-indexscrollbar-supplementary { - position: relative; - height: auto; - top: 0; - right: -40 * @virtual_px; - width: 100%; - li { - background-color: @color_indexscrollbar_bg_supplementary; - color: @color_indexscrollbar_text; - } - li.ui-state-selected { - background-color: @color_indexscrollbar_bg_supplementary; - color: @color_indexscrollbar_selected_text_supplementary; - } - - } - - & + .ui-listview li { - padding-right: 40 * @virtual_px; - } -} - -.ui-indexscrollbar-indicator { - position: fixed; - top: 0; - left: 0; - z-index: 9; - display: none; - - >span { - width: 140 * @virtual_px; - height: 87 * @virtual_px; - position: absolute; - display: block; - top: 50%; - left: 50%; - margin-left: -90 * @virtual_px; - margin-top: -43 * @virtual_px; - line-height: 87 * @virtual_px; - font-size: 70 * @virtual_px; - text-align: center; - background-color: @color_indexscrollbar_indicator_bg; - color: @color_indexscrollbar_indicator_text_normal; - - >span.ui-selected { - color: @color_indexscrollbar_indicator_text_selected; - } - - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/input.less b/tools/ThemeEditor/src/res/less/tv/default/common/input.less deleted file mode 100644 index d7aee942..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/input.less +++ /dev/null @@ -1,71 +0,0 @@ -input:not([type=number]):not([type=checkbox]):not([type=radio]), textarea { - background-color: @color_input_bg; - color: @color_input_text; - text-align: left; - vertical-align: middle; - font-size: 32 * @virtual_px; - font: bold; - border: solid 2 * @virtual_px rgb(177, 177, 177); - - &:focus { - color: @color_input_text_focus; - } -} - -textarea { - height: 117 * @virtual_px; -} - -input[type]:not([type=number]).small { - font-size: 24 * @virtual_px; -} - -input[type=password].pin { - background-color: @color_input_bg; - color: @color_input_text; - vertical-align: middle; - text-align: center; - font-size: 45 * @virtual_px; - font: bold; - width: 58 * @virtual_px; - height: 58 * @virtual_px; -} - -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { - .appearance(none); -} -input[type=number] { - color: @color_input_number_text; - text-align: center; - vertical-align: middle; - font-size: 29 * @virtual_px; - font: bold; - background: url(images/input/spin_button.png) no-repeat center center; - border: @virtual_px solid @color_input_border; - padding: 15 * @virtual_px; - background-color: @color_input_bg; - &:focus { - background-color: @color_input_number_bg_focus; - color: @color_input_number_text_focus; - border: @virtual_px solid @color_input_number_border_focus; - } -} -.ui-number-input { - padding-top: 15 * @virtual_px; - padding-bottom: 22 * @virtual_px; -} - -.ui-listview li { - input:not([type=number]):not([type=checkbox]):not([type=radio]) { - margin: -10 * @virtual_px 0; - - &[type=password].pin { - margin: -17 * @virtual_px 0; - } - } - - input[type=number] { - margin: -19 * @virtual_px 0; - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/layout.less b/tools/ThemeEditor/src/res/less/tv/default/common/layout.less deleted file mode 100644 index 57dc40bc..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/layout.less +++ /dev/null @@ -1,286 +0,0 @@ -/*************************************************************************** - Common Style -***************************************************************************/ -body { - height: 100vh; - font-size: 34 * @virtual_px; - font-family: @font_family; - background: @color_bg; - background-size: 100% !important; - background-repeat: no-repeat; - color : @color_text; -} - -.ui-page { - width: 100%; - height: 100%; - overflow: hidden; - display:none; - position: absolute; - top:0; - left:0; - &.ui-page-active { - display: block; - } - &.ui-page-build { - display: block; - visibility: hidden; - } - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* overrides webkit link color */ - - &.ui-header-empty { - .ui-content { - margin-top: 59 * @virtual_px; - .border-top-left-radius(@fixed_layout_page_border_radius); - .border-top-right-radius(@fixed_layout_page_border_radius); - } - } - - &.ui-footer-empty { - .ui-content { - margin-bottom: 59 * @virtual_px; - .border-bottom-left-radius(@fixed_layout_page_border_radius); - .border-bottom-right-radius(@fixed_layout_page_border_radius); - } - } -} - -.scrolling-mode-touch { - .touch-scrolling(); -} - -.ui-content { - margin: 0 141 * @virtual_px; - overflow-x : hidden; - overflow-y : visible; - background-color: @color_content_bg; - .scrolling-mode-touch; - padding: @fixed_header_content_padding; - - .ui-column-left { - width: 298 * @virtual_px; - float: left; - margin: -@fixed_header_title_margin 0 -@fixed_header_title_margin -@fixed_header_title_margin; - } - - .ui-column-right { - width: 1340 * @virtual_px; - float: left; - margin: -@fixed_header_title_margin -@fixed_header_title_margin -@fixed_header_title_margin 0; - } - - p:first-child { - margin-top: 0; - } -} - -.ui-header { - position: relative; - text-transform: uppercase; - margin: 59 * @virtual_px 141 * @virtual_px 0 141 * @virtual_px; - height: @fixed_header_height; - line-height: @fixed_header_line_height; - background-color: @color_actionbar_title_bg; - .border-top-left-radius(@fixed_layout_page_border_radius); - .border-top-right-radius(@fixed_layout_page_border_radius); - - .ui-title { - color: @color_actionbar_title_text; - font-size: @fixed_header_title_font_size; - white-space: nowrap; - margin: 0 * @virtual_px; - padding-left: @fixed_header_title_padding; - padding-right: @fixed_header_title_padding; - float: left; - - &.ui-icon { - padding-left: @fixed_header_title_icon_padding; - background-position: @fixed_header_title_icon_position_x @fixed_header_title_icon_position_y; - background-size: @fixed_header_title_icon_size @fixed_header_title_icon_size; - background-repeat: no-repeat; - } - } - - .ui-title-text-fadeout { - // by hand, this is to custom for a handler - -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -moz-mask-image: -moz-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -ms-mask-image: -ms-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -o-mask-image: -o-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - mask-image: linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - } - - &.ui-has-more { - .ui-title { - padding-right: @fixed_header_more_title_padding; - } - .ui-title-text-fadeout { - // by hand, this is to custom for a handler - -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - -moz-mask-image: -moz-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - -ms-mask-image: -ms-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 8 0%); - -o-mask-image: -o-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - mask-image: linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - } - } - - button.ui-more, input.ui-more { - border:0 none; - padding: 0; - } - - .ui-more-disable { - cursor: default; - background-color: transparent; - } - - .ui-more { - display: block; - position: absolute; - top: 0; - right: 0; - width: @fixed_header_more_width; - height: 100%; - overflow: hidden; - text-indent: -1000em; - background-position: center center; - background-color: transparent; - cursor: pointer; - - &:active { - background-color: @color_actionbar_more_pressed_bg; - } - - &.ui-icon-detail { - background-image: url(@icon_actionbar_more_detail_normal); - background-repeat: no-repeat; - background-size: 100%; - &[disabled="disabled"] { - .ui-more-disable; - background-image: url(@icon_actionbar_more_detail_disable); - } - } - - &.ui-icon-overflow { - background-image: url(@icon_actionbar_more_overflow_normal); - background-repeat: no-repeat; - background-size: 100%; - &[disabled="disabled"] { - .ui-more-disable; - background-image: url(@icon_actionbar_more_overflow_disable); - } - } - - &.ui-icon-selectall { - background-image: url(@icon_actionbar_more_selectall_normal); - background-repeat: no-repeat; - background-size: 100%; - &[disabled="disabled"] { - .ui-more-disable; - background-image: url(@icon_actionbar_more_selectall_disable); - } - } - } - - .ui-btn.ui-btn-inline { - float: right; - margin: 32 * @virtual_px; - } - - .ui-btn.ui-btn-inline:nth-child(2) { - margin-right: 0; - } - -} - -.ui-footer { - position: relative; - height: @fixed_footer_height; - margin: 0 141 * @virtual_px 59 * @virtual_px 141 * @virtual_px; - bottom: 0; - left: 0; - background-color: @color_actionbar_title_bg; - .border-bottom-left-radius(@fixed_layout_page_border_radius); - .border-bottom-right-radius(@fixed_layout_page_border_radius); - .ui-controlgroup-controls { - .ui-btn { - float:left; - display: block; - margin: 32 * @virtual_px; - } - .ui-btn:nth-child(2) { - margin-left: 0; - } - .ui-btn:nth-child(3) { - margin-left: 0; - } - } -} - -/*************************************************************************** - Grid layout -***************************************************************************/ -.ui-grid-col { - > * { - float: left; - } -} - -.ui-page { - .ui-grid-col-1 { - .ui-grid-col; - & > * { width:100% } - } - - .ui-grid-col-2 { - .ui-grid-col; - & > * { width:100/2% } - } - - .ui-grid-col-3 { - .ui-grid-col; - & > * { width:100/3% } - } -} - -.ui-grid-row { - > * { - display: block; - } -} - - -.ui-page-mini { - .ui-header, .ui-content, .ui-footer { - margin-left: 564 * @virtual_px; - margin-right: 564 * @virtual_px; - } -} - -.ui-page-micro { - .ui-header, .ui-content, .ui-footer { - margin-left: 705 * @virtual_px; - margin-right: 705 * @virtual_px; - } -} - -.ui-page-micro-left { - .ui-header, .ui-content, .ui-footer { - margin-left: 141 * @virtual_px; - margin-right: 1410 * @virtual_px; - } -} - -.ui-page-micro-right { - .ui-header, .ui-content, .ui-footer { - margin-left: 1410 * @virtual_px; - margin-right: 141 * @virtual_px; - } -} - -.ui-page-fullscreen { - .ui-header, .ui-content, .ui-footer, &.ui-footer-empty .ui-content, &.ui-header-empty .ui-content { - margin: 0; - .border-radius(0); - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/listview.less b/tools/ThemeEditor/src/res/less/tv/default/common/listview.less deleted file mode 100644 index f3a96181..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/listview.less +++ /dev/null @@ -1,163 +0,0 @@ -.ui-listview.white { - background-color: @color_listview_bg_color_white; -} - -.ui-listview { - li { - font-size: @fixed_list_item_font_size; - width: 100%; - border-bottom: 1 * @virtual_px solid @color_listview_border; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - position: relative; - color: @color_listview_text; - - padding: 32 * @virtual_px 43 * @virtual_px; - - &.rowspan-2 { - height: 182 * @virtual_px; - } - - > * { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - .user-select(none); - color: @color_listview_text; - } - a.ui-btn { - display: block; - text-align: left; - margin: -32 * @virtual_px -43 * @virtual_px; - padding: 32 * @virtual_px; - border-radius: 0; - .ui-btn-inner { - margin: 0; - color: rgb(164, 167, 174); - .ui-btn-text { - margin: 11 * @virtual_px 0; - display: block; - > img { - margin: -32 * @virtual_px; - height: 125 * @virtual_px; - float: right; - } - } - .ui-icon { - background-color: rgb(164, 167, 174); - } - } - &.ui-btn-icon-right { - .ui-icon { - right: -2 * @virtual_px; - top: -4 * @virtual_px; - } - } - - } - a.ui-btn.ui-focus { - .ui-btn-inner { - color: @color_list_btn_txt_focus; - } - } - label.ui-popup-radio-label, - label.ui-popup-checkbox-label { - width: 70%; - padding: 0; - float: left; - } - .checkboxradio-container { - position: relative; - } - .li-text-sub { - display: block; - color: @list_sub_txt_color; - font-size: 68%; - text-overflow: ellipsis; - overflow: hidden; - line-height: 30 * @virtual_px; - } - .li-has-multiline { - padding-top: 6 * @virtual_px; - padding-bottom: 5 * @virtual_px; - min-height: 90 * @virtual_px; - .disabled, - .disabled > * { - color: rgb(51, 51, 51); - } - .li-has-radio.disabled, - .li-has-radio.disabled .li-text-sub, - .li-has-checkbox.disabled, - .li-has-checkbox.disabled .li-text-sub { - color: @color_listview_txt_disabled; - } - } - .li-has-multiline > a { - margin-top: -6 * @virtual_px; - margin-bottom: -6 * @virtual_px; - padding-top: 6 * @virtual_px; - padding-bottom: 6 * @virtual_px; - } - .li-has-multiline-sup { - padding-top: 6 * @virtual_px; - padding-bottom: 5 * @virtual_px; - min-height: 90 * @virtual_px; - .disabled, - .disabled > * { - color: rgb(51, 51, 51); - } - > a { - margin-top: -36 * @virtual_px; - margin-bottom: -5 * @virtual_px; - padding-top: 36 * @virtual_px; - padding-bottom: 5 * @virtual_px; - } - } - progress { - display: block; - padding-left: 0; - padding-right: 0; - } - } - - .ui-li-divider, - .ui-li-divider-btn { - box-sizing: border-box; - padding-top: 18 * @virtual_px; - padding-bottom: 18 * @virtual_px; - font-size: @fixed_list_divider_font_size; - background-color: @color_listview_bg_color_white; - color: @color_listview_text; - border: 0; - - .ui-divider-normal-line { - position: absolute; - bottom: 0; - left: 0; - display: block; - width: 100%; - height: 2 * @virtual_px; - background-color: @color_list_divider_line_bg; - } - - &>.ui-btn-text { - box-sizing: border-box; - color: @color_list_divider_text; - } - } -} - -.ui-content > .ui-listview, -.ui-content > .ui-scrollview-view > .ui-listview, -{ - margin: -@fixed_header_title_margin; -} - -div[data-role="popup"] .ui-listview { - .li-has-checkbox, - .li-has-radio { - border-bottom-style: solid; - border-bottom-width: thick; - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/popup.less b/tools/ThemeEditor/src/res/less/tv/default/common/popup.less deleted file mode 100644 index 3b7acdc5..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/popup.less +++ /dev/null @@ -1,279 +0,0 @@ -/*********************** -Normal Popup -***********************/ - -.ui-selectmenu-hidden { - top: -9999px; - left: -9999px; - visibility: hidden; -} - -.ui-popup { - position: absolute; - width: 688 * @virtual_px; - display: inline-table; - background-color: @color_popup_bg; - visibility: hidden; - z-index: 1000; - max-height: 80%; - .border-radius(@fixed_popup_border_radius); - .box-shadow(0 2 * @virtual_px 5 * @virtual_px @color_popup_shadow); - - - &:not(.ui-popup-toast) { - position: absolute; - } - - &:not(.ui-ctxpopup).ui-header-empty { - border-top-color: @color_popup_header_bg; - border-top-width: 20 * @virtual_px; - border-top-style: solid; - } - - header { - width: 100%; - min-height: @fixed_popup_header_height; - line-height: @fixed_popup_header_height; - font-size: @fixed_popup_header_font_size; - text-align: center; - background-color: @color_popup_header_bg; - color: @color_popup_title_text; - padding-right: @fixed_popup_header_padding_right; - padding-left: @fixed_popup_header_padding_left; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - .ui-popup-content { - width: 100%; - font-size: @fixed_popup_body_font_size; - text-align: left; - color: @color_popup_text; - background-color: @color_popup_bg; - padding: 80 * @virtual_px 64 * @virtual_px; - - .ui-listview { - li { - font-size: @fixed_popup_body_font_size; - color: @color_popup_text_content; - > *, .ui-btn-text { - color: @color_popup_text_content; - } - } - } - } - - footer { - width: 100%; - height: @fixed_popup_footer_height; - background-color: @color_popup_bg; - margin: 0; - - &.ui-grid-col-2 { - display: inline-flex; - - > .ui-btn { - border-left: 0 none; - &:first-child { - margin-right: 0; - } - - &:not(:first-child) { - margin-left: 20 * @virtual_px; - } - } - } - - .ui-btn { - font-size: @fixed_popup_footer_btn_font_size; - width: 216 * @virtual_px; - height: 70 * @virtual_px; - padding-top: 21 * @virtual_px; - padding-bottom: 21 * @virtual_px; - margin-left: auto; - margin-right: auto; - - .ui-btn-inner { - margin: 0; - } - - &.ui-btn-up-s, &.ui-btn-hover-s { - background-color: @color_button_basic_normal; - color: @color_button_basic_txt_normal; - } - - &.ui-btn-down-s, &.ui-focus{ - background-color: @color_popup_footer_btn_focus; - color: @color_button_basic_txt_focus; - } - } - } -} - -/**************************************** -Popup with listview -****************************************/ -.ui-popup:not(.ui-ctxpopup) { - &.ui-popup-listview { - width: 944 * @virtual_px; - height: 603 * @virtual_px; - - .ui-popup-content { - float: left; - width: initial; - min-width: 670 * @virtual_px; - height: 501 * @virtual_px; - padding: 0; - .ui-listview { - margin: 0; - - li { - border-bottom-color: rgb(218, 218, 218); - color: rgb(89, 89, 89); - padding: 32 * @virtual_px 43 * @virtual_px ; - font-size: 22 * @virtual_px; - - a.ui-btn { - margin: -32 * @virtual_px -43 * @virtual_px ; - } - } - } - } - - footer { - float: left; - width: 273 * @virtual_px; - height: 501 * @virtual_px; - background-color: rgb(237, 237, 237) ; - > .ui-btn { - margin-left: 20 * @virtual_px; - margin-right: 20 * @virtual_px; - margin-top: 10 * @virtual_px; - width: 233 * @virtual_px; - } - > .ui-btn:first-child { - margin-top: 20 * @virtual_px; - } - } - } -} - -/**************************************** -Popup Toast -****************************************/ -.ui-popup { - &.ui-popup-toast { - position: absolute; - .calc-width(~"100% - " (82 * @virtual_px)); - margin-left: 41 * @virtual_px; - margin-right: 41 * @virtual_px; - margin-bottom: 38 * @virtual_px; - font-size: @fixed_popup_toast_font_size; - border: 3 * @virtual_px solid @color_popup_border; - bottom: 0; - top: auto; - height: auto; - - &.ui-header-empty { - border: 0; - } - - .ui-popup-content { - padding: 10*@virtual_px 16*@virtual_px 10*@virtual_px 16*@virtual_px; - background-color: @color_popup_bg; - text-align: center; - } - } -} - -/**************************************** -Active Popup -****************************************/ - -.ui-popup-active.ui-popup { - visibility: visible; - top: 0; - left: 0; - bottom: 0; - - &.ui-popup-toast { - top: auto; - } -} - -.ui-popup-overlay { - position: absolute; - display: none; - top: 0; - width: 100%; - height: 100%; - z-index: 100; - background-color: rgba(0, 0, 0, 0.7); -} - - -/**************************************** -Context Popup -****************************************/ -.ui-popup.ui-ctxpopup { - position: absolute; - box-shadow: none; - width: initial; - - .ui-popup-content { - padding: 0; - border-radius: 4 * @virtual_px; - li { - a.ui-btn { - color: inherit; - } - } - } - - /*arrow at the bottom of popup*/ - &.ui-popup-arrow-b { - .ui-arrow { - bottom: 0; - margin-bottom: -8 * @virtual_px; - } - } - - /*arrow at the top of popup*/ - &.ui-popup-arrow-t { - .ui-arrow { - top: 0; - margin-top: -8 * @virtual_px; - } - } - - /*arrow at the left of popup*/ - &.ui-popup-arrow-l { - .ui-arrow { - margin-left: -7 * @virtual_px; - left: 0; - } - } - - /*arrow at the right of popup*/ - &.ui-popup-arrow-r { - .ui-arrow { - margin-right: -7 * @virtual_px; - right: 0; - } - } - .ui-arrow { - z-index: -1; - border: 1 * @virtual_px; - width: 14.14 * @virtual_px; - height: 14.14 * @virtual_px; - background: @color_popup_bg; - position: absolute; - .rotate(45deg); - - .transition(background-color 200ms ease); - &.ui-focus { - background-color: @color_default; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/progress.less b/tools/ThemeEditor/src/res/less/tv/default/common/progress.less deleted file mode 100644 index 41af96de..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/progress.less +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Progressbar - */ - -.tv-progress-indeterminate() { - from { - background-image: url('./images/Progress/tw_progressbar_indeterminate1_holo_dark.png'); - } - - to { - background-image: url('./images/Progress/tw_progressbar_indeterminate2_holo_dark.png'); - } -} - -@-webkit-keyframes indeterminate { - .tv-progress-indeterminate(); -} - -@-moz-keyframes indeterminate { - .tv-progress-indeterminate(); -} - -@-ms-keyframes indeterminate { - .tv-progress-indeterminate(); -} - -@-o-keyframes indeterminate { - .tv-progress-indeterminate(); -} - -@keyframes indeterminate { - .tv-progress-indeterminate(); -} - -.tv-progress-rotating() { - from { - -webkit-transform: rotate(0deg); - } - to { - -webkit-transform: rotate(360deg); - } -} - -@-webkit-keyframes rotating { - .tv-progress-rotating(); -} - -@-moz-keyframes rotating { - .tv-progress-rotating(); -} - -@-ms-keyframes rotating { - .tv-progress-rotating(); -} - -@-o-keyframes rotating { - .tv-progress-rotating(); -} - -@keyframes rotating { - .tv-progress-rotating(); -} - -progress { - position: relative; - padding-left: 16 * @virtual_px; - padding-right:16 * @virtual_px; - margin-top: 14 * @virtual_px; - margin-bottom: 14 * @virtual_px; - color: @color_progressbar_text; - width: 100%; - height: 6 * @virtual_px; - .appearance(none); - border: none; -} - -progress::-webkit-progress-bar { - position: relative; - background-color: @color_progressbar_normal_bg; - border-radius: 2 * @virtual_px; - overflow: hidden; -} - -progress::-webkit-progress-value { - background-color: @color_progressbar_value_bg; - height:6 * @virtual_px; - border-radius: 2 * @virtual_px; - overflow: hidden; -} -progress.ui-progress-indeterminate::-webkit-progress-value { - background-repeat: no-repeat; - background-size: 100% 100%; - // this has no sense because we are styling a webkit prop but leave it - // nonetheless - .animation(indeterminate 150ms infinite); -} - -.ui-progress-proportion { - display: inline-block; - float: left; - font-size: @fixed_progress_proportion_font_size; - padding-left: 16 * @virtual_px; - padding-right: 16 * @virtual_px; - margin-top: -10 * @virtual_px; -} - -.ui-progress-ratio { - display: inline-block; - float: right; - font-size: @fixed_progress_ratio_font_size; - padding-left: 16 * @virtual_px; - padding-right: 16 * @virtual_px; - margin-top: -10 * @virtual_px; -} - -.ui-progress-processing { - background-image: url("./images/Progress/tw_widget_popup_activity.png"); - background-repeat: no-repeat; - background-size: 100% 100%; - .animation(rotating 1s linear inifite); - width:80 * @virtual_px; - height:80 * @virtual_px; - margin: 0 auto; - margin-top: 34 * @virtual_px; - margin-bottom: 14 * @virtual_px; -} -.ui-processing-text { - margin: 0 auto; - text-align: center; - width: 168 * @virtual_px; - font-size: 24 * @virtual_px; -} - -progress.ui-progress-controllable { - .appearance(none); - border: none; - height: 6 * @virtual_px; - position: relative; - width: 100%; - - &::-webkit-progress-bar { - background-color: rgba(255, 255, 255, 0.25); - overflow: visible; - } - - &::-webkit-progress-value { - background-color: rgba(255, 255, 255, 1.0); - overflow: visible; - position: relative; - } - - &::-webkit-progress-value:after { - content: url('images/Progress/progressbar_thumb_nor.png'); - height: 38 * @virtual_px; - position: absolute; - right: -18 * @virtual_px; - top: -16 * @virtual_px; - width: 38 * @virtual_px; - } - - &.disabled { - opacity: 0.4; - } - - &.ui-focus { - &::-webkit-progress-bar { - background-color: @color_progressbar_normal_bg; - } - - &::-webkit-progress-value { - background-color: @color_progressbar_value_bg; - } - - &::-webkit-progress-value:after { - content: url('images/Progress/progressbar_thumb_foc.png'); - } - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/reset.less b/tools/ThemeEditor/src/res/less/tv/default/common/reset.less deleted file mode 100644 index 35236a73..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/reset.less +++ /dev/null @@ -1,479 +0,0 @@ -/*! normalize.css v1.0.0 | MIT License | git.io/normalize */ - -/* ========================================================================== - HTML5 display definitions - ========================================================================== */ -/* - * default outline set none - */ - -* { - outline: none; -} - -:focus { - outline: none; -} -/* - * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section, -summary { - display: block; -} - -/* - * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/* - * Prevents modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/* - * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3, - * and Safari 4. - * Known issue: no IE 6 support. - */ - -[hidden] { - display: none; -} - -/* ========================================================================== - Base - ========================================================================== */ - -/* - * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using - * `em` units. - * 2. Prevents iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-size: 100%; /* 1 */ - .text-size-adjust(100%); -} - -/* - * Addresses `font-family` inconsistency between `textarea` and other form - * elements. - */ - -html, -button, -input, -select, -textarea { - font-family: @font_family; -} - -/* - * Addresses margins handled incorrectly in IE 6/7. - */ - -body { - margin: 0; -} - -/* ========================================================================== - Links - ========================================================================== */ - -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ - -/* ========================================================================== - Typography - ========================================================================== */ - -/* - * Addresses font sizes and margins set differently in IE 6/7. - * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, - * and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.75em; - margin: 2.33em 0; -} - -/* - * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. - */ - -abbr[title] { - border-bottom: 1 * @virtual_px dotted; -} - -/* - * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40* @virtual_px; -} - -/* - * Addresses styling not present in Safari 5 and Chrome. - */ - -dfn { - font-style: italic; -} - -/* - * Addresses styling not present in IE 6/7/8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/* - * Addresses margins set differently in IE 6/7. - */ - -p, -pre { - margin: 1em 0; -} - -/* - * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/* - * Improves readability of pre-formatted text in all browsers. - */ - -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -/* - * Addresses CSS quotes not supported in IE 6/7. - */ - -q { - quotes: none; -} - -/* - * Addresses `quotes` property not supported in Safari 4. - */ - -q:before, -q:after { - content: ''; - content: none; -} - -small { - font-size: 75%; -} - -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - Lists - ========================================================================== */ - -/* - * Addresses margins set differently in IE 6/7. - */ - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40* @virtual_px; -} - -/* - * Addresses paddings set differently in IE 6/7. - */ - -menu, -ol, -ul { - padding: 0 0 0 40* @virtual_px; -} - -/* - * Corrects list images handled incorrectly in IE 7. - */ - -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -/* ========================================================================== - Embedded content - ========================================================================== */ - -/* - * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. - * 2. Improves image quality when scaled in IE 7. - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - -/* - * Corrects overflow displayed oddly in IE 9. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - Figures - ========================================================================== */ - -/* - * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. - */ - -figure { - margin: 0; -} - -/* ========================================================================== - Forms - ========================================================================== */ - -/* - * Corrects margin displayed oddly in IE 6/7. - */ - -form { - margin: 0; -} - -/* - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1* @virtual_px solid #c0c0c0; - margin: 0 2* @virtual_px; - padding: 0.35em 0.625em 0.75em; -} - -/* - * 1. Corrects color not being inherited in IE 6/7/8/9. - * 2. Corrects text not wrapping in Firefox 3. - * 3. Corrects alignment displayed oddly in IE 6/7. - */ - -legend { - border: 0; /* 1 */ - padding: 0; - white-space: normal; /* 2 */ - *margin-left: -7* @virtual_px; /* 3 */ -} - -/* - * 1. Corrects font size not being inherited in all browsers. - * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, - * and Chrome. - * 3. Improves appearance and consistency in all browsers. - */ - -button, -input, -select, -textarea { - font-size: 100%; /* 1 */ - margin: 0; /* 2 */ - vertical-align: baseline; /* 3 */ - *vertical-align: middle; /* 3 */ -} - -/* - * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -button, -input { - line-height: normal; -} - -/* - * Re-set default cursor for disabled elements. - */ - -button[disabled], -input[disabled] { - cursor: default; -} - -/* - * 1. Addresses box sizing set to content-box in IE 8/9. - * 2. Removes excess padding in IE 8/9. - * 3. Removes excess padding in IE 7. - * Known issue: excess padding remains in IE 6. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ - *height: 13* @virtual_px; /* 3 */ - *width: 13* @virtual_px; /* 3 */ -} - -input[type="time"], -input[type="date"] { - color: rgb(0,0,0); -} -/* - * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - .appearance(textfield); - .content-box(); -} - -/* - * Removes inner padding and search cancel button in Safari 5 and Chrome - * on OS X. - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - .appearance(none); -} - -/* - * Removes inner padding and border in Firefox 3+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/* - * 1. Removes default vertical scrollbar in IE 6/7/8/9. - * 2. Improves readability and alignment in all browsers. - */ - -textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ -} - -/* ========================================================================== - Tables - ========================================================================== */ - -/* - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/scrollbar.less b/tools/ThemeEditor/src/res/less/tv/default/common/scrollbar.less deleted file mode 100644 index d3aa76d3..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/scrollbar.less +++ /dev/null @@ -1,16 +0,0 @@ -::-webkit-scrollbar { - width: 8 * @virtual_px; - height: 8 * @virtual_px; - -webkit-border-radius: 8 * @virtual_px; -} - -::-webkit-scrollbar-track, -::-webkit-scrollbar-track-piece { - background-color:transparent; -} - -::-webkit-scrollbar-thumb { - -webkit-border-radius: 8 * @virtual_px; - border-radius: 8 * @virtual_px; - background-color: @color_scrollbar_thumb_bg; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/scroller.less b/tools/ThemeEditor/src/res/less/tv/default/common/scroller.less deleted file mode 100644 index e35e2379..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/scroller.less +++ /dev/null @@ -1,323 +0,0 @@ -/*************************************************************************** - Scrollbar Style -***************************************************************************/ -.ui-scrollbar-bar-type { - position: absolute; -} - -.ui-scrollbar-bar-type.ui-scrollbar-horizontal { - left: 0; - bottom: 0; - width: 100%; - height: 8* @virtual_px; -} - -.ui-scrollbar-bar-type.ui-scrollbar-vertical { - right: 0; - top: 0; - width: 8* @virtual_px; - height: 100%; -} - -.ui-scrollbar-bar-type .ui-scrollbar-indicator { - position: absolute; - margin: 2* @virtual_px; - background-color: @color_scroller_scrollbar_color; -} - -.ui-scrollbar-bar-type.ui-scrollbar-horizontal .ui-scrollbar-indicator { - height: 4* @virtual_px; -} - -.ui-scrollbar-bar-type.ui-scrollbar-vertical .ui-scrollbar-indicator { - width: 4* @virtual_px; -} - -/*************************************************************************** - Scrollbar Bouncing Effect -***************************************************************************/ -.ui-scrollbar-bouncing-effect { - display: none; - position: absolute; - background-repeat: no-repeat; - .animation-duration(470ms); - .animation-timing-function(step-start); - .animation-fill-mode(forwards); -} - -.ui-scrollbar-bouncing-effect.ui-top { - width: 100%; - height: 56* @virtual_px; - top:0; - left:0; - background-image: url(@bg_scroller_bouncing_effect_top); -} - -.ui-scrollbar-bouncing-effect.ui-bottom { - width: 100%; - height: 56* @virtual_px; - bottom:0; - left:0; - background-image: url(@bg_scroller_bouncing_effect_bottom); -} - -.ui-scrollbar-bouncing-effect.ui-left { - width: 56* @virtual_px; - height: 100%; - top:0; - left:0; - background-image: url(@bg_scroller_bouncing_effect_left); -} - -.ui-scrollbar-bouncing-effect.ui-right { - width: 56* @virtual_px; - height: 100%; - top:0; - right:0; - background-image: url(@bg_scroller_bouncing_effect_right); -} - -.tv-scroller-ui-vertical-show() { - 0% { - background-position: center -0* @virtual_px; - } - 10% { - background-position: center -60* @virtual_px; - } - 20% { - background-position: center -120* @virtual_px; - } - 30% { - background-position: center -180* @virtual_px; - } - 40% { - background-position: center -240* @virtual_px; - } - 50% { - background-position: center -300* @virtual_px; - } - 60% { - background-position: center -360* @virtual_px; - } - 70% { - background-position: center -420* @virtual_px; - } - 80% { - background-position: center -480* @virtual_px; - } - 90% { - background-position: center -540* @virtual_px; - } - 100% { - background-position: center -540* @virtual_px; - } -} - -.tv-scroller-ui-vertical-hide() { - 0% { - background-position: center -600* @virtual_px; - } - 10% { - background-position: center -660* @virtual_px; - } - 20% { - background-position: center -720* @virtual_px; - } - 30% { - background-position: center -780* @virtual_px; - } - 40% { - background-position: center -840* @virtual_px; - } - 50% { - background-position: center -900* @virtual_px; - } - 60% { - background-position: center -960* @virtual_px; - } - 70% { - background-position: center -1020* @virtual_px; - } - 80% { - background-position: center -1080* @virtual_px; - } - 90% { - background-position: center -1140* @virtual_px; - } - 100% { - background-position: center -1140* @virtual_px; - } -} - -.tv-scroller-ui-horizontal-show() { - 0% { - background-position: -0* @virtual_px center; - } - 10% { - background-position: -60* @virtual_px center; - } - 20% { - background-position: -120* @virtual_px center; - } - 30% { - background-position: -180* @virtual_px center; - } - 40% { - background-position: -240* @virtual_px center; - } - 50% { - background-position: -300* @virtual_px center; - } - 60% { - background-position: -360* @virtual_px center; - } - 70% { - background-position: -420* @virtual_px center; - } - 80% { - background-position: -480* @virtual_px center; - } - 90% { - background-position: -540* @virtual_px center; - } - 100% { - background-position: -540* @virtual_px center; - } -} - -.tv-scroller-ui-horizontal-hide() { - 0% { - background-position: -600* @virtual_px center; - } - 10% { - background-position: -660* @virtual_px center; - } - 20% { - background-position: -720* @virtual_px center; - } - 30% { - background-position: -780* @virtual_px center; - } - 40% { - background-position: -840* @virtual_px center; - } - 50% { - background-position: -900* @virtual_px center; - } - 60% { - background-position: -960* @virtual_px center; - } - 70% { - background-position: -1020* @virtual_px center; - } - 80% { - background-position: -1080* @virtual_px center; - } - 90% { - background-position: -1140* @virtual_px center; - } - 100% { - background-position: -1140* @virtual_px center; - } -} - -@-webkit-keyframes ui-vertical-show { - .tv-scroller-ui-vertical-show(); -} - -@-moz-keyframes ui-vertical-show { - .tv-scroller-ui-vertical-show(); -} - -@-ms-keyframes ui-vertical-show { - .tv-scroller-ui-vertical-show(); -} - -@-o-keyframes ui-vertical-show { - .tv-scroller-ui-vertical-show(); -} - -@keyframes ui-vertical-show { - .tv-scroller-ui-vertical-show(); -} - -@-webkit-keyframes ui-vertical-hide { - .tv-scroller-ui-vertical-hide(); -} - -@-moz-keyframes ui-vertical-hide { - .tv-scroller-ui-vertical-hide(); -} - -@-ms-keyframes ui-vertical-hide { - .tv-scroller-ui-vertical-hide(); -} - -@-o-keyframes ui-vertical-hide { - .tv-scroller-ui-vertical-hide(); -} - -@keyframes ui-vertical-hide { - .tv-scroller-ui-vertical-hide(); -} - -@-webkit-keyframes ui-horizontal-show { - .tv-scroller-ui-horizontal-show(); -} - -@-moz-keyframes ui-horizontal-show { - .tv-scroller-ui-horizontal-show(); -} - -@-ms-keyframes ui-horizontal-show { - .tv-scroller-ui-horizontal-show(); -} - -@-o-keyframes ui-horizontal-show { - .tv-scroller-ui-horizontal-show(); -} - -@keyframes ui-horizontal-show { - .tv-scroller-ui-horizontal-show(); -} - -@-webkit-keyframes ui-horizontal-hide { - .tv-scroller-ui-horizontal-hide(); -} - -@-moz-keyframes ui-horizontal-hide { - .tv-scroller-ui-horizontal-hide(); -} - -@-ms-keyframes ui-horizontal-hide { - .tv-scroller-ui-horizontal-hide(); -} - -@-o-keyframes ui-horizontal-hide { - .tv-scroller-ui-horizontal-hide(); -} - -@keyframes ui-horizontal-hide { - .tv-scroller-ui-horizontal-hide(); -} - -.ui-scrollbar-bouncing-effect.ui-top.ui-show, -.ui-scrollbar-bouncing-effect.ui-bottom.ui-show { - display: block; - .animation-name(ui-vertical-show); -} -.ui-scrollbar-bouncing-effect.ui-top.ui-hide, -.ui-scrollbar-bouncing-effect.ui-bottom.ui-hide { - display: block; - .animation-name(ui-vertical-hide); -} -.ui-scrollbar-bouncing-effect.ui-left.ui-show, -.ui-scrollbar-bouncing-effect.ui-right.ui-show { - display: block; - .animation-name(ui-horizontal-show); -} -.ui-scrollbar-bouncing-effect.ui-left.ui-hide, -.ui-scrollbar-bouncing-effect.ui-right.ui-hide { - display: block; - .animation-name(ui-horizontal-hide); -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/slider.less b/tools/ThemeEditor/src/res/less/tv/default/common/slider.less deleted file mode 100644 index a44a7b20..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/slider.less +++ /dev/null @@ -1,231 +0,0 @@ -/** Slider unit divisor */ -@unit_base_slider: @virtual_px * 0.5; -/** Slider popup z-index */ -@z_base_slider_popup: 11; - -label.ui-slider { - display: block; -} - -select.ui-slider-switch { - display: none; -} - -.ui-slider-container { - position: relative; - vertical-align: middle; - - height: 27 * @unit_base_slider; - padding-top: 21 * @virtual_px; - padding-bottom: 21 * @virtual_px; - padding-left: 36 * @unit_base_slider; - padding-right: 36 * @unit_base_slider; - - // focused slider, but not pressed - &.ui-focus { - .ui-slider-handle { - background: url(images/Slider/00_slider_handle_press.png) no-repeat; - } - } -} - -.ui-li > .ui-slider-container { - margin-top: -14 * @virtual_px; - margin-bottom: -14 * @virtual_px; -} - -.ui-slider-left-volume, -.ui-slider-left-bright { - position: absolute; - vertical-align: middle; - margin-top: 10 * @virtual_px; - margin-bottom: 10 * @virtual_px; - margin-left: -44 *@virtual_px; - top: 0 * @virtual_px; - height: @fixed_slider_image_height; - width: @fixed_slider_image_width; - - background: url(images/Slider/00_slider_button_brightness_01.png) no-repeat; - .LESSbackground-size(@fixed_slider_image_width, @fixed_slider_image_height); -} - -.ui-slider-left-volume { - background: url(images/Slider/00_slider_button_volume_01.png) no-repeat; - .LESSbackground-size(@fixed_slider_image_width, @fixed_slider_image_height); -} - -.ui-slider-right-volume, -.ui-slider-right-bright { - position: absolute; - vertical-align: middle; - margin-top: 10 * @virtual_px; - margin-bottom: 10 * @virtual_px; - top: 0 * @virtual_px; - right: -44 * @virtual_px; - height: @fixed_slider_image_height; - width: @fixed_slider_image_width; - - background: url(images/Slider/00_slider_button_brightness_02.png) no-repeat; - .LESSbackground-size(@fixed_slider_image_width, @fixed_slider_image_height); -} - -.ui-slider-right-volume { - background: url(images/Slider/00_slider_button_volume_02.png) no-repeat; - .LESSbackground-size(@fixed_slider_image_width, @fixed_slider_image_height); -} - -.ui-slider-left-text { - position: absolute; - left: 0 !important; - - top: 6 * @virtual_px; - height: 37 * @virtual_px; - - text-align: center; - color: @color_slider_left_text; - - margin-top: -10 * @virtual_px; -} - -.ui-slider-right-text { - position: absolute; - right: 0 !important; - - top: 6 * @virtual_px; - height: 37 * @virtual_px; - - text-align: center; - color: @color_slider_right_text; - - margin-top: -10 * @virtual_px; -} - -div.ui-slider:not(.ui-toggle-switch) { - position: relative; - - top: 9 * @unit_base_slider; - height: 13 * @unit_base_slider; - margin-left: 8 * @unit_base_slider; - margin-right: 8 * @unit_base_slider; - - .LESSborder-radius-all( 10 * @virtual_px ); - .LESSbox-shadow(0 * @virtual_px, 0 * @virtual_px, 2 * @virtual_px, @slider_lessbox_shadow); - background-color: @color_slider_bg; - - .ui-btn { - &.ui-focus { - background-color: transparent; - } - top: -0.75rem; - margin-top: 0; - } - .ui-btn-inner { - padding: 0.3rem 0 0 0; - } - .ui-btn-text { - color: @color_slider_handle_text; - } - - a.ui-slider-handle-press { - background-image: url(images/Slider/00_slider_handle_press.png); - - .ui-btn-text { - color: @color_slider_handle_text_press; - } - } -} - -a.ui-slider-handle { - position: relative; - z-index: 10; - - min-width: 40 * @virtual_px; - min-height: 40 * @virtual_px; - width: 40 * @virtual_px; - height: 40 * @virtual_px; - - color: @color_slider_handle_text; - font-size: 0.95rem; - - background: url(images/Slider/00_slider_handle.png) no-repeat; - .LESSbackground-size(@fixed_slider_handle_width, @fixed_slider_handle_height); - - -o-box-shadow: none; - -ms-box-shadow: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - - .ui-background { - visibility: hidden; - } -} - -.ui-ctxpopup.ui-popup.ui-slider-popup { - z-index: @z_base_slider_popup; - - min-width: @fixed_slider_popup_min_width; - width: auto; - line-height: @fixed_slider_popup_min_height; - padding-left: 5 * @virtual_px; - padding-right: 5 * @virtual_px; - - background-color: @color_slider_popup_bg; - color: @color_slider_popup_text; - text-align: center; - font-size: 1.5rem; - - .LESSborder-radius-all(@fixed_slider_border_radius); - - &>.ui-arrow { - border-width: 6 * @virtual_px; - background-color: @color_slider_popup_bg; - } -} - -.ui-slider-bg { - position: absolute; - - height: 13 * @unit_base_slider; - width: 0; - - .LESSborder-radius-all( 10 * @virtual_px ); - .LESSbox-shadow(0 * @virtual_px, 0 * @virtual_px, 2 * @virtual_px, @slider_lessbox_shadow); - background-color: @color_slider_bg; - - &.ui-slider-bg-has-center { - .LESSborder-radius-all( 0 ); - } -} - -.ui-slider { - text-align: center; - .calc-width(~"100% - " 40 * @virtual_px); - - a { - &:focus { - background-color: @color_slider_bg; - - &.ui-slider-handle { - background: url(images/Slider/00_slider_handle_press.png) no-repeat; - .LESSbackground-size(@fixed_slider_handle_width, @fixed_slider_handle_height); - -o-box-shadow: none; - -ms-box-shadow: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - } - } - } -} - -.ui-slider-center { - display: inline-block; - position: absolute; - left: 49.8%; - top: -8 * @virtual_px; - width: 5 * @virtual_px; - height: 20 * @virtual_px; - background-color: #555; - z-index: 10; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/swipelist.less b/tools/ThemeEditor/src/res/less/tv/default/common/swipelist.less deleted file mode 100644 index 0dcc2849..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/swipelist.less +++ /dev/null @@ -1,51 +0,0 @@ -.ui-swipelist { - position: absolute; - top: 0; -} -.ui-swipelist-left, .ui-swipelist-right { - position: absolute; - display: none; -} -.ui-swipelist-icon, .ui-swipelist-text { - position: absolute; -} -.ui-swipelist-left .ui-swipelist-icon { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - background-image : url("./images/Swipelist/b_logs_icon_body_btn_call_nor.png"); - background-repeat : no-repeat; - width: 20%; - height: 100%; - margin-left: 10%; -} -.ui-swipelist-left .ui-swipelist-text { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - margin-left: 40%; - height: 100%; - line-height: 90 * @virtual_px; -} -.ui-swipelist-right .ui-swipelist-icon { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - background-image : url("./images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png"); - background-repeat : no-repeat; - width: 20%; - height: 100%; - margin-left: 70%; -} -.ui-swipelist-right .ui-swipelist-text { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - margin-left: 20%; - height: 100%; - line-height: 90 * @virtual_px; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/tabbar.less b/tools/ThemeEditor/src/res/less/tv/default/common/tabbar.less deleted file mode 100644 index e1a1dc7a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/tabbar.less +++ /dev/null @@ -1,140 +0,0 @@ -/*************************************************************************** - Tabbar -***************************************************************************/ - -.ui-header.ui-bar-s.ui-title-tabbar-multiline .ui-tabbar { - height : 104 * @virtual_px; - a.ui-btn { - height: 104 * @virtual_px; - .ui-btn-inner { - height: 104 * @virtual_px; - .ui-icon { - height: 46 * @virtual_px; - width: 46 * @virtual_px; - top: 0; - margin-top: 14 * @virtual_px; - margin-left: 0; - } - &:not(.ui-btn-icon-only) .ui-btn-text-padding-top.ui-btn-text { - height: 28 * @virtual_px; - padding-top: 63 * @virtual_px; - padding-bottom: 0; - line-height: 28 * @virtual_px; - } - } - } -} -.ui-tabbar-divider{ - height: 1 * @virtual_px; -} -.ui-header.ui-bar-s .ui-tabbar { - z-index : 1000; - height : 72 * @virtual_px; - - .ui-tabbar-li { - display: inline-block; - float: left; - } - - a.ui-btn { - position: relative; - right: 0; - top: 0; - margin: 0; - height: 72 * @virtual_px; - max-width : none; - - .ui-btn-inner { - padding-top : 0; - padding-bottom : 0; - height: 72 * @virtual_px; - - &:not(.ui-btn-icon-only) .ui-btn-text-padding-top.ui-btn-text { - position:absolute; - padding-top: 37 * @virtual_px; - padding-bottom: 6 * @virtual_px; - } - &:not(.ui-btn-icon-only) .ui-btn-text { - position:absolute; - padding-top: 18 * @virtual_px; - padding-bottom: 1 * @virtual_px; - height: 36 * @virtual_px; - display: block; - line-height: 36 * @virtual_px; - /* Horizontal centering when positon is absolute */ - left: 50%; - .translate(-50%, 0); - } - - &.ui-btn-icon-only { - margin: auto; - } - } - - .ui-icon { - width: 46 * @virtual_px; - height: 46 * @virtual_px; - margin-left: 0; - background-repeat: no-repeat; - background-size: 100% 100%; - } - } - - .ui-btn-inner { - .ui-icon { - top : 7 * @virtual_px; - /* Horizontal centering when positon is absolute */ - left : 50%; - .translate(-50%, 0); - } - } - - &.ui-tabbar-notext { - a.ui-btn { - padding-top : 0; - padding-bottom : 0; - } - .ui-btn-inner { - height : 58 * @virtual_px; - .ui-icon { - top : 13 * @virtual_px;; - } - } - } -} -.ui-header.ui-bar-s.ui-title-tabbar { - height : 144 * @virtual_px; - .ui-tabbar { - border-top: 1 * @virtual_px solid B012L4; - } - .ui-scrollview-clip::-webkit-scrollbar { - display: none; - } - .ui-scrollview-view { - .tabbar-scroll-ul { - margin: 0; - padding: 0; - } - .tabbar-scroll-li { - display: inline-block; - - } - .tabbar-scroll-li:not(:first-child) { - /* - * (-7 * @virtual_px) value has decimal point. - * That occured to element position incorrectly in various browser in which include tizen webkit browser. - * So, margin-left value should be fixed integer px unit. - */ - margin-left: -5 * @virtual_px; - } - } -} -.ui-footer { - .ui-navbar { - li { - padding-left: 6 * @virtual_px; - padding-right: 6 * @virtual_px; - box-sizing: border-box; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/tabindicator.less b/tools/ThemeEditor/src/res/less/tv/default/common/tabindicator.less deleted file mode 100644 index 80ecb17c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/tabindicator.less +++ /dev/null @@ -1,21 +0,0 @@ -/*************************************************************************** - Tab Style -***************************************************************************/ -.ui-tab-indicator { - position:relative; - height: 6 * @virtual_px; -} - -.ui-tab-indicator .ui-tab-item { - position:absolute; - top: 0; - left: 0; - display:block; - height: 6 * @virtual_px; - background-color: @color_tab_normal; -} - -.ui-tab-indicator .ui-tab-item.ui-tab-active { - background-color: @color_tab_active; -} - diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/toggleswitch.less b/tools/ThemeEditor/src/res/less/tv/default/common/toggleswitch.less deleted file mode 100644 index 5fc1ba73..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/toggleswitch.less +++ /dev/null @@ -1,132 +0,0 @@ -/* - * toggle switch - */ -.ui-switch-activation, .ui-switch-handler { - display: block; - background: url('images/Controller_icon/tw_btn_toggle_dark.png') no-repeat; -} - -.ui-switch { - width: 100%; - color: @color_switch_text; -} - -.ui-toggleswitch { - display: block; - width: @fixed_toggleswitch_width; - margin: 0 auto; -} -.ui-switch-text { - margin-top: @fixed_toggleswitch_text_margin_top; - margin-bottom: @fixed_toggleswitch_text_margin_bottom; - padding: 0 30 * @virtual_px; - font-size: @fixed_toggleswitch_text_font_size; - text-align: center; -} -.ui-switch-input { - display: none; -} - -.ui-switch-inneroffset { - width: 50%; - height: 100%; -} - -.ui-switch-activation { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -72 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -288 * @virtual_px; - left: 0%; - } -} - -.ui-switch-activation:active { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -144 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:active { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -360 * @virtual_px; - left: 0% - } -} - -.ui-switch-activation:disable { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -0 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:disable { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -216 * @virtual_px; - left: 0%; - } -} - -.ui-switch-input:checked ~ & { - display: none; - - .ui-switch-activation { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -72 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -504 * @virtual_px; - left: 72%; - } - } - .ui-switch-activation:active { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -144 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:active { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -576 * @virtual_px; - left: 72%; - } - } - .ui-switch-activation:disable { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-position: -2 * @virtual_px -0 * @virtual_px; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:disable { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-position: -2 * @virtual_px -432 * @virtual_px; - left: 72%; - } - } -} - diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/transition.fade.less b/tools/ThemeEditor/src/res/less/tv/default/common/transition.fade.less deleted file mode 100644 index fdad2340..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/transition.fade.less +++ /dev/null @@ -1,61 +0,0 @@ -// keyframes need to be prefixed by hand since prefixer does not support them -// and less below version 1.7.0 does not autoprefix them -.tv-fadein() { - from { opacity: 0; } - to { opacity: 1; } -} - -.tv-fadeout() { - from { opacity: 1; } - to { opacity: 0; } -} - -@-webkit-keyframes fadein { - .tv-fadein(); -} - -@-moz-keyframes fadein { - .tv-fadein(); -} - -@-ms-keyframes fadein { - .tv-fadein(); -} - -@-o-keyframes fadein { - .tv-fadein(); -} - -@keyframes fadein { - .tv-fadein(); -} - -@-webkit-keyframes fadeout { - .tv-fadeout(); -} - -@-moz-keyframes fadeout { - .tv-fadeout(); -} - -@-ms-keyframes fadeout { - .tv-fadeout(); -} - -@-o-keyframes fadeout { - .tv-fadeout(); -} - -@keyframes fadeout { - .tv-fadeout(); -} - -.fade.out { - opacity: 0; - .animation(fadeout 125ms); -} - -.fade.in { - opacity: 1; - .animation(fadein 225ms); -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/transition.less b/tools/ThemeEditor/src/res/less/tv/default/common/transition.less deleted file mode 100644 index 0d5b20ba..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/transition.less +++ /dev/null @@ -1,24 +0,0 @@ -/* Transitions originally inspired by those from jQtouch, nice work, folks */ -.ui-viewport-transitioning, -.ui-viewport-transitioning .ui-page { - width: 100vw; - height: 100vh; - overflow: hidden; - .border-box(); -} - -.ui-pre-in { - z-index: 100; - visibility: visible; - display: block; - top: 0; - left: 0; -} -.in { - .animation-timing-function(ease-out); - .animation-duration(350ms); -} -.out { - .animation-timing-function(ease-in); - .animation-duration(225ms); -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/common/transition.slideup.less b/tools/ThemeEditor/src/res/less/tv/default/common/transition.slideup.less deleted file mode 100644 index 7fb47597..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/common/transition.slideup.less +++ /dev/null @@ -1,78 +0,0 @@ -/* slide up */ -.slideup.out { - .animation(fadeout 250ms); -} - -.slideup.in { - .translate3d(0, 0, 0); - .animation(slideinfrombottom 250ms); -} - -.slideup.in.reverse { - .animation(fadein 150ms); -} - -.slideup.out.reverse { - z-index: 101; - .translate3d(0, 100%, 0); - .animation(slideouttobottom 200ms); -} - -.tv-slideinfrombottom { - from { - .translate3d(0, 100%, 0); - } - to { - .translate3d(0, 0, 0); - } -} - -@-webkit-keyframes slideinfrombottom { - .tv-slideinfrombottom; -} - -@-moz-keyframes slideinfrombottom { - .tv-slideinfrombottom; -} - -@-ms-keyframes slideinfrombottom { - .tv-slideinfrombottom; -} - -@-o-keyframes slideinfrombottom { - .tv-slideinfrombottom; -} - -@keyframes slideinfrombottom { - .tv-slideinfrombottom; -} - -.tv-slideouttobottom { - from { - .translate3d(0, 0, 0); - } - - to { - .translate3d(0, 100%, 0); - } -} - -@-webkit-keyframes slideouttobottom { - .tv-slideouttobottom; -} - -@-moz-keyframes slideouttobottom { - .tv-slideouttobottom; -} - -@-ms-keyframes slideouttobottom { - .tv-slideouttobottom; -} - -@-o-keyframes slideouttobottom { - .tv-slideinfrombottom; -} - -@keyframes slideouttobottom { - .tv-slideouttobottom; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/9-patch.less b/tools/ThemeEditor/src/res/less/tv/default/theme-black/9-patch.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/9-patch.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/fixedUIStyle.less b/tools/ThemeEditor/src/res/less/tv/default/theme-black/fixedUIStyle.less deleted file mode 100644 index f1f13e00..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/fixedUIStyle.less +++ /dev/null @@ -1,145 +0,0 @@ -/************************************************************************/ -/* fixedUIStyle.less */ -/************************************************************************/ -/* When system font-size is changed, winset size (ex. header, footer, button, etc, - include font) also changed. But in UX guide, some UI elements should have fixed - size regardless of system font size. - So, this less file supports fixed style for some elements. - - Layout: header, footer, button - - Popup : popup header, popup footer - - toggleswitch - - progress: text for ratio -*/ - -/** Pixel equivalent. Should be used instead of a pixel. */ -@virtual_px: 0.05208333333vw; - -/***********************************************************************/ -/* Layout(FIXED) */ -/***********************************************************************/ -/** Content header margin (fixed). */ -@fixed_header_content_margin: 60 * @virtual_px; -/** Content header padding (fixed). */ -@fixed_header_content_padding: 60 * @virtual_px; -/** Header height (fixed). */ -@fixed_header_height: 146 * @virtual_px; -/** Header line height (fixed). */ -@fixed_header_line_height: 146 * @virtual_px; -/** Header title font size (fixed). */ -@fixed_header_title_font_size: 36 * @virtual_px; -/** Header title margin (fixed). */ -@fixed_header_title_margin: 60 * @virtual_px; -/** Header title padding (fixed). */ -@fixed_header_title_padding: 60 * @virtual_px; -/** Header title icon padding (fixed). */ -@fixed_header_title_icon_padding: 60 * @virtual_px; -/** Header title icon position x (fixed). */ -@fixed_header_title_icon_position_x: 16 * @virtual_px; -/** Header title icon position y (fixed). */ -@fixed_header_title_icon_position_y: 14 * @virtual_px; -/** Header title icon size (fixed). */ -@fixed_header_title_icon_size: 34 * @virtual_px; -/** Header more title padding (fixed). */ -@fixed_header_more_title_padding: 78 * @virtual_px; -/** Header more width (fixed). */ -@fixed_header_more_width: 68 * @virtual_px; -/** Footer height (fixed). */ -@fixed_footer_height: 146 * @virtual_px; -/** Layout page border radius (fixed). */ -@fixed_layout_page_border_radius: 10 * @virtual_px; - -/**********************************************************************/ -/* Button(FIXED) */ -/**********************************************************************/ -/** Button line height (fixed). */ -@fixed_button_line_height: 28 * @virtual_px; -/** Button multiline padding top (fixed). */ -@fixed_button_multiline_padding_top: 10 * @virtual_px; -/** Button multiline padding bottom (fixed). */ -@fixed_button_multiline_padding_bottom: 10 * @virtual_px; -/** Button icon height (fixed). */ -@fixed_button_icon_height: 76 * @virtual_px; -/** Button icon background size (fixed). */ -@fixed_button_icon_bg_size: 60 * @virtual_px; -/** Minimum width of button */ -@fixed_button_minimum_width: 216 * @virtual_px; -/** Minimum width of inner button */ -@fixed_button_inner_minimum_width: 134 * @virtual_px; -/** Minimum heigth of button */ -@fixed_button_minimum_height: 70 * @virtual_px; - -/**********************************************************************/ -/* Popup(FIXED) */ -/**********************************************************************/ -/** Popup header height (fixed). */ -@fixed_popup_header_height: 84 * @virtual_px; -/** Popup header font size (fixed). */ -@fixed_popup_header_font_size: 30 * @virtual_px; -/** Popup footer height (fixed). */ -@fixed_popup_footer_height: 90 * @virtual_px; -/** Popup footer button font size (fixed). */ -@fixed_popup_footer_btn_font_size: 30 * @virtual_px; -/** Popup toast font size (fixed). */ -@fixed_popup_toast_font_size: 24 * @virtual_px; -/** Popup body font size (fixed). */ -@fixed_popup_body_font_size: 34 * @virtual_px; -/** Popup border radius (fixed). */ -@fixed_popup_border_radius: 10 * @virtual_px; -/** Popup header right padding (fixed). */ -@fixed_popup_header_padding_right: 64 * @virtual_px; -/** Popup header left padding (fixed). */ -@fixed_popup_header_padding_left: 64 * @virtual_px; - -/**********************************************************************/ -/* ToggleSwitch(FIXED) */ -/**********************************************************************/ -/** Toggle switch width (fixed). */ -@fixed_toggleswitch_width: 140 * @virtual_px; -/** Toggle switch height (fixed). */ -@fixed_toggleswitch_height: 70 * @virtual_px; -/** Toggle switch text margin top (fixed). */ -@fixed_toggleswitch_text_margin_top: 30 * @virtual_px; -/** Toggle switch text margin bottom (fixed). */ -@fixed_toggleswitch_text_margin_bottom: 40 * @virtual_px; -/** Toggle switch text font size (fixed). */ -@fixed_toggleswitch_text_font_size: 34 * @virtual_px; -/** Toggle switch act margin top (fixed). */ -@fixed_toggleswitch_act_margin_top: 23 * @virtual_px; -/** Toggle switch handler width (fixed). */ -@fixed_toggleswitch_handler_width: 86 * @virtual_px; -/** Toggle switch handler height (fixed). */ -@fixed_toggleswitch_handler_height: 70 * @virtual_px; - -/*********************************************************************/ -/* Progress(FIXED) */ -/*********************************************************************/ -/** Progress proportion font size (fixed). */ -@fixed_progress_proportion_font_size: 20 * @virtual_px; -/** Progress ratio font size (fixed). */ -@fixed_progress_ratio_font_size: 20 * @virtual_px; - -/*********************************************************************/ -/* List(FIXED) */ -/*********************************************************************/ -/** List item font size (fixed) */ -@fixed_list_item_font_size: 22 * @virtual_px; -/** List divider text font size */ -@fixed_list_divider_font_size: 30 * @virtual_px; - -/*********************************************************************/ -/* Slider(FIXED) */ -/*********************************************************************/ -/** Slider border radius (fixed) */ -@fixed_slider_border_radius: .2em; -/** Slider popup minimum height (fixed) */ -@fixed_slider_popup_min_height: 54 * @virtual_px; -/** Slider popup minimum width (fixed) */ -@fixed_slider_popup_min_width: 45 * @virtual_px; -/** Slider image height (fixed) */ -@fixed_slider_image_height: 72 * @unit_base_slider; -/** Slider image width (fixed) */ -@fixed_slider_image_width: 72 * @unit_base_slider; -/** Slider handle height (fixed) */ -@fixed_slider_handle_height: 72 * @unit_base_slider; -/** Slider handle width (fixed) */ -@fixed_slider_handle_width: 72 * @unit_base_slider; diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png Binary files differdeleted file mode 100644 index cac8bf27..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png Binary files differdeleted file mode 100644 index 2048b43e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_disable_holo_dark.png Binary files differdeleted file mode 100644 index f52461cd..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_normal_holo_dark.png Binary files differdeleted file mode 100644 index 08384ede..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_moreoverflow_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png Binary files differdeleted file mode 100644 index b61c7a69..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png Binary files differdeleted file mode 100644 index ea2506c9..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_foc.png Binary files differdeleted file mode 100644 index 3880414e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_nor.png Binary files differdeleted file mode 100644 index 8e954b80..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_check_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_foc.png Binary files differdeleted file mode 100644 index e2737e5b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_nor.png Binary files differdeleted file mode 100644 index 98eb7f3e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/checkbox_uncheck_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_foc.png Binary files differdeleted file mode 100644 index f260790e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_nor.png Binary files differdeleted file mode 100644 index 23c68a6c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_off_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_foc.png Binary files differdeleted file mode 100644 index c6e9dffb..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_nor.png Binary files differdeleted file mode 100644 index 109efb19..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Checkboxradio/radiobtn_on_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 58ece6d1..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 17cfbc4b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_focused_holo_dark.png Binary files differdeleted file mode 100644 index 822a2c4a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_holo_dark.png Binary files differdeleted file mode 100644 index b62d463b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 57a7dd4b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_off_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 58cf05a6..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 190d5155..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_focused_holo_dark.png Binary files differdeleted file mode 100644 index d4db421c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_holo_dark.png Binary files differdeleted file mode 100644 index c7af2831..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 30bb2bd7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_check_on_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 23d166d8..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 0effb3aa..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png Binary files differdeleted file mode 100644 index e6e6501c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_holo_dark.png Binary files differdeleted file mode 100644 index 5b3394ba..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 880f013c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index fbe3ec35..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 2e7be697..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_focused_holo_dark.png Binary files differdeleted file mode 100644 index 820f99be..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_holo_dark.png Binary files differdeleted file mode 100644 index 1a40c574..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_pressed_holo_dark.png Binary files differdeleted file mode 100644 index c506c2b5..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_off_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index e756903f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_holo_dark.png Binary files differdeleted file mode 100644 index a521e064..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_focused_holo_dark.png Binary files differdeleted file mode 100644 index 775ce3f0..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_holo_dark.png Binary files differdeleted file mode 100644 index 830b6455..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 04f8b1b1..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_radio_on_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_toggle_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_toggle_dark.png Binary files differdeleted file mode 100644 index 4c0450b5..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_btn_toggle_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark.png Binary files differdeleted file mode 100644 index 266c73ff..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_dim.png Binary files differdeleted file mode 100644 index 699eb3e0..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 71e5b20c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ebb05a6a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png Binary files differdeleted file mode 100644 index a53449ac..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 53e8ee4a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ef5ae332..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png Binary files differdeleted file mode 100644 index ba749816..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png Binary files differdeleted file mode 100644 index acdf9c47..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 6f99bc85..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_holo_dark.png Binary files differdeleted file mode 100644 index 28e54740..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png Binary files differdeleted file mode 100644 index b74f64e5..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png Binary files differdeleted file mode 100644 index 17a9ba1c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png Binary files differdeleted file mode 100644 index d7a00641..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png Binary files differdeleted file mode 100644 index f9154706..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png Binary files differdeleted file mode 100644 index 0f733479..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png Binary files differdeleted file mode 100644 index e3823c39..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png Binary files differdeleted file mode 100644 index e0d7382f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_divider.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_divider.png Binary files differdeleted file mode 100644 index 30605ce3..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_divider.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_left_softbtn.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_left_softbtn.png Binary files differdeleted file mode 100644 index 6bf1b2e2..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_left_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_focused.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_focused.png Binary files differdeleted file mode 100644 index b26e87c4..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_focused.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_normal.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_normal.png Binary files differdeleted file mode 100644 index 59b9ae14..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_bg_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot.png Binary files differdeleted file mode 100644 index aa5a1d2f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot_01.png Binary files differdeleted file mode 100644 index c9a2d8b4..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_num_dot_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_right_softbtn.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_right_softbtn.png Binary files differdeleted file mode 100644 index 023945a8..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_right_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_time_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_time_bg.png Binary files differdeleted file mode 100644 index f5bf6714..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_time_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_01.png Binary files differdeleted file mode 100644 index 9d0ed360..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_02.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_02.png Binary files differdeleted file mode 100644 index f3ff1edc..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_03.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_03.png Binary files differdeleted file mode 100644 index 05ddd261..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_03.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_04.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_04.png Binary files differdeleted file mode 100644 index 879851c0..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_04.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_05.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_05.png Binary files differdeleted file mode 100644 index b5233245..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_05.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_06.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_06.png Binary files differdeleted file mode 100644 index d320e18c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Datetimepicker/tw_timepicker_wheel_06.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Drawer/ico_homebar_menu_arrow.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Drawer/ico_homebar_menu_arrow.png Binary files differdeleted file mode 100644 index 774a13cc..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Drawer/ico_homebar_menu_arrow.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_off.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_off.png Binary files differdeleted file mode 100644 index c1d4bf44..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_on.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_on.png Binary files differdeleted file mode 100644 index 22e92bf8..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_brightness_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_mute.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_mute.png Binary files differdeleted file mode 100644 index a68530ae..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_mute.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_off.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_off.png Binary files differdeleted file mode 100644 index 5b0c4146..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_on.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_on.png Binary files differdeleted file mode 100644 index 98276530..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_outdoor_on.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound.png Binary files differdeleted file mode 100644 index f66d6bad..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound_off.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound_off.png Binary files differdeleted file mode 100644 index 3038dff3..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_sound_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_vibrate.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_vibrate.png Binary files differdeleted file mode 100644 index 23330743..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_device_options_vibrate.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_power_off.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_power_off.png Binary files differdeleted file mode 100644 index 35ab7604..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_power_off.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_restart.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_restart.png Binary files differdeleted file mode 100644 index b32aa3a8..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Popup/tw_ic_lock_restart.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_foc.png Binary files differdeleted file mode 100644 index d2f57f9d..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_nor.png Binary files differdeleted file mode 100644 index 74b26d1f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/progressbar_thumb_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate1_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate1_holo_dark.png Binary files differdeleted file mode 100644 index 5ad93579..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate1_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate2_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate2_holo_dark.png Binary files differdeleted file mode 100644 index bffc30de..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate2_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate3_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate3_holo_dark.png Binary files differdeleted file mode 100644 index a41e8c3f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate3_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate4_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate4_holo_dark.png Binary files differdeleted file mode 100644 index 51c68076..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_progressbar_indeterminate4_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_focused_holo_dark.png Binary files differdeleted file mode 100644 index 0d807e2c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_holo_dark.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_holo_dark.png Binary files differdeleted file mode 100644 index b7c6fdbb..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_scrubber_control_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_widget_popup_activity.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_widget_popup_activity.png Binary files differdeleted file mode 100644 index f49d2390..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Progress/tw_widget_popup_activity.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-bottom.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-bottom.png Binary files differdeleted file mode 100644 index 326b95d3..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-left.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-left.png Binary files differdeleted file mode 100644 index 8673b014..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-right.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-right.png Binary files differdeleted file mode 100644 index d2281f95..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-top.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-top.png Binary files differdeleted file mode 100644 index 980d474f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Scroller/scrollbar-bouncing-effect-top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_01.png Binary files differdeleted file mode 100644 index 8f9214fa..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_02.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_02.png Binary files differdeleted file mode 100644 index 0df85e03..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_brightness_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_01.png Binary files differdeleted file mode 100644 index 1f410236..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_02.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_02.png Binary files differdeleted file mode 100644 index 0f6f7f4b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_button_volume_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle.png Binary files differdeleted file mode 100644 index c6e9dffb..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle_press.png Binary files differdeleted file mode 100644 index ae976f0c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_handle_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_popup_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_popup_bg.png Binary files differdeleted file mode 100644 index ef0a56ec..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Slider/00_slider_popup_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png Binary files differdeleted file mode 100644 index 5e41e9a9..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_body_btn_call_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_body_btn_call_nor.png Binary files differdeleted file mode 100644 index 8337333d..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/Swipelist/b_logs_icon_body_btn_call_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear.png Binary files differdeleted file mode 100644 index eff4c22d..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear_press.png Binary files differdeleted file mode 100644 index 778108ea..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_field_btn_clear_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_search_icon.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_search_icon.png Binary files differdeleted file mode 100644 index c634b56a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_search_icon.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_01.png Binary files differdeleted file mode 100644 index 8f9214fa..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_02.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_02.png Binary files differdeleted file mode 100644 index 0df85e03..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_brightness_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_01.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_01.png Binary files differdeleted file mode 100644 index 1f410236..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_02.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_02.png Binary files differdeleted file mode 100644 index 0f6f7f4b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_button_volume_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle.png Binary files differdeleted file mode 100644 index 3a646866..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle_press.png Binary files differdeleted file mode 100644 index ecb7e42f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_handle_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_popup_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_popup_bg.png Binary files differdeleted file mode 100644 index ef0a56ec..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/00_slider_popup_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back.png Binary files differdeleted file mode 100644 index 76183717..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back_press.png Binary files differdeleted file mode 100644 index 76183717..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_back_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call.png Binary files differdeleted file mode 100644 index 5b837fd1..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call_press.png Binary files differdeleted file mode 100644 index 5b837fd1..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_call_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check.png Binary files differdeleted file mode 100644 index 8df9a9cf..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check_press.png Binary files differdeleted file mode 100644 index 8df9a9cf..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_check_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel.png Binary files differdeleted file mode 100644 index a5b56394..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel_press.png Binary files differdeleted file mode 100644 index a5b56394..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_cancel_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed.png Binary files differdeleted file mode 100644 index 452209df..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed_press.png Binary files differdeleted file mode 100644 index 452209df..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_closed_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus.png Binary files differdeleted file mode 100644 index 0f0170f7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus_press.png Binary files differdeleted file mode 100644 index 0f0170f7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_minus_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened.png Binary files differdeleted file mode 100644 index 5b5cbd04..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened_press.png Binary files differdeleted file mode 100644 index 5b5cbd04..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_opened_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send.png Binary files differdeleted file mode 100644 index 521b4b22..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send_press.png Binary files differdeleted file mode 100644 index 521b4b22..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_expand_send_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear.png Binary files differdeleted file mode 100644 index 8e4b359e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear_press.png Binary files differdeleted file mode 100644 index 8e4b359e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_gear_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid.png Binary files differdeleted file mode 100644 index ca6b7690..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid_press.png Binary files differdeleted file mode 100644 index ca6b7690..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_grid_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home.png Binary files differdeleted file mode 100644 index 1ba38209..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home_press.png Binary files differdeleted file mode 100644 index 1ba38209..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_home_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info.png Binary files differdeleted file mode 100644 index 1e5d984f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info_press.png Binary files differdeleted file mode 100644 index 1e5d984f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_info_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left.png Binary files differdeleted file mode 100644 index b4eca6db..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left_press.png Binary files differdeleted file mode 100644 index b4eca6db..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_left_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus.png Binary files differdeleted file mode 100644 index 12cbe299..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus_press.png Binary files differdeleted file mode 100644 index 12cbe299..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_plus_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh.png Binary files differdeleted file mode 100644 index 33ff934d..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh_press.png Binary files differdeleted file mode 100644 index 33ff934d..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_refresh_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename.png Binary files differdeleted file mode 100644 index e3603b86..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename_press.png Binary files differdeleted file mode 100644 index e3603b86..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_rename_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right.png Binary files differdeleted file mode 100644 index 659ea765..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right_press.png Binary files differdeleted file mode 100644 index 659ea765..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_right_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search.png Binary files differdeleted file mode 100644 index 12f47148..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search_press.png Binary files differdeleted file mode 100644 index 12f47148..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_search_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star.png Binary files differdeleted file mode 100644 index f6083945..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star_press.png Binary files differdeleted file mode 100644 index f6083945..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_star_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning.png Binary files differdeleted file mode 100644 index 4a39960a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning_press.png Binary files differdeleted file mode 100644 index 4a39960a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_button_warning_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump.png Binary files differdeleted file mode 100644 index 3692cbdb..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left.png Binary files differdeleted file mode 100644 index 9c299acf..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left_press.png Binary files differdeleted file mode 100644 index 9c299acf..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_left_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_press.png Binary files differdeleted file mode 100644 index 3692cbdb..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/controls/button/00_icon_jump_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/app_ico_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/app_ico_bg.png Binary files differdeleted file mode 100644 index b12e070c..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/app_ico_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/bg_ico_76_shadow.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/bg_ico_76_shadow.png Binary files differdeleted file mode 100644 index 113988ca..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/bg_ico_76_shadow.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/dynamicbar_ico_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/dynamicbar_ico_bg.png Binary files differdeleted file mode 100644 index 53323f44..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/dynamicbar_ico_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_foc.png Binary files differdeleted file mode 100644 index 51533728..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_nor.png Binary files differdeleted file mode 100644 index 5f5e2cc7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_app_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_foc.png Binary files differdeleted file mode 100644 index e9e4cf70..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_nor.png Binary files differdeleted file mode 100644 index 89c3cc07..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_live_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_foc.png Binary files differdeleted file mode 100644 index 98abbf1b..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_nor.png Binary files differdeleted file mode 100644 index 00693ab7..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_moive_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_schedulerec_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_schedulerec_nor.png Binary files differdeleted file mode 100644 index f58bb260..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_schedulerec_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_foc.png Binary files differdeleted file mode 100644 index 87aea7ea..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_nor.png Binary files differdeleted file mode 100644 index 5cef3a88..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_source_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_foc.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_foc.png Binary files differdeleted file mode 100644 index afd2bf92..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_foc.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_nor.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_nor.png Binary files differdeleted file mode 100644 index 8e0bfb07..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/ico_tv_show_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/user_change_area_userlist_ico_bg.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/user_change_area_userlist_ico_bg.png Binary files differdeleted file mode 100644 index b89e2b66..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/icons/user_change_area_userlist_ico_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/input/spin_button.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/input/spin_button.png Binary files differdeleted file mode 100644 index 48f5b95e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/input/spin_button.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back.png Binary files differdeleted file mode 100644 index 815a3438..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back_press.png Binary files differdeleted file mode 100644 index fcbc3466..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_Back_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_press_web.png Binary files differdeleted file mode 100644 index 5d036a34..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_web.png Binary files differdeleted file mode 100644 index 76f10ec9..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_SIP_close_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_press_web.png Binary files differdeleted file mode 100644 index 872ad335..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_web.png Binary files differdeleted file mode 100644 index 3c37e96a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_cancel_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_press_web.png Binary files differdeleted file mode 100644 index 829c8b05..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_web.png Binary files differdeleted file mode 100644 index d105c7b1..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_delete_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_press_web.png Binary files differdeleted file mode 100644 index b56c0f19..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_web.png Binary files differdeleted file mode 100644 index 7b58fc45..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_done_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_press_web.png Binary files differdeleted file mode 100644 index b52b2b6a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_web.png Binary files differdeleted file mode 100644 index a56d1f69..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_edit_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more.png Binary files differdeleted file mode 100644 index 95f17c75..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more_press.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more_press.png Binary files differdeleted file mode 100644 index d4d6951e..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_more_press.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_press_web.png Binary files differdeleted file mode 100644 index f15fb719..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_web.png Binary files differdeleted file mode 100644 index d49406f6..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_plus_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_press_web.png Binary files differdeleted file mode 100644 index 464c5c77..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_web.png Binary files differdeleted file mode 100644 index 7788bece..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_search_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_press_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_press_web.png Binary files differdeleted file mode 100644 index 32ae22e4..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_press_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_web.png b/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_web.png Binary files differdeleted file mode 100644 index ce4af60f..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/images/page/00_icon_select_all_web.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.color.less b/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.color.less deleted file mode 100644 index 45e32cc8..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.color.less +++ /dev/null @@ -1,175 +0,0 @@ -/*************************************************************************** - Body -***************************************************************************/ -@color_bg: rgb(0, 0, 0); // #[color] main background body color -@color_text: rgb(250, 250, 250); // #[color] main body text color - -/*************************************************************************** - Action Bar -***************************************************************************/ -@color_actionbar_title_text: rgb(255, 255, 255); // #[color] title text color -@color_actionbar_title_bg: rgb(42,76,130); // #[color] title background color -@color_actionbar_more_pressed_bg: rgb(99, 93, 89); // #[color] more pressed background color -@icon_actionbar_more_detail_normal: "./images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png"; -@icon_actionbar_more_detail_disable: "./images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png"; -@icon_actionbar_more_overflow_normal: "./images/Actionbar/tw_ic_menu_moreoverflow_normal_holo_dark.png"; -@icon_actionbar_more_overflow_disable: "./images/Actionbar/tw_ic_menu_moreoverflow_disable_holo_dark.png"; -@icon_actionbar_more_selectall_normal: "./images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png"; -@icon_actionbar_more_selectall_disable: "./images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png"; - -/**************************************************************************** - Content -****************************************************************************/ -@color_content_bg: rgb(53, 80, 123); // #[color] background color - -/**************************************************************************** - Progress Bar -****************************************************************************/ -@color_progressbar_text: rgb(255, 255, 255); // #[color] text color -@color_progressbar_normal_bg: rgb(17, 17, 17); // #[color] normal background color -@color_progressbar_value_bg: rgb(255, 134, 0); // #[color] value background color - -/**************************************************************************** - Toggle Switch -****************************************************************************/ -@color_switch_text: rgb(255, 255, 255); // #[color] text color - -/*************************************************************************** - Buttons -***************************************************************************/ -@color_button_default_text: rgb(255, 255, 255); // #[color] default text color -@color_button_default_text_disable: rgb(51, 51, 51); // #[color] Disabled button default text color -@color_button_basic_normal: rgb(211, 211, 211); // #[color] Color of basic button background - normal -@color_button_basic_txt_normal: rgb(89, 89, 89); // #[color] Color of basic button text - normal -@color_button_basic_txt_focus: rgb(255, 255, 255); // #[color] Color of basic button text - focused -@color_button_icon_source: rgb(69, 143, 255); // #[color] Background color of icon source button -@color_button_icon_app: rgb(69, 143, 255); // #[color] Background color of icon app button -@color_button_with_icon: rgb(255, 255, 255); // #[color] Text color of button with icon - -@color_button_red_text: rgb(255, 255, 255); // #[color] Red button text color -@color_button_red_text_disable: rgba(255, 255, 255, 0.15); // #[color] Disabled red button text color -@color_button_red_normal_bg: #ce2302; // #[color] Red button normal background color -@color_button_red_focus_bg: #ce2302; // #[color] Red button focused background color -@color_button_red_press_bg: #dd654e; // #[color] Red button pressed background color -@color_button_red_disable_bg: #4e1910; // #[color] Red button disabled background color - -@color_button_orange_text: rgb(255, 255, 255); // #[color] Orange button text color -@color_button_orange_text_disable: rgba(255, 255, 255, 0.15); // #[color] Orange button disabled text color -@color_button_orange_normal_bg: #ed8600; // #[color] Orange button normal background color -@color_button_orange_focus_bg: #ed8600; // #[color] Orange button focused background color -@color_button_orange_press_bg: #f0aa56; // #[color] Orange button pressed background color -@color_button_orange_disable_bg: #462805; // #[color] Orange button disabled background color - -@color_button_green_text: rgb(255, 255, 255); // #[color] Green button text color -@color_button_green_text_disable: rgba(255, 255, 255, 0.15); // #[color] Green button disabled text color -@color_button_green_normal_bg: #64a323; // #[color] Green button normal background color -@color_button_green_focus_bg: #64a323; // #[color] Green button focused background color -@color_button_green_press_bg: #92be5e; // #[color] Green button pressed background color -@color_button_green_disable_bg: #26351e; // #[color] Green button disabled background color - -@color_bar_header_btn: rgba(95, 159, 232, 1); // #[color] Bar header button background color -@color_bar_btn_normal: rgba(244, 244, 244, 1); // #[color] Bar button normal background color - -/*************************************************************************** - Popup -***************************************************************************/ -@color_popup_title_text: rgb(255, 255, 255); // #[color] title text color -@color_popup_bg: rgb(255, 255, 255); // #[color] background color -@color_popup_border: rgb(128, 72, 0); // #[color] border background color -@color_popup_header_bg: rgb(42,76,130); // #[color] header background color -@color_popup_header_border: rgb(67, 67, 67); // #[color] header border background color -@color_popup_text: rgb(61, 61, 61); // #[color] text color -@color_popup_footer_btn_focus: rgb(69, 143, 255); // #[color] button background color - focused -@color_popup_text_content: rgb(61, 61, 61); // #[color] content text color -@color_popup_shadow: rgba(0, 0, 0, 0.67); // #[color] shadow color - -/*************************************************************************** - Index scrollbar (vertical) -***************************************************************************/ -@color_indexscrollbar_bg: rgb(34, 34, 34); // #[color] bar background color -@color_indexscrollbar_bg_supplementary: rgb(44, 44, 44); // #[color] bar supplementary background color -@color_indexscrollbar_text: rgb(89, 89, 89); // #[color] bar text color -@color_indexscrollbar_selected_bg: #f99107; // #[color] bar selected background color -@color_indexscrollbar_selected_text: rgb(255, 255, 255); // #[color] bar selected text color -@color_indexscrollbar_selected_text_supplementary: rgb(255, 144, 0); // #[color] bar selected supplementary text color - -@color_indexscrollbar_indicator_bg: rgb(88, 73, 58); // #[color] bar indicator background color -@color_indexscrollbar_indicator_text_normal: rgb(255, 255, 255); // #[color] bar indicator text normal color -@color_indexscrollbar_indicator_text_selected: rgb(255, 144, 0); // #[color] bar indicator text selected color - -/*************************************************************************** - Listview -***************************************************************************/ -@color_listview_border: rgb(74, 102, 144); // #[color] border color -@color_listview_text: rgb(255, 255, 255); // #[color] text color -@color_list_btn_txt_focus: rgb(255, 255, 255); // #[color] Focused button text color -@color_listview_txt_disabled: rgb(51, 51, 51); // #[color] Disabled element text color -@color_list_divider_text: rgb(66, 87, 144); // #[color] List divider text color -@color_list_divider_line_bg: rgb(66, 87, 144); // #[color] List divider normal line background color -@color_listview_bg_color_white: rgb(255, 255, 255); // #[color] white background color -@list_sub_txt_color: rgb(189, 167, 146); // #[color] sub element text color - -/*************************************************************************** - Scroller -***************************************************************************/ -@color_tab_normal: rgb(53, 48, 44); // #[color] Tab indicator normal background color -@color_tab_active: rgb(249, 145, 7); // #[color] Tab indicator active background color -@color_scroller_scrollbar_color: #666666; // #[color] scrollbar color -@bg_scroller_bouncing_effect_top: "./images/Scroller/scrollbar-bouncing-effect-top.png"; -@bg_scroller_bouncing_effect_bottom: "./images/Scroller/scrollbar-bouncing-effect-bottom.png"; -@bg_scroller_bouncing_effect_left: "./images/Scroller/scrollbar-bouncing-effect-left.png"; -@bg_scroller_bouncing_effect_right: "./images/Scroller/scrollbar-bouncing-effect-right.png"; - -/*************************************************************************** - Drawer -***************************************************************************/ -@color_drawer_bg: rgba(0,0,0,.85); // #[color] background color -@color_drawer_border: rgba(64, 64, 64, 1); // #[color] border color -@color_drawer_list_press: rgba(95, 160, 233, 1); // #[color] listview button down background color -@drawer_back_background: "./images/Drawer/ico_homebar_menu_arrow.png"; -@color_drawer_btn_close_background: rgb(69, 143, 255); // #[color] button close background color -@color_drawer_footer_btn_background: rgb(69, 143, 255); // #[color] footer button background color -@color_drawer_btn: rgb(255, 255, 255); // #[color] listview elements background color -@color_drawer_listview_not_divider: rgb(42, 50, 64); // #[color] listview not listdivider background color -@color_drawer_listview_not_divider_border: rgb(6, 8, 11); // #[color] listview not listdivider border color -@color_drawer_divider_btn: rgb(211, 211, 211); // #[color] list divider button color -@color_drawer_footer_btn: rgb(211, 211, 211); // #[color] footer button color -@color_drawer_dinamic_footer_background: rgb(45, 45, 45); // #[color] footer background color of dinamic list elements -@color_drawer_poster_icon_footer_background: rgb(45, 45, 45); // #[color] footer background color of poster/icon elements - -/*************************************************************************** - Grid -***************************************************************************/ -@color_grid_txt_normal: rgb(211, 211, 211); // #[color] buttons text basic color -@color_grid_btn_focus_border: rgb(69, 143, 255); // #[color] Focused button border color -@color_grid_btn_focus_thumb_content: rgb(69, 143, 255); // #[color] Focused thumbnail content background color - -/*************************************************************************** - Input -***************************************************************************/ -@color_input_bg: rgb(255, 255, 255); // #[color] background color -@color_input_text: rgba(61, 61, 61, 0.5); // #[color] text color -@color_input_border: rgba(61, 61, 61, 0.5); // #[color] border color -@color_input_text_focus: rgb(61, 61, 61); // #[color] Focused text color -@color_input_number_text: rgb(69, 143, 255); // #[color] Number text color -@color_input_number_bg_focus: rgb(69, 143, 255); // #[color] Focused number background color -@color_input_number_border_focus: rgb(69, 143, 255); // #[color] Focused number border color -@color_input_number_text_focus: rgb(255, 255, 255); // #[color] Focused number text color - -/*************************************************************************** - Scrollbar -***************************************************************************/ -@color_scrollbar_thumb_bg: rgba(0, 0, 0, 0.25); // #[color] thumb background color - -/*************************************************************************** - Slider -***************************************************************************/ -@color_slider_handle_text: rgb(250, 250, 250); // #[color] handle text color -@color_slider_handle_text_press: rgb(250, 250, 250); // #[color] handle pressed text color -@color_slider_popup_text: rgb(76, 81, 88); // #[color] popup text color -@color_slider_popup_bg: rgb(238, 238, 238); // #[color] popup background color -@color_slider_left_text: rgb(186, 186, 186); // #[color] left text color -@color_slider_right_text: rgb(186, 186, 186); // #[color] right text color -@color_slider_not_toggle_switch: rgb(51, 67, 83); // #[color] not toggle switch, background color -@color_slider_bg: rgb(65, 91, 254); // #[color] background color -@slider_lessbox_shadow: rgb(116, 113, 127); // #[color] lessbox shadow diff --git a/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.less b/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.less deleted file mode 100644 index 4ed79a1a..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/theme-black/theme.less +++ /dev/null @@ -1,8 +0,0 @@ -@import "theme.color.less"; -@import "fixedUIStyle.less"; -@import "9-patch.less"; -@import "../tv.less"; - -.tau-info-theme:after { - content: "black"; -} diff --git a/tools/ThemeEditor/src/res/less/tv/default/tv.less b/tools/ThemeEditor/src/res/less/tv/default/tv.less deleted file mode 100644 index 8ee8ba66..00000000 --- a/tools/ThemeEditor/src/res/less/tv/default/tv.less +++ /dev/null @@ -1,26 +0,0 @@ -@import "../../prefixer.less"; -@import "../../prefixer.ext.less"; -@import "common/reset.less"; -@import "common/core.less"; -@import "common/layout.less"; -@import "common/progress.less"; -@import "common/toggleswitch.less"; -@import "common/button.less"; -@import "common/popup.less"; -@import "common/listview.less"; -@import "common/grid.less"; -@import "common/datetimepicker"; -@import "common/transition.less"; -@import "common/transition.fade.less"; -@import "common/transition.slideup.less"; -@import "common/indexscrollbar.less"; -@import "common/scroller.less"; -@import "common/slider.less"; -@import "common/swipelist.less"; -@import "common/tabindicator.less"; -@import "common/drawer.less"; -@import "common/input.less"; -@import "common/checkboxradio.less"; -@import "common/scrollbar.less"; -@import "common/grids.less"; -@import "common/tabbar.less"; diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/button.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/button.less deleted file mode 100644 index 510e2949..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/button.less +++ /dev/null @@ -1,151 +0,0 @@ -.ui-btn { - display: block; - padding-top: @fixed_button_padding_top; - padding-right: @fixed_button_padding_right; - padding-bottom: @fixed_button_padding_bottom; - padding-left: @fixed_button_padding_left; - margin: 0px; - font-size: @fixed_button_font_size; - line-height: @fixed_button_line_height; - text-align: center; - white-space: nowrap; - cursor:pointer; - vertical-align: middle; - text-overflow: ellipsis; - overflow: hidden; - border:0 none; - .ui-default; - - &.ui-multiline { - padding-top: @fixed_button_multiline_padding_top; - padding-bottom: @fixed_button_multiline_padding_bottom; - } - - &.ui-inline { - display: inline-block; - } - - &.ui-btn-icon { - background-position: center center; - height: @fixed_button_icon_height; - text-indent: -1000em; - overflow: hidden; - background-repeat: no-repeat; - background-size: @fixed_button_icon_bg_size @fixed_button_icon_bg_size; - } -} - -.ui-default { - color: @color_button_default_text; - background-color: @color_button_default_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_default_press_bg; - } - - &:enabled:focus { - background-color: @color_button_default_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_default_text_disable; - background-color: @color_button_default_disable_bg; - cursor: default; - } -} - -.ui-color-red { - color: @color_button_red_text; - background-color: @color_button_red_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_red_press_bg; - } - - &:enabled:focus { - background-color: @color_button_red_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_red_text_disable; - background-color: @color_button_red_disable_bg; - cursor: default; - } -} - -.ui-color-orange { - color: @color_button_orange_text; - background-color: @color_button_orange_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_orange_press_bg; - } - - &:enabled:focus { - background-color: @color_button_orange_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_orange_text_disable; - background-color: @color_button_orange_disable_bg; - cursor: default; - } -} - -.ui-color-green { - color: @color_button_green_text; - background-color: @color_button_green_normal_bg; - - a&:active:hover, &:enabled:active:hover { - background-color: @color_button_green_press_bg; - } - - &:enabled:focus { - background-color: @color_button_green_focus_bg; - } - - a&.ui-state-disabled, &:disabled { - color: @color_button_green_text_disable; - background-color: @color_button_green_disable_bg; - cursor: default; - } -} - -.ui-btn:focus, .ui-btn:active { outline: none; } - -a.ui-btn { - text-decoration: none; - box-sizing: border-box; -} - -button.ui-btn, input.ui-btn { - box-sizing: border-box; - .appearance(none); - width: 100%; - - &.ui-inline { - display: inline-block; - width:auto; - } -} - -.ui-grid-col-btn (@counter) when (@counter > 0) { - .ui-grid-col-btn((@counter - 1)); - - .ui-grid-col-@{counter} > .ui-btn { - border-left:solid 1px @color_bg; - &:first-child { - border-left:0px none; - } - } -} - -.ui-grid-col-btn(3); - -.ui-grid-row > .ui-btn { - margin-top: 1px; - - &:first-child { - margin-top: 0px; - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/checkboxradio.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/checkboxradio.less deleted file mode 100644 index 03106234..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/checkboxradio.less +++ /dev/null @@ -1,107 +0,0 @@ -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - padding: 0; - height: 56px; - width: 56px; - font-size: 32px; - .appearance(none); - position: relative; -} - -input[type="radio"] { - background-color: @color_checkboxradio_radiobox; - .mask-image('images/Controller_icon/tw_btn_radiobox_holo_dark.png'); - .mask-repeat(no-repeat); -} - -input[type="radio"]::after { - content: ""; - background-color: @color_checkboxradio_radiobox_line; - .mask-image('images/Controller_icon/tw_btn_radiobox_line.png'); - .mask-repeat(no-repeat); - width: 56px; height: 56px; - position: absolute; -} - -input[type="radio"]:checked::before { - content: ""; - background-color: @color_checkboxradio_radio; - .mask-image('images/Controller_icon/tw_btn_radio_holo_dark.png'); - .mask-repeat(no-repeat); - width: 56px; height: 56px; - position: absolute; -} - -input[type="radio"]:active { - background-color : @color_checkboxradio_radiobox_press; - .mask-image('images/Controller_icon/tw_btn_radiobox_holo_dark.png'); - .mask-repeat(no-repeat); -} - -input[type="radio"]:active::after { - content: ""; - background-color: @color_checkboxradio_radiobox_line_press; - .mask-image('images/Controller_icon/tw_btn_radiobox_line.png'); - .mask-repeat(no-repeat); - width: 56px; height: 56px; - position: absolute; -} - -input[type="radio"]:active:checked::before { - content: ""; - background-color: @color_checkboxradio_radio_press; - .mask-image('images/Controller_icon/tw_btn_radio_holo_dark.png'); - .mask-repeat('no-repeat'); - width: 56px; height: 56px; - position: absolute; -} - -input[type="checkbox"] { - .mask-image('images/Controller_icon/tw_btn_checkbox_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_checkbox; -} - -input[type="checkbox"]::after { - content: ""; - background-color: @color_checkboxradio_checkbox_line; - .mask-image('images/Controller_icon/tw_btn_checkbox_line_holo_dark.png'); - .mask-repeat(no-repeat); - width: 56px; - height: 56px; - position: absolute; -} - -input[type="checkbox"]:checked::before { - content: ""; - .mask-image('images/Controller_icon/tw_btn_check_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_check; - width: 56px; height: 56px; - position: absolute; -} - -input[type="checkbox"]:active { - .mask-image('images/Controller_icon/tw_btn_checkbox_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_checkbox_press; -} - -input[type="checkbox"]:active::after { - content: ""; - .mask-image('images/Controller_icon/tw_btn_checkbox_line_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_checkbox_line_press; - width: 56px; height: 56px; - position: absolute; -} - -input[type="checkbox"]:active:checked::before { - content: ""; - .mask-image('images/Controller_icon/tw_btn_check_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_checkboxradio_check_press; - width: 56px; height: 56px; - position: absolute; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/core.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/core.less deleted file mode 100644 index 5555c451..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/core.less +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Common definition for theme - */ -/*************************************************************** - default font size (base font from WRT) - => small: 13px - => normal: 17px - => large: 20px - -so, we set @font_size_default as 17px. -This value only used for @rem_base, not for html font-size -html font-size is set by WRT base font-size -***************************************************************/ -@font_size_default: 17px; // Default unit font size. DO NOT USE THIS VALUE IN WIDGET CSS! - -@rem_base: (1rem/@font_size_default); -@em_base: 1em/@font_size_default; // WARNING: Don't use em unit! This value is to be removed. -@px_base: 1px; - -@unit_base: @rem_base; - -@font_family: Tizen, Samsung Sans, Helvetica; - -/****************************** - z-index order collection - ******************************/ -@z_base_maximum: 2147483647; -@z_base_header_footer: 1000; -@z_base_popup: @z_base_header_footer + 100; - -/*************************************************************************** - Common Style -***************************************************************************/ - -.tau-info-theme { - position: absolute; - top: -999px; - left: -999px; -} - -.screen-hidden { visibility: hidden; position: absolute; top: -10000em; left: -10000em;} - -/*************************************************************************** - Default Style. -***************************************************************************/ -button, input { - outline: none; - cursor: pointer; -} - -* { - .border-box(); -} - -a { - text-decoration: none !important; - color: @color_text; -} - -ul, li { - margin: 0; - padding: 0; - list-style-type: none; -} - -img { - margin: 0; - padding: 0; -} - -/****************************** - Global LESS mixin collection - ******************************/ - -// Mixin : background ************************ -.LESSbackground-img-with-gradient(@from: top, @startcolor: #3c3c3c, @endcolor: #111) { - background-image: -webkit-gradient(linear, left top, left bottom, from(@startcolor), to(@endcolor)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(@from, @startcolor, @endcolor); - background-image: -moz-linear-gradient(@from, @startcolor, @endcolor); - background-image: -ms-linear-gradient(@from, @startcolor, @endcolor); - background-image: -o-linear-gradient(@from, @startcolor, @endcolor); - background-image: linear-gradient(@from, @startcolor, @endcolor); -} - -.LESSbackground-with-gradient(@from: top, @startcolor: #3c3c3c, @endcolor: #5c5c5c) { - background: @startcolor; - background: -webkit-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -moz-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -ms-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: -o-linear-gradient(@from, @startcolor 0%, @endcolor 100%); - background: linear-gradient(@from, @startcolor 0%, @endcolor 100%); -} - -.LESSbackground-size(@width, @height) { - -ms-background-size: @width @height; - -moz-background-size: @width @height; - -o-background-size: @width @height; - -webkit-background-size: @width @height; - background-size: @width @height; -} - -// Mixin : border *************************** -.LESSborder-image(@url:url, @width:width, @height:height, @repeat:repeat) { - -moz-border-image: url(@url) @width @height @repeat; - -webkit-border-image: url(@url) @width @height @repeat; - -o-border-image: url(@url) @width @height @repeat; - -ms-border-image: url(@url) @width @height @repeat; - border-image: url(@url) @width @height @repeat; -} -.LESSborder-radius-topleft(@radius) { - -moz-border-radius-topleft: @radius; - -webkit-border-top-left-radius: @radius; - border-top-left-radius: @radius; -} -.LESSborder-radius-topright(@radius) { - -moz-border-radius-topright: @radius; - -webkit-border-top-right-radius: @radius; - border-top-right-radius: @radius; -} -.LESSborder-radius-bottomleft(@radius) { - -moz-border-radius-bottomleft: @radius; - -webkit-border-bottom-left-radius: @radius; - border-bottom-left-radius: @radius; -} -.LESSborder-radius-bottomright(@radius) { - -moz-border-radius-bottomright: @radius; - -webkit-border-bottom-right-radius: @radius; - border-bottom-right-radius: @radius; -} -.LESSborder-radius-all(@radius) { - -o-border-radius: @radius; - -ms-border-radius: @radius; - -moz-border-radius: @radius; - -webkit-border-radius: @radius; - border-radius: @radius; -} -.LESSborder-radius-allimportant(@radius) { - -o-border-radius: @radius ! important; - -ms-border-radius: @radius ! important; - -moz-border-radius: @radius ! important; - -webkit-border-radius: @radius ! important; - border-radius: @radius ! important; -} -// Mixin : box *************************** -.LESSbox-shadow(@hshadow, @vshadow, @blur, @color) { - -o-box-shadow: @hshadow @vshadow @blur @color; - -ms-box-shadow: @hshadow @vshadow @blur @color; - -moz-box-shadow: @hshadow @vshadow @blur @color; - -webkit-box-shadow: @hshadow @vshadow @blur @color; - box-shadow: @hshadow @vshadow @blur @color; -} - -.LESSbox-border-shadow(@size, @color) { - -o-box-shadow: inset 0px 0px 0px @size @color; - -ms-box-shadow: inset 0px 0px 0px @size @color; - -moz-box-shadow: inset 0px 0px 0px @size @color; - -webkit-box-shadow: inset 0px 0px 0px @size @color; - box-shadow: inset 0px 0px 0px @size @color; -} - -.LESSbox-shadow-line( @value ) { - -o-box-shadow: @value; - -ms-box-shadow: @value; - -moz-box-shadow: @value; - -webkit-box-shadow: @value; - box-shadow: @value; -} - -.LESSbox-boxsizing( @value ) { - -o-box-sizing: @value; - -ms-box-sizing: @value; - -moz-box-sizing: @value; - -webkit-box-sizing: @value; - box-sizing: @value; -} - -.LESSdisplaybox() { - display:-moz-box; - display:-webkit-box; - display:box; -} -//position: vertical, horizental -.LESSbox-orient(@position) { - -ms-box-orient: @position; - -moz-box-orient: @position; - -o-box-orient: @position; - -webkit-box-orient: @position; - box-orient: @position; -} - -//position: start, center, end -.LESSbox-pack(@position) { - -ms-box-pack: @position; - -moz-box-pack: @position; - -o-box-pack: @position; - -webkit-box-pack: @position; - box-pack: @position; -} - -//position: start, center, end -.LESSbox-align(@position) { - -ms-box-align: @position; - -moz-box-align: @position; - -o-box-align: @position; - -webkit-box-align: @position; - box-align: @position; -} - -// Mixin : Utility ************************************ -// Mixin : transform -.LESStransform(@method) { - transform: @method; - -ms-transform: @method; - -moz-transform: @method; - -webkit-transform: @method; - -o-transform: @method; -} - -// Mixin : text ellipsis -.LESStext-ellipsis() { - white-space: nowrap; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - overflow: hidden !important; -} - -.LESStext-no-ellipsis() { - white-space: normal; - overflow: visible !important; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/datetimepicker.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/datetimepicker.less deleted file mode 100644 index c55585e7..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/datetimepicker.less +++ /dev/null @@ -1,274 +0,0 @@ -.ui-datetime-widget { - position: relative; - height: 100%; -} - -.ui-datetime { - text-align: center; - padding-top: 56px; -} -.ui-time-picker .ui-datetime { - padding-top: 53px; -} - -.ui-datetime:only-child { - padding-top: 92px; -} - -.ui-time-picker .ui-datetime:only-child { - padding-top: 89px; -} - -.ui-datetime input[type='date'], -.ui-datetime input[type='datetime'], -.ui-datetime input[type='time'] { - display: none; -} - -.ui-datefield { - height: 52px; - display: inline-block; - vertical-align: top; -} - -.ui-datefield > .ui-btn { - float: left; - height: 52px; - padding: 0; - line-height: 52px; - font-size: 42px; - font-weight: 600; - border-radius:2px; - background-color: rgba(255, 255, 255, 0.15); -} - -.ui-datefield .ui-datefield-separator { - display: block; - height: 100%; - float: left; - width: 18px; - background: transparent url('./images/Datetimepicker/tw_timepicker_num_dot.png'); -} - -.ui-datefield > .ui-btn:enabled:focus { - background-color: rgba(255, 255, 255, 0.15); -} - -.ui-datefield > .ui-btn:disabled { - color: rgb(64, 64, 64); -} - -.ui-datafield > .ui-btn.ui-selected, -.ui-datefield > .ui-btn:enabled:active, -.ui-datefield > .ui-btn.ui-state-active:enabled, -.ui-datefield > .ui-btn.ui-selected:enabled { - background-color: #ff9000; - color: #000; -} - -/* -- for datepicker -- */ -.ui-date-picker .ui-datefield > .ui-btn:first-child { - margin-right: 2px; -} - -.ui-date-picker .ui-datefield > .ui-btn:last-child { - margin-left: 2px; -} - -.ui-date-picker .ui-datefield-year { - width: 114px; -} - -.ui-date-picker .ui-datefield-month { - width: 102px; -} - -.ui-date-picker .ui-datefield-day { - width: 68px; -} -/* -- end (for datepicker) -- */ -/* -- for timepicker -- */ -.ui-time-picker .ui-datefield-hour { - width: 74px; -} - -.ui-time-picker .ui-datefield-min { - width: 74px; -} - -.ui-time-picker .ui-datefield-period { - width: 84px; - margin-left: 10px; -} -.ui-time-picker .ui-datefield { - height: 58px; -} -.ui-time-picker .ui-datefield > .ui-btn { - height: 58px; - line-height: 58px; - font-size: 50px; -} - -.ui-time-picker .ui-datefield > .ui-btn.ui-datefield-period { - font-size: 48px; -} -/* -- (end) for timepicker -- */ - -.ui-datetime-wheel { - height: 68px; - margin: 0 10px; - margin-top: 30px; -} - -.ui-time-picker .ui-datetime-wheel { - margin-top: 27px; -} - -.ui-datetime-wheel .ui-btn { - width: 68px; - height: 68px; - float: left; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus { - float: right; - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:enabled:active, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:enabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus:disabled:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus.ui-state-disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-plus.ui-state-disabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:enabled:active, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:enabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus:disabled:active:hover, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus.ui-state-disabled, -.ui-datetime-wheel .ui-btn.ui-datetime-wheel-minus.ui-state-disabled:active:hover { - background: transparent url('./images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png') center center no-repeat; -} - -.ui-datetime-wheel .ui-wheel { - display:block; - margin-left: 68px; - margin-right: 68px; - height: 68px; - padding: 10px 0; - background: url('./images/Datetimepicker/tw_timepicker_wheel_01.png') center center no-repeat; -} - -.ui-datetime-btns { - position: absolute; - bottom: 0; - width: 100%; - height: 76px; - border-top: 2px solid #262626; -} - -/* Button separator */ -.ui-datetime-btns::before { - content: ""; - height: 34px; - width: 1px; - background-color: #262626; - position: absolute; - left: 160px; - top: 20px; -} - -.ui-datetime-btns .ui-btn { - height: 100%; - position: relative; - background-color: transparent; -} - -.ui-datetime-btns .ui-btn:enabled:active, -.ui-datetime-btns .ui-btn:enabled:focus, -.ui-datetime-btns .ui-btn:enabled:active:focus { - background-color: transparent; -} - -.ui-datetime-btns .ui-btn-left { - width: 160px; - float: left; - background: url('./images/Datetimepicker/tw_timepicker_left_softbtn.png') center center no-repeat; -} - -.ui-datetime-btns .ui-btn-right { - width: 159px; - float: right; - background: url('./images/Datetimepicker/tw_timepicker_right_softbtn.png') center center no-repeat; -} - -.ui-datetime-btns .ui-btn:disabled, -.ui-datetime-btns .ui-btn.ui-state-disabled { - opacity: 0.2; -} - -/* ---------------- */ - -.ui-datetime-periods { - height: 102px; - margin-top: 7px; - display: inline-block; -} - -.ui-datetime-periods .ui-btn, -.ui-datetime-periods .ui-datetime-periods-separator { - height: 100%; - float: left; - padding: 0; - background: transparent; -} - -.ui-datetime-periods .ui-btn { - width: 102px; - font-size: 34px; - line-height: 102px; -} - -.ui-datetime-periods .ui-btn:enabled:focus { - background: transparent; -} - -.ui-datetime-periods .ui-btn:enabled:active, -.ui-datetime-periods .ui-btn:enabled:active:focus, -.ui-datetime-periods .ui-btn.ui-selected:enabled:active, -.ui-datetime-periods .ui-btn.ui-state-active:enabled:active { - color: inherit; - text-decoration: none; - background: url('./images/Datetimepicker/tw_timepicker_time_bg.png') center center no-repeat; -} - -.ui-datetime-periods .ui-btn.ui-selected:enabled, -.ui-datetime-periods .ui-btn.ui-state-active:enabled { - color: #ff9000; - text-decoration: underline; -} - -.ui-datetime-periods .ui-datetime-periods-separator { - width: 24px; - background: url('./images/Datetimepicker/tw_timepicker_num_dot_01.png') center center no-repeat; -} - -.ui-datetime-wheel.ui-hidden, -.ui-datetime-periods.ui-hidden { - display: none; -}
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/indexscrollbar.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/indexscrollbar.less deleted file mode 100644 index 89ad2823..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/indexscrollbar.less +++ /dev/null @@ -1,81 +0,0 @@ -.ui-indexscrollbar { - display: block; - position: fixed; - right: 0; //TODO:bidi - top: 0; - width: 45 * @unit_base; - height: 100%; - padding-left: 2 * @unit_base; - background-color: @color_indexscrollbar_bg; - z-index: 10; - overflow: visible; // To show 2nd indexbar - .user-select(none); - cursor: pointer; - - ul { - position:absolute; - width: 100%; - top:0; - li { - color: @color_indexscrollbar_text; - display: block; - width: 100%; - text-align: center; - font-size: 24 * @unit_base; - height: 36 * @unit_base; - } - li.ui-state-selected { - background-color: @color_indexscrollbar_selected_bg; - color: @color_indexscrollbar_selected_text; - } - } - ul.ui-indexscrollbar-supplementary { - position: relative; - height: auto; - top: 0; - right: -40 * @unit_base; - width: 100%; - li { - background-color: @color_indexscrollbar_bg_supplementary; - color: @color_indexscrollbar_text; - } - li.ui-state-selected { - background-color: @color_indexscrollbar_bg_supplementary; - color: @color_indexscrollbar_selected_text_supplementary; - } - - } - - & + .ui-listview li { - padding-right: 40*@unit_base; - } -} - -.ui-indexscrollbar-indicator { - position: fixed; - top: 0; - left: 0; - z-index: 9; - display: none; - - >span { - width: 140 * @unit_base; - height: 87 * @unit_base; - position: absolute; - display: block; - top: 50%; - left: 50%; - margin-left: -90 * @unit_base; - margin-top: -43 * @unit_base; - line-height: 87 * @unit_base; - font-size: 70 * @unit_base; - text-align: center; - background-color: @color_indexscrollbar_indicator_bg; - color: @color_indexscrollbar_indicator_text_normal; - - >span.ui-selected { - color: @color_indexscrollbar_indicator_text_selected; - } - - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/layout.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/layout.less deleted file mode 100644 index 10a16aa2..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/layout.less +++ /dev/null @@ -1,208 +0,0 @@ -/*************************************************************************** - Common Style -***************************************************************************/ -.w-layout-no-tap-color() { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} - -html { - .w-layout-no-tap-color(); -} -body { - height: 100%; - font-size: 34 * @unit_base; - font-family: @font_family; - background: @color_bg; - color : @color_text; -} - -.ui-page { - width: 100%; - height: 100%; - overflow: hidden; - display:none; - position: absolute; - top:0; - left:0; - background: @color_bg; - &.ui-page-active { - display: block; - } - &.ui-page-build { - display: block; - visibility: hidden; - } - .w-layout-no-tap-color(); -} - -.ui-content { - width:auto; - height: 100%; - overflow: auto; - .touch-scrolling(); -} - -.ui-header { - position: relative; - width: 100%; - height: @fixed_header_height; - line-height: @fixed_header_line_height; - background-color: @color_actionbar_title_bg; - - .ui-title { - color: @color_actionbar_title_text; - font-size: @fixed_header_title_font_size; - white-space: nowrap; - margin: 0px; - padding-left: @fixed_header_title_padding; - padding-right: @fixed_header_title_padding; - - &.ui-icon { - padding-left: @fixed_header_title_icon_padding; - background-position: @fixed_header_title_icon_position_x @fixed_header_title_icon_position_y; - background-size: @fixed_header_title_icon_size @fixed_header_title_icon_size; - background-repeat: no-repeat; - } - } - - .ui-title-text-fadeout { - -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -moz-mask-image: -moz-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -ms-mask-image: -ms-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - -o-mask-image: -o-linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - mask-image: linear-gradient(left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 95%); - } - - &.ui-has-more { - .ui-title { - padding-right: @fixed_header_more_title_padding; - } - .ui-title-text-fadeout { - -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - -moz-mask-image: -moz-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - -ms-mask-image: -ms-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - -o-mask-image: -o-linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - mask-image: linear-gradient(left, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 80%); - } - } - - button.ui-more, input.ui-more { - border:0 none; - padding: 0; - } - - .ui-more-disable { - cursor: default; - background-color: transparent; - } - - .ui-more { - display: block; - position: absolute; - top: 0px; - right: 0px; - width: @fixed_header_more_width; - height: 100%; - overflow: hidden; - text-indent: -1000em; - background-position: center center; - background-color: transparent; - cursor: pointer; - - &:active { - background-color: @color_actionbar_more_pressed_bg !important; - } - - &.ui-icon-detail { - background-color: @color_actionbar_normal_bg; - .mask-image(@icon_actionbar_more_detail_normal); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - - &[disabled="disabled"] { - .ui-more-disable; - background-color: @color_actionbar_normal_disable; - .mask-image(@icon_actionbar_more_detail_disable); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - } - } - - &.ui-icon-overflow { - background-color: @color_actionbar_normal_bg; - .mask-image(@icon_actionbar_more_overflow); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - - &[disabled="disabled"] { - .ui-more-disable; - background-color: @color_actionbar_normal_disable; - .mask-image(@icon_actionbar_more_overflow); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - } - } - - &.ui-icon-selectall { - background-color: @color_actionbar_normal_bg; - .mask-image(@icon_actionbar_more_selectall_normal); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - - &[disabled="disabled"] { - .ui-more-disable; - background-color: @color_actionbar_normal_disable; - .mask-image(@icon_actionbar_more_selectall_disable); - .mask-size(52 * @unit_base 60 * @unit_base); - .mask-position(center); - .mask-repeat(no-repeat); - } - } - } - -} - -.ui-footer { - width: 100%; - height: @fixed_footer_height; - position: absolute; - bottom: 0; - left: 0; -} - -/*************************************************************************** - Grid layout -***************************************************************************/ -.ui-grid-col { - > * { - float: left; - } -} - -.ui-page { - .ui-grid-col-1 { - .ui-grid-col; - & > * { width:100% } - } - - .ui-grid-col-2 { - .ui-grid-col; - & > * { width:100/2% } - } - - .ui-grid-col-3 { - .ui-grid-col; - & > * { width:100/3% } - } -} - -.ui-grid-row { - > * { - display: block; - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/listview.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/listview.less deleted file mode 100644 index 26b2e7cb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/listview.less +++ /dev/null @@ -1,100 +0,0 @@ -@font_size_list_item: 40 * @unit_base; -/************************ -Listview -*************************/ -.ui-listview li { - font-size: @font_size_list_item; - line-height: 48 * @unit_base; - width: 100%; - min-height: 100 * @unit_base; - padding: 21*@unit_base 8*@unit_base 20*@unit_base 16*@unit_base; - border-bottom: 1px solid @color_listview_border; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - position: relative; - color: @color_listview_text; - - > * { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - .user-select(none); - color: @color_listview_text; - } -} -.ui-listview li > a { - display: block; - width: 100%; - height: 100%; - margin: -21*@unit_base -16*@unit_base; // Fill-up to the parent li - padding: 26*@unit_base 16*@unit_base; // Compensate lost padding of li - .LESSbox-boxsizing( content-box ); // Change size calculation criteria -} - -.ui-listview li.ui-li-active { - background-color: @color_list_press_bg; - color: @color_listview_text_press; -} - -.ui-listview .li-divider { - height: 30 * @unit_base; - min-height: 30 * @unit_base; - line-height: 30 * @unit_base; - padding: 0 8 * @unit_base 0 16 * @unit_base; - background-color: @color_list_divider_bg; - color: @color_list_divider_text; - font-size: 24 * @unit_base; -} - -.ui-listview .ui-li-has-action-icon { - .ui-action-text{ - .calc-width(~"100% - "74 * @unit_base); - height: 100%; - position: absolute; - left: 0; - padding-left: 16 * @unit_base; - padding-top: 20 * @unit_base; - padding-bottom: 20 * @unit_base; - margin-top: -20 * @unit_base; - } - - .ui-action-divider { - position: absolute; - height: 60 * @unit_base; - width: 2 * @unit_base; - background-color: @color_text; - right: 72 * @unit_base; - top: 20%; - } - - .ui-action-delete, .ui-action-setting, .ui-action-add { - position: absolute; - height: 100%; - width: 72 * @unit_base; - right:0; - top: 0; - .mask-size(56 * @unit_base 56 * @unit_base); - .mask-repeat(no-repeat); - .mask-position(center center); - padding-top: 45 * @unit_base; - padding-bottom: 45 * @unit_base; - } - - .ui-action-delete { - .mask-image('./images/listview/tw_list_delete_holo_dark.png'); - background-color: @color_list_actionicon_image_normal; - } - .ui-action-setting { - .mask-image('./images/listview/tw_list_setting_holo_dark.png'); - background-color: @color_list_actionicon_image_normal; - } - .ui-action-add { - .mask-image('./images/listview/tw_list_add_holo_dark.png'); - background-color: @color_list_actionicon_image_normal; - } - - .ui-action-text:active, .ui-action-delete:active, .ui-action-setting:active, .ui-action-add:active { - background-color: @color_list_actionicon_divider; - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.less deleted file mode 100644 index 9bc61083..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.less +++ /dev/null @@ -1,299 +0,0 @@ -@font_size_popup_toast: 24 * @unit_base; -@font_size_popup_body: 34 * @unit_base; - -/*********************** -Normal Popup -***********************/ -.ui-popup { - position: absolute; - left: 0px; - width:100%; - margin: 0; - background-color: @color_popup_bg; - border: 3px solid @color_popup_border; - display: none; - z-index: 1000; - - .ui-popup-header { - width: 100%; - min-height: @fixed_popup_header_height; - font-size: @fixed_popup_header_font_size; - text-align: left; - background-color: @color_popup_header_bg; - color: @color_popup_title_text; - padding-top: @fixed_popup_header_padding_top; - padding-right: @fixed_popup_header_padding_right; - padding-bottom: @fixed_popup_header_padding_bottom; - padding-left: @fixed_popup_header_padding_left; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - .ui-popup-content { - width: 100%; - min-height: 224*@unit_base; - font-size: @font_size_popup_body; - text-align: left; - color: @color_text; - background-color: @color_popup_bg; - padding: 10*@px_base 16*@px_base 9*@px_base 16*@px_base; - overflow:auto; - .touch-scrolling(); - - .ui-listview, - .ui-inline-listview { - margin: -9*@unit_base -16*@unit_base -9*@unit_base -16*@unit_base; - li { - font-size: @font_size_popup_body; - } - } - } - - .ui-popup-footer { - width: 100%; - height: @fixed_popup_footer_height; - - .ui-btn { - padding-top: @fixed_popup_footer_btn_padding_top; - padding-bottom: @fixed_popup_footer_btn_padding_bottom; - font-size: @fixed_popup_footer_btn_font_size; - } - } - - &.ui-popup-active { - display:block; - } - - &.in { - display:block; - } - - &.ui-build { - display:block; - visibility: hidden; - } -} - -/*********************** -Option Popup -***********************/ -.ui-popup.ui-ctxpopup { - background-color: transparent; - width: 100%; - border: 0 none; - - div&.ui-popup-content-size { - width: auto; - padding:0 0 0 0; - .ui-popup-content { - width: auto; - } - } - - .ui-popup-content { - min-height: initial; - background-color: @color_option_popup_bg; - border: 1px solid @color_option_popup_border; - color: #333; - min-height: initial; - - .ui-listview li { - color: @color_option_popup_list_text; - border-bottom: 1px solid @color_option_popup_list_border; - min-height: 90 * @px_base; - padding: 21*@px_base 8*@px_base 20*@px_base 16*@px_base; - - a { - color: @color_option_popup_list_text; - margin: -21*@px_base -16*@px_base; // Fill-up to the parent li - padding: 21*@px_base 16*@px_base; // Compensate lost padding of li - min-height: 48*@px_base; - &:active { - color: @color_option_popup_list_text_pressed; - background-color: @color_option_popup_list_bg_pressed; - } - } - - &:last-child { - border:none; - } - } - - .ui-listview .ui-list-icon { - position:relative; - padding-left:68*@unit_base; - - a { - margin-left:-68*@unit_base; - padding-left:68*@unit_base; - } - - &::before { - content: ""; - position:absolute; - top: 50%; - left: 6*@unit_base; - width: 56*@unit_base; - height: 56*@unit_base; - margin-top: -28*@unit_base; - background-color: @color_option_popup_list_icon_bg; - .mask-size(56 * @unit_base 56 * @unit_base); - .mask-repeat(no-repeat) - } - } - .ui-listview a.ui-list-icon:active::before { - background-color: @color_option_popup_list_icon_bg_pressed; - } - - .ui-inline-listview { - height: 69*@unit_base; - overflow:hidden; - - li { - float:left; - height: 67*@unit_base; - line-height: 67*@unit_base; - border-right: 1px solid @color_option_popup_inline_list_border; - - &:last-child { - border:none; - } - - a { - display:block; - width:100%; - height:100%; - padding: 0*@unit_base 8*@unit_base; - color: @color_option_popup_list_text; - &:active { - color: @color_option_popup_list_text_pressed; - background-color: @color_option_popup_list_bg_pressed; - } - } - } - - .ui-list-icon-notext { - width:59*@unit_base; - height: 67*@unit_base; - text-indent: -1000em; - overflow: hidden; - position:relative; - - &::before { - content: ""; - position:absolute; - top: 50%; - left: 50%; - width: 43*@unit_base; - height: 43*@unit_base; - margin-top: -21.5*@unit_base; - margin-left: -21.5*@unit_base; - background-color: @color_option_popup_inline_list_icon_bg; - .mask-size(43 * @unit_base 43 * @unit_base); - .mask-repeat(no-repeat); - } - } - - a.ui-list-icon-notext:active::before { - background-color: @color_option_popup_inline_list_icon_bg_pressed; - } - - } - } - - .ui-arrow { - width: 36*@px_base; - height: 15*@px_base; - overflow: hidden; - position: absolute; - display: none; - .animation-duration(0); - - span { - width: 20*@px_base; - height: 20*@px_base; - background-color: @color_option_popup_bg; - border: 1px solid @color_option_popup_border; - position:absolute; - top:6*@px_base; - left:8*@px_base; - .transform(rotate(55deg) skew(24deg)); - .animation-duration(0); - } - } - - &.ui-popup-arrow-b { - padding:20*@px_base 20*@px_base 0 20*@px_base; - } - - &.ui-popup-arrow-t { - padding:0 20*@px_base 20*@px_base 20*@px_base; - } - - &.ui-popup-arrow-r { - padding: 20*@px_base 0 20*@px_base 20*@px_base; - } - - &.ui-popup-arrow-l { - padding: 20*@px_base 20*@px_base 20*@px_base 0; - } - - &.ui-popup-arrow-b .ui-arrow { - display: block; - bottom:-14*@px_base; - .rotate(180deg); - } - &.ui-popup-arrow-t .ui-arrow { - display: block; - top:-14*@px_base; - } - &.ui-popup-arrow-r .ui-arrow { - display: block; - right:-25*@px_base; - .rotate(90deg); - } - &.ui-popup-arrow-l .ui-arrow { - display: block; - left:-25*@px_base; - .rotate(-90deg); - } -} - -/**************************************** -Popup Toast -****************************************/ -.ui-popup.ui-popup-toast { - margin-left: 0; - margin-right: 0; - margin-bottom: 0; - font-size: @font_size_popup_toast; - border: 3px solid @color_popup_border; - position: absolute; - bottom: 0; - top: auto; - height: auto; - - .ui-popup-content { - min-height: initial; - padding: 22*@unit_base 13*@unit_base 23*@unit_base 13*@unit_base; - background-color: @color_popup_bg; - } -} - -/**************************************** -Popup Overlay -****************************************/ -.ui-popup-overlay { - position: absolute; - display:none; - top: 0; - width: 100%; - height: 100%; - z-index: 100; - background-color: @color_popup_overlay; - - &.in { - display:block; - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.transition.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.transition.less deleted file mode 100644 index 66fe8032..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/popup.transition.less +++ /dev/null @@ -1,201 +0,0 @@ -/**************************************** -Popup Transition -****************************************/ -.ui-popup { - &.slideup.in { - .animation-name(popupslideinfrombottom); - .animation-duration(250ms); - .transition-timing-function(ease-in-out); - } - &.slideup.out { - .animation-name(popupslideouttobottom); - .animation-duration(250ms); - .transition-timing-function(ease-in-out); - } -} - -.w-pupup-popupslideinfrombottom() { - from { .transform(translateY(100%)); } - to { .transform(translateY(0%)); } -} - -.w-popup-slideouttobottom() { - from { .transform(translateY(0%)); } - to { .transform(translateY(100%)); } -} - -@-webkit-keyframes popupslideinfrombottom { - .w-pupup-popupslideinfrombottom(); -} - -@-moz-keyframes popupslideinfrombottom { - .w-pupup-popupslideinfrombottom(); -} - -@-ms-keyframes popupslideinfrombottom { - .w-pupup-popupslideinfrombottom(); -} - -@-o-keyframes popupslideinfrombottom { - .w-pupup-popupslideinfrombottom(); -} - -@keyframes popupslideinfrombottom { - .w-pupup-popupslideinfrombottom(); -} - -@-webkit-keyframes popupslideouttobottom { - .w-popup-slideouttobottom(); -} - -@-moz-keyframes popupslideouttobottom { - .w-popup-slideouttobottom(); -} - -@-ms-keyframes popupslideouttobottom { - .w-popup-slideouttobottom(); -} - -@-o-keyframes popupslideouttobottom { - .w-popup-slideouttobottom(); -} - -@keyframes popupslideouttobottom { - .w-popup-slideouttobottom(); -} - -/**************************************** -Popup Overlay Transition -****************************************/ -.ui-popup-overlay { - &.slideup.in { - .animation(fadein 250ms); - } - &.slideup.out { - .animation(fadeout 250ms); - } -} - -/**************************************** -Option Popup Transition -****************************************/ -.ui-popup.ui-popup-arrow-t, -.ui-popup.ui-popup-arrow-l, -.ui-popup.ui-popup-arrow-r { - &.slideup.in { - .animation(ctxpopupslideinfrombottom 250ms ease-in-out);; - } - &.slideup.out { - .animation(ctxpopupslideouttobottom 250ms ease-in-out);; - } -} -.ui-popup.ui-popup-arrow-b { - &.slideup.in { - .animation(ctxpopupslideinfromtop 250ms ease-in-out); - } - &.slideup.out { - .animation(ctxpopupslideouttotop 250ms ease-in-out); - } -} - -.w-popup-ctxpopupslideinfrombottom() { - from { transform: translateY(20%); opacity: 0.0;} - to { transform: translateY(0%); opacity: 1.0; } -} - -.w-popup-ctxpopupslideouttobottom() { - from { transform: translateY(0%); opacity: 1.0;} - to { transform: translateY(20%); opacity: 0.0;} -} - -.w-popup-ctxpopupslideinfromtop() { - from { transform: translateY(-20%); opacity: 0.0;} - to { transform: translateY(0%); opacity: 1.0; } -} - -.w-popup-ctxpopupslideouttotop() { - from { transform: translateY(0%); opacity: 1.0;} - to { transform: translateY(-20%); opacity: 0.0;} -} - - -@-webkit-keyframes ctxpopupslideinfrombottom { - .w-popup-ctxpopupslideinfrombottom(); -} - -@-moz-keyframes ctxpopupslideinfrombottom { - .w-popup-ctxpopupslideinfrombottom(); -} - -@-ms-keyframes ctxpopupslideinfrombottom { - .w-popup-ctxpopupslideinfrombottom(); -} - -@-o-keyframes ctxpopupslideinfrombottom { - .w-popup-ctxpopupslideinfrombottom(); -} - -@keyframes ctxpopupslideinfrombottom { - .w-popup-ctxpopupslideinfrombottom(); -} - -@-webkit-keyframes ctxpopupslideouttobottom { - .w-popup-ctxpopupslideouttobottom(); -} - -@-moz-keyframes ctxpopupslideouttobottom { - .w-popup-ctxpopupslideouttobottom(); -} - -@-ms-keyframes ctxpopupslideouttobottom { - .w-popup-ctxpopupslideouttobottom(); -} - -@-o-keyframes ctxpopupslideouttobottom { - .w-popup-ctxpopupslideouttobottom(); -} - -@keyframes ctxpopupslideouttobottom { - .w-popup-ctxpopupslideouttobottom(); -} - -@-webkit-keyframes ctxpopupslideinfromtop { - .w-popup-ctxpopupslideinfromtop(); -} - -@-ms-keyframes ctxpopupslideinfromtop { - .w-popup-ctxpopupslideinfromtop(); -} - -@-ms-keyframes ctxpopupslideinfromtop { - .w-popup-ctxpopupslideinfromtop(); -} - -@-o-keyframes ctxpopupslideinfromtop { - .w-popup-ctxpopupslideinfromtop(); -} - -@keyframes ctxpopupslideinfromtop { - .w-popup-ctxpopupslideinfromtop(); -} - -@-webkit-keyframes ctxpopupslideouttotop { - .w-popup-ctxpopupslideouttotop(); -} - -@-moz-keyframes ctxpopupslideouttotop { - .w-popup-ctxpopupslideouttotop(); -} - -@-ms-keyframes ctxpopupslideouttotop { - .w-popup-ctxpopupslideouttotop(); -} - -@-o-keyframes ctxpopupslideouttotop { - .w-popup-ctxpopupslideouttotop(); -} - -@keyframes ctxpopupslideouttotop { - .w-popup-ctxpopupslideouttotop(); -} - diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/processing.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/processing.less deleted file mode 100644 index 4e4dbd87..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/processing.less +++ /dev/null @@ -1,43 +0,0 @@ -.w-processing-rotating() { - from { .rotate(0deg); } - to { .rotate(360deg); } -} - -@-webkit-keyframes rotating { - .w-processing-rotating(); -} - -@-moz-keyframes rotating { - .w-processing-rotating(); -} - -@-ms-keyframes rotating { - .w-processing-rotating(); -} - -@-o-keyframes rotating { - .w-processing-rotating(); -} - -@keyframes rotating { - .w-processing-rotating(); -} - -.ui-processing { - background-color: @color_processing_activity_01; - .mask-image('./images/Progress/tw_widget_activity_01.png'); - .mask-size(100% 100%); - .mask-repeat(no-repeat); - .animation(rotating 1s linear infinite); - width:80 * @unit_base; - height:80 * @unit_base; - margin: 0 auto; - margin-top: 34 * @unit_base; - margin-bottom: 14 * @unit_base; -} -.ui-processing-text { - margin: 0 auto; - text-align: center; - width: 168 * @unit_base; - font-size: 24 * @unit_base; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/progress.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/progress.less deleted file mode 100644 index 30779fd5..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/progress.less +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Progressbar - */ - -.w-progress-indeterminate() { - 0% { - .mask-image('./images/Progress/tw_progressbar_indeterminate1_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_progressbar_indeterminate; - } - 25% { - .mask-image('./images/Progress/tw_progressbar_indeterminate2_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_progressbar_indeterminate; - } - 50% { - .mask-image('./images/Progress/tw_progressbar_indeterminate3_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_progressbar_indeterminate; - } - 75% { - .mask-image('./images/Progress/tw_progressbar_indeterminate4_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_progressbar_indeterminate; - } - 100% { - .mask-image('./images/Progress/tw_progressbar_indeterminate5_holo_dark.png'); - .mask-repeat(no-repeat); - background-color: @color_progressbar_indeterminate; - } -} - -@-webkit-keyframes indeterminate { - .w-progress-indeterminate(); -} - -@-moz-keyframes indeterminate { - .w-progress-indeterminate(); -} - -@-ms-keyframes indeterminate { - .w-progress-indeterminate(); -} - -@-o-keyframes indeterminate { - .w-progress-indeterminate(); -} - -@keyframes indeterminate { - .w-progress-indeterminate(); -} - -progress { - position: relative; - padding-left: 16 * @unit_base; - padding-right:16 * @unit_base; - margin-top: 14 * @unit_base; - margin-bottom: 14 * @unit_base; - color: @color_progressbar_text; - width: 100%; - height: 6 * @unit_base; - .appearance(none); - border: none; -} - -progress::-webkit-progress-bar { - position: relative; - background-color: @color_progressbar_normal_bg; - border-radius: 2 * @unit_base; - overflow: hidden; -} - -progress::-webkit-progress-value { - background-color: @color_progressbar_value_bg; - height:6 * @unit_base; - border-radius: 2 * @unit_base; - overflow: hidden; -} - -progress.ui-progress-indeterminate::-webkit-progress-bar { - background-color: @color_progressbar_value_bg; -} -progress.ui-progress-indeterminate::-webkit-progress-value { - background-size: 100% 100%; - .animation(indeterminate 150ms infinite); -} - -.ui-progress-proportion { - display: inline-block; - float: left; - font-size: @fixed_progress_proportion_font_size; - padding-left: 16 * @unit_base; - padding-right: 16 * @unit_base; - margin-top: -10 * @unit_base; -} - -.ui-progress-ratio { - display: inline-block; - float: right; - font-size: @fixed_progress_ratio_font_size; - padding-left: 16 * @unit_base; - padding-right: 16 * @unit_base; - margin-top: -10 * @unit_base; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/reset.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/reset.less deleted file mode 100644 index 37af494b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/reset.less +++ /dev/null @@ -1,460 +0,0 @@ -/*! normalize.css v1.0.0 | MIT License | git.io/normalize */ - -/* ========================================================================== - HTML5 display definitions - ========================================================================== */ -/* - * default outline set none - */ - -* { - outline: none; -} -/* - * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section, -summary { - display: block; -} - -/* - * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/* - * Prevents modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/* - * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3, - * and Safari 4. - * Known issue: no IE 6 support. - */ - -[hidden] { - display: none; -} - -/* ========================================================================== - Base - ========================================================================== */ - -/* - * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using - * `em` units. - * 2. Prevents iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-size: 100%; /* 1 */ - .text-size-adjust(100%); /* 2 */ -} - -/* - * Addresses `font-family` inconsistency between `textarea` and other form - * elements. - */ - -html, -button, -input, -select, -textarea { - font-family: @font_family; -} - -/* - * Addresses margins handled incorrectly in IE 6/7. - */ - -body { - margin: 0; -} - -/* ========================================================================== - Links - ========================================================================== */ - -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ - -/* ========================================================================== - Typography - ========================================================================== */ - -/* - * Addresses font sizes and margins set differently in IE 6/7. - * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, - * and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.75em; - margin: 2.33em 0; -} - -/* - * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/* - * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40px; -} - -/* - * Addresses styling not present in Safari 5 and Chrome. - */ - -dfn { - font-style: italic; -} - -/* - * Addresses styling not present in IE 6/7/8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/* - * Addresses margins set differently in IE 6/7. - */ - -p, -pre { - margin: 1em 0; -} - -/* - * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/* - * Improves readability of pre-formatted text in all browsers. - */ - -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -/* - * Addresses CSS quotes not supported in IE 6/7. - */ - -q { - quotes: none; -} - -/* - * Addresses `quotes` property not supported in Safari 4. - */ - -q:before, -q:after { - content: ''; - content: none; -} - -small { - font-size: 75%; -} - -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - Lists - ========================================================================== */ - -/* - * Addresses margins set differently in IE 6/7. - */ - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -/* - * Addresses paddings set differently in IE 6/7. - */ - -menu, -ol, -ul { - padding: 0 0 0 40px; -} - -/* - * Corrects list images handled incorrectly in IE 7. - */ - -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -/* ========================================================================== - Embedded content - ========================================================================== */ - -/* - * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. - * 2. Improves image quality when scaled in IE 7. - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - -/* - * Corrects overflow displayed oddly in IE 9. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - Figures - ========================================================================== */ - -/* - * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. - */ - -figure { - margin: 0; -} - -/* ========================================================================== - Forms - ========================================================================== */ - -/* - * Corrects margin displayed oddly in IE 6/7. - */ - -form { - margin: 0; -} - -/* - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/* - * 1. Corrects color not being inherited in IE 6/7/8/9. - * 2. Corrects text not wrapping in Firefox 3. - * 3. Corrects alignment displayed oddly in IE 6/7. - */ - -legend { - border: 0; /* 1 */ - padding: 0; - white-space: normal; /* 2 */ - *margin-left: -7px; /* 3 */ -} - -/* - * 1. Corrects font size not being inherited in all browsers. - * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, - * and Chrome. - * 3. Improves appearance and consistency in all browsers. - */ - -button, -input, -select, -textarea { - font-size: 100%; /* 1 */ - margin: 0; /* 2 */ - vertical-align: baseline; /* 3 */ - *vertical-align: middle; /* 3 */ -} - -/* - * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -button, -input { - line-height: normal; -} - -/* - * Re-set default cursor for disabled elements. - */ - -button[disabled], -input[disabled] { - cursor: default; -} - -input[type="time"], -input[type="date"] { - color: rgb(0,0,0); -} -/* - * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - .appearance(textfield); - .content-box(); -} - -/* - * Removes inner padding and search cancel button in Safari 5 and Chrome - * on OS X. - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - .appearance(none); -} - -/* - * Removes inner padding and border in Firefox 3+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/* - * 1. Removes default vertical scrollbar in IE 6/7/8/9. - * 2. Improves readability and alignment in all browsers. - */ - -textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ -} - -/* ========================================================================== - Tables - ========================================================================== */ - -/* - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/scroller.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/scroller.less deleted file mode 100644 index 919b6c32..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/scroller.less +++ /dev/null @@ -1,327 +0,0 @@ -/*************************************************************************** - Scrollbar Style -***************************************************************************/ -.ui-scrollbar-bar-type { - position: absolute; -} - -.ui-scrollbar-bar-type.ui-scrollbar-horizontal { - left: 0px; - bottom: 0px; - width: 100%; - height: 8px; -} - -.ui-scrollbar-bar-type.ui-scrollbar-vertical { - right: 0px; - top: 0px; - width: 8px; - height: 100%; -} - -.ui-scrollbar-bar-type .ui-scrollbar-indicator { - position: absolute; - margin: 2px; - background-color: @color_scroller_scrollbar_color; -} - -.ui-scrollbar-bar-type.ui-scrollbar-horizontal .ui-scrollbar-indicator { - height: 4px; -} - -.ui-scrollbar-bar-type.ui-scrollbar-vertical .ui-scrollbar-indicator { - width: 4px; -} - -/*************************************************************************** - Scrollbar Bouncing Effect -***************************************************************************/ -.ui-scrollbar-bouncing-effect { - display: none; - position: absolute; - background-repeat: no-repeat; - .animation-duration(470ms); - .animation-timing-function(step-start); - .animation-fill-mode(forwards); -} - -.ui-scrollbar-bouncing-effect.ui-top { - width: 100%; - height: 56px; - top:0px; - left:0px; - background-image: url(@bg_scroller_bouncing_effect_top); - background-size: 100% 1200px; -} - -.ui-scrollbar-bouncing-effect.ui-bottom { - width: 100%; - height: 56px; - bottom:0px; - left:0px; - background-image: url(@bg_scroller_bouncing_effect_bottom); - background-size: 100% 1200px; -} - -.ui-scrollbar-bouncing-effect.ui-left { - width: 56px; - height: 100%; - top:0px; - left:0px; - background-image: url(@bg_scroller_bouncing_effect_left); - background-size: 1200px 100%; -} - -.ui-scrollbar-bouncing-effect.ui-right { - width: 56px; - height: 100%; - top:0px; - right:0px; - background-image: url(@bg_scroller_bouncing_effect_right); - background-size: 1200px 100%; -} - -.w-scroller-ui-vertical-show() { - 0% { - background-position: center -0px; - } - 10% { - background-position: center -60px; - } - 20% { - background-position: center -120px; - } - 30% { - background-position: center -180px; - } - 40% { - background-position: center -240px; - } - 50% { - background-position: center -300px; - } - 60% { - background-position: center -360px; - } - 70% { - background-position: center -420px; - } - 80% { - background-position: center -480px; - } - 90% { - background-position: center -540px; - } - 100% { - background-position: center -540px; - } -} - -.w-scroller-ui-vertical-hide() { - 0% { - background-position: center -600px; - } - 10% { - background-position: center -660px; - } - 20% { - background-position: center -720px; - } - 30% { - background-position: center -780px; - } - 40% { - background-position: center -840px; - } - 50% { - background-position: center -900px; - } - 60% { - background-position: center -960px; - } - 70% { - background-position: center -1020px; - } - 80% { - background-position: center -1080px; - } - 90% { - background-position: center -1140px; - } - 100% { - background-position: center -1140px; - } -} - -.w-scroller-ui-horizontal-show() { - 0% { - background-position: -0px center; - } - 10% { - background-position: -60px center; - } - 20% { - background-position: -120px center; - } - 30% { - background-position: -180px center; - } - 40% { - background-position: -240px center; - } - 50% { - background-position: -300px center; - } - 60% { - background-position: -360px center; - } - 70% { - background-position: -420px center; - } - 80% { - background-position: -480px center; - } - 90% { - background-position: -540px center; - } - 100% { - background-position: -540px center; - } -} - -.w-scroller-ui-horizontal-hide() { - 0% { - background-position: -600px center; - } - 10% { - background-position: -660px center; - } - 20% { - background-position: -720px center; - } - 30% { - background-position: -780px center; - } - 40% { - background-position: -840px center; - } - 50% { - background-position: -900px center; - } - 60% { - background-position: -960px center; - } - 70% { - background-position: -1020px center; - } - 80% { - background-position: -1080px center; - } - 90% { - background-position: -1140px center; - } - 100% { - background-position: -1140px center; - } -} - -@-webkit-keyframes ui-vertical-show { - .w-scroller-ui-vertical-show(); -} - -@-moz-keyframes ui-vertical-show { - .w-scroller-ui-vertical-show(); -} - -@-ms-keyframes ui-vertical-show { - .w-scroller-ui-vertical-show(); -} - -@-o-keyframes ui-vertical-show { - .w-scroller-ui-vertical-show(); -} - -@keyframes ui-vertical-show { - .w-scroller-ui-vertical-show(); -} - -@-webkit-keyframes ui-vertical-hide { - .w-scroller-ui-vertical-hide(); -} - -@-moz-keyframes ui-vertical-hide { - .w-scroller-ui-vertical-hide(); -} - -@-ms-keyframes ui-vertical-hide { - .w-scroller-ui-vertical-hide(); -} - -@-o-keyframes ui-vertical-hide { - .w-scroller-ui-vertical-hide(); -} - -@keyframes ui-vertical-hide { - .w-scroller-ui-vertical-hide(); -} - -@-webkit-keyframes ui-horizontal-show { - .w-scroller-ui-horizontal-show(); -} - -@-moz-keyframes ui-horizontal-show { - .w-scroller-ui-horizontal-show(); -} - -@-ms-keyframes ui-horizontal-show { - .w-scroller-ui-horizontal-show(); -} - -@-o-keyframes ui-horizontal-show { - .w-scroller-ui-horizontal-show(); -} - -@keyframes ui-horizontal-show { - .w-scroller-ui-horizontal-show(); -} - -@-webkit-keyframes ui-horizontal-hide { - .w-scroller-ui-horizontal-hide(); -} - -@-moz-keyframes ui-horizontal-hide { - .w-scroller-ui-horizontal-hide(); -} - -@-ms-keyframes ui-horizontal-hide { - .w-scroller-ui-horizontal-hide(); -} - -@-o-keyframes ui-horizontal-hide { - .w-scroller-ui-horizontal-hide(); -} - -@keyframes ui-horizontal-hide { - .w-scroller-ui-horizontal-hide(); -} - -.ui-scrollbar-bouncing-effect.ui-top.ui-show, -.ui-scrollbar-bouncing-effect.ui-bottom.ui-show { - display: block; - .animation-name(ui-vertical-show); -} -.ui-scrollbar-bouncing-effect.ui-top.ui-hide, -.ui-scrollbar-bouncing-effect.ui-bottom.ui-hide { - display: block; - .animation-name(ui-vertical-hide); -} -.ui-scrollbar-bouncing-effect.ui-left.ui-show, -.ui-scrollbar-bouncing-effect.ui-right.ui-show { - display: block; - .animation-name(ui-horizontal-show); -} -.ui-scrollbar-bouncing-effect.ui-left.ui-hide, -.ui-scrollbar-bouncing-effect.ui-right.ui-hide { - display: block; - .animation-name(ui-horizontal-hide); -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/swipelist.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/swipelist.less deleted file mode 100644 index 09a2e9da..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/swipelist.less +++ /dev/null @@ -1,61 +0,0 @@ -.ui-swipelist { - position: absolute; - top: 0; -} -.ui-swipelist-left, .ui-swipelist-right { - position: absolute; - display: none; -} - -.ui-swipelist-left { - .linear-gradient-left(@color_list_swipe_left_start_bg, @color_list_swipe_left_start_bg, 0%, @color_list_swipe_left_end_bg, 0%); -} - -.ui-swipelist-right { - .linear-gradient-right(@color_list_swipe_right_start_bg, @color_list_swipe_right_start_bg, 0%, @color_list_swipe_right_end_bg, 0%); -} -.ui-swipelist-icon, .ui-swipelist-text { - position: absolute; -} -.ui-swipelist-left .ui-swipelist-icon { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - width: 20%; - height: 100%; - margin-left: 2%; - background-color: @color_list_swipe_icon_btn_call; - .mask-image('./images/Swipelist/b_logs_icon_body_btn_call_nor.png'); - .mask-repeat(no-repeat); -} -.ui-swipelist-left .ui-swipelist-text { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - margin-left: 40%; - height: 100%; - line-height: 90px; -} -.ui-swipelist-right .ui-swipelist-icon { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - width: 20%; - height: 100%; - margin-left: 80%; - background-color: @color_list_swipe_icon_btn_msg; - .mask-image('./images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png'); - .mask-repeat(no-repeat); -} -.ui-swipelist-right .ui-swipelist-text { - /* - Icon and text need to set position or url and so on. - We thought that swipelist's content style need to be implemented by developer wanted. - */ - margin-left: 20%; - height: 100%; - line-height: 90px; -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/tabindicator.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/tabindicator.less deleted file mode 100644 index 138af96f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/tabindicator.less +++ /dev/null @@ -1,21 +0,0 @@ -/*************************************************************************** - Tab Style -***************************************************************************/ -.ui-tab-indicator { - position:relative; - height: 6px; -} - -.ui-tab-indicator .ui-tab-item { - position:absolute; - top: 0; - left: 0; - display:block; - height: 6px; - background-color: @color_tab_normal; -} - -.ui-tab-indicator .ui-tab-item.ui-tab-active { - background-color: @color_tab_active; -} - diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/toggleswitch.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/toggleswitch.less deleted file mode 100644 index 8082e9b4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/toggleswitch.less +++ /dev/null @@ -1,164 +0,0 @@ -/* - * toggle switch - */ -.ui-switch-activation, .ui-switch-inneroffset, .ui-switch-handler { - display: block; - .mask-image('images/Controller_icon/toggle_changeable.png'); - .mask-repeat(no-repeat); -} - -.ui-switch { - width: 100%; - color: @color_switch_text; -} - -.ui-toggleswitch { - display: block; - width: @fixed_toggleswitch_width; - margin: 0 auto; -} - -.ui-switch-text { - margin-top: @fixed_toggleswitch_text_margin_top; - margin-bottom: @fixed_toggleswitch_text_margin_bottom; - padding: 0 30; - font-size: @fixed_toggleswitch_text_font_size; - text-align: center; -} -.ui-switch-input { - display: none; -} - -.ui-switch-inneroffset { - width: 110px; - height: 88px; - position: absolute; -} - -.ui-switch-inneroffset:active { - background-color: @color_toggle_off_handler_press; -} - -.ui-switch-activation { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - .mask-position(0 0); - background-color: @color_toggle_off_bg; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-inneroffset { - .mask-position(0 -120px); - background-color: @color_toggle_off_handler; - margin-left: 9px; - margin-top: 11px; - } - - .ui-switch-inneroffset:active { - background-color: @color_toggle_off_handler_press; - } - - .ui-switch-handler { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - .mask-position(0 -218px); - background-color: @color_toggle_off_handler_off; - left: 0%; - } -} - -.ui-switch-activation:active { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-color: @color_toggle_off_bg_press; - margin: z0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:active { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-color: @color_toggle_off_handler_off_press; - left: 0% - } -} - -.ui-switch-activation:disable { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - background-color: @color_toggle_off_bg_dim; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-handler:disable { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-color: @color_toggle_off_handler_off_dim; - left: 0%; - } -} - -.ui-switch-input:checked ~ & { - display: none; - - .ui-switch-activation { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - .mask-position(0 0); - background-color: @color_toggle_on_bg; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - - .ui-switch-inneroffset { - .mask-position(0 -120px); - background-color: @color_toggle_on_handler; - margin-left: 89px; - margin-top: 11px; - } - - .ui-switch-inneroffset:active { - background-color: @color_toggle_on_handler_press; - } - - .ui-switch-handler { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - .mask-position(0 -316px); - background-color: @color_toggle_on_handler_on; - left: 0; - } - } - .ui-switch-activation:active { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - background-color: @color_toggle_on_bg_press; - - .ui-switch-handler:active { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-color: @color_toggle_on_handler_on_press; - left: 0; - } - } - .ui-switch-activation:disable { - width: @fixed_toggleswitch_width; - height: @fixed_toggleswitch_height; - margin: 0 auto; - margin-top: @fixed_toggleswitch_act_margin_top; - background-color: @color_toggle_on_bg_dim; - - .ui-switch-handler:disable { - position: relative; - width: @fixed_toggleswitch_handler_width; - height: @fixed_toggleswitch_handler_height; - background-color: @color_toggle_on_handler_on_dim; - left: 0; - } - } -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.fade.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.fade.less deleted file mode 100644 index b348f30a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.fade.less +++ /dev/null @@ -1,55 +0,0 @@ -.w-transition-fadein() { - from { opacity: 0; } - to { opacity: 1; } -} - -.w-transition-fadeout() { - from { opacity: 1; } - to { opacity: 0; } -} - -@-webkit-keyframes fadein { - .w-transition-fadein(); -} - -@-moz-keyframes fadein { - .w-transition-fadein(); -} - -@-ms-keyframes fadein { - .w-transition-fadein(); -} - -@keyframes fadein { - .w-transition-fadein(); -} - -@-webkit-keyframes fadeout { - .w-transition-fadein(); -} - -@-moz-keyframes fadeout { - .w-transition-fadeout(); -} - -@-ms-keyframes fadeout { - .w-transition-fadeout(); -} - -@-o-keyframes fadeout { - .w-transition-fadeout(); -} - -@keyframes fadeout { - .w-transition-fadeout(); -} - -.fade.out { - opacity: 0; - .animation(fadeout 125ms); -} - -.fade.in { - opacity: 1; - .animation(fadein 225ms); -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.less deleted file mode 100644 index 1fbfb6c3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.less +++ /dev/null @@ -1,24 +0,0 @@ -/* Transitions originally inspired by those from jQtouch, nice work, folks */ -.ui-viewport-transitioning, -.ui-viewport-transitioning .ui-page { - width: 100%; - height: 100%; - overflow: hidden; - .border-box(); -} - -.ui-pre-in { - z-index: 100; - visibility: visible; - display: block; - top: 0px; - left: 0px; -} -.in { - .animation-timing-function(ease-out); - .animation-duration(350ms); -} -.out { - .animation-timing-function(ease-in); - .animation-duration(225ms); -} diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.slideup.less b/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.slideup.less deleted file mode 100644 index 1d5b56ae..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/common/transition.slideup.less +++ /dev/null @@ -1,71 +0,0 @@ -/* slide up */ -.slideup.out { - .animation(fadeout 250ms); -} - -.slideup.in { - .transform(translateY(0)); - .animation(slideinfrombottom 250ms); -} - -.slideup.in.reverse { - .animation(fadein 250ms); -} - -.slideup.out.reverse { - z-index: 101; - .transform(translateY(100%)); - .animation(slideouttobottom 250ms); -} - -.w-transition-slideinfrombottom() { - from { .transform(translateY(100%)); } - to { .transform(translateY(0)); } -} - -.w-transition-slideouttobottom() { - from { .transform(translateY(0)); } - to { .transform(translateY(100%)); } -} - - -@-webkit-keyframes slideinfrombottom { - .w-transition-slideinfrombottom(); -} - -@-moz-keyframes slideinfrombottom { - .w-transition-slideinfrombottom(); -} - -@-ms-keyframes slideinfrombottom { - .w-transition-slideinfrombottom(); -} - -@-o-keyframes slideinfrombottom { - .w-transition-slideinfrombottom(); -} - -@keyframes slideinfrombottom { - .w-transition-slideinfrombottom(); -} - -@-webkit-keyframes slideouttobottom { - .w-transition-slideouttobottom(); -} - -@-moz-keyframes slideouttobottom { - .w-transition-slideouttobottom(); -} - -@-ms-keyframes slideouttobottom { - .w-transition-slideouttobottom(); -} - -@-o-keyframes slideouttobottom { - .w-transition-slideouttobottom(); -} - -@keyframes slideouttobottom { - .w-transition-slideouttobottom(); -} - diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/9-patch.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/9-patch.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/9-patch.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/fixedUIStyle.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/fixedUIStyle.less deleted file mode 100644 index 1edaa837..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/fixedUIStyle.less +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************************/ -/* fixedUIStyle.less */ -/************************************************************************/ -/* When system font-size is changed, winset size (ex. header, footer, button, etc, - include font) also changed. But in UX guide, some UI elements should have fixed - size regardless of system font size. - So, this less file supports fixed style for some elements. - - Layout: header, footer, button - - Popup : popup header, popup footer - - toggleswitch - - progress: text for ratio -*/ - -/***********************************************************************/ -/* Layout(FIXED) */ -/***********************************************************************/ -@fixed_header_height: 60px; -@fixed_header_line_height: 60px; -@fixed_header_title_font_size: 32px; -@fixed_header_title_padding: 16px; -@fixed_header_title_icon_padding: 60px; -@fixed_header_title_icon_position_x: 16px; -@fixed_header_title_icon_position_y: 14px; -@fixed_header_title_icon_size: 34px; -@fixed_header_more_title_padding: 78px; -@fixed_header_more_width: 68px; -@fixed_footer_height: 85px; - -/**********************************************************************/ -/* Button(FIXED) */ -/**********************************************************************/ -@fixed_button_padding_top: 28.5px; -@fixed_button_padding_bottom: 28.5px; -@fixed_button_padding_left: 10px; -@fixed_button_padding_right: 10px; -@fixed_button_font_size: 32px; -@fixed_button_line_height: 28px; -@fixed_button_multiline_padding_top: 10px; -@fixed_button_multiline_padding_bottom: 10px; -@fixed_button_icon_height: 76px; -@fixed_button_icon_bg_size: 60px; - -/**********************************************************************/ -/* Popup(FIXED) */ -/**********************************************************************/ -@fixed_popup_header_height: 68px; -@fixed_popup_header_font_size: 30px; -@fixed_popup_header_padding_top: 14px; -@fixed_popup_header_padding_bottom: 14px; -@fixed_popup_header_padding_left: 13px; -@fixed_popup_header_padding_right: 13px; -@fixed_popup_footer_height: 83px; -@fixed_popup_footer_btn_padding_top: 27px; -@fixed_popup_footer_btn_padding_bottom: 28px; -@fixed_popup_footer_btn_font_size: 30px; - -/**********************************************************************/ -/* ToggleSwitch(FIXED) */ -/**********************************************************************/ -@fixed_toggleswitch_width: 207px; -@fixed_toggleswitch_height: 110px; -@fixed_toggleswitch_text_margin_top: 30px; -@fixed_toggleswitch_text_margin_bottom: 40px; -@fixed_toggleswitch_text_font_size: 34px; -@fixed_toggleswitch_act_margin_top: 23px; -@fixed_toggleswitch_handler_width: 110px; -@fixed_toggleswitch_handler_height: 88px; - -/*********************************************************************/ -/* Progress(FIXED) */ -/*********************************************************************/ -@fixed_progress_proportion_font_size: 20px; -@fixed_progress_ratio_font_size: 20px; diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png Binary files differdeleted file mode 100644 index cac8bf27..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png Binary files differdeleted file mode 100644 index 2048b43e..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png Binary files differdeleted file mode 100644 index e06b5d57..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png Binary files differdeleted file mode 100644 index b61c7a69..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png Binary files differdeleted file mode 100644 index ea2506c9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/toggle_changeable.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/toggle_changeable.png Binary files differdeleted file mode 100644 index deae7152..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/toggle_changeable.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_check_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_check_holo_dark.png Binary files differdeleted file mode 100644 index b93066eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_check_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_holo_dark.png Binary files differdeleted file mode 100644 index b66d28cf..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png Binary files differdeleted file mode 100644 index e76b0812..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 23d166d8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 0effb3aa..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png Binary files differdeleted file mode 100644 index e6e6501c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_holo_dark.png Binary files differdeleted file mode 100644 index 5b3394ba..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 880f013c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radio_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radio_holo_dark.png Binary files differdeleted file mode 100644 index 0fc1881d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radio_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_holo_dark.png Binary files differdeleted file mode 100644 index 703cb0ce..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_line.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_line.png Binary files differdeleted file mode 100644 index 1f92e884..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_btn_radiobox_line.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark.png Binary files differdeleted file mode 100644 index 266c73ff..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_dim.png Binary files differdeleted file mode 100644 index 699eb3e0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 71e5b20c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ebb05a6a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png Binary files differdeleted file mode 100644 index a53449ac..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 53e8ee4a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ef5ae332..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png Binary files differdeleted file mode 100644 index ba749816..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png Binary files differdeleted file mode 100644 index acdf9c47..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 6f99bc85..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_holo_dark.png Binary files differdeleted file mode 100644 index 28e54740..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png Binary files differdeleted file mode 100644 index b74f64e5..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png Binary files differdeleted file mode 100644 index 17a9ba1c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png Binary files differdeleted file mode 100644 index d7a00641..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png Binary files differdeleted file mode 100644 index f9154706..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png Binary files differdeleted file mode 100644 index 0f733479..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png Binary files differdeleted file mode 100644 index e3823c39..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png Binary files differdeleted file mode 100644 index e0d7382f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_divider.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_divider.png Binary files differdeleted file mode 100644 index 30605ce3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_divider.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_left_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_left_softbtn.png Binary files differdeleted file mode 100644 index 6bf1b2e2..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_left_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_focused.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_focused.png Binary files differdeleted file mode 100644 index b26e87c4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_focused.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_normal.png Binary files differdeleted file mode 100644 index 59b9ae14..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_bg_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot.png Binary files differdeleted file mode 100644 index aa5a1d2f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot_01.png Binary files differdeleted file mode 100644 index c9a2d8b4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_num_dot_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_right_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_right_softbtn.png Binary files differdeleted file mode 100644 index 023945a8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_right_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_time_bg.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_time_bg.png Binary files differdeleted file mode 100644 index f5bf6714..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_time_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_01.png Binary files differdeleted file mode 100644 index 9d0ed360..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_02.png Binary files differdeleted file mode 100644 index f3ff1edc..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_03.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_03.png Binary files differdeleted file mode 100644 index 05ddd261..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_03.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_04.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_04.png Binary files differdeleted file mode 100644 index 879851c0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_04.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_05.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_05.png Binary files differdeleted file mode 100644 index b5233245..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_05.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_06.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_06.png Binary files differdeleted file mode 100644 index d320e18c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Datetimepicker/tw_timepicker_wheel_06.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate1_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate1_holo_dark.png Binary files differdeleted file mode 100644 index 6cdff14a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate1_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate2_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate2_holo_dark.png Binary files differdeleted file mode 100644 index 17905b90..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate2_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate3_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate3_holo_dark.png Binary files differdeleted file mode 100644 index b17353df..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate3_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate4_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate4_holo_dark.png Binary files differdeleted file mode 100644 index 719a2bc9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate4_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate5_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate5_holo_dark.png Binary files differdeleted file mode 100644 index 420de532..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_progressbar_indeterminate5_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_focused_holo_dark.png Binary files differdeleted file mode 100644 index 0d807e2c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_holo_dark.png Binary files differdeleted file mode 100644 index b7c6fdbb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_scrubber_control_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_01.png Binary files differdeleted file mode 100644 index ff2ca71f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_02.png Binary files differdeleted file mode 100644 index bb437cd0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Progress/tw_widget_activity_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-bottom.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-bottom.png Binary files differdeleted file mode 100644 index 326b95d3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-left.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-left.png Binary files differdeleted file mode 100644 index 8673b014..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-right.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-right.png Binary files differdeleted file mode 100644 index d2281f95..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-top.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-top.png Binary files differdeleted file mode 100644 index 980d474f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Scroller/scrollbar-bouncing-effect-top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png Binary files differdeleted file mode 100644 index 5e41e9a9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_body_btn_call_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_body_btn_call_nor.png Binary files differdeleted file mode 100644 index 8337333d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/Swipelist/b_logs_icon_body_btn_call_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_add_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_add_holo_dark.png Binary files differdeleted file mode 100644 index bd24e0eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_add_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_delete_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_delete_holo_dark.png Binary files differdeleted file mode 100644 index ccbb7006..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_delete_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_setting_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_setting_holo_dark.png Binary files differdeleted file mode 100644 index 5b902230..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/images/listview/tw_list_setting_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.color.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.color.less deleted file mode 100644 index c5b85b9b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.color.less +++ /dev/null @@ -1,198 +0,0 @@ -/*************************************************************************** - Body -***************************************************************************/ -@color_bg: B011; // #[color] Body main background color -@color_text: T0811; // #[color] Body main font color - -/*************************************************************************** - Action Bar -***************************************************************************/ -@color_actionbar_title_text: T012; // #[color] title text -@color_actionbar_title_bg: B0511; // #[color] title background -@color_actionbar_more_pressed_bg: W011P; // #[color] more background -@icon_actionbar_more_detail_normal: "./images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png"; -@icon_actionbar_more_detail_disable: "./images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png"; -@icon_actionbar_more_overflow: "./images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png"; -@icon_actionbar_more_selectall_normal: "./images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png"; -@icon_actionbar_more_selectall_disable: "./images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png"; -@color_actionbar_normal_bg: B052L1; // #[color] normal background -@color_actionbar_normal_disable: B052L1D; // #[color] disable background - -/**************************************************************************** - Progress Bar -****************************************************************************/ -@color_progressbar_text: T0811; // #[color] font color -@color_progressbar_normal_bg: B065L3; // #[color] background color -@color_progressbar_value_bg: B065L2; // #[color] value color -@color_progressbar_indeterminate: B065L6; // #[color] indeterminate color - -/**************************************************************************** - Processing -****************************************************************************/ -@color_processing_text: T097; // #[color] text color -@color_processing_activity_01: B066L1; // #[color] activity 01 -@color_processing_activity_02: B066L2; // #[color] activity 02 - -/**************************************************************************** - Toggle Switch -****************************************************************************/ -@color_switch_text: T0811; // #[color] text color -@color_toggle_on_bg: W014L1; // #[color] background on -@color_toggle_on_bg_press: W014L1P; // #[color] background on press -@color_toggle_on_bg_dim: W014L1D; // #[color] background on disabled -@color_toggle_off_bg: W014L2; // #[color] background off -@color_toggle_off_bg_press: W014L2P; // #[color] background off press -@color_toggle_off_bg_dim: W014L2D; // #[color] background off disabled -@color_toggle_on_handler: W014L3; // #[color] handler on -@color_toggle_on_handler_press: W014L3P; // #[color] handler on press -@color_toggle_on_handler_dim: W014L3D; // #[color] handler on disabled -@color_toggle_off_handler: W014L4; // #[color] handler off -@color_toggle_off_handler_press: W014L4P; // #[color] handler off press -@color_toggle_off_handler_dim: W014L4D; // #[color] handler off disable -@color_toggle_on_handler_on: W014L5; // #[color] on handler on -@color_toggle_on_handler_on_press: W014L5P; // #[color] on handler on press -@color_toggle_on_handler_on_dim: W014L5D; // #[color] on handler on disable -@color_toggle_off_handler_off: W014L6; // #[color] off handler off -@color_toggle_off_handler_off_press: W014L6P; // #[color] off handler off press -@color_toggle_off_handler_off_dim: W014L6D; // #[color] off handler off disable - -/*************************************************************************** - Buttons -***************************************************************************/ -@color_button_default_text: T041; // #[color] default text color -@color_button_default_text_pressed: T041P; // #[color] default text press -@color_button_default_text_disable: T041D; // #[color] default text disable - -@color_button_default_normal_bg: W011; // #[color] default normal background -@color_button_default_focus_bg: W011; // #[color] default normal focus background -@color_button_default_press_bg: W011P; // #[color] default normal press background -@color_button_default_disable_bg: W011D; // #[color] default normal disable background - -@color_button_red_text: T041; // #[color] red button text color -@color_button_red_text_pressed: T041P; // #[color] red button text press -@color_button_red_text_disable: T041D; // #[color] red button text disable -@color_button_red_normal_bg: W012; // #[color] red button normal background -@color_button_red_focus_bg: W012; // #[color] red button focus background -@color_button_red_press_bg: W012P; // #[color] red button press background -@color_button_red_disable_bg: W012D; // #[color] red button disable background - -@color_button_orange_text: T041; // #[color] orange button test color -@color_button_orange_text_pressed: T041P; // #[color] orange button test press -@color_button_orange_text_disable: T041D; // #[color] orange button disable -@color_button_orange_normal_bg: W013; // #[color] orange button normal background -@color_button_orange_focus_bg: W013; // #[color] orange button focus background -@color_button_orange_press_bg: W013P; // #[color] orange button press background -@color_button_orange_disable_bg: W013D; // #[color] orange button disable background - -@color_button_green_text: T041; // #[color] green button text color -@color_button_green_text_pressed: T041P; // #[color] green button test press -@color_button_green_text_disable: T041D; // #[color] green button disable -@color_button_green_normal_bg: W014; // #[color] green button normal background -@color_button_green_focus_bg: W014; // #[color] green button focus background -@color_button_green_press_bg: W014P; // #[color] green button press background -@color_button_green_disable_bg: W014D; // #[color] green button disable background - -/*************************************************************************** - Popup -***************************************************************************/ -@color_popup_title_text: T091; // #[color] title text color -@color_popup_bg: B061L1E; // #[color] background color -@color_popup_header_bg: B061L2; // #[color] header background -@color_popup_border: B061L7; // #[color] border color -@color_popup_button_bg: B065L4; // #[color] button background -@color_popup_button_press_bg: B065L4P; // #[color] button press background -@color_popup_overlay: W1712; // #[color] overlay color - -/*************************************************************************** - Option Popup -***************************************************************************/ -@color_option_popup_bg: B092L1; // #[color] background color -@color_option_popup_border: B092L2; // #[color] border color -@color_option_popup_list_border: B094; // #[color] list border color -@color_option_popup_list_text: T111; // #[color] list text color -@color_option_popup_list_text_pressed: T111P; // #[color] list text press color -@color_option_popup_list_text_disable: T111D; // #[color] text disable color -@color_option_popup_list_bg: B092L1; // #[color] list background -@color_option_popup_list_bg_pressed: B093P; // #[color] list background press -@color_option_popup_list_bg_disable: B093D; // #[color] list background disable -@color_option_popup_list_icon_bg: B095; // #[color] list icon background -@color_option_popup_list_icon_bg_pressed: B095P; // #[color] list icon press background -@color_option_popup_list_icon_bg_disable: B095D; // #[color] list icon disable background -@color_option_popup_inline_list_border: B097; // #[color] inline list border -@color_option_popup_inline_list_icon_bg: B096; // #[color] inline list icon background -@color_option_popup_inline_list_icon_bg_pressed: B096P; // #[color] inline list background press -@color_option_popup_inline_list_icon_bg_disable: B096D; // #[color] inline list background disable - -/*************************************************************************** - index scrollbar (vertical) -***************************************************************************/ -@color_indexscrollbar_bg: B0722; // #[color] background color -@color_indexscrollbar_bg_supplementary: B0723; // #[color] background supplementary -@color_indexscrollbar_text: T0311; // #[color] text color -@color_indexscrollbar_selected_bg: B0724; // #[color] selected background -@color_indexscrollbar_selected_text: T0311P; // #[color] selected background text color -@color_indexscrollbar_selected_text_supplementary: T0313; // #[color] selected background text supplementary - -@color_indexscrollbar_indicator_bg: B0731; // #[color] indicator background -@color_indexscrollbar_indicator_text_normal: T0312; // #[color] indicator normal text color -@color_indexscrollbar_indicator_text_selected: T0312P; // #[color] indicator selected text color - -/*************************************************************************** - Listview -***************************************************************************/ -@color_list_press_bg: B041P; // #[color] background press color -@color_listview_border: B0222; // #[color] border color -@color_listview_text: T0211; // #[color] text color -@color_listview_text_press: T0211P; // #[color] text color press -@color_listview_text_dim: T0211D; // #[color] text disable -@color_listview_text_highlight: T0212; // #[color] text highlight -@color_list_actionicon_divider: B0221L1; // #[color] action icon divider -@color_list_actionicon_image_normal: F022L1i; // #[color] action icon image normal -@color_list_actionicon_image_disable: F022L1iD; // #[color] action icon image disable -@color_list_divider_bg: B012; // #[color] divider background -@color_list_divider_text: T0231; // #[color] divider text color - -/*************************************************************************** - Scroller -***************************************************************************/ -@color_tab_normal: B0514; // #[color] tab normal color -@color_tab_active: B0514P1; // #[color] tab active color -@color_scroller_scrollbar_color: B071; // #[color] scroller scrollbar color -@bg_scroller_bouncing_effect_top: "./images/Scroller/scrollbar-bouncing-effect-top.png"; -@bg_scroller_bouncing_effect_bottom: "./images/Scroller/scrollbar-bouncing-effect-bottom.png"; -@bg_scroller_bouncing_effect_left: "./images/Scroller/scrollbar-bouncing-effect-left.png"; -@bg_scroller_bouncing_effect_right: "./images/Scroller/scrollbar-bouncing-effect-right.png"; - -/*************************************************************************** - Swipe list -***************************************************************************/ -@color_list_swipe_icon_btn_msg: F021L1i; // #[color] icon button message -@color_list_swipe_icon_btn_msg_press: F021L1iP; // #[color] icon button message press -@color_list_swipe_icon_btn_call: F021L1i; // #[color] icon button call -@color_list_swipe_icon_btn_call_press: F021L1iP; // #[color] icon button call press -@color_list_swipe_left_start_bg: B0242; // #[color] swipe left start background -@color_list_swipe_left_end_bg: B011; // #[color] swipe left end background -@color_list_swipe_right_start_bg: B0241; // #[color] swipe right start background -@color_list_swipe_right_end_bg: B011; // #[color] swipe right end background - -/*************************************************************************** - Checkbox/Radio -***************************************************************************/ -@color_checkboxradio_radiobox: W013L1; // #[color] radio box color -@color_checkboxradio_radiobox_press: W013L1P; // #[color] radio box press color -@color_checkboxradio_radiobox_dim: W013L1D; // #[color] radio box disable -@color_checkboxradio_radio: W013L2; // #[color] radio color -@color_checkboxradio_radio_press: W013L2P; // #[color] radio press -@color_checkboxradio_radio_dim: W013L2D; // #[color] radio disable -@color_checkboxradio_radiobox_line: W241; // #[color] radio box line -@color_checkboxradio_radiobox_line_press: W241P; // #[color] radio box line press -@color_checkboxradio_radiobox_line_dim: W241D; // #[color] radio box line disable -@color_checkboxradio_check: W012L2; // #[color] check color -@color_checkboxradio_check_press: W012L2P; // #[color] check press -@color_checkboxradio_check_dim: W012L2D; // #[color] check disable -@color_checkboxradio_checkbox: W012L1; // #[color] checkbox -@color_checkboxradio_checkbox_press: W012L1P; // #[color] checkbox press -@color_checkboxradio_checkbox_dim: W012L1D; // #[color] checkbox disable -@color_checkboxradio_checkbox_line: W231; // #[color] checkbox line -@color_checkboxradio_checkbox_line_press: W231P; // #[color] checkbox line press -@color_checkboxradio_checkbox_line_dim: W231D; // #[color] checkbox line disable diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.less deleted file mode 100644 index 887a53a9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-blue/theme.less +++ /dev/null @@ -1,11 +0,0 @@ -@import "theme.color.less"; -@import "fixedUIStyle.less"; -@import "9-patch.less"; -@import "../wearable.less"; - -.tau-info-theme:after { - content: "default"; -} - -@import "../../../../wearable.default.colormap.less"; -@import "../../../../wearable.blue.colormap.less";
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/9-patch.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/9-patch.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/9-patch.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/fixedUIStyle.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/fixedUIStyle.less deleted file mode 100644 index 1edaa837..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/fixedUIStyle.less +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************************/ -/* fixedUIStyle.less */ -/************************************************************************/ -/* When system font-size is changed, winset size (ex. header, footer, button, etc, - include font) also changed. But in UX guide, some UI elements should have fixed - size regardless of system font size. - So, this less file supports fixed style for some elements. - - Layout: header, footer, button - - Popup : popup header, popup footer - - toggleswitch - - progress: text for ratio -*/ - -/***********************************************************************/ -/* Layout(FIXED) */ -/***********************************************************************/ -@fixed_header_height: 60px; -@fixed_header_line_height: 60px; -@fixed_header_title_font_size: 32px; -@fixed_header_title_padding: 16px; -@fixed_header_title_icon_padding: 60px; -@fixed_header_title_icon_position_x: 16px; -@fixed_header_title_icon_position_y: 14px; -@fixed_header_title_icon_size: 34px; -@fixed_header_more_title_padding: 78px; -@fixed_header_more_width: 68px; -@fixed_footer_height: 85px; - -/**********************************************************************/ -/* Button(FIXED) */ -/**********************************************************************/ -@fixed_button_padding_top: 28.5px; -@fixed_button_padding_bottom: 28.5px; -@fixed_button_padding_left: 10px; -@fixed_button_padding_right: 10px; -@fixed_button_font_size: 32px; -@fixed_button_line_height: 28px; -@fixed_button_multiline_padding_top: 10px; -@fixed_button_multiline_padding_bottom: 10px; -@fixed_button_icon_height: 76px; -@fixed_button_icon_bg_size: 60px; - -/**********************************************************************/ -/* Popup(FIXED) */ -/**********************************************************************/ -@fixed_popup_header_height: 68px; -@fixed_popup_header_font_size: 30px; -@fixed_popup_header_padding_top: 14px; -@fixed_popup_header_padding_bottom: 14px; -@fixed_popup_header_padding_left: 13px; -@fixed_popup_header_padding_right: 13px; -@fixed_popup_footer_height: 83px; -@fixed_popup_footer_btn_padding_top: 27px; -@fixed_popup_footer_btn_padding_bottom: 28px; -@fixed_popup_footer_btn_font_size: 30px; - -/**********************************************************************/ -/* ToggleSwitch(FIXED) */ -/**********************************************************************/ -@fixed_toggleswitch_width: 207px; -@fixed_toggleswitch_height: 110px; -@fixed_toggleswitch_text_margin_top: 30px; -@fixed_toggleswitch_text_margin_bottom: 40px; -@fixed_toggleswitch_text_font_size: 34px; -@fixed_toggleswitch_act_margin_top: 23px; -@fixed_toggleswitch_handler_width: 110px; -@fixed_toggleswitch_handler_height: 88px; - -/*********************************************************************/ -/* Progress(FIXED) */ -/*********************************************************************/ -@fixed_progress_proportion_font_size: 20px; -@fixed_progress_ratio_font_size: 20px; diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png Binary files differdeleted file mode 100644 index cac8bf27..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png Binary files differdeleted file mode 100644 index 2048b43e..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png Binary files differdeleted file mode 100644 index e06b5d57..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png Binary files differdeleted file mode 100644 index b61c7a69..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png Binary files differdeleted file mode 100644 index ea2506c9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/toggle_changeable.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/toggle_changeable.png Binary files differdeleted file mode 100644 index deae7152..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/toggle_changeable.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_check_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_check_holo_dark.png Binary files differdeleted file mode 100644 index b93066eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_check_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_holo_dark.png Binary files differdeleted file mode 100644 index b66d28cf..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png Binary files differdeleted file mode 100644 index e76b0812..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 23d166d8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 0effb3aa..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png Binary files differdeleted file mode 100644 index e6e6501c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_holo_dark.png Binary files differdeleted file mode 100644 index 5b3394ba..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 880f013c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radio_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radio_holo_dark.png Binary files differdeleted file mode 100644 index 0fc1881d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radio_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_holo_dark.png Binary files differdeleted file mode 100644 index 703cb0ce..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_line.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_line.png Binary files differdeleted file mode 100644 index 1f92e884..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_btn_radiobox_line.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark.png Binary files differdeleted file mode 100644 index 266c73ff..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_dim.png Binary files differdeleted file mode 100644 index 699eb3e0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 71e5b20c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ebb05a6a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png Binary files differdeleted file mode 100644 index a53449ac..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 53e8ee4a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ef5ae332..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png Binary files differdeleted file mode 100644 index ba749816..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png Binary files differdeleted file mode 100644 index acdf9c47..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 6f99bc85..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_holo_dark.png Binary files differdeleted file mode 100644 index 28e54740..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png Binary files differdeleted file mode 100644 index b74f64e5..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png Binary files differdeleted file mode 100644 index 17a9ba1c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png Binary files differdeleted file mode 100644 index d7a00641..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png Binary files differdeleted file mode 100644 index f9154706..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png Binary files differdeleted file mode 100644 index 0f733479..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png Binary files differdeleted file mode 100644 index e3823c39..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png Binary files differdeleted file mode 100644 index e0d7382f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_divider.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_divider.png Binary files differdeleted file mode 100644 index 30605ce3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_divider.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_left_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_left_softbtn.png Binary files differdeleted file mode 100644 index 6bf1b2e2..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_left_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_focused.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_focused.png Binary files differdeleted file mode 100644 index b26e87c4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_focused.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_normal.png Binary files differdeleted file mode 100644 index 59b9ae14..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_bg_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot.png Binary files differdeleted file mode 100644 index aa5a1d2f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot_01.png Binary files differdeleted file mode 100644 index c9a2d8b4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_num_dot_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_right_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_right_softbtn.png Binary files differdeleted file mode 100644 index 023945a8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_right_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_time_bg.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_time_bg.png Binary files differdeleted file mode 100644 index f5bf6714..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_time_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_01.png Binary files differdeleted file mode 100644 index 9d0ed360..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_02.png Binary files differdeleted file mode 100644 index f3ff1edc..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_03.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_03.png Binary files differdeleted file mode 100644 index 05ddd261..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_03.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_04.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_04.png Binary files differdeleted file mode 100644 index 879851c0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_04.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_05.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_05.png Binary files differdeleted file mode 100644 index b5233245..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_05.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_06.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_06.png Binary files differdeleted file mode 100644 index d320e18c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Datetimepicker/tw_timepicker_wheel_06.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate1_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate1_holo_dark.png Binary files differdeleted file mode 100644 index 6cdff14a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate1_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate2_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate2_holo_dark.png Binary files differdeleted file mode 100644 index 17905b90..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate2_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate3_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate3_holo_dark.png Binary files differdeleted file mode 100644 index b17353df..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate3_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate4_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate4_holo_dark.png Binary files differdeleted file mode 100644 index 719a2bc9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate4_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate5_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate5_holo_dark.png Binary files differdeleted file mode 100644 index 420de532..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_progressbar_indeterminate5_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_focused_holo_dark.png Binary files differdeleted file mode 100644 index 0d807e2c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_holo_dark.png Binary files differdeleted file mode 100644 index b7c6fdbb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_scrubber_control_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_01.png Binary files differdeleted file mode 100644 index ff2ca71f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_02.png Binary files differdeleted file mode 100644 index bb437cd0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Progress/tw_widget_activity_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-bottom.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-bottom.png Binary files differdeleted file mode 100644 index 326b95d3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-left.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-left.png Binary files differdeleted file mode 100644 index 8673b014..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-right.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-right.png Binary files differdeleted file mode 100644 index d2281f95..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-top.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-top.png Binary files differdeleted file mode 100644 index 980d474f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Scroller/scrollbar-bouncing-effect-top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png Binary files differdeleted file mode 100644 index 5e41e9a9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_body_btn_call_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_body_btn_call_nor.png Binary files differdeleted file mode 100644 index 8337333d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/Swipelist/b_logs_icon_body_btn_call_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_add_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_add_holo_dark.png Binary files differdeleted file mode 100644 index bd24e0eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_add_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_delete_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_delete_holo_dark.png Binary files differdeleted file mode 100644 index ccbb7006..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_delete_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_setting_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_setting_holo_dark.png Binary files differdeleted file mode 100644 index 5b902230..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/images/listview/tw_list_setting_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.color.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.color.less deleted file mode 100644 index c5b85b9b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.color.less +++ /dev/null @@ -1,198 +0,0 @@ -/*************************************************************************** - Body -***************************************************************************/ -@color_bg: B011; // #[color] Body main background color -@color_text: T0811; // #[color] Body main font color - -/*************************************************************************** - Action Bar -***************************************************************************/ -@color_actionbar_title_text: T012; // #[color] title text -@color_actionbar_title_bg: B0511; // #[color] title background -@color_actionbar_more_pressed_bg: W011P; // #[color] more background -@icon_actionbar_more_detail_normal: "./images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png"; -@icon_actionbar_more_detail_disable: "./images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png"; -@icon_actionbar_more_overflow: "./images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png"; -@icon_actionbar_more_selectall_normal: "./images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png"; -@icon_actionbar_more_selectall_disable: "./images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png"; -@color_actionbar_normal_bg: B052L1; // #[color] normal background -@color_actionbar_normal_disable: B052L1D; // #[color] disable background - -/**************************************************************************** - Progress Bar -****************************************************************************/ -@color_progressbar_text: T0811; // #[color] font color -@color_progressbar_normal_bg: B065L3; // #[color] background color -@color_progressbar_value_bg: B065L2; // #[color] value color -@color_progressbar_indeterminate: B065L6; // #[color] indeterminate color - -/**************************************************************************** - Processing -****************************************************************************/ -@color_processing_text: T097; // #[color] text color -@color_processing_activity_01: B066L1; // #[color] activity 01 -@color_processing_activity_02: B066L2; // #[color] activity 02 - -/**************************************************************************** - Toggle Switch -****************************************************************************/ -@color_switch_text: T0811; // #[color] text color -@color_toggle_on_bg: W014L1; // #[color] background on -@color_toggle_on_bg_press: W014L1P; // #[color] background on press -@color_toggle_on_bg_dim: W014L1D; // #[color] background on disabled -@color_toggle_off_bg: W014L2; // #[color] background off -@color_toggle_off_bg_press: W014L2P; // #[color] background off press -@color_toggle_off_bg_dim: W014L2D; // #[color] background off disabled -@color_toggle_on_handler: W014L3; // #[color] handler on -@color_toggle_on_handler_press: W014L3P; // #[color] handler on press -@color_toggle_on_handler_dim: W014L3D; // #[color] handler on disabled -@color_toggle_off_handler: W014L4; // #[color] handler off -@color_toggle_off_handler_press: W014L4P; // #[color] handler off press -@color_toggle_off_handler_dim: W014L4D; // #[color] handler off disable -@color_toggle_on_handler_on: W014L5; // #[color] on handler on -@color_toggle_on_handler_on_press: W014L5P; // #[color] on handler on press -@color_toggle_on_handler_on_dim: W014L5D; // #[color] on handler on disable -@color_toggle_off_handler_off: W014L6; // #[color] off handler off -@color_toggle_off_handler_off_press: W014L6P; // #[color] off handler off press -@color_toggle_off_handler_off_dim: W014L6D; // #[color] off handler off disable - -/*************************************************************************** - Buttons -***************************************************************************/ -@color_button_default_text: T041; // #[color] default text color -@color_button_default_text_pressed: T041P; // #[color] default text press -@color_button_default_text_disable: T041D; // #[color] default text disable - -@color_button_default_normal_bg: W011; // #[color] default normal background -@color_button_default_focus_bg: W011; // #[color] default normal focus background -@color_button_default_press_bg: W011P; // #[color] default normal press background -@color_button_default_disable_bg: W011D; // #[color] default normal disable background - -@color_button_red_text: T041; // #[color] red button text color -@color_button_red_text_pressed: T041P; // #[color] red button text press -@color_button_red_text_disable: T041D; // #[color] red button text disable -@color_button_red_normal_bg: W012; // #[color] red button normal background -@color_button_red_focus_bg: W012; // #[color] red button focus background -@color_button_red_press_bg: W012P; // #[color] red button press background -@color_button_red_disable_bg: W012D; // #[color] red button disable background - -@color_button_orange_text: T041; // #[color] orange button test color -@color_button_orange_text_pressed: T041P; // #[color] orange button test press -@color_button_orange_text_disable: T041D; // #[color] orange button disable -@color_button_orange_normal_bg: W013; // #[color] orange button normal background -@color_button_orange_focus_bg: W013; // #[color] orange button focus background -@color_button_orange_press_bg: W013P; // #[color] orange button press background -@color_button_orange_disable_bg: W013D; // #[color] orange button disable background - -@color_button_green_text: T041; // #[color] green button text color -@color_button_green_text_pressed: T041P; // #[color] green button test press -@color_button_green_text_disable: T041D; // #[color] green button disable -@color_button_green_normal_bg: W014; // #[color] green button normal background -@color_button_green_focus_bg: W014; // #[color] green button focus background -@color_button_green_press_bg: W014P; // #[color] green button press background -@color_button_green_disable_bg: W014D; // #[color] green button disable background - -/*************************************************************************** - Popup -***************************************************************************/ -@color_popup_title_text: T091; // #[color] title text color -@color_popup_bg: B061L1E; // #[color] background color -@color_popup_header_bg: B061L2; // #[color] header background -@color_popup_border: B061L7; // #[color] border color -@color_popup_button_bg: B065L4; // #[color] button background -@color_popup_button_press_bg: B065L4P; // #[color] button press background -@color_popup_overlay: W1712; // #[color] overlay color - -/*************************************************************************** - Option Popup -***************************************************************************/ -@color_option_popup_bg: B092L1; // #[color] background color -@color_option_popup_border: B092L2; // #[color] border color -@color_option_popup_list_border: B094; // #[color] list border color -@color_option_popup_list_text: T111; // #[color] list text color -@color_option_popup_list_text_pressed: T111P; // #[color] list text press color -@color_option_popup_list_text_disable: T111D; // #[color] text disable color -@color_option_popup_list_bg: B092L1; // #[color] list background -@color_option_popup_list_bg_pressed: B093P; // #[color] list background press -@color_option_popup_list_bg_disable: B093D; // #[color] list background disable -@color_option_popup_list_icon_bg: B095; // #[color] list icon background -@color_option_popup_list_icon_bg_pressed: B095P; // #[color] list icon press background -@color_option_popup_list_icon_bg_disable: B095D; // #[color] list icon disable background -@color_option_popup_inline_list_border: B097; // #[color] inline list border -@color_option_popup_inline_list_icon_bg: B096; // #[color] inline list icon background -@color_option_popup_inline_list_icon_bg_pressed: B096P; // #[color] inline list background press -@color_option_popup_inline_list_icon_bg_disable: B096D; // #[color] inline list background disable - -/*************************************************************************** - index scrollbar (vertical) -***************************************************************************/ -@color_indexscrollbar_bg: B0722; // #[color] background color -@color_indexscrollbar_bg_supplementary: B0723; // #[color] background supplementary -@color_indexscrollbar_text: T0311; // #[color] text color -@color_indexscrollbar_selected_bg: B0724; // #[color] selected background -@color_indexscrollbar_selected_text: T0311P; // #[color] selected background text color -@color_indexscrollbar_selected_text_supplementary: T0313; // #[color] selected background text supplementary - -@color_indexscrollbar_indicator_bg: B0731; // #[color] indicator background -@color_indexscrollbar_indicator_text_normal: T0312; // #[color] indicator normal text color -@color_indexscrollbar_indicator_text_selected: T0312P; // #[color] indicator selected text color - -/*************************************************************************** - Listview -***************************************************************************/ -@color_list_press_bg: B041P; // #[color] background press color -@color_listview_border: B0222; // #[color] border color -@color_listview_text: T0211; // #[color] text color -@color_listview_text_press: T0211P; // #[color] text color press -@color_listview_text_dim: T0211D; // #[color] text disable -@color_listview_text_highlight: T0212; // #[color] text highlight -@color_list_actionicon_divider: B0221L1; // #[color] action icon divider -@color_list_actionicon_image_normal: F022L1i; // #[color] action icon image normal -@color_list_actionicon_image_disable: F022L1iD; // #[color] action icon image disable -@color_list_divider_bg: B012; // #[color] divider background -@color_list_divider_text: T0231; // #[color] divider text color - -/*************************************************************************** - Scroller -***************************************************************************/ -@color_tab_normal: B0514; // #[color] tab normal color -@color_tab_active: B0514P1; // #[color] tab active color -@color_scroller_scrollbar_color: B071; // #[color] scroller scrollbar color -@bg_scroller_bouncing_effect_top: "./images/Scroller/scrollbar-bouncing-effect-top.png"; -@bg_scroller_bouncing_effect_bottom: "./images/Scroller/scrollbar-bouncing-effect-bottom.png"; -@bg_scroller_bouncing_effect_left: "./images/Scroller/scrollbar-bouncing-effect-left.png"; -@bg_scroller_bouncing_effect_right: "./images/Scroller/scrollbar-bouncing-effect-right.png"; - -/*************************************************************************** - Swipe list -***************************************************************************/ -@color_list_swipe_icon_btn_msg: F021L1i; // #[color] icon button message -@color_list_swipe_icon_btn_msg_press: F021L1iP; // #[color] icon button message press -@color_list_swipe_icon_btn_call: F021L1i; // #[color] icon button call -@color_list_swipe_icon_btn_call_press: F021L1iP; // #[color] icon button call press -@color_list_swipe_left_start_bg: B0242; // #[color] swipe left start background -@color_list_swipe_left_end_bg: B011; // #[color] swipe left end background -@color_list_swipe_right_start_bg: B0241; // #[color] swipe right start background -@color_list_swipe_right_end_bg: B011; // #[color] swipe right end background - -/*************************************************************************** - Checkbox/Radio -***************************************************************************/ -@color_checkboxradio_radiobox: W013L1; // #[color] radio box color -@color_checkboxradio_radiobox_press: W013L1P; // #[color] radio box press color -@color_checkboxradio_radiobox_dim: W013L1D; // #[color] radio box disable -@color_checkboxradio_radio: W013L2; // #[color] radio color -@color_checkboxradio_radio_press: W013L2P; // #[color] radio press -@color_checkboxradio_radio_dim: W013L2D; // #[color] radio disable -@color_checkboxradio_radiobox_line: W241; // #[color] radio box line -@color_checkboxradio_radiobox_line_press: W241P; // #[color] radio box line press -@color_checkboxradio_radiobox_line_dim: W241D; // #[color] radio box line disable -@color_checkboxradio_check: W012L2; // #[color] check color -@color_checkboxradio_check_press: W012L2P; // #[color] check press -@color_checkboxradio_check_dim: W012L2D; // #[color] check disable -@color_checkboxradio_checkbox: W012L1; // #[color] checkbox -@color_checkboxradio_checkbox_press: W012L1P; // #[color] checkbox press -@color_checkboxradio_checkbox_dim: W012L1D; // #[color] checkbox disable -@color_checkboxradio_checkbox_line: W231; // #[color] checkbox line -@color_checkboxradio_checkbox_line_press: W231P; // #[color] checkbox line press -@color_checkboxradio_checkbox_line_dim: W231D; // #[color] checkbox line disable diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.less deleted file mode 100644 index 31da5cdd..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-brown/theme.less +++ /dev/null @@ -1,11 +0,0 @@ -@import "theme.color.less"; -@import "fixedUIStyle.less"; -@import "9-patch.less"; -@import "../wearable.less"; - -.tau-info-theme:after { - content: "default"; -} - -@import "../../../../wearable.default.colormap.less"; -@import "../../../../wearable.brown.colormap.less";
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/9-patch.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/9-patch.less deleted file mode 100644 index e69de29b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/9-patch.less +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/fixedUIStyle.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/fixedUIStyle.less deleted file mode 100644 index 1edaa837..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/fixedUIStyle.less +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************************/ -/* fixedUIStyle.less */ -/************************************************************************/ -/* When system font-size is changed, winset size (ex. header, footer, button, etc, - include font) also changed. But in UX guide, some UI elements should have fixed - size regardless of system font size. - So, this less file supports fixed style for some elements. - - Layout: header, footer, button - - Popup : popup header, popup footer - - toggleswitch - - progress: text for ratio -*/ - -/***********************************************************************/ -/* Layout(FIXED) */ -/***********************************************************************/ -@fixed_header_height: 60px; -@fixed_header_line_height: 60px; -@fixed_header_title_font_size: 32px; -@fixed_header_title_padding: 16px; -@fixed_header_title_icon_padding: 60px; -@fixed_header_title_icon_position_x: 16px; -@fixed_header_title_icon_position_y: 14px; -@fixed_header_title_icon_size: 34px; -@fixed_header_more_title_padding: 78px; -@fixed_header_more_width: 68px; -@fixed_footer_height: 85px; - -/**********************************************************************/ -/* Button(FIXED) */ -/**********************************************************************/ -@fixed_button_padding_top: 28.5px; -@fixed_button_padding_bottom: 28.5px; -@fixed_button_padding_left: 10px; -@fixed_button_padding_right: 10px; -@fixed_button_font_size: 32px; -@fixed_button_line_height: 28px; -@fixed_button_multiline_padding_top: 10px; -@fixed_button_multiline_padding_bottom: 10px; -@fixed_button_icon_height: 76px; -@fixed_button_icon_bg_size: 60px; - -/**********************************************************************/ -/* Popup(FIXED) */ -/**********************************************************************/ -@fixed_popup_header_height: 68px; -@fixed_popup_header_font_size: 30px; -@fixed_popup_header_padding_top: 14px; -@fixed_popup_header_padding_bottom: 14px; -@fixed_popup_header_padding_left: 13px; -@fixed_popup_header_padding_right: 13px; -@fixed_popup_footer_height: 83px; -@fixed_popup_footer_btn_padding_top: 27px; -@fixed_popup_footer_btn_padding_bottom: 28px; -@fixed_popup_footer_btn_font_size: 30px; - -/**********************************************************************/ -/* ToggleSwitch(FIXED) */ -/**********************************************************************/ -@fixed_toggleswitch_width: 207px; -@fixed_toggleswitch_height: 110px; -@fixed_toggleswitch_text_margin_top: 30px; -@fixed_toggleswitch_text_margin_bottom: 40px; -@fixed_toggleswitch_text_font_size: 34px; -@fixed_toggleswitch_act_margin_top: 23px; -@fixed_toggleswitch_handler_width: 110px; -@fixed_toggleswitch_handler_height: 88px; - -/*********************************************************************/ -/* Progress(FIXED) */ -/*********************************************************************/ -@fixed_progress_proportion_font_size: 20px; -@fixed_progress_ratio_font_size: 20px; diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png Binary files differdeleted file mode 100644 index cac8bf27..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png Binary files differdeleted file mode 100644 index 2048b43e..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png Binary files differdeleted file mode 100644 index e06b5d57..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png Binary files differdeleted file mode 100644 index b61c7a69..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png Binary files differdeleted file mode 100644 index ea2506c9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/toggle_changeable.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/toggle_changeable.png Binary files differdeleted file mode 100644 index deae7152..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/toggle_changeable.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_check_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_check_holo_dark.png Binary files differdeleted file mode 100644 index b93066eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_check_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_holo_dark.png Binary files differdeleted file mode 100644 index b66d28cf..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png Binary files differdeleted file mode 100644 index e76b0812..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_checkbox_line_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png Binary files differdeleted file mode 100644 index 23d166d8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 0effb3aa..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png Binary files differdeleted file mode 100644 index e6e6501c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_holo_dark.png Binary files differdeleted file mode 100644 index 5b3394ba..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png Binary files differdeleted file mode 100644 index 880f013c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_next_depth_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radio_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radio_holo_dark.png Binary files differdeleted file mode 100644 index 0fc1881d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radio_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_holo_dark.png Binary files differdeleted file mode 100644 index 703cb0ce..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_line.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_line.png Binary files differdeleted file mode 100644 index 1f92e884..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_btn_radiobox_line.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark.png Binary files differdeleted file mode 100644 index 266c73ff..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_dim.png Binary files differdeleted file mode 100644 index 699eb3e0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 71e5b20c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_activation_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ebb05a6a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png Binary files differdeleted file mode 100644 index a53449ac..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png Binary files differdeleted file mode 100644 index 53e8ee4a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_disabled_holo_dark_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png Binary files differdeleted file mode 100644 index ef5ae332..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png Binary files differdeleted file mode 100644 index ba749816..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activated_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png Binary files differdeleted file mode 100644 index acdf9c47..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_activation_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png Binary files differdeleted file mode 100644 index 6f99bc85..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_disabled_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_holo_dark.png Binary files differdeleted file mode 100644 index 28e54740..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png Binary files differdeleted file mode 100644 index b74f64e5..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Controller_icon/tw_switch_thumb_pressed_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png Binary files differdeleted file mode 100644 index 17a9ba1c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png Binary files differdeleted file mode 100644 index d7a00641..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png Binary files differdeleted file mode 100644 index f9154706..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_minus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png Binary files differdeleted file mode 100644 index 0f733479..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_dim.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png Binary files differdeleted file mode 100644 index e3823c39..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png Binary files differdeleted file mode 100644 index e0d7382f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_dialbtn_plus_pressed.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_divider.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_divider.png Binary files differdeleted file mode 100644 index 30605ce3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_divider.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_left_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_left_softbtn.png Binary files differdeleted file mode 100644 index 6bf1b2e2..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_left_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_focused.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_focused.png Binary files differdeleted file mode 100644 index b26e87c4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_focused.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_normal.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_normal.png Binary files differdeleted file mode 100644 index 59b9ae14..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_bg_normal.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot.png Binary files differdeleted file mode 100644 index aa5a1d2f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot_01.png Binary files differdeleted file mode 100644 index c9a2d8b4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_num_dot_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_right_softbtn.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_right_softbtn.png Binary files differdeleted file mode 100644 index 023945a8..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_right_softbtn.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_time_bg.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_time_bg.png Binary files differdeleted file mode 100644 index f5bf6714..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_time_bg.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_01.png Binary files differdeleted file mode 100644 index 9d0ed360..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_02.png Binary files differdeleted file mode 100644 index f3ff1edc..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_03.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_03.png Binary files differdeleted file mode 100644 index 05ddd261..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_03.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_04.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_04.png Binary files differdeleted file mode 100644 index 879851c0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_04.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_05.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_05.png Binary files differdeleted file mode 100644 index b5233245..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_05.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_06.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_06.png Binary files differdeleted file mode 100644 index d320e18c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Datetimepicker/tw_timepicker_wheel_06.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate1_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate1_holo_dark.png Binary files differdeleted file mode 100644 index 6cdff14a..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate1_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate2_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate2_holo_dark.png Binary files differdeleted file mode 100644 index 17905b90..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate2_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate3_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate3_holo_dark.png Binary files differdeleted file mode 100644 index b17353df..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate3_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate4_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate4_holo_dark.png Binary files differdeleted file mode 100644 index 719a2bc9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate4_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate5_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate5_holo_dark.png Binary files differdeleted file mode 100644 index 420de532..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_progressbar_indeterminate5_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_focused_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_focused_holo_dark.png Binary files differdeleted file mode 100644 index 0d807e2c..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_focused_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_holo_dark.png Binary files differdeleted file mode 100644 index b7c6fdbb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_scrubber_control_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_01.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_01.png Binary files differdeleted file mode 100644 index ff2ca71f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_01.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_02.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_02.png Binary files differdeleted file mode 100644 index bb437cd0..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Progress/tw_widget_activity_02.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-bottom.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-bottom.png Binary files differdeleted file mode 100644 index 326b95d3..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-bottom.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-left.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-left.png Binary files differdeleted file mode 100644 index 8673b014..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-left.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-right.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-right.png Binary files differdeleted file mode 100644 index d2281f95..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-right.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-top.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-top.png Binary files differdeleted file mode 100644 index 980d474f..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Scroller/scrollbar-bouncing-effect-top.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png Binary files differdeleted file mode 100644 index 5e41e9a9..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_actionbar_btn_msg_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_body_btn_call_nor.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_body_btn_call_nor.png Binary files differdeleted file mode 100644 index 8337333d..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/Swipelist/b_logs_icon_body_btn_call_nor.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_add_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_add_holo_dark.png Binary files differdeleted file mode 100644 index bd24e0eb..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_add_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_delete_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_delete_holo_dark.png Binary files differdeleted file mode 100644 index ccbb7006..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_delete_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_setting_holo_dark.png b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_setting_holo_dark.png Binary files differdeleted file mode 100644 index 5b902230..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/images/listview/tw_list_setting_holo_dark.png +++ /dev/null diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.color.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.color.less deleted file mode 100644 index c5b85b9b..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.color.less +++ /dev/null @@ -1,198 +0,0 @@ -/*************************************************************************** - Body -***************************************************************************/ -@color_bg: B011; // #[color] Body main background color -@color_text: T0811; // #[color] Body main font color - -/*************************************************************************** - Action Bar -***************************************************************************/ -@color_actionbar_title_text: T012; // #[color] title text -@color_actionbar_title_bg: B0511; // #[color] title background -@color_actionbar_more_pressed_bg: W011P; // #[color] more background -@icon_actionbar_more_detail_normal: "./images/Actionbar/tw_ic_menu_detail_normal_holo_dark.png"; -@icon_actionbar_more_detail_disable: "./images/Actionbar/tw_ic_menu_detail_disable_holo_dark.png"; -@icon_actionbar_more_overflow: "./images/Actionbar/tw_ic_menu_moreoverflow_holo_dark.png"; -@icon_actionbar_more_selectall_normal: "./images/Actionbar/tw_ic_menu_selectall_normal_holo_dark.png"; -@icon_actionbar_more_selectall_disable: "./images/Actionbar/tw_ic_menu_selectall_disable_holo_dark.png"; -@color_actionbar_normal_bg: B052L1; // #[color] normal background -@color_actionbar_normal_disable: B052L1D; // #[color] disable background - -/**************************************************************************** - Progress Bar -****************************************************************************/ -@color_progressbar_text: T0811; // #[color] font color -@color_progressbar_normal_bg: B065L3; // #[color] background color -@color_progressbar_value_bg: B065L2; // #[color] value color -@color_progressbar_indeterminate: B065L6; // #[color] indeterminate color - -/**************************************************************************** - Processing -****************************************************************************/ -@color_processing_text: T097; // #[color] text color -@color_processing_activity_01: B066L1; // #[color] activity 01 -@color_processing_activity_02: B066L2; // #[color] activity 02 - -/**************************************************************************** - Toggle Switch -****************************************************************************/ -@color_switch_text: T0811; // #[color] text color -@color_toggle_on_bg: W014L1; // #[color] background on -@color_toggle_on_bg_press: W014L1P; // #[color] background on press -@color_toggle_on_bg_dim: W014L1D; // #[color] background on disabled -@color_toggle_off_bg: W014L2; // #[color] background off -@color_toggle_off_bg_press: W014L2P; // #[color] background off press -@color_toggle_off_bg_dim: W014L2D; // #[color] background off disabled -@color_toggle_on_handler: W014L3; // #[color] handler on -@color_toggle_on_handler_press: W014L3P; // #[color] handler on press -@color_toggle_on_handler_dim: W014L3D; // #[color] handler on disabled -@color_toggle_off_handler: W014L4; // #[color] handler off -@color_toggle_off_handler_press: W014L4P; // #[color] handler off press -@color_toggle_off_handler_dim: W014L4D; // #[color] handler off disable -@color_toggle_on_handler_on: W014L5; // #[color] on handler on -@color_toggle_on_handler_on_press: W014L5P; // #[color] on handler on press -@color_toggle_on_handler_on_dim: W014L5D; // #[color] on handler on disable -@color_toggle_off_handler_off: W014L6; // #[color] off handler off -@color_toggle_off_handler_off_press: W014L6P; // #[color] off handler off press -@color_toggle_off_handler_off_dim: W014L6D; // #[color] off handler off disable - -/*************************************************************************** - Buttons -***************************************************************************/ -@color_button_default_text: T041; // #[color] default text color -@color_button_default_text_pressed: T041P; // #[color] default text press -@color_button_default_text_disable: T041D; // #[color] default text disable - -@color_button_default_normal_bg: W011; // #[color] default normal background -@color_button_default_focus_bg: W011; // #[color] default normal focus background -@color_button_default_press_bg: W011P; // #[color] default normal press background -@color_button_default_disable_bg: W011D; // #[color] default normal disable background - -@color_button_red_text: T041; // #[color] red button text color -@color_button_red_text_pressed: T041P; // #[color] red button text press -@color_button_red_text_disable: T041D; // #[color] red button text disable -@color_button_red_normal_bg: W012; // #[color] red button normal background -@color_button_red_focus_bg: W012; // #[color] red button focus background -@color_button_red_press_bg: W012P; // #[color] red button press background -@color_button_red_disable_bg: W012D; // #[color] red button disable background - -@color_button_orange_text: T041; // #[color] orange button test color -@color_button_orange_text_pressed: T041P; // #[color] orange button test press -@color_button_orange_text_disable: T041D; // #[color] orange button disable -@color_button_orange_normal_bg: W013; // #[color] orange button normal background -@color_button_orange_focus_bg: W013; // #[color] orange button focus background -@color_button_orange_press_bg: W013P; // #[color] orange button press background -@color_button_orange_disable_bg: W013D; // #[color] orange button disable background - -@color_button_green_text: T041; // #[color] green button text color -@color_button_green_text_pressed: T041P; // #[color] green button test press -@color_button_green_text_disable: T041D; // #[color] green button disable -@color_button_green_normal_bg: W014; // #[color] green button normal background -@color_button_green_focus_bg: W014; // #[color] green button focus background -@color_button_green_press_bg: W014P; // #[color] green button press background -@color_button_green_disable_bg: W014D; // #[color] green button disable background - -/*************************************************************************** - Popup -***************************************************************************/ -@color_popup_title_text: T091; // #[color] title text color -@color_popup_bg: B061L1E; // #[color] background color -@color_popup_header_bg: B061L2; // #[color] header background -@color_popup_border: B061L7; // #[color] border color -@color_popup_button_bg: B065L4; // #[color] button background -@color_popup_button_press_bg: B065L4P; // #[color] button press background -@color_popup_overlay: W1712; // #[color] overlay color - -/*************************************************************************** - Option Popup -***************************************************************************/ -@color_option_popup_bg: B092L1; // #[color] background color -@color_option_popup_border: B092L2; // #[color] border color -@color_option_popup_list_border: B094; // #[color] list border color -@color_option_popup_list_text: T111; // #[color] list text color -@color_option_popup_list_text_pressed: T111P; // #[color] list text press color -@color_option_popup_list_text_disable: T111D; // #[color] text disable color -@color_option_popup_list_bg: B092L1; // #[color] list background -@color_option_popup_list_bg_pressed: B093P; // #[color] list background press -@color_option_popup_list_bg_disable: B093D; // #[color] list background disable -@color_option_popup_list_icon_bg: B095; // #[color] list icon background -@color_option_popup_list_icon_bg_pressed: B095P; // #[color] list icon press background -@color_option_popup_list_icon_bg_disable: B095D; // #[color] list icon disable background -@color_option_popup_inline_list_border: B097; // #[color] inline list border -@color_option_popup_inline_list_icon_bg: B096; // #[color] inline list icon background -@color_option_popup_inline_list_icon_bg_pressed: B096P; // #[color] inline list background press -@color_option_popup_inline_list_icon_bg_disable: B096D; // #[color] inline list background disable - -/*************************************************************************** - index scrollbar (vertical) -***************************************************************************/ -@color_indexscrollbar_bg: B0722; // #[color] background color -@color_indexscrollbar_bg_supplementary: B0723; // #[color] background supplementary -@color_indexscrollbar_text: T0311; // #[color] text color -@color_indexscrollbar_selected_bg: B0724; // #[color] selected background -@color_indexscrollbar_selected_text: T0311P; // #[color] selected background text color -@color_indexscrollbar_selected_text_supplementary: T0313; // #[color] selected background text supplementary - -@color_indexscrollbar_indicator_bg: B0731; // #[color] indicator background -@color_indexscrollbar_indicator_text_normal: T0312; // #[color] indicator normal text color -@color_indexscrollbar_indicator_text_selected: T0312P; // #[color] indicator selected text color - -/*************************************************************************** - Listview -***************************************************************************/ -@color_list_press_bg: B041P; // #[color] background press color -@color_listview_border: B0222; // #[color] border color -@color_listview_text: T0211; // #[color] text color -@color_listview_text_press: T0211P; // #[color] text color press -@color_listview_text_dim: T0211D; // #[color] text disable -@color_listview_text_highlight: T0212; // #[color] text highlight -@color_list_actionicon_divider: B0221L1; // #[color] action icon divider -@color_list_actionicon_image_normal: F022L1i; // #[color] action icon image normal -@color_list_actionicon_image_disable: F022L1iD; // #[color] action icon image disable -@color_list_divider_bg: B012; // #[color] divider background -@color_list_divider_text: T0231; // #[color] divider text color - -/*************************************************************************** - Scroller -***************************************************************************/ -@color_tab_normal: B0514; // #[color] tab normal color -@color_tab_active: B0514P1; // #[color] tab active color -@color_scroller_scrollbar_color: B071; // #[color] scroller scrollbar color -@bg_scroller_bouncing_effect_top: "./images/Scroller/scrollbar-bouncing-effect-top.png"; -@bg_scroller_bouncing_effect_bottom: "./images/Scroller/scrollbar-bouncing-effect-bottom.png"; -@bg_scroller_bouncing_effect_left: "./images/Scroller/scrollbar-bouncing-effect-left.png"; -@bg_scroller_bouncing_effect_right: "./images/Scroller/scrollbar-bouncing-effect-right.png"; - -/*************************************************************************** - Swipe list -***************************************************************************/ -@color_list_swipe_icon_btn_msg: F021L1i; // #[color] icon button message -@color_list_swipe_icon_btn_msg_press: F021L1iP; // #[color] icon button message press -@color_list_swipe_icon_btn_call: F021L1i; // #[color] icon button call -@color_list_swipe_icon_btn_call_press: F021L1iP; // #[color] icon button call press -@color_list_swipe_left_start_bg: B0242; // #[color] swipe left start background -@color_list_swipe_left_end_bg: B011; // #[color] swipe left end background -@color_list_swipe_right_start_bg: B0241; // #[color] swipe right start background -@color_list_swipe_right_end_bg: B011; // #[color] swipe right end background - -/*************************************************************************** - Checkbox/Radio -***************************************************************************/ -@color_checkboxradio_radiobox: W013L1; // #[color] radio box color -@color_checkboxradio_radiobox_press: W013L1P; // #[color] radio box press color -@color_checkboxradio_radiobox_dim: W013L1D; // #[color] radio box disable -@color_checkboxradio_radio: W013L2; // #[color] radio color -@color_checkboxradio_radio_press: W013L2P; // #[color] radio press -@color_checkboxradio_radio_dim: W013L2D; // #[color] radio disable -@color_checkboxradio_radiobox_line: W241; // #[color] radio box line -@color_checkboxradio_radiobox_line_press: W241P; // #[color] radio box line press -@color_checkboxradio_radiobox_line_dim: W241D; // #[color] radio box line disable -@color_checkboxradio_check: W012L2; // #[color] check color -@color_checkboxradio_check_press: W012L2P; // #[color] check press -@color_checkboxradio_check_dim: W012L2D; // #[color] check disable -@color_checkboxradio_checkbox: W012L1; // #[color] checkbox -@color_checkboxradio_checkbox_press: W012L1P; // #[color] checkbox press -@color_checkboxradio_checkbox_dim: W012L1D; // #[color] checkbox disable -@color_checkboxradio_checkbox_line: W231; // #[color] checkbox line -@color_checkboxradio_checkbox_line_press: W231P; // #[color] checkbox line press -@color_checkboxradio_checkbox_line_dim: W231D; // #[color] checkbox line disable diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.less b/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.less deleted file mode 100644 index 1618a2bf..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/theme-changeable/theme.less +++ /dev/null @@ -1,10 +0,0 @@ -@import "theme.color.less"; -@import "fixedUIStyle.less"; -@import "9-patch.less"; -@import "../wearable.less"; - -.tau-info-theme:after { - content: "default"; -} - -@import "../../../../wearable.default.colormap.less";
\ No newline at end of file diff --git a/tools/ThemeEditor/src/res/less/wearable/changeable/wearable.less b/tools/ThemeEditor/src/res/less/wearable/changeable/wearable.less deleted file mode 100644 index cbaf61b4..00000000 --- a/tools/ThemeEditor/src/res/less/wearable/changeable/wearable.less +++ /dev/null @@ -1,21 +0,0 @@ -@import "../../prefixer.less"; -@import "../../prefixer.ext.less"; -@import "common/reset.less"; -@import "common/core.less"; -@import "common/layout.less"; -@import "common/progress.less"; -@import "common/toggleswitch.less"; -@import "common/processing.less"; -@import "common/button.less"; -@import "common/popup.less"; -@import "common/popup.transition.less"; -@import "common/listview.less"; -@import "common/datetimepicker"; -@import "common/transition.less"; -@import "common/transition.fade.less"; -@import "common/transition.slideup.less"; -@import "common/indexscrollbar.less"; -@import "common/scroller.less"; -@import "common/swipelist.less"; -@import "common/tabindicator.less"; -@import "common/checkboxradio.less"; diff --git a/tools/ThemeEditor/src/res/mobile.default.colormap.less b/tools/ThemeEditor/src/res/mobile.default.colormap.less deleted file mode 100644 index 3c1bc615..00000000 --- a/tools/ThemeEditor/src/res/mobile.default.colormap.less +++ /dev/null @@ -1,150 +0,0 @@ -@color_bg: rgba(222, 237, 255, 1); -@color_text: rgba(0, 0, 0, 1); -@color_content_bg: rgba(0, 80, 179, 0.3); -@color_bar_naviframe_bg: rgba(0, 80, 179, 1); -@color_bar_naviframe_press: rgba(0, 68, 150, 1); -@color_bar_title_button_all: rgba(255, 255, 255, 1); -@color_bar_title_button_all_press: rgba(255, 255, 255, 1); -@color_bar_title_text: rgba(255, 255, 255, 1); -@color_bar_title_sub_text: rgba(255, 255, 255, 1); -@color_bar_title_button_text: rgba(255, 255, 255, 1); -@color_bar_title_button_text_press: rgba(255, 255, 255, 1); -@color_bar_toolbar_bg: rgba(255, 255, 255, 1); -@color_bar_toolbar_press: rgba(255, 255, 255, 1); -@color_bar_toolbar_button_text: rgba(255, 255, 255, 0.6); -@color_tabbar_bg: rgba(0, 80, 179, 1); -@color_tabbar_divider: rgba(255, 255, 255, 0.18); -@color_tabbar_select_bar: rgba(255, 255, 255, 1); -@color_tabbar_btn_normal: rgba(255, 255, 255, 0.6); -@color_tabbar_btn_selected: rgba(255, 255, 255, 1); -@color_tabbar_btn_bg_normal: rgba(0, 80, 179, 1); -@color_tabbar_btn_bg_press: rgba(0, 68, 150, 1); -@color_tabbar_text_normal: rgba(255, 255, 255, 0.6); -@color_tabbar_text_selected: rgba(255, 255, 255, 1); -@color_editfield_bg: rgba(255, 255, 255, 1); -@color_editfield_outline: rgba(0, 0, 0, 0.2); -@color_editfield_selected_outline: rgba(0, 80, 179, 1); -@color_editfield_disabled_outline: rgba(0, 0, 0, 0.2); -@color_editfield_text: rgba(0, 0, 0, 1); -@color_editfield_selected_text: rgba(0, 0, 0, 1); -@color_editfield_placeholder_text: rgba(0, 0, 0, 0.5); -@color_editfield_placeholder_selected_text: rgba(0, 0, 0, 0.5); -@color_editfield_disabled_text: rgba(0, 0, 0, 0.3); -@color_editfield_clear_icon: rgba(0, 0, 0, 1); -@color_editfield_clear_icon_press: rgba(0, 80, 179, 1); -@color_editfield_clear_icon_disabled: rgba(0, 0, 0, 0.3); -@color_list_press: rgba(0, 80, 179, 0.3); -@color_list_border_bottom: rgba(198, 220, 247, 1); -@color_list_dialog_border: rgba(198, 220, 247, 1); -@color_list_main_text_normal: rgba(0, 0, 0, 1); -@color_list_sub_text_normal: rgba(77, 77, 77, 1); -@color_list_divider_text: rgba(0, 80, 179, 1); -@color_list_divider_line: rgba(217, 217, 217, 1); -@color_list_divider_bg: rgba(255, 255, 255, 1); -@color_list_divider_bg_press: rgba(255, 255, 255, 1); -@color_list_divider_text_press: rgba(0, 80, 179, 1); -@color_list_divider_select_all_text: rgba(0, 0, 0, 1); -@color_list_swipe_text: rgba(0, 0, 0, 1); -@color_list_swipe_left_bg: rgba(0, 80, 179, 1); -@color_list_editfield_text: rgba(0, 0, 0, 1); -@color_list_editfield_placeholder_text: rgba(0, 0, 0, 0.5); -@color_list_editfield_disabled_text: rgba(0, 0, 0, 0.3); -@color_list_collapsible_arrow: rgba(0, 0, 0, 1); -@color_fastscroll_rollover_bg: rgba(255, 255, 255, 0.8); -@color_fastscroll_rollover_text: rgba(0, 80, 179, 0.6); -@color_fastscroll_popup_bg: rgba(255, 255, 255, 1); -@color_fastscroll_popup_text: rgba(0, 80, 179, 1); -@color_fastscroll_popup_border: rgba(0, 80, 179, 1); -@color_searchbar_bg: rgba(255, 255, 255, 1); -@color_searchbar_clear_icon: rgba(0, 0, 0, 1); -@color_searchbar_clear_icon_press: rgba(0, 80, 179, 1); -@color_button_text_normal: rgba(255, 255, 255, 1); -@color_button_text_press: rgba(255, 255, 255, 1); -@color_button_icon: rgba(255, 255, 255, 1); -@color_button_icon_nobg: rgba(39, 119, 217, 1); -@color_button_icon_nobg_press: rgba(28, 84, 153, 1); -@color_button_bg: rgba(39, 119, 217, 1); -@color_button_bg_press: rgba(28, 84, 153, 1); -@color_button_warning: rgba(224, 34, 34, 1); -@color_button_warning_press: rgba(186, 28, 28, 1); -@color_ctxpopup_text: rgba(0, 0, 0, 1); -@color_ctxpopup_background: rgba(255, 255, 255, 1); -@color_ctxpopup_background_border: rgba(0, 80, 179, 1); -@color_ctxpopup_btn_press: rgba(0, 80, 179, 0.3); -@color_ctxpopup_divider: rgba(0, 80, 179, 0.25); -@color_popup_bg: rgba(242, 246, 250, 1); -@color_popup_title_bg: rgba(77, 128, 191, 1); -@color_popup_title_text: rgba(255, 255, 255, 1); -@color_popup_text: rgba(0, 0, 0, 1); -@color_popup_button_bg: rgba(255, 255, 255, 1); -@color_popup_button_text: rgba(255, 255, 255, 1); -@color_popup_dim_screen_bg: rgba(0, 0, 0, 0.4); -@color_ticker_bg: rgba(255, 255, 255, 1); -@color_ticker_text1: rgba(0, 0, 0, 1); -@color_ticker_text2: rgba(0, 0, 0, 1); -@color_smallpopup_bg: rgba(255, 255, 255, 1); -@color_smallpopup_outline: rgba(0, 80, 179, 1); -@color_smallpopup_text: rgba(0, 0, 0, 1); -@color_slider_handle_text: rgba(0, 80, 179, 1); -@color_slider_popup_text: rgba(0, 0, 0, 1); -@color_slider_popup_bg: rgba(255, 255, 255, 1); -@color_slider_popup_stroke: rgba(0, 80, 179, 1); -@color_slider_left_text: rgba(0, 0, 0, 1); -@color_slider_right_text: rgba(0, 0, 0, 1); -@color_slider_center: rgba(179, 179, 179, 1); -@color_slider_bg: rgba(179, 179, 179, 1); -@color_slider_active_bg: rgba(0, 80, 179, 1); -@color_slider_handle_bg: rgba(0, 80, 179, 1); -@color_slider_img_bg: rgba(0, 80, 179, 1); -@color_slider_switch_label_on_bg: rgba(28, 84, 153, 1); -@color_slider_switch_label_off_bg: rgba(179, 179, 179, 1); -@color_slider_switch_label_on_text: rgba(255, 255, 255, 1); -@color_slider_switch_label_off_text: rgba(0, 0, 0, 1); -@color_toggle_handle_on_bg: rgba(42, 184, 66, 1); -@color_toggle_handle_off_bg: rgba(0, 0, 0, 0.4); -@color_toggle_handle_icon: rgba(255, 255, 255, 1); -@color_progress_bg: rgba(179, 179, 179, 1); -@color_progress_value: rgba(0, 80, 179, 1); -@color_progress_circle_bg: rgba(0, 80, 179, 0.7); -@color_tokentextarea_block_text: rgba(255, 255, 255, 1); -@color_tokentextarea_block_text_press: rgba(255, 255, 255, 1); -@color_tokentextarea_block_bg: rgba(39, 119, 217, 1); -@color_tokentextarea_press_bg: rgba(28, 84, 153, 1); -@color_tokentextarea_input_text: rgba(0, 0, 0, 1); -@color_tokentextarea_label_text: rgba(0, 80, 179, 1); -@color_checkboxradio_checkbox_bg_icon: rgba(255, 255, 255, 1); -@color_checkboxradio_bg_on: rgba(0, 80, 179, 1); -@color_checkboxradio_bg_off: rgba(0, 0, 0, 0.3); -@color_checkboxradio_radio_bg_on: rgba(0, 80, 179, 1); -@color_checkboxradio_radio_bg_off: rgba(0, 0, 0, 0.3); -@color_checkboxradio_radio_bg_icon: rgba(255, 255, 255, 1); -@color_checkboxradio_favorite_off: rgba(0, 0, 0, 0.3); -@color_checkboxradio_favorite_on: rgba(255, 179, 0, 1); -@color_scrollview_handler_bg: rgba(0, 80, 179, 0.7); -@color_scrollview_handler_thumb_01: rgba(255, 255, 255, 0.5); -@color_scrollview_handler_thumb_02: rgba(0, 80, 179, 0.55); -@color_drawer_bg: rgba(222, 237, 255, 1); -@color_drawer_list_press: rgba(0, 80, 179, 0.3); -@color_drawer_overlay_bg: rgba(0, 0, 0, 0.4); -@color_drawer_icon: rgba(255, 255, 255, 1); -@color_drawer_icon_press: rgba(0, 68, 150, 1); -@color_drawer_border_left: rgba(198, 220, 247, 1); -@color_drawer_border_right: rgba(198, 220, 247, 1); -@color_emptystate_header_bg: rgba(0, 80, 179, 1); -@color_emptystate_content_bg: rgba(255, 255, 255, 0.9); -@color_emptystate_content_pattern_bg: rgba(0, 80, 179, 0.6); -@color_selectmenu_list_group_index_bg: rgba(255, 255, 255, 1); -@color_selectmenu_list_line: rgba(217, 217, 217, 1); -@color_selectmenu_border_placeholder: rgba(217, 217, 217, 1); -@color_selectmenu_label_bg: rgba(255, 255, 255, 1); -@color_selectmenu_list_group_stroke: rgba(0, 80, 179, 1); -@color_selectmenu_list_item_bg_press: rgba(0, 80, 179, 0.3); -@color_selectmenu_icon: rgba(0, 80, 179, 1); -@color_selectmenu_font_dim: rgba(0, 0, 0, 0.3); -@color_selectmenu_placeholder_bg: rgba(255, 255, 255, 1); -@color_navigation_text: rgba(255, 255, 255, 1); -@color_navigation_text_press: rgba(0, 0, 0, 1); -@color_navigation_bg: rgba(0, 80, 179, 1); -@color_navigation_bar_bg: rgba(0, 68, 150, 1); -@color_navigation_bar_icon: rgba(255, 255, 255, 1); -@color_navigation_tab_divider: rgba(255, 255, 255, 0.18); diff --git a/tools/ThemeEditor/src/res/wearable.blue.colormap.less b/tools/ThemeEditor/src/res/wearable.blue.colormap.less deleted file mode 100644 index a9c52609..00000000 --- a/tools/ThemeEditor/src/res/wearable.blue.colormap.less +++ /dev/null @@ -1,264 +0,0 @@ -@color_bg: rgba(8, 8, 8, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(116, 196, 252, 1); -@color_actionbar_title_bg: rgba(0, 31, 56, 1); -@color_actionbar_more_pressed_bg: rgba(23, 73, 115, 1); -@color_actionbar_normal_bg: rgba(116, 196, 252, 1); -@color_actionbar_normal_disable: rgba(116, 196, 252, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(71, 71, 71, 1); -@color_progressbar_value_bg: rgba(55, 161, 237, 1); -@color_progressbar_indeterminate: rgba(0, 77, 153, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(0, 123, 255, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(112, 186, 15, 1); -@color_toggle_on_bg_press: rgba(71, 97, 37, 1); -@color_toggle_on_bg_dim: rgba(27, 33, 18, 1); -@color_toggle_off_bg: rgba(128, 128, 128, 1); -@color_toggle_off_bg_press: rgba(97, 96, 96, 1); -@color_toggle_off_bg_dim: rgba(59, 59, 59, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(173, 173, 173, 1); -@color_toggle_on_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(173, 173, 173, 1); -@color_toggle_off_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_on_handler_on: rgba(112, 186, 15, 1); -@color_toggle_on_handler_on_press: rgba(71, 97, 37, 1); -@color_toggle_on_handler_on_dim: rgba(27, 33, 18, 1); -@color_toggle_off_handler_off: rgba(128, 128, 128, 1); -@color_toggle_off_handler_off_press: rgba(97, 96, 96, 1); -@color_toggle_off_handler_off_dim: rgba(59, 59, 59, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(2, 56, 92, 1); -@color_button_default_focus_bg: rgba(2, 56, 92, 1); -@color_button_default_press_bg: rgba(23, 73, 115, 1); -@color_button_default_disable_bg: rgba(3, 44, 64, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 1); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(116, 196, 252, 1); -@color_popup_bg: rgba(0, 17, 33, 1); -@color_popup_header_bg: rgba(5, 42, 71, 1); -@color_popup_border: rgba(0, 55, 92, 1); -@color_popup_button_bg: rgba(2, 56, 92, 1); -@color_popup_button_press_bg: rgba(23, 73, 115, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(112, 112, 112, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(19, 99, 145, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(99, 99, 99, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(99, 99, 99, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(33, 33, 33, 1); -@color_indexscrollbar_bg_supplementary: rgba(43, 43, 43, 1); -@color_indexscrollbar_text: rgba(84, 84, 84, 1); -@color_indexscrollbar_selected_bg: rgba(43, 43, 43, 1); -@color_indexscrollbar_selected_text: rgba(55, 161, 237, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(55, 161, 237, 1); -@color_indexscrollbar_indicator_bg: rgba(0, 61, 107, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(250, 250, 250, 1); -@color_indexscrollbar_indicator_text_selected: rgba(55, 161, 237, 1); -@color_list_press_bg: rgba(8, 56, 94, 1); -@color_listview_border: rgba(56, 56, 56, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(14, 118, 179, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(29, 72, 105, 1); -@color_list_divider_text: rgba(151, 197, 230, 1); -@color_tab_normal: rgba(76, 103, 125, 1); -@color_tab_active: rgba(55, 161, 237, 1); -@color_scroller_scrollbar_color: rgba(102, 102, 102, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(8, 8, 8, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(8, 8, 8, 1); -@color_checkboxradio_radiobox: rgba(0, 14, 26, 1); -@color_checkboxradio_radiobox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_radiobox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_radio: rgba(112, 186, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(112, 186, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_checkbox: rgba(0, 14, 26, 1); -@color_checkboxradio_checkbox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_checkbox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); -@color_bg: rgba(8, 8, 8, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(116, 196, 252, 1); -@color_actionbar_title_bg: rgba(0, 31, 56, 1); -@color_actionbar_more_pressed_bg: rgba(23, 73, 115, 1); -@color_actionbar_normal_bg: rgba(116, 196, 252, 1); -@color_actionbar_normal_disable: rgba(116, 196, 252, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(71, 71, 71, 1); -@color_progressbar_value_bg: rgba(55, 161, 237, 1); -@color_progressbar_indeterminate: rgba(0, 77, 153, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(0, 123, 255, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(112, 186, 15, 1); -@color_toggle_on_bg_press: rgba(71, 97, 37, 1); -@color_toggle_on_bg_dim: rgba(27, 33, 18, 1); -@color_toggle_off_bg: rgba(128, 128, 128, 1); -@color_toggle_off_bg_press: rgba(97, 96, 96, 1); -@color_toggle_off_bg_dim: rgba(59, 59, 59, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(173, 173, 173, 1); -@color_toggle_on_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(173, 173, 173, 1); -@color_toggle_off_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_on_handler_on: rgba(112, 186, 15, 1); -@color_toggle_on_handler_on_press: rgba(71, 97, 37, 1); -@color_toggle_on_handler_on_dim: rgba(27, 33, 18, 1); -@color_toggle_off_handler_off: rgba(128, 128, 128, 1); -@color_toggle_off_handler_off_press: rgba(97, 96, 96, 1); -@color_toggle_off_handler_off_dim: rgba(59, 59, 59, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(2, 56, 92, 1); -@color_button_default_focus_bg: rgba(2, 56, 92, 1); -@color_button_default_press_bg: rgba(23, 73, 115, 1); -@color_button_default_disable_bg: rgba(3, 44, 64, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 1); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(116, 196, 252, 1); -@color_popup_bg: rgba(0, 17, 33, 1); -@color_popup_header_bg: rgba(5, 42, 71, 1); -@color_popup_border: rgba(0, 55, 92, 1); -@color_popup_button_bg: rgba(2, 56, 92, 1); -@color_popup_button_press_bg: rgba(23, 73, 115, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(112, 112, 112, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(19, 99, 145, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(99, 99, 99, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(99, 99, 99, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(33, 33, 33, 1); -@color_indexscrollbar_bg_supplementary: rgba(43, 43, 43, 1); -@color_indexscrollbar_text: rgba(84, 84, 84, 1); -@color_indexscrollbar_selected_bg: rgba(43, 43, 43, 1); -@color_indexscrollbar_selected_text: rgba(55, 161, 237, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(55, 161, 237, 1); -@color_indexscrollbar_indicator_bg: rgba(0, 61, 107, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(250, 250, 250, 1); -@color_indexscrollbar_indicator_text_selected: rgba(55, 161, 237, 1); -@color_list_press_bg: rgba(8, 56, 94, 1); -@color_listview_border: rgba(56, 56, 56, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(14, 118, 179, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(29, 72, 105, 1); -@color_list_divider_text: rgba(151, 197, 230, 1); -@color_tab_normal: rgba(76, 103, 125, 1); -@color_tab_active: rgba(55, 161, 237, 1); -@color_scroller_scrollbar_color: rgba(102, 102, 102, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(8, 8, 8, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(8, 8, 8, 1); -@color_checkboxradio_radiobox: rgba(0, 14, 26, 1); -@color_checkboxradio_radiobox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_radiobox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_radio: rgba(112, 186, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(112, 186, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_checkbox: rgba(0, 14, 26, 1); -@color_checkboxradio_checkbox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_checkbox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); diff --git a/tools/ThemeEditor/src/res/wearable.brown.colormap.less b/tools/ThemeEditor/src/res/wearable.brown.colormap.less deleted file mode 100644 index d5b111a2..00000000 --- a/tools/ThemeEditor/src/res/wearable.brown.colormap.less +++ /dev/null @@ -1,396 +0,0 @@ -@color_bg: rgba(8, 8, 8, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(116, 196, 252, 1); -@color_actionbar_title_bg: rgba(0, 31, 56, 1); -@color_actionbar_more_pressed_bg: rgba(23, 73, 115, 1); -@color_actionbar_normal_bg: rgba(116, 196, 252, 1); -@color_actionbar_normal_disable: rgba(116, 196, 252, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(71, 71, 71, 1); -@color_progressbar_value_bg: rgba(55, 161, 237, 1); -@color_progressbar_indeterminate: rgba(0, 77, 153, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(0, 123, 255, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(112, 186, 15, 1); -@color_toggle_on_bg_press: rgba(71, 97, 37, 1); -@color_toggle_on_bg_dim: rgba(27, 33, 18, 1); -@color_toggle_off_bg: rgba(128, 128, 128, 1); -@color_toggle_off_bg_press: rgba(97, 96, 96, 1); -@color_toggle_off_bg_dim: rgba(59, 59, 59, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(173, 173, 173, 1); -@color_toggle_on_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(173, 173, 173, 1); -@color_toggle_off_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_on_handler_on: rgba(112, 186, 15, 1); -@color_toggle_on_handler_on_press: rgba(71, 97, 37, 1); -@color_toggle_on_handler_on_dim: rgba(27, 33, 18, 1); -@color_toggle_off_handler_off: rgba(128, 128, 128, 1); -@color_toggle_off_handler_off_press: rgba(97, 96, 96, 1); -@color_toggle_off_handler_off_dim: rgba(59, 59, 59, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(2, 56, 92, 1); -@color_button_default_focus_bg: rgba(2, 56, 92, 1); -@color_button_default_press_bg: rgba(23, 73, 115, 1); -@color_button_default_disable_bg: rgba(3, 44, 64, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 1); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(116, 196, 252, 1); -@color_popup_bg: rgba(0, 17, 33, 1); -@color_popup_header_bg: rgba(5, 42, 71, 1); -@color_popup_border: rgba(0, 55, 92, 1); -@color_popup_button_bg: rgba(2, 56, 92, 1); -@color_popup_button_press_bg: rgba(23, 73, 115, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(112, 112, 112, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(19, 99, 145, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(99, 99, 99, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(99, 99, 99, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(33, 33, 33, 1); -@color_indexscrollbar_bg_supplementary: rgba(43, 43, 43, 1); -@color_indexscrollbar_text: rgba(84, 84, 84, 1); -@color_indexscrollbar_selected_bg: rgba(43, 43, 43, 1); -@color_indexscrollbar_selected_text: rgba(55, 161, 237, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(55, 161, 237, 1); -@color_indexscrollbar_indicator_bg: rgba(0, 61, 107, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(250, 250, 250, 1); -@color_indexscrollbar_indicator_text_selected: rgba(55, 161, 237, 1); -@color_list_press_bg: rgba(8, 56, 94, 1); -@color_listview_border: rgba(56, 56, 56, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(14, 118, 179, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(29, 72, 105, 1); -@color_list_divider_text: rgba(151, 197, 230, 1); -@color_tab_normal: rgba(76, 103, 125, 1); -@color_tab_active: rgba(55, 161, 237, 1); -@color_scroller_scrollbar_color: rgba(102, 102, 102, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(8, 8, 8, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(8, 8, 8, 1); -@color_checkboxradio_radiobox: rgba(0, 14, 26, 1); -@color_checkboxradio_radiobox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_radiobox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_radio: rgba(112, 186, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(112, 186, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_checkbox: rgba(0, 14, 26, 1); -@color_checkboxradio_checkbox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_checkbox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); -@color_bg: rgba(8, 8, 8, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(116, 196, 252, 1); -@color_actionbar_title_bg: rgba(0, 31, 56, 1); -@color_actionbar_more_pressed_bg: rgba(23, 73, 115, 1); -@color_actionbar_normal_bg: rgba(116, 196, 252, 1); -@color_actionbar_normal_disable: rgba(116, 196, 252, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(71, 71, 71, 1); -@color_progressbar_value_bg: rgba(55, 161, 237, 1); -@color_progressbar_indeterminate: rgba(0, 77, 153, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(0, 123, 255, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(112, 186, 15, 1); -@color_toggle_on_bg_press: rgba(71, 97, 37, 1); -@color_toggle_on_bg_dim: rgba(27, 33, 18, 1); -@color_toggle_off_bg: rgba(128, 128, 128, 1); -@color_toggle_off_bg_press: rgba(97, 96, 96, 1); -@color_toggle_off_bg_dim: rgba(59, 59, 59, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(173, 173, 173, 1); -@color_toggle_on_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(173, 173, 173, 1); -@color_toggle_off_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_on_handler_on: rgba(112, 186, 15, 1); -@color_toggle_on_handler_on_press: rgba(71, 97, 37, 1); -@color_toggle_on_handler_on_dim: rgba(27, 33, 18, 1); -@color_toggle_off_handler_off: rgba(128, 128, 128, 1); -@color_toggle_off_handler_off_press: rgba(97, 96, 96, 1); -@color_toggle_off_handler_off_dim: rgba(59, 59, 59, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(2, 56, 92, 1); -@color_button_default_focus_bg: rgba(2, 56, 92, 1); -@color_button_default_press_bg: rgba(23, 73, 115, 1); -@color_button_default_disable_bg: rgba(3, 44, 64, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 1); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(116, 196, 252, 1); -@color_popup_bg: rgba(0, 17, 33, 1); -@color_popup_header_bg: rgba(5, 42, 71, 1); -@color_popup_border: rgba(0, 55, 92, 1); -@color_popup_button_bg: rgba(2, 56, 92, 1); -@color_popup_button_press_bg: rgba(23, 73, 115, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(112, 112, 112, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(19, 99, 145, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(99, 99, 99, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(99, 99, 99, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(33, 33, 33, 1); -@color_indexscrollbar_bg_supplementary: rgba(43, 43, 43, 1); -@color_indexscrollbar_text: rgba(84, 84, 84, 1); -@color_indexscrollbar_selected_bg: rgba(43, 43, 43, 1); -@color_indexscrollbar_selected_text: rgba(55, 161, 237, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(55, 161, 237, 1); -@color_indexscrollbar_indicator_bg: rgba(0, 61, 107, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(250, 250, 250, 1); -@color_indexscrollbar_indicator_text_selected: rgba(55, 161, 237, 1); -@color_list_press_bg: rgba(8, 56, 94, 1); -@color_listview_border: rgba(56, 56, 56, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(14, 118, 179, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(29, 72, 105, 1); -@color_list_divider_text: rgba(151, 197, 230, 1); -@color_tab_normal: rgba(76, 103, 125, 1); -@color_tab_active: rgba(55, 161, 237, 1); -@color_scroller_scrollbar_color: rgba(102, 102, 102, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(8, 8, 8, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(8, 8, 8, 1); -@color_checkboxradio_radiobox: rgba(0, 14, 26, 1); -@color_checkboxradio_radiobox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_radiobox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_radio: rgba(112, 186, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(112, 186, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_checkbox: rgba(0, 14, 26, 1); -@color_checkboxradio_checkbox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_checkbox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); -@color_bg: rgba(36, 27, 19, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(255, 145, 0, 1); -@color_actionbar_title_bg: rgba(51, 40, 30, 1); -@color_actionbar_more_pressed_bg: rgba(110, 88, 67, 1); -@color_actionbar_normal_bg: rgba(255, 145, 0, 1); -@color_actionbar_normal_disable: rgba(255, 145, 0, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(66, 66, 66, 1); -@color_progressbar_value_bg: rgba(255, 145, 0, 1); -@color_progressbar_indeterminate: rgba(153, 87, 0, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(255, 145, 0, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(115, 191, 15, 1); -@color_toggle_on_bg_press: rgba(75, 102, 39, 1); -@color_toggle_on_bg_dim: rgba(31, 38, 21, 1); -@color_toggle_off_bg: rgba(133, 133, 133, 1); -@color_toggle_off_bg_press: rgba(102, 101, 101, 1); -@color_toggle_off_bg_dim: rgba(64, 64, 64, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(179, 179, 179, 1); -@color_toggle_on_handler_dim: rgba(77, 77, 77, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(179, 179, 179, 1); -@color_toggle_off_handler_dim: rgba(77, 77, 77, 1); -@color_toggle_on_handler_on: rgba(115, 191, 15, 1); -@color_toggle_on_handler_on_press: rgba(75, 102, 39, 1); -@color_toggle_on_handler_on_dim: rgba(31, 38, 21, 1); -@color_toggle_off_handler_off: rgba(133, 133, 133, 1); -@color_toggle_off_handler_off_press: rgba(102, 101, 101, 1); -@color_toggle_off_handler_off_dim: rgba(64, 64, 64, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(74, 64, 55, 1); -@color_button_default_focus_bg: rgba(74, 64, 55, 1); -@color_button_default_press_bg: rgba(110, 88, 67, 1); -@color_button_default_disable_bg: rgba(13, 12, 11, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 0.4); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(242, 159, 51, 1); -@color_popup_bg: rgba(31, 24, 19, 1); -@color_popup_header_bg: rgba(43, 37, 31, 1); -@color_popup_border: rgba(255, 145, 0, 1); -@color_popup_button_bg: rgba(74, 65, 54, 1); -@color_popup_button_press_bg: rgba(99, 93, 90, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(117, 117, 117, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(217, 130, 17, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(107, 107, 107, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(107, 107, 107, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(41, 41, 41, 1); -@color_indexscrollbar_bg_supplementary: rgba(51, 51, 51, 1); -@color_indexscrollbar_text: rgba(89, 89, 89, 1); -@color_indexscrollbar_selected_bg: rgba(51, 51, 51, 1); -@color_indexscrollbar_selected_text: rgba(255, 145, 0, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(255, 145, 0, 1); -@color_indexscrollbar_indicator_bg: rgba(89, 74, 59, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(245, 245, 245, 1); -@color_indexscrollbar_indicator_text_selected: rgba(255, 145, 0, 1); -@color_list_press_bg: rgba(89, 74, 59, 1); -@color_listview_border: rgba(46, 46, 46, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(255, 145, 0, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(79, 74, 70, 1); -@color_list_divider_text: rgba(245, 245, 245, 1); -@color_tab_normal: rgba(64, 58, 53, 1); -@color_tab_active: rgba(250, 145, 7, 1); -@color_scroller_scrollbar_color: rgba(110, 110, 110, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(36, 27, 19, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(36, 27, 19, 1); -@color_checkboxradio_radiobox: rgba(18, 9, 0, 1); -@color_checkboxradio_radiobox_press: rgba(79, 36, 0, 0.4); -@color_checkboxradio_radiobox_dim: rgba(36, 36, 36, 1); -@color_checkboxradio_radio: rgba(115, 191, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(59, 59, 59, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(115, 191, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(59, 59, 59, 1); -@color_checkboxradio_checkbox: rgba(18, 9, 0, 1); -@color_checkboxradio_checkbox_press: rgba(79, 36, 0, 0.4); -@color_checkboxradio_checkbox_dim: rgba(36, 36, 36, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); diff --git a/tools/ThemeEditor/src/res/wearable.default.colormap.less b/tools/ThemeEditor/src/res/wearable.default.colormap.less deleted file mode 100644 index 97a4174b..00000000 --- a/tools/ThemeEditor/src/res/wearable.default.colormap.less +++ /dev/null @@ -1,132 +0,0 @@ -@color_bg: rgba(8, 8, 8, 1); -@color_text: rgba(245, 245, 245, 1); -@color_actionbar_title_text: rgba(116, 196, 252, 1); -@color_actionbar_title_bg: rgba(0, 31, 56, 1); -@color_actionbar_more_pressed_bg: rgba(23, 73, 115, 1); -@color_actionbar_normal_bg: rgba(116, 196, 252, 1); -@color_actionbar_normal_disable: rgba(116, 196, 252, 0.2); -@color_progressbar_text: rgba(245, 245, 245, 1); -@color_progressbar_normal_bg: rgba(71, 71, 71, 1); -@color_progressbar_value_bg: rgba(55, 161, 237, 1); -@color_progressbar_indeterminate: rgba(0, 77, 153, 1); -@color_processing_text: rgba(245, 245, 245, 1); -@color_processing_activity_01: rgba(0, 123, 255, 1); -@color_switch_text: rgba(245, 245, 245, 1); -@color_toggle_on_bg: rgba(112, 186, 15, 1); -@color_toggle_on_bg_press: rgba(71, 97, 37, 1); -@color_toggle_on_bg_dim: rgba(27, 33, 18, 1); -@color_toggle_off_bg: rgba(128, 128, 128, 1); -@color_toggle_off_bg_press: rgba(97, 96, 96, 1); -@color_toggle_off_bg_dim: rgba(59, 59, 59, 1); -@color_toggle_on_handler: rgba(245, 245, 245, 1); -@color_toggle_on_handler_press: rgba(173, 173, 173, 1); -@color_toggle_on_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_off_handler: rgba(245, 245, 245, 1); -@color_toggle_off_handler_press: rgba(173, 173, 173, 1); -@color_toggle_off_handler_dim: rgba(71, 71, 71, 1); -@color_toggle_on_handler_on: rgba(112, 186, 15, 1); -@color_toggle_on_handler_on_press: rgba(71, 97, 37, 1); -@color_toggle_on_handler_on_dim: rgba(27, 33, 18, 1); -@color_toggle_off_handler_off: rgba(128, 128, 128, 1); -@color_toggle_off_handler_off_press: rgba(97, 96, 96, 1); -@color_toggle_off_handler_off_dim: rgba(59, 59, 59, 1); -@color_button_default_text: rgba(245, 245, 245, 1); -@color_button_default_text_pressed: rgba(245, 245, 245, 1); -@color_button_default_text_disable: rgba(245, 245, 245, 0.2); -@color_button_default_normal_bg: rgba(2, 56, 92, 1); -@color_button_default_focus_bg: rgba(2, 56, 92, 1); -@color_button_default_press_bg: rgba(23, 73, 115, 1); -@color_button_default_disable_bg: rgba(3, 44, 64, 1); -@color_button_red_text: rgba(245, 245, 245, 1); -@color_button_red_text_pressed: rgba(245, 245, 245, 1); -@color_button_red_text_disable: rgba(245, 245, 245, 0.2); -@color_button_red_normal_bg: rgba(207, 36, 2, 1); -@color_button_red_focus_bg: rgba(207, 36, 2, 1); -@color_button_red_press_bg: rgba(222, 102, 78, 1); -@color_button_red_disable_bg: rgba(69, 11, 1, 1); -@color_button_orange_text: rgba(245, 245, 245, 1); -@color_button_orange_text_pressed: rgba(245, 245, 245, 1); -@color_button_orange_text_disable: rgba(245, 245, 245, 0.2); -@color_button_orange_normal_bg: rgba(237, 134, 0, 1); -@color_button_orange_focus_bg: rgba(237, 134, 0, 1); -@color_button_orange_press_bg: rgba(242, 171, 78, 1); -@color_button_orange_disable_bg: rgba(69, 39, 5, 1); -@color_button_green_text: rgba(245, 245, 245, 1); -@color_button_green_text_pressed: rgba(245, 245, 245, 1); -@color_button_green_text_disable: rgba(245, 245, 245, 0.2); -@color_button_green_normal_bg: rgba(97, 163, 16, 1); -@color_button_green_focus_bg: rgba(97, 163, 16, 1); -@color_button_green_press_bg: rgba(146, 191, 90, 1); -@color_button_green_disable_bg: rgba(50, 54, 48, 1); -@color_popup_title_text: rgba(116, 196, 252, 1); -@color_popup_bg: rgba(0, 17, 33, 1); -@color_popup_header_bg: rgba(5, 42, 71, 1); -@color_popup_border: rgba(0, 55, 92, 1); -@color_popup_button_bg: rgba(2, 56, 92, 1); -@color_popup_button_press_bg: rgba(23, 73, 115, 1); -@color_popup_overlay: rgba(8, 8, 8, 0.7); -@color_option_popup_bg: rgba(245, 245, 245, 1); -@color_option_popup_border: rgba(112, 112, 112, 0.9); -@color_option_popup_list_border: rgba(204, 204, 204, 1); -@color_option_popup_list_text: rgba(8, 8, 8, 1); -@color_option_popup_list_text_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_text_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_bg: rgba(245, 245, 245, 1); -@color_option_popup_list_bg_pressed: rgba(19, 99, 145, 1); -@color_option_popup_list_bg_disable: rgba(8, 8, 8, 0.2); -@color_option_popup_list_icon_bg: rgba(99, 99, 99, 0.9); -@color_option_popup_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_list_icon_bg_disable: rgba(99, 99, 99, 0.2); -@color_option_popup_inline_list_border: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg: rgba(8, 8, 8, 1); -@color_option_popup_inline_list_icon_bg_pressed: rgba(245, 245, 245, 1); -@color_option_popup_inline_list_icon_bg_disable: rgba(8, 8, 8, 0.2); -@color_indexscrollbar_bg: rgba(33, 33, 33, 1); -@color_indexscrollbar_bg_supplementary: rgba(43, 43, 43, 1); -@color_indexscrollbar_text: rgba(84, 84, 84, 1); -@color_indexscrollbar_selected_bg: rgba(43, 43, 43, 1); -@color_indexscrollbar_selected_text: rgba(55, 161, 237, 1); -@color_indexscrollbar_selected_text_supplementary: rgba(55, 161, 237, 1); -@color_indexscrollbar_indicator_bg: rgba(0, 61, 107, 0.95); -@color_indexscrollbar_indicator_text_normal: rgba(250, 250, 250, 1); -@color_indexscrollbar_indicator_text_selected: rgba(55, 161, 237, 1); -@color_list_press_bg: rgba(8, 56, 94, 1); -@color_listview_border: rgba(56, 56, 56, 1); -@color_listview_text: rgba(245, 245, 245, 1); -@color_listview_text_press: rgba(245, 245, 245, 1); -@color_listview_text_dim: rgba(245, 245, 245, 0.4); -@color_listview_text_highlight: rgba(14, 118, 179, 1); -@color_list_actionicon_divider: rgba(56, 56, 56, 1); -@color_list_actionicon_image_normal: rgba(245, 245, 245, 1); -@color_list_actionicon_image_disable: rgba(245, 245, 245, 0.4); -@color_list_divider_bg: rgba(29, 72, 105, 1); -@color_list_divider_text: rgba(151, 197, 230, 1); -@color_tab_normal: rgba(76, 103, 125, 1); -@color_tab_active: rgba(55, 161, 237, 1); -@color_scroller_scrollbar_color: rgba(102, 102, 102, 1); -@color_list_swipe_icon_btn_msg: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_msg_press: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call: rgba(245, 245, 245, 1); -@color_list_swipe_icon_btn_call_press: rgba(245, 245, 245, 1); -@color_list_swipe_left_start_bg: rgba(98, 168, 24, 1); -@color_list_swipe_left_end_bg: rgba(8, 8, 8, 1); -@color_list_swipe_right_start_bg: rgba(235, 164, 23, 1); -@color_list_swipe_right_end_bg: rgba(8, 8, 8, 1); -@color_checkboxradio_radiobox: rgba(0, 14, 26, 1); -@color_checkboxradio_radiobox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_radiobox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_radio: rgba(112, 186, 15, 1); -@color_checkboxradio_radio_press: rgba(245, 245, 245, 1); -@color_checkboxradio_radio_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_radiobox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_radiobox_line_dim: rgba(245, 245, 245, 0.3); -@color_checkboxradio_check: rgba(112, 186, 15, 1); -@color_checkboxradio_check_press: rgba(245, 245, 245, 1); -@color_checkboxradio_check_dim: rgba(54, 54, 54, 1); -@color_checkboxradio_checkbox: rgba(0, 14, 26, 1); -@color_checkboxradio_checkbox_press: rgba(0, 50, 84, 0.4); -@color_checkboxradio_checkbox_dim: rgba(31, 31, 31, 1); -@color_checkboxradio_checkbox_line: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_press: rgba(245, 245, 245, 0.3); -@color_checkboxradio_checkbox_line_dim: rgba(245, 245, 245, 0.3); diff --git a/tools/ThemeEditor/src/run.sh b/tools/ThemeEditor/src/run.sh deleted file mode 100755 index c5291aa8..00000000 --- a/tools/ThemeEditor/src/run.sh +++ /dev/null @@ -1,33 +0,0 @@ -function displayHelp { - echo "You can use following options:" - echo "./run.sh 'name=DisplayedAppName&path=pathToApp'" -} - -CUR=$(cd $(dirname $0) && pwd) -CHROME=google-chrome -NOW=`date +%s` -TMPDIR="/tmp/.ThemeEditor" -USER_DATA_DIR="$TMPDIR/$NOW" - -if test -z "$1" -then - START_CONFIG="" - displayHelp -else - START_CONFIG="?"$1 -fi - -if [ "$OS" == "darwin" ] || [ "$(uname)" == "Darwin" ]; then - CHROME_PATH=/Applications - CHROME="$CHROME_PATH/Google Chrome.app/Contents/MacOS/Google Chrome" - if ! test -e "$CHROME"; then - CHROME_PATH=~/Desktop - CHROME="$CHROME_PATH/Google Chrome.app/Contents/MacOS/Google Chrome" - fi -fi - -rm -rf $TMPDIR -mkdir $TMPDIR -mkdir $USER_DATA_DIR - -"$CHROME" --user-data-dir=$USER_DATA_DIR --no-first-run --no-default-browser-check --allow-file-access-from-files --disable-web-security --start-maximized --app="file://$CUR/index.html$START_CONFIG" |