diff --git a/Basic Startup.txt b/Basic Startup.txt deleted file mode 100644 index ed4fd9d..0000000 --- a/Basic Startup.txt +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - diff --git a/Help/BOILER_PLATES/app.html b/Help/BOILER_PLATES/app.html new file mode 100644 index 0000000..dfb6d5b --- /dev/null +++ b/Help/BOILER_PLATES/app.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + +
+

+

+ + + + + diff --git a/Help/app.md b/Help/app.md new file mode 100644 index 0000000..1325f97 --- /dev/null +++ b/Help/app.md @@ -0,0 +1,53 @@ +# Building Mink apps + +*Note: Feel free to change anything in this project under the SOURCE directory.* + +---- + +### Needed: + +- Knowledge of: + + JS + + HTML5 + + CSS3 + +- Software: + + Text editor + + HTML5 enabled browser + + JS enabled browser + + CSS3 enabled browser + +---- + +### Automatically handled by Mink: + +1. FULL SCREEN: + - If the screen is scrolled past the master button, the master button area (system tray) is overlapped (thus 'hiding' it), as well as the notification area.¹ + +2. TIME UPDATE: + - The current time will be notified every 60s, for 5s.¹ + +---- + +### Step-by-step instructions on building an app: + +1. Create a sub-directory in the `/SOURCE/APP` directory, and inside of it, a group of files: `app.html` `app.js` `app.css` (and if needed, a sub-directory `/mof` to hold extra data: i.e. form data, form submission pages, cache pages, etc.) + +2. Name the directory `com.{company}.{name}` (like Android apps) + +3. Build your app as `app.html` + +4. Link your app to the Mink OS: + - In the index.html file, add the following: + ```html + + Name* + +

