jellyfin-web/dashboard-ui/bower_components/iron-fit-behavior/demo/simple-fit.html

52 lines
1.2 KiB
HTML
Raw Normal View History

2015-06-15 21:52:01 -07:00
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
2015-06-19 09:36:51 -07:00
<link rel="import" href="../../polymer/polymer.html">
<link rel="import" href="../iron-fit-behavior.html">
2015-12-14 08:43:03 -07:00
<link rel="import" href="../../paper-styles/color.html">
<link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<dom-module id="simple-fit">
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<style>
:host {
2015-06-25 18:13:51 -07:00
@apply(--layout);
2015-12-14 08:43:03 -07:00
2015-06-25 18:13:51 -07:00
background-color: var(--paper-light-blue-500);
2015-06-19 09:36:51 -07:00
color: white;
2015-06-25 18:13:51 -07:00
text-align: center;
align-items:center;
-webkit-align-items: center;
justify-content:center;
-webkit-justify-content:center;
2015-06-19 09:36:51 -07:00
}
</style>
<template>
<content></content>
</template>
</dom-module>
<script>
Polymer({
is: 'simple-fit',
behaviors: [
Polymer.IronFitBehavior
]
});
</script>