-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add slotted anchor support and styles
- Loading branch information
1 parent
b56d305
commit b9177e1
Showing
11 changed files
with
133 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
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,31 @@ | ||
<!DOCTYPE html> | ||
|
||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title>Anchor tabs visual tests</title> | ||
<script src="../../bower_components/webcomponentsjs/webcomponents-lite.js"></script> | ||
|
||
<script> | ||
const theme = window.location.search.replace(/.*theme=(\w+).*/, '$1') || 'lumo'; | ||
document.write(`<link rel="import" href="../../theme/${theme}/vaadin-tab.html">`); | ||
document.write(`<link rel="import" href="../../theme/${theme}/vaadin-tabs.html">`); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<style media="screen"> | ||
.capture-block { | ||
display: inline-block; | ||
width: 800px; | ||
} | ||
</style> | ||
|
||
<div class="capture-block" id="anchor-tabs"> | ||
<vaadin-tabs> | ||
<vaadin-tab><a href="#">Foo</a></vaadin-tab> | ||
<vaadin-tab><a href="#">Bar</a></vaadin-tab> | ||
<vaadin-tab><a href="#">Baz</a></vaadin-tab> | ||
</vaadin-tabs> | ||
</div> | ||
|
||
</body> |
Binary file added
BIN
+1.76 KB
test/visual/screens/vaadin-tabs/anchor-tabs-lumo/anchor-tabs/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.16 KB
test/visual/screens/vaadin-tabs/anchor-tabs-lumo/anchor-tabs/firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.96 KB
test/visual/screens/vaadin-tabs/anchor-tabs-material/anchor-tabs/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.19 KB
test/visual/screens/vaadin-tabs/anchor-tabs-material/anchor-tabs/firefox.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
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