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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a793590d
Commit
a793590d
authored
Dec 22, 2015
by
Andriy Dyadyura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new buttons
parent
3b61dc47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+9
-6
No files found.
app/assets/stylesheets/framework/buttons.scss
View file @
a793590d
@mixin
btn-default
{
@mixin
btn-default
{
@include
border-radius
(
2
px
);
@include
border-radius
(
3
px
);
border-width
:
1px
;
border-width
:
1px
;
border-style
:
solid
;
border-style
:
solid
;
text-transform
:
uppercase
;
font-size
:
15px
;
font-size
:
13px
;
font-weight
:
500
;
font-weight
:
600
;
line-height
:
18px
;
line-height
:
18px
;
padding
:
11px
$gl-padding
;
padding
:
11px
$gl-padding
;
letter-spacing
:
.4px
;
letter-spacing
:
.4px
;
...
@@ -18,7 +17,7 @@
...
@@ -18,7 +17,7 @@
@mixin
btn-middle
{
@mixin
btn-middle
{
@include
btn-default
;
@include
btn-default
;
@include
border-radius
(
2
px
);
@include
border-radius
(
3
px
);
padding
:
11px
24px
;
padding
:
11px
24px
;
}
}
...
@@ -60,7 +59,7 @@
...
@@ -60,7 +59,7 @@
}
}
@mixin
btn-gray
{
@mixin
btn-gray
{
@include
btn-color
(
$gray-light
,
$border-gray-light
,
$gray-normal
,
$border-gray-
normal
,
$gray-dark
,
$border-gray-dark
,
#313236
);
@include
btn-color
(
$gray-light
,
$border-gray-light
,
$gray-normal
,
$border-gray-
light
,
$gray-dark
,
$border-gray-dark
,
#313236
);
}
}
@mixin
btn-white
{
@mixin
btn-white
{
...
@@ -75,6 +74,10 @@
...
@@ -75,6 +74,10 @@
padding
:
5px
10px
;
padding
:
5px
10px
;
}
}
&
.btn-nr
{
padding
:
7px
10px
;
}
&
.btn-xs
{
&
.btn-xs
{
padding
:
1px
5px
;
padding
:
1px
5px
;
}
}
...
...
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