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

29 lines
514 B
SCSS
Raw Normal View History

@import "foundation/variables";
@import "foundation/mixins";
2013-09-05 15:37:07 -04:00
.popup-tip {
position: absolute;
display: block;
padding: 5px 10px;
z-index: 101;
&.bad {
2014-08-06 09:31:13 -04:00
background: dark-light-diff($danger, $secondary, 20%, -40%);
2013-09-05 15:37:07 -04:00
color: white;
2014-08-06 09:31:13 -04:00
box-shadow: 1px 1px 5px rgba(0,0,0, .7);
2013-09-05 15:37:07 -04:00
}
&.hide, &.good {
display: none;
}
.close {
2013-09-05 15:37:07 -04:00
float: right;
color: $primary;
2013-09-05 15:37:07 -04:00
opacity: 0.5;
font-size: 15px;
margin: 0 0 0 4px;
cursor: pointer;
2013-09-05 15:37:07 -04:00
}
.close:hover {
2013-09-05 15:37:07 -04:00
opacity: 1.0;
}
}