1 | #rft {
|
---|
2 | &.claro {
|
---|
3 |
|
---|
4 | //LARGEBUTTON---------------------------------
|
---|
5 | .rftLargeButton {
|
---|
6 |
|
---|
7 | .flatShading;
|
---|
8 | margin-right: @button_large_spacing;
|
---|
9 | height: @button_large_height;
|
---|
10 |
|
---|
11 | &*, * {
|
---|
12 | -webkit-user-select: none;
|
---|
13 | -moz-user-select: none;
|
---|
14 | -ms-user-select: none;
|
---|
15 | user-select: none;
|
---|
16 | }
|
---|
17 |
|
---|
18 | .dijitButtonNode {
|
---|
19 |
|
---|
20 | .flatShading;
|
---|
21 | border: none;
|
---|
22 | height: @button_large_height;
|
---|
23 | background: transparent;
|
---|
24 | color: @headers;
|
---|
25 | font-size: @button_large_font_size;
|
---|
26 | .transition(0.3s);
|
---|
27 |
|
---|
28 | .rftIcon {
|
---|
29 | .setIcon(24px);
|
---|
30 | }
|
---|
31 |
|
---|
32 | .dijitButtonText {
|
---|
33 | line-height: @button_large_height;
|
---|
34 | .noMargin;
|
---|
35 | padding-left: @std_offset_big;
|
---|
36 | }
|
---|
37 | }
|
---|
38 |
|
---|
39 | &.black .dijitButtonNode .rftIcon {
|
---|
40 | .setIcon(24px, black);
|
---|
41 | }
|
---|
42 |
|
---|
43 | &.rftLargeButtonHover .dijitButtonNode,
|
---|
44 | &.rftLargeButtonActive .dijitButtonNode {
|
---|
45 | .transition (0.1s);
|
---|
46 | }
|
---|
47 | }
|
---|
48 |
|
---|
49 | //colors on hover
|
---|
50 | span.blue.rftLargeButton.rftLargeButtonActive .dijitButtonNode,
|
---|
51 | .blue .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
|
---|
52 | color: @blue_light;
|
---|
53 | }
|
---|
54 | span.orange.rftLargeButton.rftLargeButtonActive .dijitButtonNode,
|
---|
55 | .orange .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
|
---|
56 | color: @orange_light;
|
---|
57 | }
|
---|
58 | span.green.rftLargeButton.rftLargeButtonActive .dijitButtonNode,
|
---|
59 | .green .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
|
---|
60 | color: @green_light;
|
---|
61 | }
|
---|
62 | span.red.rftLargeButton.rftLargeButtonActive .dijitButtonNode,
|
---|
63 | .red .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
|
---|
64 | color: @red_light;
|
---|
65 | }
|
---|
66 | span.purple.rftLargeButton.rftLargeButtonActive .dijitButtonNode,
|
---|
67 | .purple .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
|
---|
68 | color: @purple_light;
|
---|
69 | }
|
---|
70 |
|
---|
71 | //BLOCKBUTTON---------------------------------
|
---|
72 | .rftBlockButton {
|
---|
73 |
|
---|
74 | .flatShading;
|
---|
75 | .noMargin;
|
---|
76 | height: @button_block_height;
|
---|
77 | vertical-align: top;
|
---|
78 |
|
---|
79 | .dijitButtonContents {
|
---|
80 | height: 24px;
|
---|
81 | }
|
---|
82 |
|
---|
83 | .dijitButtonNode {
|
---|
84 | .flatShading;
|
---|
85 | .transition (0.3s);
|
---|
86 | line-height: @button_block_height;
|
---|
87 | vertical-align: top;
|
---|
88 | height: @button_block_height;
|
---|
89 | padding: 0 @std_offset;
|
---|
90 | border: none;
|
---|
91 | color: @text;
|
---|
92 | font-size: @button_block_font_size;
|
---|
93 |
|
---|
94 | .dijitButtonText {
|
---|
95 | line-height: @button_block_height;
|
---|
96 | }
|
---|
97 |
|
---|
98 | .rftIcon {
|
---|
99 | .setIcon(16px);
|
---|
100 | }
|
---|
101 | }
|
---|
102 |
|
---|
103 | &.rftBlockButtonHover,
|
---|
104 | &.rftBlockButtonActive {
|
---|
105 | .transition (0.1s);
|
---|
106 | .rftIcon {
|
---|
107 | vertical-align: top;
|
---|
108 | .setIcon(16px, black);
|
---|
109 | }
|
---|
110 | }
|
---|
111 |
|
---|
112 | //Disabled because this is presumably useless
|
---|
113 | // &.blue {
|
---|
114 | // .blockButtonColorMixin ("blue");
|
---|
115 | // }
|
---|
116 | // &.green {
|
---|
117 | // .blockButtonColorMixin ("green");
|
---|
118 | // }
|
---|
119 | // &.orange {
|
---|
120 | // .blockButtonColorMixin ("orange");
|
---|
121 | // }
|
---|
122 | // &.red {
|
---|
123 | // .blockButtonColorMixin ("red");
|
---|
124 | // }
|
---|
125 | // &.purple {
|
---|
126 | // .blockButtonColorMixin ("purple");
|
---|
127 | // }
|
---|
128 | }
|
---|
129 |
|
---|
130 |
|
---|
131 |
|
---|
132 |
|
---|
133 |
|
---|
134 |
|
---|
135 | //INLINEBUTTON---------------------------------
|
---|
136 | .rftInlineButton {
|
---|
137 | float: right;
|
---|
138 | height: @button_inline_height;
|
---|
139 | width: @button_inline_height;
|
---|
140 |
|
---|
141 | .dijitButtonNode {
|
---|
142 | .noOffset;
|
---|
143 | .flatShading;
|
---|
144 | width: @button_inline_height;
|
---|
145 | height: @button_inline_height;
|
---|
146 | border: none;
|
---|
147 | }
|
---|
148 |
|
---|
149 | .rftIcon {
|
---|
150 | .setIcon(16px);
|
---|
151 | }
|
---|
152 | &.white .rftIcon {
|
---|
153 | .setIcon(16px);
|
---|
154 | }
|
---|
155 | &.black .rftIcon {
|
---|
156 | .setIcon(16px, black);
|
---|
157 | }
|
---|
158 |
|
---|
159 | &.dijitHover {
|
---|
160 | .rftIcon {
|
---|
161 | // outline: @headers solid thin;
|
---|
162 | }
|
---|
163 | }
|
---|
164 | }
|
---|
165 | }
|
---|
166 | } |
---|