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
Boxiang Sun
gitlab-ce
Commits
b8e4d6bd
Commit
b8e4d6bd
authored
Oct 07, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor buttons
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
2acb030b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
28 deletions
+9
-28
app/assets/stylesheets/generic/buttons.scss
app/assets/stylesheets/generic/buttons.scss
+9
-24
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-4
No files found.
app/assets/stylesheets/generic/buttons.scss
View file @
b8e4d6bd
...
...
@@ -156,12 +156,15 @@
}
}
.btn
{
@include
btn-default
;
@include
btn-white
;
&
.btn-success
{
&
.btn-success
,
&
.btn-new
,
&
.btn-create
,
&
.btn-save
,
&
.btn-green
{
@include
btn-green
;
}
...
...
@@ -169,20 +172,10 @@
@include
btn-gray
;
}
&
.btn-new
{
@extend
.btn-success
;
}
&
.btn-create
{
@extend
.btn-success
;
}
&
.btn-save
{
@extend
.btn-success
;
}
&
.btn-remove
{
@extend
.btn-danger
;
&
.btn-danger
,
&
.btn-remove
,
&
.btn-red
{
@include
btn-red
;
}
&
.btn-cancel
{
...
...
@@ -212,14 +205,6 @@
margin-right
:
0px
;
}
}
&
.btn-save
{
@extend
.btn-primary
;
}
&
.btn-new
,
&
.btn-create
{
@extend
.btn-success
;
}
}
.btn-block
{
...
...
app/assets/stylesheets/pages/projects.scss
View file @
b8e4d6bd
...
...
@@ -142,11 +142,7 @@
}
}
}
.btn-green
{
@include
btn-green
;
cursor
:
pointer
;
}
.projects-search-form
{
.input-group
.form-control
{
...
...
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