Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
ef630195
Commit
ef630195
authored
6 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
モバイルのドライブダイアログがおかしいのを修正 & ダークモード対応
parent
e3192115
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/client/app/mobile/views/components/drive-file-chooser.vue
+13
-6
13 additions, 6 deletions
...client/app/mobile/views/components/drive-file-chooser.vue
with
13 additions
and
6 deletions
src/client/app/mobile/views/components/drive-file-chooser.vue
+
13
−
6
View file @
ef630195
<
template
>
<div
class=
"
mk-drive-file-chooser
"
>
<div
class=
"
cdxzvcfawjxdyxsekbxbfgtplebnoneb
"
>
<div
class=
"body"
>
<header>
<h1>
%i18n:@select-file%
<span
class=
"count"
v-if=
"files.length > 0"
>
(
{{
files
.
length
}}
)
</span></h1>
<button
class=
"close"
@
click=
"cancel"
>
%fa:times%
</button>
<button
v-if=
"multiple"
class=
"ok"
@
click=
"ok"
>
%fa:check%
</button>
</header>
<mk-drive
ref=
"browser"
<mk-drive
class=
"drive"
ref=
"browser"
:select-file=
"true"
:multiple=
"multiple"
@
change-selection=
"onChangeSelection"
...
...
@@ -46,7 +46,7 @@ export default Vue.extend({
</
script
>
<
style
lang=
"stylus"
scoped
>
.mk-drive-file-chooser
root(isDark)
position fixed
z-index 20000
top 0
...
...
@@ -59,10 +59,11 @@ export default Vue.extend({
> .body
width 100%
height 100%
background #fff
background
isDark ? #282c37 :
#fff
> header
border-bottom solid 1px #eee
border-bottom solid 1px isDark ? #1b1f29 : #eee
color isDark ? #fff : #111
> h1
margin 0
...
...
@@ -90,9 +91,15 @@ export default Vue.extend({
line-height 42px
width 42px
> .
mk-
drive
> .drive
height calc(100% - 42px)
overflow scroll
-webkit-overflow-scrolling touch
.cdxzvcfawjxdyxsekbxbfgtplebnoneb[data-darkmode]
root(true)
.cdxzvcfawjxdyxsekbxbfgtplebnoneb:not([data-darkmode])
root(false)
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment