1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/src/components/Web3message.module.scss

49 lines
1.0 KiB
SCSS

@import '../styles/variables';
.message {
margin-bottom: $spacer;
color: $brand-grey;
padding-left: 1.5rem;
position: relative;
border-bottom: .1rem solid $brand-grey-lighter;
border-top: .1rem solid $brand-grey-lighter;
padding-top: $spacer / 2;
padding-bottom: $spacer / 2;
}
// default: red square
.indicator {
display: inline-block;
width: $font-size-small;
height: $font-size-small;
background: $red;
margin-right: $spacer / 8;
position: absolute;
left: 0;
top: ($spacer / 2) + .3rem;
}
// yellow triangle
.indicatorCloseEnough {
composes: indicator;
background: none;
width: 0;
height: 0;
border-left: $font-size-small / 1.75 solid transparent;
border-right: $font-size-small / 1.75 solid transparent;
border-bottom: $font-size-small solid $yellow;
}
// green circle
.indicatorActive {
composes: indicator;
border-radius: 50%;
background: $green;
}
.account {
display: inline-block;
margin-left: $spacer / 8;
background: none;
}