2015-03-21 02:30:22 +03:00
|
|
|
// Truncate
|
|
|
|
//
|
2015-03-24 00:07:59 +03:00
|
|
|
// css-truncate will shorten text with an ellipsis.
|
2015-03-21 02:30:22 +03:00
|
|
|
|
|
|
|
.css-truncate {
|
|
|
|
// Truncate double target
|
|
|
|
//
|
2015-03-24 00:07:59 +03:00
|
|
|
// css-truncate will shorten text with an ellipsis. The maximum width
|
2015-03-21 02:30:22 +03:00
|
|
|
// of the truncated text can be changed by overriding the max-width
|
|
|
|
// of the .css-truncate-target
|
|
|
|
&.css-truncate-target,
|
|
|
|
.css-truncate-target {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 125px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.expandable.zeroclipboard-is-hover .css-truncate-target,
|
|
|
|
&.expandable.zeroclipboard-is-hover.css-truncate-target,
|
|
|
|
&.expandable:hover .css-truncate-target,
|
|
|
|
&.expandable:hover.css-truncate-target {
|
|
|
|
max-width: 10000px !important;
|
|
|
|
}
|
|
|
|
}
|