Changeset 411 for Dev/branches/rest-dojo-ui/client/rft/css/LESS/menus.less
- Timestamp:
- 10/10/12 17:45:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/css/LESS/menus.less
r409 r411 3 3 //Index menu 4 4 .rftIndexMenuBlock { 5 width: @i m_blockwidth;6 height: @i m_blockheight;5 width: @indexmenu_blockwidth; 6 height: @indexmenu_blockheight; 7 7 background: @base1; 8 8 float: left; 9 margin: @i m_blockmargin;9 margin: @indexmenu_blockmargin; 10 10 overflow: hidden; 11 11 12 12 &:hover .rftIndexMenuMask { 13 margin-top: -@i m_blockheight;13 margin-top: -@indexmenu_blockheight; 14 14 } 15 15 } 16 16 .rftIndexMenuMask { 17 width: @i m_blockwidth;18 height: @i m_blockheight;17 width: @indexmenu_blockwidth; 18 height: @indexmenu_blockheight; 19 19 background: @base1; 20 20 color: @headers; … … 23 23 .label { 24 24 color: @headers; 25 font-size: @i m_font_size;26 height: @i m_font_size;27 line-height: @i m_font_size;28 margin-top: (@i m_blockheight - @im_font_size) / 2;25 font-size: @indexmenu_font_size; 26 height: @indexmenu_font_size; 27 line-height: @indexmenu_font_size; 28 margin-top: (@indexmenu_blockheight - @indexmenu_font_size) / 2; 29 29 float: left; 30 30 } … … 33 33 .setIcon(32px); 34 34 float: left; 35 margin: ((@i m_blockheight - @im_font_size)/2) 8px 0 8px;35 margin: ((@indexmenu_blockheight - @indexmenu_font_size)/2) 8px 0 8px; 36 36 } 37 37 } … … 66 66 67 67 .indexMenuMixin (@number) when (@number > 0){ 68 @height: @i m_blockheight / @number;68 @height: @indexmenu_blockheight / @number; 69 69 height: @height; 70 width: @indexmenu_blockwidth; 70 71 71 72 .dijitButtonNode { … … 86 87 &.rftIndexMenuButtonHover { 87 88 color: @text; 88 .transition (0.1s);89 .transition (0.1s); 89 90 .dijitButtonText { 90 91 color: @text; … … 110 111 111 112 &.rftIndexMenuButtonActive { 112 .setIcon (32px, black); 113 .rftIcon { 114 .setIcon (32px, black); 115 } 113 116 .transition(0.3s); 114 117 color: @darkest; … … 125 128 .flatShading; 126 129 color: @headers; 130 background-color: @base; 127 131 border: none; 128 132 … … 130 134 color: @headers; 131 135 .flatShading; 132 background-color: transparent;136 background-color: @base; 133 137 134 138 &.dijitMenuItemHover, … … 138 142 color: @text; 139 143 } 144 145 &.red { 146 background-color: @red; 147 } 148 &.blue { 149 background-color: @blue; 150 } 151 &.green { 152 background-color: @green; 153 } 154 &.orange { 155 background-color: @orange; 156 } 157 &.purple { 158 background-color: @purple; 159 } 160 140 161 } 141 162
Note: See TracChangeset
for help on using the changeset viewer.