[Frontend] CSS enhancements

WTD-1054
Better handling of different content cases;
This commit is contained in:
Charles Hacskaylo
2015-04-29 18:13:35 -07:00
parent eafc603e03
commit 0bbe3ec99a
3 changed files with 92 additions and 60 deletions

View File

@@ -10,7 +10,7 @@ $infoBubbleBg: #ddd;
z-index: 70;
.l-infobubble {
display: inline-block;
max-width: 400px;
max-width: 250px;
padding: 5px 10px;
&:before {
content:"";
@@ -18,22 +18,35 @@ $infoBubbleBg: #ddd;
width: 0;
height: 0;
}
table tr {
td {
max-width: 150px;
padding: 2px 0;
vertical-align: top;
//white-space: nowrap;
//overflow: hidden;
//text-overflow: ellipsis;
&.value {
padding-left: $interiorMargin * 2;
}
&.align-wrap {
white-space: normal;
table {
width: 100%;
tr {
td {
//max-width: 150px;
padding: 2px 0;
vertical-align: top;
//white-space: nowrap;
//overflow: hidden;
//text-overflow: ellipsis;
&.label {
padding-right: $interiorMargin * 2;
white-space: nowrap;
}
&.value {
white-space: nowrap;
//width: 90%;
}
&.align-wrap {
white-space: normal;
}
}
}
}
.title {
@include ellipsize();
margin-bottom: $interiorMargin;
//max-width: 200px;
}
}
&.arw-left {
@@ -92,7 +105,6 @@ $infoBubbleBg: #ddd;
.title {
color: $emFg;
font-weight: bold;
margin-bottom: $interiorMargin;
}
tr {
td {