From d661e49f972e39a44e2d855cf9b71641d5291bef Mon Sep 17 00:00:00 2001 From: MarkEEaton Date: Wed, 2 Mar 2022 14:48:51 -0500 Subject: [PATCH] css & js for book a study room widget also, condensed the css --- groups/home/LibAnswers-2-js-css.html | 175 +++++++++------------------ 1 file changed, 59 insertions(+), 116 deletions(-) diff --git a/groups/home/LibAnswers-2-js-css.html b/groups/home/LibAnswers-2-js-css.html index d78a055..853ebb5 100644 --- a/groups/home/LibAnswers-2-js-css.html +++ b/groups/home/LibAnswers-2-js-css.html @@ -5,6 +5,10 @@ body { overflow-x: hidden; } +/* style slide out chat */ + +#lcs_slide_out_button-21944 { font-size: 1.5em; } + /* style alert */ #corona-alert { @@ -36,9 +40,7 @@ nav.navbar-default.yamm { border-radius: 0px; } -.navbar-default .navbar-nav>li>a { - color: #111; -} +.navbar-default .navbar-nav >li >a { color: #111; } .faux-card { margin-left: 16px; @@ -46,7 +48,6 @@ nav.navbar-default.yamm { /* style 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-position: 50% 71%; padding: 20px 0px; @@ -72,17 +73,11 @@ nav.navbar-default.yamm { margin-right: -2px; } -#dropdownMenu1 { - border-radius: 0px; -} +#dropdownMenu1 { border-radius: 0px; } -a.searchmenu { - color: #111; -} +a.searchmenu { color: #111; } -.highlight-menu-item { - padding: 2px; -} +.highlight-menu-item { padding: 2px; } .highlight-menu-item:hover { background-color: #eee; @@ -90,9 +85,7 @@ a.searchmenu { } /* style link list */ -.link-list { - font-size: 1.5em; -} +.link-list { font-size: 1.5em; } /* style for nav by the jumbotron */ .nav-divs-by-jumbotron { @@ -110,13 +103,18 @@ a.searchmenu { margin-top: 4px; } -a.no-underline { - text-decoration: none; +a.no-underline { text-decoration: none; } + +.nav-divs-by-jumbotron:hover { background-color: #444; } + +#eq_32886 { + background-color: #003466; + border: none; } -.nav-divs-by-jumbotron:hover { - background-color: #444; -} +#eq_32886:hover, { background-color: #444; } + +.nav-divs-by-jumbotron:hover > h2 > #eq_32886 { background-color: #444; } /* style the panels with the text content */ .panel>.show-panel { @@ -129,9 +127,7 @@ a.no-underline { box-shadow: none; } -.glyphicon-panel-title { - font-size: 2em; -} +.glyphicon-panel-title { font-size: 2em; } .content-panel-title { color: white; @@ -143,8 +139,7 @@ a.no-underline { font-size: 1em; } -.panel-heading { - padding: 2px; +.panel-heading { padding: 2px; } } /* style the gallery */ @@ -156,22 +151,14 @@ a.no-underline { margin: 0px; } -.s-lib-public-side-header { - display: none; -} +.s-lib-public-side-header { display: none; } -.slick-active { - outline: 0; -} +.slick-active { outline: 0; } /* style the hours */ -.hours { - text-align:center; -} +.hours { text-align:center; } -.hours-panel-body { - padding: 10px 5px 0px 5px; -} +.hours-panel-body { padding: 10px 5px 0px 5px; } .padding-0 { padding-left: 4px; @@ -188,9 +175,7 @@ a.no-underline { display: flex; } -.panel { - flex:1 0 100%; -} +.panel { flex:1 0 100%; } .panel-outline-color { border: solid #555 1px; @@ -210,33 +195,19 @@ a.no-underline { } /* style the yamm menu */ -.dropdown-margin { - margin-right: 50px; -} +.dropdown-margin { margin-right: 50px; } -.bigger-fancy-text { - font-size: 1.2em; -} +.bigger-fancy-text { font-size: 1.2em; } -.yamm1 { - max-width: 900px; -} +.yamm1 { max-width: 900px; } -.yamm2 { - max-width: 675px; -} +.yamm2 { max-width: 675px; } -.yamm3 { - max-width: 300px; -} +.yamm3 { max-width: 300px; } -.yamm4 { - max-width: 460px; -} +.yamm4 { max-width: 460px; } -#yamm4-margins { - margin: -15px 0px; -} +#yamm4-margins { margin: -15px 0px; } /* style footer */ @@ -261,13 +232,9 @@ a.no-underline { font-size: 1.5em } -.whiteahrefs { - margin-top: 10px; -} +.whiteahrefs { margin-top: 10px; } -#lighthouse-logo > img { - max-width: 150px; -} +#lighthouse-logo > img { max-width: 150px; } /* media queries */ @@ -283,29 +250,17 @@ a.no-underline { max-height: 150px; } - #corona-alert { - margin: -25px 6px 0px 12px; - } + #corona-alert { margin: -25px 6px 0px 12px; } - .form-width { - width: 220px; - } + .form-width { width: 220px; } - .zero-margin { - margin: 7px auto; - } + .zero-margin { margin: 7px auto; } - .nav-by-jumbotron { - margin-top: 40px !important; - } + .nav-by-jumbotron { margin-top: 40px !important; } - #main-blue-footer { - min-height: 450px; - } + #main-blue-footer { min-height: 450px; } - .library-address { - float: left; - } + .library-address { float: left; } #cuny-logo { float: left; @@ -321,26 +276,18 @@ a.no-underline { @media only screen and (min-width: 767px) { - #corona-alert { - margin: -20px 12px 0px 12px; - } + #corona-alert { margin: -20px 12px 0px 12px; } - .zero-margin { - margin: -2px; - } + .zero-margin { margin: -2px; } - .nav-by-jumbotron { - margin-top: 0px !important; - } + .nav-by-jumbotron { margin-top: 0px !important; } #lighthouse-logo { display: inline-block; float: left; } - #main-blue-footer { - min-height: 210px; - } + #main-blue-footer { min-height: 210px; } .library-address { display: inline-block; @@ -363,9 +310,7 @@ a.no-underline { @media only screen and (min-width: 992px) { - #header-div { - text-align: left; - } + #header-div { text-align: left; } #kb-cuny-logo { max-width: 38%; @@ -381,27 +326,17 @@ a.no-underline { margin-right: -32px; } - #corona-alert { - margin-top: -10px; - } + #corona-alert { margin-top: -10px; } - nav.navbar-default.yamm { - margin-top: 10px; - } + nav.navbar-default.yamm { margin-top: 10px; } - .form-width { - width: 350px; - } + .form-width { width: 350px; } } @media only screen and (min-width: 1200px) { - #kb-cuny-logo { - margin-top: 0px; - } + #kb-cuny-logo { margin-top: 0px; } - #library-logo { - margin-top: -3px; - } + #library-logo { margin-top: -3px; } } /*! @@ -432,6 +367,14 @@ a.no-underline { /* End of Yamm */ + + + +