/********************************************************************/ /*** File: main.less /*** Author: Q2E GmbH /*** Copyright: (c) 2013 Q2E GmbH office@q2e.at /*** Last Change: 23.7.2013 /*** Description: System Edwin v3.1 Frontend Framework /********************************************************************/ /** Inhalt: + Generelle Styles - Einstellungen + Framework - Links - Magnific Popup - Top Bereich - Content Bereich - Footer Bereich - Back to top + Navigation - NAVIGATION nlevel0 - Home Button - NAVIGATION nlevel1 - NAVIGATION nlevel2 - Footer Navigation + Startseiten Variationen 1-4 + Formulare - Buttons etc. + Messages + Responsive Framework - Media Queries + Helper Classes + LESS Mixins **/ /* ========================================================================== Generelle Styles - Einstellungen ========================================================================== */ /* font-colors */ @body-color: #202020; @link-color: #555; @link-color-hover: #888; @main-color: #009DDF; @form-failure-color: #b50101; @form-sucess-color: #08a100; @menu-color: #424242; @menu-level0-bgcolor: #f4f4f4; @menu-level1-bgcolor: #d9d9d9; @menu-level2-bgcolor: #c3c3c3; @background-color: #5A5A5A; @container-color: #fff; /* immer weiß */ @max-content-width: 1170px; @siteframe-padding: 100px; /* fonts */ @header-font: Arial, Helvetica, sans-serif; @main-font: Arial, Helvetica, sans-serif; @body-font-size: 87.5%; /* ca. 14px; 62,5% = 10px; 100% sind standardmäßig 16px */ /* icons */ @img-url: "../pix/"; @icon-set-black: url("@{img-url}icons_16_black.png"); @icon-set-white: url("@{img-url}icons_16.png"); @icon-list: url("@{img-url}listicon.png"); @icon-arrow: url("@{img-url}arrows.png"); @icon-content-right: url("@{img-url}content_right_sprite.png"); @icon-more: url("@{img-url}icon_more.png") no-repeat; .border-radius { -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .box-shadow { -moz-box-shadow: 2px 2px 5px #D4D4D4; -webkit-box-shadow: 2px 2px 5px #D4D4D4; box-shadow: 2px 2px 5px #D4D4D4; } .gradient { background: #f2f2f2; /* Old browsers */ background: -moz-linear-gradient(top, #f2f2f2 0%, #dddddd 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #f2f2f2 0%,#dddddd 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #f2f2f2 0%,#dddddd 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #f2f2f2 0%,#dddddd 100%); /* IE10+ */ background: linear-gradient(to bottom, #f2f2f2 0%,#dddddd 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */ } /* ========================================================================== Framework ========================================================================== */ body { color: @body-color; background-color: @background-color; font-family: @main-font; font-size: @body-font-size; line-height: 1.4; // Unitless to avoid problems with different units. padding: 0; } a { color: @link-color; text-decoration: none; &:hover { text-decoration: none; color: @link-color-hover; } &:visited { color: @link-color; } } h1 { font-size: 2em; /* 2.15em entprechen 30px */ line-height: 1.2em; font-family: @header-font; margin: 0em 0 0.3em 0; color: @main-color; font-weight: normal; } h2 { font-size: 1.85em; /* 26px */ line-height: 1.2em; /* 28px */ margin: 0.83em 0 0.2em; } h3 { margin: 1em 0 0.2em; } img { max-width: 100%; display: block; } /* Content Text Lists */ .ct_container { ul.editor-list, ul:not(.bxslider, .va_nav) { list-style: none; margin: 1em 0; padding: 0 0 0 1em; font-size: 1em; color: @main-color; li { padding-left: 1em; text-indent: -1.0em; ul { margin: 0.2em 0; li { text-indent: -1.1em; } li:before { content: "\0009F9"; // Circle, border only. font-size: 1.2em; font-weight: 400; line-height: 1em; } } } li:before { font-weight: 900; content: "\002022"; // Full circle (disc). color: @main-color; padding-right:7px; } } } .container { background-color: @container-color; margin: 0 auto; max-width: @max-content-width; //width: 100%; } .siteframe { padding: 25px @siteframe-padding 20px; //Abstand zum weißen Rand einfügen } .ct_0 .ct_container { padding-right: 0px; } .mfp-wrap, .mfp-bg { z-index: 100000; } .contact_info_sidebar { text-align: right; padding: 0px 10px 20px; line-height: 1.5em; font-size: 0.9em; position: absolute; right: 0px; bottom: 0px; } .rss_feed a { background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: url("../pix/rss_feed.gif"); background-origin: padding-box; background-position: right 0; background-repeat: no-repeat; background-size: auto auto; display: block; font-size: 11px; padding-bottom: 4px !important; padding-right: 30px !important; padding-top: 5px !important; } .backlink { position: relative; margin-bottom: 10px; a.navfont { padding-left: 22px; } span { background-image: url("../pix/backlink_icon.png"); background-position: center center; background-repeat: no-repeat; display: block; height: 16px; left: 0; position: absolute; top: 0; width: 16px; } } /***** Links *****/ /*****************/ a.nlink3_more_link { color: @main-color; display: block; margin-left: 0px; padding-left: 0px; margin-top: 7px; &:hover { color: @link-color-hover; } } a.nlink3i { color: @main-color; &:visited { color: @main-color; } &:hover { color: @link-color-hover; } } a.nlink3, a.nlink5, a.nlink3a { color: @main-color; &:visited { color: @main-color; } &:hover { color: @link-color-hover; } } .bullet { width: 9px; height: 9px; display: inline-block; margin-right: 5px; margin-top: 1px; background-color: @main-color; } /****** Magnific Popup Allgemeine Überschreibungen *****/ .mfp-content { .mfp-iframe-scaler iframe { position: absolute; display: block; top: 0; left: 0; width: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: #fff; } .mfp-title { color: #ccc; } } /****** Top Bereich *****/ /************************/ .header-text { text-align: right; font-size: 0.85em; margin-bottom: 10px; line-height: 1.7em; margin-top: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .searchfield { text-align: right; } .breadcrumb { color: #aaa; font-size: 0.85em; margin-bottom: 10px; a { padding: 0px 3px; color: #aaa; &:hover, &:focus, &.bc_current { color: @main-color; } } } .ct_0 .breadcrumb { .hidden; } .top { position: relative; .logo { padding: 0px 0px; margin-bottom: 20px; display: inline-block; position: relative; z-index: 0; img { width: 100%; max-width: 100%; } a { display: inline-block; } } .top-side { margin-bottom: 20px; position: absolute; right: 0px; top: 0px; } .logo2 { display: none; visibility: hidden; } } /***** Content Bereich *****/ /***************************/ .sidebar_right { background-color: #fff; min-height: 500px !important; position: relative; } .sidebar_left { background-color: #efefef; } /* Startseite - keine Sidebar */ .ct_0 { .sidebar_right { .hidden; } .sidebar_left { .hidden; } .ct_container { width: 100% !important; margin-left: 0px; } } .ct_img { font-size: 0.9em; color: #999; position: relative; img { padding-bottom: 0px; } a { display: block; } .ct_zoom { background: url(../pix/blank.gif); display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 100; img { display: none; left: 5px; position: absolute; top: 5px; } &:hover img { display: block; }; } } // Abstand bei .ct_img wenn div rechts nicht gefloatet wird .ct_img_gap { padding-top: 4px; margin-right: 2.5641%; } .rss_feed { text-align: right; } .search_pages { .active_link { padding: 2px 6px; color: #fff; background: @main-color; margin: 0px 1px; font-weight: normal; } .inactive_link { padding: 2px 6px; margin: 0px 1px; font-weight: normal; &:hover { background: #000; color: #fff; } } } /***** Footer Bereich *****/ /**************************/ .footer { padding: 10px @siteframe-padding 0px; font-size: 1em; line-height: 1.6em; .footer-container { border-top: solid 1px @body-color; padding-top: 10px; } a, a.nlink3 { color: @main-color; &:hover { color: #ccc; } } .footer-text { text-align: left; } .branding { text-align: center; margin-top: 10px; a { display: inline-block; background: url("../pix/fredwin_logo_branding_schwarz.png") 0px 0px no-repeat; width: 124px; height: 28px; } } } /***** Back to Top - Button *****/ /********************************/ #back-top { position: fixed; bottom: 15px; margin-left: 0px; left:16px; text-align:center; z-index:1000; } #back-top { a { width: 75px; display: block; text-align: center; font: 11px/100% Arial, Helvetica, sans-serif; text-transform: uppercase; text-decoration: none; color: #666666; -webkit-transition: 0.3s; -moz-transition: 0.3s; transition: 0.3s; &:hover { color: #000; span { background-color: #666; } } } span { width: 55px; height: 55px; display: block; margin: 0px auto 7px auto; background: #888 url(../pix/up-arrow.png) no-repeat center center; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } } /* ========================================================================== Navigation ========================================================================== */ /****** NAVIGATION nlevel0 ******/ /********************************/ .nav { .nlevel0 { font-size: 1em; /* 12px */ margin: 5px 0px 14px 0px; ul { padding: 0px; margin: 0px; background-color: #f0f0f0; li { list-style: none; float: left; margin: 0px; border-left: solid 1px #fff; a { color: #202020; } &:hover, &.nl0_active, &.nl0_below { background-color: @main-color; a { color: #fff; } } span { padding: 11px 12px 10px; text-align: center; display: inline-block; } } } } } /* HOME-BUTTON */ /***************/ .nav { .nlevel0 { .nl0_1 { max-width: 45px; a { &.nl0_inactive { background: url("../pix/bg_home.png") center center no-repeat; padding: 12px 8px; } &.nl0_active, &.nl0_inactive:hover { background: url("../pix/bg_home_active.png") center center no-repeat; padding: 12px 8px; } } span { visibility: hidden; width: 0px; } } } } /****** NAVIGATION nlevel1 ******/ /********************************/ .nav { .nlevel1 { padding-left: 20px; margin-bottom: 20px; ul { margin-left: 0px; padding-left: 0px; li { list-style: none; float: left; padding-right: 20px; a { .bullet { width: 9px; height: 9px; display: inline-block; background-color: @body-color; margin-right: 4px; } &:hover, &:active { .bullet { background-color: @main-color; } } } a.nl1_active, a.nl1_below { .bullet { background-color: @main-color; } } } } } } /****** NAVIGATION nlevel2 ******/ /********************************/ .nav { .backlink { font-size: 0.9em; a.navfont { padding-left: 22px; } span { background-image: url("../pix/backlink_icon.png"); background-position: center center; background-repeat: no-repeat; background-color: @main-color; display: block; height: 16px; left: 0; position: absolute; top: 0; width: 16px; } } .nlevel2 { background: #f0f0f0; margin: 5px 0; padding: 8px 19px 8px; ul { margin: 0px; padding-left: 0px; li { list-style: none; float: left; padding-right: 20px; a { color: @body-color; &.nl2_active { font-weight: bold; } &:hover { text-decoration: underline; } } } } } } /******** NESTED Level 2 ********/ /********************************/ .mod_nnav_2 { padding: 10px; margin-top: 10px; .navfont { padding-left: 10px; margin-bottom: 5px; display: inline-block; } .parent_label { background-color: @main-color; padding: 10px 7px; color: #fff; a { color: #fff; } } ul { margin: 5px 0px; li { list-style: none; padding-bottom: 3px; .bullet { margin-right: 2px; } a { color: @body-color; &:hover { color: @link-color-hover; } } &.item_below, &.item_active, &:hover { > a { color: @main-color; } .bullet { background-color: @main-color; } } } &.mod_nnav_items_1 { padding: 0px 0px 0px 10px; } &.mod_nnav_items_2 { background-color: #fff; padding: 5px 0px 5px 16px; a { color: @body-color; &.mod_nnlink_2_active { font-weight: bold; } } } } } /* ========================================================================== MOBILE - Navigationen ========================================================================== */ /* NestedNavLevel1 */ /* ModulSitemapNav */ /* DoubleNestedNavLevel2 */ /* ========================================================================== */ .navbar { .hidden; margin-bottom: 5px; .navbar-inner { background: none; border: none; box-shadow: none; padding-left: 0px; padding-right: 0px; .btn-navbar { margin-bottom: 0px; margin-top: 10px; margin-left: 0px; margin-right: 0px; padding: 8px 0px 6px; border: none; color: @main-color; font-size: 1.1em; font-weight: bold; box-shadow: none; text-shadow: none; text-align: right; width: 100%; background-color: #efefef; background-image: none; i { font-size: 1.4em; padding-left: 5px; text-shadow: none; font-weight: normal; margin-right: 10px; } } .brand { margin-top: 20px; float: right; font-size: 0.9em; color: @main-color; padding-bottom: 0px; } a.btn { box-shadow: none; border-radius: 0px; } a.collapsed { box-shadow: none; border-radius: 0px; } .nav-collapse { background-color: #eee; margin-bottom: 6px; ul { padding-left: 0px; margin: 0px; li { &.open { ul { display: block; } } a { font-weight: normal; border-bottom: solid 1px #dcdcdc; color: @menu-color; margin-bottom: 0px; background-color: @menu-level0-bgcolor; text-shadow: none; } // Level 0 active &.active, &.below, &.mod_sn_item_active, &.mod_sn_item_0:hover { a.nnlink_1, a.mod_sn_item_0, a.nl0_below, a.nl0_active { background-color: @main-color; color: #fff; text-shadow: none; -moz-border-radius: 0px; border-radius: 0px; font-weight: normal; box-shadow: none; } } // Level1 &.nnav_2_item, &.mod_double_nnav_2_item, &.mod_sn_item_1 { a { background-color: @menu-level1-bgcolor; border-bottom: solid 1px #e9e9e9; padding-left: 40px; font-size: 0.9em; font-weight: normal; padding-top: 5px; padding-bottom: 5px; margin-bottom: 0px; -moz-border-radius: 0px; border-radius: 0px; background-image: none; &:hover { background-image: none; background: #f8f7f7; } } // level 1 active &.active, &.below, &.mod_sn_item_active { a.mod_sn_item_1, a.nnlink_2, a.mod_double_nnlink_2 { background-image: none !important; background: #f8f7f7; } } &.dropdown-submenu:hover { .dropdown-menu { display: none; } } } // Level2 &.mod_sn_item_2, &.mod_double_nnav_3_item { padding-left: 0px; a { padding-left: 60px; background-color: @menu-level2-bgcolor; border-bottom: solid 1px #e9e9e9; &:hover { background-color: #fff; } &.dropdown-toggle:focus { background-color: #fff; } } // Level2 active &.active, &.mod_sn_item_active { a.mod_sn_item_2, a.mod_double_nnlink_3 { background-image: none !important; background: #fff; font-weight: bold; } } } } } } } /* HOME-BUTTON */ /***************/ .nav { .nl0_1 { .hidden; } } } /******** Footer Navigation ******/ /********************************/ .nav-footer { text-align: left; position: relative; .fnlevel0 { padding: 0px; margin: 0px; position: absolute; right: 0px; li { list-style: none; float: left; font-weight: bold; .spacer { padding: 0px 2px; } &:first-child { .spacer { display: none; visibility: hidden } } a { color: @main-color; &:hover, &:active, &.nl0_active { color: #bbb; } } } } } /* ============================================================================= */ /* ModuleSiteIndexCompendium */ /* ============================================================================= */ /**** K L A S S I K 1 ****/ /***************************/ .si_variation_1 { /* SI AREA 1 */ .si_area1 { .bx-wrapper { margin-bottom: 25px; .bx-viewport { border: 0px !important; left: 0px !important; box-shadow: none !important; .bxslider { padding: 0px; margin: 0px; li { list-style: none; .si_area_box_content { background: url("../pix/slider_bg.png") repeat scroll 0 0 transparent; color: #fff; padding: 12px 18px 15px; position: absolute; right: 0; bottom: 12%; width: 46%; h1, a { color: #fff; } } } } } a.bx-pager-link { width: 9px !important; height: 9px !important; margin-left: 4px !important; } a.active { background-color: @main-color !important; } } // bx-wrapper @media (max-width: 767px) { .bxslider { li { .si_area_box_content { bottom: 10px; top: auto; } } } .si_area_box_content { display: none; visibility: hidden; } } } // SI AREA 1 /* SI AREA 2 */ .si_area2 { margin: 20px 0px 20px; h1 { color: @main-color; font-weight: bold; font-size: 1.3em; display: block; a { color: @main-color; &:hover { color: @link-color-hover; } } } .si_area2_box_text { margin: 10px 0px 25px; padding: 5px 20px 10px; height: 205px; } .si_area2_box { margin-bottom: 20px; max-width: 300px; height: 425px; &.si_area2_box1, &.si_area2_box2, &.si_area2_box4, &.si_area2_box5 { margin-right: 10px; } &.si_area2_box4 { margin-left: 0px; } } @media (max-width: 1200px) { .si_area2_box_text { min-height: 245px; } .si_area2_box { height: 429px; &.si_area2_box1, &.si_area2_box2 { margin-right: 0px; } } } @media (min-width: 768px) and (max-width: 979px) { .si_area2_box { height: 482px; } .si_area2_box_text { height: 320px; } } @media (max-width: 767px) { .si_area2_box { width: 100%; max-width: 100%; height: auto; .si_area2_box_text { height: auto !important; padding-top: 12px; min-height: 0px; } .si_area2_box_image { padding-left: 20px; } } } } // SI AREA 2 } // K L A S S I K 1 /***** F A S H I O N 1 *****/ /*****************************/ .si_variation_2 { /* SI AREA 1 */ .si_area1 { margin-bottom: 30px; .bx-wrapper { margin-bottom: 25px; .bx-viewport { border: 0px !important; left: 0px !important; .bxslider { padding: 0px; margin: 0px; li { list-style: none; } } } a.bx-pager-link { width: 9px !important; height: 9px !important; margin-left: 4px !important; } a.active { background-color: @main-color !important; } } // bx-wrapper } // SI AREA 1 /* SI AREA 2 */ .si_area2 { margin-bottom: 30px; .si_area2_box { margin-bottom: 20px; } h1 { font-size: 1.4em; } .si_area2_box_text { color: @body-color; a { color: @body-color; &:hover { color: @link-color-hover; } } .nlink3_more_link { text-align: right; color: @main-color; } } .si_area2_box_image { .ct_img_gap; } @media (max-width: 767px) { .si_area2_box_image { width: 30%; margin-right: 5px; float: left; } } } // SI AREA 2 .si_area_container { background-color: #efefef; padding: 20px 20px 0px 20px; margin-top: 30px; margin-bottom: 40px; } /* SI AREA 3, SI AREA 4 */ .si_area3, .si_area4 { padding-right: 20px; margin-bottom: 20px; h1 { margin-bottom: 15px; } .si_area3_box, .si_area4_box { h1 { font-size: 1.1em; font-weight: bold; margin-bottom: 1px; } .si_area3_box_text, .si_area4_box_text { color: @body-color; margin-bottom: 15px; a { color: @body-color; &:hover { color: @link-color-hover; } } } } } /* SI AREA 5 */ .si_area5 { padding-right: 20px; margin-bottom: 30px; h1 { margin-bottom: 15px; font-weight: normal; font-size: 1.8em; } .si_area5_box { margin-bottom: 5px; h1 { font-size: 1.1em; font-weight: normal; margin-bottom: 5px; } .si_area5_box_text { color: @body-color; margin-bottom: 15px; a { color: @body-color; &:hover { color: @link-color-hover; } } } .si_area5_box_image { margin-left: 19px; } } } // SI AREA 5 .nav .nlevel0 { margin-bottom: 5px; } } // F A S H I O N 1 /****** E X T R A 1 ******/ /***************************/ .si_variation_3 { /* SI AREA 1 */ .si_area1 { margin-bottom: 30px; .bx-wrapper { margin-bottom: 25px; .bx-viewport { border: 0px !important; left: 0px !important; .bxslider { padding: 0px; margin: 0px; li { list-style: none; .si_area_box_content { background: url("../pix/slider_bg.png") repeat scroll 0 0 transparent; color: #fff; padding: 12px 18px 15px; position: absolute; right: 0; bottom: 12%; width: 46%; h1, a { color: #fff; } } } } } a.bx-pager-link { width: 9px !important; height: 9px !important; margin-left: 4px !important; } a.active { background-color: @main-color !important; } } // bx-wrapper @media (max-width: 767px) { .bxslider { li { .si_area_box_content { bottom: 10px; top: auto; } } } .si_area_box_content { display: none; visibility: hidden; } } } // SI AREA 1 /* SI AREA 2 */ .si_area2 { margin-bottom: 20px; .si_area2_box { background-color: #efefef; margin-bottom: 20px; .si_area_box_content { padding: 8px 10px 5px 0px; h1 { font-size: 1.2em; margin-bottom: 0px; font-weight: bold; } .si_area2_box_text { color: @body-color; position: relative; a { color: @body-color; &:hover { color: @link-color-hover; } } .nlink3_more_link { text-align: right; color: @main-color; margin-top: 0px; } } } } } /* SI AREA 3 */ .si_area3 { .si_area3_box { margin-bottom: 20px; h1 { font-size: 1.2em; margin-bottom: 2px; font-weight: bold; } .si_area3_box_text { color: @body-color; a { color: @body-color; &.nlink3_more_link { color: @main-color; text-align: right; } } } } } /* SI AREA 4 */ .si_area4 { padding: 15px 10px; .si_area4_box { h1 { font-size: 1em; } } } @media (max-width: 979px) and (min-width: 768px) { .si_area_col1 { width: 57%; } .si_area_col2 { width: 40%; } .si_area_col3 { width: 100%; margin-left: 0px; } } @media (max-width: 767px) { .si_area_box_content, .span7 { padding: 10px !important; } } } // E X T R A 1 /***** M O D E R N 1 *****/ /***************************/ .si_variation_4 { /* SI AREA 1 */ .si_area1 { .bx-wrapper { margin-bottom: 25px; .bx-viewport { border: 0px !important; left: 0px !important; .bxslider { padding: 0px; margin: 0px; li { list-style: none; .si_area_box_content { background: url("../pix/slider_bg.png") repeat scroll 0 0 transparent; color: #fff; padding: 12px 18px 15px; position: absolute; right: 0; bottom: 0%; height: 91.8%; width: 21%; h1 { padding-top: 10px; } h1, a { color: #fff; } } } } } a.bx-pager-link { width: 9px !important; height: 9px !important; margin-left: 4px !important; } a.active { background-color: @main-color !important; } } // bx-wrapper @media (max-width: 979px) { .si_area_box_content { h1 { font-size: 1.3em; width: 25%; } } } @media (max-width: 767px) { .bxslider { li { .si_area_box_content { bottom: 10px; top: auto; } } } .si_area_box_content { display: none; visibility: hidden; } } } // SI AREA 1 /* SI AREA 2 */ .si_area2 { margin-top: 20px; .si_area2_box { margin-bottom: 20px; .si_area2_box_text { background-color: @main-color; h1 { padding: 12px 10px; color: #fff; font-size: 1em; margin-bottom: 0px; a { color: #fff; } } } .si_area2_box_image { background-color: #ccc; margin-bottom: 0px; text-align: center; height: 150px; text-align: center; img { display: inline-block; margin-bottom: -5px; } a { display: block; img { display: inline-block; margin-bottom: -5px; } } } .nlink3_si_area2_box_text { margin-top: 10px; display: inline-block; color: @body-color; &:hover { color: @link-color-hover; } } @media (max-width: 1200px) { .si_area2_box_image { height: 115px; } } } @media (min-width: 1200px) { .si_area2_box_image { img { width: 100% !important; } } } @media (max-width: 979px) { .span3 { width: 47%; height: 290px; .si_area2_box_image { height: 150px; } } .si_area2_box3 { margin-left: 0px; } } @media (max-width: 767px) { .span3 { width: 100%; margin-left: 0px; .si_area2_box_image { height: 150px; } } } } // SI AREA 2 .si_area_container { background-color: #efefef; padding: 20px 20px 0px 20px; margin-top: 30px; } /* SI AREA 3, SI AREA 4 */ .si_area3, .si_area4 { padding-right: 20px; margin-bottom: 30px; h1 { margin-bottom: 15px; } .si_area3_box, .si_area4_box { h1 { font-size: 1.1em; font-weight: bold; margin-bottom: 1px; } .si_area3_box_text, .si_area4_box_text { color: @body-color; margin-bottom: 15px; a { color: @body-color; &:hover { color: @link-color-hover; } } } } } } /* ========================================================================== */ /* Formulare - Buttons etc. /* ========================================================================== */ select, input[type=text], input[type=password], input[type=email], input[type=tel], input[type=url], input[type=date], textarea { .border-radius; border: 1px solid #D4D4D4; padding: 7px 4px 6px; font-size: 0.8em; color: @body-color; cursor: pointer; margin-bottom: 10px; background: #f8f8f8; /* Old browsers */ background: -moz-linear-gradient(top, #f8f8f8 0%, #f1f1f1 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#f1f1f1)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #f8f8f8 0%,#f1f1f1 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #f8f8f8 0%,#f1f1f1 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #f8f8f8 0%,#f1f1f1 100%); /* IE10+ */ background: linear-gradient(to bottom, #f8f8f8 0%,#f1f1f1 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#f1f1f1',GradientType=0 ); /* IE6-9 */ &:hover, &:focus { .box-shadow; background: #ffffff; /* Old browsers */ background: -moz-linear-gradient(top, #ffffff 0%, #f1f1f1 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f1f1f1)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #ffffff 0%,#f1f1f1 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #ffffff 0%,#f1f1f1 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #ffffff 0%,#f1f1f1 100%); /* IE10+ */ background: linear-gradient(to bottom, #ffffff 0%,#f1f1f1 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f1f1f1',GradientType=0 ); /* IE6-9 */ }; } select { height: 31px; } .button { .border-radius; background-color: @main-color; box-shadow: 0 6px 15px -9px #FFFFFF inset; border: 1px solid @main-color; padding: 5px 15px; color: #fff; &:hover { .box-shadow; } } a.button { color: #fff; } .button-grey { .button; background-color: #ccc; border: 1px solid #ccc; } .button-search { background-image: @icon-set-black; background-position: 313px 5px; padding-bottom: 7px; height: 31px; width: 32px; } .td-1 { width: 100%; input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="date"], textarea { width: 95.5%; } } .td-2 { width: 50%; input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="date"] { width: 91%; } select { width: 95.5%; } } .td-3 { width: 33.3%; input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="date"] { width: 87%; } select { width: 93%; } } /* *****Messages***** */ /**********************/ .cfailure, .cerror, .failure, .msg_failure { color: @form-failure-color; margin: 15px 0px 10px 0px; background-color: #f6f4f4; border-bottom: dotted 1px @form-failure-color; border-top: dotted 1px @form-failure-color; padding: 7px 5px; } .csuccess, .success, .msg_success { color: @form-sucess-color; margin: 15px 0px 10px 0px; background-color: #f6f4f4; border-bottom: dotted 1px @form-sucess-color; border-top: dotted 1px @form-sucess-color; padding: 7px 5px; } .fo_error_label { label { color: @form-failure-color; } } /* ========================================================================== */ /* Responsive Framework -- Media Queries /* ========================================================================== */ @media (max-width: 1200px) { // TOP-BEREICH .top .top-side { .header-text { font-size: 0.8em; line-height: 1.5em; } } .footer .footer-text, .footer .nav-footer { font-size: 0.9em; line-height: 1.7em; } } @media (max-width: 1024px) { #back-top { .hidden; } } @media (min-width: 768px) and (max-width: 979px) { // FRAMEWORK .siteframe { padding: 20px 50px; } .footer { padding: 10px 50px; } .footer { .span6 { width: 100% !important; } .nav-footer { margin-top: 10px; } } .ct_container { margin-bottom: 20px; width: 100% !important; margin-left: 0px !important; } // TOP-BEREICH .top .top-side { position: relative; .header-text { font-size: 0.9em; line-height: 1.5em; padding-right: 0px; } } .top .logo { margin-bottom: 5px; } // SIDEBAR .sidebar_right { width: 100% !important; margin-left: 0px !important; } .sidebar_left { width: 100% !important; margin-bottom: 20px; } // Kontaktformular table.mb_table { width: 100%; } } @media (max-width: 767px) { // FRAMEWORK .siteframe { padding: 20px 20px; } .footer { padding: 10px 20px; .span6 { width: 100%; } .nav-footer { margin-top: 10px; li { .spacer { margin-left: 0px; margin-right: 0px; } } } } .ct_container { margin-bottom: 20px; } // TOP-BEREICH .top .top-side { position: relative; margin-bottom: 5px; .header-text { font-size: 0.9em; line-height: 1.5em; padding-right: 0px; margin-bottom: 10px; } } .top .logo { margin-bottom: 5px; } // SIDEBAR .sidebar_left { width: 100% !important; margin-bottom: 20px; } /* Kontaktformular */ table.mb_table { width: 99.9%; } // NAVIGATION .nav { .nlevel0 { height: auto; .nl0_1 { .hidden; } ul { width: 100%; display: block; height: auto; } li { width: 49.75%; float: left; position: relative; border-bottom: 1px solid #fff; border-right: 1px solid #fff; border-left: none !important; a { text-align: left; width: 100%; text-indent: 25px; span { width: 100%; padding-left: 0px; padding-right: 0px; text-align: left; } } } } } } @media (max-width: 480px) { // FRAMEWORK .siteframe { padding: 15px 10px; } .footer { padding: 10px 10px; .fnlevel0 { position: relative; li { float: none; text-align: right; } } } .footer-text { font-size: 0.8em; } // TOP-BEREICH .top .top-side { .header-text { font-size: 0.75em; margin-top: 10px; margin-bottom: 0px; } } .logo { img { max-height: 80px; max-width: auto !important; width: auto !important; } } .nav-level1 { .hidden; } .navbar { .visible; } .sidebar_left { .hidden; } .sidebar_right { min-height: 0px !important; } // Kontaktformular table.mb_table { width: 99.9%; } // NAVIGATION .nav { .nlevel0 { border-bottom: 0; ul { display: none; height: auto; li { display: block; float: none; width: 100% } } } } .ct_img { text-align: center; } } /* ========================================================================== Helper classes (HTML5 Boilerplate) ========================================================================== */ .ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: -9999px; } .ir:before { content: ""; display: block; width: 0; height: 150%; } .hidden { display: none !important; visibility: hidden; } .visible { display: block !important; visibility: visible; } .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .invisible { visibility: hidden; } .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } /* ========================================================================== LESS mixins; Source: http://lesselements.com ========================================================================== */ .opacity(@opacity: 0.5) { -moz-opacity: @opacity; -khtml-opacity: @opacity; -webkit-opacity: @opacity; opacity: @opacity; @opperc: @opacity * 100; -ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=@{opperc})"; filter: ~"alpha(opacity=@{opperc})"; } .transition(@property:all, @duration:0.2s, @ease:ease-out) { -webkit-transition: @property @duration @ease; -moz-transition: @property @duration @ease; -o-transition: @property @duration @ease; transition: @property @duration @ease; } /* ModuleLanguageSwitch */ .mod_languageswitch { img { display: inline-block; } text-align: right; }