source: Dev/trunk/client/qed/css/rftLineWithActions.less @ 428

Last change on this file since 428 was 425, checked in by hendrikvanantwerpen, 12 years ago

Always use the LESS stylesheets.

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                        .bgColor("blue");
14
15                        &.dojoDndItem {
16                                .transition;
17
18                                &.dojoDndItemBefore {
19                                        margin-top: @dndBorderSize;
20                                        border-top: @dndBorderSize solid @text;
21                                }
22                                &.dojoDndItemAfter {
23                                        margin-bottom: @dndBorderSize;
24                                        border-bottom: @dndBorderSize solid @text;
25                                }
26                                &.dojoDndItemover, &.dojoDndItemAnchor {
27                                        background-image: none;
28                                        border: none;
29                                        padding: 2px;
30                                        background-color: fade(#fff, 10%);      // Not sure if this will work.
31                                        // This is an attempt to lighten the rftLWA's colour by overlaying with transparent white.
32                                }
33                        }
34
35                        .rftLineWithActionsTitle {
36                                float: left;
37                                margin: 0 8px;
38                                overflow: hidden;
39                                white-space: nowrap;
40                                word-wrap: break-word;
41                                line-height: 24px;
42                        }
43
44                        .rftLineWithActionsButtons {
45                                .noOffset();
46                                line-height: @std_height;
47                                height: @std_height;
48                                position: absolute;
49                                right: 0;
50                                float: left;
51                        }
52                }
53
54                // Make the currently lineWithActions draggable "wipe out" when dragging, so only the Avatar is visible!
55                .dojoDndSourceMoved {
56                        .rftLineWithActions.dojoDndItemAnchor {
57                                height: 0;
58                        }
59                }       
60        }
61}
Note: See TracBrowser for help on using the repository browser.