Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
71ae3365
Commit
71ae3365
authored
Apr 27, 2020
by
Himanshu Kapoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dropdowns for the dark theme
Web IDE: fix colors of the dropdowns in the web ide for dark theme
parent
e25b7b91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
6 deletions
+86
-6
app/assets/stylesheets/page_bundles/themes/_dark.scss
app/assets/stylesheets/page_bundles/themes/_dark.scss
+86
-6
No files found.
app/assets/stylesheets/page_bundles/themes/_dark.scss
View file @
71ae3365
...
...
@@ -27,6 +27,9 @@
$btn-disabled-border
:
rgba
(
223
,
223
,
223
,
0
.24
);
$btn-disabled-color
:
rgba
(
145
,
145
,
145
,
0
.48
);
$dropdown-background
:
#404040
;
$dropdown-hover-background
:
#525252
;
$diff-insert
:
rgba
(
155
,
185
,
85
,
0
.2
);
$diff-remove
:
rgba
(
255
,
0
,
0
,
0
.2
);
...
...
@@ -54,7 +57,12 @@
textarea
,
.md-area.is-focused
,
.ide-entry-dropdown-toggle
,
.nav-links
:not
(
.quick-links
)
li
:not
(
.md-header-toolbar
)
a
:hover
{
.nav-links
:not
(
.quick-links
)
li
:not
(
.md-header-toolbar
)
a
:hover
,
.dropdown-menu
li
button
,
.ide-merge-request-project-path
,
.dropdown-menu-selectable
li
a
.is-active
,
.dropdown-menu-inner-title
,
.dropdown-menu-inner-content
{
color
:
$text-color
;
}
...
...
@@ -82,11 +90,17 @@
color
:
$text-color
!
important
;
}
input
[
type
=
'search'
]
::placeholder
,
input
[
type
=
'text'
]
::placeholder
,
textarea
::placeholder
{
textarea
::placeholder
,
.dropdown-input
.fa
{
color
:
$input-border
;
}
.ide-nav-form
.input-icon
{
fill
:
$input-border
;
}
.ide-staged-action-btn
{
background-color
:
transparent
;
}
...
...
@@ -112,7 +126,8 @@
background-color
:
inherit
;
}
.ide-sidebar-link
:hover
{
.ide-sidebar-link
:hover
,
.multi-file-tabs
li
{
background-color
:
$background-hover
;
}
...
...
@@ -204,21 +219,40 @@
background-color
:
$footer-background
;
}
input
[
type
=
'text'
]
{
input
[
type
=
'text'
],
input
[
type
=
'search'
],
.filtered-search-box
{
border-color
:
$input-border
;
background
:
$input-background
;
background
-color
:
$input-background
;
}
input
[
type
=
'text'
],
input
[
type
=
'search'
],
.filtered-search-box
,
textarea
{
color
:
$input-color
!
important
;
}
.filtered-search-box
input
[
type
=
'search'
]
{
border-color
:
transparent
;
}
.filtered-search-token
.value-container
,
.filtered-search-term
.value-container
{
background-color
:
$dropdown-hover-background
;
color
:
$text-color
;
&
:hover
{
background-color
:
$input-border
;
}
}
.ide-entry-dropdown-toggle
:hover
{
background
:
$gray-800
;
}
.btn
:hover
{
.btn
:
not
(
.btn-link
)
:
hover
{
border-width
:
2px
;
padding
:
5px
9px
;
}
...
...
@@ -257,6 +291,48 @@
}
}
.dropdown-menu
{
color
:
$text-color
;
border-color
:
$background
;
background-color
:
$dropdown-background
;
.divider
,
.nav-links
:not
(
.quick-links
)
{
background-color
:
$dropdown-hover-background
;
border-color
:
$dropdown-hover-background
;
}
.nav-links
li
a
.active
{
border-color
:
$highlight-accent
;
}
.ide-nav-form
.nav-links
li
a
:not
(
.active
)
{
background-color
:
$dropdown-background
;
}
.nav-links
:not
(
.quick-links
)
li
:not
(
.md-header-toolbar
)
a
{
color
:
$text-color
;
&
.active
{
color
:
$text-color
;
}
}
li
>
a
:not
(
.disable-hover
)
:hover
,
li
>
a
:not
(
.disable-hover
)
:focus
,
li
button
:not
(
.disable-hover
)
:hover
,
li
button
:not
(
.disable-hover
)
:focus
,
li
button
.is-focused
{
background-color
:
$dropdown-hover-background
;
color
:
$text-color
;
}
}
.dropdown-title
,
.dropdown-input
{
border-color
:
$dropdown-hover-background
!
important
;
}
.btn-primary
{
background-color
:
$btn-primary-background
;
border-color
:
$btn-primary-border
!
important
;
...
...
@@ -320,3 +396,7 @@
.navbar.theme-dark
{
border-bottom-color
:
transparent
;
}
.theme-dark
~
.popover
{
box-shadow
:
none
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment