[403] | 1 | #rft {
|
---|
| 2 | &.claro {
|
---|
| 3 | //Index menu
|
---|
| 4 | .rftIndexMenuBlock {
|
---|
[411] | 5 | width: @indexmenu_blockwidth;
|
---|
| 6 | height: @indexmenu_blockheight;
|
---|
[403] | 7 | background: @base1;
|
---|
| 8 | float: left;
|
---|
[411] | 9 | margin: @indexmenu_blockmargin;
|
---|
[403] | 10 | overflow: hidden;
|
---|
| 11 |
|
---|
| 12 | &:hover .rftIndexMenuMask {
|
---|
[411] | 13 | margin-top: -@indexmenu_blockheight;
|
---|
[403] | 14 | }
|
---|
| 15 | }
|
---|
| 16 | .rftIndexMenuMask {
|
---|
[411] | 17 | width: @indexmenu_blockwidth;
|
---|
| 18 | height: @indexmenu_blockheight;
|
---|
[403] | 19 | background: @base1;
|
---|
| 20 | color: @headers;
|
---|
| 21 | margin-top: 0;
|
---|
| 22 |
|
---|
| 23 | .label {
|
---|
| 24 | color: @headers;
|
---|
[411] | 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;
|
---|
[403] | 29 | float: left;
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | .rftIcon {
|
---|
| 33 | .setIcon(32px);
|
---|
| 34 | float: left;
|
---|
[411] | 35 | margin: ((@indexmenu_blockheight - @indexmenu_font_size)/2) 8px 0 8px;
|
---|
[403] | 36 | }
|
---|
| 37 | }
|
---|
[409] | 38 | .rftIndexMenuButton {
|
---|
| 39 | .flatShading;
|
---|
| 40 | .noOffset;
|
---|
| 41 | .transition (0.3s);
|
---|
| 42 | line-height: @button_indexmenu_height;
|
---|
| 43 | border: none;
|
---|
[403] | 44 |
|
---|
[409] | 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){
|
---|
[411] | 68 | @height: @indexmenu_blockheight / @number;
|
---|
[409] | 69 | height: @height;
|
---|
[411] | 70 | width: @indexmenu_blockwidth;
|
---|
[409] | 71 |
|
---|
| 72 | .dijitButtonNode {
|
---|
| 73 | margin: ((@height - @button_indexmenu_content_size)/2) 0 0 0;
|
---|
| 74 | }
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 | &.oneHeight {
|
---|
| 78 | .indexMenuMixin (4);
|
---|
| 79 | }
|
---|
| 80 | &.twoHeight {
|
---|
| 81 | .indexMenuMixin (2);
|
---|
| 82 | }
|
---|
| 83 | &.fourHeight {
|
---|
| 84 | .indexMenuMixin (1);
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | &.rftIndexMenuButtonHover {
|
---|
| 88 | color: @text;
|
---|
[411] | 89 | .transition (0.1s);
|
---|
[409] | 90 | .dijitButtonText {
|
---|
| 91 | color: @text;
|
---|
| 92 | .transition(0.1s);
|
---|
| 93 | }
|
---|
| 94 |
|
---|
| 95 | &.blue {
|
---|
| 96 | background-color: @blue;
|
---|
| 97 | }
|
---|
| 98 | &.red {
|
---|
| 99 | background-color: @red;
|
---|
| 100 | }
|
---|
| 101 | &.green {
|
---|
| 102 | background-color: @green;
|
---|
| 103 | }
|
---|
| 104 | &.orange {
|
---|
| 105 | background-color: @orange;
|
---|
| 106 | }
|
---|
| 107 | &.purple {
|
---|
| 108 | background-color: @purple;
|
---|
| 109 | }
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | &.rftIndexMenuButtonActive {
|
---|
[411] | 113 | .rftIcon {
|
---|
| 114 | .setIcon (32px, black);
|
---|
| 115 | }
|
---|
[409] | 116 | .transition(0.3s);
|
---|
| 117 | color: @darkest;
|
---|
| 118 | background: @text;
|
---|
| 119 |
|
---|
| 120 | }
|
---|
| 121 |
|
---|
| 122 | }
|
---|
| 123 |
|
---|
[403] | 124 | //Topbar dropdown menu
|
---|
| 125 | .dijitMenuPopup {
|
---|
| 126 | .dijitMenu {
|
---|
| 127 |
|
---|
| 128 | .flatShading;
|
---|
| 129 | color: @headers;
|
---|
[411] | 130 | background-color: @base;
|
---|
[403] | 131 | border: none;
|
---|
| 132 |
|
---|
| 133 | .dijitMenuItem {
|
---|
| 134 | color: @headers;
|
---|
| 135 | .flatShading;
|
---|
[411] | 136 | background-color: @base;
|
---|
[403] | 137 |
|
---|
| 138 | &.dijitMenuItemHover,
|
---|
| 139 | &.dijitMenuItemActive,
|
---|
| 140 | &.dijitMenuItemSelected {
|
---|
| 141 | .dijitMenuItemLabel {
|
---|
| 142 | color: @text;
|
---|
| 143 | }
|
---|
[411] | 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 |
|
---|
[403] | 161 | }
|
---|
| 162 |
|
---|
| 163 | .rftIcon {
|
---|
| 164 | .setIcon (16px);
|
---|
| 165 | .noMargin;
|
---|
| 166 | margin-right: @std_offset_big;
|
---|
| 167 | }
|
---|
| 168 |
|
---|
| 169 | &.dijitMenuItemActive .rftIcon {
|
---|
| 170 | .setIcon(16px, black);
|
---|
| 171 | }
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | }
|
---|
| 175 | }
|
---|
| 176 |
|
---|
| 177 |
|
---|
| 178 | //Main menu
|
---|
| 179 | .dijitMenuBar .rftMainMenuButton {
|
---|
| 180 | .flatShading;
|
---|
| 181 | .transition (0.1s);
|
---|
| 182 | border: none;
|
---|
| 183 | height: @button_mainmenu_height;
|
---|
| 184 | width: auto;
|
---|
| 185 | background: transparent;
|
---|
| 186 | color: @headers;
|
---|
| 187 | text-align: center;
|
---|
| 188 | font-size: @button_mainmenu_font_size;
|
---|
| 189 | line-height: @button_mainmenu_height;
|
---|
| 190 | padding: 0 @button_mainmenu_padding;
|
---|
| 191 | margin: 0 @button_mainmenu_spacing;
|
---|
| 192 |
|
---|
| 193 | &.dijitMenuItemHover,
|
---|
| 194 | &.dijitMenuitemActive {
|
---|
| 195 | .transition (0.1s);
|
---|
| 196 | }
|
---|
| 197 |
|
---|
| 198 | &.dijitMenuItemHover {
|
---|
| 199 | color: @text;
|
---|
| 200 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | &.dijitMenuItemActive {
|
---|
| 204 | color: @blue;
|
---|
| 205 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
| 206 | }
|
---|
| 207 | &.dijitMenuItemSelected {
|
---|
| 208 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
| 209 | color: @text;
|
---|
| 210 | }
|
---|
| 211 | }
|
---|
| 212 | }
|
---|
| 213 | } |
---|