Skip to content

Commit 2766d95

Browse files
committed
using light border color in a couple other places
1 parent d18a655 commit 2766d95

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

src/components/Header.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,11 @@ export default {
141141
</script>
142142

143143
<style lang="scss" scoped>
144+
@import '../style/globals';
145+
144146
.aw-navbar {
145-
background-color: #fff;
146-
border: solid #ccc;
147+
background-color: white;
148+
border: solid $lightBorderColor;
147149
border-width: 0 0 1px 0;
148150
}
149151

src/style/_globals.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$lightBorderColor: rgb(235, 237, 243);

src/style/style.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "globals";
2+
13
body,
24
html,
35
body,
@@ -26,7 +28,7 @@ body {
2628

2729
.aw-container {
2830
background-color: #fff;
29-
border: 1px solid rgb(235, 237, 243);
31+
border: 1px solid $lightBorderColor;
3032
border-radius: 5px;
3133
}
3234

src/views/activity/Activity.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ div
7777
</template>
7878

7979
<style lang="scss" scoped>
80-
$buttoncolor: #ddd;
81-
$bordercolor: rgb(235, 237, 243);
80+
@import '../../style/globals';
81+
$lightPurpleHighlight: rgb(84, 105, 212);
8282
8383
.nav {
84-
border-bottom: 1px solid $bordercolor;
84+
border-bottom: 1px solid $lightBorderColor;
8585
8686
.nav-item {
8787
margin-bottom: 0px;
@@ -103,9 +103,9 @@ $bordercolor: rgb(235, 237, 243);
103103
}
104104
105105
&.router-link-exact-active {
106-
color: rgb(84, 105, 212);
106+
color: $lightPurpleHighlight;
107107
font-weight: bold;
108-
border-bottom: 3px solid darken($bordercolor, 20%);
108+
border-bottom: 3px solid darken($lightBorderColor, 20%);
109109
border-radius: 0;
110110
111111
&:hover {

src/visualizations/PeriodUsage.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<template lang="pug">
2-
svg
2+
svg.mt-3.mb-1
33
</template>
44

55
<style scoped lang="scss">
6+
@import "../style/globals";
7+
68
svg {
79
width: 100%;
810
height: 40pt;
9-
border: 1px solid #999;
10-
margin-top: 0.2em;
11-
margin-bottom: 0.2em;
11+
border: 1px solid $lightBorderColor;
1212
border-radius: 0.5em;
1313
}
1414
</style>

0 commit comments

Comments
 (0)