source: Dev/trunk/src/client/qed-client/css/widgets/BlockButton.less @ 492

Last change on this file since 492 was 492, checked in by hendrikvanantwerpen, 11 years ago
  • Enable/disable buttons on content change.
  • One place to do date formatting, because it was going wrong again.
  • Serialize questions in survey properly.
  • _ComplexValueMixin consumes submit events, but does trigger outer forms if present.
  • Trigger dialog show/hide for login only after previous effect is finished.
  • Check that documents are actually valid, not just that validator returned a result.
  • Validate email and timestamp formats.
  • Prepared for live runs.
File size: 1.3 KB
Line 
1#rft.claro .rftBlockButton {
2       
3    .flatShading;
4    .noMargin;
5    height: @button_block_height;
6    vertical-align: top;
7    color: @text;
8
9    &.dijitDisabled {
10        color: @disabledtext;
11    }
12
13    .dijitButtonContents {
14        height: 24px;
15    }
16
17    .dijitButtonNode {
18        .flatShading;
19        .transition (0.3s);
20        line-height: @button_block_height;
21        vertical-align: top;
22        height: @button_block_height;
23        padding: 0 @std_offset;
24        border: none;
25        font-size: @button_block_font_size;
26
27        .dijitButtonText {
28            line-height: @button_block_height;
29        }
30
31        .rftIcon {
32            .setIcon(16px);
33        }
34    }
35
36    &.rftBlockButtonHover,
37    &.rftBlockButtonActive {
38        .transition (0.1s);
39        .rftIcon {
40            vertical-align: top;
41            .setIcon(16px, black);
42        }
43    }
44
45    //Disabled because this is presumably useless
46    // &.blue {
47    //     .blockButtonColorMixin ("blue");
48    // }
49    // &.green {
50    //     .blockButtonColorMixin ("green");
51    // }
52    // &.orange {
53    //     .blockButtonColorMixin ("orange");
54    // }
55    // &.red {
56    //     .blockButtonColorMixin ("red");
57    // }
58    // &.purple {
59    //     .blockButtonColorMixin ("purple");
60    // }
61
62}
Note: See TracBrowser for help on using the repository browser.