diff --git a/frontend/src/js/components/__snapshots__/App.test.tsx.snap b/frontend/src/js/components/__snapshots__/App.test.tsx.snap index f915bf1a8..b077e266e 100644 --- a/frontend/src/js/components/__snapshots__/App.test.tsx.snap +++ b/frontend/src/js/components/__snapshots__/App.test.tsx.snap @@ -123,10 +123,6 @@ exports[`App Component > is embedded in working providers 1`] = ` } } -.emotion-0.service-provider { - grid-template-columns: 1fr max-content; -} - .emotion-0 #logo { min-width: 142px; height: 48px; @@ -158,13 +154,13 @@ exports[`App Component > is embedded in working providers 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.1s ease; - transition: all 0.1s ease; } .emotion-2 .MuiTextField-root { width: 220px; max-width: 640px; + -webkit-transition: width 0.1s ease; + transition: width 0.1s ease; } .emotion-2 .MuiTextField-root:focus-within { @@ -194,13 +190,13 @@ exports[`App Component > is embedded in working providers 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.1s ease; - transition: all 0.1s ease; } .emotion-3 .MuiTextField-root { width: 220px; max-width: 640px; + -webkit-transition: width 0.1s ease; + transition: width 0.1s ease; } .emotion-3 .MuiTextField-root:focus-within { @@ -685,43 +681,106 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p height: 100%; border-bottom-width: 0; border-right-width: thin; - color: #5f5f60; height: 24px; } -.emotion-17:hover { - color: #5f5f60; -} - .emotion-18 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; margin: 0; - font: inherit; - line-height: inherit; - letter-spacing: inherit; - color: #1d8faf; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-color: var(--Link-underlineColor); - --Link-underlineColor: rgba(29, 143, 175, 0.4); - color: #5f5f60; - color: #5f5f60; - height: 24px; + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + text-transform: none; + font-family: Red Hat Text; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + text-transform: uppercase; + min-width: 64px; + padding: 6px 16px; + border: 0; + border-radius: 4px; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + padding: 6px 8px; + color: var(--variant-textColor); + background-color: var(--variant-textBg); + color: inherit; + border-color: currentColor; + --variant-containedBg: #dededf; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + text-transform: none; + box-shadow: none; + text-transform: none; } -.emotion-18:hover { - text-decoration-color: inherit; +.emotion-18::-moz-focus-inner { + border-style: none; +} + +.emotion-18.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-18 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } } .emotion-18:hover { - color: #5f5f60; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-20 { - margin: 0; - font-family: Red Hat Text; - font-weight: 500; - font-size: 0.875rem; - line-height: 1.57; +.emotion-18.Mui-disabled { + color: rgba(0, 0, 0, 0.26); +} + +@media (hover: hover) { + .emotion-18:hover { + --variant-containedBg: #f5f5f5; + --variant-textBg: rgba(31, 31, 32, 0.04); + --variant-outlinedBg: rgba(31, 31, 32, 0.04); + } +} + +.emotion-18.MuiButton-loading { + color: transparent; +} + +.emotion-18:hover:not(.MuiButton-colorInfo) { + box-shadow: none; } .emotion-22 { @@ -783,8 +842,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p box-shadow: none; text-transform: none; color: #5f5f60; - height: 24px; - height: 100%; + max-width: 250px; } .emotion-22::-moz-focus-inner { @@ -851,15 +909,23 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } .emotion-25 { + margin: 0; + font-family: Red Hat Text; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.57; +} + +.emotion-26 { background-color: rgb(234, 234, 234); position: relative; } -.emotion-25 .MuiList-root { +.emotion-26 .MuiList-root { padding-top: 0; } -.emotion-25::after { +.emotion-26::after { content: ""; position: absolute; top: 0; @@ -870,7 +936,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p z-index: 1; } -.emotion-26 { +.emotion-27 { list-style: none; margin: 0; padding: 0; @@ -879,7 +945,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-bottom: 8px; } -.emotion-27 { +.emotion-28 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -909,12 +975,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p border-bottom: 1px solid transparent; } -.emotion-27:hover { +.emotion-28:hover { background-color: #fff; color: #1f1f20; } -.emotion-27.active { +.emotion-28.active { background-color: #fff; border-top: 1px solid rgba(0, 0, 0, 0.12); border-bottom: 1px solid rgba(0, 0, 0, 0.12); @@ -922,7 +988,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p z-index: 2; } -.emotion-28 { +.emotion-29 { -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; @@ -931,15 +997,15 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin-bottom: 4px; } -.MuiTypography-root:where(.emotion-28 .MuiListItemText-primary) { +.MuiTypography-root:where(.emotion-29 .MuiListItemText-primary) { display: block; } -.MuiTypography-root:where(.emotion-28 .MuiListItemText-secondary) { +.MuiTypography-root:where(.emotion-29 .MuiListItemText-secondary) { display: block; } -.emotion-29 { +.emotion-30 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -947,7 +1013,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.5; } -.emotion-42 { +.emotion-43 { list-style: none; margin: 0; padding: 0; @@ -959,7 +1025,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-right: 16px; } -.emotion-43 { +.emotion-44 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -972,11 +1038,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p --Link-underlineColor: rgba(29, 143, 175, 0.4); } -.emotion-43:hover { +.emotion-44:hover { text-decoration-color: inherit; } -.emotion-47 { +.emotion-48 { margin: 0; font-weight: 500; font-family: Red Hat Text; @@ -984,7 +1050,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.334; } -.emotion-48 { +.emotion-49 { -webkit-column-gap: 48px; column-gap: 48px; display: -webkit-box; @@ -998,7 +1064,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin-bottom: 48px; } -.emotion-48 .dashboard { +.emotion-49 .dashboard { -webkit-column-gap: 32px; column-gap: 32px; row-gap: 32px; @@ -1008,7 +1074,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p flex-wrap: wrap; } -.emotion-48 .dashboard .widget { +.emotion-49 .dashboard .widget { border-radius: 4px; border: 1px solid #dededf; display: grid; @@ -1019,7 +1085,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding: 16px 24px; } -.emotion-48 .dashboard .widget.chart-widget { +.emotion-49 .dashboard .widget.chart-widget { padding: 16px; width: 19vw; min-height: 235px; @@ -1027,7 +1093,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p min-width: 375px; } -.emotion-49 { +.emotion-50 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -1048,12 +1114,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } @media (min-width:1536px) { - .emotion-49 { + .emotion-50 { min-width: 50vw; } } -.emotion-53 { +.emotion-54 { display: block; background-color: rgba(31, 31, 32, 0.11); height: 1.2em; @@ -1061,110 +1127,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p animation: animation-0 2s ease-in-out 0.5s infinite; } -.emotion-54 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - position: relative; - box-sizing: border-box; - -webkit-tap-highlight-color: transparent; - background-color: transparent; - outline: 0; - border: 0; - margin: 0; - border-radius: 0; - padding: 0; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: middle; - -moz-appearance: none; - -webkit-appearance: none; - -webkit-text-decoration: none; - text-decoration: none; - color: inherit; - text-transform: none; - font-family: Red Hat Text; - font-weight: 500; - font-size: 0.875rem; - line-height: 1.75; - text-transform: uppercase; - min-width: 64px; - padding: 6px 16px; - border: 0; - border-radius: 4px; - -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - padding: 6px 8px; - color: var(--variant-textColor); - background-color: var(--variant-textBg); - color: inherit; - border-color: currentColor; - --variant-containedBg: #dededf; - -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - text-transform: none; - box-shadow: none; - text-transform: none; -} - -.emotion-54::-moz-focus-inner { - border-style: none; -} - -.emotion-54.Mui-disabled { - pointer-events: none; - cursor: default; -} - -@media print { - .emotion-54 { - -webkit-print-color-adjust: exact; - color-adjust: exact; - } -} - -.emotion-54:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-54.Mui-disabled { - color: rgba(0, 0, 0, 0.26); -} - -@media (hover: hover) { - .emotion-54:hover { - --variant-containedBg: #f5f5f5; - --variant-textBg: rgba(31, 31, 32, 0.04); - --variant-outlinedBg: rgba(31, 31, 32, 0.04); - } -} - -.emotion-54.MuiButton-loading { - color: transparent; -} - -.emotion-54:hover:not(.MuiButton-colorInfo) { - box-shadow: none; -} - -.emotion-56 { +.emotion-57 { gap: 16px; } -.emotion-57 { +.emotion-58 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1238,28 +1205,28 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p box-shadow: none; } -.emotion-57::-moz-focus-inner { +.emotion-58::-moz-focus-inner { border-style: none; } -.emotion-57.Mui-disabled { +.emotion-58.Mui-disabled { pointer-events: none; cursor: default; } @media print { - .emotion-57 { + .emotion-58 { -webkit-print-color-adjust: exact; color-adjust: exact; } } -.emotion-57.Mui-disabled { +.emotion-58.Mui-disabled { opacity: 0.38; pointer-events: none; } -.emotion-57 .MuiChip-avatar { +.emotion-58 .MuiChip-avatar { margin-left: 5px; margin-right: -6px; width: 24px; @@ -1268,12 +1235,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p font-size: 0.75rem; } -.emotion-57 .MuiChip-icon { +.emotion-58 .MuiChip-icon { margin-left: 5px; margin-right: -6px; } -.emotion-57 .MuiChip-deleteIcon { +.emotion-58 .MuiChip-deleteIcon { -webkit-tap-highlight-color: transparent; color: rgba(31, 31, 32, 0.26); font-size: 22px; @@ -1281,27 +1248,27 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin: 0 5px 0 -6px; } -.emotion-57 .MuiChip-deleteIcon:hover { +.emotion-58 .MuiChip-deleteIcon:hover { color: rgba(31, 31, 32, 0.4); } -.emotion-57 .MuiChip-icon { +.emotion-58 .MuiChip-icon { color: #5f5f60; } -.emotion-57:hover { +.emotion-58:hover { background-color: rgba(0, 0, 0, 0.12); } -.emotion-57.Mui-focusVisible { +.emotion-58.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.2); } -.emotion-57:active { +.emotion-58:active { box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12); } -.emotion-58 { +.emotion-59 { overflow: hidden; text-overflow: ellipsis; padding-left: 12px; @@ -1309,16 +1276,16 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p white-space: nowrap; } -.emotion-59 { +.emotion-60 { margin: auto; margin-left: 0; } -.emotion-59:hover svg { +.emotion-60:hover svg { color: #015969; } -.emotion-60 { +.emotion-61 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -1336,11 +1303,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p color: #1d8faf; } -.emotion-60.read { +.emotion-61.read { color: #9c9c9d; } -.emotion-61 { +.emotion-62 { position: absolute; top: -4px; bottom: -4px; @@ -1350,15 +1317,15 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p border-radius: 50%; } -.emotion-61.read { +.emotion-62.read { border-color: #9c9c9d; } -.emotion-61:hover { +.emotion-62:hover { border-color: #015969; } -.emotion-65 { +.emotion-66 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -1369,28 +1336,28 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-top: 0; } -.emotion-65 .deployments .dashboard>h4 { +.emotion-66 .deployments .dashboard>h4 { margin-top: 48px; } -.emotion-65 .deployments .dashboard>h4.margin-top-none { +.emotion-66 .deployments .dashboard>h4.margin-top-none { margin-top: 0; } @media (min-width:1536px) { - .emotion-65 { + .emotion-66 { border-left: 1px solid #9c9c9d; margin-top: -16px; padding-left: 48px; padding-top: 16px; } - .emotion-65 .deployments .dashboard>h4 { + .emotion-66 .deployments .dashboard>h4 { margin-top: 0; } } -.emotion-66 { +.emotion-67 { margin: 0; font-weight: 500; font-family: Red Hat Text; @@ -1398,7 +1365,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.75; } -.emotion-68 { +.emotion-69 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1414,11 +1381,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-left: 12px; } -.emotion-68>div:last-child { +.emotion-69>div:last-child { width: 100%; } -.emotion-70 { +.emotion-71 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -1426,7 +1393,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.43; } -.emotion-71 { +.emotion-72 { position: relative; overflow: hidden; display: block; @@ -1436,13 +1403,13 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } @media print { - .emotion-71 { + .emotion-72 { -webkit-print-color-adjust: exact; color-adjust: exact; } } -.emotion-72 { +.emotion-73 { width: 100%; position: absolute; left: 0; @@ -1457,7 +1424,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p animation: animation-1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; } -.emotion-73 { +.emotion-74 { width: 100%; position: absolute; left: 0; @@ -1473,11 +1440,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p animation: animation-2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; } -.emotion-104 { +.emotion-105 { margin-top: -10px; } -.emotion-105 { +.emotion-106 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1488,13 +1455,13 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p max-width: 500px; } -.emotion-105>time { +.emotion-106>time { -webkit-align-self: flex-end; -ms-flex-item-align: flex-end; align-self: flex-end; } -.emotion-106 { +.emotion-107 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -1502,20 +1469,20 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.66; } -.emotion-110 { +.emotion-111 { background: #fff; border-radius: 4px; padding: 4px; } -.emotion-110>.flexbox { +.emotion-111>.flexbox { -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; -webkit-justify-content: space-evenly; justify-content: space-evenly; } -.emotion-132 { +.emotion-133 { position: fixed; display: grid; bottom: 0; @@ -1624,7 +1591,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >
@@ -1680,34 +1647,37 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p
Dashboard

Accepted devices

2
@@ -1913,7 +1887,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="flexbox column full-width margin-top-x-small" >
@@ -1928,7 +1902,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="flexbox centered" >
Recent deployments
Pending

Test @@ -2059,27 +2033,27 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

test deployment @@ -2089,29 +2063,29 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

r1

test deployment 2 @@ -2121,7 +2095,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

In Progress

Test @@ -2180,27 +2154,27 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

test deployment @@ -2210,29 +2184,29 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

r1

test deployment 2 @@ -2242,7 +2216,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >

Finished

Test

test deployment

r1

test deployment 2

`; @@ -2492,10 +2466,6 @@ exports[`App Component > renders correctly 1`] = ` } } -.emotion-0.service-provider { - grid-template-columns: 1fr max-content; -} - .emotion-0 #logo { min-width: 142px; height: 48px; @@ -2527,13 +2497,13 @@ exports[`App Component > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.1s ease; - transition: all 0.1s ease; } .emotion-2 .MuiTextField-root { width: 220px; max-width: 640px; + -webkit-transition: width 0.1s ease; + transition: width 0.1s ease; } .emotion-2 .MuiTextField-root:focus-within { @@ -2563,13 +2533,13 @@ exports[`App Component > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.1s ease; - transition: all 0.1s ease; } .emotion-3 .MuiTextField-root { width: 220px; max-width: 640px; + -webkit-transition: width 0.1s ease; + transition: width 0.1s ease; } .emotion-3 .MuiTextField-root:focus-within { @@ -3054,43 +3024,106 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p height: 100%; border-bottom-width: 0; border-right-width: thin; - color: #5f5f60; height: 24px; } -.emotion-17:hover { - color: #5f5f60; -} - .emotion-18 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; margin: 0; - font: inherit; - line-height: inherit; - letter-spacing: inherit; - color: #1d8faf; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-color: var(--Link-underlineColor); - --Link-underlineColor: rgba(29, 143, 175, 0.4); - color: #5f5f60; - color: #5f5f60; - height: 24px; + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + text-transform: none; + font-family: Red Hat Text; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + text-transform: uppercase; + min-width: 64px; + padding: 6px 16px; + border: 0; + border-radius: 4px; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + padding: 6px 8px; + color: var(--variant-textColor); + background-color: var(--variant-textBg); + color: inherit; + border-color: currentColor; + --variant-containedBg: #dededf; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + text-transform: none; + box-shadow: none; + text-transform: none; } -.emotion-18:hover { - text-decoration-color: inherit; +.emotion-18::-moz-focus-inner { + border-style: none; +} + +.emotion-18.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-18 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } } .emotion-18:hover { - color: #5f5f60; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-20 { - margin: 0; - font-family: Red Hat Text; - font-weight: 500; - font-size: 0.875rem; - line-height: 1.57; +.emotion-18.Mui-disabled { + color: rgba(0, 0, 0, 0.26); +} + +@media (hover: hover) { + .emotion-18:hover { + --variant-containedBg: #f5f5f5; + --variant-textBg: rgba(31, 31, 32, 0.04); + --variant-outlinedBg: rgba(31, 31, 32, 0.04); + } +} + +.emotion-18.MuiButton-loading { + color: transparent; +} + +.emotion-18:hover:not(.MuiButton-colorInfo) { + box-shadow: none; } .emotion-22 { @@ -3152,8 +3185,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p box-shadow: none; text-transform: none; color: #5f5f60; - height: 24px; - height: 100%; + max-width: 250px; } .emotion-22::-moz-focus-inner { @@ -3220,15 +3252,23 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } .emotion-25 { + margin: 0; + font-family: Red Hat Text; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.57; +} + +.emotion-26 { background-color: rgb(234, 234, 234); position: relative; } -.emotion-25 .MuiList-root { +.emotion-26 .MuiList-root { padding-top: 0; } -.emotion-25::after { +.emotion-26::after { content: ""; position: absolute; top: 0; @@ -3239,7 +3279,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p z-index: 1; } -.emotion-26 { +.emotion-27 { list-style: none; margin: 0; padding: 0; @@ -3248,7 +3288,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-bottom: 8px; } -.emotion-27 { +.emotion-28 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3278,12 +3318,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p border-bottom: 1px solid transparent; } -.emotion-27:hover { +.emotion-28:hover { background-color: #fff; color: #1f1f20; } -.emotion-27.active { +.emotion-28.active { background-color: #fff; border-top: 1px solid rgba(0, 0, 0, 0.12); border-bottom: 1px solid rgba(0, 0, 0, 0.12); @@ -3291,7 +3331,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p z-index: 2; } -.emotion-28 { +.emotion-29 { -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; @@ -3300,15 +3340,15 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin-bottom: 4px; } -.MuiTypography-root:where(.emotion-28 .MuiListItemText-primary) { +.MuiTypography-root:where(.emotion-29 .MuiListItemText-primary) { display: block; } -.MuiTypography-root:where(.emotion-28 .MuiListItemText-secondary) { +.MuiTypography-root:where(.emotion-29 .MuiListItemText-secondary) { display: block; } -.emotion-29 { +.emotion-30 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -3316,7 +3356,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.5; } -.emotion-42 { +.emotion-43 { list-style: none; margin: 0; padding: 0; @@ -3328,7 +3368,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-right: 16px; } -.emotion-43 { +.emotion-44 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -3341,11 +3381,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p --Link-underlineColor: rgba(29, 143, 175, 0.4); } -.emotion-43:hover { +.emotion-44:hover { text-decoration-color: inherit; } -.emotion-47 { +.emotion-48 { margin: 0; font-weight: 500; font-family: Red Hat Text; @@ -3353,7 +3393,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.334; } -.emotion-48 { +.emotion-49 { -webkit-column-gap: 48px; column-gap: 48px; display: -webkit-box; @@ -3367,7 +3407,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin-bottom: 48px; } -.emotion-48 .dashboard { +.emotion-49 .dashboard { -webkit-column-gap: 32px; column-gap: 32px; row-gap: 32px; @@ -3377,7 +3417,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p flex-wrap: wrap; } -.emotion-48 .dashboard .widget { +.emotion-49 .dashboard .widget { border-radius: 4px; border: 1px solid #dededf; display: grid; @@ -3388,7 +3428,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding: 16px 24px; } -.emotion-48 .dashboard .widget.chart-widget { +.emotion-49 .dashboard .widget.chart-widget { padding: 16px; width: 19vw; min-height: 235px; @@ -3396,7 +3436,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p min-width: 375px; } -.emotion-49 { +.emotion-50 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -3417,12 +3457,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } @media (min-width:1536px) { - .emotion-49 { + .emotion-50 { min-width: 50vw; } } -.emotion-53 { +.emotion-54 { background-color: #fff; color: #1f1f20; -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; @@ -3435,7 +3475,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p border-radius: 4px; } -.emotion-54 { +.emotion-55 { margin: 0; font-family: Red Hat Text; font-weight: 500; @@ -3444,7 +3484,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p color: #1f1f20; } -.emotion-55 { +.emotion-56 { margin: 0; font-family: Red Hat Text; font-weight: 400; @@ -3453,7 +3493,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p color: #1f1f20; } -.emotion-56 { +.emotion-57 { position: relative; overflow: hidden; display: block; @@ -3463,13 +3503,13 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p } @media print { - .emotion-56 { + .emotion-57 { -webkit-print-color-adjust: exact; color-adjust: exact; } } -.emotion-57 { +.emotion-58 { width: 100%; position: absolute; left: 0; @@ -3483,110 +3523,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p transition: transform .4s linear 0ms; } -.emotion-58 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - position: relative; - box-sizing: border-box; - -webkit-tap-highlight-color: transparent; - background-color: transparent; - outline: 0; - border: 0; - margin: 0; - border-radius: 0; - padding: 0; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: middle; - -moz-appearance: none; - -webkit-appearance: none; - -webkit-text-decoration: none; - text-decoration: none; - color: inherit; - text-transform: none; - font-family: Red Hat Text; - font-weight: 500; - font-size: 0.875rem; - line-height: 1.75; - text-transform: uppercase; - min-width: 64px; - padding: 6px 16px; - border: 0; - border-radius: 4px; - -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - padding: 6px 8px; - color: var(--variant-textColor); - background-color: var(--variant-textBg); - color: inherit; - border-color: currentColor; - --variant-containedBg: #dededf; - -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; - text-transform: none; - box-shadow: none; - text-transform: none; -} - -.emotion-58::-moz-focus-inner { - border-style: none; -} - -.emotion-58.Mui-disabled { - pointer-events: none; - cursor: default; -} - -@media print { - .emotion-58 { - -webkit-print-color-adjust: exact; - color-adjust: exact; - } -} - -.emotion-58:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-58.Mui-disabled { - color: rgba(0, 0, 0, 0.26); -} - -@media (hover: hover) { - .emotion-58:hover { - --variant-containedBg: #f5f5f5; - --variant-textBg: rgba(31, 31, 32, 0.04); - --variant-outlinedBg: rgba(31, 31, 32, 0.04); - } -} - -.emotion-58.MuiButton-loading { - color: transparent; -} - -.emotion-58:hover:not(.MuiButton-colorInfo) { - box-shadow: none; -} - -.emotion-60 { +.emotion-61 { gap: 16px; } -.emotion-61 { +.emotion-62 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3660,28 +3601,28 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p box-shadow: none; } -.emotion-61::-moz-focus-inner { +.emotion-62::-moz-focus-inner { border-style: none; } -.emotion-61.Mui-disabled { +.emotion-62.Mui-disabled { pointer-events: none; cursor: default; } @media print { - .emotion-61 { + .emotion-62 { -webkit-print-color-adjust: exact; color-adjust: exact; } } -.emotion-61.Mui-disabled { +.emotion-62.Mui-disabled { opacity: 0.38; pointer-events: none; } -.emotion-61 .MuiChip-avatar { +.emotion-62 .MuiChip-avatar { margin-left: 5px; margin-right: -6px; width: 24px; @@ -3690,12 +3631,12 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p font-size: 0.75rem; } -.emotion-61 .MuiChip-icon { +.emotion-62 .MuiChip-icon { margin-left: 5px; margin-right: -6px; } -.emotion-61 .MuiChip-deleteIcon { +.emotion-62 .MuiChip-deleteIcon { -webkit-tap-highlight-color: transparent; color: rgba(31, 31, 32, 0.26); font-size: 22px; @@ -3703,27 +3644,27 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p margin: 0 5px 0 -6px; } -.emotion-61 .MuiChip-deleteIcon:hover { +.emotion-62 .MuiChip-deleteIcon:hover { color: rgba(31, 31, 32, 0.4); } -.emotion-61 .MuiChip-icon { +.emotion-62 .MuiChip-icon { color: #5f5f60; } -.emotion-61:hover { +.emotion-62:hover { background-color: rgba(0, 0, 0, 0.12); } -.emotion-61.Mui-focusVisible { +.emotion-62.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.2); } -.emotion-61:active { +.emotion-62:active { box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12); } -.emotion-62 { +.emotion-63 { overflow: hidden; text-overflow: ellipsis; padding-left: 12px; @@ -3731,16 +3672,16 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p white-space: nowrap; } -.emotion-63 { +.emotion-64 { margin: auto; margin-left: 0; } -.emotion-63:hover svg { +.emotion-64:hover svg { color: #015969; } -.emotion-64 { +.emotion-65 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3758,11 +3699,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p color: #1d8faf; } -.emotion-64.read { +.emotion-65.read { color: #9c9c9d; } -.emotion-65 { +.emotion-66 { position: absolute; top: -4px; bottom: -4px; @@ -3772,15 +3713,15 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p border-radius: 50%; } -.emotion-65.read { +.emotion-66.read { border-color: #9c9c9d; } -.emotion-65:hover { +.emotion-66:hover { border-color: #015969; } -.emotion-69 { +.emotion-70 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -3791,28 +3732,28 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p padding-top: 0; } -.emotion-69 .deployments .dashboard>h4 { +.emotion-70 .deployments .dashboard>h4 { margin-top: 48px; } -.emotion-69 .deployments .dashboard>h4.margin-top-none { +.emotion-70 .deployments .dashboard>h4.margin-top-none { margin-top: 0; } @media (min-width:1536px) { - .emotion-69 { + .emotion-70 { border-left: 1px solid #9c9c9d; margin-top: -16px; padding-left: 48px; padding-top: 16px; } - .emotion-69 .deployments .dashboard>h4 { + .emotion-70 .deployments .dashboard>h4 { margin-top: 0; } } -.emotion-70 { +.emotion-71 { margin: 0; font-weight: 500; font-family: Red Hat Text; @@ -3820,7 +3761,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p line-height: 1.75; } -.emotion-74 { +.emotion-75 { margin-top: -10px; } @@ -3916,7 +3857,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="" >
@@ -3972,34 +3913,37 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p
Dashboard

Accepted devices

2
@@ -4209,7 +4157,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p data-mui-internal-clone-element="true" >
standard

2/500 @@ -4238,11 +4186,11 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" - class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-determinate emotion-56" + class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-determinate emotion-57" role="progressbar" > @@ -4261,7 +4209,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-7:focus::-ms-input-p class="flexbox centered" >

Recent deployments
Pending
In Progress
Finished
({ - root: { - color: theme.palette.text.secondary - } -})); - -const DeploymentNotifications = ({ className = '', inprogress }) => { - const { classes } = useStyles(); - return ( - - - {inprogress} - - ); -}; +const DeploymentNotifications = ({ className = '', inprogress }) => ( + + + +); export default DeploymentNotifications; diff --git a/frontend/src/js/components/header/DeviceNotifications.tsx b/frontend/src/js/components/header/DeviceNotifications.tsx index b934f3b43..c9898a329 100644 --- a/frontend/src/js/components/header/DeviceNotifications.tsx +++ b/frontend/src/js/components/header/DeviceNotifications.tsx @@ -186,7 +186,8 @@ const DeviceNotifications = ({ className = '', total, pending }) => { return (
({ accordion: { - ul: { paddingInlineStart: 0 }, - [`&.${accordionClasses.disabled}, &.${accordionClasses.expanded}`]: { - backgroundColor: theme.palette.background.paper - }, - border: 'none', - '&:hover': { - border: 'none' - } + border: 'none' }, + accountButton: { maxWidth: 250 }, demoAnnouncementIcon: { - height: 16, - '&.MuiButton-text.MuiButton-colorPrimary': { - height: 'inherit' - } + height: 16 }, demoTrialAnnouncement: { - fontSize: 14, - height: 'auto' - }, - dropDown: { - height: '100%' + fontSize: 14 }, - exitIcon: { color: theme.palette.grey[600], fill: theme.palette.grey[600] }, + exitIcon: { color: theme.palette.grey[600] }, header: { borderBottom: `1px solid ${theme.palette.divider}`, color: theme.palette.text.secondary, display: 'grid', gridTemplateColumns: 'max-content 1fr max-content', - '&.service-provider': { - gridTemplateColumns: '1fr max-content' - }, '#logo': { minWidth: 142, height: theme.spacing(6), marginRight: 25 } }, + divider: { + height: theme.spacing(3) + }, headerSection: { color: theme.palette.text.secondary, - height: theme.spacing(3), '&:hover': { color: theme.palette.text.secondary } }, + menuPaper: { marginTop: theme.spacing() }, organization: { marginBottom: theme.spacing() }, redAnnouncementIcon: { color: theme.palette.error.dark @@ -156,14 +142,17 @@ const useStyles = makeStyles()(theme => ({ search: { justifyContent: 'center', display: 'flex', - transition: 'all 0.1s ease', [`& .${textFieldClasses.root}`]: { width: 220, maxWidth: 640, + transition: 'width 0.1s ease', '&:focus-within': { width: '100%' } } + }, + serviceProvider: { + gridTemplateColumns: '1fr max-content' } })); @@ -199,20 +188,22 @@ const AccountMenu = ({ className }) => { return ( <> My profile @@ -230,7 +221,7 @@ const AccountMenu = ({ className }) => { )} {tenants.length > 1 && (
- + { /> )} {showOffer && } - +
@@ -392,21 +383,19 @@ export const Header = ({ isDarkMode }) => { {organization.trial && }
{isSp ? ( - <> -
- - - -
- +
+ + + +
) : ( <> -
+
- - - + + +
diff --git a/frontend/src/js/components/header/__snapshots__/DeploymentNotifications.test.tsx.snap b/frontend/src/js/components/header/__snapshots__/DeploymentNotifications.test.tsx.snap index 53728f086..efbfacf3d 100644 --- a/frontend/src/js/components/header/__snapshots__/DeploymentNotifications.test.tsx.snap +++ b/frontend/src/js/components/header/__snapshots__/DeploymentNotifications.test.tsx.snap @@ -2,23 +2,118 @@ exports[`DeploymentNotifications Component > renders correctly 1`] = ` .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; margin: 0; - font: inherit; - line-height: inherit; - letter-spacing: inherit; - color: #1976d2; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-color: var(--Link-underlineColor); - --Link-underlineColor: rgba(25, 118, 210, 0.4); - color: rgba(0, 0, 0, 0.6); + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + font-family: "Roboto","Helvetica","Arial",sans-serif; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + min-width: 64px; + padding: 6px 16px; + border: 0; + border-radius: 4px; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + padding: 6px 8px; + color: var(--variant-textColor); + background-color: var(--variant-textBg); + color: inherit; + border-color: currentColor; + --variant-containedBg: #e0e0e0; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-0::-moz-focus-inner { + border-style: none; +} + +.emotion-0.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-0 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } } .emotion-0:hover { - text-decoration-color: inherit; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0.Mui-disabled { + color: rgba(0, 0, 0, 0.26); +} + +@media (hover: hover) { + .emotion-0:hover { + --variant-containedBg: #f5f5f5; + --variant-textBg: rgba(0, 0, 0, 0.04); + --variant-outlinedBg: rgba(0, 0, 0, 0.04); + } +} + +.emotion-0.MuiButton-loading { + color: transparent; } .emotion-1 { + display: inherit; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-right: 8px; + margin-left: -4px; +} + +.emotion-1::before { + content: "\\200b"; + width: 0; + overflow: hidden; +} + +.emotion-1>*:nth-of-type(1) { + font-size: 20px; +} + +.emotion-2 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -35,33 +130,28 @@ exports[`DeploymentNotifications Component > renders correctly 1`] = ` font-size: 1.25rem; } -.emotion-2 { - margin: 0; - font-family: "Roboto","Helvetica","Arial",sans-serif; - font-weight: 500; - font-size: 0.875rem; - line-height: 1.57; - letter-spacing: 0.00714em; -} -
- -
+ + `; diff --git a/frontend/src/js/components/header/__snapshots__/DeviceNotifications.test.tsx.snap b/frontend/src/js/components/header/__snapshots__/DeviceNotifications.test.tsx.snap index 4e5937c9f..7b39e6c06 100644 --- a/frontend/src/js/components/header/__snapshots__/DeviceNotifications.test.tsx.snap +++ b/frontend/src/js/components/header/__snapshots__/DeviceNotifications.test.tsx.snap @@ -847,7 +847,7 @@ exports[`DeviceNotifications Component > renders correctly 1`] = ` class="" >
@@ -1145,7 +1145,7 @@ exports[`DeviceNotifications Component > renders correctly at limit 1`] = ` class="" >
@@ -1443,7 +1443,7 @@ exports[`DeviceNotifications Component > renders correctly close to limits 1`] = class="" >
@@ -1737,7 +1737,7 @@ exports[`DeviceNotifications Component > renders correctly with limits 1`] = ` class="" >
@@ -2031,7 +2031,7 @@ exports[`DeviceNotifications Component > renders correctly without limits 1`] = class="" >