-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move play all clips button to clip info button and create ButtonConne…
…ctor (#187) * Remove combinedInfo prop from Button and create ButtonConnector component * Make styling a little better on Button(Connector) * Remove old play clips button and add click event to clipInfo button * Reset length of clips when removing last clip
- Loading branch information
Showing
3 changed files
with
88 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<div class="container"> | ||
<slot></slot> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Vue, Component } from "vue-property-decorator"; | ||
@Component | ||
export default class ButtonConnector extends Vue {} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.container { | ||
display: flex; | ||
flex-flow: row; | ||
height: 100%; | ||
border: 2px solid $secondaryColor; | ||
border-radius: 3px; | ||
.btnWrapper { | ||
margin-left: 0; | ||
&:first-child:not(:only-child) ::v-deep .mainBtn { | ||
border-right: 2px solid $secondaryColor; | ||
} | ||
&:first-child ::v-deep .mainBtn { | ||
border-left: unset; | ||
border-radius: 3px 0 0 3px; | ||
} | ||
&:last-child ::v-deep .mainBtn { | ||
border-radius: 0 3px 3px 0; | ||
} | ||
::v-deep #outlined { | ||
padding: 5px; | ||
border: unset; | ||
} | ||
::v-deep .mainBtn { | ||
border: unset; | ||
border-left: 2px solid $secondaryColor; | ||
border-radius: unset; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters