Skip to content

Commit

Permalink
Create Connection_Card_1.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BangerTech authored Dec 7, 2021
1 parent 2cb64f9 commit c85fe54
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions StateCards/Connection_Card_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
uid: Connection_Card_1
tags:
- status page swipe
props:
parameters: []
parameterGroups: []
timestamp: Nov 25, 2021, 2:25:55 PM
component: oh-swiper-card
config:
navigation: true
noBorder: false
noShadow: true
pagination: false
scrollbar: false
style:
height: "=(props.bigCard) ? '' : '160px'"
overflow: hidden
slots:
default:
- component: oh-label-card
config:
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
fontSize: 40px
fontWeight: bold
icon: f7:download_circle_fill
item: SpeedtestBinding_DownloadBandwidth
style:
--card-content: padding
-moz-user-select: none
-ms-user-select: none
-webkit-user-select: none
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
border-radius: 10px
height: 100%
left: 0
max-height: "=(props.bigCard) ? '' : '160px'"
overflow: hidden
position: absolute
top: 0
user-select: none
width: 100%
trendItem: SpeedtestBinding_DownloadBandwidth
vertical: true
- component: oh-label-card
config:
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
fontSize: 40px
fontWeight: bold
icon: f7:upload_circle_fill
item: SpeedtestBinding_UploadBandwidth
style:
-moz-user-select: none
-ms-user-select: none
-webkit-user-select: none
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
border-radius: 10px
height: 100%
left: 0
max-height: "=(props.bigCard) ? '' : '160px'"
overflow: hidden
position: absolute
top: 0
user-select: none
width: 100%
trendItem: SpeedtestBinding_UploadBandwidth
vertical: true
- component: oh-label-card
config:
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
fontSize: 40px
fontWeight: bold
icon: f7:timer_fill
item: SpeedtestBinding_Latency
style:
-moz-user-select: none
-ms-user-select: none
-webkit-user-select: none
background: "linear-gradient(to bottom, #003366 0%, #00ffff 100%)"
border-radius: 10px
height: 100%
left: 0
max-height: "=(props.bigCard) ? '' : '160px'"
overflow: hidden
position: absolute
top: 0
user-select: none
width: 100%
trendItem: SpeedtestBinding_Latency
vertical: true

0 comments on commit c85fe54

Please sign in to comment.