Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
316e0c7b
Commit
316e0c7b
authored
Jun 18, 2014
by
XhmikosR
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13845 from BBosman/dismissible
Fix dismissible spelling
parents
5b9e2bf1
128e52ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
docs/_includes/components/alerts.html
docs/_includes/components/alerts.html
+4
-4
docs/_includes/js/popovers.html
docs/_includes/js/popovers.html
+2
-2
docs/_includes/nav/components.html
docs/_includes/nav/components.html
+1
-1
less/alerts.less
less/alerts.less
+3
-2
No files found.
docs/_includes/components/alerts.html
View file @
316e0c7b
...
...
@@ -32,16 +32,16 @@
<div
class=
"alert alert-danger"
role=
"alert"
>
...
</div>
{% endhighlight %}
<h2
id=
"alerts-dismiss
able"
>
Dismissa
ble alerts
</h2>
<p>
Build on any alert by adding an optional
<code>
.alert-dismiss
a
ble
</code>
and close button.
</p>
<h2
id=
"alerts-dismiss
ible"
>
Dismissi
ble alerts
</h2>
<p>
Build on any alert by adding an optional
<code>
.alert-dismiss
i
ble
</code>
and close button.
</p>
<div
class=
"bs-example"
>
<div
class=
"alert alert-warning alert-dismiss
a
ble"
role=
"alert"
>
<div
class=
"alert alert-warning alert-dismiss
i
ble"
role=
"alert"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
><span
aria-hidden=
"true"
>
×
</span><span
class=
"sr-only"
>
Close
</span></button>
<strong>
Warning!
</strong>
Better check yourself, you're not looking too good.
</div>
</div>
{% highlight html %}
<div
class=
"alert alert-warning alert-dismiss
a
ble"
role=
"alert"
>
<div
class=
"alert alert-warning alert-dismiss
i
ble"
role=
"alert"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
><span
aria-hidden=
"true"
>
×
</span><span
class=
"sr-only"
>
Close
</span></button>
<strong>
Warning!
</strong>
Better check yourself, you're not looking too good.
</div>
...
...
docs/_includes/js/popovers.html
View file @
316e0c7b
...
...
@@ -111,10 +111,10 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<h4>
Dismiss on next click
</h4>
<p>
Use the
<code>
focus
</code>
trigger to dismiss popovers on their next click.
</p>
<div
class=
"bs-example"
style=
"padding-bottom: 24px;"
>
<button
type=
"button"
class=
"btn btn-lg btn-danger bs-docs-popover-dismiss"
data-toggle=
"popover"
title=
"Dismiss
able popover"
data-content=
"And here's some amazing content. It's very engaging. Right?"
>
Dismissa
ble popover
</button>
<button
type=
"button"
class=
"btn btn-lg btn-danger bs-docs-popover-dismiss"
data-toggle=
"popover"
title=
"Dismiss
ible popover"
data-content=
"And here's some amazing content. It's very engaging. Right?"
>
Dismissi
ble popover
</button>
</div>
{% highlight html %}
<button
type=
"button"
class=
"btn btn-lg btn-danger popover-dismiss"
data-toggle=
"popover"
title=
"Dismiss
able popover"
data-content=
"And here's some amazing content. It's very engaging. Right?"
>
Dismissa
ble popover
</button>
<button
type=
"button"
class=
"btn btn-lg btn-danger popover-dismiss"
data-toggle=
"popover"
title=
"Dismiss
ible popover"
data-content=
"And here's some amazing content. It's very engaging. Right?"
>
Dismissi
ble popover
</button>
{% endhighlight %}
{% highlight js %}
$('.popover-dismiss').popover({
...
...
docs/_includes/nav/components.html
View file @
316e0c7b
...
...
@@ -94,7 +94,7 @@
<a
href=
"#alerts"
>
Alerts
</a>
<ul
class=
"nav"
>
<li><a
href=
"#alerts-examples"
>
Examples
</a></li>
<li><a
href=
"#alerts-dismiss
able"
>
Dismissa
ble alerts
</a></li>
<li><a
href=
"#alerts-dismiss
ible"
>
Dismissi
ble alerts
</a></li>
<li><a
href=
"#alerts-links"
>
Links in alerts
</a></li>
</ul>
</li>
...
...
less/alerts.less
View file @
316e0c7b
...
...
@@ -33,11 +33,12 @@
}
}
// Dismiss
a
ble alerts
// Dismiss
i
ble alerts
//
// Expand the right padding and account for the close button's positioning.
.alert-dismissable {
.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
.alert-dismissible {
padding-right: (@alert-padding + 20);
// Adjust close link position
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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