1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/connected-status-indicator/index.scss
Guillaume Roux ad28c81a39
General backgrounds and borders design token updates (#13764)
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-03-16 15:49:25 +01:00

58 lines
1008 B
SCSS

.connected-status-indicator {
display: flex;
align-items: center;
place-self: center start;
background: none;
font-size: inherit;
padding: 8px;
border-radius: 100px;
&:hover,
&:active {
background-color: var(--color-background-alternative);
}
&__inner-circle {
border-radius: 4px;
height: 4px;
width: 4px;
background-color: transparent;
}
&__green-circle,
&__yellow-circle,
&__grey-circle {
border-radius: 4px;
height: 8px;
width: 8px;
border: 1px solid transparent;
display: flex;
align-items: center;
justify-content: center;
}
&__green-circle {
border-color: #4cd964;
}
&__green-circle &__inner-circle {
background-color: #4cd964;
}
&__yellow-circle {
border-color: var(--color-warning-default);
}
&__grey-circle {
border-color: var(--color-border-default);
}
&__text {
@include H8;
color: var(--color-text-alternative);
margin-left: 6px;
white-space: nowrap;
}
}