diff --git a/src/core/vfs.coffee b/src/core/vfs.coffee new file mode 100644 index 0000000..7d66333 --- /dev/null +++ b/src/core/vfs.coffee @@ -0,0 +1,15 @@ +self.OS.API.VFS = + readdir: (p, c, er) -> + h = _API.VFS.pathHandler p + h p, + (d ) -> c d + , (e, s) -> er e, s + + pathHandler: (p) -> + list = p.split "///" + switch list[0] + when "app:" + return _API.handler.scanapp + else + return _API.handler.scandir + diff --git a/src/packages/CoreServices/main.css b/src/packages/CoreServices/main.css new file mode 100644 index 0000000..3dc4f8a --- /dev/null +++ b/src/packages/CoreServices/main.css @@ -0,0 +1,45 @@ +afx-overlay[data-id = "notifyzone"]{ + background-color: rgba(215,215,215,0.7); + + overflow-y: auto; + overflow-x: hidden; + padding:3px; + margin: 0; +} +afx-overlay[data-id = "notifyzone"] afx-button button{ + width: 250px; + background-color: rgba(215,215,215,0.9); +} +afx-overlay[data-id = "notifyzone"] afx-button button:active{ + color:#414339; +} +afx-list-view[data-id = "notifylist"] +{ + padding:0; +} +afx-list-view[data-id = "notifylist"] li{ + border:1px solid #a6a6a6; + border-radius: 6px; + margin-bottom: 2px; +} + +afx-overlay[data-id = "feedzone"]{ + overflow: hidden; + background-color:transparent; + right:5px; + margin: 0; + padding:0; + top:0; +} +afx-list-view[data-id = "notifeed"] +{ + padding:0; + margin:0; +} +afx-list-view[data-id = "notifeed"] li{ + box-shadow: 1px 1px 1px #9f9F9F; + border:1px solid #a6a6a6; + border-radius: 6px; + margin-bottom: 2px; + z-index: 99999; +} \ No newline at end of file diff --git a/src/packages/CoreServices/notifications.html b/src/packages/CoreServices/notifications.html new file mode 100644 index 0000000..f28a3c2 --- /dev/null +++ b/src/packages/CoreServices/notifications.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file