SlideShare a Scribd company logo
1 of 6
Download to read offline
Krueger Library custom JS/CSS code
10/02/13
<link rel="shortcut icon" href="http://www.winona.edu/favicon.ico" />
<style>
/*hide location and today's hours text on hours box, old text color 5E5E5E*/
#hours-col-l, .hours-col-loc, #hours-col-t {display: none;}
.hours-col-time {color:#000000; font: 18px Helvetica, Arial, sans-serif; font-
weight: bold; padding: 0px 0px 10px 40px; position:relative;}
/* change table of contents box */
.box_toc_page, .box_toc_subpage, .box_toc_current {
font: 14px Helvetica, Arial, sans-serif; font-weight: bold;
padding: 0 2px 4px 2px;
}
/* hide search box row and guide description */
.stitle, .guidedesc { display:none; }
/*change guide title font and spacing*/
.guidetitle {
font: 20px Helvetica, Arial, sans-serif;
padding: 15px 0px 0px 0px;
}
/*change link color to WSU purple*/
a {color:#4B08A1;}
/*tab customization*/
#tabsI, #tabs12 {
font: 12px Helvetica, Arial, sans-serif; font-weight: bold; !important;
text-transform: uppercase;
background:transparent;
float: left;
padding: 0;
margin: 0 0 15px -2px;
position: relative;
border-bottom:1px solid #BBB;
width:990px;}
#tabsI ul, #tabs12 ul {padding: 0;}
Krueger Library custom JS/CSS code
10/02/13
#tabsI a, #tabs12 a {background:transparent;background-
color:#F1F1F1;border:1px solid #ADADAD;border-bottom:0;padding: 3px 2px
3px 4px;margin-left:4px;border-radius: 2px 2px 0 0;-moz-border-radius: 2px 2px 0
0;-webkit-border-radius: 2px 2px 0 0;-khtml-border-radius: 2px 2px 0 0;}
#tabsI #current a, #tabs12 #current a {color: #fff;font-weight:
bold;background:transparent;background-color:#4B08A1;border:1px solid
#777;border-bottom:0;}
#tabsI a span, #tabs12 a span {background:transparent;color:#000;padding: 0
10px;}
#tabsI #current a span, #tabs12 #current a span {color:#EEE; }
#tabsI a:hover, #tabs12 a:hover {background:transparent;background-
color:#888;border:1px solid
#adadad;border-bottom:0;}
#tabsI a span:hover, #tabs12 a span:hover {color:#fff;}
.dropmenudiv {border:1px solid #BBB;}
.dropmenudiv a {background-color:#EEE;font-color:#FFF;font-size:12px
Helvetica, Arial, sans-serif; !important;}
.dropmenudiv a:last-child {border-bottom:0;}
.dropmenudiv a:hover {background:#4B08A1;color:#FFF;}
/*box customization */
.headerbox h2 {
font: 14px Helvetica, Arial, san-serif; !important;
/* add this back in if you want the font bolded: font-weight: bold; */
text-transform: uppercase;
color: #FFF;
font-size: 14px;
padding: 2px;
}
#container { background: #fafafa !important; }
div.innerbox.roundbox {
Krueger Library custom JS/CSS code
10/02/13
border-radius: 0px 0px 3px 3px !important;
}
div.roundbox.headerbox {
background: #888888;
border-radius: 3px 3px 0px 0px;
}
.outerbox {
padding: 0px !important;
background: transparent;
border: 1px dotted #ddd;
}
.itemlist li {
font-weight: bold !important;
}
.linklist li {
font-weight: bold !important;
}
</style>
<style type="text/css">
.column, .floatcols {
float: left;
width: 49%;
padding: 0;
margin: 0;
}
.column-wrapper {
overflow: hidden;
}
ul#mylistid{
width: 100%;
padding: 0;
Krueger Library custom JS/CSS code
10/02/13
}
li.subject_link {
padding:2px 0;
margin: 2px 6px;
list-style-type: none;
font-size: 1.15em !important;
}
li.subject_link:hover {
background: #eee;
cursor: pointer;
}
a.toggle_button {
text-decoration: none;
text-align: center;
color: #FFF;
background: #4B08A1;
border: 1px solid #ccc;
font-weight:bold;
margin: auto 6px auto 0;
padding:1px 3px;
display:inline-block;
width:15px;
cursor: pointer;
}
span.toggletext {
cursor: pointer;
}
ul.guide_links li {
margin:3px 3px 3px 26px;
list-style-type:disc;
}
ul.guide_links {
margin: 6px 0;
padding: 0;
Krueger Library custom JS/CSS code
10/02/13
line-height 1.5em;
}
</style>
<!-- jquery.columns was written by Karl Swedberg. See the file source for more
attribution information -->
<script
src="http://demo.libguides.com/data/custom/1/jquery.columns.js"></script>
<script type="text/javascript">
// Contributors: Dan Brubaker Horst, Laura J. Harris, thorbroo (#code4lib), Erin R.
White, Derik Badman.
// Code is licensed under a Creative Commons Atrribution license:
http://creativecommons.org/licenses/by/3.0/us
//compatibility mode for $ namespace (which might get used by other js libraries)
better to use jQuery in these cases
jQuery.noConflict();
// Wrapping with: (function($){ ...code...})(jQuery); replaces '$' with 'jQuery'.
(function($){
$(document).ready(function() {
$('#myScript').remove();
// creates the columns through the column plug loaded above
$('.mylist').columns({columns: 2});
// 'hide' function is called on each of the 'ul' elements with the class 'guide_links'
$('ul.guide_links').hide();
// DOM insert a link element inside of each of the subject list items.
$('li.subject_link').prepend('<a href="javascript://toggle guide links"
class="toggle_button">+</a>');
// enable toggle action on each Subject LI
$('li.subject_link').bind("click", function(){
// toggles text in the link between '+' and '-'.
if($(this).children('a.toggle_button').text() == '+'){
$(this).children('a.toggle_button').text('-');
} else {
$(this).children('a.toggle_button').text('+');
}
Krueger Library custom JS/CSS code
10/02/13
// Toggle the child 'ul' element
$(this).children('ul.guide_links').slideToggle("fast");
});
$('a.subject_link_a').contents().unwrap();
});
})(jQuery);
</script>

More Related Content

Similar to Krueger Library Custom CSS for LibGuides

Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本a5494535
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publiEddy_TKJ
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingMyles Braithwaite
 
Demystifying CSS & WordPress
Demystifying CSS & WordPressDemystifying CSS & WordPress
Demystifying CSS & WordPressJustin Carmony
 
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceThe New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceRachel Andrew
 
LESS is More
LESS is MoreLESS is More
LESS is Morejsmith92
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsKaelig Deloumeau-Prigent
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatRachel Andrew
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & CompassAndreas Dantz
 
Introduction to css by programmerblog.net
Introduction to css by programmerblog.netIntroduction to css by programmerblog.net
Introduction to css by programmerblog.netProgrammer Blog
 
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docx
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docxMy discussion Student A A8 - Cross-Site Request Forgery (CSR.docx
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docxgilpinleeanna
 
Making Links Magical Again with CSS
Making Links Magical Again with CSSMaking Links Magical Again with CSS
Making Links Magical Again with CSSJenn Lukas
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name HereFreedSoftwares
 

Similar to Krueger Library Custom CSS for LibGuides (20)

Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本Simple Blue Blog Template XML 的副本
Simple Blue Blog Template XML 的副本
 
Css frameworks
Css frameworksCss frameworks
Css frameworks
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publi
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG Meeting
 
Demystifying CSS & WordPress
Demystifying CSS & WordPressDemystifying CSS & WordPress
Demystifying CSS & WordPress
 
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceThe New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP Conference
 
LESS is More
LESS is MoreLESS is More
LESS is More
 
Document
DocumentDocument
Document
 
Documento
DocumentoDocumento
Documento
 
css-ppt.pdf
css-ppt.pdfcss-ppt.pdf
css-ppt.pdf
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
 
Slider goymon
Slider goymonSlider goymon
Slider goymon
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for that
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & Compass
 
Introduction to css by programmerblog.net
Introduction to css by programmerblog.netIntroduction to css by programmerblog.net
Introduction to css by programmerblog.net
 
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docx
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docxMy discussion Student A A8 - Cross-Site Request Forgery (CSR.docx
My discussion Student A A8 - Cross-Site Request Forgery (CSR.docx
 
This is a test
This is a testThis is a test
This is a test
 
Making Links Magical Again with CSS
Making Links Magical Again with CSSMaking Links Magical Again with CSS
Making Links Magical Again with CSS
 
Your Presentation Name Here
Your Presentation Name HereYour Presentation Name Here
Your Presentation Name Here
 

More from Tammi Owens

Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)
Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)
Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)Tammi Owens
 
Civic Action and the Library
Civic Action and the LibraryCivic Action and the Library
Civic Action and the LibraryTammi Owens
 
Search Strategies for Nursing Students
Search Strategies for Nursing StudentsSearch Strategies for Nursing Students
Search Strategies for Nursing StudentsTammi Owens
 
Library Resources for Nursing Students
Library Resources for Nursing StudentsLibrary Resources for Nursing Students
Library Resources for Nursing StudentsTammi Owens
 
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...Is it real or just a trace? Ownership, ephemerality, and materiality in socia...
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...Tammi Owens
 
Find a Dissertation Using WorldCat: A step-by-step guide
Find a Dissertation Using WorldCat: A step-by-step guideFind a Dissertation Using WorldCat: A step-by-step guide
Find a Dissertation Using WorldCat: A step-by-step guideTammi Owens
 
Just a Minute: Delivering quick tutorials at the point of need
Just a Minute: Delivering quick tutorials at the point of needJust a Minute: Delivering quick tutorials at the point of need
Just a Minute: Delivering quick tutorials at the point of needTammi Owens
 
Find the full text of an article
Find the full text of an articleFind the full text of an article
Find the full text of an articleTammi Owens
 
Managing sources
Managing sourcesManaging sources
Managing sourcesTammi Owens
 

More from Tammi Owens (9)

Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)
Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)
Emerge. Or, Thoughts of a Future Butterfly (LITA Forum 2014)
 
