@import "common.less"; .block { /* Block wrapper */ margin-bottom: 1.5em; } #footer .block { color: @footerMenuColor; } .block.first { /* The first block in the region */ } .block.last { /* The last block in the region */ } .block.odd { /* Zebra striping for each block in the region */ } .block.even { /* Zebra striping for each block in the region */ } h2.block-title { /* Block title */ } #block-aggregator-category-1 { /* Block for the latest news items in the first category */ } #block-aggregator-feed-1 { /* Block for the latest news items in the first feed */ } #block-block-1 { /* First block created with "Add block" link */ } #block-blog-recent { /* "Recent blog posts" block */ } #block-book-navigation { /* "Book navigation" block for the current book's table of contents */ } #block-comment-recent { /* "Recent comments" block */ } #block-forum-active { /* "Active forum topics" block */ } #block-forum-new { /* "New forum topics" block */ } #block-locale-language { /* Language switcher block */ } #block-menu-menu-NAME { /* Custom menu block */ } #block-node-recent { /* "Recent content" block */ } #block-node-syndicate { /* "Syndicate" block for primary RSS feed; see also page.css's .feed-icon */ } #block-poll-recent { /* "Most recent poll" block */ } #block-profile-author-information { /* "Author information" block for the profile of the page's author */ } #block-search-form { /* "Search form" block */ } #block-shortcut-shortcuts { /* "Shortcuts" block */ } #block-statistics-popular { /* "Popular content" block */ } #block-system-main-menu { /* "Main menu" block */ } #block-system-management { /* "Management" block for Drupal management menu */ } #block-system-navigation { /* "Navigation" block for Drupal navigation menu */ } #block-system-user-menu { /* "User menu" block for Drupal user menu */ } #block-system-help { /* "System help" block */ } #block-system-main { /* "Main page content" block */ } #block-system-powered-by { /* "Powered by Drupal" block */ } #block-user-login form { /* "User login form" block */ margin-left: @elementGap; } #block-user-new { /* "Who's new" block for a list of the newest users */ } #block-user-online { /* "Who's online" block for a list of the online users */ } /* Søgefelt i headeren */ #block-search-api-page-soegning { /* Collected - 20130828 jeth */ position: absolute; width: 60%; left: 20px; top: 88px; margin-bottom: 0; input.form-text, input.form-submit { float: left; height: 24px; border: 0 none; .borderRadius(3px); outline: medium none; } input.form-text { background-color: #F1F1F1; color: black; font-size: 1.4em; margin: 0; padding: 0 0 0 5px; width: 75%; @media all and (max-width: @rspBreakPoint1) { width: 50%; } &:focus { background-color: white; } } input.form-submit { background-color: #6B6B6A; color: #F1F1F1; font-size: 1.4em; font-weight: bold; margin: 0 0 0 10px; padding: 0 5px; width: 3em; &:focus { background-color: #7b7b7a; } } .form-item { margin: 0 !important } } /* Blokke med nøgleord, fag og områder */ table.views-view-grid { /* Collected - 20130828 jeth */ cell-spacing: 0; cell-padding: 0; font-size: 10px; margin: 0 !important; width: 100%; table-layout: fixed; td { padding: 5px 0 0 @elementGap; font-weight: bold; &.col-first { padding-left: 0; } &.col-last { padding-left: 15px; } } &.cols-2 td { width: @col1of2; font-size: 100%; } &.cols-3 td { width: @col2of6; font-size: @normalFontSize; } &.cols-4 td { width: 25%; font-size: 1.1em; } &.cols-6 td { width: @col1of6; font-size: 1.1em; } } body.page-taxonomy-term #content div, body.front #content div { background-color: #f8f8f8; padding-bottom: 3px; } body.page-taxonomy-term #content h1.title, body.front #content h1.title { background-color: #f8f8f8; margin: 0; padding-left: @elementGap; } body.page-taxonomy-term #content div:nth-child(1), body.front #content div:nth-child(1) { background-color: #f8f8f8; } body.page-taxonomy-term #content, body.front #content { margin-left: 0; margin-right: 0; padding-left: @elementGap; padding-right: @elementGap; width: @col4of6; } body.page-taxonomy-term #content h2 { display: none; } body.page-taxonomy-term #content h2.se_ogsaa, body.front #content div.block.last h2.block-title { display: block !important; padding-top: 0; font-size: 1.8em; margin-bottom: 0; margin-top: 0 !important; font-weight: normal; } body.front #content { h1 { display: none; } h2 { border: none; font-size: 2.8em; font-weight: normal; } } body.page-taxonomy-term #content h1 { font-size: 2.8em; letter-spacing: 0; padding-top: @elementGap; padding-bottom: @elementGap/2; } .views-row { .content, .field-content { font-size: @normalFontSize; line-height: 1.5; .content, .field-content, p, h2 { font-size:100%; } .section-skrivebord & { font-size:100%; } } .content { width: auto; margin-left: @elementGap; margin-right: @elementGap; .content { margin-left: 0; margin-right: 0; } } h2 { width: auto; margin-left: @elementGap; margin-right: @elementGap; } .field-content h2 { margin-left: 0; margin-right: 0; } } /* Redaktøren anbefaler */ .region-anbefalinger .views-row, .region-anbefalinger-alt .views-row { width: @col2of6; margin: @elementGap 0 2*@elementGap 0; float: left; } .region-anbefalinger .views-row .content img, .region-anbefalinger-alt .views-row .content img, .region-nyheder-venstre .views-row .content img, .region-nyheder-midt .views-row .content img, .region-nyheder-hoejre .views-row .content img { height: auto; width: 100%; max-width: @medPictureWidth; } .region-anbefalinger .views-row ul.links, .region-anbefalinger-alt .views-row ul.links { display: none; } /* CSS rettelser til søgesider. Kan være disse skal flyttes til anden css-fil */ .current-search-item-text .searchresult-head, .facetapi-limit-link { margin-left: @elementGap; } .hover a.facetapi-active:hover { .linkHover(); } /* Tilføjelse FacetApi's widget Links/Links with checkboxes: unizen theme tilføjer denne klasse til aktive items, se unizen_facetapi_link_active()*/ .emu-facetapi-item-active { display: inline; padding: 4px 5px; margin: 0 2px 5px 2px; margin-bottom: @elementGap; background-color: #9c9e9d; color: white; font-weight: bold; .borderRadius(2px); box-shadow: 1px 1px 3px #888; line-height: 25px; } /* * CSS til modul EMU Facets */ .emu-facet-item-active, .emu-facet-item-inactive { width: 92%; display: inline-block; position: relative; padding: 0 0 0 14px; margin: 0 2px 3px 0; font-size: 1.1em; line-height: 1.2em; font-weight: normal; } .emu-facet-item-active { background-color: #e3560f; color: white; font-weight: bold; .borderRadius(2px); /* box-shadow: 1px 1px 3px #888; */ line-height: 25px; } .emu-facet-item-active .emu-facet-item-icon, .emu-facet-item-inactive .emu-facet-item-icon { display: block; position: absolute; left: 0; .widthHeight(13px, 13px); background-image: url(http://emu3.emu.dk/sites/all/themes/unizen/images/filter-marker.png); background-repeat: no-repeat; } .emu-facet-item-active .emu-facet-item-icon { top: 6px; background-position: -26px 0; } .hover .emu-facet-item-active:hover { /* boer aendres jeth */ background-color: #f5f5f5; color: @linkColor; } .hover .emu-facet-item-active:hover .emu-facet-item-icon { /* boer aendres jeth */ top: 6px; background-position: 0 0; } .emu-facet-item-inactive .emu-facet-item-icon { background-position: 0 0; } .hover .emu-facet-item-inactive:hover .emu-facet-item-icon { /* boer aendres jeth */ background-position: -13px 0; } /* Samarbejdspartner nederst paa artikel */ .field-name-field-samarbejdspartner { h3 { margin-top: 0 !important; } p { text-align: left !important; } .field-name-field-link { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; } .left { width: @col1of6; float: left; font-weight: bold; } .middle { width: @col2of6; float: left; } .right { width: @col1of6; float: left; } } /* Samarbejdspartner til hoejre for en artikel */ .fag-samarbejdspartner { margin-bottom: @elementGap; font-size: @normalFontSize; a { margin: @elementGap/2 @elementGap 0 @elementGap; font-weight: bold; } .file-image { margin: @elementGap @elementGap @elementGap/2 @elementGap; } } /* Samarbejdspartner til hoejre for tema */ .views-field-field-samarbejdspartner { h2, ul.links { display: none; } p { font-size: @normalFontSize; } .file-image { margin: @elementGap @elementGap @elementGap/2 @elementGap; } .field-name-field-link { font-size: @normalFontSize; margin: 0 @elementGap; } } /* Beskedsystem styling */ #block-privatemsg-privatemsg-menu a, #block-privatemsg-privatemsg-new { font-size: @normalFontSize; } #block-privatemsg-privatemsg-menu ul { list-style: none; margin-left: -40px; } #block-aggregator-feed-1 div.item-list { padding-top: 180px; background-image: url(http://emu3.emu.dk/sites/all/themes/unizen/images/rss-headers/uvm.jpg); background-repeat: no-repeat; background-position: @elementGap @elementGap; } /* Tvaergaaende grid */ .emneord-for-tvaergaaende-indhold { margin: @elementGap; } /* Fri boks */ .fri-boks { h2 { margin: 0 @elementGap; padding: 0; } .field-name-field-artikelbillede { margin: @elementGap 0 @elementGap/2 0; } .field-name-field-embed-kode { margin: @elementGap; } } /* Samarbejdspartnere paa forsider */ .view-emu-samarbejdspartner-paa-forsider img { padding-top: @elementGap; padding-left: @elementGap; } div.node-samarbejdspartner .field-name-field-billede img { max-width: 200px !important; } /* RSS'er fra emu3rss.uni-c.dk */ dl.rss { margin: @elementGap/2 0; } h4.rssFeedTitle { font-size: @normalFontSize; margin: @elementGap/2 0 @elementGap 0; } p.rssFeedSource { margin: @elementGap 0 0 0 !important; } dd.rssDescription { margin: @elementGap/2 0 @elementGap 0 !important; font-size: @normalFontSize; } dd.rssDescription * { font-size: 100% !important; }