summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/shared/_contextmenu.scss
blob: 7fd182b6cdf792516155dd6b8ece1d1193e77d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * Outputs the context menu selectors and styles, which is used by Table and Tree for instance.
 * 
 * @requires {mixin} valo-selection-item-style
 * @requires {mixin} valo-selection-item-selected-style
 */
@mixin valo-contextmenu {

  .v-contextmenu {
    @include valo-selection-overlay-style;

    table {
      border-spacing: 0;
    }
  }

  .v-contextmenu .gwt-MenuItem {
    @include valo-selection-item-style;
    display: block; // Firefox 24 needs this to make position: relative; work
  }

  .v-contextmenu .gwt-MenuItem-selected {
    @include valo-selection-item-selected-style;
  }

}