From 51df7257829696b7b294ca4e741c82123e35bd11 Mon Sep 17 00:00:00 2001 From: briandunnigan Date: Fri, 14 Nov 2014 10:43:35 -0500 Subject: [PATCH 1/2] CSS Fixes - Issue #34 - Link flags no longer break navigation - Issue #45 - UUP List Mobile text now wraps - Issue #50 - Removed UCHC Contact Us from footer - Issue #54 - Fixed UUP users displayed inline *All updates added to style.scss because nav.scss won't compile. We can move the code to the appropriate sections when Andrew is back --- footer.php | 8 ++--- sass/nav.scss | 4 ++- style.css | 83 ++++++++++++++++++++++++++++++++++++++++++++++----- style.scss | 30 +++++++++++++++++++ 4 files changed, 112 insertions(+), 13 deletions(-) diff --git a/footer.php b/footer.php index bc21c83..e90bc63 100644 --- a/footer.php +++ b/footer.php @@ -21,9 +21,9 @@ $location = $text_string; if($location == 'uchc'){ ?> -
  • +
  • UConn Health
  • @@ -33,9 +33,9 @@
  • Maps & Directions
  • -
  • +
  • © University of Connecticut Health Center
  • diff --git a/sass/nav.scss b/sass/nav.scss index 01994c0..34e90f7 100644 --- a/sass/nav.scss +++ b/sass/nav.scss @@ -18,9 +18,11 @@ $nav-secondary-pills-link-hover: #eee !default; $nav-secondary-pills-active-link-hover-bg: $component-active-bg !default; $nav-secondary-pills-active-link-hover-color: $component-active-color !default; + + #nav-secondary { - padding: $nav-secondary-padding; + padding: $nav-secondary-padding; border: 1px solid transparent; border-color: $nav-secondary-border-color; border-radius: $nav-secondary-border-radius; diff --git a/style.css b/style.css index 9823ff3..e7c13e2 100644 --- a/style.css +++ b/style.css @@ -318,7 +318,6 @@ th { src: url("../../global/bootstrap-sass-master/assets/fonts/bootstrap/glyphicons-halflings-regular.eot"); src: url("../../global/bootstrap-sass-master/assets/fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../../global/bootstrap-sass-master/assets/fonts/bootstrap/glyphicons-halflings-regular.woff") format("woff"), url("../../global/bootstrap-sass-master/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf") format("truetype"), url("../../global/bootstrap-sass-master/assets/fonts/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg"); } - .glyphicon { position: relative; top: 1px; @@ -1146,7 +1145,7 @@ th { html { font-size: 10px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-tap-highlight-color: transparent; } body { @@ -5136,7 +5135,6 @@ a.thumbnail.active { background-position: 0 0; } } - @keyframes progress-bar-stripes { from { background-position: 40px 0; @@ -5146,7 +5144,6 @@ a.thumbnail.active { background-position: 0 0; } } - .progress { overflow: hidden; height: 20px; @@ -6356,7 +6353,7 @@ button.close { border-radius: 10px; cursor: pointer; background-color: #000 \9; - background-color: rgba(0, 0, 0, 0); + background-color: transparent; } .carousel-indicators .active { margin: 0; @@ -6466,7 +6463,6 @@ button.close { @-ms-viewport { width: device-width; } - .visible-xs, .visible-sm, .visible-md, .visible-lg { display: none !important; } @@ -6724,7 +6720,6 @@ button.close { font-weight: normal; font-style: normal; } - @font-face { font-family: 'Proxima Nova'; src: url("../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot"); @@ -6732,7 +6727,6 @@ button.close { font-weight: 500; font-style: normal; } - /* - - - - - - - - - - - - - - - - - - - == Titlebar - - - - - - - - - - - - - - - - - - - */ @@ -6859,6 +6853,63 @@ button.close { display: none; } +/* +// Support for mulitple-level dropdown menus. +.dropdown-submenu{ + position:relative; + } + + .dropdown-submenu > .dropdown-menu { + top:0; + left:100%; + padding:0; + } + + .dropdown-submenu:hover > .dropdown-menu{ + display:block; + } + + .dropdown-submenu:hover > a { + color: $navbar-default-link-hover-color; + background-color: $navbar-default-link-hover-bg; + } + + .dropdown-submenu > a:after{ + display:block; + content:" "; + float:right; + width:0; + height:0; + border-color:transparent; + border-style:solid; + border-width:5px 0 5px 5px; + border-left-color:$navbar-default-link-color; + margin-top:5px; + margin-right:-10px; + } + + .dropdown-submenu:hover > a:after{ + border-left-color:$navbar-default-link-hover-color; + } + + .dropdown-submenu .pull-left{ + float:none; + } + + .dropdown-submenu.pull-left > .dropdown-menu{ + left:-100%; + margin-left:10px; + } + + +.dropdown-menu { + .dropdown-menu { + margin:0; + top:-1px; + } +} + +/**/ .navbar-collapse { max-height: none; } @@ -7845,3 +7896,19 @@ body.sticky #footers { #footer .glyphicon { display: none; } + +/* Nav Changes */ +#primary-nav a.external { + max-height: 50px; +} + +/* Footer Changes */ +#footer li a { + padding: 15px 0px; +} + +/* UUP */ +.uup-list .uup-name, .uup-list .uup-title, .uup-list .uup-phones, .uup-list .uup-email, .uup-list .uup-courses, .uup-list .uup-office-location, .uup-list .uup-office-hours, .uup-list .uup-courses, .uup-list .uup-fax { + display: block !important; + word-wrap: break-word; +} diff --git a/style.scss b/style.scss index 4674216..31dc9d5 100644 --- a/style.scss +++ b/style.scss @@ -33,3 +33,33 @@ $icon-font-path: "../../global/bootstrap-sass-master/assets/fonts/bootstrap/" !d @import "sass/cal.scss"; @import "sass/in-page-menus.scss"; @import "sass/footer.scss"; + + + +/* Nav Changes */ +#primary-nav { + a.external { + max-height:50px; + } +} + +/* Footer Changes */ + +#footer { + li { + a { + padding:15px 0px; + } + } +} + +/* UUP */ + +.uup-list { + .uup-name, .uup-title, .uup-phones, .uup-email, .uup-courses, .uup-office-location, .uup-office-hours, .uup-courses, .uup-fax{ + display:block !important; + word-wrap: break-word; + } +} + + From 093d90540fc3651de9cfa1d0f27d9af7b00bf7f2 Mon Sep 17 00:00:00 2001 From: briandunnigan Date: Mon, 17 Nov 2014 10:37:55 -0500 Subject: [PATCH 2/2] Adding A-Z Index Back --- footer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/footer.php b/footer.php index e90bc63..947d2b3 100644 --- a/footer.php +++ b/footer.php @@ -21,9 +21,9 @@ $location = $text_string; if($location == 'uchc'){ ?> - +
  • UConn Health