1 | #rft {
|
---|
2 | &.claro {
|
---|
3 | //Index menu
|
---|
4 | .rftIndexMenuBlock {
|
---|
5 | width: @im_blockwidth;
|
---|
6 | height: @im_blockheight;
|
---|
7 | background: @base1;
|
---|
8 | float: left;
|
---|
9 | margin: @im_blockmargin;
|
---|
10 | overflow: hidden;
|
---|
11 |
|
---|
12 | &:hover .rftIndexMenuMask {
|
---|
13 | margin-top: -@im_blockheight;
|
---|
14 | }
|
---|
15 | }
|
---|
16 | .rftIndexMenuMask {
|
---|
17 | width: @im_blockwidth;
|
---|
18 | height: @im_blockheight;
|
---|
19 | background: @base1;
|
---|
20 | color: @headers;
|
---|
21 | margin-top: 0;
|
---|
22 |
|
---|
23 | .label {
|
---|
24 | color: @headers;
|
---|
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 | float: left;
|
---|
30 | }
|
---|
31 |
|
---|
32 | .rftIcon {
|
---|
33 | .setIcon(32px);
|
---|
34 | float: left;
|
---|
35 | margin: ((@im_blockheight - @im_font_size)/2) 8px 0 8px;
|
---|
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 |
|
---|
119 | }
|
---|
120 |
|
---|
121 | //Topbar dropdown menu
|
---|
122 | .dijitMenuPopup {
|
---|
123 | .dijitMenu {
|
---|
124 |
|
---|
125 | .flatShading;
|
---|
126 | color: @headers;
|
---|
127 | border: none;
|
---|
128 |
|
---|
129 | .dijitMenuItem {
|
---|
130 | color: @headers;
|
---|
131 | .flatShading;
|
---|
132 | background-color: transparent;
|
---|
133 |
|
---|
134 | &.dijitMenuItemHover,
|
---|
135 | &.dijitMenuItemActive,
|
---|
136 | &.dijitMenuItemSelected {
|
---|
137 | .dijitMenuItemLabel {
|
---|
138 | color: @text;
|
---|
139 | }
|
---|
140 | }
|
---|
141 |
|
---|
142 | .rftIcon {
|
---|
143 | .setIcon (16px);
|
---|
144 | .noMargin;
|
---|
145 | margin-right: @std_offset_big;
|
---|
146 | }
|
---|
147 |
|
---|
148 | &.dijitMenuItemActive .rftIcon {
|
---|
149 | .setIcon(16px, black);
|
---|
150 | }
|
---|
151 | }
|
---|
152 |
|
---|
153 | }
|
---|
154 | }
|
---|
155 |
|
---|
156 |
|
---|
157 | //Main menu
|
---|
158 | .dijitMenuBar .rftMainMenuButton {
|
---|
159 | .flatShading;
|
---|
160 | .transition (0.1s);
|
---|
161 | border: none;
|
---|
162 | height: @button_mainmenu_height;
|
---|
163 | width: auto;
|
---|
164 | background: transparent;
|
---|
165 | color: @headers;
|
---|
166 | text-align: center;
|
---|
167 | font-size: @button_mainmenu_font_size;
|
---|
168 | line-height: @button_mainmenu_height;
|
---|
169 | padding: 0 @button_mainmenu_padding;
|
---|
170 | margin: 0 @button_mainmenu_spacing;
|
---|
171 |
|
---|
172 | &.dijitMenuItemHover,
|
---|
173 | &.dijitMenuitemActive {
|
---|
174 | .transition (0.1s);
|
---|
175 | }
|
---|
176 |
|
---|
177 | &.dijitMenuItemHover {
|
---|
178 | color: @text;
|
---|
179 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
180 | }
|
---|
181 |
|
---|
182 | &.dijitMenuItemActive {
|
---|
183 | color: @blue;
|
---|
184 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
185 | }
|
---|
186 | &.dijitMenuItemSelected {
|
---|
187 | font-size: @button_mainmenu_font_size + @button_mainmenu_font_grow;
|
---|
188 | color: @text;
|
---|
189 | }
|
---|
190 | }
|
---|
191 | }
|
---|
192 | } |
---|