Commit a415a1c5 authored by Le Dinh Trung's avatar Le Dinh Trung

fix css

parent 61121f4f
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<v-col> <v-col>
<v-carousel hide-delimiters :show-arrows="hover" :width="400"> <v-carousel hide-delimiters :show-arrows="hover" :width="400">
<v-carousel-item <v-carousel-item
class="slide-slide"
v-for="(item, i) in images" v-for="(item, i) in images"
:key="i" :key="i"
:width="400" :width="400"
...@@ -21,8 +22,8 @@ ...@@ -21,8 +22,8 @@
/> />
</v-carousel> </v-carousel>
</v-col> </v-col>
<v-col> <v-col class="half-space">
<v-row class="flex-row align-center justify-space-between mt-2"> <v-row class="first-row flex-row align-center justify-space-between mt-2">
<v-card-title v-model="item.name" class="modal-title" style="margin-left:-30px"> <v-card-title v-model="item.name" class="modal-title" style="margin-left:-30px">
{{ name }} {{ name }}
</v-card-title> </v-card-title>
...@@ -113,8 +114,8 @@ ...@@ -113,8 +114,8 @@
type="number" type="number"
/> />
</v-col> </v-col>
<v-btn color="primary" dense @click="addProductToCard()"> <v-btn class="btnn" color="primary" dense @click="addProductToCard()">
Add to card (+) Add to cart (+)
</v-btn> </v-btn>
<v-btn <v-btn
plain plain
...@@ -280,4 +281,20 @@ export default { ...@@ -280,4 +281,20 @@ export default {
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
} }
@media only screen and (max-width: 766px) {
.half-space {
padding-left: 70px;
}
.btnn {
width: 60px;
font-size: 14px;
}
.first-row {
margin-left: 2px;
}
.slide-slide {
margin-left: 22px;
}
}
</style> </style>
...@@ -21,27 +21,10 @@ export default { ...@@ -21,27 +21,10 @@ export default {
} }
</script> </script>
<style> <style scoped>
.dropdown-item { .dropdown-item {
box-shadow: 0 2px 35px rgba(0,0,0,0.1); box-shadow: 0 2px 35px rgba(0,0,0,0.1);
} }
li {
list-style: none;
line-height: 2rem;
padding: 0 1.5rem;
}
li span {
font-size: 15px;
}
li > ul {
position: absolute;
left: 100%;
box-shadow: 0 2px 35px rgba(0,0,0,0.1);
transition: transform 0.2s ease-out;
}
li:hover > ul {
transform: translate3d(0,0,0);
}
ul.dropdown-item { ul.dropdown-item {
padding: 10px 0; padding: 10px 0;
} }
......
...@@ -588,6 +588,9 @@ b { ...@@ -588,6 +588,9 @@ b {
.v-navigation-drawer--close{ .v-navigation-drawer--close{
display: none; display: none;
} }
.v-navigation-drawer {
z-index:99;
}
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.header-middle-content { .header-middle-content {
......
...@@ -145,9 +145,6 @@ export default { ...@@ -145,9 +145,6 @@ export default {
.none-tag { .none-tag {
display: flex; display: flex;
} }
</style>
<style>
div .v-treeview-node__label { div .v-treeview-node__label {
cursor: pointer; cursor: pointer;
} }
...@@ -155,5 +152,10 @@ export default { ...@@ -155,5 +152,10 @@ export default {
.none-tag { .none-tag {
display: none !important; display: none !important;
} }
.navbar-left {
width:100%;
padding-left: 5px;
padding-right: 5px;
}
} }
</style> </style>
...@@ -35,9 +35,26 @@ export default { ...@@ -35,9 +35,26 @@ export default {
z-index: 1; z-index: 1;
background-color: #ffffff; background-color: #ffffff;
min-width: 250px; min-width: 250px;
top: -10px; top: 0px;
} }
li:hover > span { li:hover > span {
color: #2266cc; color: #2266cc;
} }
li {
list-style: none;
line-height: 2rem;
padding: 0 1.5rem;
}
li span {
font-size: 15px;
}
li > ul {
position: absolute;
left: 100%;
box-shadow: 0 2px 35px rgba(0,0,0,0.1);
transition: transform 0.2s ease-out;
}
li:hover > ul {
transform: translate3d(0,0,0);
}
</style> </style>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<v-container> <v-container>
<v-form ref="formEdit"> <v-form ref="formEdit">
<v-row> <v-row>
<v-col cols="12" sm="6" md="4"> <v-col cols="12">
<v-text-field v-model="eName" label="Legal name*" :rules="nameRules" required /> <v-text-field v-model="eName" label="Legal name*" :rules="nameRules" required />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<v-container> <v-container>
<v-form ref="form"> <v-form ref="form">
<v-row> <v-row>
<v-col cols="12" sm="6" md="4"> <v-col cols="12">
<v-text-field <v-text-field
v-model="name" v-model="name"
label="Legal name*" label="Legal name*"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment