mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
697257670c
commit
02ae9ec81e
123 changed files with 13600 additions and 531 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-menu",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Implements an accessible material design menu",
|
||||
"authors": "The Polymer Authors",
|
||||
"keywords": [
|
||||
|
@ -29,14 +29,13 @@
|
|||
"web-component-tester": "*",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"_release": "1.0.0",
|
||||
"_release": "1.0.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.0",
|
||||
"commit": "0642450ec9df0fc0b1d909842f436c3dea79ed1e"
|
||||
"tag": "v1.0.1",
|
||||
"commit": "137caedb322ab2464730d7b1776e5c88989d2c3f"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-menu.git",
|
||||
"_target": "~1.0.0",
|
||||
"_originalSource": "PolymerElements/paper-menu",
|
||||
"_direct": true
|
||||
"_originalSource": "PolymerElements/paper-menu"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-menu",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Implements an accessible material design menu",
|
||||
"authors": "The Polymer Authors",
|
||||
"keywords": [
|
||||
|
|
|
@ -21,7 +21,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<link rel="import" href="../../paper-item/paper-item.html">
|
||||
<link rel="import" href="../paper-menu.html">
|
||||
<link rel="import" href="../../paper-styles/paper-styles.html">
|
||||
<link rel="import" href="../../paper-styles/demo-pages.html">
|
||||
|
||||
<style>
|
||||
|
@ -39,8 +38,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="horizontal center-justified layout">
|
||||
<body unresolved>
|
||||
<div class="horizontal-section-container">
|
||||
<div>
|
||||
<h4>Standard</h4>
|
||||
<div class="horizontal-section">
|
||||
|
|
|
@ -21,6 +21,13 @@ is highlighted, and the selected item has bolded text.
|
|||
<paper-item>Item 2</paper-item>
|
||||
</paper-menu>
|
||||
|
||||
An initial selection can be specified with the `selected` attribute.
|
||||
|
||||
<paper-menu selected="0">
|
||||
<paper-item>Item 1</paper-item>
|
||||
<paper-item>Item 2</paper-item>
|
||||
</paper-menu>
|
||||
|
||||
Make a multi-select menu with the `multi` attribute. Items in a multi-select menu can be deselected,
|
||||
and multiple item can be selected.
|
||||
|
||||
|
@ -36,7 +43,7 @@ The following custom properties and mixins are available for styling:
|
|||
Custom property | Description | Default
|
||||
----------------|-------------|----------
|
||||
`--paper-menu-background-color` | Menu background color | `--primary-background-color`
|
||||
`-paper-menu-color` | Menu foreground color | `--primary-text-color`
|
||||
`--paper-menu-color` | Menu foreground color | `--primary-text-color`
|
||||
`--paper-menu-disabled-color` | Foreground color for a disabled item | `--disabled-text-color`
|
||||
`--paper-menu` | Mixin applied to the menu | `{}`
|
||||
`--paper-menu-selected-item` | Mixin applied to the selected item | `{}`
|
||||
|
@ -85,7 +92,7 @@ of a menu item will also focus it.
|
|||
position: relative;
|
||||
outline: 0;
|
||||
|
||||
@apply(--paper-menu-colored-focused-item);
|
||||
@apply(--paper-menu-focused-item);
|
||||
}
|
||||
|
||||
.content > ::content > *:focus:after {
|
||||
|
@ -95,7 +102,7 @@ of a menu item will also focus it.
|
|||
opacity: 0.12;
|
||||
content: '';
|
||||
|
||||
@apply(--paper-menu-colored-focused-item-after);
|
||||
@apply(--paper-menu-focused-item-after);
|
||||
}
|
||||
|
||||
.content > ::content > *[colored]:focus:after {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue