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
7735bfe3
Commit
7735bfe3
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #16224 from vsn4ik/fix_theme_disabled_btn
Fix theme.css .btn[disabled] styles.
parents
9c0bd376
d6acfd3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/theme.less
+17
-4
less/theme.less
with
17 additions
and
4 deletions
+17
-4
less/theme.less
+
17
-
4
View file @
7735bfe3
...
@@ -28,6 +28,12 @@
...
@@ -28,6 +28,12 @@
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
}
&.disabled,
&[disabled],
fieldset[disabled] & {
.box-shadow(none);
}
.badge {
.badge {
text-shadow: none;
text-shadow: none;
}
}
...
@@ -53,10 +59,17 @@
...
@@ -53,10 +59,17 @@
}
}
&.disabled,
&.disabled,
&:disabled,
&[disabled],
&[disabled] {
fieldset[disabled] & {
background-color: darken(@btn-color, 12%);
&,
background-image: none;
&:hover,
&:focus,
&.focus,
&:active,
&.active {
background-color: darken(@btn-color, 12%);
background-image: none;
}
}
}
}
}
...
...
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