mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update icons
This commit is contained in:
parent
c86571708a
commit
3838831828
13 changed files with 135 additions and 96 deletions
|
@ -38,66 +38,66 @@ Custom property | Description | Default
|
|||
-->
|
||||
|
||||
<dom-module id="iron-autogrow-textarea">
|
||||
|
||||
<style>
|
||||
:host {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 400px;
|
||||
border: 1px solid;
|
||||
padding: 2px;
|
||||
-moz-appearance: textarea;
|
||||
-webkit-appearance: textarea;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mirror-text {
|
||||
visibility: hidden;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.fit {
|
||||
@apply(--layout-fit);
|
||||
}
|
||||
|
||||
textarea {
|
||||
position: relative;
|
||||
outline: none;
|
||||
border: none;
|
||||
resize: none;
|
||||
background: inherit;
|
||||
color: inherit;
|
||||
/* see comments in template */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
text-align: inherit;
|
||||
@apply(--iron-autogrow-textarea);
|
||||
}
|
||||
|
||||
::content textarea:invalid {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
textarea::-webkit-input-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea:-moz-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea::-moz-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea:-ms-input-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<style>
|
||||
:host {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 400px;
|
||||
border: 1px solid;
|
||||
padding: 2px;
|
||||
-moz-appearance: textarea;
|
||||
-webkit-appearance: textarea;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mirror-text {
|
||||
visibility: hidden;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.fit {
|
||||
@apply(--layout-fit);
|
||||
}
|
||||
|
||||
textarea {
|
||||
position: relative;
|
||||
outline: none;
|
||||
border: none;
|
||||
resize: none;
|
||||
background: inherit;
|
||||
color: inherit;
|
||||
/* see comments in template */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
text-align: inherit;
|
||||
@apply(--iron-autogrow-textarea);
|
||||
}
|
||||
|
||||
::content textarea:invalid {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
textarea::-webkit-input-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea:-moz-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea::-moz-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
|
||||
textarea:-ms-input-placeholder {
|
||||
@apply(--iron-autogrow-textarea-placeholder);
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- the mirror sizes the input/textarea so it grows with typing -->
|
||||
<!-- use   instead of to allow this element to be used in XHTML -->
|
||||
<div id="mirror" class="mirror-text" aria-hidden="true"> </div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue