1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-05 10:18:38 +09:00

[Client:Mobile] 🎨

This commit is contained in:
syuilo 2017-03-22 13:56:19 +09:00
parent 5d7aa3491c
commit 1735de3ff9
4 changed files with 25 additions and 12 deletions

View File

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

View File

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