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
e2c15da9
Commit
e2c15da9
authored
7 years ago
by
Patrick Yeo
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Move hardcoded opacity value in `.btn:disabled` to variable `$btn-disabled-opacity` (#24680)
parent
1524837a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_buttons.scss
+1
-1
scss/_buttons.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
2 additions
and
1 deletion
+2
-1
scss/_buttons.scss
+
1
-
1
View file @
e2c15da9
...
...
@@ -28,7 +28,7 @@
// Disabled comes first so active can properly restyle
&
.disabled
,
&
:disabled
{
opacity
:
.65
;
opacity
:
$btn-disabled-opacity
;
@include
box-shadow
(
none
);
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
e2c15da9
...
...
@@ -357,6 +357,7 @@ $btn-font-weight: $font-weight-normal !default;
$btn-box-shadow
:
inset
0
1px
0
rgba
(
$white
,
.15
)
,
0
1px
1px
rgba
(
$black
,
.075
)
!
default
;
$btn-focus-width
:
$input-btn-focus-width
!
default
;
$btn-focus-box-shadow
:
$input-btn-focus-box-shadow
!
default
;
$btn-disabled-opacity
:
.65
!
default
;
$btn-active-box-shadow
:
inset
0
3px
5px
rgba
(
$black
,
.125
)
!
default
;
$btn-link-disabled-color
:
$gray-600
!
default
;
...
...
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