Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Use high quality svg for UW-Madison crest image #413

Merged
merged 1 commit into from
Apr 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions uw-frame-components/css/buckyless/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,56 @@ portal-header {
box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);
z-index: 100;
top: 0;

.md-toolbar-tools {
padding-left: 0;
height: 56px;
max-height: 56px;

.title-link {
max-height: 56px;
overflow-y: hidden;

h1 {
@media (min-width: @xs) and (max-width: @sm) {
margin-left: 16px;
}
}

img {
height: 56px;
margin-right: 16px;
}
.beta-logo {
font-size:0.55em;
color: #fcf49c;
position:relative;
top:0;
margin-left:3px;
height: 88px;
margin-right: 6px;
position: relative;
left: -8px;
top: -6px;
}
}

.md-menu {
margin: 0;

> .md-button {
min-width: 48px;
margin: 0;
}
}

@media (max-width:@xs) {
padding-right: 0;
}
}
}

&.has-priority-nots {
@media (min-width: @xs) {
margin-top: 46px;

md-toolbar {
top: 46px;
}
}
}

@media (max-width:@xs) {
.search-xs {
width: 100%;
Expand All @@ -65,20 +73,25 @@ portal-header {
overflow: hidden;
transition: @search-transition;
background: rgba(0,0,0,0.4);

&:not(.search-expanded) {
height: 0;
}

&.search-expanded {
height: 56px;
}

form {
height: auto;
max-width: none;

.myuw-search {
padding: 2px 0 2px 18px;
margin: 8px 12px;
height: 40px;
background: @white;

.search-submit-xs {
min-height: 0;
height: 40px;
Expand All @@ -88,6 +101,7 @@ portal-header {
top: -2px;
right: -2px;
}

.md-input {
float: left;
color: @grayscale10;
Expand Down
1 change: 1 addition & 0 deletions uw-frame-components/img/uw-madison-crest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions uw-frame-components/js/frame-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ define(['angular'], function(angular) {
var config = angular.module('frame-config', []);
config
.constant('THEMES',
{"themeVersion": 6,
{"themeVersion": 7,
/* THOU SHALT INCREMENT THIS VERSION NUMBER IF THOU CHANGEST ANY OF THE THEMES BELOW */
"themes":
[
{
"name" : "uw-madison",
"portalSkinKey" : "uwMadison",
"crest" : "img/uw-madison-52.png",
"crest" : "img/uw-madison-crest.svg",
"title" : "MyUW",
"subtitle" : null,
"ariaLabelTitle" : "My U W",
Expand Down