[Autoflow] Update CSS files
Update CSS/SCSS for autoflow tabular view with changes to fix alignment of cells for WTD-685 and WTD-674; part of integration task WTD-686.
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
.autoflow {
|
||||
$headerH: $formInputH;
|
||||
$colMargin: $interiorMargin;
|
||||
$colMargin: $interiorMargin;
|
||||
$colW: 225px;
|
||||
$valW: 70px;
|
||||
$valPad: 2px;
|
||||
$rowH: 15px;
|
||||
font-size: 0.75rem;
|
||||
.l-autoflow-header {
|
||||
bottom: auto;
|
||||
height: $headerH;
|
||||
line-height: $headerH;
|
||||
line-height: $headerH;
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -16,24 +19,25 @@
|
||||
}
|
||||
|
||||
.l-autoflow-items {
|
||||
// @include test(green);
|
||||
// right: auto; width: 100; // TEMP!
|
||||
// @include test(green);
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
top: $headerH + $interiorMargin * 2;
|
||||
white-space: nowrap;
|
||||
.l-autoflow-col {
|
||||
// @include test();
|
||||
@include box-sizing(border-box);
|
||||
border-left: 1px solid $colorInteriorBorder;
|
||||
@include box-sizing(border-box);
|
||||
border-left: 1px solid $colorInteriorBorder;
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
padding-left: $colMargin;
|
||||
padding-right: $colMargin;
|
||||
width: 150px;
|
||||
// height: 100%;
|
||||
padding-left: $colMargin;
|
||||
padding-right: $colMargin;
|
||||
vertical-align: top;
|
||||
width: $colW;
|
||||
.l-autoflow-row {
|
||||
// @include test(red);
|
||||
// @include test(red);
|
||||
@include box-sizing(border-box);
|
||||
border-bottom: 1px solid rgba(#fff,0.05);
|
||||
display: block;
|
||||
height: $rowH;
|
||||
line-height: $rowH;
|
||||
@@ -42,54 +46,51 @@
|
||||
&:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
&:hover {
|
||||
background: rgba(#fff, 0.1);
|
||||
}
|
||||
&.stale {
|
||||
color: darken($colorBodyFg, 20%);
|
||||
}
|
||||
&:not(.stale) {
|
||||
.l-autoflow-item.r {
|
||||
color: lighten($colorBodyFg, 20%);
|
||||
}
|
||||
}
|
||||
&.alert {
|
||||
.l-autoflow-item.r {
|
||||
background: $colorFormError;
|
||||
padding-right: 2px;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background: rgba(#fff, 0.1);
|
||||
}
|
||||
&.stale {
|
||||
color: darken($colorBodyFg, 20%);
|
||||
}
|
||||
&:not(.stale) {
|
||||
.l-autoflow-item.r {
|
||||
color: lighten($colorBodyFg, 20%);
|
||||
}
|
||||
}
|
||||
&.alert {
|
||||
.l-autoflow-item.r {
|
||||
background: $colorFormError;
|
||||
}
|
||||
}
|
||||
&.first-in-group {
|
||||
border-top: 1px solid lighten($colorInteriorBorder, 20%);
|
||||
}
|
||||
.l-autoflow-item {
|
||||
bottom: auto;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
top: 1px; bottom: 1px;
|
||||
display: block;
|
||||
&.l {
|
||||
// @include test(orange);
|
||||
width: 60%; right: auto;
|
||||
// left: $interiorMarginSm;
|
||||
// @include test(orange);
|
||||
float: none;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: auto;
|
||||
}
|
||||
&.r {
|
||||
// @include test(blue);
|
||||
// @include test(blue);
|
||||
@include border-radius($controlCr);
|
||||
left: 60%;
|
||||
// right: $interiorMarginSm;
|
||||
float: right;
|
||||
margin-left: $interiorMargin;
|
||||
padding-left: $valPad;
|
||||
padding-right: $valPad;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-left: none;
|
||||
padding-left: 0;
|
||||
.l-autoflow-item.l {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
&:first-child {
|
||||
border-left: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user