Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9b8a4bc6
Commit
9b8a4bc6
authored
9 years ago
by
Patrick H. Lauke
Browse files
Options
Download
Email Patches
Plain Diff
Add extra styles for focused/hovered active outline buttons
parent
6ec9aa34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_buttons.scss
+19
-5
scss/mixins/_buttons.scss
with
19 additions
and
5 deletions
+19
-5
scss/mixins/_buttons.scss
+
19
-
5
View file @
9b8a4bc6
...
@@ -64,19 +64,33 @@
...
@@ -64,19 +64,33 @@
background-color
:
transparent
;
background-color
:
transparent
;
border-color
:
$color
;
border-color
:
$color
;
@include
hover
{
color
:
#fff
;
background-color
:
$color
;
border-color
:
$color
;
}
&
:focus
,
&
:focus
,
&
.focus
,
&
.focus
{
&
:active
,
&
.active
,
.open
>
&
.dropdown-toggle
{
color
:
#fff
;
color
:
#fff
;
background-color
:
$color
;
background-color
:
$color
;
border-color
:
$color
;
border-color
:
$color
;
}
}
@include
hover
{
&
:active
,
&
.active
,
.open
>
&
.dropdown-toggle
{
color
:
#fff
;
color
:
#fff
;
background-color
:
$color
;
background-color
:
$color
;
border-color
:
$color
;
border-color
:
$color
;
&
:hover
,
&
:focus
,
&
.focus
{
color
:
#fff
;
background-color
:
darken
(
$color
,
17%
);
border-color
:
darken
(
$color
,
25%
);
}
}
}
&
.disabled
,
&
.disabled
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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