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
fe1203b5
Commit
fe1203b5
authored
Jun 25, 2018
by
Paul Slaughter
Committed by
Mike Greiling
Jun 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Introduce hover, active, focus states for files in sidebar of Web IDE"
parent
8b13f236
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
20 deletions
+24
-20
app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
...s/javascripts/ide/components/commit_sidebar/list_item.vue
+3
-3
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
+16
-13
changelogs/unreleased/46202-webide-file-states.yml
changelogs/unreleased/46202-webide-file-states.yml
+5
-0
No files found.
app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
View file @
fe1203b5
...
...
@@ -89,14 +89,14 @@ export default {
<
template
>
<div
class=
"multi-file-commit-list-item position-relative"
>
<
button
<
div
v-tooltip
:title=
"tooltipTitle"
:class=
"
{
'is-active': isActive
}"
type="button"
class="multi-file-commit-list-path w-100 border-0 ml-0 mr-0"
role="button"
@dblclick="fileAction"
@click="openFileInEditor"
>
...
...
@@ -107,7 +107,7 @@ export default {
:css-classes=
"iconClass"
/>
{{
file
.
name
}}
</span>
</
button
>
</
div
>
<component
:is=
"actionComponent"
:path=
"file.path"
...
...
app/assets/stylesheets/framework/gitlab_theme.scss
View file @
fe1203b5
...
...
@@ -180,10 +180,6 @@
color
:
$border-and-box-shadow
;
}
.ide-file-list
.file.file-active
{
color
:
$border-and-box-shadow
;
}
.ide-sidebar-link
{
&
.active
{
color
:
$border-and-box-shadow
;
...
...
app/assets/stylesheets/pages/repo.scss
View file @
fe1203b5
...
...
@@ -23,6 +23,7 @@
margin-top
:
0
;
border-top
:
1px
solid
$white-dark
;
padding-bottom
:
$ide-statusbar-height
;
color
:
$gl-text-color
;
&
.is-collapsed
{
.ide-file-list
{
...
...
@@ -45,12 +46,8 @@
.file
{
cursor
:
pointer
;
&
.file-open
{
background
:
$white-normal
;
}
&
.file-active
{
font-weight
:
$gl-font-weight-bold
;
background
:
$theme-gray-100
;
}
.ide-file-name
{
...
...
@@ -58,7 +55,9 @@
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
max-width
:
inherit
;
line-height
:
22px
;
line-height
:
16px
;
display
:
inline-block
;
height
:
18px
;
svg
{
vertical-align
:
middle
;
...
...
@@ -86,12 +85,14 @@
.ide-new-btn
{
display
:
none
;
.btn
{
padding
:
2px
5px
;
}
}
&
:hover
,
&
:focus
{
background
:
$white-normal
;
.ide-new-btn
{
display
:
block
;
}
...
...
@@ -596,11 +597,17 @@
&
:hover
,
&
:focus
{
background
:
$white-normal
;
background
:
$theme-gray-100
;
}
&
:active
{
background
:
$theme-gray-200
;
}
}
.multi-file-commit-list-path
{
cursor
:
pointer
;
&
.is-active
{
background-color
:
$white-normal
;
}
...
...
@@ -620,10 +627,6 @@
.multi-file-commit-list-file-path
{
@include
str-truncated
(
calc
(
100%
-
30px
));
&
:hover
{
text-decoration
:
underline
;
}
&
:active
{
text-decoration
:
none
;
}
...
...
changelogs/unreleased/46202-webide-file-states.yml
0 → 100644
View file @
fe1203b5
---
title
:
Update Web IDE file tree styles
merge_request
:
19969
author
:
type
:
changed
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