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
323e45b7
Commit
323e45b7
authored
Apr 09, 2021
by
Simon Knox
Committed by
Phil Hughes
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small tweaks for navbar, tabs, and some other fixes
parent
f7da5345
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
53 deletions
+69
-53
app/assets/stylesheets/application_dark.scss
app/assets/stylesheets/application_dark.scss
+57
-0
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+6
-6
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-1
app/assets/stylesheets/themes/theme_light.scss
app/assets/stylesheets/themes/theme_light.scss
+0
-46
changelogs/unreleased/psi-dark-navbar.yml
changelogs/unreleased/psi-dark-navbar.yml
+5
-0
No files found.
app/assets/stylesheets/application_dark.scss
View file @
323e45b7
@import
'./themes/dark'
;
@import
'./themes/dark'
;
@import
'./application'
;
@import
'./application'
;
@import
'./themes/theme_helper'
;
body
.gl-dark
{
@include
gitlab-theme
(
$gray-900
,
$gray-400
,
$gray-500
,
$gray-800
,
$gray-900
,
$white
);
.logo-text
svg
{
fill
:
var
(
--
gl-text-color
);
}
.navbar-gitlab
{
background-color
:
var
(
--
gray-50
);
box-shadow
:
0
1px
0
0
var
(
--
gray-100
);
.navbar-sub-nav
,
.navbar-nav
{
li
{
>
a
:hover
,
>
a
:focus
,
>
button
:hover
,
>
button
:focus
{
color
:
var
(
--
gl-text-color
);
background-color
:
var
(
--
gray-200
);
}
}
li
.active
,
li
.dropdown.show
{
>
a
,
>
button
{
color
:
var
(
--
gl-text-color
);
background-color
:
var
(
--
gray-200
);
}
}
}
.search
{
form
{
background-color
:
var
(
--
gray-100
);
box-shadow
:
inset
0
0
0
1px
var
(
--
border-color
);
&
:active
,
&
:hover
{
background-color
:
var
(
--
gray-100
);
box-shadow
:
inset
0
0
0
1px
var
(
--
blue-200
);
}
}
}
}
}
app/assets/stylesheets/framework/header.scss
View file @
323e45b7
...
@@ -442,22 +442,22 @@
...
@@ -442,22 +442,22 @@
font-weight
:
$gl-font-weight-normal
;
font-weight
:
$gl-font-weight-normal
;
margin-left
:
-6px
;
margin-left
:
-6px
;
font-size
:
11px
;
font-size
:
11px
;
color
:
$white
;
color
:
var
(
--
gray-950
,
$white
)
;
padding
:
0
5px
;
padding
:
0
5px
;
line-height
:
12px
;
line-height
:
12px
;
border-radius
:
7px
;
border-radius
:
7px
;
box-shadow
:
0
1px
0
rgba
(
$gl-header-color
,
0
.2
);
box-shadow
:
0
1px
0
rgba
(
$gl-header-color
,
0
.2
);
&
.green-badge
{
&
.green-badge
{
background-color
:
$green-400
;
background-color
:
var
(
--
green-400
,
$green-400
)
;
}
}
&
.merge-requests-count
{
&
.merge-requests-count
{
background-color
:
$orange-400
;
background-color
:
var
(
--
orange-400
,
$orange-400
)
;
}
}
&
.todos-count
{
&
.todos-count
{
background-color
:
$blue-400
;
background-color
:
var
(
--
blue-400
,
$blue-400
)
;
}
}
}
}
...
@@ -511,7 +511,7 @@
...
@@ -511,7 +511,7 @@
.header-user
{
.header-user
{
&
.show
.dropdown-menu
{
&
.show
.dropdown-menu
{
margin-top
:
4px
;
margin-top
:
4px
;
color
:
$gl-text-color
;
color
:
var
(
--
gl-text-color
,
$gl-text-color
)
;
left
:
auto
;
left
:
auto
;
max-height
:
$dropdown-max-height-lg
;
max-height
:
$dropdown-max-height-lg
;
...
@@ -580,7 +580,7 @@
...
@@ -580,7 +580,7 @@
.no-emoji-placeholder
,
.no-emoji-placeholder
,
.clear-user-status
{
.clear-user-status
{
svg
{
svg
{
fill
:
$gl-text-color-secondary
;
fill
:
var
(
--
gray-500
,
$gray-500
)
;
}
}
}
}
...
...
app/assets/stylesheets/framework/variables.scss
View file @
323e45b7
...
@@ -590,7 +590,7 @@ $gl-btn-xs-line-height: 13px;
...
@@ -590,7 +590,7 @@ $gl-btn-xs-line-height: 13px;
/*
/*
* Badges
* Badges
*/
*/
$badge-bg
:
rgba
(
0
,
0
,
0
,
0
.07
);
$badge-bg
:
rgba
(
$black
,
0
.07
);
/*
/*
* Pagination
* Pagination
...
...
app/assets/stylesheets/themes/theme_light.scss
View file @
323e45b7
...
@@ -81,50 +81,4 @@ body {
...
@@ -81,50 +81,4 @@ body {
color
:
$gray-900
;
color
:
$gray-900
;
}
}
}
}
&
.gl-dark
{
.logo-text
svg
{
fill
:
var
(
--
gl-text-color
);
}
.navbar-gitlab
{
background-color
:
var
(
--
gray-50
);
box-shadow
:
0
1px
0
0
var
(
--
gray-100
);
.navbar-sub-nav
,
.navbar-nav
{
li
{
>
a
:hover
,
>
a
:focus
,
>
button
:hover
,
>
button
:focus
{
color
:
var
(
--
gl-text-color
);
background-color
:
var
(
--
gray-200
);
}
}
li
.active
,
li
.dropdown.show
{
>
a
,
>
button
{
color
:
var
(
--
gl-text-color
);
background-color
:
var
(
--
gray-200
);
}
}
}
.search
{
form
{
background-color
:
var
(
--
gray-100
);
box-shadow
:
inset
0
0
0
1px
var
(
--
border-color
);
&
:active
,
&
:hover
{
background-color
:
var
(
--
gray-100
);
box-shadow
:
inset
0
0
0
1px
var
(
--
blue-200
);
}
}
}
}
}
}
}
changelogs/unreleased/psi-dark-navbar.yml
0 → 100644
View file @
323e45b7
---
title
:
Dark mode nav improvements
merge_request
:
58891
author
:
type
:
fixed
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