Skip to content

Commit 8493bb7

Browse files
committed
fix: style fixes in general, and for Activity view
1 parent 476dbba commit 8493bb7

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

‎src/style/_globals.scss‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
$lightBorderColor: rgb(235, 237, 243);
1+
$textColor: rgb(60, 66, 87);
2+
$backgroundColor: rgb(247, 250, 252);
3+
4+
$lightBorderColor: rgb(235, 237, 243);
5+
$activeHighlightColor: rgb(0, 100, 255);

‎src/style/style.scss‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ body,
44
html,
55
body,
66
button {
7-
color: rgb(60, 66, 87);
7+
color: $textColor;
88
font-family: -apple-system , BlinkMacSystemFont , "Segoe UI" , "Roboto" , "Helvetica Neue" , "Ubuntu" , sans-serif;
99
-webkit-font-smoothing: antialiased;
1010
text-rendering: optimizeLegibility;
1111
}
1212

13-
h1, h2, h3, h4, h5, nav {
13+
h1, h2, h3, h4, h5, h6, nav {
1414
font-family: 'Varela Round', sans-serif;
1515
}
1616

1717
body {
18-
background-color: rgb(247, 250, 252);
18+
background-color: $backgroundColor;
1919
}
2020

2121
// To make icons a little less crowded

‎src/views/activity/Activity.vue‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ div
8484

8585
<style lang="scss" scoped>
8686
@import '../../style/globals';
87-
$lightPurpleHighlight: rgb(84, 105, 212);
8887
8988
.nav {
9089
border-bottom: 1px solid $lightBorderColor;
@@ -105,15 +104,19 @@ $lightPurpleHighlight: rgb(84, 105, 212);
105104
border: none;
106105
107106
&:hover {
108-
color: black;
107+
color: black !important;
108+
border-bottom: 3px solid lighten(black, 70%);
109+
border-radius: 0;
109110
}
110111
111112
&.router-link-exact-active {
112-
color: $lightPurpleHighlight;
113-
font-weight: bold;
114-
border-bottom: 3px solid darken($lightBorderColor, 20%);
113+
color: $activeHighlightColor !important;
114+
border-bottom: 3px solid lighten($activeHighlightColor, 15%);
115115
border-radius: 0;
116116
117+
// Does nothing for Verala Round
118+
font-weight: bold;
119+
117120
&:hover {
118121
background-color: #fff;
119122
}

0 commit comments

Comments
 (0)