From 0c48d1658c67bdd475348ae864caad07e7327b15 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Tue, 2 Sep 2014 14:40:22 -0500 Subject: [PATCH 01/26] Update LICENSE --- LICENSE | 2 ++ 1 file changed, 2 insertions(+) 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 From 3bb2b061ad254a06d39095848464bc0889ce6926 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Tue, 2 Sep 2014 14:42:06 -0500 Subject: [PATCH 02/26] Delete Basic Startup.txt --- Basic Startup.txt | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Basic Startup.txt 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 @@ - - - - - - From 4f561760fd588ee1f83419d3922a07062510c969 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:53:10 -0500 Subject: [PATCH 03/26] Create BASIC STARTUP.txt --- Help/BASIC STARTUP.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Help/BASIC STARTUP.txt diff --git a/Help/BASIC STARTUP.txt b/Help/BASIC STARTUP.txt new file mode 100644 index 0000000..aea4ab3 --- /dev/null +++ b/Help/BASIC STARTUP.txt @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + +
+

+

+ + + + + From 8df95de105cc51e2a635227e08799d863526c392 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:53:32 -0500 Subject: [PATCH 04/26] Create Help-App.txt --- Help/Help-App.txt | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Help/Help-App.txt diff --git a/Help/Help-App.txt b/Help/Help-App.txt new file mode 100644 index 0000000..7e78f04 --- /dev/null +++ b/Help/Help-App.txt @@ -0,0 +1,50 @@ +Help : 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 +******************************** +Automatic: + +I. FULL SCREEN: + If screen is scrolled past master button, the master button area (system tray) is overlapped (thus 'hiding' it), as well as the notification area.¹ + +II. TIME UPDATE: + The current time will be notified every 60s, for 5s.¹ +******************************** + +Step-by-step instructions: + +I. Create a sub-directory in APP, and inside of it, a group of files: app.html, app.js, app.css [and if needed, a sub-directory 'mof' to hold extra 'pages' and/or data, i.e. form data, form submission pages, cache pages, etc.] + +II. Name the directory com.|company|.|name| (like Android apps) + +III. Build your app as app.html + +IV. Link your app to the Mink OS: + i. In the index.html file, add the following: + + +Name* + +

