mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 01:18:21 +01:00
core services
This commit is contained in:
parent
3fb336ed7c
commit
c3e5b2749e
15
src/core/vfs.coffee
Normal file
15
src/core/vfs.coffee
Normal file
@ -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
|
||||
|
45
src/packages/CoreServices/main.css
Normal file
45
src/packages/CoreServices/main.css
Normal file
@ -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;
|
||||
}
|
10
src/packages/CoreServices/notifications.html
Normal file
10
src/packages/CoreServices/notifications.html
Normal file
@ -0,0 +1,10 @@
|
||||
<afx-dummy>
|
||||
<afx-overlay data-id = "notifyzone" width = "250">
|
||||
<afx-button text = "Clear all" data-id = "btclear"></afx-button>
|
||||
<afx-list-view data-id="notifylist"></afx-list-view>
|
||||
</afx-overlay>
|
||||
<afx-overlay data-id = "feedzone" width = "250">
|
||||
<afx-list-view data-id = "notifeed">
|
||||
</afx-list-view>
|
||||
</afx-overlay>
|
||||
</afx-dummy>
|
Loading…
Reference in New Issue
Block a user