+ ``` + - Or: + + While running the Mink OS, select `Settings | Apps | Add` and enter the company and name of the app + +*Note: If you clear browser cookies ALL app data, locations, and references will be deleted if you choose not to do § i +*Note: ¹ is to be updated (either fixing, or creating) +*Note: be sure to include the following in your app.html file if you need the resources: BOILER_PLATES/app.html diff --git a/Help/color_palette.md b/Help/color_palette.md new file mode 100644 index 0000000..294ab3a --- /dev/null +++ b/Help/color_palette.md @@ -0,0 +1,8 @@ +Mink Blue: #00ACED NEGATED = +Mink Orange: #|FF5312 - 00ACED| = +Mink Pink: #|FF59DB - FF5312| = +Mink Over-kill: #|0006C9 - 00ACED| = +Mink Green: #|00A624 - FF5312| = +Mink Tangerine: #FFA312 + +*Note: "=" means to create the color on the next line.* diff --git a/Help/css.md b/Help/css.md new file mode 100644 index 0000000..e8295c5 --- /dev/null +++ b/Help/css.md @@ -0,0 +1,2 @@ +# CASCADING STYLE SHEET (RGB) + - all CSS selectors diff --git a/Help/html.md b/Help/html.md new file mode 100644 index 0000000..46be575 --- /dev/null +++ b/Help/html.md @@ -0,0 +1,5 @@ +# HYPER TEXT MARKUP LANGUAGE (MINK) + - all HTML5 attributes, properties and elements + +# Attributes + - `icon`: icon of this element diff --git a/Help/js.md b/Help/js.md new file mode 100644 index 0000000..85fb1ed --- /dev/null +++ b/Help/js.md @@ -0,0 +1,131 @@ +# JAVASCRIPT (INK) + +## Miscellaneous JS + + - variables + - `input` - form input + - `navigator.platformType` - mobile/immobile (desktop) + + - functions + - "all" original JS functions + - all jQuery functions (as of v.2.1.1) + - `ICON_COUNT(id, what, who)` + + id: what DOM Object should I locate + + what: what icon am I looking for, if left blank, how many total icons are in this DOM + + who: which DOM do I get if there are multiple copies, default is 0 (first) + - `ICON_EXISTS(icon)` + + `icon` - what icon am I looking for + - `ICON_GET(id)` + + `id` - locate this DOM and return the icon + - `ICON_GET_CHILD(id)` + + `id` - get this DOM's child's icon + - `ICON_INDEX(icon)` + + `icon` - what is this icon's name/number ; if given a name, returns a number; if given a number, returns a name + - `ICON_SET(id, icon)` (*use this for one time icon changes*) + + `id` - get this DOM Object + + `icon` - make this the new icon + - `ICON_SET_CHILD(id, child, icon)` + + `id` - get this DOM + + `child` - which child + + `icon` - make this the icon + - `ICON_SWAP(id, icon)` (*use this for multiple icon changes, it will automatically swap between the original icon and new icon*) + + `id` - get this DOM Object + + `icon` - new icon to swap with + - `LIST_ICONS()` (*use this to return a list of all icons*) + - `NO_CSS_TAMPER([CSS])` (*use this for an over-ride, this will make the internal style-sheet over-ride the external style-sheet located at /SOURCE/RGB/mink.css; this function executes itself automatically onload (under the first style element)*) + + `CSS` - which style element should I get, if left blank, I will use the first, if any, style element I find + - `DELETE_STORAGE(name)` | `Delete(name)` + + `name` - storage-point to delete + - `GET_STORAGE(x)` | `Load(x, a, e, w)` + + `x` - what storage-point should I load, or if using `Load()` and there is a video/audio tail, load the media into the document + + `a` - text to display as an alternate + + `e` : does it need to be encoded? if so (e is true), encode x + + `w` : which DOM Object needs this + - `GET_STORAGE_BOOLEAN(c)` + + `c` - does this storage-point exist + - `GET_FORM_DATA()` (*use to return a variable `input` as an array; the `name` attribute of each input element become apart of `input`*) + - `SET_STORAGE([name, value])` | `Save(value, [name])` (*you do not need to set name in `Save()`, it will automatically create one for you*) + + name - this is the storage-point's name, if name is left blank for Save() , the default name will be `{appname}.cache` + + value - this is the storage value + - `FROM_{type}(size, to)` (*this function will return the 'true' data size, i.e. 1024 bytes will be 1 kb, 1000 bytes will return 1.024 kb*) + + `size` - express size as `to` + + `to` - to this size: [b, B, KB, MB, GB, TB, PB, EB, ZB, YB] + - `b` - bit (2^-3 Bytes) + - `B` - byte (2^0 Bytes) __or__ 8 bits (`00000000`) + - `KB` - kilobyte (2^10 Bytes) + - `MB` - megabyte (2^20 Bytes) + - `GB` - gigabyte (2^30 Bytes) + - `TB` - terabyte (2^40 Bytes) + - `PB` - petabyte (2^50 Bytes) + - `EB` - exabyte (2^60 Bytes) + - `ZB` - zetabyte (2^70 Bytes) + - `YB` - yottabyte (2^80 Bytes) + - `AUTO_SIZE(n, f, s)` (will return a floored integer, i.e. 1023B will be 0KB) + + `n` - data size + + `f` - from this size, default is b (bits) + + `s` - scale, at which point should I make the data size type scale, default is 0.5 + - *if n@Size-Type > s, make n=n@Size-Type* + - `Toast(data, t)` + + `data` - what to display + + `t` - timeout, in seconds (automatically converts into miliseconds) ; default is 3 (3s) + - `lock = new PatternLock(id, [data])` (see [PatternLock](http://ignitersworld.com/lab/patternLock.html) for more help, (C) to Sudhanshu Yadav 2013) + + `lock` - new pattern lock to create + + `id` - the element's id attribute + + `data` - extra specifications + +---- + +# Examples + +## GET_FORM_DATA() + +> form.html +```html +
+ + + +
+``` + +> form.js +```javascript +GET_FORM_DATA() +``` + +*The `input` variable now holds: `input.username` and `input.password`, with a value of the users choice; you must use `method="GET"`* + +---- + +## SET_STORAGE([name, value]) + +> foobar.js +```javascript +SET_STORAGE('name',input.username,'password',input.password); +``` + +*Note: the storage-points |name| and |password| exist, and won't expire* + +---- + +## FROM_{type}(size, to) + +```javascript +FROM_GB(1024, 'TB'); +// Returns 1 (TB) +``` + +---- + +## AUTO_SIZE(n, f, s) + +```javascript +AUTO_SIZE(5,'B') +// Returns 5B + +AUTO_SIZE(1024,'B') +// Returns 1KB + +AUTO_SIZE(9000000000,'B') +// Returns 8GB +``` diff --git a/Help/resources.md b/Help/resources.md new file mode 100644 index 0000000..9b0e913 --- /dev/null +++ b/Help/resources.md @@ -0,0 +1,47 @@ +# REFERENCES OF RESOURCES: + +*Note: use these if you are in the `/SOURCE/APP/com.company.name` directory, else if in the `/SOURCE/APP/com.company.name/mof` directory, add `../` to the beginning* + +# DEFAULT STYLING: + +```html + + +``` + +# BLACK ICONS: +```html + +``` + +# WHITE ICONS: +```html + +``` + +# MINK JS FUNCTIONS: +```html + +``` + +# JQUERY: +```html + +``` + +# TOAST MESSAGE: +```html +
+``` + +*Note: `Toast()` can only be used by apps* + +# NOTIFICATION: + +*Note: can only be displayed by Mink* + +# LOCKS: +```html + + +``` diff --git a/LICENSE b/LICENSE index cf1ab25..922db9a 100644 --- a/LICENSE +++ b/LICENSE @@ -22,3 +22,5 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to + +Ephellon D. Dantzler diff --git a/README.md b/README.md index d3851cf..914e2db 100644 --- a/README.md +++ b/README.md @@ -1,57 +1,81 @@ -Mink-CBOS -========= +# Mink CBOS (_Custom Browser Operating System_): HTML5/CSS3/JS OS -HTML5/CSS3/JS OS +> Developers, scroll past __Usage § IV__ -Mink - Custom Browser OS: -Developers, scroll past -Usage- § IV --Author: Ephellon Dantzler --Contact: 469-202-5129 ; minkcbos@gmail.com --Support: JavaScript, HTML5, CSS3 --Aliases: - -JS : Mink : INK - -HTML5 : Muffin Stack : MINK - -CSS3 : Rose Garden Basic : RGB +- Author: Ephellon Dantzler +- Contact: [minkcbos@gmail.com](mailto:minkcbos@gmail.com) +- Support: JavaScript, HTML5, CSS3 +- Aliases: + + HTML5: Muffin Stack (MINK) + + JS: Mink (INK) + + CSS3: Rose Garden Basic (RGB) + +---- --Guidelines/Instructions: +# Guidelines/Instructions: +## Your `app.html` file must contain: --Beginning- +```html + + + +``` -I. You must have a browser that supports HTML5, JS, and CSS3. +## Your `mof/{Application Name}.html` file(s) must contain: -II. When you click on ' mink.html, ' open the file as a web page (and choose your browser as default program/application for the action) +```html + + + +``` --Startup- +## Your `app.css` file must contain: -I. Open SOURCE directory. -II. Select mink.html as a web page. -III. Use the page as if it were an emulator (phone of its' own) +```css +@import url('../res/mink.css'); +@import url('../res/icons-white.css'); +``` --Usage- +---- -I. Open mink.html +# Beginning -II. Click on an 'app' to execute/run it. +1. You must have a browser that supports HTML5, JS, and CSS3. +2. When you click on `mink.html`, open the file as a web page (and choose your browser as the default program/application for the action) -III. Press the ' Master Button, ' located at the bottom of the page to return to the previous screen, or exit the app, respectively. +---- -IV. Hold the ' Master Button, ' located at the bottom of the page to close all 'apps.' +# Startup --DEVELOPERS- +1. Open the `/SOURCE` directory. +2. Select `mink.html` as a web page. +3. Use the page as if it were an emulator (phone of its' own). -I. Building apps. - i. Body of apps : use HTML ver. 5 - ii. Behavior of apps : use JS - iii. Styling apps : use CSS ver. 3 +---- -II. Data manipulation - i. Saving - ii. Loading - iii. Deleting - iv. Merging/Concating +# Usage -III. Sharing content - i. App-App - ii. App-Web - iii. Web-App +1. Open `mink.html` +2. Click on an application to execute it. +3. Press the "Master Button" located at the bottom of the page to return to the previous screen, or exit the app, respectively. +4. Hold the "Master Button" located at the bottom of the page to close all applications. +---- + +# DEVELOPERS + +- Building apps + 1. Body of apps: use HTML5 + 2. Behavior of apps: use JS + 3. Styling apps: use CSS 3 + +- Data manipulation + 1. Saving + 2. Loading + 3. Deleting + 4. Merging/Concating + +- Sharing content + 1. App to App + 2. App to Web + 3. Web to App diff --git a/SOURCE/APP/res/icons-black.css b/SOURCE/APP/res/icons-black.css new file mode 100644 index 0000000..d0fc754 --- /dev/null +++ b/SOURCE/APP/res/icons-black.css @@ -0,0 +1,1161 @@ +[icon-table],[icon-holder] +{ +display:table; +} + +[icon] +{ +color:rgba(0,0,0,0); +background-repeat:no-repeat; +display:table-cell; +background-color:#fff; +padding:2px; +width:12px; +height:12px; +} + +[icon*="mink"],[icon*="logo"] +{ +background:url('mink-blue.png'); +background-size:contain; +} + +[icon*="mink-white"],[icon*="logo-white"] +{ +background:url('mink-white.png'); +background-size:contain; +} + +[icon*="mink-orange"],[icon*="logo-orange"] +{ +background:url('mink-orange.png'); +background-size:contain; +} + +[icon*="mink-black"],[icon*="logo-black"] +{ +background:url('mink-black.png'); +background-size:contain; +} + +[icon*="mink-purple"],[icon*="logo-purple"] +{ +background:url('mink-purple.png'); +background-size:contain; +} + +[icon*="martini"],[icon*="drink"],[icon*="0"] +{ +/*Martini*/ +left:0px; +background:url('icons-black.png') 0px 0px; +} + +[icon*="music"],[icon*="1"] +{ +/*Music*/ +left:23px; +background:url('icons-black.png') -23px 0px; +} + +[icon*="search"],[icon*="2"] +{ +/*Search*/ +left:47px; +background:url('icons-black.png') -47px 0px; +} + +[icon*="e-mail"],[icon*="3"] +{ +/*e-mail*/ +left:71px; +background:url('icons-black.png') -71px 0px; +} + +[icon*="heart"],[icon*="4"] +{ +/*Heart*/ +left:95px; +background:url('icons-black.png') -95px 0px; +} + +[icon*="star-active"],[icon*="5"] +{ +/*Active Star*/ +left:119px; +background:url('icons-black.png') -119px 0px; +} + +[icon*="star-inactive"],[icon*="6"] +{ +/*Inactive Star*/ +left:143px; +background:url('icons-black.png') -143px 0px; +} + +[icon*="person"],[icon*="7"] +{ +/*Person*/ +left:167px; +background:url('icons-black.png') -167px 0px; +} + +[icon*="film"],[icon*="8"] +{ +/*Video*/ +left:191px; +background:url('icons-black.png') -191px 0px; +} + +[icon*="box-2x2"],[icon*="9"] +{ +/*2x2 box*/ +left:215px; +background:url('icons-black.png') -215px 0px; +} + +[icon*="box-3x3"],[icon*="10"] +{ +/*3x3 box*/ +left:239px; +background:url('icons-black.png') -239px 0px; +} + +[icon*="list"],[icon*="11"] +{ +/*List*/ +left:263px; +background:url('icons-black.png') -263px 0px; +} + +[icon*="true"],[icon*="12"] +{ +/*Confirm*/ +left:288px; +background:url('icons-black.png') -288px 0px; +} + +[icon*="false"],[icon*="13"] +{ +/*Deny*/ +left:311px; +background:url('icons-black.png') -311px 0px; +} + +[icon*="zoom-in"],[icon*="14"] +{ +/*Zoom-in*/ +left:335px; +background:url('icons-black.png') -335px 0px; +} + +[icon*="zoom-out"],[icon*="15"] +{ +/*Zoom-out*/ +left:359px; +background:url('icons-black.png') -359px 0px; +} + +[icon*="power"],[icon*="power-button"],[icon*="16"] +{ +/*Power*/ +left:383px; +background:url('icons-black.png') -383px 0px; +} + +[icon*="signal"],[icon*="signal-bar"],[icon*="17"] +{ +/*Signal bar*/ +left:407px; +background:url('icons-black.png') -407px 0px; +} + +[icon*="settings"],[icon*="gear"],[icon*="18"] +{ +/*Settings*/ +left:431px; +background:url('icons-black.png') -431px 0px; +} + +[icon*="trash"],[icon*="delete"],[icon*="19"] +{ +/*Trash*/ +left:454px; +background:url('icons-black.png') -454px 0px; +} + +/*--------------------------*/ + +[icon*="home"],[icon*="20"] +{ +/*Home*/ +left:0px; +bottom:23px; +background:url('icons-black.png') 0px -23px; +} + +[icon*="page"],[icon*="folded-page"],[icon*="21"] +{ +/*Page*/ +left:23px; +bottom:23px; +background:url('icons-black.png') -23px -23px; +} + +[icon*="clock"],[icon*="22"] +{ +/*Clock*/ +left:47px; +bottom:23px; +background:url('icons-black.png') -47px -23px; +} + +[icon*="road"],[icon*="23"] +{ +/*Road*/ +left:71px; +bottom:23px; +background:url('icons-black.png') -71px -23px; +} + +[icon*="save"],[icon*="24"] +{ +/*Download*/ +left:95px; +bottom:23px; +background:url('icons-black.png') -95px -23px; +} + +[icon*="download-encircled"],[icon*="25"] +{ +/*Download*/ +left:119px; +bottom:23px; +background:url('icons-black.png') -119px -23px; +} + +[icon*="upload-encircled"],[icon*="26"] +{ +/*Upload*/ +left:143px; +bottom:23px; +background:url('icons-black.png') -143px -23px; +} + +[icon*="bin"],[icon*="27"] +{ +/*Bin*/ +left:167px; +bottom:23px; +background:url('icons-black.png') -167px -23px; +} +[icon*="triangle-encircled"],[icon*="28"] +{ +/*Play*/ +left:191px; +bottom:23px; +background:url('icons-black.png') -191px -23px; +} + +[icon*="redo"],[icon*="29"] +{ +/*Redo*/ +left:215px; +bottom:23px; +background:url('icons-black.png') -215px -23px; +} + +[icon*="refresh"],[icon*="30"] +{ +/*Refresh*/ +left:239px; +bottom:23px; +background:url('icons-black.png') -239px -23px; +} + +[icon*="list"],[icon*="31"] +{ +/*List*/ +left:263px; +bottom:23px; +background:url('icons-black.png') -263px -23px; +} + +[icon*="pad-lock"],[icon*="32"] +{ +/*Lock*/ +left:288px; +bottom:23px; +background:url('icons-black.png') -288px -23px; +} + +[icon*="flag"],[icon*="33"] +{ +/*Flag*/ +left:311px; +bottom:23px; +background:url('icons-black.png') -311px -23px; +} + +[icon*="headphones"],[icon*="listen"],[icon*="34"] +{ +/*Headphones*/ +left:335px; +bottom:23px; +background:url('icons-black.png') -335px -23px; +} + +[icon*="mute"],[icon*="35"] +{ +/*Mute*/ +left:359px; +bottom:23px; +background:url('icons-black.png') -359px -23px; +} + +[icon*="volume-down"],[icon*="36"] +{ +/*Volume down*/ +left:383px; +bottom:23px; +background:url('icons-black.png') -383px -23px; +} + +[icon*="volume-up"],[icon*="37"] +{ +/*Volume up*/ +left:407px; +bottom:23px; +background:url('icons-black.png') -407px -23px; +} + +[icon*="QR"],[icon*="38"] +{ +/*qr*/ +left:431px; +bottom:23px; +background:url('icons-black.png') -431px -23px; +} + +[icon*="barcode"],[icon*="39"] +{ +/*barcode*/ +left:454px; +bottom:23px; +background:url('icons-black.png') -454px -23px; +} + +/*--------------------------*/ + +[icon*="single-tag"],[icon*="40"] +{ +/*tag*/ +left:0px; +bottom:47px; +background:url('icons-black.png') 0px -47px; +} + +[icon*="double-tag"],[icon*="41"] +{ +/*tag over tag*/ +left:23px; +bottom:47px; +background:url('icons-black.png') -23px -47px; +} + +[icon*="book"],[icon*="42"] +{ +/*book*/ +left:47px; +bottom:47px; +background:url('icons-black.png') -47px -47px; +} + +[icon*="book-mark"],[icon*="bookmark"],[icon*="43"] +{ +/*bookmark*/ +left:71px; +bottom:47px; +background:url('icons-black.png') -71px -47px; +} + +[icon*="print"],[icon*="44"] +{ +/*printer*/ +left:95px; +bottom:47px; +background:url('icons-black.png') -95px -47px; +} + +[icon*="camera"],[icon*="45"] +{ +/*camera*/ +left:119px; +bottom:47px; +background:url('icons-black.png') -119px -47px; +} + +[icon*="text"],[icon*="alpha"],[icon*="46"] +{ +/*A*/ +left:143px; +bottom:47px; +background:url('icons-black.png') -143px -47px; +} + +[icon*="bold"],[icon*="bolded"],[icon*="47"] +{ +/*B*/ +left:167px; +bottom:47px; +background:url('icons-black.png') -167px -47px; +} + +[icon*="italics"],[icon*="italicized"],[icon*="48"] +{ +/*I*/ +left:191px; +bottom:47px; +background:url('icons-black.png') -191px -47px; +} + +[icon*="font-size"],[icon*="font-height"],[icon*="49"] +{ +/*height*/ +left:215px; +bottom:47px; +background:url('icons-black.png') -215px -47px; +} + +[icon*="font-width"],[icon*="50"] +{ +/*widtg*/ +left:239px; +bottom:47px; +background:url('icons-black.png') -239px -47px; +} + +[icon*="align-left"],[icon*="51"] +{ +/*align left*/ +left:263px; +bottom:47px; +background:url('icons-black.png') -263px -47px; +} + +[icon*="align-center"],[icon*="52"] +{ +/*align to center*/ +left:288px; +bottom:47px; +background:url('icons-black.png') -288px -47px; +} + +[icon*="align-right"],[icon*="53"] +{ +/*align right*/ +left:311px; +bottom:47px; +background:url('icons-black.png') -311px -47px; +} + +[icon*="align-none"],[icon*="54"] +{ +/*no align*/ +left:335px; +bottom:47px; +background:url('icons-black.png') -335px -47px; +} + +[icon*="form"],[icon*="55"] +{ +/*list*/ +left:359px; +bottom:47px; +background:url('icons-black.png') -359px -47px; +} + +[icon*="margin-right"],[icon*="56"] +{ +/*push margin right*/ +left:383px; +bottom:47px; +background:url('icons-black.png') -383px -47px; +} + +[icon*="margin-left"],[icon*="57"] +{ +/*push margin left*/ +left:407px; +bottom:47px; +background:url('icons-black.png') -407px -47px; +} + +[icon*="video"],[icon*="58"] +{ +/*video*/ +left:431px; +bottom:47px; +background:url('icons-black.png') -431px -47px; +} + +[icon*="gallery"],[icon*="59"] +{ +/*gallery*/ +left:454px; +bottom:47px; +background:url('icons-black.png') -454px -47px; +} + +/*--------------------------*/ + +[icon*="edit"],[icon*="60"] +{ +/*pencil*/ +left:0px; +bottom:71px; +background:url('icons-black.png') 0px -71px; +} + +[icon*="location"],[icon*="61"] +{ +/*loction*/ +left:23px; +bottom:71px; +background:url('icons-black.png') -23px -71px; +} + +[icon*="contrast"],[icon*="half-circle"],[icon*="62"] +{ +/*contrast*/ +left:47px; +bottom:71px; +background:url('icons-black.png') -47px -71px; +} + +[icon*="saturation"],[icon*="drop"],[icon*="63"] +{ +/*drop*/ +left:71px; +bottom:71px; +background:url('icons-black.png') -71px -71px; +} + +[icon*="pencil-boxed"],[icon*="64"] +{ +/*boxed in pencil*/ +left:95px; +bottom:71px; +background:url('icons-black.png') -95px -71px; +} + +[icon*="export"],[icon*="arr-boxed"],[icon*="65"] +{ +/*export*/ +left:119px; +bottom:71px; +background:url('icons-black.png') -119px -71px; +} + +[icon*="confirm"],[icon*="66"] +{ +/*[✔]*/ +left:143px; +bottom:71px; +background:url('icons-black.png') -143px -71px; +} + +[icon*="pan"],[icon*="compass"],[icon*="67"] +{ +/*pan*/ +left:167px; +bottom:71px; +background:url('icons-black.png') -167px -71px; +} + +[icon*="skip-back-track"],[icon*="bar-arr"],[icon*="68"] +{ +/*∣◀*/ +left:191px; +bottom:71px; +background:url('icons-black.png') -191px -71px; +} + +[icon*="skip-back"],[icon*="bar-double-arr"],[icon*="69"] +{ +/*∣◀◀*/ +left:215px; +bottom:71px; +background:url('icons-black.png') -215px -71px; +} + +[icon*="seek-back"],[icon*="70"] +{ +/*◀◀*/ +left:239px; +bottom:71px; +background:url('icons-black.png') -239px -71px; +} + +[icon*="play"],[icon*="71"] +{ +/*▶*/ +left:263px; +bottom:71px; +background:url('icons-black.png') -263px -71px; +} + +[icon*="pause"],[icon*="72"] +{ +/*∣∣*/ +left:288px; +bottom:71px; +background:url('icons-black.png') -288px -71px; +} + +[icon*="stop"],[icon*="73"] +{ +/*∷*/ +left:311px; +bottom:71px; +background:url('icons-black.png') -311px -71px; +} + +[icon*="seek-forward"],[icon*="74"] +{ +/*▶▶*/ +left:335px; +bottom:71px; +background:url('icons-black.png') -335px -71px; +} + +[icon*="skip-forward"],[icon*="75"] +{ +/*▶∣*/ +left:359px; +bottom:71px; +background:url('icons-black.png') -359px -71px; +} + +[icon*="skip-track-forward"],[icon*="76"] +{ +/*▶∣*/ +left:383px; +bottom:71px; +background:url('icons-black.png') -383px -71px; +} + +[icon*="eject"],[icon*="77"] +{ +/*eject*/ +left:407px; +bottom:71px; +background:url('icons-black.png') -407px -71px; +} + +[icon*="scroll-left"],[icon*="78"] +{ +/*left*/ +left:431px; +bottom:71px; +background:url('icons-black.png') -431px -71px; +} + +[icon*="scroll-right"],[icon*="79"] +{ +/*right*/ +left:454px; +bottom:71px; +background:url('icons-black.png') -454px -71px; +} + +/*--------------------------*/ + +[icon*="append"],[icon*="80"] +{ +/*add on*/ +left:0px; +bottom:95px; +background:url('icons-black.png') 0px -95px; +} + +[icon*="remove"],[icon*="81"] +{ +/*remove*/ +left:23px; +bottom:95px; +background:url('icons-black.png') -23px -95px; +} + +[icon*="stop"],[icon*="82"] +{ +/*cancek*/ +left:47px; +bottom:95px; +background:url('icons-black.png') -47px -95px; +} + +[icon*="sure"],[icon*="83"] +{ +/*ok*/ +left:71px; +bottom:95px; +background:url('icons-black.png') -71px -95px; +} + +[icon*="help"],[icon*="84"] +{ +/*(?)*/ +left:95px; +bottom:95px; +background:url('icons-black.png') -95px -95px; +} + +[icon*="info"],[icon*="85"] +{ +/*(i)*/ +left:119px; +bottom:95px; +background:url('icons-black.png') -119px -95px; +} + +[icon*="pin-point"],[icon*="86"] +{ +/*pinpoint*/ +left:143px; +bottom:95px; +background:url('icons-black.png') -143px -95px; +} + +[icon*="deny"],[icon*="87"] +{ +/*x ✘*/ +left:167px; +bottom:95px; +background:url('icons-black.png') -167px -95px; +} + +[icon*="accept"],[icon*="88"] +{ +/*check ✔*/ +left:191px; +bottom:95px; +background:url('icons-black.png') -191px -95px; +} + +[icon*="cancel-encircled"],[icon*="89"] +{ +/*cancel*/ +left:215px; +bottom:95px; +background:url('icons-black.png') -215px -95px; +} + +[icon*="left-arr"],[icon*="90"] +{ +/*right*/ +left:239px; +bottom:95px; +background:url('icons-black.png') -239px -95px; +} + +[icon*="right-arr"],[icon*="91"] +{ +/*left*/ +left:263px; +bottom:95px; +background:url('icons-black.png') -263px -95px; +} + +[icon*="up-arr"],[icon*="92"] +{ +/*up*/ +left:288px; +bottom:95px; +background:url('icons-black.png') -288px -95px; +} + +[icon*="down-arr"],[icon*="93"] +{ +/*down*/ +left:311px; +bottom:95px; +background:url('icons-black.png') -311px -95px; +} + +[icon*="flash"],[icon*="94"] +{ +/*arrow over*/ +left:335px; +bottom:95px; +background:url('icons-black.png') -335px -95px; +} + + + +[icon*="size-up-diagonally"],[icon*="95"] +{ +/*size*/ +left:359px; +bottom:95px; +background:url('icons-black.png') -359px -95px; +} + +[icon*="size-down-diagonally"],[icon*="96"] +{ +/*size*/ +left:383px; +bottom:95px; +background:url('icons-black.png') -383px -95px; +} + +[icon*="add"],[icon*="97"] +{ +/*add*/ +left:407px; +bottom:95px; +background:url('icons-black.png') -407px -95px; +} + +[icon*="subract"],[icon*="sub"],[icon*="98"] +{ +/*subtract*/ +left:431px; +bottom:95px; +background:url('icons-black.png') -431px -95px; +} + +[icon*="multiply"],[icon*="mul"],[icon*="asterisk"],[icon*="99"] +{ +/*multiply*/ +left:454px; +bottom:95px; +background:url('icons-black.png') -454px -95px; +} + +/*--------------------------*/ + +[icon*="error"],[icon*="alert"],[icon*="100"] +{ +/*error*/ +left:0px; +bottom:119px; +background:url('icons-black.png') -0px -119px; +} + +[icon*="gift"],[icon*="present"],[icon*="101"] +{ +/*gift*/ +left:23px; +bottom:119px; +background:url('icons-black.png') -23px -119px; +} + +[icon*="leaf"],[icon*="eco"],[icon*="102"] +{ +/*leaf*/ +left:47px; +bottom:119px; +background:url('icons-black.png') -47px -119px; +} + +[icon*="fire"],[icon*="103"] +{ +/*fire*/ +left:71px; +bottom:119px; +background:url('icons-black.png') -71px -119px; +} + +[icon*="viewable"],[icon*="eye"],[icon*="104"] +{ +/*view*/ +left:95px; +bottom:119px; +background:url('icons-black.png') -95px -119px; +} + +[icon*="hidden"],[icon*="private"],[icon*="105"] +{ +/*hidden*/ +left:119px; +bottom:119px; +background:url('icons-black.png') -119px -119px; +} + +[icon*="important"],[icon*="notice"],[icon*="106"] +{ +/*/!\*/ +left:143px; +bottom:119px; +background:url('icons-black.png') -143px -119px; +} + +[icon*="airplane"],[icon*="107"] +{ +/*airplane*/ +left:167px; +bottom:119px; +background:url('icons-black.png') -167px -119px; +} + +[icon*="calendar"],[icon*="plan"],[icon*="108"] +{ +/*calendar*/ +left:191px; +bottom:119px; +background:url('icons-black.png') -191px -119px; +} + +[icon*="shuffle"],[icon*="intertwined-arr"],[icon*="109"] +{ +/*shuffle*/ +left:215px; +bottom:119px; +background:url('icons-black.png') -215px -119px; +} + +[icon*="chat"],[icon*="message-box"],[icon*="110"] +{ +/*chat*/ +left:239px; +bottom:119px; +background:url('icons-black.png') -239px -119px; +} + +[icon*="magnet"],[icon*="u-magnet"],[icon*="111"] +{ +/*magnet*/ +left:263px; +bottom:119px; +background:url('icons-black.png') -268px -119px; +} + +[icon*="scroll-up"],[icon*="112"] +{ +/*up*/ +left:288px; +bottom:119px; +background:url('icons-black.png') -288px -119px; +} + +[icon*="scroll-down"],[icon*="113"] +{ +/*down*/ +left:311px; +bottom:119px; +background:url('icons-black.png') -311px -119px; +} + +[icon*="repeat"],[icon*="repeat-boxed"],[icon*="114"] +{ +/*repeat*/ +left:335px; +bottom:119px; +background:url('icons-black.png') -335px -119px; +} + +[icon*="shop"],[icon*="cart"],[icon*="store"],[icon*="115"] +{ +/*cart*/ +left:359px; +bottom:119px; +background:url('icons-black.png') -359px -119px; +} + +[icon*="folder-closed"],[icon*="116"] +{ +/*folder*/ +left:383px; +bottom:119px; +background:url('icons-black.png') -383px -119px; +} + +[icon*="folder-open"],[icon*="117"] +{ +/*folder*/ +left:407px; +bottom:119px; +background:url('icons-black.png') -407px -119px; +} + +[icon*="size-up-vertical"],[icon*="118"] +{ +/*size*/ +left:431px; +bottom:119px; +background:url('icons-black.png') -431px -119px; +} + +[icon*="size-up-horizontal"],[icon*="119"] +{ +/*size*/ +left:454px; +bottom:119px; +background:url('icons-black.png') -454px -119px; +} + +/*--------------------------*/ + +[icon*="memory"],[icon*="120"] +{ +/**/ +left:0px; +bottom:143px; +background:url('icons-black.png') 0px -143px; +} + +[icon*="megaphone"],[icon*="121"] +{ +/*megaphone*/ +left:23px; +bottom:143px; +background:url('icons-black.png') -23px -143px; +} + +[icon*="alarm"],[icon*="122"] +{ +/*alarm*/ +left:47px; +bottom:143px; +background:url('icons-black.png') -47px -143px; +} + +[icon*="brighten"],[icon*="sun"],[icon*="123"] +{ +/*brighten*/ +left:71px; +bottom:143px; +background:url('icons-black.png') -71px -143px; +} + +[icon*="like"],[icon*="thumbs-up"],[icon*="124"] +{ +/*like*/ +left:95px; +bottom:143px; +background:url('icons-black.png') -95px -143px; +} + +[icon*="dislike"],[icon*="thumbs-down"],[icon*="125"] +{ +/*dislike*/ +left:119px; +bottom:143px; +background:url('icons-black.png') -119px -143px; +} + +[icon*="point-right"],[icon*="126"] +{ +/*right*/ +left:143px; +bottom:143px; +background:url('icons-black.png') -143px -143px; +} + +[icon*="point-left"],[icon*="127"] +{ +/*left*/ +left:167px; +bottom:143px; +background:url('icons-black.png') -167px -143px; +} + +[icon*="point-up"],[icon*="128"] +{ +/*up*/ +left:191px; +bottom:143px; +background:url('icons-black.png') -191px -143px; +} + +[icon*="point-down"],[icon*="129"] +{ +/*down*/ +left:215px; +bottom:143px; +background:url('icons-black.png') -215px -143px; +} + +[icon*="right-arr-encircled"],[icon*="130"] +{ +/*right*/ +left:239px; +bottom:143px; +background:url('icons-black.png') -239px -143px; +} + +[icon*="left-arr-encircled"],[icon*="131"] +{ +/*left*/ +left:263px; +bottom:143px; +background:url('icons-black.png') -263px -143px; +} + +[icon*="up-arr-encircled"],[icon*="132"] +{ +/*up*/ +left:288px; +bottom:143px; +background:url('icons-black.png') -288px -143px; +} + +[icon*="down-arr-encircled"],[icon*="133"] +{ +/*down*/ +left:311px; +bottom:143px; +background:url('icons-black.png') -311px -143px; +} + +[icon*="globe"],[icon*="world"],[icon*="web"],[icon*="134"] +{ +/*globe*/ +left:335px; +bottom:143px; +background:url('icons-black.png') -335px -143px; +} + +[icon*="wrench"],[icon*="135"] +{ +/*wrench*/ +left:359px; +bottom:143px; +background:url('icons-black.png') -359px -143px; +} + +[icon*="stats"],[icon*="136"] +{ +/*stats*/ +left:383px; +bottom:143px; +background:url('icons-black.png') -383px -143px; +} + +[icon*="funnel"],[icon*="137"] +{ +/*funnel*/ +left:407px; +bottom:143px; +background:url('icons-black.png') -407px -143px; +} + +[icon*="briefcase"],[icon*="case"],[icon*="138"] +{ +/*case*/ +left:431px; +bottom:143px; +background:url('icons-black.png') -431px -143px; +} + +[icon*="crop"],[icon*="139"] +{ +/*crop*/ +left:454px; +bottom:143px; +background:url('icons-black.png') -454px -143px; +} + + +/* END of icons-black.RGB */ diff --git a/SOURCE/APP/res/icons-white.css b/SOURCE/APP/res/icons-white.css new file mode 100644 index 0000000..9561664 --- /dev/null +++ b/SOURCE/APP/res/icons-white.css @@ -0,0 +1,1161 @@ +[icon-table],[icon-holder] +{ +display:table; +} + +[icon] +{ +color:rgba(0,0,0,0); +background-repeat:no-repeat; +/*display:table-cell;*/ +background-color:000; +padding:2px; +width:12px; +height:12px; +} + +[icon*="mink"],[icon*="logo"] +{ +background:url('mink-blue.png'); +background-size:contain; +} + +[icon*="mink-white"],[icon*="logo-white"] +{ +background:url('mink-white.png'); +background-size:contain; +} + +[icon*="mink-orange"],[icon*="logo-orange"] +{ +background:url('mink-orange.png'); +background-size:contain; +} + +[icon*="mink-black"],[icon*="logo-black"] +{ +background:url('mink-black.png'); +background-size:contain; +} + +[icon*="mink-purple"],[icon*="logo-purple"] +{ +background:url('mink-purple.png'); +background-size:contain; +} + +[icon*="martini"],[icon*="drink"],[icon*="0"] +{ +/*Martini*/ +left:0px; +background:url('icons-white.png') 0px 0px; +} + +[icon*="music"],[icon*="1"] +{ +/*Music*/ +left:23px; +background:url('icons-white.png') -23px 0px; +} + +[icon*="search"],[icon*="2"] +{ +/*Search*/ +left:47px; +background:url('icons-white.png') -47px 0px; +} + +[icon*="e-mail"],[icon*="3"] +{ +/*e-mail*/ +left:71px; +background:url('icons-white.png') -71px 0px; +} + +[icon*="heart"],[icon*="4"] +{ +/*Heart*/ +left:95px; +background:url('icons-white.png') -95px 0px; +} + +[icon*="star-active"],[icon*="5"] +{ +/*Active Star*/ +left:119px; +background:url('icons-white.png') -119px 0px; +} + +[icon*="star-inactive"],[icon*="6"] +{ +/*Inactive Star*/ +left:143px; +background:url('icons-white.png') -143px 0px; +} + +[icon*="person"],[icon*="7"] +{ +/*Person*/ +left:167px; +background:url('icons-white.png') -167px 0px; +} + +[icon*="film"],[icon*="8"] +{ +/*Video*/ +left:191px; +background:url('icons-white.png') -191px 0px; +} + +[icon*="box-2x2"],[icon*="9"] +{ +/*2x2 box*/ +left:215px; +background:url('icons-white.png') -215px 0px; +} + +[icon*="box-3x3"],[icon*="10"] +{ +/*3x3 box*/ +left:239px; +background:url('icons-white.png') -239px 0px; +} + +[icon*="list"],[icon*="11"] +{ +/*List*/ +left:263px; +background:url('icons-white.png') -263px 0px; +} + +[icon*="true"],[icon*="12"] +{ +/*Confirm*/ +left:288px; +background:url('icons-white.png') -288px 0px; +} + +[icon*="false"],[icon*="13"] +{ +/*Deny*/ +left:311px; +background:url('icons-white.png') -311px 0px; +} + +[icon*="zoom-in"],[icon*="14"] +{ +/*Zoom-in*/ +left:335px; +background:url('icons-white.png') -335px 0px; +} + +[icon*="zoom-out"],[icon*="15"] +{ +/*Zoom-out*/ +left:359px; +background:url('icons-white.png') -359px 0px; +} + +[icon*="power"],[icon*="power-button"],[icon*="16"] +{ +/*Power*/ +left:383px; +background:url('icons-white.png') -383px 0px; +} + +[icon*="signal"],[icon*="signal-bar"],[icon*="17"] +{ +/*Signal bar*/ +left:407px; +background:url('icons-white.png') -407px 0px; +} + +[icon*="settings"],[icon*="gear"],[icon*="18"] +{ +/*Settings*/ +left:431px; +background:url('icons-white.png') -431px 0px; +} + +[icon*="trash"],[icon*="delete"],[icon*="19"] +{ +/*Trash*/ +left:454px; +background:url('icons-white.png') -454px 0px; +} + +/*--------------------------*/ + +[icon*="home"],[icon*="20"] +{ +/*Home*/ +left:0px; +bottom:23px; +background:url('icons-white.png') 0px -23px; +} + +[icon*="page"],[icon*="folded-page"],[icon*="21"] +{ +/*Page*/ +left:23px; +bottom:23px; +background:url('icons-white.png') -23px -23px; +} + +[icon*="clock"],[icon*="22"] +{ +/*Clock*/ +left:47px; +bottom:23px; +background:url('icons-white.png') -47px -23px; +} + +[icon*="road"],[icon*="23"] +{ +/*Road*/ +left:71px; +bottom:23px; +background:url('icons-white.png') -71px -23px; +} + +[icon*="save"],[icon*="24"] +{ +/*Download*/ +left:95px; +bottom:23px; +background:url('icons-white.png') -95px -23px; +} + +[icon*="download-encircled"],[icon*="25"] +{ +/*Download*/ +left:119px; +bottom:23px; +background:url('icons-white.png') -119px -23px; +} + +[icon*="upload-encircled"],[icon*="26"] +{ +/*Upload*/ +left:143px; +bottom:23px; +background:url('icons-white.png') -143px -23px; +} + +[icon*="bin"],[icon*="27"] +{ +/*Bin*/ +left:167px; +bottom:23px; +background:url('icons-white.png') -167px -23px; +} +[icon*="triangle-encircled"],[icon*="28"] +{ +/*Play*/ +left:191px; +bottom:23px; +background:url('icons-white.png') -191px -23px; +} + +[icon*="redo"],[icon*="29"] +{ +/*Redo*/ +left:215px; +bottom:23px; +background:url('icons-white.png') -215px -23px; +} + +[icon*="refresh"],[icon*="30"] +{ +/*Refresh*/ +left:239px; +bottom:23px; +background:url('icons-white.png') -239px -23px; +} + +[icon*="list"],[icon*="31"] +{ +/*List*/ +left:263px; +bottom:23px; +background:url('icons-white.png') -263px -23px; +} + +[icon*="pad-lock"],[icon*="32"] +{ +/*Lock*/ +left:288px; +bottom:23px; +background:url('icons-white.png') -288px -23px; +} + +[icon*="flag"],[icon*="33"] +{ +/*Flag*/ +left:311px; +bottom:23px; +background:url('icons-white.png') -311px -23px; +} + +[icon*="headphones"],[icon*="listen"],[icon*="34"] +{ +/*Headphones*/ +left:335px; +bottom:23px; +background:url('icons-white.png') -335px -23px; +} + +[icon*="mute"],[icon*="35"] +{ +/*Mute*/ +left:359px; +bottom:23px; +background:url('icons-white.png') -359px -23px; +} + +[icon*="volume-down"],[icon*="36"] +{ +/*Volume down*/ +left:383px; +bottom:23px; +background:url('icons-white.png') -383px -23px; +} + +[icon*="volume-up"],[icon*="37"] +{ +/*Volume up*/ +left:407px; +bottom:23px; +background:url('icons-white.png') -407px -23px; +} + +[icon*="QR"],[icon*="38"] +{ +/*qr*/ +left:431px; +bottom:23px; +background:url('icons-white.png') -431px -23px; +} + +[icon*="barcode"],[icon*="39"] +{ +/*barcode*/ +left:454px; +bottom:23px; +background:url('icons-white.png') -454px -23px; +} + +/*--------------------------*/ + +[icon*="single-tag"],[icon*="40"] +{ +/*tag*/ +left:0px; +bottom:47px; +background:url('icons-white.png') 0px -47px; +} + +[icon*="double-tag"],[icon*="41"] +{ +/*tag over tag*/ +left:23px; +bottom:47px; +background:url('icons-white.png') -23px -47px; +} + +[icon*="book"],[icon*="42"] +{ +/*book*/ +left:47px; +bottom:47px; +background:url('icons-white.png') -47px -47px; +} + +[icon*="book-mark"],[icon*="bookmark"],[icon*="43"] +{ +/*bookmark*/ +left:71px; +bottom:47px; +background:url('icons-white.png') -71px -47px; +} + +[icon*="print"],[icon*="44"] +{ +/*printer*/ +left:95px; +bottom:47px; +background:url('icons-white.png') -95px -47px; +} + +[icon*="camera"],[icon*="45"] +{ +/*camera*/ +left:119px; +bottom:47px; +background:url('icons-white.png') -119px -47px; +} + +[icon*="text"],[icon*="alpha"],[icon*="46"] +{ +/*A*/ +left:143px; +bottom:47px; +background:url('icons-white.png') -143px -47px; +} + +[icon*="bold"],[icon*="bolded"],[icon*="47"] +{ +/*B*/ +left:167px; +bottom:47px; +background:url('icons-white.png') -167px -47px; +} + +[icon*="italics"],[icon*="italicized"],[icon*="48"] +{ +/*I*/ +left:191px; +bottom:47px; +background:url('icons-white.png') -191px -47px; +} + +[icon*="font-size"],[icon*="font-height"],[icon*="49"] +{ +/*height*/ +left:215px; +bottom:47px; +background:url('icons-white.png') -215px -47px; +} + +[icon*="font-width"],[icon*="50"] +{ +/*widtg*/ +left:239px; +bottom:47px; +background:url('icons-white.png') -239px -47px; +} + +[icon*="align-left"],[icon*="51"] +{ +/*align left*/ +left:263px; +bottom:47px; +background:url('icons-white.png') -263px -47px; +} + +[icon*="align-center"],[icon*="52"] +{ +/*align to center*/ +left:288px; +bottom:47px; +background:url('icons-white.png') -288px -47px; +} + +[icon*="align-right"],[icon*="53"] +{ +/*alihn right*/ +left:311px; +bottom:47px; +background:url('icons-white.png') -311px -47px; +} + +[icon*="align-none"],[icon*="54"] +{ +/*no align*/ +left:335px; +bottom:47px; +background:url('icons-white.png') -335px -47px; +} + +[icon*="form"],[icon*="55"] +{ +/*list*/ +left:359px; +bottom:47px; +background:url('icons-white.png') -359px -47px; +} + +[icon*="margin-right"],[icon*="56"] +{ +/*push margin right*/ +left:383px; +bottom:47px; +background:url('icons-white.png') -383px -47px; +} + +[icon*="margin-left"],[icon*="57"] +{ +/*push margin left*/ +left:407px; +bottom:47px; +background:url('icons-white.png') -407px -47px; +} + +[icon*="video"],[icon*="58"] +{ +/*video*/ +left:431px; +bottom:47px; +background:url('icons-white.png') -431px -47px; +} + +[icon*="gallery"],[icon*="59"] +{ +/*gallery*/ +left:454px; +bottom:47px; +background:url('icons-white.png') -454px -47px; +} + +/*--------------------------*/ + +[icon*="edit"],[icon*="60"] +{ +/*pencil*/ +left:0px; +bottom:71px; +background:url('icons-white.png') 0px -71px; +} + +[icon*="location"],[icon*="61"] +{ +/*loction*/ +left:23px; +bottom:71px; +background:url('icons-white.png') -23px -71px; +} + +[icon*="contrast"],[icon*="half-circle"],[icon*="62"] +{ +/*contrast*/ +left:47px; +bottom:71px; +background:url('icons-white.png') -47px -71px; +} + +[icon*="saturation"],[icon*="drop"],[icon*="63"] +{ +/*drop*/ +left:71px; +bottom:71px; +background:url('icons-white.png') -71px -71px; +} + +[icon*="pencil-boxed"],[icon*="64"] +{ +/*boxed in pencil*/ +left:95px; +bottom:71px; +background:url('icons-white.png') -95px -71px; +} + +[icon*="export"],[icon*="arr-boxed"],[icon*="65"] +{ +/*export*/ +left:119px; +bottom:71px; +background:url('icons-white.png') -119px -71px; +} + +[icon*="confirm"],[icon*="66"] +{ +/*[✔]*/ +left:143px; +bottom:71px; +background:url('icons-white.png') -143px -71px; +} + +[icon*="pan"],[icon*="compass"],[icon*="67"] +{ +/*pan*/ +left:167px; +bottom:71px; +background:url('icons-white.png') -167px -71px; +} + +[icon*="skip-back-track"],[icon*="bar-arr"],[icon*="68"] +{ +/*∣◀*/ +left:191px; +bottom:71px; +background:url('icons-white.png') -191px -71px; +} + +[icon*="skip-back"],[icon*="bar-double-arr"],[icon*="69"] +{ +/*∣◀◀*/ +left:215px; +bottom:71px; +background:url('icons-white.png') -215px -71px; +} + +[icon*="seek-back"],[icon*="70"] +{ +/*◀◀*/ +left:239px; +bottom:71px; +background:url('icons-white.png') -239px -71px; +} + +[icon*="play"],[icon*="71"] +{ +/*▶*/ +left:263px; +bottom:71px; +background:url('icons-white.png') -263px -71px; +} + +[icon*="pause"],[icon*="72"] +{ +/*∣∣*/ +left:288px; +bottom:71px; +background:url('icons-white.png') -288px -71px; +} + +[icon*="stop"],[icon*="73"] +{ +/*∷*/ +left:311px; +bottom:71px; +background:url('icons-white.png') -311px -71px; +} + +[icon*="seek-forward"],[icon*="74"] +{ +/*▶▶*/ +left:335px; +bottom:71px; +background:url('icons-white.png') -335px -71px; +} + +[icon*="skip-forward"],[icon*="75"] +{ +/*▶∣*/ +left:359px; +bottom:71px; +background:url('icons-white.png') -359px -71px; +} + +[icon*="skip-track-forward"],[icon*="76"] +{ +/*▶∣*/ +left:383px; +bottom:71px; +background:url('icons-white.png') -383px -71px; +} + +[icon*="eject"],[icon*="77"] +{ +/*eject*/ +left:407px; +bottom:71px; +background:url('icons-white.png') -407px -71px; +} + +[icon*="scroll-left"],[icon*="78"] +{ +/*left*/ +left:431px; +bottom:71px; +background:url('icons-white.png') -431px -71px; +} + +[icon*="scroll-right"],[icon*="79"] +{ +/*right*/ +left:454px; +bottom:71px; +background:url('icons-white.png') -454px -71px; +} + +/*--------------------------*/ + +[icon*="append"],[icon*="80"] +{ +/*add on*/ +left:0px; +bottom:95px; +background:url('icons-white.png') 0px -95px; +} + +[icon*="remove"],[icon*="81"] +{ +/*remove*/ +left:23px; +bottom:95px; +background:url('icons-white.png') -23px -95px; +} + +[icon*="stop"],[icon*="82"] +{ +/*cancek*/ +left:47px; +bottom:95px; +background:url('icons-white.png') -47px -95px; +} + +[icon*="sure"],[icon*="83"] +{ +/*ok*/ +left:71px; +bottom:95px; +background:url('icons-white.png') -71px -95px; +} + +[icon*="help"],[icon*="84"] +{ +/*(?)*/ +left:95px; +bottom:95px; +background:url('icons-white.png') -95px -95px; +} + +[icon*="info"],[icon*="85"] +{ +/*(i)*/ +left:119px; +bottom:95px; +background:url('icons-white.png') -119px -95px; +} + +[icon*="pin-point"],[icon*="86"] +{ +/*pinpoint*/ +left:143px; +bottom:95px; +background:url('icons-white.png') -143px -95px; +} + +[icon*="deny"],[icon*="87"] +{ +/*x ✘*/ +left:167px; +bottom:95px; +background:url('icons-white.png') -167px -95px; +} + +[icon*="accept"],[icon*="88"] +{ +/*check ✔*/ +left:191px; +bottom:95px; +background:url('icons-white.png') -191px -95px; +} + +[icon*="cancel-encircled"],[icon*="89"] +{ +/*cancel*/ +left:215px; +bottom:95px; +background:url('icons-white.png') -215px -95px; +} + +[icon*="left-arr"],[icon*="90"] +{ +/*right*/ +left:239px; +bottom:95px; +background:url('icons-white.png') -239px -95px; +} + +[icon*="right-arr"],[icon*="91"] +{ +/*left*/ +left:263px; +bottom:95px; +background:url('icons-white.png') -263px -95px; +} + +[icon*="up-arr"],[icon*="92"] +{ +/*up*/ +left:288px; +bottom:95px; +background:url('icons-white.png') -288px -95px; +} + +[icon*="down-arr"],[icon*="93"] +{ +/*down*/ +left:311px; +bottom:95px; +background:url('icons-white.png') -311px -95px; +} + +[icon*="flash"],[icon*="94"] +{ +/*arrow over*/ +left:335px; +bottom:95px; +background:url('icons-white.png') -335px -95px; +} + + + +[icon*="size-up-diagonally"],[icon*="95"] +{ +/*size*/ +left:359px; +bottom:95px; +background:url('icons-white.png') -359px -95px; +} + +[icon*="size-down-diagonally"],[icon*="96"] +{ +/*size*/ +left:383px; +bottom:95px; +background:url('icons-white.png') -383px -95px; +} + +[icon*="add"],[icon*="97"] +{ +/*add*/ +left:407px; +bottom:95px; +background:url('icons-white.png') -407px -95px; +} + +[icon*="subract"],[icon*="sub"],[icon*="98"] +{ +/*subtract*/ +left:431px; +bottom:95px; +background:url('icons-white.png') -431px -95px; +} + +[icon*="multiply"],[icon*="mul"],[icon*="asterisk"],[icon*="99"] +{ +/*multiply*/ +left:454px; +bottom:95px; +background:url('icons-white.png') -454px -95px; +} + +/*--------------------------*/ + +[icon*="error"],[icon*="alert"],[icon*="100"] +{ +/*error*/ +left:0px; +bottom:119px; +background:url('icons-white.png') -0px -119px; +} + +[icon*="gift"],[icon*="present"],[icon*="101"] +{ +/*gift*/ +left:23px; +bottom:119px; +background:url('icons-white.png') -23px -119px; +} + +[icon*="leaf"],[icon*="eco"],[icon*="102"] +{ +/*leaf*/ +left:47px; +bottom:119px; +background:url('icons-white.png') -47px -119px; +} + +[icon*="fire"],[icon*="103"] +{ +/*fire*/ +left:71px; +bottom:119px; +background:url('icons-white.png') -71px -119px; +} + +[icon*="viewable"],[icon*="eye"],[icon*="104"] +{ +/*view*/ +left:95px; +bottom:119px; +background:url('icons-white.png') -95px -119px; +} + +[icon*="hidden"],[icon*="private"],[icon*="105"] +{ +/*hidden*/ +left:119px; +bottom:119px; +background:url('icons-white.png') -119px -119px; +} + +[icon*="important"],[icon*="notice"],[icon*="106"] +{ +/*/!\*/ +left:143px; +bottom:119px; +background:url('icons-white.png') -143px -119px; +} + +[icon*="airplane"],[icon*="107"] +{ +/*airplane*/ +left:167px; +bottom:119px; +background:url('icons-white.png') -167px -119px; +} + +[icon*="calendar"],[icon*="plan"],[icon*="108"] +{ +/*calendar*/ +left:191px; +bottom:119px; +background:url('icons-white.png') -191px -119px; +} + +[icon*="shuffle"],[icon*="intertwined-arr"],[icon*="109"] +{ +/*shuffle*/ +left:215px; +bottom:119px; +background:url('icons-white.png') -215px -119px; +} + +[icon*="chat"],[icon*="message-box"],[icon*="110"] +{ +/*chat*/ +left:239px; +bottom:119px; +background:url('icons-white.png') -239px -119px; +} + +[icon*="magnet"],[icon*="u-magnet"],[icon*="111"] +{ +/*magnet*/ +left:263px; +bottom:119px; +background:url('icons-white.png') -268px -119px; +} + +[icon*="scroll-up"],[icon*="112"] +{ +/*up*/ +left:288px; +bottom:119px; +background:url('icons-white.png') -288px -119px; +} + +[icon*="scroll-down"],[icon*="113"] +{ +/*down*/ +left:311px; +bottom:119px; +background:url('icons-white.png') -311px -119px; +} + +[icon*="repeat"],[icon*="repeat-boxed"],[icon*="114"] +{ +/*repeat*/ +left:335px; +bottom:119px; +background:url('icons-white.png') -335px -119px; +} + +[icon*="shop"],[icon*="cart"],[icon*="store"],[icon*="115"] +{ +/*cart*/ +left:359px; +bottom:119px; +background:url('icons-white.png') -359px -119px; +} + +[icon*="folder-closed"],[icon*="116"] +{ +/*folder*/ +left:383px; +bottom:119px; +background:url('icons-white.png') -383px -119px; +} + +[icon*="folder-open"],[icon*="117"] +{ +/*folder*/ +left:407px; +bottom:119px; +background:url('icons-white.png') -407px -119px; +} + +[icon*="size-up-vertical"],[icon*="118"] +{ +/*size*/ +left:431px; +bottom:119px; +background:url('icons-white.png') -431px -119px; +} + +[icon*="size-up-horizontal"],[icon*="119"] +{ +/*size*/ +left:454px; +bottom:119px; +background:url('icons-white.png') -454px -119px; +} + +/*--------------------------*/ + +[icon*="memory"],[icon*="120"] +{ +/**/ +left:0px; +bottom:143px; +background:url('icons-white.png') 0px -143px; +} + +[icon*="megaphone"],[icon*="121"] +{ +/*megaphone*/ +left:23px; +bottom:143px; +background:url('icons-white.png') -23px -143px; +} + +[icon*="alarm"],[icon*="122"] +{ +/*alarm*/ +left:47px; +bottom:143px; +background:url('icons-white.png') -47px -143px; +} + +[icon*="brighten"],[icon*="sun"],[icon*="123"] +{ +/*brighten*/ +left:71px; +bottom:143px; +background:url('icons-white.png') -71px -143px; +} + +[icon*="like"],[icon*="thumbs-up"],[icon*="124"] +{ +/*like*/ +left:95px; +bottom:143px; +background:url('icons-white.png') -95px -143px; +} + +[icon*="dislike"],[icon*="thumbs-down"],[icon*="125"] +{ +/*dislike*/ +left:119px; +bottom:143px; +background:url('icons-white.png') -119px -143px; +} + +[icon*="point-right"],[icon*="126"] +{ +/*right*/ +left:143px; +bottom:143px; +background:url('icons-white.png') -143px -143px; +} + +[icon*="point-left"],[icon*="127"] +{ +/*left*/ +left:167px; +bottom:143px; +background:url('icons-white.png') -167px -143px; +} + +[icon*="point-up"],[icon*="128"] +{ +/*up*/ +left:191px; +bottom:143px; +background:url('icons-white.png') -191px -143px; +} + +[icon*="point-down"],[icon*="129"] +{ +/*down*/ +left:215px; +bottom:143px; +background:url('icons-white.png') -215px -143px; +} + +[icon*="right-arr-encircled"],[icon*="130"] +{ +/*right*/ +left:239px; +bottom:143px; +background:url('icons-white.png') -239px -143px; +} + +[icon*="left-arr-encircled"],[icon*="131"] +{ +/*left*/ +left:263px; +bottom:143px; +background:url('icons-white.png') -263px -143px; +} + +[icon*="up-arr-encircled"],[icon*="132"] +{ +/*up*/ +left:288px; +bottom:143px; +background:url('icons-white.png') -288px -143px; +} + +[icon*="down-arr-encircled"],[icon*="133"] +{ +/*down*/ +left:311px; +bottom:143px; +background:url('icons-white.png') -311px -143px; +} + +[icon*="globe"],[icon*="world"],[icon*="web"],[icon*="134"] +{ +/*globe*/ +left:335px; +bottom:143px; +background:url('icons-white.png') -335px -143px; +} + +[icon*="wrench"],[icon*="135"] +{ +/*wrench*/ +left:359px; +bottom:143px; +background:url('icons-white.png') -359px -143px; +} + +[icon*="stats"],[icon*="136"] +{ +/*stats*/ +left:383px; +bottom:143px; +background:url('icons-white.png') -383px -143px; +} + +[icon*="funnel"],[icon*="137"] +{ +/*funnel*/ +left:407px; +bottom:143px; +background:url('icons-white.png') -407px -143px; +} + +[icon*="briefcase"],[icon*="case"],[icon*="138"] +{ +/*case*/ +left:431px; +bottom:143px; +background:url('icons-white.png') -431px -143px; +} + +[icon*="crop"],[icon*="139"] +{ +/*crop*/ +left:454px; +bottom:143px; +background:url('icons-white.png') -454px -143px; +} + + +/* END of icons-white.xss */ diff --git a/SOURCE/APP/res/mink.css b/SOURCE/APP/res/mink.css new file mode 100644 index 0000000..25e0a19 --- /dev/null +++ b/SOURCE/APP/res/mink.css @@ -0,0 +1,180 @@ +/* +Rose Garden Basic +*/ + +@font-face +{ +font-family:ues; +src:url(ues.ttf); +} + +@font-face +{ +font-family:michroma; +src:url(michroma.ttf); +} + +body +{ +font-family:michroma,monoaco,monospace; +color:#000000; +background-color:#ffffff; +width:100%; +height:100%; +font-size:2em; +text-align:left; +font-weight:bold; +} + +button,[type=submit] +{ +color:#000000; +background-color:#00aced; +border-style:solid; +border-radius:5px; +border-color:#00aced; +} + +a,a:link,a:visited +{ +color:#00aced; +background-color:#000000; +text-decoration:none; +display:table-cell; +text-align:center; +width:90%; +padding:1em; +border-style:solid; +border-radius:5px; +border-color:rgba(128, 128, 128, 0.5); +} +/* +[app] +{ +color:#000000; +background-color:rgba(0, 0, 0, 0); +border-style:solid; +border-radius:5px; +border-color:#000000; +display:table-cell; +} +*/ + +#body +{ +min-height:100%; +height:auto; +width:100%; +} + +.button +{ +float:right; +border-color:#00aced; +} + +.import-audio +{ +background:url('audio.png'); +background-size:contain; +z-index:9; +} + +.import-video +{ +width:100%; +height:70%; +background:url('video.png'); +background-size:contain; +z-index:9; +} + +textarea,[type=text] +{ +background-color:#888888; +color:#000000; +border-style:solid; +border-color:#00aced; +} + +[type=password] +{ +background-color:#00aced; +color:#000000; +border-style:solid; +border-color:#000000; +} + +[type=radio],[type=checkbox] +{ +opacity:1; +z-index:29; +} + +.overlay-input +{ +display:inline-block; +position:relative; +left:0; +height:1em; +width:1em; +background-color:#888888; +border-style:solid; +border-radius:1em; +} + +[type=checkbox]>.overlay-input +{ +background-color:#ff0000; +} + +select +{ +background-color:#000000; +color:#00aced; +} + +[icon] +{ +border-style:solid; +border-radius:6px; +border-color:#00aced; +} + +.lock +{ +background:url('lock.png'); +background-size:contain; +} + +.unlock +{ +background:url('unlock.png'); +background-size:contain; +} + +#Toast-Message +{ +margin-bottom:30px; +margin-left:10%; +max-width:80%; +color:#ffffff; +background-color:#000000; +z-index:9; +position:fixed; +text-align:left; +border-style:solid; +border-color:#000000; +border-radius:12px; +visibility:hidden; +} + +iframe +{ +border-style:solid; +max-width:95%; +width:95%; +max-height:90%; +height:80%; +border-color:#000000; +} diff --git a/SOURCE/APP/res/mink.js b/SOURCE/APP/res/mink.js new file mode 100644 index 0000000..ab36892 --- /dev/null +++ b/SOURCE/APP/res/mink.js @@ -0,0 +1,1107 @@ +/* +Mink Ink +*/ + +/* navigator add-on */ + +navigator.platformType = (navigator.userAgent.toLowerCase().search('mobile')>-1)?'Mobile':'Immobile'; + +/* Custom radio and checkbox */ + +if(jQuery) +{ +$(document).ready(function(){ + +overlay=''; + + $("input[type=radio],input[type=checkbox]").each(function(){ + + $(this).html(overlay); + + }); + + $("input[type=checkbox]>.overlay-input").click(function(){ + + $(this).css("background-color", + ($(this).css("background-color")=="rgb(255, 0, 0)") + ?"#00ff00":"#ff0000"); + + }); + + $("input[type=radio]>.overlay-input").click(function(){ + + $("input[type=radio]>.overlay-input").each(function(){ + + $(this).css("background-color","#888888"); + + }); + + $(this).css("background-color","#00aced"); + + }); + +}); +} + +/* localStorage */ + +if(!window.localStorage) { +window.localStorage={ +getItem:function(sKey){ +if(!sKey||!this.hasOwnProperty(sKey)){return null;} +return unescape(document.cookie.replace(new RegExp("(?:^.*;\\s*)"+escape(sKey).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*"),"$1")); +}, +key:function(nKeyId) { +return unescape(document.cookie.replace(/\s*\==(?:.+?!;))*$/,"").split(/\s*\=(?:[^;](?!;))*[^;]?;\s*/)[nKeyId]); +}, +setItem:function(sKey,sValue) { +if(!sKey) {return;} +document.cookie=escape(sKey)+"="+escape(sValue)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"; +this.length=document.cookie.match(/\=/g).length; +}, +length:0, +removeItem:function(sKey) { +if(!sKey||!this.hasOwnProperty(sKey)){return;} +document.cookie=escape(sKey)+"=; expires=Thu, 01 1970 00:00:00 GMT; path=/"; +this.length--; +}, +hasOwnProperty:function(sKey) { +return(new RegExp("(?:^|;\\s*)"+escape(sKey).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=")).test(document.cookie); +} +}; +window.localStorage.length=(document.cookie.match(/\=/g)||window.localStorage).length; +} + +/* Hasher */ + +function Hash (str) { +var a_table = "00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D"; +var b_table = a_table.split(' ').map(function(s){ return parseInt(s,16) }); + var hash = hash ^ (-1); + for(var i=0, iTop=str.length; i>> 8 ) ^ b_table[( hash ^ str.charCodeAt( i ) ) & 0xFF]; + } + return (hash ^ (-1)) >>> 0; +}; + +/* Error handler */ + +function ErrorCheck() +{ +for(var x=0;x=0)?icon:icon+";"; +id.setAttribute("icon",icon); +return; +} + +function ICON_EXISTS(icon) +{ +return LIST_OF_ALL_ICONS.search(icon)>-1; +} + +function ICON_GET_CHILD(id) +{ +id=id.innerHTML; +icon=id.substring(id.indexOf("icon=\""),id.indexOf(";")); +icon=icon.replace("icon=\"","").replace(";",""); +return icon; +} + +function ICON_SET_CHILD(id,child,icon) +{ +id=id.getElementsByTagName(child)[0]; +icon=(icon.search(";")>=0)?icon:icon+";"; +id.setAttribute("icon",icon); +} + +function ICON_SWAP(id,icon) +{ +ICON_X=SWAP.indexOf(id); +ICON_DUMMY=(ICON_X!=-1)?function(){return}:function(){SWAP[SWAP.length]=id;ICON_X=SWAP.indexOf(id);OLD[ICON_X]=ICON_GET(id);HOLD[ICON_X]=OLD[ICON_X]}; +ICON_DUMMY(); +if(OLD[ICON_X]!=icon) +{ +OLD[ICON_X]=icon; +ICON_SET(id,icon); +} +else +{ +OLD[ICON_X]=HOLD[ICON_X]; +ICON_SET(id,HOLD[ICON_X]); +} +} + +function ICON_COUNT(id,what,who) +{ +who=(who!=null)?who:0; +what=(what!=null)?"icon=\""+what+";\"":"icon="; +if(typeof(who)==typeof(0)) +{ +el=document.getElementsByTagName(id)[who].innerHTML; +} +else +{ +el=document.getElementById(who).innerHTML; +} +var COUNT=1; +while(el.search(what)>=0) +{ +COUNT++; +el=el.replace(what,''); +} +return COUNT-(COUNT>0); +} + +function LIST_ICONS() +{ +return ICON_LIST.toString(); +} + +function ICON_INDEX(icon) +{ +NO=(typeof(icon.replace(";","")).toString()==typeof("string"))?ICON_LIST.indexOf(icon):ICON_LIST[icon]; +return NO; +} + +function NO_CSS_TAMPER(CSS) +{ +CSS=CSS||0; +document.body.style=document.getElementsByTagName("style")[CSS].innerHTML; +} + +/* Form Handling */ + +function GET_FORM_DATA() +{ +x=0; +loc=decodeURI(window.location.toString()); +loc_=loc.substr(0,loc.indexOf("?")+1); +loc_=loc_.toString(); +loc=loc.replace(loc_,""); +e=RegExp(/=/g); +arr=loc.replace(e,'\":\"').split('&'); +ARR='{"'; +while(x0||name.search('.wav')>0||name.search('.audio.ogg')>0) +{ +who.innerHTML+=''+alt+'
'; +return true; +} +if(name.search('.wmv')>0||name.search('.mp4')>0||name.search('.3gp')>0||name.search('.webm')>0||name.search('.mov')>0||name.search('.avi')>0||name.search('.m4v')>0||name.search('.video.ogg')>0) +{ +who.innerHTML+=''+alt+'
'; +return true; +} +k=window.location.toString(); +name=name||k.substring(k.lastIndexOf('/')+1,k.length)+".cache"; +return GET_STORAGE(name); +} + +function Delete(name) +{ +k=window.location.toString(); +name=name||k.substring(k.lastIndexOf('/')+1,k.length)+".cache"; +g=DELETE_STORAGE(name); +return g; +} + +/* Other */ + +function AUTO_SIZE(a,f,s) +{ + +s=s||0.5; +f=f||'b'; + +switch(f) +{ + +case 'b': +if(FROM_BITS(a,'B')>=s&&FROM_BITS(a,'B')<1024){return Math.round(FROM_BITS(a,'B'))+'B'}; +if(FROM_BITS(a,'KB')>=s&&FROM_BITS(a,'KB')<1024){return Math.round(FROM_BITS(a,'KB'))+'KB'}; +if(FROM_BITS(a,'MB')>=s&&FROM_BITS(a,'MB')<1024){return Math.round(FROM_BITS(a,'MB'))+'MB'}; +if(FROM_BITS(a,'GB')>=s&&FROM_BITS(a,'GB')<1024){return Math.round(FROM_BITS(a,'GB'))+'GB'}; +if(FROM_BITS(a,'TB')>=s&&FROM_BITS(a,'TB')<1024){return Math.round(FROM_BITS(a,'TB'))+'TB'}; +if(FROM_BITS(a,'PB')>=s&&FROM_BITS(a,'PB')<1024){return Math.round(FROM_BITS(a,'PB'))+'PB'}; +if(FROM_BITS(a,'EB')>=s&&FROM_BITS(a,'EB')<1024){return Math.round(FROM_BITS(a,'EB'))+'EB'}; +if(FROM_BITS(a,'ZB')>=s&&FROM_BITS(a,'ZB')<1024){return Math.round(FROM_BITS(a,'ZB'))+'ZB'}; +if(FROM_BITS(a,'YB')>=s){return Math.round(FROM_BITS(a,'YB'))+'YB'}; +return a+f; +break; + +case 'B': +if(FROM_BYTES(a,'KB')>=s&&FROM_BYTES(a,'KB')<1024){return Math.round(FROM_BYTES(a,'KB'))+'KB'}; +if(FROM_BYTES(a,'MB')>=s&&FROM_BYTES(a,'MB')<1024){return Math.round(FROM_BYTES(a,'MB'))+'MB'}; +if(FROM_BYTES(a,'GB')>=s&&FROM_BYTES(a,'GB')<1024){return Math.round(FROM_BYTES(a,'GB'))+'GB'}; +if(FROM_BYTES(a,'TB')>=s&&FROM_BYTES(a,'TB')<1024){return Math.round(FROM_BYTES(a,'TB'))+'TB'}; +if(FROM_BYTES(a,'PB')>=s&&FROM_BYTES(a,'PB')<1024){return Math.round(FROM_BYTES(a,'PB'))+'PB'}; +if(FROM_BYTES(a,'EB')>=s&&FROM_BYTES(a,'EB')<1024){return Math.round(FROM_BYTES(a,'EB'))+'EB'}; +if(FROM_BYTES(a,'ZB')>=s&&FROM_BYTES(a,'ZB')<1024){return Math.round(FROM_BYTES(a,'ZB'))+'ZB'}; +if(FROM_BYTES(a,'YB')>=s){return Math.round(FROM_BYTES(a,'YB'))+'YB'}; +return a+f; +break; + +case 'KB': +if(FROM_KB(a,'MB')>=s&&FROM_KB(a,'MB')<1024){return Math.round(FROM_KB(a,'MB'))+'MB'}; +if(FROM_KB(a,'GB')>=s&&FROM_KB(a,'GB')<1024){return Math.round(FROM_KB(a,'GB'))+'GB'}; +if(FROM_KB(a,'TB')>=s&&FROM_KB(a,'TB')<1024){return Math.round(FROM_KB(a,'TB'))+'TB'}; +if(FROM_KB(a,'PB')>=s&&FROM_KB(a,'PB')<1024){return Math.round(FROM_KB(a,'PB'))+'PB'}; +if(FROM_KB(a,'EB')>=s&&FROM_KB(a,'EB')<1024){return Math.round(FROM_KB(a,'EB'))+'EB'}; +if(FROM_KB(a,'ZB')>=s&&FROM_KB(a,'ZB')<1024){return Math.round(FROM_KB(a,'ZB'))+'ZB'}; +if(FROM_KB(a,'YB')>=s){return Math.round(FROM_KB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'MB': +if(FROM_MB(a,'GB')>=s&&FROM_MB(a,'GB')<1024){return Math.round(FROM_MB(a,'GB'))+'GB'}; +if(FROM_MB(a,'TB')>=s&&FROM_MB(a,'TB')<1024){return Math.round(FROM_MB(a,'TB'))+'TB'}; +if(FROM_MB(a,'PB')>=s&&FROM_MB(a,'PB')<1024){return Math.round(FROM_MB(a,'PB'))+'PB'}; +if(FROM_MB(a,'EB')>=s&&FROM_MB(a,'EB')<1024){return Math.round(FROM_MB(a,'EB'))+'EB'}; +if(FROM_MB(a,'ZB')>=s&&FROM_MB(a,'ZB')<1024){return Math.round(FROM_MB(a,'ZB'))+'ZB'}; +if(FROM_MB(a,'YB')>=s){return Math.round(FROM_MB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'GB': +if(FROM_GB(a,'TB')>=s&&FROM_GB(a,'TB')<1024){return Math.round(FROM_GB(a,'TB'))+'TB'}; +if(FROM_GB(a,'PB')>=s&&FROM_GB(a,'PB')<1024){return Math.round(FROM_GB(a,'PB'))+'PB'}; +if(FROM_GB(a,'EB')>=s&&FROM_GB(a,'EB')<1024){return Math.round(FROM_GB(a,'EB'))+'EB'}; +if(FROM_GB(a,'ZB')>=s&&FROM_GB(a,'ZB')<1024){return Math.round(FROM_GB(a,'ZB'))+'ZB'}; +if(FROM_GB(a,'YB')>=s){return Math.round(FROM_GB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'TB': +if(FROM_TB(a,'PB')>=s&&FROM_TB(a,'PB')<1024){return Math.round(FROM_TB(a,'PB'))+'PB'}; +if(FROM_TB(a,'EB')>=s&&FROM_TB(a,'EB')<1024){return Math.round(FROM_TB(a,'EB'))+'EB'}; +if(FROM_TB(a,'ZB')>=s&&FROM_TB(a,'ZB')<1024){return Math.round(FROM_TB(a,'ZB'))+'ZB'}; +if(FROM_TB(a,'YB')>=s){return Math.round(FROM_TB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'PB': +if(FROM_PB(a,'EB')>=s&&FROM_PB(a,'EB')<1024){return Math.round(FROM_PB(a,'EB'))+'EB'}; +if(FROM_PB(a,'ZB')>=s&&FROM_PB(a,'ZB')<1024){return Math.round(FROM_PB(a,'ZB'))+'ZB'}; +if(FROM_PB(a,'YB')>=s){return Math.round(FROM_PB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'EB': +if(FROM_EB(a,'ZB')>=s&&FROM_EB(a,'ZB')<1024){return Math.round(FROM_EB(a,'ZB'))+'ZB'}; +if(FROM_EB(a,'YB')>=s){return Math.round(FROM_EB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'ZB': +if(FROM_ZB(a,'YB')>=s){return Math.round(FROM_ZB(a,'YB'))+'YB'}; +return a+f; +break; + +case 'YB': +return a+'YB'; +break; + +} + +} + +function FROM_BITS(x,y) +{ + +switch(y) +{ + +case 'b': +return x/Math.pow(2,0); +break; + +case 'B': +return x/Math.pow(2,3); +break; + +case 'KB': +return x/Math.pow(2,13); +break; + +case 'MB': +return x/Math.pow(2,23); +break; + +case 'GB': +return x/Math.pow(2,33); +break; + +case 'TB': +return x/Math.pow(2,43); +break; + +case 'PB': +return x/Math.pow(2,53); +break; + +case 'EB': +return x/Math.pow(2,63); +break; + +case 'ZB': +return x/Math.pow(2,73); +break; + +case 'YB': +return x/Math.pow(2,83); +break; + + +default: +return x; +} + +} + + +function FROM_BYTES(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,3); +break; + +case 'B': +return x/Math.pow(2,0); +break; + +case 'KB': +return x/Math.pow(2,10); +break; + +case 'MB': +return x/Math.pow(2,20); +break; + +case 'GB': +return x/Math.pow(2,30); +break; + +case 'TB': +return x/Math.pow(2,40); +break; + +case 'PB': +return x/Math.pow(2,50); +break; + +case 'EB': +return x/Math.pow(2,60); +break; + +case 'ZB': +return x/Math.pow(2,70); +break; + +case 'YB': +return x/Math.pow(2,80); +break; + + +default: +return x; +} + +} + +function FROM_KB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,13); +break; + +case 'B': +return x*Math.pow(2,10); +break; + +case 'KB': +return x/Math.pow(2,0); +break; + +case 'MB': +return x/Math.pow(2,10); +break; + +case 'GB': +return x/Math.pow(2,20); +break; + +case 'TB': +return x/Math.pow(2,30); +break; + +case 'PB': +return x/Math.pow(2,40); +break; + +case 'EB': +return x/Math.pow(2,50); +break; + +case 'ZB': +return x/Math.pow(2,60); +break; + +case 'YB': +return x/Math.pow(2,70); +break; + + +default: +return x; +} + +} + + +function FROM_MB(x,y) +{ + +switch(y) +{ + +case 'b': +return x/Math.pow(2,23); +break; + +case 'B': +return x*Math.pow(2,20); +break; + +case 'KB': +return x*Math.pow(2,10); +break; + +case 'MB': +return x/Math.pow(2,0); +break; + +case 'GB': +return x/Math.pow(2,10); +break; + +case 'TB': +return x/Math.pow(2,20); +break; + +case 'PB': +return x/Math.pow(2,30); +break; + +case 'EB': +return x/Math.pow(2,40); +break; + +case 'ZB': +return x/Math.pow(2,50); +break; + +case 'YB': +return x/Math.pow(2,60); +break; + + +default: +return x; +} + +} + +function FROM_GB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,33); +break; + +case 'B': +return x*Math.pow(2,30); +break; + +case 'KB': +return x*Math.pow(2,20); +break; + +case 'MB': +return x*Math.pow(2,10); +break; + +case 'GB': +return x/Math.pow(2,0); +break; + +case 'TB': +return x/Math.pow(2,10); +break; + +case 'PB': +return x/Math.pow(2,20); +break; + +case 'EB': +return x/Math.pow(2,30); +break; + +case 'ZB': +return x/Math.pow(2,40); +break; + +case 'YB': +return x/Math.pow(2,50); +break; + + +default: +return x; +} + +} + +function FROM_TB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,43); +break; + +case 'B': +return x*Math.pow(2,40); +break; + +case 'KB': +return x*Math.pow(2,30); +break; + +case 'MB': +return x*Math.pow(2,20); +break; + +case 'GB': +return x*Math.pow(2,10); +break; + +case 'TB': +return x/Math.pow(2,0); +break; + +case 'PB': +return x/Math.pow(2,10); +break; + +case 'EB': +return x/Math.pow(2,20); +break; + +case 'ZB': +return x/Math.pow(2,30); +break; + +case 'YB': +return x/Math.pow(2,40); +break; + + +default: +return x; +} + +} + +function FROM_PB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,53); +break; + +case 'B': +return x*Math.pow(2,50); +break; + +case 'KB': +return x*Math.pow(2,40); +break; + +case 'MB': +return x*Math.pow(2,30); +break; + +case 'GB': +return x*Math.pow(2,20); +break; + +case 'TB': +return x*Math.pow(2,10); +break; + +case 'PB': +return x/Math.pow(2,0); +break; + +case 'EB': +return x/Math.pow(2,10); +break; + +case 'ZB': +return x/Math.pow(2,20); +break; + +case 'YB': +return x/Math.pow(2,30); +break; + + +default: +return x; +} + +} + +function FROM_EB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,63); +break; + +case 'B': +return x/Math.pow(2,60); +break; + +case 'KB': +return x*Math.pow(2,50); +break; + +case 'MB': +return x*Math.pow(2,40); +break; + +case 'GB': +return x*Math.pow(2,30); +break; + +case 'TB': +return x*Math.pow(2,20); +break; + +case 'PB': +return x*Math.pow(2,10); +break; + +case 'EB': +return x/Math.pow(2,0); +break; + +case 'ZB': +return x/Math.pow(2,10); +break; + +case 'YB': +return x/Math.pow(2,20); +break; + + +default: +return x; +} + +} + +function FROM_ZB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,73); +break; + +case 'B': +return x*Math.pow(2,70); +break; + +case 'KB': +return x*Math.pow(2,60); +break; + +case 'MB': +return x*Math.pow(2,50); +break; + +case 'GB': +return x*Math.pow(2,40); +break; + +case 'TB': +return x*Math.pow(2,30); +break; + +case 'PB': +return x*Math.pow(2,20); +break; + +case 'EB': +return x*Math.pow(2,10); +break; + +case 'ZB': +return x/Math.pow(2,0); +break; + +case 'YB': +return x/Math.pow(2,10); +break; + + +default: +return x; +} + +} + +function FROM_YB(x,y) +{ + +switch(y) +{ + +case 'b': +return x*Math.pow(2,83); +break; + +case 'B': +return x*Math.pow(2,80); +break; + +case 'KB': +return x*Math.pow(2,70); +break; + +case 'MB': +return x*Math.pow(2,60); +break; + +case 'GB': +return x*Math.pow(2,50); +break; + +case 'TB': +return x*Math.pow(2,40); +break; + +case 'PB': +return x*Math.pow(2,30); +break; + +case 'EB': +return x*Math.pow(2,20); +break; + +case 'ZB': +return x*Math.pow(2,10); +break; + +case 'YB': +return x/Math.pow(2,0); +break; + + +default: +return x; +} + +} + +function Notify(data,t) +{ + +t=t||3; +t*=1000; + +head=document.getElementById("head"); + +if(head.getAttribute("status")=="busy") +{ +setTimeout(function(){Notify(data,t);},parseInt(head.getAttribute("t"))+1); +setTimeout(function(){head.innerHTML=hd;head.setAttribute("status","not-busy");},t); +return; +} + +if(data==false||data==true) +{ +head.style.visibility=(data==true)?"visible":"hidden"; +return; +} + +hd=' '; +head.innerHTML+=" "+data; +head.setAttribute("status","busy"); +head.setAttribute("t",t.toString()); + +setTimeout(function(){head.innerHTML=hd;head.setAttribute("status","not-busy");},t); + +return; +} + +function Toast(data,t) +{ + +t=t||3; + +toast=document.getElementById("Toast-Message"); + +if(toast.getAttribute("status")=="busy") +{ +setTimeout(function(){Toast(data,t);},parseInt(toast.getAttribute("t"))+1); +setTimeout(function(){toast.innerHTML="";toast.style.visibility="hidden";toast.setAttribute("status","not-busy");},t*1000); +return; +} + +toast.innerHTML=data; +toast.setAttribute("status","busy"); +toast.setAttribute("t",t.toString()); +toast.style.visibility="visible"; + +setTimeout(function(){toast.innerHTML="";toast.style.visibility="hidden";toast.setAttribute("status","not-busy");},t*1000); + +return; +} + +function Time() +{ +date=new Date(); + +var ret; + +switch(date.getDay()) +{ +case 0: +ret="Sunday "; +break; + +case 1: +ret="Monday "; +break; + +case 2: +ret="Tuesday "; +break; + +case 3: +ret="Wednesday "; +break; + +case 4: +ret="Thursday "; +break; + +case 5: +ret="Friday "; +break; + +case 6: +ret="Saturday "; +break; +} + +switch(date.getMonth()) +{ +case 0: +ret+="January "; +break; + +case 1: +ret+="February "; +break; + +case 2: +ret+="March "; +break; + +case 3: +ret+="April "; +break; + +case 4: +ret+="May, "; +break; + +case 5: +ret+="June "; +break; + +case 6: +ret+="July "; +break; + +case 7: +ret+="August "; +break; + +case 8: +ret+="September "; +break; + +case 9: +ret+="October "; +break; + +case 10: +ret+="November "; +break; + +case 11: +ret+="December "; +break; + +} + +ret+=date.getDate()+', '+date.getFullYear()+' - '; + +ret+=(date.getHours()>0&&date.getHours()<12)?date.getHours()+':'+((date.getMinutes()<10)?'0'+date.getMinutes():date.getMinutes())+' am':Math.abs(date.getHours()-((date.getHours()==12)?0:12))+':'+((date.getMinutes()<10)?'0'+date.getMinutes():date.getMinutes())+' pm'; + +return ret; + +} diff --git a/SOURCE/index.html b/SOURCE/index.html new file mode 100644 index 0000000..299b948 --- /dev/null +++ b/SOURCE/index.html @@ -0,0 +1,45 @@ + + + + + + + + + + + + +
+ + Apps + +

+ + + App Maker + +

+ + + Files + +

+ + + Settings + +

+ + +

+ +
+

+

+
+ + diff --git a/SOURCE/mink.html b/SOURCE/mink.html new file mode 100644 index 0000000..c9e259d --- /dev/null +++ b/SOURCE/mink.html @@ -0,0 +1,114 @@ + + + +Mink - CBOS + + + + + + + + + + + + + + + + + +
+
+
+
+ + + +