-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master-local' into master-dist
- Loading branch information
Showing
25 changed files
with
250 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = [{ | ||
removeSelectors: ['.page-header + .alert'], | ||
label: 'hint-block', | ||
url: 'dist/tests/hint-block.html', | ||
disabled: false | ||
}] |
Binary file added
BIN
+25 KB
...ata/bitmaps_reference/backstop_default_hint-block_0_document_0_large-device.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: @color-pf-blue-50; | ||
color: @color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: $color-pf-blue-50; | ||
color: $color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: $color-pf-blue-50; | ||
color: $color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!DOCTYPE html> | ||
<!--[if IE 9]><html lang="en-us" class="ie9"><![endif]--> | ||
<!--[if gt IE 9]><!--> | ||
<html lang="en-us"> | ||
<!--<![endif]--> | ||
<head> | ||
<title>Hint Block - PatternFly</title> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="shortcut icon" href="../img/favicon.ico"> | ||
<!-- iPad retina icon --> | ||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../img/apple-touch-icon-precomposed-152.png"> | ||
<!-- iPad retina icon (iOS < 7) --> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../img/apple-touch-icon-precomposed-144.png"> | ||
<!-- iPad non-retina icon --> | ||
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="../img/apple-touch-icon-precomposed-76.png"> | ||
<!-- iPad non-retina icon (iOS < 7) --> | ||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../img/apple-touch-icon-precomposed-72.png"> | ||
<!-- iPhone 6 Plus icon --> | ||
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="../img/apple-touch-icon-precomposed-180.png"> | ||
<!-- iPhone retina icon (iOS < 7) --> | ||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../img/apple-touch-icon-precomposed-114.png"> | ||
<!-- iPhone non-retina icon (iOS < 7) --> | ||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="../img/apple-touch-icon-precomposed-57.png"> | ||
<link rel="stylesheet" href="../css/patternfly.min.css" > | ||
<link rel="stylesheet" href="../css/patternfly-additions.min.css" > | ||
<link href="tests.css" rel="stylesheet" media="screen, print"> | ||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script src="../js/patternfly.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<div class="page-header"> | ||
<h1>Hint Block</h1> | ||
</div> | ||
<div class="alert alert-warning"> | ||
<span class="pficon pficon-warning-triangle-o"></span> | ||
These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>. | ||
</div> | ||
<hr> | ||
<div class="hint-block-pf"> | ||
<button type="button" class="close" aria-hidden="true" aria-label="Close"> | ||
<span class="pficon pficon-close"></span> | ||
</button> | ||
<div class="hint-block-pf-title">Some Title</div> | ||
<div class="hint-block-pf-body"> | ||
Something introductory. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. | ||
</div> | ||
<button class="btn btn-primary" type="button"> | ||
Optional Action | ||
</button> | ||
</div> | ||
|
||
</div><!-- /container --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: @color-pf-blue-50; | ||
color: @color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: $color-pf-blue-50; | ||
color: $color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hint-block-pf { | ||
background-color: $color-pf-blue-50; | ||
color: $color-pf-blue-600; | ||
padding: 10px 15px 15px; | ||
.hint-block-pf-title { | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 1.1; | ||
margin-bottom: 10px; | ||
} | ||
.hint-block-pf-body { | ||
font-size: 13px; | ||
font-weight: 300; | ||
line-height: 1.4; | ||
} | ||
> .btn { | ||
margin-top: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
categories: [Widgets] | ||
layout: page | ||
title: Hint Block | ||
resource: true | ||
--- | ||
<div class="hint-block-pf"> | ||
<button type="button" class="close" aria-hidden="true" aria-label="Close"> | ||
<span class="pficon pficon-close"></span> | ||
</button> | ||
<div class="hint-block-pf-title">Some Title</div> | ||
<div class="hint-block-pf-body"> | ||
Something introductory. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. Some body text explaining the feature. | ||
</div> | ||
<button class="btn btn-primary" type="button"> | ||
Optional Action | ||
</button> | ||
</div> |