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

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

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>