+ +-Or, proceed to § ii + + ii. 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: BASIC-STARTUP.txt From bca31763edee43a7e38f5bc3e96fbc30db5655d9 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:54:05 -0500 Subject: [PATCH 05/26] Create Help-CSS3 --- Help/Help-CSS3 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Help/Help-CSS3 diff --git a/Help/Help-CSS3 b/Help/Help-CSS3 new file mode 100644 index 0000000..1d7e4fe --- /dev/null +++ b/Help/Help-CSS3 @@ -0,0 +1,2 @@ +CENTRAL STYLE SHEET : RGB +- all CSS selectors From 98218d35eb8423ac667eb93bbd2059e9c397522d Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:54:22 -0500 Subject: [PATCH 06/26] Create Help-HTML5.txt --- Help/Help-HTML5.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Help/Help-HTML5.txt diff --git a/Help/Help-HTML5.txt b/Help/Help-HTML5.txt new file mode 100644 index 0000000..5da5e09 --- /dev/null +++ b/Help/Help-HTML5.txt @@ -0,0 +1,5 @@ +HYPER TEXT MARKUP LANGUAGE : MINK +- all HTML5 attributes, properties and elements + +-attributes + -icon : icon of this element From 2d12253d6ddf72160286b86c9d30e40edbbecd35 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:54:38 -0500 Subject: [PATCH 07/26] Rename Help-CSS3 to Help-CSS3.txt --- Help/{Help-CSS3 => Help-CSS3.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Help/{Help-CSS3 => Help-CSS3.txt} (100%) diff --git a/Help/Help-CSS3 b/Help/Help-CSS3.txt similarity index 100% rename from Help/Help-CSS3 rename to Help/Help-CSS3.txt From c285cc67d314310a8e20ffcf159a918b0f482fbf Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:54:54 -0500 Subject: [PATCH 08/26] Create Help-JS.txt --- Help/Help-JS.txt | 196 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 Help/Help-JS.txt diff --git a/Help/Help-JS.txt b/Help/Help-JS.txt new file mode 100644 index 0000000..f670e7c --- /dev/null +++ b/Help/Help-JS.txt @@ -0,0 +1,196 @@ +JAVASCRIPT : INK +-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 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) +*Note: use this for one time icon changes + +id : get this DOM + +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) +*Note: use this for multiple icon changes, it will automatically swap between the original icon and new icon + +id : get this DOM + +icon : new icon to swap with + + + - LIST_ICONS() +returns a list of all icons + + + - NO_CSS_TAMPER(CSS) +*Note: use this for an over-ride, this will make the internal style-sheet over-ride the external style-sheet located @SOURCE/RGB/mink.css; this function executes itself automatically onload (for 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 needs this + + + -GET_STORAGE_BOOLEAN(c) +c : does this storage-point exist + + + -GET_FORM_DATA() +returns variable |input| as an array; +the |name| attribute of each input element become apart of |input| +******************************** +i.e. +|HTML form.html| +... +
+... + + +... +
+ +|HTML next.html, JS form.js| +... +GET_FORM_DATA() +... +*Note: 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]) : Save(value,[name]) +*Note: 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 + +******************************** +i.e. +|JS foobar.js| +... +SET_STORAGE('name',input.username,'password',input.password); +... +*Note: the storage-points |name| and |password| exist, and won't expire +******************************** + -FROM_|type|(size,to) + +size : express size as |to| + +to : to this size, [b,B,KB,MB,GB,TB,PB,EB,ZB,YB] + +*Note: this function will return the 'true' data size, i.e. 1024 bytes will be 1 kb, 1000 bytes will return 1.024 kb + +b : bit 2^-3 bytes +B : byte 2^0 bytes : 8 bits i.e. 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 + +******************************** + +i.e. + +FROM_GB(1024,'TB'); + +*Returns 1 + +******************************** + -AUTO_SIZE(n,f,s) + +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 + +*Note: scale, if n@Size-Type > s, make n=n@Size-Type + +*Note:will return a floored interger, i.e. 1023B will be 0KB + +******************************** + +i.e. + +AUTO_SIZE(5,'B') + +*Returns 5B + +AUTO_SIZE(1024,'B') + +*Returns 1KB + +AUTO_SIZE(9000000000,'B') + +*Returns 8GB + + + +******************************** + -Toast(data,t) + +data : what to display + +t : timeout, in seconds (automatically converts into miliseconds) ; default is 3 (3s) + +******************************** + - x=new PatternLock(id,[data]) + +x : new pattern lock to create + +id : the element's id attribute + +data : extra specifications + +*Note: see http://ignitersworld.com/lab/patternLock.html for more help + +PatternLock is (C) to Sudhanshu Yadav and is licensed under the MIT license ; 2013-2014 All rights reserved From 68ff0e1c39faf6e26eb315617c362be082521e9d Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:55:13 -0500 Subject: [PATCH 09/26] Create Help-Resources.txt --- Help/Help-Resources.txt | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Help/Help-Resources.txt diff --git a/Help/Help-Resources.txt b/Help/Help-Resources.txt new file mode 100644 index 0000000..1bbd7fb --- /dev/null +++ b/Help/Help-Resources.txt @@ -0,0 +1,45 @@ +REFERENCES OF RESOURCES: + +*Note: use these if you are in the ' APP/com.company.name 'directory, else if in the ' APP/com.company.name/mof ' directory, add ' ../ ' to the begining: + +DEFAULT STYLING: + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + + From 521ca657ed692ebe08b7196e32155da3be1491f0 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:56:47 -0500 Subject: [PATCH 11/26] Create index.html --- SOURCE/index.html | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 SOURCE/index.html diff --git a/SOURCE/index.html b/SOURCE/index.html new file mode 100644 index 0000000..1a18565 --- /dev/null +++ b/SOURCE/index.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + +
+ + +Apps + +

+ + +App Maker + +

+ + +Files + +

+ + +Settings + +

+ + + +

+ +
+

+

