Browse Source

Redesign menu.

remotes/origin/noc
Honza "Stínovlas" Musílek 9 years ago
parent
commit
320a3a7d20
  1. 44
      mamweb/static/css/mamweb.css
  2. BIN
      mamweb/static/images/header-archiv.png
  3. BIN
      mamweb/static/images/logo.png
  4. BIN
      mamweb/static/images/menu-bg-horizontal.png
  5. BIN
      mamweb/static/images/menu-bg-selected.png
  6. BIN
      mamweb/static/images/menu-bg-vertical.png
  7. BIN
      mamweb/static/images/menu-bg.png
  8. BIN
      mamweb/static/images/submenu-bg-horizontal.png
  9. BIN
      mamweb/static/images/submenu-bg-selected.png
  10. BIN
      mamweb/static/images/submenu-bg-vertical.png
  11. BIN
      mamweb/static/images/submenu-bg.png

44
mamweb/static/css/mamweb.css

@ -58,8 +58,8 @@ h2 {
#header { #header {
position: relative; position: relative;
font-size: 250%; font-size: 250%;
background: url("../images/header-bg.png") no-repeat left top; background: url("../images/header-archiv.png") no-repeat left top;
height: 353px; height: 255px;
top: -1px; top: -1px;
} }
#header img.logo { #header img.logo {
@ -85,9 +85,10 @@ h2 {
#menu { #menu {
position: relative; position: relative;
top: -1px; top: -10px;
background: url("../images/menu-bg-vertical.png") no-repeat left top, url("../images/menu-bg-horizontal.png") repeat-x left top; z-index: 10;
background-color: #ffb52d; background: url("../images/menu-bg.png") no-repeat left top;
height: 60px;
} }
#menu ul { #menu ul {
padding: 0px; padding: 0px;
@ -97,12 +98,12 @@ h2 {
display: inline-block; display: inline-block;
border-radius: 0px; border-radius: 0px;
padding: 0px; padding: 6px 0px 0px 0px;
width: 16.66%; width: 16.66%;
min-width: 140px; min-width: 140px;
text-align: center; text-align: center;
font-size: 130%; font-size: 140%;
font-weight: 400; font-weight: 400;
font-variant: small-caps; font-variant: small-caps;
border-bottom-left-radius: 8px; border-bottom-left-radius: 8px;
@ -112,24 +113,27 @@ h2 {
display: block; display: block;
padding: 8px 10px; padding: 8px 10px;
color: #006400; color: #006400;
height: 48px;
} }
#menu a:hover { #menu a:hover {
background: url("../images/submenu-bg-vertical.png") no-repeat left top, url("../images/submenu-bg-horizontal.png") repeat-x left top; background: url("../images/menu-bg-selected.png") no-repeat left -7px;
background-color: #ffa500; background-size: 100% 68px;
text-decoration: none; text-decoration: none;
color: #003c00; color: #003c00;
} }
#menu li.selected { #menu li.selected a {
border-bottom-left-radius: 0px; background: url("../images/menu-bg-selected.png") no-repeat left -7px;
border-bottom-right-radius: 0px; background-size: 100% 68px;
background-color:#cc9024; text-decoration: none;
color: #003c00;
z-index: 15px;
} }
#submenu { #submenu {
position: relative; position: relative;
top: -1px; top: -15px;
background: url("../images/submenu-bg-vertical.png") no-repeat left top, url("../images/submenu-bg-horizontal.png") repeat-x left top; background: url("../images/submenu-bg.png") no-repeat left top;
background-color: #ffa500; height: 60px;
} }
#submenu ul { #submenu ul {
padding: 0px 15px; padding: 0px 15px;
@ -137,8 +141,9 @@ h2 {
font-weight: 400; font-weight: 400;
} }
#submenu li { #submenu li {
padding: 6px 20px; padding: 3px 20px;
display: inline-block; display: inline-block;
height: 40px;
} }
#submenu li>a { #submenu li>a {
color: #003c00; color: #003c00;
@ -148,8 +153,9 @@ h2 {
color: #3c003c; color: #3c003c;
} }
#submenu li.selected { #submenu li.selected {
background-color: #cc8400; background: url("../images/submenu-bg-selected.png") no-repeat center 1px;
background-size: 100% 100%;
/*background-color: #cc8400;*/
} }
/*#submenu li:first-child { /*#submenu li:first-child {
border-top-left-radius: 7px; border-top-left-radius: 7px;

BIN
mamweb/static/images/header-archiv.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 KiB

BIN
mamweb/static/images/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 39 KiB

BIN
mamweb/static/images/menu-bg-horizontal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

BIN
mamweb/static/images/menu-bg-selected.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
mamweb/static/images/menu-bg-vertical.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 B

BIN
mamweb/static/images/menu-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
mamweb/static/images/submenu-bg-horizontal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

BIN
mamweb/static/images/submenu-bg-selected.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
mamweb/static/images/submenu-bg-vertical.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 B

BIN
mamweb/static/images/submenu-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Loading…
Cancel
Save