-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsc-rounded-input-style.html
63 lines (58 loc) · 1.36 KB
/
sc-rounded-input-style.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<dom-module id="sc-rounded-input-style">
<template>
<style>
html,
:host > * {
--sc-rounded-input: {
height: 37px;
background: white;
border-radius: 3px;
border: var(--sc-rounded-input-border-width, 1px) solid var(--sc-rounded-input-border-color, #A1A1A1);
box-sizing: border-box;
margin-bottom: 5px;
padding: 4px 5px 0 9px;
}
}
nodecg-typeahead-input.sc-rounded-input {
--nodecg-typeahead-combobox: {
@apply --sc-rounded-input;
};
}
vaadin-combo-box.sc-rounded-input {
@apply --sc-rounded-input;
}
nodecg-typeahead-input.sc-rounded-input,
vaadin-combo-box.sc-rounded-input {
--paper-input-container: {
top: -2px;
};
--paper-input-container-disabled: {
top: 2px;
};
--paper-input-container-underline: {
transform: translateY(-5px);
};
--paper-input-container-underline-focus: {
position: relative;
top: -5px;
};
--paper-input-container-underline-disabled: {
transform: translateY(-2px);
};
}
paper-input.sc-rounded-input,
paper-dropdown-menu.sc-rounded-input {
@apply --sc-rounded-input;
--paper-input-container: {
padding: 0;
}
}
input.sc-rounded-input {
font-size: 16px;
font-weight: 400;
line-height: 24px;
@apply --sc-rounded-input;
}
</style>
</template>
</dom-module>