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
b8f6d67b
Commit
b8f6d67b
authored
Aug 01, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle buttons
parent
0be06215
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
53 deletions
+75
-53
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+75
-53
No files found.
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
View file @
b8f6d67b
.btn
{
display
:
inline-block
;
padding
:
6px
12px
;
margin-bottom
:
0
;
font-size
:
13px
;
line-height
:
$baseLineHeight
;
text-align
:
center
;
vertical-align
:
middle
;
cursor
:
pointer
;
border
:
1px
solid
#BBB
;
color
:
$style_color
;
@include
border-radius
(
$baseBorderRadius
);
@include
box-shadow
(
inset
0
1px
0
rgba
(
255
,
255
,
255
,.
2
));
@include
linear-gradient
(
#f1f1f1
,
#e1e1e1
);
text-shadow
:
0
1px
1px
#FFF
;
border-color
:
#BBB
;
text-decoration
:
none
;
&
.hover
,
&
:hover
{
color
:
$style_color
;
background
:
#f1f1f1
;
@include
linear-gradient
(
#fAfAfA
,
#f1f1f1
);
border-color
:
#AAA
;
color
:
#333
;
text-decoration
:
none
;
@include
linear-gradient
(
#fAfAfA
,
#f1f1f1
);
}
&
.btn-primary
{
background
:
#2a79A3
;
@include
linear-gradient
(
#47A7b7
,
#2585b5
);
border-color
:
#2A79A3
;
color
:
#fff
;
text-shadow
:
0
1px
1px
#268
;
&
:hover
{
background
:
$primary_color
;
color
:
#fff
;
&
.active
,
&
:active
{
background-image
:
none
;
outline
:
0
;
@include
box-shadow
(
inset
0
2px
4px
rgba
(
0
,
0
,
0
,.
15
));
}
&
.disabled
{
color
:
#fff
;
background
:
$primary_color
;
}
&
.disabled
,
&
[
disabled
]
{
cursor
:
default
;
background-image
:
none
;
@include
opacity
(
65
);
@include
box-shadow
(
none
);
}
&
.btn-info
{
background
:
#5aB9C3
;
border-color
:
$primary_color
;
color
:
#fff
;
text-shadow
:
0
1px
1px
#268
;
&
:hover
{
background
:
$primary_color
;
color
:
#fff
;
}
&
.btn-primary
{
color
:
#FFF
;
border-color
:
#189
;
text-shadow
:
0
1px
1px
#189
;
@include
linear-gradient
(
#4AC
,
#289
);
&
.disabled
{
color
:
#fff
;
background
:
$primary_color
;
&
.hover
,
&
:hover
,
&
.disabled
,
&
[
disabled
]
{
color
:
#FFF
;
background
:
#389
;
}
}
&
.btn-success
{
&
:hover
{
background
:
#51a351
;
color
:
#FFF
;
border-color
:
#1A1
;
text-shadow
:
0
1px
1px
#FFF
;
text-shadow
:
0
1px
1px
#181
;
@include
linear-gradient
(
#62C452
,
#51a351
);
&
.hover
,
&
:hover
,
&
.disabled
,
&
[
disabled
]
{
color
:
#FFF
;
background
:
#2A2
;
}
}
&
.disabled
{
color
:
#fff
;
background
:
#2b2
;
&
.btn-danger
{
color
:
#FFF
;
text-shadow
:
0
1px
1px
#811
;
border-color
:
#BD362F
;
@include
linear-gradient
(
#EE5F5B
,
#BD362F
);
&
.hover
,
&
:hover
,
&
.disabled
,
&
[
disabled
]
{
color
:
#FFF
;
background
:
#A22
;
}
}
&
.btn-new
{
@extend
.btn-success
;
}
&
.btn-create
{
@extend
.wide
;
@extend
.btn-success
;
...
...
@@ -67,12 +104,6 @@
&
.btn-close
,
&
.btn-remove
{
@extend
.btn-danger
;
border-color
:
#BD362F
;
&
:hover
{
color
:
#fff
;
background
:
#EE4E49
;
}
}
&
.btn-cancel
{
...
...
@@ -84,13 +115,9 @@
padding-right
:
20px
;
}
&
.small
{
@extend
.btn-small
;
}
&
.active
{
border-color
:
#aaa
;
background-color
:
#ccc
;
&
.btn-small
{
padding
:
2px
10px
;
font-size
:
12px
;
}
&
.btn-tiny
{
...
...
@@ -104,9 +131,4 @@
margin-right
:
7px
;
float
:
left
;
}
&
.padded
{
margin-right
:
3px
;
padding
:
4px
10px
4px
;
}
}
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