File tree 3 files changed +30
-34
lines changed
3 files changed +30
-34
lines changed Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
- require ( './style.scss ' ) ;
2
+ require ( './style.css ' ) ;
3
3
4
4
export default class ContextMenu extends Component {
5
5
componentDidMount ( ) {
Original file line number Diff line number Diff line change
1
+ .contextMenu {
2
+ position : fixed;
3
+ background : white;
4
+ box-shadow : 0px 2px 10px # 999999 ;
5
+ }
6
+ .contextMenu--option {
7
+ padding : 6px 50px 5px 10px ;
8
+ min-width : 160px ;
9
+ cursor : default;
10
+ font-size : 12px ;
11
+ }
12
+ .contextMenu--option : hover {
13
+ background : linear-gradient (to top, # 555, # 333 );
14
+ color : white;
15
+ }
16
+ .contextMenu--option : active {
17
+ color : # e9e9e9 ;
18
+ background : linear-gradient (to top, # 555, # 444 );
19
+ }
20
+ .contextMenu--option__disabled {
21
+ color : # 999999 ;
22
+ pointer-events : none;
23
+ }
24
+ .contextMenu--separator {
25
+ width : 100% ;
26
+ height : 1px ;
27
+ background : # CCCCCC ;
28
+ margin : 0 0 0 0 ;
29
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments