source: Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftLineWithActions.less @ 411

Last change on this file since 411 was 411, checked in by tjcschipper, 13 years ago
  • LESS is finally ready for use. Some small visual bugs remain.
File size: 1.4 KB
Line 
1@dndBorderSize: 6px;
2
3#rft {  //rft nameSpace, apply this to base page! Adds 1000 to specificity by default, so easier overrides of Claro
4        &.claro {
5
6                .rftLineWithActions {
7                        .flatShading();
8                        position: relative;
9                        height: @std_height;
10                        white-space: nowrap;
11                        margin: @std_offset 0;
12                        color: @text;
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                        }
41
42                        .rftLineWithActionsButtons {
43                                .noOffset();
44                                line-height: @std_height;
45                                height: @std_height;
46                                position: absolute;
47                                right: 0;
48                                float: left;
49                        }
50                }
51
52                // Make the currently lineWithActions draggable "wipe out" when dragging, so only the Avatar is visible!
53                .dojoDndSourceMoved {
54                        .rftLineWithActions.dojoDndItemAnchor {
55                                height: 0;
56                        }
57                }       
58        }
59}
Note: See TracBrowser for help on using the repository browser.