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

29 lines
493 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: z("tooltip");
2013-09-05 15:37:07 -04:00
&.bad {
2017-06-11 22:20:14 -04:00
background: $danger-medium;
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;
2018-01-12 17:27:38 -05:00
font-size: $font-0;
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;
}
}