Created
October 7, 2017 17:39
-
-
Save niguli/853bc82c1ca4462aa053dd81df4a9433 to your computer and use it in GitHub Desktop.
my quick css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* riduce spazio tra voci di menu 1 livello */ | |
a.menu-image-title-after { | |
padding-left: 8px !important; | |
padding-right: 8px !important; | |
} | |
/* blocco testo introduttivo home */ | |
div.entry-content-wrapper.clearfix { | |
margin-top: -15px; | |
margin-bottom: -15px; | |
} | |
div.avia_textblock.descrizionehome.av_inherit_color p { | |
font-size: 22px; | |
line-height: 23px; | |
} | |
/* fine */ | |
h2.avia-caption-title { | |
background-color: #36c2a6 !important; | |
filter: alpha(opacity = 30) !important; | |
} | |
input.search-submit { | |
float: none; | |
display: inline-block; | |
margin-top: 0px; | |
font-size: 15px; | |
text-align: center; | |
position: absolute; | |
} | |
div.stretch_full.container_wrap.alternate_color.light_bg_color.title_container { | |
margin-top: 14px; | |
} | |
input.search-submit { | |
line-height: 29px; | |
} | |
input.search-submit { | |
background: url("/wp-content/uploads/2017/10/search.png") center center no-repeat #0067ac !important; | |
background-size: 15px auto !important; | |
padding: 0 !important; | |
width: 30px; | |
position; absolute; | |
top: 0; | |
right: 0; | |
height: 29px; | |
text-indent: -9999px; | |
} | |
.diagnostica h3 { | |
display: none !important;} | |
.centrocuore h3 { | |
display: none !important;} | |
.checkup h3 { | |
display: none !important;} | |
.ambulatorio h3 { | |
display: none !important;} | |
/* customizzazione mioaccordion per prova pagina centrocuore2 */ | |
#top .mioaccordion p.toggler.activeTitle { | |
background-color: #0067ac; | |
color: #ffffff; | |
} | |
#top .mioaccordion p.toggler { | |
background-color: #5e82ad; | |
color: #ffffff; | |
} | |
/* FINE mio accordion */ | |
/* allineamento orizzontale nuovo h1 e immagine */ | |
.avia_textblock > h1 { | |
margin: 0 !important; | |
} | |
.avia_textblock > h1 > img{ | |
vertical-align: middle !important; | |
} | |
/* fine */ | |
/* link sottolineati */ | |
div.avia_textblock p a { | |
text-decoration: underline; } | |
/* stile nuova search box */ | |
input.search-field { | |
font-family: 'Maven Pro', sans-serif !important; | |
padding-right: 34px; | |
text-align: center; | |
font-size: 14px !important; | |
font-variant: small-caps; | |
} | |
#swpengine { | |
font-family: 'Maven Pro', sans-serif !important; | |
margin-top: -25px !important; | |
text-align: center !important; | |
font-weight: bold !important; | |
font-size: 14px !important; | |
color: #ffffff !important; | |
background-color: #0067ac !important; | |
padding-left: calc(50% - 30px) !important; | |
} | |
div.menu-item-search-mod.menu-item.menu-item-search-dropdown { | |
height: 35px; | |
} | |
/* fine custom */ | |
span.av-tab-section-icon { background-color: white; color: #0067ac !important;} | |
span.av-inner-tab-title { background-color: white; color: #0067ac !important;} | |
.tab { | |
color:#5e82ad !important; | |
} | |
p span strong { | |
color: #ffffff !important; | |
} | |
#top #searchform .ajax_search_response { display: none !important; } | |
span.ajax_search_excerpt { | |
display: none !important; | |
} | |
span.post-meta-infos { | |
display: none !important; | |
} | |
/* plugin highliht */ | |
.hilite { background-color:yellow; font-weight:bold; color:#0068ac;} /* default */ | |
.term-1 { background-color:#D3E18A } /* second search term only */ | |
.term-2 { background-color:#9CD4FF } /* third search term only */ | |
.term-3 { background-color:#FFCA61 } /* fourth search term only */ | |
/* fine plugin highlight */ | |
ul.av-subnav-menu.av-submenu-pos-center { | |
font-size: 18px; | |
} | |
/* div.avia_message_box_content { | |
border-width: 1px !important; | |
border-style: solid !important; | |
border-color: #319832 !important; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
} */ | |
/* | |
div.avia_message_box_content:hover { | |
border-width: 1px !important; | |
border-style: solid !important; | |
border-color: #319832 !important; | |
background-color: #319832 !important; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
color: #ffffff; | |
} | |
*/ | |
/* personalizzazione cerca Nicola */ | |
.ajax_search_image {text-align: center !important;} | |
a.ajax_search_entry { | |
text-align: center !important; | |
} | |
span.ajax_search_image { | |
background-color: #0068ac !important; | |
} | |
/* fine personalizzazione cerca Nicola */ | |
/* regole andrea cerca */ | |
.html_header_top.html_header_sticky #top #wrap_all #main{ | |
padding-top: 171px !important; | |
} | |
#menu-item-search { | |
position: absolute; | |
width: 100%; | |
background: white; | |
left: 0; | |
top: 134px; | |
} | |
#top #searchform>div{ | |
max-width: 100%; | |
} | |
#avia-menu #menu-item-search{ | |
display: none; | |
} | |
input#s{ | |
text-align: center; | |
} | |
.ajax_search_title{ | |
color: #8cae56 !important; | |
} | |
@media (min-width: 1151px){ | |
#header .avia_mega_div{ | |
margin-top: 40px !important; | |
} | |
li#menu-item-480 ul.sub-menu{ | |
padding-top: 40px !important; | |
} | |
} | |
@media (min-width: 768px){ | |
#menu-item-search{ | |
position: fixed; | |
} | |
} | |
@media (max-width: 767px){ | |
#menu-item-search{ | |
top: 128px; | |
} | |
.responsive .logo img{ | |
max-height: 60px; | |
height: 60px !important; | |
top: -8px; | |
} | |
#advanced_menu_toggle{ | |
top: 28px !important; | |
} | |
} | |
/* Questo per le colorazioni */ | |
@media (min-width: 1151px){ | |
ul.sub-menu a{ | |
background: transparent !important; | |
border: 0 !important; | |
} | |
ul.sub-menu li:hover{ | |
/* Colore di Default */ | |
background:#0068ac; | |
} | |
#top #header .avia_mega_div > .sub-menu > li{ | |
padding-top: 0 !important; | |
-webkit-transition: all .3s linear; | |
-moz-transition: all .3s linear; | |
-o-transition: all .3s linear; | |
transition: all .3s linear; | |
} | |
/* fine regole andrea cerca */ | |
/* Colori Voci Menu */ | |
/* ---prima riga -- */ | |
/* servizi-h24 */ | |
li#menu-item-811:hover{ | |
background: #0068ac; | |
} | |
/* carta dei servizi */ | |
li#menu-item-337:hover{ | |
background: #ab4d3f; | |
} | |
/* Poliambulatori Specialistici */ | |
li#menu-item-808:hover{ | |
background: #96d3be; | |
} | |
/* ricoveri */ | |
li#menu-item-333:hover{ | |
background: #5CC9F5; | |
} | |
/* analisi cliniche ex 334*/ | |
li#menu-item-2485:hover{ | |
background: #437437; | |
} | |
/* --- seconda riga -- */ | |
/* diagnostica per immagini */ | |
li#menu-item-336:hover{ | |
background: #c; | |
} | |
/* centro-cuore */ | |
li#menu-item-340:hover{ | |
background: #004556; | |
} | |
/* maternità ostetricia ginecologia */ | |
li#menu-item-341:hover{ | |
background: #edae44; | |
} | |
/* ambulatorio-infermieristico */ | |
li#menu-item-353:hover{ | |
background: grey; | |
} | |
/* ---terza riga -- */ | |
/* servizi-sanitari-a-domicilio */ | |
li#menu-item-342:hover{ | |
background: #6E2233; | |
} | |
/* sportclinique */ | |
li#menu-item-344:hover{ | |
background: #83a846; | |
} | |
/* checkup */ | |
li#menu-item-354:hover{ | |
background: #745F7E; | |
} | |
/* Questo invece se ti serve di vedere il menu direttamente aperto fisso */ | |
/* .av-main-nav > li{ | |
overflow: visible !important; | |
} | |
#top #wrap_all .av-main-nav ul > li:hover > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul{ | |
opacity: 1 !important; | |
display: block !important; | |
} */ | |
/* fine */ | |
@media only screen and (max-width: 1150px) { | |
nav.main_menu { display: none !important; } | |
#advanced_menu_toggle { display: block !important; } | |
} | |
#top #header_main > .container, #top #header_main > .container .main_menu ul > li > a, #top #header_main #menu-item-shop .cart_dropdown_link { | |
height: 100px !important; | |
line-height: 80px !important; | |
}} | |
div.av_iconlist_title.iconlist_title_small a { | |
text-decoration: underline !important; | |
} | |
span.copyright { | |
width: 100%; | |
font-size: 15px; | |
text-align: center; | |
} | |
strong.logo a img { | |
margin-top: 12px; | |
} | |
.main_color .toggler:hover { | |
background-color: #0068ac !important; | |
color: #fff !important; | |
} | |
span.toggle_icon:hover { | |
background-color: #0068ac !important; | |
color: #fff !important; | |
} | |
span.hor_icon:hover { | |
background-color: #0068ac !important; | |
color: #fff !important; | |
} | |
ul.av-share-box-list noLightbox { | |
color: #0068ac !important; | |
} | |
ul.av-share-box-list.noLightbox { | |
border-color: #0068ac !important; | |
} | |
li.av-share-link.av-social-link-twitter a { | |
border-color: #0068ac !important; | |
} | |
div.phone-info { | |
border-style: dotted; | |
border-width: 1px; | |
border-color: #ab5e62; | |
padding-left: 5px; | |
padding-right: 5px; | |
font-size: 18px; | |
} | |
div.phone-info:hover { | |
border-style: dashed; | |
border-width: 1px; | |
border-color: #ab5e62; | |
padding-left: 5px; | |
padding-right: 5px; | |
} | |
ul.sub-menu { | |
background-color: #ffffff !important; | |
} | |
/* home 2 */ | |
a.avia-button.av-icon-on-hover.avia-icon_select-yes-right-icon.avia-color-dark.avia-size-medium.avia-position-center { | |
border-color: #0068ac !important; | |
} | |
/* span.avia_iconbox_title { | |
color: #0068ac; | |
} | |
span.avia_iconbox_title:hover { | |
color: #5e82ad; | |
} | |
*/ | |
/* nascondo ALLERGOLOGIA */ | |
ul.nested_nav { | |
display: none !important; | |
} | |
li.page_item.page-item-103 a { | |
display: none; | |
} | |
ul.nested_nav { | |
display: none; | |
} | |
span.menu-image-title:active { | |
color: #ab5e62; | |
} | |
a.av-section-tab-title.av-active-tab-title.av-tab-with-icon.av-tab-no-image { | |
color: #ffffff !important; | |
} | |
li.noMobile.menu-item.menu-item-search-dropdown.menu-item-avia-special a { | |
font-size: 22px !important; | |
color: #83a846 !important; | |
} | |
div.av-flex-placeholder { | |
width: 40px !important; | |
} | |
#top #s { | |
/* color: #83a846 !important; */ | |
font-size: 17px !important; | |
color: #0068ac !important; | |
} | |
.header_color .avia-tt, .header_color .avia-tt .avia-arrow, .header_color .avia-tt .avia-arrow { background-color: #83a846; border-color: #fff; } | |
ajax_search_excerpt { | |
font-weight: bold; | |
color: #fff !important; | |
} | |
a.ajax_search_entry.ajax_search_entry_view_all { | |
background-color: #ffffff !important; | |
} | |
a.ajax_search_entry.with_image:hover { | |
background-color: #d4b4ce !important; | |
} | |
#s { | |
font-size: 13px !important; | |
color: #0068ac !important; | |
} | |
/* customizzo tab homepage */ | |
div.av-layout-tab.av-animation-delay-container.av-active-tab-content.__av_init_open.avia-builder-el-34.el_before_av_tab_sub_section.avia-builder-el-first { | |
background-color: #d4b4ce; | |
} | |
div.av-layout-tab.av-animation-delay-container.avia-builder-el-41.el_after_av_tab_sub_section.el_before_av_tab_sub_section.av-active-tab-content { | |
background-color: #4ecac2; | |
} | |
div.av-layout-tab.av-animation-delay-container.avia-builder-el-44.el_after_av_tab_sub_section.avia-builder-el-last.av-active-tab-content { | |
background-color: #ab5e62; | |
} | |
/* fine */ | |
/* altezza navigazione */ | |
#top #header_main > .container, #top #header_main > .container .main_menu ul > li > a, #top #header_main #menu-item-shop .cart_dropdown_link{ | |
height: 150px !important; | |
line-height: 80px !important; | |
position: relative; | |
} | |
/* fine */ | |
/* regole per interlinea megamenu andrea */ | |
.menu-item a.menu-image-title-after.menu-image-not-hovered img, .menu-item a.menu-image-hovered.menu-image-title-after .menu-image-hover-wrapper { | |
padding-right: 10px; | |
position: absolute; | |
left: 0; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-moz-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%); | |
} | |
.sub-menu span.menu-image-title{ | |
padding-left: 50px; | |
line-height: 16px !important; | |
vertical-align: middle; | |
display: inline-block; | |
} | |
h3.slide-entry-title.entry-title a { | |
color: #8f8f8f; !important; | |
} | |
@media(max-width: 767px){ | |
.html_header_top.html_header_sticky #top #wrap_all #main{ | |
padding-top: 20px !important; | |
} | |
} | |
/* se sballa qualcosa riportare a 1099px */ | |
@media only screen and (max-width: 1099px){ | |
.responsive.html_mobile_menu_tablet .container #advanced_menu_toggle, .responsive.html_mobile_menu_tablet #advanced_menu_hide { | |
display: block; | |
} | |
.responsive.html_mobile_menu_tablet .main_menu .avia-menu, .responsive.html_mobile_menu_tablet #header_main .social_bookmarks, .responsive.html_mobile_menu_tablet #header_main_alternate{ | |
display: none; | |
} | |
} | |
/* fine regole per interlinea megamenu andrea */ | |
span.menu-image-title { | |
line-height: 70% !important; | |
font-family: 'Maven Pro', sans-serif; | |
font-weight: 700 !important; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment