Skip to content

Commit e290c67

Browse files
author
mcibique
committed
Added blue design.
1 parent 420c0ac commit e290c67

File tree

4 files changed

+57
-9
lines changed

4 files changed

+57
-9
lines changed

src/App.vue

+19-3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ body {
4646
height: 100vh;
4747
min-width: 320px;
4848
font-size: 1.6rem;
49+
background: radial-gradient(
50+
ellipse at center,
51+
rgba(4, 34, 62, 0.7) 0%,
52+
rgb(4, 34, 62) 100%
53+
);
4954
}
5055
5156
input {
@@ -58,6 +63,11 @@ input {
5863
width: 100%;
5964
}
6065
66+
:focus,
67+
input:focus {
68+
outline: rgb(2, 116, 169, 0.5) auto 0.5rem;
69+
}
70+
6171
label {
6272
display: block;
6373
line-height: 2rem;
@@ -89,6 +99,11 @@ a:active {
8999
color: rgba(2, 116, 169, 0.75);
90100
}
91101
102+
a:focus {
103+
outline-style: dashed;
104+
outline-width: 0.1rem;
105+
}
106+
92107
pre {
93108
white-space: pre-wrap;
94109
word-break: break-word;
@@ -101,7 +116,8 @@ pre {
101116
}
102117
103118
.c-app__header {
104-
background-color: #eee;
119+
border-bottom: 1px solid rgba(17, 4, 62, 1);
120+
background-color: rgba(17, 4, 62, 0.25);
105121
padding: 2rem 4rem;
106122
text-align: right;
107123
min-height: 6rem;
@@ -116,7 +132,7 @@ pre {
116132
117133
.c-app__footer {
118134
padding: 2rem 4rem;
119-
border-top: 1px solid #ccc;
120-
background-color: #fafafa;
135+
border-top: 1px solid rgba(17, 4, 62, 1);
136+
background-color: rgba(17, 4, 62, 0.25);
121137
}
122138
</style>

src/views/About.vue

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
<template functional>
22
<section class="c-about">
3-
<h1 class="c-about__heading" tid="c-about__heading">Vue testing examples</h1>
4-
<p>Check out <a rel="noreferrer noopener" href="https://github.com/mcibique/vue-testing-examples" target="_blank" tid="c-about__github-link">github</a> page. Go <router-link :to="{ name: 'root' }" tid="c-about__back-link">back</router-link>.</p>
3+
<div class="c-about__content-wrapper">
4+
<h1 class="c-about__heading" tid="c-about__heading">Vue testing examples</h1>
5+
<p>Check out <a rel="noreferrer noopener" href="https://github.com/mcibique/vue-testing-examples" target="_blank" tid="c-about__github-link">github</a> page. Go <router-link :to="{ name: 'root' }" tid="c-about__back-link">back</router-link>.</p>
6+
</div>
57
</section>
68
</template>
9+
10+
<style>
11+
.c-about {
12+
display: flex;
13+
align-items: center;
14+
justify-content: center;
15+
min-height: 100%;
16+
}
17+
18+
.c-about__content-wrapper {
19+
background-color: rgba(255, 255, 255, 0.95);
20+
border: 1px solid rgba(4, 34, 62, 1);
21+
border-radius: 0.4rem;
22+
box-shadow: 0.3rem 0.3rem 0.4rem 0.1rem rgba(4, 34, 62, 1);
23+
padding: 0.5rem 2rem 4rem;
24+
min-width: 320px;
25+
text-align: center;
26+
}
27+
</style>

src/views/Login.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export default class LoginView extends Vue {
116116
.c-login__form {
117117
max-width: 400px;
118118
width: 100%;
119-
border: 1px solid #eee;
119+
background-color: rgba(255, 255, 255, 0.95);
120+
border: 1px solid rgba(4, 34, 62, 1);
121+
border-radius: 0.4rem;
122+
box-shadow: 0.3rem 0.3rem 0.4rem 0.1rem rgba(4, 34, 62, 1);
120123
padding: 4rem;
121124
}
122125

src/views/Welcome.vue

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<section class="welcome" tid="welcome" v-if="!isLoading && !loadingError">
3-
<h1 class="welcome__header" v-if="profile" tid="welcome__header">Welcome {{ profile | fullName }}!</h1>
2+
<section class="c-welcome" tid="welcome" v-if="!isLoading && !loadingError">
3+
<h1 class="c-welcome__header" v-if="profile" tid="welcome__header">Welcome {{ profile | fullName }}!</h1>
44
<div tid="welcome__dashboard">
55
<dashboard :emails="emails" @open-email="onEmailOpen"></dashboard>
66
</div>
@@ -56,7 +56,15 @@ export default class WelcomeView extends Vue {
5656
</script>
5757

5858
<style>
59-
.welcome__header {
59+
.c-welcome {
60+
background-color: rgba(255, 255, 255, 0.95);
61+
border: 1px solid rgba(4, 34, 62, 1);
62+
border-radius: 0.4rem;
63+
box-shadow: 0.3rem 0.3rem 0.4rem 0.1rem rgba(4, 34, 62, 1);
64+
padding: 0.5rem 2rem;
65+
}
66+
67+
.c-welcome__header {
6068
border-bottom: 1px solid #333;
6169
margin-top: 2rem;
6270
margin-bottom: 5rem;

0 commit comments

Comments
 (0)