discourse/app/assets/stylesheets/common/input_tip.scss

30 lines
545 B
SCSS
Raw Normal View History

@import "foundation/variables";
@import "foundation/mixins";
2013-09-06 03:37:07 +08:00
.popup-tip {
position: absolute;
display: block;
padding: 5px 10px;
z-index: 101;
@include border-radius-all(2px);
border: solid 1px #955;
&.bad {
background-color: #b66;
color: white;
box-shadow: 1px 1px 5px #777, inset 0 0 9px #b55;
}
&.hide, &.good {
display: none;
}
.close {
2013-09-06 03:37:07 +08:00
float: right;
color: $primary;
2013-09-06 03:37:07 +08:00
opacity: 0.5;
font-size: 15px;
margin-left: 4px;
cursor: pointer;
2013-09-06 03:37:07 +08:00
}
.close:hover {
2013-09-06 03:37:07 +08:00
opacity: 1.0;
}
}