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
601f6442
Commit
601f6442
authored
Aug 04, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style repo tabs
parent
055b1ec1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
repo_tabs.vue
app/assets/javascripts/repo/components/repo_tabs.vue
+1
-0
repo.scss
app/assets/stylesheets/pages/repo.scss
+11
-4
No files found.
app/assets/javascripts/repo/components/repo_tabs.vue
View file @
601f6442
...
...
@@ -38,5 +38,6 @@ export default RepoTabs;
<
template
>
<ul
id=
"tabs"
v-if=
"isMini"
v-cloak
:class=
"
{'overflown': tabsOverflow}">
<repo-tab
v-for=
"tab in openedFiles"
:key=
"tab.id"
:tab=
"tab"
:class=
"
{'active' : tab.active}" @xclicked="xclicked"/>
<li
class=
"tabs-divider"
/>
</ul>
</
template
>
app/assets/stylesheets/pages/repo.scss
View file @
601f6442
...
...
@@ -99,10 +99,9 @@
}
#tabs
{
border-bottom
:
1px
solid
$white-normal
;
padding-left
:
0
;
margin-bottom
:
0
;
display
:
block
;
display
:
flex
;
white-space
:
nowrap
;
width
:
100%
;
overflow-y
:
hidden
;
...
...
@@ -116,9 +115,9 @@
background
:
$gray-normal
;
display
:
inline-block
;
padding
:
10px
18px
;
border-right
:
1px
solid
$border-color
;
border-right
:
1px
solid
$white-normal
;
border-bottom
:
1px
solid
$white-normal
;
white-space
:
nowrap
;
border-radius
:
3px
3px
0
0
;
&
.remove
{
animation
:
swipeRightDissapear
ease-in
0
.1s
;
...
...
@@ -132,6 +131,7 @@
&
.active
{
background
:
$white-light
;
border-bottom
:
none
;
}
a
{
...
...
@@ -161,6 +161,13 @@
i
.fa.fa-circle
{
color
:
$brand-success
;
}
&
.tabs-divider
{
width
:
100%
;
background-color
:
$white-light
;
border-right
:
none
;
border-top-right-radius
:
2px
;
}
}
}
...
...
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