Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #151 from s0lvang/design-lok
Browse files Browse the repository at this point in the history
Nye farger, favikoner, diverse brukergrensesnittprogramvarelusfeilfikser
  • Loading branch information
plusk authored Mar 19, 2020
2 parents e642c78 + b0aabc1 commit 5e49200
Show file tree
Hide file tree
Showing 27 changed files with 71 additions and 17 deletions.
Binary file removed public/apple-touch-icon.png
Binary file not shown.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="src/assets/favicon/mstile-150x150.png"/>
<TileColor>#0d5474</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added public/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/favicon.ico
Binary file not shown.
Binary file added public/favicon/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions public/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Karantenehjelpen",
"short_name": "Karantenehjelpen",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#0d5474",
"background_color": "#0d5474",
"start_url": "https://karantenehjelpen.no/",
"display": "standalone"
}
Binary file removed public/icon-192.png
Binary file not shown.
Binary file removed public/icon-256.png
Binary file not shown.
Binary file removed public/icon-512.png
Binary file not shown.
13 changes: 9 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@
<meta property="og:title" content="Karantenehjelpen" />
<meta property="og:description" content="Motta hjelp til å handle hvis du er i karantene, eller hjelp de som sitter i karantene med å handle" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<title>Karantenehjelpen</title>
<!-- $color-primary -->
<meta name="theme-color" content="#0060a3" />
<link rel="apple-touch-icon" sizes="180x180" href="<%= BASE_URL %>favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<%= BASE_URL %>favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<%= BASE_URL %>favicon/favicon-16x16.png">
<link rel="manifest" href="<%= BASE_URL %>favicon/site.webmanifest">
<link rel="mask-icon" href="<%= BASE_URL %>favicon/safari-pinned-tab.svg" color="#0d5474">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#0d5474">
<meta name="msapplication-config" content="<%= BASE_URL %>favicon/browserconfig.xml">
<meta name="theme-color" content="#0d5474">
<meta
name="description"
content="Motta hjelp til å handle hvis du er i karantene, eller hjelp de som sitter i karantene med å handle."
Expand Down
10 changes: 9 additions & 1 deletion src/assets/logo.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: 0 additions & 4 deletions src/common/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,3 @@ em {
line-height: 2.5rem;
font-style: italic;
}

p {
word-break: break-all;
}
12 changes: 6 additions & 6 deletions src/common/constants.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// palette
$color-primary: #0060a3;
$color-primary: #0d5474;
$color-text: darken(#0d5474, 15%); // #05222f
$color-danger: #df2020;
$color-background-contrast: #ccc;
$color-text: #2c3e50;
$color-text-contrast: white;

// mixin components
Expand All @@ -17,13 +17,13 @@ $color-text-contrast: white;
}

@mixin elevation-soft {
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 3px 1px -2px rgba($color-text, 0.2),
0 2px 2px 0 rgba($color-text, 0.14), 0 1px 5px 0 rgba($color-text, 0.12);
}

@mixin elevation-hard {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),
0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 3px 5px -1px rgba($color-text, 0.2),
0 6px 10px 0 rgba($color-text, 0.14), 0 1px 18px 0 rgba($color-text, 0.12);
}

@mixin card {
Expand Down
5 changes: 5 additions & 0 deletions src/components/CreateEditRequest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ section > * + * {
margin-top: 1rem;
}
#payment-solution {
border: none;
@include elevation-soft;
}
.error {
text-align: center;
color: $color-danger;
Expand Down
6 changes: 5 additions & 1 deletion src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ footer {
align-items: center;
width: 100%;
a {
margin: 0 0.5rem;
}
a:link,
a:visited {
color: $color-text-contrast;
Expand All @@ -46,9 +50,9 @@ footer {
margin-top: $vertical-space-large;
}
svg {
margin-left: 1rem;
fill: #ffffff;
transition: opacity 0.2s;
vertical-align: middle;
&:hover {
opacity: 0.7;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ header {
align-items: center;
justify-content: space-between;
padding: ($headerHeight - $contentSize) / 2 2rem;
box-shadow: 0 2px 4px rgba(black, 0.25);
box-shadow: 0 2px 4px rgba($color-text, 0.25);
}
img {
Expand Down
6 changes: 6 additions & 0 deletions src/components/shared/BigTextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ export default {
}
};
</script>

<style lang="scss" scoped>
textarea {
resize: vertical;
}
</style>

0 comments on commit 5e49200

Please sign in to comment.