summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-24 20:51:15 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-24 20:51:17 +0100
commit452a0553aec3e7ae6de1421a3d2f18e5dc198d8f (patch)
tree56f0c41a38cbf50676befa6c42776abaf742864c /src
parent69c743a22ba46ada8811c65e94ae710575ce5b3f (diff)
style: no-hover commit
Diffstat (limited to 'src')
-rw-r--r--src/sass/_commit.sass2
-rw-r--r--src/views/Commit.vue2
-rw-r--r--src/views/Search.vue4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/sass/_commit.sass b/src/sass/_commit.sass
index 514d82b..e3f3b2a 100644
--- a/src/sass/_commit.sass
+++ b/src/sass/_commit.sass
@@ -4,7 +4,7 @@
border-bottom: #ccc 1px solid
padding: 20px 10px
margin: 0
- &:hover
+ &:not(.no-hover):hover
background-color: darken(#fbfcfc, 3%)
.head
> div
diff --git a/src/views/Commit.vue b/src/views/Commit.vue
index 5fbeb13..475a308 100644
--- a/src/views/Commit.vue
+++ b/src/views/Commit.vue
@@ -4,7 +4,7 @@
b-container(v-if="loading")
b-overlay(:show="true" spinner-large)
b-container(v-else)
- .commit(v-if="error404")
+ .commit.no-hover(v-if="error404")
h2 Commit not found
commit-card(
:data="commit"
diff --git a/src/views/Search.vue b/src/views/Search.vue
index c173567..5cbfe33 100644
--- a/src/views/Search.vue
+++ b/src/views/Search.vue
@@ -4,9 +4,9 @@
b-container(v-if="loading")
b-overlay(:show="true" spinner-large)
b-container(v-else)
- .commit
+ .commit.no-hover
h2 Commits found {{ commits.length }}
- .commit(style="padding: 50px" v-if="loading")
+ .commit.no-hover(style="padding: 50px" v-if="loading")
b-overlay(:show="true" spinner-large)
commit-card(
v-else