-
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.
feat(hint-block): Add hint-block css, test page, and regression test. (…
- Loading branch information
1 parent
be57e8f
commit 2955fe8
Showing
9 changed files
with
84 additions
and
0 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
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> |