-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added new component box-liftup * hover * fixed input background to white from transparent * fixed search form dark background to darkgray
- Loading branch information
Showing
9 changed files
with
163 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
section: 6.10.10 | ||
title: Box liftup | ||
template: 6_10_10_box-liftup | ||
description: Prominent liftup for e.g. ongoing Unitube live video. | ||
*/ | ||
|
||
%box-liftup, | ||
.box-liftup { | ||
background-color: $blue--active; | ||
display: flex; | ||
flex-direction: row; | ||
flex: 1 1 auto; | ||
padding: 1em 1em 1em 0.5em; | ||
position: relative; | ||
transition-duration: 0.1s; | ||
transition-property: background-color; | ||
|
||
&:hover { | ||
background-color: $darkblue; | ||
} | ||
|
||
@include breakpoint($small) { | ||
padding: 1.25em; | ||
} | ||
} | ||
|
||
.box-liftup__left { | ||
flex-shrink: 0; | ||
margin-right: 0.5em; | ||
|
||
@include breakpoint($small) { | ||
margin-right: 1.25em; | ||
} | ||
} | ||
|
||
.box-liftup__icon { | ||
@include font-size(92px, 44px); | ||
color: $white; | ||
line-height: 1; | ||
} | ||
|
||
.box-liftup__right { | ||
} | ||
|
||
.box-liftup__precontent { | ||
@include font-size(13px); | ||
color: $white; | ||
padding-bottom: 5px; | ||
text-transform: uppercase; | ||
} | ||
|
||
.box-liftup__title { | ||
color: $white; | ||
padding-bottom: 5px; | ||
} | ||
|
||
.box-liftup__content { | ||
@include font-size(13px); | ||
color: $white; | ||
text-transform: uppercase; | ||
} |
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,10 @@ | ||
<a class="box-liftup" href=""> | ||
<div class="box-liftup__left"> | ||
<div class="box-liftup__icon icon--video"></div> | ||
</div> | ||
<div class="box-liftup__right"> | ||
<div class="box-liftup__precontent">Suora lähetys</div> | ||
<h4 class="box-liftup__title">Academic freedom and the Turkish turmoil: Symposium on academic freedom in Turkey</h4> | ||
<div class="box-liftup__content">ti 28.6.2016 12:00-14:00</div> | ||
</div> | ||
</a> |