@import "common.less"; a { .linkNoHover(); color: @linkColor; .hover &:hover { .linkHover() } } a.nounderline:hover { text-decoration: none; } /* * Markup generated by theme_menu_tree(). */ ul li.expanded { *list-style-image: url(../images/menu-expanded.png); list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg=='); list-style-type: circle; } ul li.collapsed { *list-style-image: url(../images/menu-collapsed.png); /* LTR */ list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */ list-style-type: disc; } ul li.leaf { *list-style-image: url(../images/menu-leaf.png); list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAD1BMVEX///+/v7+Li4sAAADAwMBFvsw8AAAAAXRSTlMAQObYZgAAAB1JREFUCFtjYAADYwMGBmYVZSDhKAwkFJWhYiAAAB2+Aa/9ugeaAAAAAElFTkSuQmCC'); list-style-type: square; } /* * The active item in a Drupal menu */ li a.active { color: #000; } /* * Navigation bar */ #navigation { display: none; } .region-navigation { margin-bottom: @elementGap; } /* * Main menu and Secondary menu links */ #main-menu { /* JEC */ background: #00647e; color: white; height: 3em; margin-right: @elementGap; width: @col1of1; a { color: white; } } #secondary-menu { float: right; } /* * Menu blocks */ /* EMU Menu */ #block-menu-menu-footer-menu { /* Collected - 20130826 jeth */ padding: 0 @elementGap 0 @elementGap; h2 { display: none; } ul { background-color: @footerMenuBgColor; color: @footerMenuColor; .zeroMarginPadding(); } > ul { .widthHeight(@col1of1, auto); float: left; .borderRadius(3px); margin-bottom: @elementGap; li { list-style: none; text-indent: 0; overflow: hidden; } > li { .widthHeight(@col1of6, auto); @media all and (max-width: @rspBreakPoint1) { .widthHeight(@col2of6, auto); } @media all and (max-width: @rspBreakPoint3) { .widthHeight(@col1of1, auto); } float: left; .zeroMarginPadding(); & + li + li + li { @media all and (max-width: @rspBreakPoint1) { clear: both; } } & + li + li + li + li { @media all and (max-width: @rspBreakPoint1) { clear: none; } } ul { margin: @elementGap 0 0 0; line-height: 1.3; li { margin: @elementGap/2 0 @elementGap/2 0; padding: 0 @elementGap 0 @elementGap; a { display: block; .zeroMarginPadding(); color: @footerMenuColor; font-weight: normal; } } } h4 { margin: 0; padding: @elementGap @elementGap 0 @elementGap; @media all and (max-width: @rspBreakPoint1) { border-top: solid 2px @footerMenuColor; } font-size: @FSbig; // font-size: 1.4em; line-height: 1.3; font-weight: bold; } } } } /* EMU Menu */ body.logged-in { background-position: center 65px; /* jeth: hvad sker der her */ } .menu-list { } #block-views-emu-temaforsidemenu-block, #block-views-emu-fagforsidemenu-block, #block-views-emu-omraadeforsidemenu-block, #artikel-menu-wrap, #environment-menu-wrap { line-height: @topMenuHeight; position: absolute; .widthHeight(100%, @topMenuHeight); top: @topMenuTopPosition; z-index: 2; } #header > .region-header { /* Collected - 20130828 jeth */ #artikel-menu-wrap, #environment-menu-wrap, #block-views-emu-omraadeforsidemenu-block, #block-views-emu-fagforsidemenu-block, #block-views-emu-temaforsidemenu-block { .page-soegning & { @media all and (max-width: @rspBreakPoint1) { display: none; } } .topMenuBackground(@topMenuBgColorTop, @topMenuBgColorBottom); .borderRadius(5px, 5px); div { display: inline-block; float: left; /* height: auto; */ } div.main-menu-content { @media all and (max-width: @rspBreakPoint1) { display: none; } } } #artikel-menu-wrap, #environment-menu-wrap { bottom: -5px; } .view-content { .topMenuBackground(@topMenuBgColorTop, @topMenuBgColorBottom); height: @topMenuHeight; overflow: hidden; &:last-child { width: auto; } .menu-item { height: @topMenuHeight; margin: 0; padding: 6px 2*@elementGap; @media all and (max-width: @rspBreakPoint1) { padding: 6px @elementGap; } border-right: 1px solid #b74818; border-left: 1px solid #e59452; border-right: 1px solid rgba(0,0,0,0.2); border-left: 1px solid rgba(255,255,255,0.2); h3 { .zeroMarginPadding(); } a { color: white; font-size: @FSbig; // font-size: 1.1em; letter-spacing: auto; } &:last-child { border-right: 0; } &.selected, .hover & a:hover { .linkNoHover(); .topMenuFlipBackground(@topMenuBgColorTop, @topMenuBgColorBottom); } } } .main-menu-content { .topMenuBackground(@topMainMenuBgColorTop, @topMainMenuBgColorBottom); .widthHeight(20em, @topMenuHeight); line-height: @topMenuHeight; .borderRadius(5px, 0); overflow: hidden; border-right: 1px solid @topMainMenuBgColorBottom; .hover & .menu-item:hover { .topMenuFlipBackground(@topMainMenuBgColorTop, @topMainMenuBgColorBottom); } } } .main-menu-popup { /* Collected - 20130828 jeth */ background: white; border: 1px solid #888; .borderRadius(2px); width: 750px; height: auto; position: absolute; top: 185px; left: 100px; box-shadow: 3px 3px 5px #888; ul { list-style-type: none; list-style-image: none !important; .zeroMarginPadding(); } li.expanded { display: block; width: 250px; float: left; background-color: #e8e8e8; padding: @elementGap 0; &.first { background-color: white; width: 249px; border-right: 1px solid #ccc; } ul { padding: 0 @elementGap; margin-top: 10px; } > h4 { color: black; font-size: @FSbig; // font-size: 1.4em; padding: 0 @elementGap; margin: 0; } } li.leaf { list-style-type: none !important; list-style-image: none !important; padding: @elementGap/2 0; } } /* Popup contact and newsletter */ .contact-popup { /* Collected - 20130828 jeth */ background: white; border: 1px solid #888; .borderRadius(2px); width: 750px; height: auto; position: absolute; top: 185px; left: 100px; box-shadow: 3px 3px 5px #888; iframe { .widthHeight(100%, 500px); border-style: none; } } body.page-contact #toolbar, body.page-contact footer, body.page-contact #cccwr, body.page-node-add-nyhedsbrevsprofil #toolbar, body.page-node-add-nyhedsbrevsprofil footer, body.page-node-add-nyhedsbrevsprofil #cccwr { display: none; } body.page-contact, body.page-contact #main, body.page-node-add-nyhedsbrevsprofil, body.page-node-add-nyhedsbrevsprofil #main { padding-top: @elementGap !important; } body.page-contact #main { padding-left: @elementGap !important; } body.page-contact #main h1 { margin: 0; } body.page-contact #page, body.page-node-add-nyhedsbrevsprofil #page { width: auto; } #node_nyhedsbrevsprofil_form_group_stamdata { border-style: none !important; } body.page-node-add-nyhedsbrevsprofil #edit-actions { margin-left: @elementGap; }