This repository has been archived by the owner on Feb 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #343 from marcom-unimelb/intranet-components
Intranet components and wide/stacked nav block listing
- Loading branch information
Showing
332 changed files
with
24,128 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: RACK_ENV=production VERSION=v3.0 bundle exec thin start -p $PORT | ||
web: RACK_ENV=production VERSION=v3.2 bundle exec thin start -p $PORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
.uomcontent { | ||
|
||
.page-header.short { | ||
@include rem(min-height, 90px); | ||
background-image: url(/assets/headers/header_light.jpg); | ||
background-position: center center; | ||
background-size: cover; | ||
position: relative; | ||
|
||
.page-header-home { | ||
@include flexbox(( | ||
display: box, | ||
align-items: center | ||
), $version: 1); | ||
@include flexbox(( | ||
display: flexbox, | ||
align-items: center | ||
), $version: 2); | ||
@include flexbox(( | ||
display: flex, | ||
align-items: center | ||
)); | ||
@include rem(height, 60px); | ||
@include rem(max-width, 110px); | ||
@include rem(width, 110px); | ||
} | ||
|
||
@include breakpoint(desktop) { | ||
@include rem(min-height, 250px); | ||
|
||
.page-header-logo { | ||
@include rem(height, 120px); | ||
@include rem(margin-left, 45px); | ||
@include rem(margin-top, 70px); | ||
@include rem(width, 120px); | ||
} | ||
|
||
.page-header-home { | ||
@include adjust-font-size-to(24px); | ||
@include rem(height, 120px); | ||
@include rem(margin-top, 70px); | ||
@include rem(max-width, 300px); | ||
@include rem(width, 300px); | ||
} | ||
|
||
.page-header-tools { | ||
@include rem(margin-top, 90px); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.uomcontent .page-header.short + .page-inner { | ||
padding-top: 0; | ||
|
||
.floating { | ||
display: none; | ||
} | ||
|
||
[role="main"] > *:first-child { | ||
padding-top: 0; | ||
} | ||
|
||
.tabbed-nav > .full-width { | ||
// background-color: $tabcolor; | ||
|
||
nav a[data-current]::after { | ||
// border-top-color: $tabcolor; | ||
} | ||
} | ||
|
||
.filtered-listing-wrapper.light { | ||
// background-color: $paleblue; | ||
|
||
form.filtered-listing-select, | ||
form.filtered-listing-select .left legend, | ||
form.filtered-listing-select .left input[type="checkbox"]+label span, | ||
form.filtered-listing-select .left .category-a input[type="checkbox"]+label span, | ||
form.filtered-listing-select .left .category-b input[type="checkbox"]+label span, | ||
form.filtered-listing-select .left .category-c input[type="checkbox"]+label span { | ||
// color: $black; | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.uomcontent [role="main"] { | ||
|
||
.staff-dial { | ||
@include rem(max-width, $w-mid); | ||
margin: 0 auto; | ||
padding: 0; | ||
text-align: center; | ||
|
||
li { | ||
@include rem(margin, 10px 10px); | ||
@include rem(width, 70px); | ||
display: inline-block; | ||
list-style-type: none; | ||
padding: 0; | ||
vertical-align: top; | ||
|
||
@include breakpoint(desktop) { | ||
@include rem(margin, 10px 28px); | ||
} | ||
} | ||
|
||
a { | ||
@include adjust-font-size-to(13px); | ||
@include rem(border-radius, 4px); | ||
@include rem(height, 70px); | ||
@include rem(padding-top, 8px); | ||
@include transition(transform 0.15s); | ||
background-color: $highlight; | ||
color: $white; | ||
display: block; | ||
text-align: center; | ||
text-decoration: none; | ||
text-transform: uppercase; | ||
width: 100%; | ||
|
||
&.c1 { | ||
background-color: #9c27b0; | ||
} | ||
|
||
&.c2 { | ||
background-color: #673ab7; | ||
} | ||
|
||
&.c3 { | ||
background-color: #2196f3; | ||
} | ||
|
||
&.c4 { | ||
background-color: #009688; | ||
} | ||
|
||
&.c5 { | ||
background-color: #009688; | ||
} | ||
|
||
&.c6 { | ||
background-color: #ff9800; | ||
} | ||
|
||
&.c7 { | ||
background-color: #607d8b; | ||
} | ||
|
||
&:hover { | ||
transform: scale(1.1); | ||
|
||
svg { | ||
fill: $white; | ||
} | ||
|
||
.icon-label { | ||
color: $white; | ||
} | ||
} | ||
|
||
& > div.small { | ||
width: 100%; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import 'short-header'; | ||
@import 'staff-dial'; |
22 changes: 22 additions & 0 deletions
22
assets/targets/components/listings/13-wide-navigational-block-listing-with-text.slim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
section.navigation-block-listing | ||
ul.wide | ||
li | ||
a href="#" title="Lorum ipsum dolor sit amet" | ||
h3 Main heading | ||
p Lorem ipsum dolor sit amet, consectetur enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut o consequat. | ||
li | ||
a href="#" title="Lorum ipsum dolor sit amet" | ||
h3 Main heading consequat | ||
p Lorem ipsum dolor sit amet, consectetdipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.im ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
li | ||
a href="#" title="Lorum ipsum dolor sit amet" | ||
h3 Main heading | ||
p Lectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
li | ||
a href="#" title="Lorum ipsum dolor sit amet" | ||
h3 Main heading nostrud exercitation | ||
p Lorem ipsum dolor sit amet, ing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
li | ||
a href="#" title="Lorum ipsum dolor sit amet" | ||
h3 Main heading | ||
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
assets/targets/components/listings/15-stacked-navigational-block-listing-with-text.slim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
section.navigation-block-listing.stacked | ||
ul | ||
li | ||
a href="/pages/staff-hub/human-resources/salary-benefits-leave/" title=("Salary benefits and leave") | ||
h3 Salary, benefits and leave | ||
p Find out when you get paid, learn what is required to take leave and check your super arrangements. | ||
li | ||
a href="#" title=("Nothing here") | ||
h3 Career development and training | ||
p Professional skills, leadership, performance development, motoring, networks, training in OH&S, fairness and diversity. | ||
li | ||
a href="#" title=("Nothing here") | ||
h3 Career transitions | ||
p Career planning, support, job applications, applying for internal positions and changing or ceasing your employment. | ||
li | ||
a href="/pages/staff-hub/human-resources/recruiting/" title=("Recruiting and hiring staff") | ||
h3 Recruiting and hiring staff | ||
p Compiling a position description, advertising, shortlisting and interviewing, making an offer, appointment, set-up, commencement and indigenous recruitment. | ||
li | ||
a href="#" title=("Nothing here") | ||
h3 Managing staff | ||
p Learn how to effectively manage staff and change, recognise staff achievements at a local to university wide level, and conduct workforce planning. | ||
li | ||
a href="#" title=("Nothing here") | ||
h3 Get HR advice | ||
p Find out where to go for HR advice and support. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.