Changeset 409 for Dev/branches/rest-dojo-ui/client/rft/css/LESS/menus.less
- Timestamp:
- 09/05/12 16:05:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/css/LESS/menus.less
r403 r409 3 3 //Index menu 4 4 .rftIndexMenuBlock { 5 width: @ mm_blockwidth;6 height: @ mm_blockheight;5 width: @im_blockwidth; 6 height: @im_blockheight; 7 7 background: @base1; 8 8 float: left; 9 margin: @ mm_blockmargin;9 margin: @im_blockmargin; 10 10 overflow: hidden; 11 11 12 12 &:hover .rftIndexMenuMask { 13 margin-top: -@ mm_blockheight;13 margin-top: -@im_blockheight; 14 14 } 15 15 } 16 16 .rftIndexMenuMask { 17 width: @ mm_blockwidth;18 height: @ mm_blockheight;17 width: @im_blockwidth; 18 height: @im_blockheight; 19 19 background: @base1; 20 20 color: @headers; … … 23 23 .label { 24 24 color: @headers; 25 font-size: @ mm_font_size;26 height: @ mm_font_size;27 line-height: @ mm_font_size;28 margin-top: (@ mm_blockheight - @mm_font_size) / 2;25 font-size: @im_font_size; 26 height: @im_font_size; 27 line-height: @im_font_size; 28 margin-top: (@im_blockheight - @im_font_size) / 2; 29 29 float: left; 30 30 } … … 33 33 .setIcon(32px); 34 34 float: left; 35 margin: ((@ mm_blockheight - @mm_font_size)/2) 8px 0 8px;35 margin: ((@im_blockheight - @im_font_size)/2) 8px 0 8px; 36 36 } 37 } 38 .rftIndexMenuButton { 39 .flatShading; 40 .noOffset; 41 .transition (0.3s); 42 line-height: @button_indexmenu_height; 43 border: none; 44 45 .dijitButtonNode { 46 border: none; 47 color: @headers; 48 font-size: @h2Size; 49 50 .dijitButtonContents { 51 vertical-align: top; 52 53 .dijitButtonText { 54 padding-bottom: 10px; 55 line-height: 20px; 56 } 57 58 .rftIcon { 59 .setIcon (32px); 60 margin: 0 @std_offset_big; 61 } 62 } 63 64 65 } 66 67 .indexMenuMixin (@number) when (@number > 0){ 68 @height: @im_blockheight / @number; 69 height: @height; 70 71 .dijitButtonNode { 72 margin: ((@height - @button_indexmenu_content_size)/2) 0 0 0; 73 } 74 } 75 76 &.oneHeight { 77 .indexMenuMixin (4); 78 } 79 &.twoHeight { 80 .indexMenuMixin (2); 81 } 82 &.fourHeight { 83 .indexMenuMixin (1); 84 } 85 86 &.rftIndexMenuButtonHover { 87 color: @text; 88 .transition(0.1s); 89 .dijitButtonText { 90 color: @text; 91 .transition(0.1s); 92 } 93 94 &.blue { 95 background-color: @blue; 96 } 97 &.red { 98 background-color: @red; 99 } 100 &.green { 101 background-color: @green; 102 } 103 &.orange { 104 background-color: @orange; 105 } 106 &.purple { 107 background-color: @purple; 108 } 109 } 110 111 &.rftIndexMenuButtonActive { 112 .setIcon (32px, black); 113 .transition(0.3s); 114 color: @darkest; 115 background: @text; 116 117 } 118 37 119 } 38 120
Note: See TracChangeset
for help on using the changeset viewer.