-
Notifications
You must be signed in to change notification settings - Fork 2
/
component.css
130 lines (110 loc) · 1.93 KB
/
component.css
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
:host {
display: block;
width: 100%;
box-sizing: border-box;
background: #EFEFEF;
padding: 10px;
}
:host h1 {
font-size: 18px;
border-bottom: solid 2px #CCC;
margin-bottom: 10px;
padding-bottom: 4px;
text-shadow: 0px 1px 0px white;
}
:host input {
padding: 5px 3px;
font-size: 16px;
box-sizing: border-box;
}
:host input[type=text]{
width: 90%
}
:host input[type=checkbox]{
margin-right: 5px;
}
:host label {
display: block;
}
:host p {
color: white;
background: green;
cursor: pointer;
padding: 5px 10px;
display: inline-block;
}
:host .input-wrapper {
position: relative;
margin-bottom: 5px;
}
:host input[type=checkbox] {
margin: 0px;
}
:host .input-wrapper .delete-item {
display: inline-block;
background: #BBB;
-webkit-border-radius: 15px;
color: white;
cursor: pointer;
padding: 3px 7px;
float: right;
position: absolute;
top: calc(50% - 15px);
right: 0px;
}
:host .button {
background: green;
text-align: center;
padding: 5px 10px;
color: white;
cursor: pointer;
margin: 4px 0;
}
:host #add-input-view {
background: #DDD;
border-bottom: solid 1px #BBB;
padding: 5px;
padding: 10px;
-webkit-border-radius: 5px;
text-align: center;
margin-bottom: 8px;
}
:host #add-input-view h2 {
cursor: pointer;
}
:host #add-input-view h2 {
font-size: 15px;
margin-bottom: 10px;
font-weight: normal;
color: #777;
line-height: 15px;
}
:host #add-input-view[show=no] h2 {
margin-bottom: 0;
}
:host #add-input-view[show=no] .input-type {
display: none;
}
:host .input-type {
background: #CCC;
padding: 5px 10px;
cursor: pointer;
text-align: center;
padding: 5px 10px;
background: #FFF;
-webkit-border-radius: 4px;
margin-bottom: 6px;
}
:host .input-type:last-child {
margin-bottom: 0px;
}
:host .input-types {
display: block;
}
:host #form-wrapper {
position: relative;
}
:host #datascope {
text-align: center;
padding-bottom: 5px;
}