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
8d9e99f7
Commit
8d9e99f7
authored
Apr 20, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spacing & color updates
parent
5ac76edb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
41 deletions
+37
-41
app/assets/javascripts/ide/components/repo_tab.vue
app/assets/javascripts/ide/components/repo_tab.vue
+16
-17
app/assets/stylesheets/framework/gitlab_theme.scss
app/assets/stylesheets/framework/gitlab_theme.scss
+0
-4
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+21
-20
No files found.
app/assets/javascripts/ide/components/repo_tab.vue
View file @
8d9e99f7
...
...
@@ -66,10 +66,26 @@ export default {
<
template
>
<li
:class=
"
{
active: tab.active
}"
@click="clickFile(tab)"
@mouseover="mouseOverTab"
@mouseout="mouseOutTab"
>
<div
class=
"multi-file-tab"
:title=
"tab.url"
>
<file-icon
:file-name=
"tab.name"
:size=
"16"
/>
{{
tab
.
name
}}
<file-status-icon
:file=
"tab"
/>
</div>
<button
type=
"button"
class=
"multi-file-tab-close"
...
...
@@ -86,22 +102,5 @@ export default {
:file=
"tab"
/>
</button>
<div
class=
"multi-file-tab"
:class=
"
{
active: tab.active
}"
:title="tab.url"
>
<file-icon
:file-name=
"tab.name"
:size=
"16"
/>
{{
tab
.
name
}}
<file-status-icon
:file=
"tab"
/>
</div>
</li>
</
template
>
app/assets/stylesheets/framework/gitlab_theme.scss
View file @
8d9e99f7
...
...
@@ -196,10 +196,6 @@
box-shadow
:
inset
3px
0
$color-700
;
}
}
.ide-context-header
a
{
color
:
$color-700
;
}
}
body
{
...
...
app/assets/stylesheets/pages/repo.scss
View file @
8d9e99f7
...
...
@@ -141,7 +141,17 @@
}
li
{
position
:
relative
;
display
:
flex
;
align-items
:
center
;
padding
:
$grid-size
$gl-padding
;
background-color
:
$gray-normal
;
border-right
:
1px
solid
$white-dark
;
border-bottom
:
1px
solid
$white-dark
;
&
.active
{
background-color
:
$white-light
;
border-bottom-color
:
$white-light
;
}
}
.dropdown
{
...
...
@@ -164,35 +174,23 @@
}
.multi-file-tab
{
@include
str-truncated
(
150px
);
padding
:
(
$gl-padding
/
2
)
(
$gl-padding
+
12
)
(
$gl-padding
/
2
)
$gl-padding
;
background-color
:
$gray-normal
;
border-right
:
1px
solid
$white-dark
;
border-bottom
:
1px
solid
$white-dark
;
@include
str-truncated
(
141px
);
cursor
:
pointer
;
svg
{
vertical-align
:
middle
;
}
&
.active
{
background-color
:
$white-light
;
border-bottom-color
:
$white-light
;
}
}
.multi-file-tab-close
{
position
:
absolute
;
right
:
8px
;
top
:
50%
;
width
:
16px
;
height
:
16px
;
padding
:
0
;
margin-left
:
$grid-size
;
background
:
none
;
border
:
0
;
border-radius
:
$border-radius-default
;
color
:
$theme-gray-900
;
transform
:
translateY
(
-50%
);
svg
{
position
:
relative
;
...
...
@@ -301,6 +299,7 @@
.multi-file-editor-holder
{
height
:
100%
;
min-height
:
0
;
}
.preview-container
{
...
...
@@ -774,10 +773,9 @@
display
:
flex
;
align-items
:
center
;
position
:
relative
;
height
:
55
px
;
height
:
60
px
;
width
:
100%
;
margin
:
2
.5px
0
;
padding
:
$gl-padding-8
$gl-padding
;
padding
:
0
$gl-padding
;
color
:
$gl-text-color-secondary
;
background-color
:
transparent
;
border
:
0
;
...
...
@@ -789,9 +787,12 @@
margin
:
0
auto
;
}
&
:hover
,
&
:hover
{
background-color
:
$theme-gray-100
;
}
&
:focus
{
background-color
:
$
white-light
;
background-color
:
$
theme-gray-200
;
}
&
.active
{
...
...
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