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-06 03:37:07 +08:00
.popup-tip {
position: absolute;
display: block;
padding: 5px 10px;
z-index: z("tooltip");
2013-09-06 03:37:07 +08:00
&.bad {
2017-06-12 10:20:14 +08:00
background: $danger-medium;
2013-09-06 03:37:07 +08:00
color: white;
2014-08-06 21:31:13 +08:00
box-shadow: 1px 1px 5px rgba(0,0,0, .7);
2013-09-06 03:37:07 +08:00
}
&.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;
2018-01-13 06:27:38 +08:00
font-size: $font-0;
margin: 0 0 0 4px;
cursor: pointer;
2013-09-06 03:37:07 +08:00
}
.close:hover {
2013-09-06 03:37:07 +08:00
opacity: 1.0;
}
}