-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNeuromorphic_button_card.txt
More file actions
56 lines (56 loc) · 1.54 KB
/
Neuromorphic_button_card.txt
File metadata and controls
56 lines (56 loc) · 1.54 KB
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
type: 'custom:button-card'
entity: Entity.name
show_label: true
name: Name
icon: 'mdi:television-play'
layout: icon_name_state
style: |
ha-card { --ha-card-box-shadow: 0px;
border-radius: 10px;
border: 0px solid rgba(100, 100,100, 0.3);
box-shadow: -3px -3px 3px 1px
#ffffff, 3px 3px 3px 1px #AEAEC0;
text-shadow: 1px 1px rgba(255, 255, 255, 0.9);
color: rgba(0, 0, 0, 0.7);
height: 160px;
background: rgba(255, 255, 255, 0.0);
}
state:
- value: 'off'
color: auto
styles:
card:
- height: 80px
name:
- text-transform: uppercase
- letter-spacing: 0.5em
- font-familly: cursive
- padding: 0px 0px
- justify-self: center
state:
- justify-self: start
- font-size: 10px
- padding: 0px 0px
icon:
- color: 'rgba(100, 100, 100, 0.8)'
- operator: default
color: 'rgba(100, 100, 100, 0.8)'
styles:
card:
- height: 80px
- background-color: 'rgba(255, 255, 255, 0.0)'
- box-shadow: 'inset -3px -3px 3px 1px #fff, inset 3px 3px 3px 1px #AEAEC0'
- border: 2px solid var(--primary-color)
name:
- text-transform: uppercase
- letter-spacing: 0.5em
- font-familly: cursive
- padding: 0px 0px
- color: 'rgba(0, 0, 0, 0.6)'
- justify-self: center
state:
- justify-self: start
- font-size: 10px
- padding: 0px 0px
icon:
- color: var(--primary-color)