This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Får opp et initielt design (mangler ikoner)
- Loading branch information
Showing
32 changed files
with
357 additions
and
66 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
declare module 'nav-frontend-grid' { | ||
import * as React from 'react'; | ||
|
||
export interface ContainerProps { | ||
className?: string; | ||
fluid?: boolean; | ||
} | ||
|
||
export interface RowProps { | ||
className?: string; | ||
} | ||
|
||
export interface ColumnProps { | ||
xs?: string; | ||
sm?: string; | ||
md?: string; | ||
lg?: string; | ||
className?: string; | ||
} | ||
|
||
export class Container extends React.Component<ContainerProps, {}> { | ||
} | ||
export class Row extends React.Component<RowProps, {}> { | ||
} | ||
export class Column extends React.Component<ColumnProps, {}> { | ||
} | ||
} |
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,11 @@ | ||
declare module 'nav-frontend-lenkepanel' { | ||
import * as React from 'react'; | ||
|
||
export interface ElementProps { | ||
tittelProps?: string; | ||
href: string; | ||
children?: {}; | ||
} | ||
|
||
export default class Lenkepanel extends React.Component<ElementProps, {}> {} | ||
} |
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 @@ | ||
declare module 'nav-frontend-paneler' { | ||
import * as React from 'react'; | ||
|
||
export interface ElementProps { | ||
children?: {}; | ||
className?: string; | ||
} | ||
|
||
export class Panel extends React.Component<ElementProps, {}> {} | ||
} |
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,19 @@ | ||
declare module 'nav-frontend-typografi' { | ||
import * as React from 'react'; | ||
|
||
export interface ElementProps { | ||
className?: string; | ||
style?: {}; | ||
tag?: String; | ||
role?: String; | ||
} | ||
|
||
export class Sidetittel extends React.Component<ElementProps, {}> {} | ||
export class Undertittel extends React.Component<ElementProps, {}> {} | ||
export class Normaltekst extends React.Component<ElementProps, {}> {} | ||
export class EtikettLiten extends React.Component<ElementProps, {}> {} | ||
export class Innholdstittel extends React.Component<ElementProps, {}> {} | ||
export class Undertekst extends React.Component<ElementProps, {}> {} | ||
export class UndertekstBold extends React.Component<ElementProps, {}> {} | ||
export class Element extends React.Component<ElementProps, {}> {} | ||
} |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,76 @@ | ||
|
||
.oppgaver__wrapper { | ||
margin-left: auto; | ||
margin-right: auto; | ||
display: block; | ||
|
||
.overskrift-oppgaver { | ||
text-align: center; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
display: block; | ||
} | ||
.lenkeboks { | ||
.lenkeboks-overskrift { | ||
margin-left: 0.5rem; | ||
margin-top: 0.5rem; | ||
} | ||
.lenkeboks-beskrivelse { | ||
margin-left: 0.5rem; | ||
top: 3rem; | ||
position:absolute; | ||
} | ||
min-height: 12rem; | ||
margin-bottom: 1rem; | ||
background-color: #ffffff; | ||
display: inline-block; | ||
border-radius: 4px; | ||
position: relative; | ||
z-index: 100; | ||
cursor: pointer; | ||
color: #3e3832; | ||
text-decoration: none; | ||
padding-bottom: 3rem; | ||
width: calc(~'100%/3 - 1rem'); | ||
|
||
&:first-of-type { | ||
margin-right: 1.5rem; | ||
} | ||
&:last-of-type { | ||
margin-left: 1.5rem; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
&:first-child { | ||
margin-right: 0; | ||
} | ||
|
||
&:last-child { | ||
margin-left: 0; | ||
} | ||
|
||
width: 100% | ||
} | ||
|
||
&:hover { | ||
box-shadow: #b7b1a9 0 2px 1px 0; | ||
color: #005b82; | ||
|
||
& .lenkeboks__indikator { | ||
bottom: 12px; | ||
} | ||
} | ||
|
||
&__indikator { | ||
.chevron-mixin(); | ||
.chevron-orientasjon-mixin(hoyre); | ||
position: absolute; | ||
right: 50%; | ||
bottom: 16px; | ||
transition: bottom 250ms; | ||
} | ||
|
||
} | ||
} | ||
|
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,17 @@ | ||
import * as React from 'react'; | ||
|
||
interface Props { | ||
children: {}; | ||
href: string; | ||
} | ||
|
||
function Leneboks({children, href}: Props) { | ||
return ( | ||
<a href={href} className="lenkeboks"> | ||
{children} | ||
<span className="lenkeboks__indikator"/> | ||
</a> | ||
); | ||
} | ||
|
||
export default Leneboks; |
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,3 @@ | ||
.oppgave-tittel { | ||
margin-bottom: 1rem; | ||
} |
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
Oops, something went wrong.