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
Kazuhiko Shiozaki
gitlab-ce
Commits
b82cb263
Commit
b82cb263
authored
Oct 02, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use class instead id for css styles
parent
69751aac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
23 deletions
+12
-23
app/assets/stylesheets/gitlab_bootstrap/lists.scss
app/assets/stylesheets/gitlab_bootstrap/lists.scss
+4
-1
app/assets/stylesheets/sections/tree.scss
app/assets/stylesheets/sections/tree.scss
+4
-19
app/views/tree/_tree.html.haml
app/views/tree/_tree.html.haml
+2
-2
app/views/tree/show.html.haml
app/views/tree/show.html.haml
+2
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/lists.scss
View file @
b82cb263
...
...
@@ -13,7 +13,10 @@ ul {
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.05
);
&
.smoke
{
background-color
:
#f5f5f5
;
}
&
:hover
{
background
:
$hover
;
}
&
:hover
{
background
:
$hover
;
border-bottom
:
1px
solid
#ADF
;
}
&
:last-child
{
border
:none
}
.author
{
color
:
#999
;
}
...
...
app/assets/stylesheets/sections/tree.scss
View file @
b82cb263
#
tree-holder
{
#
tree-content-holder
{
.
tree-holder
{
.
tree-content-holder
{
float
:left
;
width
:
100%
;
}
#tree-readme-holder
{
float
:left
;
width
:
100%
;
.readme
{
border
:
1px
solid
#ccc
;
padding
:
12px
;
background
:
#F7F7F7
;
pre
{
overflow
:
auto
;
}
}
}
.tree_progress
{
display
:none
;
...
...
@@ -25,7 +12,7 @@
}
}
#tree-slider
{
.tree-table
{
@include
border-radius
(
0
);
.tree-item
{
&
:hover
{
...
...
@@ -55,8 +42,7 @@
}
}
#tree-slider
{
.tree-table
{
td
{
background
:
#fafafa
;
}
...
...
@@ -72,5 +58,4 @@
text-decoration
:
underline
;
}
}
}
app/views/tree/_tree.html.haml
View file @
b82cb263
...
...
@@ -8,12 +8,12 @@
%li
=
link
.clear
%div
.tree_progress
#
tree-content-holder
%div
#tree-content-holder
.
tree-content-holder
-
if
tree
.
is_blob?
=
render
partial:
"tree/tree_file"
,
locals:
{
name:
tree
.
name
,
content:
tree
.
data
,
file:
tree
}
-
else
-
contents
=
tree
.
contents
%table
#tree-slider
{
class:
"table_#{@hex_path}"
}
%table
#tree-slider
{
class:
"table_#{@hex_path}
tree-table
"
}
%thead
%th
Name
%th
Last Update
...
...
app/views/tree/show.html.haml
View file @
b82cb263
=
render
"head"
#tree-holder
=
render
partial:
"tree"
,
locals:
{
commit:
@commit
,
tree:
@tree
}
%div
#tree-holder
.tree-holder
=
render
"tree"
,
commit:
@commit
,
tree:
@tree
:javascript
$
(
function
()
{
...
...
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