+
+ + + From 2584e872df5af80e78582299ed7cfc3880ec0667 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:57:19 -0500 Subject: [PATCH 12/26] Create icons-black.css --- SOURCE/APP/res/icons-black.css | 1161 ++++++++++++++++++++++++++++++++ 1 file changed, 1161 insertions(+) create mode 100644 SOURCE/APP/res/icons-black.css 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 */ From 2814282ef037d86e868d04ffb194a6c5a5bef1cb Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:57:36 -0500 Subject: [PATCH 13/26] Create icons-white.css --- SOURCE/APP/res/icons-white.css | 1161 ++++++++++++++++++++++++++++++++ 1 file changed, 1161 insertions(+) create mode 100644 SOURCE/APP/res/icons-white.css 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 */ From 004971c197173662e365ccdcc20a6160c24b879e Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 13:57:53 -0500 Subject: [PATCH 14/26] Create mink.css --- SOURCE/APP/res/mink.css | 180 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 SOURCE/APP/res/mink.css 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; +} From beb8ed459778dfa9f0331e29cbaabfb1b39de751 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 14:01:39 -0500 Subject: [PATCH 15/26] Create mink.js --- SOURCE/APP/res/mink.js | 1107 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1107 insertions(+) create mode 100644 SOURCE/APP/res/mink.js 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; + +} From a6c6ca8895fa2e9fedbf83d322dc112a59bf9cf9 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 14:25:31 -0500 Subject: [PATCH 16/26] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d3851cf..a29ac58 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,11 @@ Developers, scroll past -Usage- § IV -Guidelines/Instructions: +#To Use - in your _app.html_ file# +
`` +
`` +
`` + -Beginning- I. You must have a browser that supports HTML5, JS, and CSS3. From 8d65dc3081e1dd25fcc2de9d8c1c4d3087da8cb8 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 14:31:19 -0500 Subject: [PATCH 17/26] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a29ac58..0eb1fc9 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,16 @@ Developers, scroll past -Usage- § IV -Guidelines/Instructions: -#To Use - in your _app.html_ file# +###To Use - in your _app.html_ file###
``
``
`` +###To Use - in your _mof/app.html_ file### +
`` +
`` +
`` + -Beginning- I. You must have a browser that supports HTML5, JS, and CSS3. From 37d305a6b1b0fa377106b728f8d15bd421cc45c1 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 14:33:50 -0500 Subject: [PATCH 18/26] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0eb1fc9..3935eba 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,15 @@ Developers, scroll past -Usage- § IV
``
`` -###To Use - in your _mof/app.html_ file### +###To Use - in your _mof/app-name.html_ file###
``
``
`` +###To Use - in your _app.css_ file### +
`@import url('../res/mink.css');` +
`@import url('../res/icons-white.css');` + -Beginning- I. You must have a browser that supports HTML5, JS, and CSS3. From 8bf8f5c77a6e69400bc4a4c53ff33c9c83f360a6 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Mon, 13 Oct 2014 15:00:34 -0500 Subject: [PATCH 19/26] Create Mink.txt --- Help/Mink.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Help/Mink.txt diff --git a/Help/Mink.txt b/Help/Mink.txt new file mode 100644 index 0000000..976c045 --- /dev/null +++ b/Help/Mink.txt @@ -0,0 +1,8 @@ +Mink Blue : #00ACED OPP>> +Mink Orange : #|FF5312 - 00ACED|>> +Mink Pink : #|FF59DB - FF5312|>> +Mink Over-kill : #|0006C9 - 00ACED|>> +Mink Green : #|00A624 - FF5312|>> +Mink Tangerine : #FFA312 + +Note : ">>" means creates the color on the next line. From b89b65a38c082df18b2ccb5875fcbd2d037d8368 Mon Sep 17 00:00:00 2001 From: Mink CBOS Date: Thu, 15 Oct 2015 17:16:05 -0500 Subject: [PATCH 20/26] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3935eba..20d2ccf 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,23 @@ Mink-CBOS HTML5/CSS3/JS OS Mink - Custom Browser OS: + Developers, scroll past -Usage- § IV + -Author: Ephellon Dantzler --Contact: 469-202-5129 ; minkcbos@gmail.com + +-Contact: minkcbos@gmail.com + -Support: JavaScript, HTML5, CSS3 + -Aliases: -JS : Mink : INK + -HTML5 : Muffin Stack : MINK + -CSS3 : Rose Garden Basic : RGB + -Guidelines/Instructions: ###To Use - in your _app.html_ file### From 7eb78f5e5bba876e4d602cccf65601fd176c2b26 Mon Sep 17 00:00:00 2001 From: Ephellon Date: Wed, 18 Dec 2019 08:56:12 -0700 Subject: [PATCH 21/26] Update README.md --- README.md | 117 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index 20d2ccf..abb57a9 100644 --- a/README.md +++ b/README.md @@ -1,79 +1,84 @@ -Mink-CBOS -========= +# Mink-CBOS +# HTML5/CSS3/JS OS -HTML5/CSS3/JS OS +### _Mink Custom Browser OS_ -Mink - Custom Browser OS: +> Developers, scroll past __Usage § IV__ -Developers, scroll past -Usage- § IV +- 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) + +======== --Author: Ephellon Dantzler +# Guidelines/Instructions: +## Your `app.html` file must contain: --Contact: minkcbos@gmail.com +```html + + + +``` --Support: JavaScript, HTML5, CSS3 +## Your `mof/{Application Name}.html` file(s) must contain: --Aliases: - -JS : Mink : INK +```html + + + +``` - -HTML5 : Muffin Stack : MINK +## Your `app.css` file must contain: - -CSS3 : Rose Garden Basic : RGB +```css +@import url('../res/mink.css'); +@import url('../res/icons-white.css'); +``` +======== --Guidelines/Instructions: +# Beginning -###To Use - in your _app.html_ file### -
`` -
`` -
`` +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) -###To Use - in your _mof/app-name.html_ file### -
`` -
`` -
`` +---- -###To Use - in your _app.css_ file### -
`@import url('../res/mink.css');` -
`@import url('../res/icons-white.css');` +# Startup --Beginning- +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. You must have a browser that supports HTML5, JS, and CSS3. +---- -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) +# Usage --Startup- +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. -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) +---- --Usage- +# DEVELOPERS -I. Open mink.html +- Building apps + 1. Body of apps: use HTML5 + 2. Behavior of apps: use JS + 3. Styling apps: use CSS 3 -II. Click on an 'app' to execute/run it. - -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.' - --DEVELOPERS- - -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 - -III. Sharing content - i. App-App - ii. App-Web - iii. Web-App +- 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 From 339ea3b3c45acc160e672caf7ba4ca5624809e1f Mon Sep 17 00:00:00 2001 From: Ephellon Date: Wed, 18 Dec 2019 08:57:20 -0700 Subject: [PATCH 22/26] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index abb57a9..ce83e3c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,4 @@ -# Mink-CBOS -# HTML5/CSS3/JS OS - -### _Mink Custom Browser OS_ +# Mink CBOS (_Custom Browser Operating System_): HTML5/CSS3/JS OS > Developers, scroll past __Usage § IV__ From b6296fdbe09c032a9ffc8415f5264a2f4233b0da Mon Sep 17 00:00:00 2001 From: Ephellon Date: Wed, 18 Dec 2019 08:57:37 -0700 Subject: [PATCH 23/26] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce83e3c..914e2db 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ + JS: Mink (INK) + CSS3: Rose Garden Basic (RGB) -======== +---- # Guidelines/Instructions: ## Your `app.html` file must contain: @@ -36,7 +36,7 @@ @import url('../res/icons-white.css'); ``` -======== +---- # Beginning From 729a01219a37717d813c789a9b8534900b2a1367 Mon Sep 17 00:00:00 2001 From: Ephellon Date: Wed, 18 Dec 2019 08:59:41 -0700 Subject: [PATCH 24/26] Rename BASIC STARTUP.txt to BOILER_PLATE.html --- Help/{BASIC STARTUP.txt => BOILER_PLATE.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Help/{BASIC STARTUP.txt => BOILER_PLATE.html} (100%) diff --git a/Help/BASIC STARTUP.txt b/Help/BOILER_PLATE.html similarity index 100% rename from Help/BASIC STARTUP.txt rename to Help/BOILER_PLATE.html From b41361587bc0e64f069f2a004fc626744c323ac8 Mon Sep 17 00:00:00 2001 From: Ephellon Date: Wed, 18 Dec 2019 09:03:28 -0700 Subject: [PATCH 25/26] Update BOILER_PLATE.html --- Help/BOILER_PLATE.html | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/Help/BOILER_PLATE.html b/Help/BOILER_PLATE.html index aea4ab3..dfb6d5b 100644 --- a/Help/BOILER_PLATE.html +++ b/Help/BOILER_PLATE.html @@ -1,31 +1,27 @@ + - - - + + + + + + - - - - - -
-

