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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
6830d87c
Commit
6830d87c
authored
Sep 14, 2017
by
Annabel Dunstone Gray
Committed by
Phil Hughes
Sep 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update badge color to match theme; lighten active color in sidebar
parent
3238dc86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
app/assets/stylesheets/framework/gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+18
-2
app/assets/stylesheets/new_sidebar.scss
app/assets/stylesheets/new_sidebar.scss
+0
-14
No files found.
app/assets/stylesheets/framework/gitlab-theme.scss
View file @
6830d87c
...
@@ -158,11 +158,23 @@
...
@@ -158,11 +158,23 @@
box-shadow
:
inset
4px
0
0
$color-700
;
box-shadow
:
inset
4px
0
0
$color-700
;
>
a
{
>
a
{
color
:
$color-
9
00
;
color
:
$color-
8
00
;
}
}
svg
{
svg
{
fill
:
$color-900
;
fill
:
$color-800
;
}
}
.sidebar-top-level-items
>
li
.active
.badge
{
color
:
$color-800
;
}
.nav-links
li
.active
a
{
border-bottom-color
:
$color-500
;
.badge
{
font-weight
:
$gl-font-weight-bold
;
}
}
}
}
}
}
...
@@ -261,5 +273,9 @@ body {
...
@@ -261,5 +273,9 @@ body {
fill
:
$theme-gray-900
;
fill
:
$theme-gray-900
;
}
}
}
}
.sidebar-top-level-items
>
li
.active
.badge
{
color
:
$theme-gray-900
;
}
}
}
}
}
app/assets/stylesheets/new_sidebar.scss
View file @
6830d87c
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
@import
"bootstrap/variables"
;
@import
"bootstrap/variables"
;
$active-background
:
rgba
(
0
,
0
,
0
,
.04
);
$active-background
:
rgba
(
0
,
0
,
0
,
.04
);
$active-border
:
$indigo-500
;
$active-color
:
$indigo-700
;
$active-hover-background
:
$active-background
;
$active-hover-background
:
$active-background
;
$active-hover-color
:
$gl-text-color
;
$active-hover-color
:
$gl-text-color
;
$inactive-badge-background
:
rgba
(
0
,
0
,
0
,
.08
);
$inactive-badge-background
:
rgba
(
0
,
0
,
0
,
.08
);
...
@@ -217,7 +215,6 @@ $new-sidebar-collapsed-width: 50px;
...
@@ -217,7 +215,6 @@ $new-sidebar-collapsed-width: 50px;
&
:hover
,
&
:hover
,
&
:focus
{
&
:focus
{
background
:
$active-background
;
background
:
$active-background
;
color
:
$active-color
;
}
}
}
}
}
}
...
@@ -317,7 +314,6 @@ $new-sidebar-collapsed-width: 50px;
...
@@ -317,7 +314,6 @@ $new-sidebar-collapsed-width: 50px;
}
}
.badge
{
.badge
{
color
:
$active-color
;
font-weight
:
$gl-font-weight-bold
;
font-weight
:
$gl-font-weight-bold
;
}
}
...
@@ -494,13 +490,3 @@ $new-sidebar-collapsed-width: 50px;
...
@@ -494,13 +490,3 @@ $new-sidebar-collapsed-width: 50px;
.with-performance-bar
.boards-list
{
.with-performance-bar
.boards-list
{
height
:
calc
(
100vh
-
#{
$new-navbar-height
}
-
#{
$performance-bar-height
}
);
height
:
calc
(
100vh
-
#{
$new-navbar-height
}
-
#{
$performance-bar-height
}
);
}
}
// Change color of all horizontal tabs to match the new indigo color
.nav-links
li
.active
a
{
border-bottom-color
:
$active-border
;
.badge
{
font-weight
:
$gl-font-weight-bold
;
}
}
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