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
Boxiang Sun
gitlab-ce
Commits
f498347d
Commit
f498347d
authored
Aug 12, 2016
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS theme improvements for MC UI.
parent
14888a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
12 deletions
+55
-12
app/assets/stylesheets/pages/merge_conflicts.scss
app/assets/stylesheets/pages/merge_conflicts.scss
+55
-12
No files found.
app/assets/stylesheets/pages/merge_conflicts.scss
View file @
f498347d
...
@@ -55,8 +55,8 @@ $colors: (
...
@@ -55,8 +55,8 @@ $colors: (
monokai_line_origin_chosen
:
rgba
(
#60d9f1
,
.35
)
,
monokai_line_origin_chosen
:
rgba
(
#60d9f1
,
.35
)
,
monokai_button_origin_chosen
:
#3ea4b2
,
monokai_button_origin_chosen
:
#3ea4b2
,
monokai_header_not_chosen
:
rgba
(
#
fff
,
.24
)
,
monokai_header_not_chosen
:
rgba
(
#
76715d
,
.24
)
,
monokai_line_not_chosen
:
rgba
(
#
fff
,
.1
)
,
monokai_line_not_chosen
:
rgba
(
#
76715d
,
.1
)
,
solarized_light_header_head_neutral
:
rgba
(
#859900
,
.37
)
,
solarized_light_header_head_neutral
:
rgba
(
#859900
,
.37
)
,
...
@@ -75,8 +75,8 @@ $colors: (
...
@@ -75,8 +75,8 @@ $colors: (
solarized_light_line_origin_chosen
:
rgba
(
#2878c9
,
.37
)
,
solarized_light_line_origin_chosen
:
rgba
(
#2878c9
,
.37
)
,
solarized_light_button_origin_chosen
:
#2482b2
,
solarized_light_button_origin_chosen
:
#2482b2
,
solarized_light_header_not_chosen
:
rgba
(
#
fff
,
.37
)
,
solarized_light_header_not_chosen
:
rgba
(
#
839496
,
.37
)
,
solarized_light_line_not_chosen
:
rgba
(
#
fff
,
.2
)
,
solarized_light_line_not_chosen
:
rgba
(
#
839496
,
.2
)
,
solarized_dark_header_head_neutral
:
rgba
(
#859900
,
.35
)
,
solarized_dark_header_head_neutral
:
rgba
(
#859900
,
.35
)
,
...
@@ -95,8 +95,8 @@ $colors: (
...
@@ -95,8 +95,8 @@ $colors: (
solarized_dark_line_origin_chosen
:
rgba
(
#2878c9
,
.35
)
,
solarized_dark_line_origin_chosen
:
rgba
(
#2878c9
,
.35
)
,
solarized_dark_button_origin_chosen
:
#0082cc
,
solarized_dark_button_origin_chosen
:
#0082cc
,
solarized_dark_header_not_chosen
:
rgba
(
#
fff
,
.25
)
,
solarized_dark_header_not_chosen
:
rgba
(
#
839496
,
.25
)
,
solarized_dark_line_not_chosen
:
rgba
(
#
fff
,
.15
)
solarized_dark_line_not_chosen
:
rgba
(
#
839496
,
.15
)
);
);
...
@@ -104,20 +104,60 @@ $colors: (
...
@@ -104,20 +104,60 @@ $colors: (
.header.line_content
,
.diff-line-num
{
.header.line_content
,
.diff-line-num
{
&
.origin
{
&
.origin
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_neutral
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_neutral
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_neutral
);
button
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_button_origin_neutral
);
border-color
:
darken
(
map-get
(
$colors
,
#{
$color
}
_button_origin_neutral
)
,
15
);
}
&
.selected
{
&
.selected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_chosen
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_origin_chosen
);
button
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_button_origin_chosen
);
border-color
:
darken
(
map-get
(
$colors
,
#{
$color
}
_button_origin_chosen
)
,
15
);
}
}
}
&
.unselected
{
&
.unselected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
button
{
background-color
:
lighten
(
map-get
(
$colors
,
#{
$color
}
_button_origin_neutral
)
,
15
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_button_origin_neutral
);
}
}
}
}
}
&
.head
{
&
.head
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_neutral
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_neutral
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_neutral
);
button
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_button_head_neutral
);
border-color
:
darken
(
map-get
(
$colors
,
#{
$color
}
_button_head_neutral
)
,
15
);
}
&
.selected
{
&
.selected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_chosen
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_head_chosen
);
button
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_button_head_chosen
);
border-color
:
darken
(
map-get
(
$colors
,
#{
$color
}
_button_head_chosen
)
,
15
);
}
}
}
&
.unselected
{
&
.unselected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_header_not_chosen
);
button
{
background-color
:
lighten
(
map-get
(
$colors
,
#{
$color
}
_button_head_neutral
)
,
15
);
border-color
:
map-get
(
$colors
,
#{
$color
}
_button_head_neutral
);
}
}
}
}
}
}
}
...
@@ -125,18 +165,22 @@ $colors: (
...
@@ -125,18 +165,22 @@ $colors: (
.line_content
{
.line_content
{
&
.origin
{
&
.origin
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_origin_neutral
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_origin_neutral
);
&
.selected
{
&
.selected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_origin_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_origin_chosen
);
}
}
&
.unselected
{
&
.unselected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_not_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_not_chosen
);
}
}
}
}
&
.head
{
&
.head
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_head_neutral
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_head_neutral
);
&
.selected
{
&
.selected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_head_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_head_chosen
);
}
}
&
.unselected
{
&
.unselected
{
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_not_chosen
);
background-color
:
map-get
(
$colors
,
#{
$color
}
_line_not_chosen
);
}
}
...
@@ -176,16 +220,15 @@ $colors: (
...
@@ -176,16 +220,15 @@ $colors: (
position
:
relative
;
position
:
relative
;
button
{
button
{
border-radius
:
4px
;
border-radius
:
2px
;
border
:
1px
solid
#e1e1e1
;
background
:
#fff
;
font-size
:
10px
;
font-size
:
10px
;
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
height
:
17px
;
padding
:
0
;
line-height
:
4px
;
// FIXME: 4px?
top
:
1px
;
outline
:
none
;
outline
:
none
;
color
:
#fff
;
width
:
75px
;
// static width to make 2 buttons have same width
height
:
19px
;
}
}
}
}
...
...
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