Answer the question
In order to leave comments, you need to log in
How to customize styles in vuetify?
Colleagues, good afternoon!
The vuetify framework has its own styles, how to correctly overlap, customize, change styles to your own.
Using the template example
<template>
<div>
<v-app-bar
color="deep-purple "
height="90"
class="v-app-bar"
>
<div class="brand">
<v-icon color="white">mdi-near-me</v-icon>
<span>GOROD BRAND</span>
</div>
<SearchCompany />
<SearchCity />
</v-app-bar>
</div>
</template>
<v-app-bar color="deep-purple " height="90" class="v-app-bar">
Здесь какой-то контент
</v-app-bar>
<v-app-bar color="deep-purple " height="90" class="v-app-bar">
<div class="v-toolbar__content" style="height:90px;">
Здесь какой-то контент
</div>
</v-app-bar>
<div class="v-toolbar__content" style="height:90px;"></div>
// Средние девайсы («таблетки», >= 768px)
@media (min-width: 768px) and (max-width: 991.98px) {
.brand {
margin-left: 0 !important;
margin-right: 0 !important;
}
.v-app-bar {
height: $v-app-bar-height;
.v-toolbar__content {
padding: 0 12px 0 12px;
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question