Project

General

Profile

Patch #32105 » context-menu-fix-v2.patch

Anonymous, 2019-09-26 17:24

View differences:

public/stylesheets/context_menu.css (working copy)
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;
16
  box-shadow: 0px 0px 5px grey;
17 17
}
18 18

  
19
#context-menu li {
20
  position:relative;
21
  padding:1px;
22
  z-index:39;
23
  border:1px solid white;
24
}
19
#context-menu li { position:relative; }
20
#context-menu li:first-child a {border-top-left-radius: 2px; border-top-right-radius: 2px}
21
#context-menu li:last-child a {border-bottom-left-radius: 2px; border-bottom-right-radius: 2px}
22

  
25 23
#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; max-height:300px; overflow:hidden; overflow-y: auto; }
26 24
#context-menu li.folder>ul { left:148px; }
27 25

  
......
35 33

  
36 34
#context-menu a {
37 35
  text-decoration:none !important;
38
  padding: 2px 0px 2px 20px;
36
  padding: 5px 0px 5px 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 a:hover {color:white; background-color:#759FCF}
46 44
#context-menu li.folder:hover { z-index:40; }
47 45
#context-menu ul ul, #context-menu  li:hover ul ul { display:none; }
48 46
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
49 47
#context-menu a.icon-checked {background: url(../images/toggle_check.png) no-repeat 3px 40%;}
48
#context-menu a.icon {background-position: left 2% bottom 50%;}
50 49

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