[Client:Mobile] 🎨

This commit is contained in:
syuilo 2017-03-22 13:56:19 +09:00
parent 5146a9eb1d
commit 2adcd70dbf
4 changed files with 25 additions and 12 deletions

View file

@ -10,15 +10,18 @@
<style> <style>
:scope :scope
display block display block
> .body
position fixed position fixed
z-index 2048 z-index 2048
top 0 top 0
left 0 left 0
width 100% width 100%
height 100% height 100%
overflow hidden padding 8px
background rgba(0, 0, 0, 0.2)
> .body
width 100%
height 100%
background #fff background #fff
> header > header

View file

@ -10,15 +10,18 @@
<style> <style>
:scope :scope
display block display block
> .body
position fixed position fixed
z-index 2048 z-index 2048
top 0 top 0
left 0 left 0
width 100% width 100%
height 100% height 100%
overflow hidden padding 8px
background rgba(0, 0, 0, 0.2)
> .body
width 100%
height 100%
background #fff background #fff
> header > header

View file

@ -54,8 +54,15 @@
display block display block
background #fff background #fff
&[data-is-naked]
> nav
top 48px
> nav > nav
display block display block
position sticky
top 0
z-index 1
width 100% width 100%
padding 10px 12px padding 10px 12px
overflow auto overflow auto
@ -63,7 +70,7 @@
font-size 0.9em font-size 0.9em
color #555 color #555
background #fff background #fff
border-bottom solid 1px #dfdfdf border-bottom solid 1px rgba(0, 0, 0, 0.13)
> p > p
display inline display inline

View file

@ -1,6 +1,6 @@
<mk-drive-page> <mk-drive-page>
<mk-ui ref="ui"> <mk-ui ref="ui">
<mk-drive ref="browser" folder={ parent.opts.folder } file={ parent.opts.file }></mk-drive> <mk-drive ref="browser" folder={ parent.opts.folder } file={ parent.opts.file } data-is-naked="true"></mk-drive>
</mk-ui> </mk-ui>
<style> <style>
:scope :scope