Last change
on this file was
530,
checked in by hendrikvanantwerpen, 11 years ago
|
Prevent overflow of action lines.
|
File size:
1.7 KB
|
Rev | Line | |
---|
[443] | 1 | @dndBorderSize: 6px;
|
---|
| 2 |
|
---|
| 3 | #rft.claro {
|
---|
| 4 |
|
---|
| 5 | .rftLineWithActions {
|
---|
| 6 | .flatShading();
|
---|
| 7 | position: relative;
|
---|
| 8 | height: @std_height;
|
---|
| 9 | white-space: nowrap;
|
---|
| 10 | margin: @std_offset 0;
|
---|
| 11 | color: @text;
|
---|
| 12 | .bgColor("blue");
|
---|
| 13 |
|
---|
| 14 | &.dojoDndItem {
|
---|
| 15 | .transition;
|
---|
| 16 |
|
---|
| 17 | &.dojoDndItemBefore {
|
---|
| 18 | margin-top: @dndBorderSize;
|
---|
| 19 | border-top: @dndBorderSize solid @text;
|
---|
| 20 | }
|
---|
| 21 | &.dojoDndItemAfter {
|
---|
| 22 | margin-bottom: @dndBorderSize;
|
---|
| 23 | border-bottom: @dndBorderSize solid @text;
|
---|
| 24 | }
|
---|
| 25 | &.dojoDndItemover, &.dojoDndItemAnchor {
|
---|
| 26 | background-image: none;
|
---|
| 27 | border: none;
|
---|
| 28 | padding: 2px;
|
---|
| 29 | background-color: fade(#fff, 10%); // Not sure if this will work.
|
---|
| 30 | // This is an attempt to lighten the rftLWA's colour by overlaying with transparent white.
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | .rftLineWithActionsTitle {
|
---|
| 35 | float: left;
|
---|
| 36 | margin: 0 8px;
|
---|
| 37 | overflow: hidden;
|
---|
| 38 | white-space: nowrap;
|
---|
| 39 | word-wrap: break-word;
|
---|
| 40 | line-height: 24px;
|
---|
[530] | 41 | width: 90%;
|
---|
| 42 | text-overflow: ellipsis;
|
---|
[443] | 43 | }
|
---|
| 44 |
|
---|
| 45 | .rftLineWithActionsButtons {
|
---|
| 46 | .noOffset();
|
---|
| 47 | line-height: @std_height;
|
---|
| 48 | height: @std_height;
|
---|
| 49 | position: absolute;
|
---|
| 50 | right: 0;
|
---|
| 51 | float: left;
|
---|
| 52 | }
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | // Make the currently lineWithActions draggable "wipe out" when dragging, so only the Avatar is visible!
|
---|
| 56 | .dojoDndSourceMoved {
|
---|
| 57 | .rftLineWithActions.dojoDndItemAnchor {
|
---|
| 58 | height: 0;
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
| 61 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.