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
Kazuhiko Shiozaki
gitlab-ce
Commits
6e6df3b8
Commit
6e6df3b8
authored
Apr 21, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor themes for new UI
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d3059c7d
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
40 additions
and
45 deletions
+40
-45
app/assets/stylesheets/pages/header.scss
app/assets/stylesheets/pages/header.scss
+29
-0
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+1
-1
app/assets/stylesheets/themes/gitlab-theme.scss
app/assets/stylesheets/themes/gitlab-theme.scss
+1
-30
app/assets/stylesheets/themes/ui_basic.scss
app/assets/stylesheets/themes/ui_basic.scss
+1
-6
app/assets/stylesheets/themes/ui_blue.scss
app/assets/stylesheets/themes/ui_blue.scss
+1
-1
app/assets/stylesheets/themes/ui_color.scss
app/assets/stylesheets/themes/ui_color.scss
+1
-1
app/assets/stylesheets/themes/ui_gray.scss
app/assets/stylesheets/themes/ui_gray.scss
+1
-1
app/assets/stylesheets/themes/ui_mars.scss
app/assets/stylesheets/themes/ui_mars.scss
+1
-1
app/assets/stylesheets/themes/ui_modern.scss
app/assets/stylesheets/themes/ui_modern.scss
+1
-1
app/views/profiles/design.html.haml
app/views/profiles/design.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/header.scss
View file @
6e6df3b8
...
@@ -26,6 +26,35 @@ header {
...
@@ -26,6 +26,35 @@ header {
}
}
}
}
.app_logo
{
@media
(
max-width
:
$screen-md-max
)
{
width
:
52px
;
h3
{
display
:
none
;
}
}
border-bottom
:
1px
solid
transparent
;
margin-bottom
:
-1px
;
a
{
padding
:
5px
8px
;
img
{
float
:
left
;
}
h3
{
width
:
158px
;
float
:
left
;
margin
:
0
;
margin-left
:
20px
;
font-size
:
18px
;
line-height
:
34px
;
font-weight
:
normal
;
}
}
}
.nav
>
li
>
a
{
.nav
>
li
>
a
{
color
:
#666
;
color
:
#666
;
font-size
:
14px
;
font-size
:
14px
;
...
...
app/assets/stylesheets/pages/profile.scss
View file @
6e6df3b8
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
}
}
&
.default
{
&
.default
{
background
:
#
f1f1f1
;
background
:
#
888888
;
}
}
&
.modern
{
&
.modern
{
...
...
app/assets/stylesheets/themes/
dark
-theme.scss
→
app/assets/stylesheets/themes/
gitlab
-theme.scss
View file @
6e6df3b8
@mixin
dark
-theme
(
$color-light
,
$color
,
$color-darker
,
$color-dark
)
{
@mixin
gitlab
-theme
(
$color-light
,
$color
,
$color-darker
,
$color-dark
)
{
header
{
header
{
&
.navbar-gitlab
{
&
.navbar-gitlab
{
.navbar-inner
{
.navbar-inner
{
...
@@ -19,35 +19,6 @@
...
@@ -19,35 +19,6 @@
}
}
}
}
}
}
.app_logo
{
@media
(
max-width
:
$screen-md-max
)
{
width
:
52px
;
h3
{
display
:
none
;
}
}
border-bottom
:
1px
solid
transparent
;
margin-bottom
:
-1px
;
a
{
padding
:
5px
8px
;
img
{
float
:
left
;
}
h3
{
width
:
158px
;
float
:
left
;
margin
:
0
;
margin-left
:
20px
;
font-size
:
18px
;
line-height
:
34px
;
font-weight
:
normal
;
}
}
}
}
}
}
}
}
}
...
...
app/assets/stylesheets/themes/ui_basic.scss
View file @
6e6df3b8
...
@@ -4,10 +4,5 @@
...
@@ -4,10 +4,5 @@
*
*
*/
*/
.ui_basic
{
.ui_basic
{
header
{
@include
gitlab-theme
(
#CCCCCC
,
#888888
,
#777777
,
#666666
);
&
.navbar-gitlab
{
.navbar-inner
{
}
}
}
}
}
app/assets/stylesheets/themes/ui_blue.scss
View file @
6e6df3b8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
* Blue GitLab UI theme
* Blue GitLab UI theme
*/
*/
.ui_blue
{
.ui_blue
{
@include
dark
-theme
(
#BECDE9
,
#2980b9
,
#1970a9
,
#096099
);
@include
gitlab
-theme
(
#BECDE9
,
#2980b9
,
#1970a9
,
#096099
);
}
}
app/assets/stylesheets/themes/ui_color.scss
View file @
6e6df3b8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
* Violet GitLab UI theme
* Violet GitLab UI theme
*/
*/
.ui_color
{
.ui_color
{
@include
dark
-theme
(
#98C
,
#548
,
#436
,
#325
);
@include
gitlab
-theme
(
#98C
,
#548
,
#436
,
#325
);
}
}
app/assets/stylesheets/themes/ui_gray.scss
View file @
6e6df3b8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
* Gray GitLab UI theme
* Gray GitLab UI theme
*/
*/
.ui_gray
{
.ui_gray
{
@include
dark
-theme
(
#979797
,
#373737
,
#272727
,
#222222
);
@include
gitlab
-theme
(
#979797
,
#373737
,
#272727
,
#222222
);
}
}
app/assets/stylesheets/themes/ui_mars.scss
View file @
6e6df3b8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
* Classic GitLab UI theme
* Classic GitLab UI theme
*/
*/
.ui_mars
{
.ui_mars
{
@include
dark
-theme
(
#979DA7
,
#474D57
,
#373D47
,
#24272D
);
@include
gitlab
-theme
(
#979DA7
,
#474D57
,
#373D47
,
#24272D
);
}
}
app/assets/stylesheets/themes/ui_modern.scss
View file @
6e6df3b8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
* Modern GitLab UI theme
* Modern GitLab UI theme
*/
*/
.ui_modern
{
.ui_modern
{
@include
dark
-theme
(
#ADC
,
#019875
,
#018865
,
#017855
);
@include
gitlab
-theme
(
#ADC
,
#019875
,
#018865
,
#017855
);
}
}
app/views/profiles/design.html.haml
View file @
6e6df3b8
...
@@ -12,17 +12,17 @@
...
@@ -12,17 +12,17 @@
=
label_tag
do
=
label_tag
do
.prev.default
.prev.default
=
f
.
radio_button
:theme_id
,
1
=
f
.
radio_button
:theme_id
,
1
Default
Graphite
=
label_tag
do
=
label_tag
do
.prev.classic
.prev.classic
=
f
.
radio_button
:theme_id
,
2
=
f
.
radio_button
:theme_id
,
2
C
lassic
C
harcoal
=
label_tag
do
=
label_tag
do
.prev.modern
.prev.modern
=
f
.
radio_button
:theme_id
,
3
=
f
.
radio_button
:theme_id
,
3
Moder
n
Gree
n
=
label_tag
do
=
label_tag
do
.prev.gray
.prev.gray
...
...
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