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
d5cbe696
Commit
d5cbe696
authored
7 years ago
by
Patrick Yeo
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Allow customizing Popover and Tooltip `border-radius` while I'm at it
parent
eaca6c0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scss/_popover.scss
+1
-1
scss/_popover.scss
scss/_tooltip.scss
+1
-1
scss/_tooltip.scss
scss/_variables.scss
+2
-0
scss/_variables.scss
with
4 additions
and
2 deletions
+4
-2
scss/_popover.scss
+
1
-
1
View file @
d5cbe696
...
...
@@ -14,7 +14,7 @@
background-color
:
$popover-bg
;
background-clip
:
padding-box
;
border
:
$popover-border-width
solid
$popover-border-color
;
@include
border-radius
(
$border-radius
-lg
);
@include
border-radius
(
$
popover-
border-radius
);
@include
box-shadow
(
$popover-box-shadow
);
.arrow
{
...
...
This diff is collapsed.
Click to expand it.
scss/_tooltip.scss
+
1
-
1
View file @
d5cbe696
...
...
@@ -111,5 +111,5 @@
color
:
$tooltip-color
;
text-align
:
center
;
background-color
:
$tooltip-bg
;
@include
border-radius
(
$border-radius
);
@include
border-radius
(
$
tooltip-
border-radius
);
}
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
0
View file @
d5cbe696
...
...
@@ -671,6 +671,7 @@ $tooltip-font-size: $font-size-sm !default;
$tooltip-max-width
:
200px
!
default
;
$tooltip-color
:
$white
!
default
;
$tooltip-bg
:
$black
!
default
;
$tooltip-border-radius
:
$border-radius
!
default
;
$tooltip-opacity
:
.9
!
default
;
$tooltip-padding-y
:
.25rem
!
default
;
$tooltip-padding-x
:
.5rem
!
default
;
...
...
@@ -688,6 +689,7 @@ $popover-bg: $white !default;
$popover-max-width
:
276px
!
default
;
$popover-border-width
:
$border-width
!
default
;
$popover-border-color
:
rgba
(
$black
,
.2
)
!
default
;
$popover-border-radius
:
$border-radius-lg
!
default
;
$popover-box-shadow
:
0
.25rem
.5rem
rgba
(
$black
,
.2
)
!
default
;
$popover-header-bg
:
darken
(
$popover-bg
,
3%
)
!
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