Project

General

Profile

Patch #32105 » context-menu-fix.patch

Anonymous, 2019-09-21 22:40

View differences:

public/stylesheets/context_menu.css (working copy)
1
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
1
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;box-shadow: 0px 0px 5px grey;}
2 2

  
3 3
#context-menu ul, #context-menu li, #context-menu a {
4 4
  display:block;
......
12 12
  border: 1px solid #ccc;
13 13
  background:white;
14 14
  list-style:none;
15
  padding:2px;
16
  border-radius:2px;
15
  border-radius:3px;
17 16
}
18 17

  
19 18
#context-menu li {
20 19
  position:relative;
21
  padding:1px;
22 20
  z-index:39;
23 21
  border:1px solid white;
24 22
}
......
35 33

  
36 34
#context-menu a {
37 35
  text-decoration:none !important;
38
  padding: 2px 0px 2px 20px;
36
  padding: 4px 0px 4px 24px;
39 37
  width:100%; /* IE */
40 38
}
41 39
#context-menu li>a { width:auto; } /* others */
42
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
43
#context-menu li a.submenu { padding-right:16px; background:url("../images/arrow_right.png") right no-repeat; }
44
#context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; }
45
#context-menu a:hover {color:#2A5685;}
40
#context-menu a.disabled:not(.icon-checked), #context-menu a.disabled:hover {color: #aaa; filter: grayscale(100%)}
41
#context-menu li a.submenu { padding-right:16px; background: url("../images/arrow_right.png") right no-repeat; background-position: right 4% bottom 50%; transition:background-position 0.2s}
42
#context-menu li a.submenu:hover { padding-right:16px; background: #759FCF url("../images/arrow_right.png") right no-repeat; background-position: right 2% bottom 50%;}
43
/*#context-menu li:hover { background-color:#759FCF; }*/
44
#context-menu a:hover {color:white; background-color:#759FCF}
46 45
#context-menu li.folder:hover { z-index:40; }
47 46
#context-menu ul ul, #context-menu  li:hover ul ul { display:none; }
48 47
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
49 48
#context-menu a.icon-checked {background: url(../images/toggle_check.png) no-repeat 3px 40%;}
49
#context-menu a.icon {background-position: left 2% bottom 50%;}
50 50

  
51 51
/* selected element */
52 52
.context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; }
(1-1/5)