diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-07 15:29:31 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-11-07 15:29:31 +0100 |
commit | dd307e3deb14f1738029ea38f7c1de7893455283 (patch) | |
tree | 9e1148d98476f864903900e819b509dfe12a7f14 /src/styles | |
parent | Remove cumbersome style nesting (diff) | |
download | ferdium-app-dd307e3deb14f1738029ea38f7c1de7893455283.tar.gz ferdium-app-dd307e3deb14f1738029ea38f7c1de7893455283.tar.zst ferdium-app-dd307e3deb14f1738029ea38f7c1de7893455283.zip |
feature(Service): Add webview crash handler to display a user friendly message
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/services.scss | 19 | ||||
-rw-r--r-- | src/styles/type.scss | 5 |
2 files changed, 18 insertions, 6 deletions
diff --git a/src/styles/services.scss b/src/styles/services.scss index 3347ea9d7..95738f123 100644 --- a/src/styles/services.scss +++ b/src/styles/services.scss | |||
@@ -8,7 +8,8 @@ | |||
8 | background: #FFF; | 8 | background: #FFF; |
9 | order: 5; | 9 | order: 5; |
10 | 10 | ||
11 | .services__webview { | 11 | .services__webview, |
12 | .services__crash-handler { | ||
12 | position: absolute; | 13 | position: absolute; |
13 | width: 100%; | 14 | width: 100%; |
14 | top: 0; | 15 | top: 0; |
@@ -38,7 +39,8 @@ | |||
38 | } | 39 | } |
39 | } | 40 | } |
40 | 41 | ||
41 | .services__no-service { | 42 | .services__no-service, |
43 | .services__crash-handler { | ||
42 | display: flex; | 44 | display: flex; |
43 | flex-direction: column; | 45 | flex-direction: column; |
44 | justify-content: center; | 46 | justify-content: center; |
@@ -51,10 +53,15 @@ | |||
51 | color: $theme-gray-dark; | 53 | color: $theme-gray-dark; |
52 | } | 54 | } |
53 | 55 | ||
54 | a.button { | 56 | a.button, |
55 | margin-top: 40px; | 57 | button { |
56 | // color: #FFF; | 58 | margin: 40px 0 20px; |
57 | // border-color: #FFF; | ||
58 | } | 59 | } |
59 | } | 60 | } |
61 | |||
62 | .services__crash-handler { | ||
63 | position: absolut; | ||
64 | z-index: 110; | ||
65 | } | ||
66 | |||
60 | } | 67 | } |
diff --git a/src/styles/type.scss b/src/styles/type.scss index 935a36f4b..cacbec482 100644 --- a/src/styles/type.scss +++ b/src/styles/type.scss | |||
@@ -71,3 +71,8 @@ a { | |||
71 | .label { | 71 | .label { |
72 | @include formLabel(); | 72 | @include formLabel(); |
73 | } | 73 | } |
74 | |||
75 | .footnote { | ||
76 | font-size: 12px; | ||
77 | color: $theme-gray-light; | ||
78 | } \ No newline at end of file | ||