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

Last change on this file since 403 was 403, checked in by tjcschipper, 13 years ago
  • Switched to LESS for stylesheets. Most of the conversion is done, it's only (predictably) the color system that is giving trouble. Plan for next week: get rid of the inherit stuff, just use proper color classes.

-> Use only a minimal .*colorName* .bg/.text class combination that doesn't inherit. Do anything more complicated than that in a page-specific stylesheet.

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