Last active
August 29, 2015 14:06
-
-
Save rom3r4/9a7c355681c5352b9b68 to your computer and use it in GitHub Desktop.
Carrot + Solr integration on ODS site.
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
/** | |
* ODS-Carrot, css override | |
* append this snippet on page.css (var/lib/tomcat7/webapps/carrot2/skins22/common/css) | |
*/ | |
body#startup, | |
body#results { | |
background-image: none !important; | |
} | |
body#results #main-area { | |
top: -45px !important; | |
} | |
body #logo, | |
body #util-links, | |
body #footer, | |
body #main-info, | |
body #status-bar, | |
body #main-area-inside #source-tabs { | |
display:none !important; | |
} | |
body #main-area-inside #search-area { | |
visibility: hidden !important; | |
position: absolute !important; | |
top: -1000px !important; | |
left: -1000px !important; | |
} | |
body#results #results-area #views li a{ | |
font-size: 1.3em; | |
} | |
body#results #main-area-inside #results-area { | |
border:0 !important; | |
margin:0 !important; | |
} | |
body #main-area{ | |
background-color: #fff !important; | |
margin-top: 0 !important; | |
} | |
body #main-area-bottom, | |
body #main-area-top { | |
background: none !important; | |
} | |
#results #main-area-inside > .glow-small { | |
left:0px !important; | |
right:0px !important; | |
} | |
body#results ul#views>li.passive:hover{ | |
background-color:gray; | |
} | |
body#results ul#views>li.passive>a:hover{ | |
color:white; | |
} | |
body#results ul#views, | |
body#results ul#views.first-active , | |
body#results ul#views>li, | |
body#results ul#views>ul>li.first-active { | |
background-image:none; | |
} | |
body#results ul#views>li.active { | |
background-color:#3d546e; | |
background-image:none; | |
} | |
body#results ul#views>li.active>a { | |
color:#fff; | |
} | |
body#results ul#views li .right{ | |
display:none !important; | |
} | |
body#results .glow-small .r, | |
body#results .glow-small .l, | |
body#results .glow-small .t, | |
body#results .glow-small .b | |
{ | |
background:none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
added on /var/lib/tomcat7/webapps/carrot2/skins22/common/css/page.css