-

+ +
+

+

From 18b271f0aa7d9a741389c473f336f61dc039e5bb Mon Sep 17 00:00:00 2001 From: ephellon Date: Thu, 6 Feb 2020 15:55:58 -0700 Subject: [PATCH 26/26] Quick update --- .../app.html} | 0 Help/Help-App.txt | 50 ----- Help/Help-CSS3.txt | 2 - Help/Help-HTML5.txt | 5 - Help/Help-JS.txt | 196 ------------------ Help/Help-Resources.txt | 45 ---- Help/Mink.txt | 8 - Help/app.md | 53 +++++ Help/color_palette.md | 8 + Help/css.md | 2 + Help/html.md | 5 + Help/js.md | 131 ++++++++++++ Help/resources.md | 47 +++++ SOURCE/index.html | 87 ++++---- SOURCE/mink.html | 180 ++++++++-------- 15 files changed, 366 insertions(+), 453 deletions(-) rename Help/{BOILER_PLATE.html => BOILER_PLATES/app.html} (100%) delete mode 100644 Help/Help-App.txt delete mode 100644 Help/Help-CSS3.txt delete mode 100644 Help/Help-HTML5.txt delete mode 100644 Help/Help-JS.txt delete mode 100644 Help/Help-Resources.txt delete mode 100644 Help/Mink.txt create mode 100644 Help/app.md create mode 100644 Help/color_palette.md create mode 100644 Help/css.md create mode 100644 Help/html.md create mode 100644 Help/js.md create mode 100644 Help/resources.md diff --git a/Help/BOILER_PLATE.html b/Help/BOILER_PLATES/app.html similarity index 100% rename from Help/BOILER_PLATE.html rename to Help/BOILER_PLATES/app.html diff --git a/Help/Help-App.txt b/Help/Help-App.txt deleted file mode 100644 index 7e78f04..0000000 --- a/Help/Help-App.txt +++ /dev/null @@ -1,50 +0,0 @@ -Help : 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 -******************************** -Automatic: - -I. FULL SCREEN: - If screen is scrolled past master button, the master button area (system tray) is overlapped (thus 'hiding' it), as well as the notification area.¹ - -II. TIME UPDATE: - The current time will be notified every 60s, for 5s.¹ -******************************** - -Step-by-step instructions: - -I. Create a sub-directory in APP, and inside of it, a group of files: app.html, app.js, app.css [and if needed, a sub-directory 'mof' to hold extra 'pages' and/or data, i.e. form data, form submission pages, cache pages, etc.] - -II. Name the directory com.|company|.|name| (like Android apps) - -III. Build your app as app.html - -IV. Link your app to the Mink OS: - i. In the index.html file, add the following: - - -Name* - -

- --Or, proceed to § ii - - ii. 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: BASIC-STARTUP.txt diff --git a/Help/Help-CSS3.txt b/Help/Help-CSS3.txt deleted file mode 100644 index 1d7e4fe..0000000 --- a/Help/Help-CSS3.txt +++ /dev/null @@ -1,2 +0,0 @@ -CENTRAL STYLE SHEET : RGB -- all CSS selectors diff --git a/Help/Help-HTML5.txt b/Help/Help-HTML5.txt deleted file mode 100644 index 5da5e09..0000000 --- a/Help/Help-HTML5.txt +++ /dev/null @@ -1,5 +0,0 @@ -HYPER TEXT MARKUP LANGUAGE : MINK -- all HTML5 attributes, properties and elements - --attributes - -icon : icon of this element diff --git a/Help/Help-JS.txt b/Help/Help-JS.txt deleted file mode 100644 index f670e7c..0000000 --- a/Help/Help-JS.txt +++ /dev/null @@ -1,196 +0,0 @@ -JAVASCRIPT : INK --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 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) -*Note: use this for one time icon changes - -id : get this DOM - -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) -*Note: use this for multiple icon changes, it will automatically swap between the original icon and new icon - -id : get this DOM - -icon : new icon to swap with - - - - LIST_ICONS() -returns a list of all icons - - - - NO_CSS_TAMPER(CSS) -*Note: use this for an over-ride, this will make the internal style-sheet over-ride the external style-sheet located @SOURCE/RGB/mink.css; this function executes itself automatically onload (for 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 needs this - - - -GET_STORAGE_BOOLEAN(c) -c : does this storage-point exist - - - -GET_FORM_DATA() -returns variable |input| as an array; -the |name| attribute of each input element become apart of |input| -******************************** -i.e. -|HTML form.html| -... -
-... - - -... -
- -|HTML next.html, JS form.js| -... -GET_FORM_DATA() -... -*Note: 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]) : Save(value,[name]) -*Note: 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 - -******************************** -i.e. -|JS foobar.js| -... -SET_STORAGE('name',input.username,'password',input.password); -... -*Note: the storage-points |name| and |password| exist, and won't expire -******************************** - -FROM_|type|(size,to) - -size : express size as |to| - -to : to this size, [b,B,KB,MB,GB,TB,PB,EB,ZB,YB] - -*Note: this function will return the 'true' data size, i.e. 1024 bytes will be 1 kb, 1000 bytes will return 1.024 kb - -b : bit 2^-3 bytes -B : byte 2^0 bytes : 8 bits i.e. 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 - -******************************** - -i.e. - -FROM_GB(1024,'TB'); - -*Returns 1 - -******************************** - -AUTO_SIZE(n,f,s) - -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 - -*Note: scale, if n@Size-Type > s, make n=n@Size-Type - -*Note:will return a floored interger, i.e. 1023B will be 0KB - -******************************** - -i.e. - -AUTO_SIZE(5,'B') - -*Returns 5B - -AUTO_SIZE(1024,'B') - -*Returns 1KB - -AUTO_SIZE(9000000000,'B') - -*Returns 8GB - - - -******************************** - -Toast(data,t) - -data : what to display - -t : timeout, in seconds (automatically converts into miliseconds) ; default is 3 (3s) - -******************************** - - x=new PatternLock(id,[data]) - -x : new pattern lock to create - -id : the element's id attribute - -data : extra specifications - -*Note: see http://ignitersworld.com/lab/patternLock.html for more help - -PatternLock is (C) to Sudhanshu Yadav and is licensed under the MIT license ; 2013-2014 All rights reserved diff --git a/Help/Help-Resources.txt b/Help/Help-Resources.txt deleted file mode 100644 index 1bbd7fb..0000000 --- a/Help/Help-Resources.txt +++ /dev/null @@ -1,45 +0,0 @@ -REFERENCES OF RESOURCES: - -*Note: use these if you are in the ' APP/com.company.name 'directory, else if in the ' APP/com.company.name/mof ' directory, add ' ../ ' to the begining: - -DEFAULT STYLING: - - - +``` + +# 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/SOURCE/index.html b/SOURCE/index.html index 1a18565..299b948 100644 --- a/SOURCE/index.html +++ b/SOURCE/index.html @@ -1,54 +1,45 @@ - + + - - - - - + + + + - - - - - - -
- - -Apps - -

- - -App Maker - -

- - -Files - -

- - -Settings - -

- - - -

- -
-

-

-
- - + +
+ + Apps + +

+ + + App Maker + +

+ + + Files + +

+ + + Settings + +

+ + +

+ +
+

+

+
+ diff --git a/SOURCE/mink.html b/SOURCE/mink.html index 5f9a735..c9e259d 100644 --- a/SOURCE/mink.html +++ b/SOURCE/mink.html @@ -1,132 +1,114 @@ - -Mink - BOS + + +Mink - CBOS - - - - - - - + + + + + - + + + + + + +
+
+
+
- - - - - - -
-
-
-
- - - - +