Last change
on this file since 432 was
432,
checked in by hendrikvanantwerpen, 12 years ago
|
Split up and re-organized LESS. Not sure how it all works yet though.
|
File size:
1.9 KB
|
Line | |
---|
1 | #rft.claro { |
---|
2 | |
---|
3 | .rftLargeButton { |
---|
4 | |
---|
5 | .flatShading; |
---|
6 | margin-right: @button_large_spacing; |
---|
7 | height: @button_large_height; |
---|
8 | |
---|
9 | &*, * { |
---|
10 | -webkit-user-select: none; |
---|
11 | -moz-user-select: none; |
---|
12 | -ms-user-select: none; |
---|
13 | user-select: none; |
---|
14 | } |
---|
15 | |
---|
16 | .dijitButtonNode { |
---|
17 | |
---|
18 | .flatShading; |
---|
19 | border: none; |
---|
20 | height: @button_large_height; |
---|
21 | background: transparent; |
---|
22 | color: @headers; |
---|
23 | font-size: @button_large_font_size; |
---|
24 | .transition(0.3s); |
---|
25 | |
---|
26 | .rftIcon { |
---|
27 | .setIcon(24px); |
---|
28 | } |
---|
29 | |
---|
30 | .dijitButtonText { |
---|
31 | line-height: @button_large_height; |
---|
32 | .noMargin; |
---|
33 | padding-left: @std_offset_big; |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | &.black .dijitButtonNode .rftIcon { |
---|
38 | .setIcon(24px, black); |
---|
39 | } |
---|
40 | |
---|
41 | &.rftLargeButtonHover .dijitButtonNode, |
---|
42 | &.rftLargeButtonActive .dijitButtonNode { |
---|
43 | .transition (0.1s); |
---|
44 | } |
---|
45 | } |
---|
46 | |
---|
47 | //colors on hover |
---|
48 | span.blue.rftLargeButton.rftLargeButtonActive .dijitButtonNode, |
---|
49 | .blue .rftLargeButton.rftLargeButtonActive .dijitButtonNode { |
---|
50 | color: @blue_light; |
---|
51 | } |
---|
52 | span.orange.rftLargeButton.rftLargeButtonActive .dijitButtonNode, |
---|
53 | .orange .rftLargeButton.rftLargeButtonActive .dijitButtonNode { |
---|
54 | color: @orange_light; |
---|
55 | } |
---|
56 | span.green.rftLargeButton.rftLargeButtonActive .dijitButtonNode, |
---|
57 | .green .rftLargeButton.rftLargeButtonActive .dijitButtonNode { |
---|
58 | color: @green_light; |
---|
59 | } |
---|
60 | span.red.rftLargeButton.rftLargeButtonActive .dijitButtonNode, |
---|
61 | .red .rftLargeButton.rftLargeButtonActive .dijitButtonNode { |
---|
62 | color: @red_light; |
---|
63 | } |
---|
64 | span.purple.rftLargeButton.rftLargeButtonActive .dijitButtonNode, |
---|
65 | .purple .rftLargeButton.rftLargeButtonActive .dijitButtonNode { |
---|
66 | color: @purple_light; |
---|
67 | } |
---|
68 | |
---|
69 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.