tao-test/app/taoQtiItem/views/scss/qti/_hottext.scss

110 lines
2.4 KiB
SCSS
Raw Normal View History

2022-08-29 20:14:13 +02:00
@import "inc/bootstrap";
.runtime:not(.widget-box) {
.qti-hottextInteraction {
.qti-hottext {
padding: 1px;
border-width: 1px !important;
}
}
}
.qti-hottextInteraction {
strong, em, sub, sup {
text-decoration: inherit;
}
@include rtl {
.qti-flow-container {
p {
display: flex;
flex-wrap: wrap;
}
}
}
.qti-hottext {
display: inline-block;
background: $uiClickableDefaultBg;
color: $textColor;
margin-right: 5px;
@include border-radius();
position: relative;
border-width: 0px !important;
text-decoration: inherit;
&:hover {
@extend %selectableHover;
}
&.error {
color: $error;
}
.hottext-checkmark {
padding-left: 3px;
padding-right: 0;
width: 20px;
@include rtl {
padding-left: 0px;
padding-right: 3px;
}
}
.hottext-content {
@include rtl {
padding-left: 3px;
}
}
[class^="icon-"],
[class*=" icon-"] {
&.small {
@include font-size(12);
text-shadow: none;
line-height: 10px;
top: 1px;
&:before {
right: 0em;
@include rtl {
right: -1em;
}
}
&:after {
left: -1em;
@include rtl {
right: 0em;
}
}
}
&.error {
color: $error;
}
}
}
}
// IE10+ CSS styles go here
@include ie11 {
.qti-hottextInteraction {
.qti-hottext {
[class^="icon-"],
[class*=" icon-"] {
&.small {
&:before {
right: 0.25em;
}
&:after {
right: 0.5em;
}
@include rtl {
&:before {
right: -0.25em;
}
}
}
}
}
}
}