Tweaked styling and whatnot for dropdown menus. Still overall nonfunctional, quite possibly will need a large overhaul before it's in working shape.
This commit is contained in:
@@ -57,6 +57,7 @@ button {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
padding-left: 15px;
|
||||||
color: var(--white);
|
color: var(--white);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
@@ -20,11 +20,13 @@ export default {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
div {
|
div {
|
||||||
display: flex;
|
display: block;
|
||||||
flex-direction: column;
|
/* flex-direction: column; */
|
||||||
|
width: 10%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: var(--background-secondary);
|
background-color: var(--background-secondary);
|
||||||
border-radius: 0px 0px 10px 10px;
|
border-radius: 0px 0px 10px 10px;
|
||||||
padding: 10px;
|
/* padding: 10px; */
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'dropdownItem'
|
name: 'dropdownItem',
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -13,12 +13,19 @@ export default {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
* {
|
* {
|
||||||
color: var(--white);
|
color: var(--white);
|
||||||
padding: 5px;
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div {
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div:last-child {
|
||||||
|
border-radius: 0 0 5px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div:hover {
|
div:hover {
|
||||||
background-color: var(--accent-primary);
|
background-color: var(--accent-primary);
|
||||||
transition: color 0.5s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -54,11 +54,13 @@ export default {
|
|||||||
<option>RRC</option>
|
<option>RRC</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<dropdown title="hello">
|
<dropdown title="All Groups">
|
||||||
<DropdownContent>
|
<DropdownContent>
|
||||||
<DropdownItem>Item 1</DropdownItem>
|
<DropdownItem>All Groups</DropdownItem>
|
||||||
<DropdownItem>Item 2</DropdownItem>
|
<DropdownItem>Echo</DropdownItem>
|
||||||
<DropdownItem>Item 3</DropdownItem>
|
<DropdownItem>HHC</DropdownItem>
|
||||||
|
<DropdownItem>Recruit</DropdownItem>
|
||||||
|
<DropdownItem>Discharged</DropdownItem>
|
||||||
</DropdownContent>
|
</DropdownContent>
|
||||||
</dropdown>
|
</dropdown>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user