1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/components/app/connected-status-indicator/index.scss
2022-11-17 12:53:51 -08:00

58 lines
1.0 KiB
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-default-hover);
}
&__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: var(--color-success-default);
}
&__green-circle &__inner-circle {
background-color: var(--color-success-default);
}
&__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;
}
}