Skip to content

Commit

Permalink
Merge pull request unl#926 from skoolbus39/4.1
Browse files Browse the repository at this point in the history
Breadcrumb, navigation, color updates
  • Loading branch information
kabel committed Dec 15, 2015
2 parents 8d4d25a + ab2af0e commit 02d550e
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 33 deletions.
2 changes: 1 addition & 1 deletion wdn/templates_4.1/includes/globalfooter.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<li><a href="http://directory.unl.edu/" class="wdn-footer-list-item">Directory</a></li>
<li><a href="https://employment.unl.edu/" class="wdn-footer-list-item">Employment</a></li>
<li><a href="http://events.unl.edu/" class="wdn-footer-list-item">Events</a></li>
<li><a href="http://libraries.unl.edu/" class="wdn-footer-list-item">Libraries</a></li>
<li><a href="http://maps.unl.edu/" class="wdn-footer-list-item">Maps</a></li>
<li><a href="http://marketplace.unl.edu/" class="wdn-footer-list-item">Marketplace</a></li>
<li><a href="http://www.unl.edu/chancellor/" class="wdn-footer-list-item">Office of the Chancellor</a></li>
<li><a href="http://news.unl.edu/newsrooms/unltoday/" class="wdn-footer-list-item">UNL Today</a></li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions wdn/templates_4.1/less/_mixins/colors.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// GO B1G RED

// Scarlet
@scarlet: #d00000;
@scarlet: #dd0000;
@brand: @scarlet;

// Cream
Expand Down Expand Up @@ -54,7 +54,7 @@

// Assign base colors

// Base text and heading text colors
// Base text and heading text colors
@heading-text: @ui09;
@base-text: @ui08;

Expand Down
25 changes: 14 additions & 11 deletions wdn/templates_4.1/less/layouts/breadcrumbs.less
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,20 @@

&:last-child {

@media @bp-nav-full {
padding-left: 23px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: transparent;
}

&:after {
display: none;
}
&:not(.last-link) {

@media @bp-nav-full {
padding-left: 23px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: transparent;
}

&:after {
display: none;
}
}
}

&.selected {
Expand Down
8 changes: 5 additions & 3 deletions wdn/templates_4.1/less/layouts/navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@

// Styles specific to the mobile view
@media @bp-nav-hidden {
border-bottom: 1px solid @ui11;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);

&:hover {
border-bottom: 1px solid rgba(0, 0, 0, 0);
}
}

@media @bp-nav-full {
Expand Down Expand Up @@ -182,8 +186,6 @@
ul {
height: 0;
overflow: hidden;
border-top: 1px solid #c00808;
border-top: 1px solid fadeout(#000,94%);
}

li {
Expand Down
5 changes: 3 additions & 2 deletions wdn/templates_4.1/less/layouts/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@

@media @bp-nav-hidden {
position: absolute;
left: 4.49em;
left: 2.369em;
cursor: pointer;
}

@media @bp-nav-full {
Expand Down Expand Up @@ -184,7 +185,7 @@
content: '';
position: absolute;
top: -6px;
left: 5.61em;
left: 3.157em;
width: 0;
height: 0;
border-left: 6px solid transparent;
Expand Down
33 changes: 19 additions & 14 deletions wdn/templates_4.1/less/layouts/share.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
z-index: (@nav-z-index + 1);

@media @bp-nav-hidden {
margin-left: 1em;
margin-left: 4.209em;
}

@media @bp-nav-full {
Expand Down Expand Up @@ -52,13 +52,12 @@
.wdn-icon-share {
display: block;
color: #fff;
padding: 8px 0 10px 10px;
padding: 11px 0;
font-size: 17px;
font-size: 1.069rem;
border-radius: 3px;

@media @bp-nav-hidden {
padding: 7px 1.333em 7px 0;
padding: 7px 0;
}
}
}
Expand Down Expand Up @@ -175,20 +174,26 @@
}

#navigation .wdn-icon-share {
position: relative;
left: 9px;
padding: 9px 0;
display: none;
cursor: pointer;
position: absolute;
padding: 9px 0;
line-height: normal;

@media @bp640 { right: @page-offset-640; }
@media @bp768 { right: @page-offset-768; }
@media @bp960 { right: @page-offset-960; }
@media @bp1280 { right: @page-offset-1280; }
@media @bp1600 { right: @page-offset-1600; }

@media @bp-nav-full {
display: inline-block;
}
}

@media @bp-nav-full {
.wdn-menu-trigger .wdn-share-button .wdn-icon-share {
display: none;
}
.wdn-menu-trigger .wdn-share-button .wdn-icon-share {

#navigation .wdn-icon-share {
display: inline-block;
}
@media @bp-nav-full {
display: none;
}
}
11 changes: 11 additions & 0 deletions wdn/templates_4.1/less/states/navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@
}
}
}

.nav_expanded & {

> ul > li > a {

@media @bp-nav-full {
border-bottom: 1px solid #c00808;
border-bottom: 1px solid fadeout(#000,94%);
}
}
}
}

@media @bp-nav-hidden {
Expand Down

0 comments on commit 02d550e

Please sign in to comment.