|
|
@ -19,9 +19,10 @@ |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Card — Figma: white bg, border rgba(0,0,0,0.12), rounded-8, overflow-clip, flex-col, gap-16, pb-16 |
|
|
.tb-iot-hub-item-card { |
|
|
.tb-iot-hub-item-card { |
|
|
border: 1px solid rgba(0, 0, 0, 0.1); |
|
|
border: 1px solid rgba(0, 0, 0, 0.12); |
|
|
border-radius: 12px; |
|
|
border-radius: 8px; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
transition: box-shadow 0.2s, transform 0.2s; |
|
|
transition: box-shadow 0.2s, transform 0.2s; |
|
|
@ -29,41 +30,33 @@ |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
|
|
|
gap: 16px; |
|
|
|
|
|
|
|
|
&:hover { |
|
|
&:hover { |
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); |
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); |
|
|
transform: translateY(-2px); |
|
|
transform: translateY(-2px); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&.tb-iot-hub-card-compact { |
|
|
|
|
|
border-color: #e5e7eb; |
|
|
|
|
|
|
|
|
|
|
|
.tb-iot-hub-card-content { |
|
|
|
|
|
padding: 16px 18px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Preview area |
|
|
// Preview area — Figma: aspect ~305:172, bg rgba(0,0,0,0.04), overflow-clip, p-12, dot pattern bg |
|
|
.tb-iot-hub-card-preview { |
|
|
.tb-iot-hub-card-preview { |
|
|
height: 160px; |
|
|
aspect-ratio: 305 / 172; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.04); |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
position: relative; |
|
|
position: relative; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
|
|
|
padding: 12px; |
|
|
&.preview-widget, &.preview-dashboard { background: #f5f7fa; border-bottom: 1px solid #e5e7eb; } |
|
|
background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px); |
|
|
&.preview-calculated-field { background: linear-gradient(135deg, #e3f2fd, #bbdefb); } |
|
|
background-size: 20px 20px; |
|
|
&.preview-rule-chain { background: linear-gradient(135deg, #f3e5f5, #e1bee7); } |
|
|
|
|
|
&.preview-device { background: linear-gradient(135deg, #eceff1, #cfd8dc); } |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-preview-image { |
|
|
.tb-iot-hub-preview-image { |
|
|
max-width: 100%; |
|
|
width: 100%; |
|
|
max-height: 100%; |
|
|
height: 100%; |
|
|
object-fit: contain; |
|
|
object-fit: contain; |
|
|
padding: 8px; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-preview-placeholder { |
|
|
.tb-iot-hub-preview-placeholder { |
|
|
@ -73,17 +66,14 @@ |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.06); |
|
|
|
|
|
|
|
|
tb-icon { |
|
|
tb-icon { |
|
|
font-size: 36px; |
|
|
font-size: 36px; |
|
|
width: 36px; |
|
|
width: 36px; |
|
|
height: 36px; |
|
|
height: 36px; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.38); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.preview-widget &, .preview-dashboard & { background: rgba(107, 114, 128, 0.1); tb-icon { color: #6b7280; } } |
|
|
|
|
|
.preview-calculated-field & { background: rgba(25, 118, 210, 0.15); tb-icon { color: #1565c0; } } |
|
|
|
|
|
.preview-rule-chain & { background: rgba(123, 31, 162, 0.15); tb-icon { color: #7b1fa2; } } |
|
|
|
|
|
.preview-device & { background: rgba(69, 90, 100, 0.15); tb-icon { color: #455a64; } } |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-pe-badge { |
|
|
.tb-iot-hub-pe-badge { |
|
|
@ -98,283 +88,253 @@ |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Content area |
|
|
// Content area — Figma: px-16, gap-8, flex-col |
|
|
.tb-iot-hub-card-content { |
|
|
.tb-iot-hub-card-content { |
|
|
padding: 12px 16px 12px; |
|
|
padding: 0 16px 16px; |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
|
|
|
gap: 8px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Compact header (CF / RC) |
|
|
// Compact card (CF / RC) — Figma: horizontal flex, gap-16, p-16, rounded-8 |
|
|
.tb-iot-hub-card-cf-header { |
|
|
.tb-iot-hub-card-compact { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: flex-start; |
|
|
align-items: center; |
|
|
gap: 12px; |
|
|
gap: 16px; |
|
|
margin-bottom: 10px; |
|
|
padding: 16px; |
|
|
|
|
|
background: white; |
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.12); |
|
|
|
|
|
border-radius: 8px; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
transition: box-shadow 0.2s, transform 0.2s; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); |
|
|
|
|
|
transform: translateY(-2px); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-cf-icon { |
|
|
// Compact icon — Figma: 72x72, rounded-6, colored bg, white icon 36px centered |
|
|
width: 40px; |
|
|
.tb-iot-hub-compact-icon { |
|
|
height: 40px; |
|
|
width: 72px; |
|
|
border-radius: 10px; |
|
|
height: 72px; |
|
|
|
|
|
border-radius: 6px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
|
|
|
|
|
|
tb-icon { |
|
|
tb-icon { |
|
|
font-size: 22px; |
|
|
font-size: 36px; |
|
|
width: 22px; |
|
|
width: 36px; |
|
|
height: 22px; |
|
|
height: 36px; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-cf-title-area { |
|
|
// Compact content — Figma: flex-1, flex-col, gap-8 |
|
|
|
|
|
.tb-iot-hub-compact-content { |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
min-width: 0; |
|
|
min-width: 0; |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-name-row { |
|
|
|
|
|
margin-bottom: 2px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tb-iot-hub-card-cf-type { |
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
color: #6b7280; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tb-iot-hub-pe-badge-inline { |
|
|
|
|
|
position: static; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
align-self: flex-start; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Name row |
|
|
|
|
|
.tb-iot-hub-card-name-row { |
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: baseline; |
|
|
flex-direction: column; |
|
|
gap: 8px; |
|
|
gap: 8px; |
|
|
margin-bottom: 4px; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-name { |
|
|
// Compact name — Figma: 16px Medium, line-height 24, tracking 0.25, ellipsis |
|
|
|
|
|
.tb-iot-hub-compact-name { |
|
|
font-size: 16px; |
|
|
font-size: 16px; |
|
|
font-weight: 700; |
|
|
font-weight: 500; |
|
|
|
|
|
line-height: 24px; |
|
|
|
|
|
letter-spacing: 0.25px; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.87); |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-overflow: ellipsis; |
|
|
color: rgba(0, 0, 0, 0.87); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tb-iot-hub-card-version { |
|
|
|
|
|
font-size: 13px; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.4); |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tb-iot-hub-card-widget-type-label { |
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
color: #6b7280; |
|
|
|
|
|
margin-bottom: 4px; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Description |
|
|
// Compact meta row — Figma: flex row, gap-8, items-center |
|
|
.tb-iot-hub-card-description { |
|
|
.tb-iot-hub-compact-meta { |
|
|
font-size: 13px; |
|
|
display: flex; |
|
|
line-height: 1.4; |
|
|
align-items: center; |
|
|
color: rgba(0, 0, 0, 0.55); |
|
|
gap: 4px; |
|
|
margin: 0 0 10px; |
|
|
font-size: 12px; |
|
|
display: -webkit-box; |
|
|
line-height: 16px; |
|
|
-webkit-line-clamp: 2; |
|
|
letter-spacing: 0.25px; |
|
|
-webkit-box-orient: vertical; |
|
|
color: rgba(0, 0, 0, 0.54); |
|
|
overflow: hidden; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Node chips (Rule Chain) |
|
|
.tb-iot-hub-compact-author-icon { |
|
|
.tb-iot-hub-card-nodes { |
|
|
font-size: 16px; |
|
|
display: flex; |
|
|
width: 16px; |
|
|
gap: 6px; |
|
|
height: 16px; |
|
|
flex-wrap: nowrap; |
|
|
flex-shrink: 0; |
|
|
overflow: hidden; |
|
|
|
|
|
margin-bottom: 8px; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-node-chip { |
|
|
.tb-iot-hub-compact-creator { |
|
|
display: inline-block; |
|
|
cursor: pointer; |
|
|
padding: 2px 8px; |
|
|
|
|
|
border-radius: 6px; |
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
line-height: 16px; |
|
|
|
|
|
height: 20px; |
|
|
|
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-overflow: ellipsis; |
|
|
min-width: 0; |
|
|
|
|
|
max-width: 120px; |
|
|
&:hover { |
|
|
|
|
|
color: #00695c; |
|
|
&.node-enrichment { background: #f5fcd5; color: #4a7a00; } |
|
|
text-decoration: underline; |
|
|
&.node-filter { background: #fcfadb; color: #7a7200; } |
|
|
} |
|
|
&.node-transformation { background: #ddf2fc; color: #1a6d9e; } |
|
|
|
|
|
&.node-action { background: #fde3e2; color: #9e2a27; } |
|
|
|
|
|
&.node-analytics { background: #d5f6f4; color: #0e7a74; } |
|
|
|
|
|
&.node-external { background: #fef1d8; color: #8a5d00; } |
|
|
|
|
|
&.node-flow { background: #f3edfc; color: #5b3a9e; } |
|
|
|
|
|
&.node-unknown { background: #f5f5f5; color: rgba(0, 0, 0, 0.54); } |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-node-more { |
|
|
.tb-iot-hub-compact-dot { |
|
|
font-size: 12px; |
|
|
margin: 0 4px; |
|
|
font-weight: 500; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.45); |
|
|
|
|
|
padding: 3px 4px; |
|
|
|
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Category / use case tags |
|
|
.tb-iot-hub-compact-download-icon { |
|
|
.tb-iot-hub-card-categories { |
|
|
font-size: 12px; |
|
|
display: flex; |
|
|
width: 12px; |
|
|
gap: 4px; |
|
|
height: 12px; |
|
|
flex-wrap: wrap; |
|
|
flex-shrink: 0; |
|
|
margin-bottom: 12px; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-category-chip { |
|
|
.tb-iot-hub-compact-count { |
|
|
display: inline-block; |
|
|
|
|
|
padding: 2px 8px; |
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
background: #eff6ff; |
|
|
text-transform: uppercase; |
|
|
color: #1e6bb8; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-use-case-chip { |
|
|
// Name — Figma: 16px Medium, line-height 24, tracking 0.25, ellipsis |
|
|
display: inline-block; |
|
|
.tb-iot-hub-card-name { |
|
|
padding: 2px 8px; |
|
|
font-size: 16px; |
|
|
border-radius: 4px; |
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
background: #f0fdf4; |
|
|
line-height: 24px; |
|
|
color: #16a34a; |
|
|
letter-spacing: 0.25px; |
|
|
|
|
|
margin: 0; |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.87); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Footer |
|
|
|
|
|
|
|
|
// Footer — Figma: flex, justify-between, no border-top, inline with content |
|
|
.tb-iot-hub-card-footer { |
|
|
.tb-iot-hub-card-footer { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
font-size: 12px; |
|
|
font-size: 12px; |
|
|
color: rgba(0, 0, 0, 0.45); |
|
|
line-height: 16px; |
|
|
|
|
|
letter-spacing: 0.25px; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.54); |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-overflow: ellipsis; |
|
|
margin-top: auto; |
|
|
margin-top: auto; |
|
|
margin-left: -16px; |
|
|
|
|
|
margin-right: -16px; |
|
|
|
|
|
margin-bottom: -12px; |
|
|
|
|
|
padding: 12px 16px; |
|
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.08); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Author icon — Figma: person icon, 16px |
|
|
.tb-iot-hub-card-author-icon { |
|
|
.tb-iot-hub-card-author-icon { |
|
|
font-size: 14px; |
|
|
font-size: 16px; |
|
|
width: 14px; |
|
|
width: 16px; |
|
|
height: 14px; |
|
|
height: 16px; |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
margin-right: 4px; |
|
|
margin-right: 4px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-creator { |
|
|
.tb-iot-hub-card-creator { |
|
|
color: #1976d2; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-overflow: ellipsis; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
&:hover { |
|
|
&:hover { |
|
|
|
|
|
color: #00695c; |
|
|
text-decoration: underline; |
|
|
text-decoration: underline; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Dot separator — Figma: 3px circle, rgba(0,0,0,0.38) |
|
|
.tb-iot-hub-card-dot { |
|
|
.tb-iot-hub-card-dot { |
|
|
margin: 0 6px; |
|
|
margin: 0 8px; |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-published { |
|
|
.tb-iot-hub-card-published { |
|
|
flex-shrink: 0; |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-stats { |
|
|
.tb-iot-hub-card-stats { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
gap: 10px; |
|
|
gap: 8px; |
|
|
margin-left: auto; |
|
|
margin-left: auto; |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Download stat — Figma: download icon 12px, count 12px Medium uppercase |
|
|
.tb-iot-hub-card-stat { |
|
|
.tb-iot-hub-card-stat { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
gap: 3px; |
|
|
gap: 2px; |
|
|
font-size: 11px; |
|
|
font-size: 12px; |
|
|
color: #9ca3af; |
|
|
font-weight: 500; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.54); |
|
|
|
|
|
text-transform: uppercase; |
|
|
|
|
|
|
|
|
tb-icon { |
|
|
tb-icon { |
|
|
font-size: 14px; |
|
|
font-size: 12px; |
|
|
width: 14px; |
|
|
width: 12px; |
|
|
height: 14px; |
|
|
height: 12px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-install-btn { |
|
|
} |
|
|
padding: 5px 14px; |
|
|
|
|
|
border-radius: 6px; |
|
|
|
|
|
border: 1px solid #305680; |
|
|
|
|
|
background: transparent; |
|
|
|
|
|
color: #305680; |
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
transition: all 0.15s; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
// Install button — Figma: border rgba(0,0,0,0.12), rounded-4, px-16 py-6, text #00695c 14px Medium |
|
|
background: #305680; |
|
|
.tb-iot-hub-card-install-btn { |
|
|
color: #fff; |
|
|
padding: 6px 16px; |
|
|
} |
|
|
border-radius: 4px; |
|
|
} |
|
|
border: 1px solid rgba(0, 0, 0, 0.12); |
|
|
|
|
|
background: transparent; |
|
|
|
|
|
color: #305680; |
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
line-height: 20px; |
|
|
|
|
|
letter-spacing: 0.25px; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
transition: background 0.15s; |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-installed-label { |
|
|
&:hover { |
|
|
padding: 5px 14px; |
|
|
background: rgba(48, 86, 128, 0.04); |
|
|
border-radius: 6px; |
|
|
|
|
|
background: #e8f5e9; |
|
|
|
|
|
color: #2e7d32; |
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.tb-iot-hub-card-update-btn { |
|
|
.tb-iot-hub-card-installed-label { |
|
|
padding: 5px 14px; |
|
|
padding: 6px 16px; |
|
|
border-radius: 6px; |
|
|
border-radius: 4px; |
|
|
border: 1px solid #f57c00; |
|
|
background: #e8f5e9; |
|
|
background: transparent; |
|
|
color: #2e7d32; |
|
|
color: #f57c00; |
|
|
font-size: 14px; |
|
|
font-size: 12px; |
|
|
font-weight: 500; |
|
|
font-weight: 600; |
|
|
line-height: 20px; |
|
|
cursor: pointer; |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
flex-shrink: 0; |
|
|
transition: all 0.15s; |
|
|
} |
|
|
|
|
|
|
|
|
&:hover { |
|
|
.tb-iot-hub-card-update-btn { |
|
|
background: #f57c00; |
|
|
padding: 6px 16px; |
|
|
color: #fff; |
|
|
border-radius: 4px; |
|
|
} |
|
|
border: 1px solid #f57c00; |
|
|
} |
|
|
background: transparent; |
|
|
|
|
|
color: #f57c00; |
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
line-height: 20px; |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
transition: background 0.15s; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
background: rgba(245, 124, 0, 0.04); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|