Project

General

Profile

Feature #15880 » 0002-style-nested-menus-as-drop-downs-on-hover-in-all-thr.patch

Jan from Planio www.plan.io, 2016-06-06 14:26

View differences:

public/stylesheets/application.css
51 51
  padding: 4px 10px 4px 10px;
52 52
}
53 53
#main-menu li a:hover {background:#759FCF; color:#fff;}
54
#main-menu li:hover ul.menu-children {display: block;}
54 55
#main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
56
#main-menu li a.new-object { background-color:#759FCF; }
57

  
58
#main-menu .menu-children {
59
  display: none;
60
  position:absolute;
61
  width: inherit;
62
  z-index:1;
63
  background-color:#fff;
64
  border-right: 1px solid #759FCF;
65
  border-bottom: 1px solid #759FCF;
66
  border-left: 1px solid #759FCF;
67
}
68
#main-menu .menu-children li {float:left; clear:both; width:100%;}
69
#main-menu .menu-children li a {color: #555; background-color:#fff; font-weight:normal;}
70
#main-menu .menu-children li a:hover {color: #fff; background-color: #759FCF;}
71

  
55 72
#main-menu .tabs-buttons {
56 73
  right: 6px;
57 74
  background-color: transparent;
public/themes/alternate/stylesheets/application.css
13 13
#main-menu li a { background-color: #507AAA; font-weight: bold;}
14 14
#main-menu li a:hover { background: #507AAA; text-decoration: underline; }
15 15
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }
16
#main-menu li a.new-object { background-color:#507AAA; text-decoration: none; }
17

  
18
#main-menu .menu-children {
19
  border-right: 1px solid #507AAA;
20
  border-bottom: 1px solid #507AAA;
21
  border-left: 1px solid #507AAA;
22
}
23
#main-menu .menu-children li a:hover { background-color: #507AAA;}
24

  
16 25

  
17 26
/* Tables */
18 27
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
public/themes/classic/stylesheets/application.css
12 12
#main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 90%; padding: 4px 8px 4px 8px; font-weight: bold; }
13 13
#main-menu li a:hover { background-color: #80b0da; color: #ffffff; }
14 14
#main-menu li a.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; }
15
#main-menu li a.new-object { background-color:#80b0da; }
16

  
17
#main-menu .menu-children {
18
  border-right: 1px solid #80b0da;
19
  border-bottom: 1px solid #80b0da;
20
  border-left: 1px solid #80b0da;
21
}
22
#main-menu .menu-children li a { border-right: none; }
23
#main-menu .menu-children li a:hover { background-color: #80b0da }
15 24

  
16 25
#footer { background-color: #578bb8; border: 0; color: #fff;}
17 26
#footer a { color: #fff; font-weight: bold; }
(3-3/11)