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
Essem
Sharkey
Commits
b4a4d784
Unverified
Commit
b4a4d784
authored
6 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
wip
parent
d715af06
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/client/app/mobile/views/components/post-form.vue
+8
-16
8 additions, 16 deletions
src/client/app/mobile/views/components/post-form.vue
src/client/theme/dark.json
+2
-0
2 additions, 0 deletions
src/client/theme/dark.json
src/client/theme/light.json
+2
-0
2 additions, 0 deletions
src/client/theme/light.json
with
12 additions
and
16 deletions
src/client/app/mobile/views/components/post-form.vue
+
8
−
16
View file @
b4a4d784
...
...
@@ -324,9 +324,7 @@ export default Vue.extend({
</
script
>
<
style
lang=
"stylus"
scoped
>
root(isDark)
.mk-post-form
max-width 500px
width calc(100% - 16px)
margin 8px auto
...
...
@@ -349,20 +347,20 @@ root(isDark)
> header
z-index 1000
height 50px
box-shadow 0 1px 0 0
isDark ? rgba(#000, 0.2) : rgba(#000, 0.1
)
box-shadow 0 1px 0 0
var(--mobilePostFormDivider
)
> .cancel
padding 0
width 50px
line-height 50px
font-size 24px
color
isDark ? #9baec8 : #555
color
var(--text)
> div
position absolute
top 0
right 0
color
#657786
color
var(--text)
> .text-count
line-height 50px
...
...
@@ -396,7 +394,7 @@ root(isDark)
> span
margin-right 16px
color
isDark ? #fff : #666
color
var(--text)
> input
z-index 1
...
...
@@ -408,11 +406,11 @@ root(isDark)
margin 0
width 100%
font-size 16px
color
isDark ? #fff : #333
background
isDark ? #191d23 : #fff
color
var(--inputText)
background
var(--mobilePostFormTextareaBg)
border none
border-radius 0
box-shadow 0 1px 0 0
isDark ? rgba(#000, 0.2) : rgba(#000, 0.1
)
box-shadow 0 1px 0 0
var(--mobilePostFormDivider
)
&:disabled
opacity 0.5
...
...
@@ -481,10 +479,4 @@ root(isDark)
> *
margin-right 8px
.mk-post-form[data-darkmode]
root(true)
.mk-post-form:not([data-darkmode])
root(false)
</
style
>
This diff is collapsed.
Click to expand it.
src/client/theme/dark.json
+
2
−
0
View file @
b4a4d784
...
...
@@ -131,6 +131,8 @@
"mobileHeaderBg"
:
":lighten<5<$secondary"
,
"mobileHeaderFg"
:
"$text"
,
"mobileNavBackdrop"
:
"rgba(0, 0, 0, 0.7)"
,
"mobilePostFormDivider"
:
"rgba(0, 0, 0, 0.2)"
,
"mobilePostFormTextareaBg"
:
"rgba(0, 0, 0, 0.3)"
,
"mobileHomeTlItemHover"
:
"rgba(255, 255, 255, 0.1)"
,
"mobileUserPageName"
:
"#fff"
,
"mobileUserPageAcct"
:
"$text"
,
...
...
This diff is collapsed.
Click to expand it.
src/client/theme/light.json
+
2
−
0
View file @
b4a4d784
...
...
@@ -131,6 +131,8 @@
"mobileHeaderBg"
:
":lighten<5<$secondary"
,
"mobileHeaderFg"
:
"$text"
,
"mobileNavBackdrop"
:
"rgba(0, 0, 0, 0.2)"
,
"mobilePostFormDivider"
:
"rgba(0, 0, 0, 0.1)"
,
"mobilePostFormTextareaBg"
:
"#fff"
,
"mobileHomeTlItemHover"
:
"rgba(0, 0, 0, 0.05)"
,
"mobileUserPageName"
:
"#757c82"
,
"mobileUserPageAcct"
:
"#969ea5"
,
...
...
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