material-web/demos/top-app-bar-fixed.html
Alexander Marks af4ea8e0c2 Remove mwc-icon-font.js
Let's just have the one way to load fonts, as documented in our README.
Updated all the demos to use the same recommendation.
2019-10-08 13:54:28 -07:00

69 lines
2.1 KiB
HTML

<!doctype html>
<!--
@license
Copyright 2019 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>top app bar fixed demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
<script type="module" src="../node_modules/@material/mwc-icon-button/mwc-icon-button.js"></script>
<link rel="stylesheet" href="demo-component.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet">
<style>
iframe {
border-width: 0;
width: 500px;
height: 400px;
margin: 20px;
}
div {
display: inline-block;
}
</style>
</head>
<body class="unresolved">
<header>
<a href="index.html"><mwc-icon-button icon="arrow_back"></mwc-icon-button></a>
<span>Top App Bar Fixed</span>
</header>
<main>
<div>
<iframe src="top-app-bars/fixed.html"></iframe>
</div>
<div>
<iframe src="top-app-bars/fixed.html?centerTitle"></iframe>
</div>
<div>
<iframe src="top-app-bars/fixed.html?prominent"></iframe>
</div>
<div>
<iframe src="top-app-bars/fixed.html?dense"></iframe>
</div>
<div>
<iframe src="top-app-bars/fixed.html?prominent&dense"></iframe>
</div>
<div>
<iframe src="top-app-bars/fixed.html?custom"></iframe>
</div>
</main>
<script>
addEventListener('load', () => document.body.classList.remove('unresolved'));
</script>
</body>
</html>