scratch-gui
Version:
GraphicaL User Interface for creating and running Scratch 3.0 projects
69 lines (59 loc) • 1.68 kB
CSS
/*
* NOTE: the copious use of `important` is needed to overwrite
* the default tooltip styling, and is required by the 3rd party
* library being used, `react-tooltip`
*/
@import "../../css/colors.css";
.coming-soon {
background-color: $data-primary ;
border: 1px solid $ui-black-transparent) ;
border-radius: .25rem ;
box-shadow: 0 0 .5rem $ui-black-transparent ;
padding: .75rem 1rem ;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif ;
font-size: 1rem ;
line-height: 1.25rem ;
z-index: 100 ;
}
.coming-soon:after {
content: "";
border-top: 1px solid $ui-black-transparent ;
border-left: 0 ;
border-bottom: 0 ;
border-right: 1px solid $ui-black-transparent ;
border-radius: .25rem;
background-color: $data-primary ;
height: 1rem ;
width: 1rem ;
}
.show,
.show:before,
.show:after {
opacity: 1 ;
}
.left:after {
margin-top: -.5rem ;
right: -.5rem ;
transform: rotate(45deg) ;
}
.right:after {
margin-top: -.5rem ;
left: -.5rem ;
transform: rotate(-135deg) ;
}
.top:after {
margin-right: -.5rem ;
bottom: -.5rem ;
transform: rotate(135deg) ;
}
.bottom:after {
margin-left: -.5rem ;
top: -.5rem ;
transform: rotate(-45deg) ;
}
.coming-soon-image {
margin-left: .125rem;
width: 1.25rem;
height: 1.25rem;
vertical-align: middle;
}