/
vaadin-combo-box-styles.html
33 lines (27 loc) · 1.12 KB
/
vaadin-combo-box-styles.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<link rel="import" href="../../src/vaadin-combo-box.html">
<link rel="import" href="../../../vaadin-combo-box/theme/material/vaadin-combo-box-dropdown.html">
<link rel="import" href="../../../vaadin-combo-box/theme/material/vaadin-combo-box-item.html">
<link rel="import" href="../../../vaadin-text-field/theme/material/vaadin-text-field.html">
<link rel="import" href="../../../vaadin-material-styles/color.html">
<link rel="import" href="../../../vaadin-material-styles/font-icons.html">
<link rel="import" href="../../../vaadin-material-styles/mixins/field-button.html">
<dom-module id="material-combo-box" theme-for="vaadin-combo-box">
<template>
<style include="material-field-button">
:host {
display: inline-flex;
outline: none;
-webkit-tap-highlight-color: transparent;
}
[part="toggle-button"]::before {
content: var(--material-icons-dropdown);
}
:host([opened]) [part="toggle-button"] {
transform: rotate(180deg);
}
[part="clear-button"]::before {
content: var(--material-icons-clear);
}
</style>
</template>
</dom-module>