Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1a6aad45
Commit
1a6aad45
authored
9 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
only apply border radius mixins if rounded corners are enabled; alternate fix to #17426
parent
3af4560c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_border-radius.scss
+16
-8
scss/mixins/_border-radius.scss
with
16 additions
and
8 deletions
+16
-8
scss/mixins/_border-radius.scss
+
16
-
8
View file @
1a6aad45
// Single side border-radius
@mixin
border-top-radius
(
$radius
)
{
border-top-right-radius
:
$radius
;
border-top-left-radius
:
$radius
;
@if
$enable-rounded
{
border-top-right-radius
:
$radius
;
border-top-left-radius
:
$radius
;
}
}
@mixin
border-right-radius
(
$radius
)
{
border-bottom-right-radius
:
$radius
;
border-top-right-radius
:
$radius
;
@if
$enable-rounded
{
border-bottom-right-radius
:
$radius
;
border-top-right-radius
:
$radius
;
}
}
@mixin
border-bottom-radius
(
$radius
)
{
border-bottom-right-radius
:
$radius
;
border-bottom-left-radius
:
$radius
;
@if
$enable-rounded
{
border-bottom-right-radius
:
$radius
;
border-bottom-left-radius
:
$radius
;
}
}
@mixin
border-left-radius
(
$radius
)
{
border-bottom-left-radius
:
$radius
;
border-top-left-radius
:
$radius
;
@if
$enable-rounded
{
border-bottom-left-radius
:
$radius
;
border-top-left-radius
:
$radius
;
}
}
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
Menu
Explore
Projects
Groups
Snippets