Civic Action and the Library
Civic Action and the LibraryCivic Action and the Library
Civic Action and the Library
 
Search Strategies for Nursing Students
Search Strategies for Nursing StudentsSearch Strategies for Nursing Students
Search Strategies for Nursing Students
 
Library Resources for Nursing Students
Library Resources for Nursing StudentsLibrary Resources for Nursing Students
Library Resources for Nursing Students
 
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...Is it real or just a trace? Ownership, ephemerality, and materiality in socia...
Is it real or just a trace? Ownership, ephemerality, and materiality in socia...
 
Find a Dissertation Using WorldCat: A step-by-step guide
Find a Dissertation Using WorldCat: A step-by-step guideFind a Dissertation Using WorldCat: A step-by-step guide
Find a Dissertation Using WorldCat: A step-by-step guide
 
Just a Minute: Delivering quick tutorials at the point of need
Just a Minute: Delivering quick tutorials at the point of needJust a Minute: Delivering quick tutorials at the point of need
Just a Minute: Delivering quick tutorials at the point of need
 
Find the full text of an article
Find the full text of an articleFind the full text of an article
Find the full text of an article
 
Managing sources
Managing sourcesManaging sources
Managing sources
 

Recently uploaded

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Krueger Library Custom CSS for LibGuides

  • 1. Krueger Library custom JS/CSS code 10/02/13 <link rel="shortcut icon" href="http://www.winona.edu/favicon.ico" /> <style> /*hide location and today's hours text on hours box, old text color 5E5E5E*/ #hours-col-l, .hours-col-loc, #hours-col-t {display: none;} .hours-col-time {color:#000000; font: 18px Helvetica, Arial, sans-serif; font- weight: bold; padding: 0px 0px 10px 40px; position:relative;} /* change table of contents box */ .box_toc_page, .box_toc_subpage, .box_toc_current { font: 14px Helvetica, Arial, sans-serif; font-weight: bold; padding: 0 2px 4px 2px; } /* hide search box row and guide description */ .stitle, .guidedesc { display:none; } /*change guide title font and spacing*/ .guidetitle { font: 20px Helvetica, Arial, sans-serif; padding: 15px 0px 0px 0px; } /*change link color to WSU purple*/ a {color:#4B08A1;} /*tab customization*/ #tabsI, #tabs12 { font: 12px Helvetica, Arial, sans-serif; font-weight: bold; !important; text-transform: uppercase; background:transparent; float: left; padding: 0; margin: 0 0 15px -2px; position: relative; border-bottom:1px solid #BBB; width:990px;} #tabsI ul, #tabs12 ul {padding: 0;}
  • 2. Krueger Library custom JS/CSS code 10/02/13 #tabsI a, #tabs12 a {background:transparent;background- color:#F1F1F1;border:1px solid #ADADAD;border-bottom:0;padding: 3px 2px 3px 4px;margin-left:4px;border-radius: 2px 2px 0 0;-moz-border-radius: 2px 2px 0 0;-webkit-border-radius: 2px 2px 0 0;-khtml-border-radius: 2px 2px 0 0;} #tabsI #current a, #tabs12 #current a {color: #fff;font-weight: bold;background:transparent;background-color:#4B08A1;border:1px solid #777;border-bottom:0;} #tabsI a span, #tabs12 a span {background:transparent;color:#000;padding: 0 10px;} #tabsI #current a span, #tabs12 #current a span {color:#EEE; } #tabsI a:hover, #tabs12 a:hover {background:transparent;background- color:#888;border:1px solid #adadad;border-bottom:0;} #tabsI a span:hover, #tabs12 a span:hover {color:#fff;} .dropmenudiv {border:1px solid #BBB;} .dropmenudiv a {background-color:#EEE;font-color:#FFF;font-size:12px Helvetica, Arial, sans-serif; !important;} .dropmenudiv a:last-child {border-bottom:0;} .dropmenudiv a:hover {background:#4B08A1;color:#FFF;} /*box customization */ .headerbox h2 { font: 14px Helvetica, Arial, san-serif; !important; /* add this back in if you want the font bolded: font-weight: bold; */ text-transform: uppercase; color: #FFF; font-size: 14px; padding: 2px; } #container { background: #fafafa !important; } div.innerbox.roundbox {
  • 3. Krueger Library custom JS/CSS code 10/02/13 border-radius: 0px 0px 3px 3px !important; } div.roundbox.headerbox { background: #888888; border-radius: 3px 3px 0px 0px; } .outerbox { padding: 0px !important; background: transparent; border: 1px dotted #ddd; } .itemlist li { font-weight: bold !important; } .linklist li { font-weight: bold !important; } </style> <style type="text/css"> .column, .floatcols { float: left; width: 49%; padding: 0; margin: 0; } .column-wrapper { overflow: hidden; } ul#mylistid{ width: 100%; padding: 0;
  • 4. Krueger Library custom JS/CSS code 10/02/13 } li.subject_link { padding:2px 0; margin: 2px 6px; list-style-type: none; font-size: 1.15em !important; } li.subject_link:hover { background: #eee; cursor: pointer; } a.toggle_button { text-decoration: none; text-align: center; color: #FFF; background: #4B08A1; border: 1px solid #ccc; font-weight:bold; margin: auto 6px auto 0; padding:1px 3px; display:inline-block; width:15px; cursor: pointer; } span.toggletext { cursor: pointer; } ul.guide_links li { margin:3px 3px 3px 26px; list-style-type:disc; } ul.guide_links { margin: 6px 0; padding: 0;
  • 5. Krueger Library custom JS/CSS code 10/02/13 line-height 1.5em; } </style> <!-- jquery.columns was written by Karl Swedberg. See the file source for more attribution information --> <script src="http://demo.libguides.com/data/custom/1/jquery.columns.js"></script> <script type="text/javascript"> // Contributors: Dan Brubaker Horst, Laura J. Harris, thorbroo (#code4lib), Erin R. White, Derik Badman. // Code is licensed under a Creative Commons Atrribution license: http://creativecommons.org/licenses/by/3.0/us //compatibility mode for $ namespace (which might get used by other js libraries) better to use jQuery in these cases jQuery.noConflict(); // Wrapping with: (function($){ ...code...})(jQuery); replaces '$' with 'jQuery'. (function($){ $(document).ready(function() { $('#myScript').remove(); // creates the columns through the column plug loaded above $('.mylist').columns({columns: 2}); // 'hide' function is called on each of the 'ul' elements with the class 'guide_links' $('ul.guide_links').hide(); // DOM insert a link element inside of each of the subject list items. $('li.subject_link').prepend('<a href="javascript://toggle guide links" class="toggle_button">+</a>'); // enable toggle action on each Subject LI $('li.subject_link').bind("click", function(){ // toggles text in the link between '+' and '-'. if($(this).children('a.toggle_button').text() == '+'){ $(this).children('a.toggle_button').text('-'); } else { $(this).children('a.toggle_button').text('+'); }
  • 6. Krueger Library custom JS/CSS code 10/02/13 // Toggle the child 'ul' element $(this).children('ul.guide_links').slideToggle("fast"); }); $('a.subject_link_a').contents().unwrap(); }); })(jQuery); </script>