source: Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftLineWithButtons.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.3 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 ("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                                        * {
30                                                background-color: fade(#fff, 10%);      // Not sure if this will work.
31                                                // This is an attempt to lighten the rftLWB's colour by overlaying with transparent white.
32                                        }
33                                }
34                        }
35
36                        .rftLineWithActionsTitle {
37                                float: left;
38                                margin: 0 8px;
39                                overflow: hidden;
40                                white-space: nowrap;
41                                word-wrap: break-word;
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                .dojoDndSourceMoved {
55                        .rftLineWithActions.dojoDndItemAnchor {
56                                height: 0;
57                        }
58                }       
59        }
60}
Note: See TracBrowser for help on using the repository browser.