updated buttons
This commit is contained in:
parent
af0e5c519b
commit
dc7d6773a9
@ -35,7 +35,11 @@ $btn-colors: (
|
||||
font-size: 1.05em;
|
||||
color: map-get($colors, font);
|
||||
|
||||
&:hover {
|
||||
&[disabled] {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
&:hover:not([disabled]) {
|
||||
$hovers: map-get($colors, hover);
|
||||
background-color: map-get($hovers, bg);
|
||||
color: map-get($hovers, font);
|
||||
@ -83,7 +87,7 @@ $btn-colors: (
|
||||
font-size: 1.2em;
|
||||
border: unset;
|
||||
|
||||
&:hover {
|
||||
&:hover:not([disabled]) {
|
||||
background-color: $default-color;
|
||||
color: $dark-gray;
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
import { defineProps, onMounted } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useStore } from 'vuex'
|
||||
import BaseButton from './BaseButton'
|
||||
import BaseButton from './buttons/BaseButton'
|
||||
import { marked } from 'marked'
|
||||
|
||||
defineProps({
|
||||
|
@ -2,13 +2,14 @@
|
||||
<button
|
||||
class="btn"
|
||||
:class="{ 'btn-reverse': isReverse }"
|
||||
title="Wyślij wiadomość"
|
||||
>
|
||||
<font-awesome-icon
|
||||
v-if="hasIcon && icon"
|
||||
class="icon"
|
||||
:icon="icon"
|
||||
/>
|
||||
<span><slot /></span>
|
||||
<slot />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
@ -32,7 +33,7 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "scss/_btn";
|
||||
@import "../../../scss/btn";
|
||||
|
||||
.btn {
|
||||
@include button($has-icon: true);
|
@ -5,7 +5,7 @@
|
||||
class="icon"
|
||||
:icon="icon"
|
||||
/>
|
||||
<span><slot /></span>
|
||||
<slot />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
@ -25,7 +25,7 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "scss/btn";
|
||||
@import "../../../scss/btn";
|
||||
|
||||
.btn {
|
||||
@include ghost-button();
|
@ -33,7 +33,10 @@
|
||||
</div>
|
||||
<div id="grid-photo">
|
||||
<figure id="about-photo">
|
||||
<img :src="`${publicPath}assets/me.jpg`">
|
||||
<img
|
||||
:src="`${publicPath}assets/me.jpg`"
|
||||
alt="Moje zdjęcie"
|
||||
>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
@ -42,7 +45,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import BaseButton from '../BaseButton'
|
||||
import BaseButton from '../buttons/BaseButton'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
const router = useRouter()
|
||||
|
@ -18,7 +18,7 @@
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import Projects from '../SelectedProjects'
|
||||
import GhostButton from '../GhostButton'
|
||||
import GhostButton from '../buttons/GhostButton'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import BaseButton from '../../BaseButton'
|
||||
import BaseButton from '../../buttons/BaseButton'
|
||||
import {ref, reactive, watch, computed} from 'vue'
|
||||
|
||||
function emailValidate (mailObj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user