css & js for book a study room widget
also, condensed the css
This commit is contained in:
@@ -5,6 +5,10 @@ body {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* style slide out chat */
|
||||||
|
|
||||||
|
#lcs_slide_out_button-21944 { font-size: 1.5em; }
|
||||||
|
|
||||||
/* style alert */
|
/* style alert */
|
||||||
|
|
||||||
#corona-alert {
|
#corona-alert {
|
||||||
@@ -36,9 +40,7 @@ nav.navbar-default.yamm {
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-nav>li>a {
|
.navbar-default .navbar-nav >li >a { color: #111; }
|
||||||
color: #111;
|
|
||||||
}
|
|
||||||
|
|
||||||
.faux-card {
|
.faux-card {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
@@ -46,7 +48,6 @@ nav.navbar-default.yamm {
|
|||||||
|
|
||||||
/* style background image */
|
/* style background image */
|
||||||
.kbcc-background-image {
|
.kbcc-background-image {
|
||||||
/*background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.4) 100%), url("https://www1.kingsborough.edu/photo_album/kcc_campus_06/images/KG_Kibbee_3_jpg.jpg");*/
|
|
||||||
background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.6) 100%), url("https://libapps.s3.amazonaws.com/accounts/16298/images/library_front_view.jpg");
|
background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.6) 100%), url("https://libapps.s3.amazonaws.com/accounts/16298/images/library_front_view.jpg");
|
||||||
background-position: 50% 71%;
|
background-position: 50% 71%;
|
||||||
padding: 20px 0px;
|
padding: 20px 0px;
|
||||||
@@ -72,17 +73,11 @@ nav.navbar-default.yamm {
|
|||||||
margin-right: -2px;
|
margin-right: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dropdownMenu1 {
|
#dropdownMenu1 { border-radius: 0px; }
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.searchmenu {
|
a.searchmenu { color: #111; }
|
||||||
color: #111;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight-menu-item {
|
.highlight-menu-item { padding: 2px; }
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight-menu-item:hover {
|
.highlight-menu-item:hover {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
@@ -90,9 +85,7 @@ a.searchmenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* style link list */
|
/* style link list */
|
||||||
.link-list {
|
.link-list { font-size: 1.5em; }
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* style for nav by the jumbotron */
|
/* style for nav by the jumbotron */
|
||||||
.nav-divs-by-jumbotron {
|
.nav-divs-by-jumbotron {
|
||||||
@@ -110,13 +103,18 @@ a.searchmenu {
|
|||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.no-underline {
|
a.no-underline { text-decoration: none; }
|
||||||
text-decoration: none;
|
|
||||||
|
.nav-divs-by-jumbotron:hover { background-color: #444; }
|
||||||
|
|
||||||
|
#eq_32886 {
|
||||||
|
background-color: #003466;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-divs-by-jumbotron:hover {
|
#eq_32886:hover, { background-color: #444; }
|
||||||
background-color: #444;
|
|
||||||
}
|
.nav-divs-by-jumbotron:hover > h2 > #eq_32886 { background-color: #444; }
|
||||||
|
|
||||||
/* style the panels with the text content */
|
/* style the panels with the text content */
|
||||||
.panel>.show-panel {
|
.panel>.show-panel {
|
||||||
@@ -129,9 +127,7 @@ a.no-underline {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.glyphicon-panel-title {
|
.glyphicon-panel-title { font-size: 2em; }
|
||||||
font-size: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-panel-title {
|
.content-panel-title {
|
||||||
color: white;
|
color: white;
|
||||||
@@ -143,8 +139,7 @@ a.no-underline {
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-heading {
|
.panel-heading { padding: 2px; }
|
||||||
padding: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* style the gallery */
|
/* style the gallery */
|
||||||
@@ -156,22 +151,14 @@ a.no-underline {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.s-lib-public-side-header {
|
.s-lib-public-side-header { display: none; }
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.slick-active {
|
.slick-active { outline: 0; }
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* style the hours */
|
/* style the hours */
|
||||||
.hours {
|
.hours { text-align:center; }
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hours-panel-body {
|
.hours-panel-body { padding: 10px 5px 0px 5px; }
|
||||||
padding: 10px 5px 0px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.padding-0 {
|
.padding-0 {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
@@ -188,9 +175,7 @@ a.no-underline {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel {
|
.panel { flex:1 0 100%; }
|
||||||
flex:1 0 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-outline-color {
|
.panel-outline-color {
|
||||||
border: solid #555 1px;
|
border: solid #555 1px;
|
||||||
@@ -210,33 +195,19 @@ a.no-underline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* style the yamm menu */
|
/* style the yamm menu */
|
||||||
.dropdown-margin {
|
.dropdown-margin { margin-right: 50px; }
|
||||||
margin-right: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bigger-fancy-text {
|
.bigger-fancy-text { font-size: 1.2em; }
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yamm1 {
|
.yamm1 { max-width: 900px; }
|
||||||
max-width: 900px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yamm2 {
|
.yamm2 { max-width: 675px; }
|
||||||
max-width: 675px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yamm3 {
|
.yamm3 { max-width: 300px; }
|
||||||
max-width: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.yamm4 {
|
.yamm4 { max-width: 460px; }
|
||||||
max-width: 460px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#yamm4-margins {
|
#yamm4-margins { margin: -15px 0px; }
|
||||||
margin: -15px 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* style footer */
|
/* style footer */
|
||||||
|
|
||||||
@@ -261,13 +232,9 @@ a.no-underline {
|
|||||||
font-size: 1.5em
|
font-size: 1.5em
|
||||||
}
|
}
|
||||||
|
|
||||||
.whiteahrefs {
|
.whiteahrefs { margin-top: 10px; }
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lighthouse-logo > img {
|
#lighthouse-logo > img { max-width: 150px; }
|
||||||
max-width: 150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* media queries */
|
/* media queries */
|
||||||
|
|
||||||
@@ -283,29 +250,17 @@ a.no-underline {
|
|||||||
max-height: 150px;
|
max-height: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#corona-alert {
|
#corona-alert { margin: -25px 6px 0px 12px; }
|
||||||
margin: -25px 6px 0px 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-width {
|
.form-width { width: 220px; }
|
||||||
width: 220px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.zero-margin {
|
.zero-margin { margin: 7px auto; }
|
||||||
margin: 7px auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-by-jumbotron {
|
.nav-by-jumbotron { margin-top: 40px !important; }
|
||||||
margin-top: 40px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main-blue-footer {
|
#main-blue-footer { min-height: 450px; }
|
||||||
min-height: 450px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-address {
|
.library-address { float: left; }
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cuny-logo {
|
#cuny-logo {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -321,26 +276,18 @@ a.no-underline {
|
|||||||
|
|
||||||
@media only screen and (min-width: 767px) {
|
@media only screen and (min-width: 767px) {
|
||||||
|
|
||||||
#corona-alert {
|
#corona-alert { margin: -20px 12px 0px 12px; }
|
||||||
margin: -20px 12px 0px 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.zero-margin {
|
.zero-margin { margin: -2px; }
|
||||||
margin: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-by-jumbotron {
|
.nav-by-jumbotron { margin-top: 0px !important; }
|
||||||
margin-top: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lighthouse-logo {
|
#lighthouse-logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-blue-footer {
|
#main-blue-footer { min-height: 210px; }
|
||||||
min-height: 210px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-address {
|
.library-address {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -363,9 +310,7 @@ a.no-underline {
|
|||||||
|
|
||||||
@media only screen and (min-width: 992px) {
|
@media only screen and (min-width: 992px) {
|
||||||
|
|
||||||
#header-div {
|
#header-div { text-align: left; }
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#kb-cuny-logo {
|
#kb-cuny-logo {
|
||||||
max-width: 38%;
|
max-width: 38%;
|
||||||
@@ -381,27 +326,17 @@ a.no-underline {
|
|||||||
margin-right: -32px;
|
margin-right: -32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#corona-alert {
|
#corona-alert { margin-top: -10px; }
|
||||||
margin-top: -10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav.navbar-default.yamm {
|
nav.navbar-default.yamm { margin-top: 10px; }
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-width {
|
.form-width { width: 350px; }
|
||||||
width: 350px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 1200px) {
|
@media only screen and (min-width: 1200px) {
|
||||||
#kb-cuny-logo {
|
#kb-cuny-logo { margin-top: 0px; }
|
||||||
margin-top: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#library-logo {
|
#library-logo { margin-top: -3px; }
|
||||||
margin-top: -3px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -432,6 +367,14 @@ a.no-underline {
|
|||||||
/* End of Yamm */
|
/* End of Yamm */
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- script to make the Book a Study Room widget run -->
|
||||||
|
<script src="https://kbcc-cuny.libcal.com/js/equipment.min.js"></script>
|
||||||
|
<script>
|
||||||
|
jQuery(function(){
|
||||||
|
jQuery("#eq_32886").LibCalEquipmentBooking({iid: 5570, gid: 32886, eid: 0, width: 560, height: 680});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- the configuration file for the hours widget -->
|
<!-- the configuration file for the hours widget -->
|
||||||
<script type="text/javascript" src="//libapps.s3.amazonaws.com/sites/2365/include/hours-babel.js"></script>
|
<script type="text/javascript" src="//libapps.s3.amazonaws.com/sites/2365/include/hours-babel.js"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user