sajjad 3 years ago
parent 65331314b9
commit f164b27f8e

@ -38,7 +38,7 @@
size="large" size="large"
height="26" height="26"
icon="WMi-trash" icon="WMi-trash"
class="custom-btn custom-icon ml-1" class="custom-btn ml-1"
@click.native="deleteBookmarkWorkout(workout.id)" @click.native="deleteBookmarkWorkout(workout.id)"
/> />
</div> </div>

@ -3,10 +3,13 @@
:text="textMode" :text="textMode"
depressed depressed
:height="height" :height="height"
x-small
:width="width" :width="width"
:class="`color-${color} ${bgColor}`" :class="`color-${color} ${bgColor}`"
:type="type" :type="type"
:x-small="xs"
:small="sm"
:large="lg"
:x-large="xl"
> >
<template v-if="text"> <template v-if="text">
<template v-if="icon" <template v-if="icon"
@ -50,6 +53,13 @@ export default {
type: String, type: String,
default: "button", default: "button",
}, },
xs: {
type: Boolean,
default: true,
},
sm: Boolean,
lg: Boolean,
xl: Boolean,
}, },
}; };
</script> </script>
@ -57,17 +67,14 @@ export default {
.custom-btn { .custom-btn {
border: 2px solid var(--color-white) !important; border: 2px solid var(--color-white) !important;
} }
.custom-icon {
padding: 5px !important;
}
.filter-btn .v-btn__content .v-icon, .filter-btn .v-btn__content .v-icon,
.filter-btn .v-btn__content .v-icon::before { .filter-btn .v-btn__content .v-icon::before {
margin-left: 0 !important; margin-left: 0 !important;
} }
.modal__icon::before { // .modal__icon::before {
margin-right: 0 !important; // margin-right: 0 !important;
margin-left: 0 !important; // margin-left: 0 !important;
} // }
@import "../../../styles/setup/variables.scss"; @import "../../../styles/setup/variables.scss";
@each $color, $value in $allColors { @each $color, $value in $allColors {
.v-btn.color-#{ "" + $color} { .v-btn.color-#{ "" + $color} {

@ -19,6 +19,7 @@ export default {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
letter-spacing: 2px; letter-spacing: 2px;
width: max-content;
color: var(--color-gray) !important; color: var(--color-gray) !important;
} }
.wa__back i { .wa__back i {

@ -40,14 +40,14 @@
size="large" size="large"
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
icon="WMi-yoga-posture" icon="WMi-yoga-posture"
/> />
<RectangleButton <RectangleButton
size="large" size="large"
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
icon="WMi-pencil" icon="WMi-pencil"
/> />
<RectangleButton <RectangleButton
@ -55,7 +55,7 @@
size="large" size="large"
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
icon=" WMi-trash" icon=" WMi-trash"
@click.native.prevent="deleteSeriesFromProgram(series.id)" @click.native.prevent="deleteSeriesFromProgram(series.id)"
/> />

@ -29,7 +29,7 @@
<RectangleButton <RectangleButton
icon="WMi-plus" icon="WMi-plus"
size="xx-large" size="xx-large"
class="custom-btn custom-icon" class="custom-btn"
height="54" height="54"
:text-mode="true" :text-mode="true"
/> />

@ -2,7 +2,7 @@
<div class="user__card"> <div class="user__card">
<v-row> <v-row>
<v-col cols="3"> <v-col cols="3">
<div class="d-flex align-center mt-1 h-100" style="overflow: hidden"> <div class="d-flex align-center h-100" style="overflow: hidden">
<div style="line-height: 14px"> <div style="line-height: 14px">
<div class="user__name wa__f__m__eb"> <div class="user__name wa__f__m__eb">
{{ user.first_name }} {{ user.last_name }} {{ user.first_name }} {{ user.last_name }}
@ -43,7 +43,7 @@
<RectangleButton <RectangleButton
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
icon="WMi-gold-medal" icon="WMi-gold-medal"
@click.native="chageRole" @click.native="chageRole"
v-if="role === 'admin'" v-if="role === 'admin'"
@ -53,7 +53,7 @@
<RectangleButton <RectangleButton
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
size="large" size="large"
icon="WMi-pencil" icon="WMi-pencil"
/> />
@ -61,7 +61,7 @@
<RectangleButton <RectangleButton
height="35" height="35"
width="48" width="48"
class="ml-1 custom-btn custom-icon" class="ml-1 custom-btn"
icon=" WMi-trash" icon=" WMi-trash"
size="large" size="large"
@click.native="removeUser(user.id)" @click.native="removeUser(user.id)"

@ -41,7 +41,7 @@
size="large" size="large"
height="26" height="26"
icon="WMi-trash" icon="WMi-trash"
class="custom-btn custom-icon ml-1" class="custom-btn ml-1"
@click.native="removeWorkout(workout.id)" @click.native="removeWorkout(workout.id)"
/> />
<router-link <router-link
@ -54,7 +54,7 @@
size="large" size="large"
height="26" height="26"
icon="WMi-pencil" icon="WMi-pencil"
class="custom-btn custom-icon ml-1" class="custom-btn ml-1"
/> />
</router-link> </router-link>
</div> </div>

@ -45,14 +45,14 @@
size="large" size="large"
height="26" height="26"
icon="WMi-trash" icon="WMi-trash"
class="custom-btn custom-icon ml-1" class="custom-btn ml-1"
@click.native="removeWorkoutFromSeries(seriesWorkout)" @click.native="removeWorkoutFromSeries(seriesWorkout)"
/> />
<RectangleButton <RectangleButton
size="large" size="large"
height="26" height="26"
icon="WMi-pencil" icon="WMi-pencil"
class="custom-btn custom-icon ml-1" class="custom-btn ml-1"
/> />
</div> --> </div> -->
</div> </div>

Loading…
Cancel
Save