Skip to content

Commit

Permalink
feat: create class that is not reactive to hover and apply it instead…
Browse files Browse the repository at this point in the history
… of hover variant
  • Loading branch information
AlejandroAkbal committed Feb 24, 2021
1 parent 6f41d2a commit 6558c83
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions assets/css/general/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ a:focus,
@apply overflow-hidden rounded-lg shadow bg-elevation border-util;
}

.rounded-container {
@apply border rounded-lg shadow bg-elevation border-border;
}

/* ---------------- Component specific ---------------- */

.icon {
Expand Down
2 changes: 1 addition & 1 deletion components/pages/premium/Login.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="p-4 material-container text-default-text">
<div class="p-4 rounded-container text-default-text">
<form @submit.prevent="userLogin">
<label
class="block mb-2 text-lg font-medium leading-tight"
Expand Down
2 changes: 1 addition & 1 deletion components/pages/premium/Subscription.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-col material-container">
<div class="flex flex-col rounded-container">
<!-- Head -->
<div class="py-10">
<!-- Title -->
Expand Down
2 changes: 1 addition & 1 deletion components/utils/ContentContainer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<!-- Loop for every info container -->
<article class="material-container">
<article class="rounded-container">
<!-- If separator -->
<template v-if="separator">
<div class="p-3 bg-gradient-blue-lilac">
Expand Down
2 changes: 1 addition & 1 deletion components/utils/Error.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
class="p-2 m-6 text-center text-default-text"
:class="{ 'material-container': renderBorders }"
:class="{ 'rounded-container': renderBorders }"
>
<!-- Header -->
<div>
Expand Down
4 changes: 2 additions & 2 deletions pages/premium/booru.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<main class="flex flex-col justify-around h-screen space-y-4 space-y-4-fixer">
<div>
<!-- Booru list -->
<div class="px-2 py-1 overflow-x-scroll material-container">
<div class="px-2 py-1 overflow-x-scroll rounded-container">
<table class="w-full text-left text-default-text">
<thead>
<tr>
Expand Down Expand Up @@ -47,7 +47,7 @@

<!-- Booru editor -->
<form
class="flex flex-col p-4 space-y-2 material-container text-default-text"
class="flex flex-col p-4 space-y-2 rounded-container text-default-text"
action="#"
@submit.prevent="addCustomBooruToState()"
>
Expand Down

0 comments on commit 6558c83

Please sign in to comment.