BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d5b0e901
Commit
d5b0e901
authored
Aug 31, 2017
by
Annabel Dunstone Gray
Committed by
Ruben Davila
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start CSS for dark theme
parent
3c815f97
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
104 deletions
+28
-104
gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+28
-96
new_nav.scss
app/assets/stylesheets/new_nav.scss
+0
-1
new_sidebar.scss
app/assets/stylesheets/new_sidebar.scss
+0
-7
No files found.
app/assets/stylesheets/framework/gitlab-theme.scss
View file @
d5b0e901
/**
* Styles the GitLab application with a specific color theme
*
* $color-light -
* $color -
* $color-darker -
* $color-dark -
*/
@mixin
gitlab-theme
(
$color-light
,
$color
,
$color-darker
,
$color-dark
)
{
@mixin
gitlab-theme
(
$color-200
,
$color-500
,
$color-700
,
$color-800
,
$color-900
)
{
header
.navbar-gitlab-new
{
background
:
linear-gradient
(
to
right
,
$color-darker
,
$color
);
}
.page-with-sidebar
{
.toggle-nav-collapse
,
.pin-nav-btn
{
color
:
$color-light
;
&
:hover
{
color
:
$white-light
;
}
}
.sidebar-wrapper
{
background
:
$color-darker
;
}
.sidebar-action-buttons
{
color
:
$color-light
;
background-color
:
lighten
(
$color-darker
,
5%
);
}
.nav-sidebar
{
li
{
a
{
color
:
$color-light
;
&
:hover
,
&
:focus
,
&
:active
{
background
:
$color-dark
;
background
:
linear-gradient
(
to
right
,
$color-900
,
$color-800
);
}
i
{
color
:
$color-light
;
.navbar-sub-nav
{
color
:
$color-200
;
}
path
,
polygon
{
fill
:
$color-light
;
}
.nav-sidebar
li
.active
{
box-shadow
:
inset
4px
0
0
$color-700
;
.count
{
color
:
$color-light
;
background
:
$color-dark
;
>
a
{
color
:
$color-900
;
}
svg
{
position
:
relative
;
top
:
3px
;
}
}
&
.separate-item
{
border-top
:
1px
solid
$color
;
}
&
.active
a
{
color
:
$white-light
;
background
:
$color-dark
;
&
.no-highlight
{
border
:
none
;
}
i
{
color
:
$white-light
;
}
path
,
polygon
{
fill
:
$white-light
;
}
fill
:
$color-900
;
}
}
.about-gitlab
{
color
:
$color-light
;
}
}
}
}
$theme-black-light
:
#979797
;
$theme-black
:
#373737
;
$theme-black-dark
:
#272727
;
$theme-black-darker
:
#222
;
$theme-indigo-light
:
#98c
;
$theme-indigo
:
#548
;
$theme-indigo-dark
:
#436
;
$theme-indigo-darker
:
#325
;
$dark-50
:
#fafafa
;
$dark-100
:
#f2f2f2
;
$dark-200
:
#dfdfdf
;
$dark-300
:
#cccccc
;
$dark-400
:
#bababa
;
$dark-500
:
#a7a7a7
;
$dark-600
:
#949494
;
$dark-700
:
#707070
;
$dark-800
:
#4f4f4f
;
$dark-900
:
#2e2e2e
;
$dark-950
:
#1f1f1f
;
$indigo-200
:
#d1d1f0
;
$indigo-500
:
#6666c4
;
$indigo-700
:
#4b4ba3
;
$indigo-800
:
#393982
;
$indigo-900
:
#292961
;
body
{
&
.ui_indigo
{
@include
gitlab-theme
(
$
theme-indigo-light
,
$theme-indigo
,
$theme-indigo-dark
,
$theme-indigo-darker
);
@include
gitlab-theme
(
$
indigo-200
,
$indigo-500
,
$indigo-700
,
$indigo-800
,
$indigo-900
);
}
&
.ui_dark
{
@include
gitlab-theme
(
$
theme-black-light
,
$theme-black
,
$theme-black-dark
,
$theme-black-darker
);
@include
gitlab-theme
(
$
dark-200
,
$dark-500
,
$dark-700
,
$dark-800
,
$dark-900
);
}
}
app/assets/stylesheets/new_nav.scss
View file @
d5b0e901
...
...
@@ -256,7 +256,6 @@ header.navbar-gitlab-new {
display
:
-
webkit-flex
;
display
:
flex
;
margin
:
0
0
0
6px
;
color
:
$indigo-200
;
.dropdown-chevron
{
position
:
relative
;
...
...
app/assets/stylesheets/new_sidebar.scss
View file @
d5b0e901
...
...
@@ -154,16 +154,9 @@ $new-sidebar-collapsed-width: 50px;
}
li
.active
{
box-shadow
:
inset
4px
0
0
$active-border
;
>
a
{
color
:
$active-color
;
font-weight
:
$gl-font-weight-bold
;
}
svg
{
fill
:
$active-color
;
}
}
@media
(
max-width
:
$screen-xs-max
)
{
...
...
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