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
5d49646c
Commit
5d49646c
authored
May 24, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
1e29b737
f0ef8700
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
55 additions
and
39 deletions
+55
-39
app/assets/stylesheets/components/avatar.scss
app/assets/stylesheets/components/avatar.scss
+31
-37
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+0
-1
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+1
-0
app/assets/stylesheets/framework/highlight.scss
app/assets/stylesheets/framework/highlight.scss
+2
-1
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+9
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+6
-0
changelogs/unreleased/38561-border-radii.yml
changelogs/unreleased/38561-border-radii.yml
+5
-0
No files found.
app/assets/stylesheets/
framework
/avatar.scss
→
app/assets/stylesheets/
components
/avatar.scss
View file @
5d49646c
@mixin
avatar-size
(
$size
,
$margin-right
)
{
width
:
$size
;
height
:
$size
;
margin-right
:
$margin-right
;
}
.avatar-circle
{
.avatar-circle
{
float
:
left
;
float
:
left
;
margin-right
:
15px
;
margin-right
:
15px
;
border-radius
:
$avatar-radius
;
border-radius
:
$avatar-radius
;
border
:
1px
solid
$gray-normal
;
border
:
1px
solid
$gray-normal
;
&
.s16
{
@include
avatar-size
(
16px
,
6
px
);
}
&
.s16
{
@include
avatar-size
(
16px
,
8
px
);
}
&
.s18
{
@include
avatar-size
(
18px
,
6
px
);
}
&
.s18
{
@include
avatar-size
(
18px
,
8
px
);
}
&
.s19
{
@include
avatar-size
(
19px
,
6
px
);
}
&
.s19
{
@include
avatar-size
(
19px
,
8
px
);
}
&
.s20
{
@include
avatar-size
(
20px
,
7
px
);
}
&
.s20
{
@include
avatar-size
(
20px
,
8
px
);
}
&
.s24
{
@include
avatar-size
(
24px
,
8px
);
}
&
.s24
{
@include
avatar-size
(
24px
,
8px
);
}
&
.s26
{
@include
avatar-size
(
26px
,
8px
);
}
&
.s26
{
@include
avatar-size
(
26px
,
8px
);
}
&
.s32
{
@include
avatar-size
(
32px
,
10px
);
}
&
.s32
{
@include
avatar-size
(
32px
,
8px
);
}
&
.s36
{
@include
avatar-size
(
36px
,
10px
);
}
&
.s36
{
@include
avatar-size
(
36px
,
16px
);
}
&
.s40
{
@include
avatar-size
(
40px
,
10px
);
}
&
.s40
{
@include
avatar-size
(
40px
,
16px
);
}
&
.s46
{
@include
avatar-size
(
46px
,
15px
);
}
&
.s46
{
@include
avatar-size
(
46px
,
16px
);
}
&
.s48
{
@include
avatar-size
(
48px
,
10px
);
}
&
.s48
{
@include
avatar-size
(
48px
,
16px
);
}
&
.s60
{
@include
avatar-size
(
60px
,
12px
);
}
&
.s60
{
@include
avatar-size
(
60px
,
16px
);
}
&
.s64
{
@include
avatar-size
(
64px
,
14px
);
}
&
.s64
{
@include
avatar-size
(
64px
,
16px
);
}
&
.s70
{
@include
avatar-size
(
70px
,
14px
);
}
&
.s70
{
@include
avatar-size
(
70px
,
16px
);
}
&
.s90
{
@include
avatar-size
(
90px
,
15px
);
}
&
.s90
{
@include
avatar-size
(
90px
,
16px
);
}
&
.s100
{
@include
avatar-size
(
100px
,
15px
);
}
&
.s96
{
@include
avatar-size
(
96px
,
16px
);
}
&
.s110
{
@include
avatar-size
(
110px
,
15px
);
}
&
.s100
{
@include
avatar-size
(
100px
,
16px
);
}
&
.s140
{
@include
avatar-size
(
140px
,
15px
);
}
&
.s110
{
@include
avatar-size
(
110px
,
16px
);
}
&
.s160
{
@include
avatar-size
(
160px
,
20px
);
}
&
.s140
{
@include
avatar-size
(
140px
,
16px
);
}
&
.s160
{
@include
avatar-size
(
160px
,
16px
);
}
}
}
.avatar
{
.avatar
{
...
@@ -39,6 +34,7 @@
...
@@ -39,6 +34,7 @@
padding
:
0
;
padding
:
0
;
background
:
$gray-lightest
;
background
:
$gray-lightest
;
overflow
:
hidden
;
overflow
:
hidden
;
border-color
:
rgba
(
$black
,
$gl-avatar-border-opacity
);
&
.avatar-inline
{
&
.avatar-inline
{
float
:
none
;
float
:
none
;
...
@@ -64,41 +60,37 @@
...
@@ -64,41 +60,37 @@
&
.avatar-placeholder
{
&
.avatar-placeholder
{
border
:
0
;
border
:
0
;
}
}
&
:not
([
href
])
:hover
{
border-color
:
darken
(
$gray-normal
,
10%
);
}
}
}
.identicon
{
.identicon
{
text-align
:
center
;
text-align
:
center
;
vertical-align
:
top
;
vertical-align
:
top
;
color
:
$g
l-gray-7
00
;
color
:
$g
ray-8
00
;
background-color
:
$gray-darker
;
background-color
:
$gray-darker
;
// Sizes
// Sizes
&
.s16
{
font-size
:
1
2
px
;
&
.s16
{
font-size
:
1
0
px
;
line-height
:
1
.33
;
}
line-height
:
1
6px
;
}
&
.s24
{
font-size
:
1
3
px
;
&
.s24
{
font-size
:
1
2
px
;
line-height
:
1
.8
;
}
line-height
:
24px
;
}
&
.s26
{
font-size
:
20px
;
&
.s26
{
font-size
:
20px
;
line-height
:
1
.33
;
}
line-height
:
1
.33
;
}
&
.s32
{
font-size
:
20
px
;
&
.s32
{
font-size
:
14
px
;
line-height
:
3
0
px
;
}
line-height
:
3
2
px
;
}
&
.s40
{
font-size
:
16px
;
&
.s40
{
font-size
:
16px
;
line-height
:
38px
;
}
line-height
:
38px
;
}
&
.s48
{
font-size
:
20px
;
&
.s48
{
font-size
:
20px
;
line-height
:
4
6
px
;
}
line-height
:
4
8
px
;
}
&
.s60
{
font-size
:
32px
;
&
.s60
{
font-size
:
32px
;
line-height
:
58px
;
}
line-height
:
58px
;
}
&
.s64
{
font-size
:
32
px
;
&
.s64
{
font-size
:
28
px
;
line-height
:
64px
;
}
line-height
:
64px
;
}
&
.s70
{
font-size
:
34px
;
&
.s70
{
font-size
:
34px
;
...
@@ -107,6 +99,9 @@
...
@@ -107,6 +99,9 @@
&
.s90
{
font-size
:
36px
;
&
.s90
{
font-size
:
36px
;
line-height
:
88px
;
}
line-height
:
88px
;
}
&
.s96
{
font-size
:
48px
;
line-height
:
96px
;
}
&
.s100
{
font-size
:
36px
;
&
.s100
{
font-size
:
36px
;
line-height
:
98px
;
}
line-height
:
98px
;
}
...
@@ -144,7 +139,6 @@
...
@@ -144,7 +139,6 @@
.avatar
{
.avatar
{
border-radius
:
0
;
border-radius
:
0
;
border
:
0
;
height
:
auto
;
height
:
auto
;
width
:
100%
;
width
:
100%
;
margin
:
0
;
margin
:
0
;
...
...
app/assets/stylesheets/framework.scss
View file @
5d49646c
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
@import
'framework/animations'
;
@import
'framework/animations'
;
@import
'framework/vue_transitions'
;
@import
'framework/vue_transitions'
;
@import
'framework/avatar'
;
@import
'framework/asciidoctor'
;
@import
'framework/asciidoctor'
;
@import
'framework/banner'
;
@import
'framework/banner'
;
@import
'framework/blocks'
;
@import
'framework/blocks'
;
...
...
app/assets/stylesheets/framework/files.scss
View file @
5d49646c
...
@@ -241,6 +241,7 @@
...
@@ -241,6 +241,7 @@
*/
*/
&
.code
{
&
.code
{
padding
:
0
;
padding
:
0
;
border-radius
:
0
0
$border-radius-default
$border-radius-default
;
}
}
.list-inline.previews
{
.list-inline.previews
{
...
...
app/assets/stylesheets/framework/highlight.scss
View file @
5d49646c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
pre
{
pre
{
padding
:
10px
0
;
padding
:
10px
0
;
border
:
0
;
border
:
0
;
border-radius
:
0
;
border-radius
:
0
0
$border-radius-default
$border-radius-default
;
font-family
:
$monospace-font
;
font-family
:
$monospace-font
;
font-size
:
$code-font-size
;
font-size
:
$code-font-size
;
line-height
:
19px
;
line-height
:
19px
;
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
padding
:
10px
;
padding
:
10px
;
text-align
:
right
;
text-align
:
right
;
float
:
left
;
float
:
left
;
border-bottom-left-radius
:
$border-radius-default
;
a
{
a
{
font-family
:
$monospace-font
;
font-family
:
$monospace-font
;
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
5d49646c
...
@@ -376,3 +376,12 @@
...
@@ -376,3 +376,12 @@
}
}
}
}
}
}
/*
* Mixin that handles the size and right margin of avatars.
*/
@mixin
avatar-size
(
$size
,
$margin-right
)
{
width
:
$size
;
height
:
$size
;
margin-right
:
$margin-right
;
}
app/assets/stylesheets/framework/variables.scss
View file @
5d49646c
...
@@ -589,6 +589,7 @@ $issue-board-list-difference-md: $issue-board-list-difference-sm + $issue-boards
...
@@ -589,6 +589,7 @@ $issue-board-list-difference-md: $issue-board-list-difference-sm + $issue-boards
*/
*/
$avatar-radius
:
50%
;
$avatar-radius
:
50%
;
$gl-avatar-size
:
40px
;
$gl-avatar-size
:
40px
;
$gl-avatar-border-opacity
:
0
.1
;
/*
/*
* Blame
* Blame
...
...
app/assets/stylesheets/pages/diff.scss
View file @
5d49646c
...
@@ -494,6 +494,12 @@ table.code {
...
@@ -494,6 +494,12 @@ table.code {
}
}
}
}
.line_holder
:last-of-type
{
td
:first-child
{
border-bottom-left-radius
:
$border-radius-default
;
}
}
&
.left-side-selected
{
&
.left-side-selected
{
td
.line_content.parallel.right-side
{
td
.line_content.parallel.right-side
{
user-select
:
none
;
user-select
:
none
;
...
...
changelogs/unreleased/38561-border-radii.yml
0 → 100644
View file @
5d49646c
---
title
:
Fix border radii on diff files and repo files
merge_request
:
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